/* header css */
:root {
                --primary-color: #c00000;
                --secondary-color: #000;
                --text-color: #fff;
                --marquee-bg: #c00000;
}

* {
                box-sizing: border-box;
                margin: 0;
                padding: 0;
}

body {
                font-family: "Rubik", sans-serif;
                overflow-x: hidden;
                padding-top: 1px;
                /* Prevent margin collapse */
}

a {
                text-decoration: none;
                transition: all 0.3s ease;
}

img {
                max-width: 100%;
                height: auto;
}

/* Updated Marquee CSS */
.marquee-bar {
                background-color: var(--marquee-bg);
                color: var(--text-color);
                padding: 2px 2px;
                font-weight: 500;
                font-size: clamp(12px, 2vw, 14px);
                overflow: hidden;
                white-space: nowrap;
                text-align: center;
                position: fixed;
                top: 0;
                left: 0;
                width: 100%;
                z-index: 1001;
                /* Higher than header */
}

/* Updated Header CSS */
.header-container {
                background-color: var(--secondary-color);
                color: var(--text-color);
                position: fixed;
                top: 20px;
                /* Adjusted to account for marquee height */
                z-index: 1000;
                width: 100%;
                box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
                transition: all 0.3s ease;
}

/* Marquee (non-sticky) */
/* .marquee-bar {
                background-color: var(--marquee-bg);
                color: var(--text-color);
                padding: 2px 2px;
                font-weight: 500;
                font-size: clamp(12px, 2vw, 14px);
                overflow: hidden;
                white-space: nowrap;
                text-align: center;
                position: fixed;
                z-index: 1;
} */

marquee {
                display: inline-block;
                width: 100%;
                height: 20px;
}

.marquee-content {
                display: inline-block;
                min-width: 100%;
                text-align: center;
}

.header-divider {
                height: 1px;
                background-color: #fff;
                opacity: 0.8;
                width: 100%;
}

/* Sticky Header Container */
/* .header-container {
                background-color: var(--secondary-color);
                color: var(--text-color);
                position: fixed;
                top: 0;
                z-index: 1000;
                width: 100%;
                box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
                transition: all 0.3s ease;
} */

.main-header-content {
                display: flex;
                justify-content: space-between;
                align-items: center;
                padding: 15px 5%;
                max-width: 1600px;
                margin: 0 auto;
                position: relative;
}

.header-logo img {
                height: clamp(40px, 5vw, 60px);
                width: auto;
                object-fit: contain;
}

.main-navigation {
                display: flex;
                flex-grow: 1;
                justify-content: center;
}

.main-navigation ul {
                display: flex;
                list-style: none;
                margin: 0;
                padding: 0;
                flex-wrap: wrap;
                justify-content: center;
}

.main-navigation li {
                margin: 0 clamp(8px, 1vw, 15px);
                position: relative;
}

.main-navigation li a {
                color: var(--text-color);
                font-weight: 350;
                font-size: clamp(14px, 1.2vw, 16px);
                padding: 5px 0;
                display: block;
                position: relative;
}

.main-navigation li a:hover {
                color: var(--primary-color);
}

.main-navigation li.active a {
                color: var(--primary-color);
                font-weight: 500;
}

.main-navigation li.active a::after {
                content: "";
                position: absolute;
                bottom: 0;
                left: 0;
                width: 100%;
                height: 2px;
                background-color: var(--primary-color);
}

.header-contact {
                text-align: right;
                margin-left: 15px;
}

.header-contact .enquiry-text {
                font-size: clamp(12px, 1.2vw, 16px);
                font-weight: 600;
                display: block;
}

.header-contact .phone-number {
                font-size: clamp(18px, 2vw, 28px);
                font-weight: bold;
                white-space: nowrap;
}

.header-contact .phone-number a {
                color: var(--text-color);
}

.mobile-menu-toggler {
                display: none;
                background: none;
                border: none;
                color: white;
                font-size: 24px;
                cursor: pointer;
                padding: 5px;
                margin-left: 15px;
}

/* Mobile Menu */
.mobile-menu {
                display: none;
                background: var(--secondary-color);
                padding: 20px;
                position: fixed;
                top: 80px;
                left: 0;
                right: 0;
                z-index: 999;
                box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
                max-height: calc(100vh - 80px);
                overflow-y: auto;
}

.mobile-menu.active {
                display: block;
}

.mobile-menu ul {
                list-style: none;
                padding: 0;
                margin: 0;
}

.mobile-menu li {
                margin-bottom: 15px;
                text-align: center;
}

.mobile-menu li:last-child {
                margin-bottom: 0;
}

.mobile-menu li a {
                color: var(--text-color);
                font-size: 18px;
                display: block;
                padding: 12px 0;
}

.mobile-menu li.active a {
                color: var(--primary-color);
                font-weight: bold;
}

@media (max-width: 1199px) {
                .main-navigation li {
                                margin: 0 8px;
                }
}

@media (max-width: 991px) {
                .main-header-content {
                                padding: 15px 20px;
                }

                .main-navigation {
                                display: none;
                }

                .mobile-menu-toggler {
                                display: block;
                }

                .header-contact .enquiry-text {
                                font-size: 12px;
                }

                .header-contact .phone-number {
                                font-size: 18px;
                }
}

@media (max-width: 767px) {
                .main-header-content {
                                padding: 12px 15px;
                }

                .header-logo img {
                                height: 40px;
                }

                .header-contact .phone-number {
                                font-size: 16px;
                }

                .mobile-menu {
                                top: 70px;
                }
}

@media (max-width: 575px) {
                .header-contact .enquiry-text {
                                display: none;
                }

                .header-contact .phone-number {
                                font-size: 16px;
                }

                .mobile-menu {
                                top: 65px;
                                padding: 15px;
                }

                .mobile-menu li a {
                                font-size: 16px;
                                padding: 10px 0;
                }
}

/* hero section */
.fancybox-slide--video .fancybox-content {
                margin-top: 0 !important;
                top: 0 !important;
                transform: translateY(0%) !important;
}

.category-list {
                display: flex;
                justify-content: center;
                gap: 30px;
                /* optional spacing between items */
                list-style: none;
                padding: 0;
                margin: 0 auto;
                flex-wrap: wrap;
}

.category-block-one {
                text-align: center;
}

.category-section {
                padding-top: 0px;
                /* Reduce top spacing */
                margin-top: 0px;
                /* Ensure no extra margin is added */
}

.auto-container {
                padding-top: 0px;
}

.inner-container {
                margin-top: 0px;
}

/* property-consultants */
.property-consultants {
                padding: 100px 0;
                background: #fff;
                font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
                position: relative;
}

.pc-container {
                max-width: 1200px;
                margin: 0 auto;
                padding: 0 20px;
}

.pc-header {
                text-align: center;
                margin-bottom: 70px;
}

.pc-subtitle {
                display: inline-block;
                color: #e00201;
                font-size: 12px;
                font-weight: 600;
                letter-spacing: 3px;
                text-transform: uppercase;
                margin-bottom: 15px;
}

.pc-title {
                font-size: 36px;
                font-weight: 700;
                color: #222;
                margin: 10px 0 20px;
                line-height: 1.3;
}

.pc-divider {
                display: flex;
                align-items: center;
                justify-content: center;
                margin-top: 25px;
}

.pc-line {
                width: 80px;
                height: 1px;
                background: #e00201;
                opacity: 0.3;
}

.pc-diamond {
                width: 8px;
                height: 8px;
                background: #e00201;
                transform: rotate(45deg);
                margin: 0 15px;
}

.pc-grid {
                display: grid;
                grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
                gap: 30px;
}

.pc-card {
                background: #fff;
                border-radius: 4px;
                padding: 45px 30px;
                box-shadow: 0 5px 30px rgba(0, 0, 0, 0.03);
                transition: all 0.4s ease;
                position: relative;
                overflow: hidden;
                border: 1px solid rgba(224, 2, 1, 0.05);
}

.pc-card:hover {
                transform: translateY(-5px);
                box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
                border-color: rgba(224, 2, 1, 0.2);
}

.pc-card:hover .pc-card-border {
                width: 100%;
}

.pc-icon-wrapper {
                width: 70px;
                height: 70px;
                margin: 0 auto 25px;
                display: flex;
                align-items: center;
                justify-content: center;
                background: rgba(224, 2, 1, 0.03);
                border-radius: 50%;
                border: 1px solid rgba(224, 2, 1, 0.1);
}

.pc-icon {
                width: 28px;
                height: 28px;
                fill: #e00201;
}

.pc-card-title {
                font-size: 20px;
                font-weight: 600;
                color: #222;
                margin-bottom: 15px;
                text-align: center;
}

.pc-card-text {
                color: #555;
                line-height: 1.7;
                font-size: 15px;
                text-align: center;
                margin: 0;
}

.pc-card-border {
                position: absolute;
                bottom: 0;
                left: 0;
                width: 0;
                height: 3px;
                background: #e00201;
                transition: width 0.4s ease;
}

@media (max-width: 1024px) {
                .pc-grid {
                                gap: 25px;
                }

                .pc-card {
                                padding: 35px 25px;
                }
}

@media (max-width: 768px) {
                .property-consultants {
                                padding: 80px 0;
                }

                .pc-title {
                                font-size: 30px;
                }

                .pc-grid {
                                grid-template-columns: 1fr 1fr;
                }
}

@media (max-width: 480px) {
                .pc-title {
                                font-size: 26px;
                }

                .pc-grid {
                                grid-template-columns: 1fr;
                }

                .pc-card {
                                padding: 30px 20px;
                }
}

/* property counterss */
.property-counters-section {
                padding: 80px 0;
                background: #f9fafc;
}

.section-header h2 {
                font-size: 2.5rem;
                color: #1a1a1a;
                margin-bottom: 15px;
}

.section-header .subtitle {
                color: #666;
                font-size: 1.1rem;
                margin-bottom: 50px;
}

.counter-cards {
                display: flex;
                justify-content: center;
                flex-wrap: wrap;
                gap: 30px;
}

.counter-card {
                width: 350px;
                background: white;
                border-radius: 10px;
                overflow: hidden;
                box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
                transition: transform 0.3s ease;
}

.counter-card:hover {
                transform: translateY(-10px);
}

.card-image {
                height: 200px;
                position: relative;
}

.card-image img {
                width: 100%;
                height: 100%;
                object-fit: cover;
}

.image-overlay {
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                background: linear-gradient(to bottom,
                                                rgba(0, 0, 0, 0.1),
                                                rgba(0, 0, 0, 0.7));
}

.card-content {
                padding: 25px;
                position: relative;
                text-align: center;
}

.counter-icon {
                width: 60px;
                height: 60px;
                background: #fff;
                border-radius: 50%;
                display: flex;
                align-items: center;
                justify-content: center;
                margin: -50px auto 20px;
                box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.counter-icon img {
                width: 30px;
                height: 30px;
}

.counter-card h3 {
                font-size: 1.5rem;
                color: #1a1a1a;
                margin-bottom: 10px;
}

.counter-number {
                font-size: 2.5rem;
                font-weight: 700;
                color: #e00201;
                margin: 10px 0;
}

.card-content p {
                color: #666;
                margin-bottom: 20px;
}

.btn-explore {
                display: inline-block;
                padding: 10px 20px;
                background: #e00201;
                color: white;
                border-radius: 30px;
                text-decoration: none;
                transition: all 0.3s ease;
}

.btn-explore:hover {
                background: rgb(0, 0, 0);
                transform: translateX(5px);
}

.btn-all-categories {
                display: inline-block;
                padding: 12px 30px;
                border: 2px solid #e00201;
                color: #e00201;
                border-radius: 30px;
                text-decoration: none;
                font-weight: 600;
                transition: all 0.3s ease;
}

.btn-all-categories:hover {
                background: #e00201;
                color: white;
}

/* Animation for counters */
@keyframes countUp {
                from {
                                opacity: 0;
                                transform: translateY(20px);
                }

                to {
                                opacity: 1;
                                transform: translateY(0);
                }
}

.counter-number {
                animation: countUp 1s ease forwards;
}

@media (max-width: 768px) {
                .counter-card {
                                width: 100%;
                                max-width: 350px;
                }
}