/* Base Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #f4f7f6;
    overflow-x: hidden;
    font-family: 'Poppins', sans-serif;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 25px 0;
    z-index: 1000;
    transition: all 0.4s ease-in-out;
}

.navbar.scrolled {
    padding: 15px 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Oswald', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.navbar.scrolled .logo {
    color: #0f172a;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-family: 'Oswald', sans-serif;
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.navbar.scrolled .nav-links a {
    color: #475569;
}

.nav-links a:hover, .nav-links a.active {
    color: #f59e0b; 
}

/* Mobile Menu Elements */
.menu-toggle {
    display: none;
    color: #ffffff;
    font-size: 26px;
    cursor: pointer;
}

.navbar.scrolled .menu-toggle {
    color: #0f172a;
}

.mobile-only { display: none; }
.close-menu { display: none; } /* Hidden on desktop */

/* Buttons */
.contact-btn, .contact-btn-mobile {
    font-family: 'Oswald', sans-serif;
    padding: 10px 24px;
    background: transparent;
    border: 2px solid #ffffff;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.navbar.scrolled .contact-btn {
    border-color: #0f172a;
    color: #0f172a;
}

.contact-btn:hover, .contact-btn-mobile:hover {
    background: #f59e0b;
    border-color: #f59e0b;
    color: #fff !important;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1512917774080-9991f1c4c750?q=80&w=2000&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    transform: scale(1);
    animation: zoomInOut 20s infinite alternate linear;
    z-index: 1;
}

@keyframes zoomInOut {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.4));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 1000px;
    padding: 0 20px;
}

.badge {
    font-family: 'Oswald', sans-serif;
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fde047;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.hero-content h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 65px;
    color: #ffffff;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-content h1 span {
    color: #f59e0b;
}

.hero-content p {
    font-size: 18px;
    color: #cbd5e1;
    font-weight: 300;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Search Box */
.search-box {
    background: rgba(255, 255, 255, 0.95);
    padding: 15px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
    max-width: 950px; 
    margin: 0 auto;
    border: 1px solid rgba(255,255,255,0.4);
}

.search-field {
    display: flex;
    flex-direction: column;
    text-align: left;
    flex: 1;
    padding: 0 15px;
}

.search-field label {
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.search-field select, .search-field input {
    border: none;
    outline: none;
    font-size: 15px;
    color: #475569;
    background: transparent;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    width: 100%;
}

.search-field select {
    cursor: pointer;
}

.search-field input::placeholder {
    color: #94a3b8;
}

.divider {
    width: 2px;
    height: 40px;
    background: #e2e8f0;
    margin: 0 10px;
}

.search-btn {
    font-family: 'Oswald', sans-serif;
    background: #0f172a;
    color: #ffffff;
    border: none;
    padding: 16px 35px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: #f59e0b;
    box-shadow: 0 10px 20px rgba(245, 158, 11, 0.3);
    transform: translateY(-2px);
}

/* Fade Up Animations */
.fade-up-1 { animation: fadeUp 0.8s ease 0.2s forwards; opacity: 0; }
.fade-up-2 { animation: fadeUp 0.8s ease 0.4s forwards; opacity: 0; }
.fade-up-3 { animation: fadeUp 0.8s ease 0.6s forwards; opacity: 0; }
.fade-up-4 { animation: fadeUp 0.8s ease 0.8s forwards; opacity: 0; }

@keyframes fadeUp {
    0% { transform: translateY(30px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

/* --- Mobile Responsiveness (Slide-in Menu) --- */
@media (max-width: 990px) {
    .nav-container {
        padding: 0 20px;
    }
    
    .desktop-only { display: none; }
    
    .menu-toggle { display: block; }

    /* Side Slider Menu */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%; /* Hidden to the right */
        width: 300px; /* Width of the sidebar */
        height: 100vh;
        background: #ffffff;
        flex-direction: column;
        padding: 80px 0 30px 0; /* Space at top for close button */
        box-shadow: -10px 0 30px rgba(0,0,0,0.15);
        transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1); /* Smooth slide */
        gap: 0;
        z-index: 1001;
    }

    .nav-links.active {
        right: 0; /* Slide in to view */
    }

    /* Close Button Styling */
    .close-menu {
        display: block;
        position: absolute;
        top: 20px;
        right: 25px;
        font-size: 28px;
        color: #0f172a;
        cursor: pointer;
        width: auto !important;
        border-bottom: none !important;
        padding: 0 !important;
    }
    
    .close-menu:hover {
        color: #f59e0b;
    }

    .nav-links li {
        width: 100%;
        text-align: left; /* Align text to left for sidebar */
    }

    .nav-links a {
        color: #0f172a;
        font-size: 16px;
        padding: 18px 30px;
        display: block;
        border-bottom: 1px solid #f1f5f9; 
    }
    
    .nav-links li:last-child a {
        border-bottom: none;
    }
    
    .mobile-only {
        display: block;
        margin-top: 20px;
        text-align: center !important; /* Center the button */
    }
    
    .contact-btn-mobile {
        background: #0f172a;
        color: #fff !important;
        padding: 12px 30px;
        border-radius: 8px;
        display: inline-block;
        width: 80%;
    }

    .hero-content h1 { font-size: 40px; }
    .hero-content p { font-size: 15px; margin-bottom: 30px; }

    .search-box {
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }

    .search-field {
        width: 100%;
        text-align: center;
    }

    .search-field select, .search-field input {
        text-align: center;
        text-align-last: center; 
        width: 100%;
    }

    .divider { width: 100%; height: 1px; margin: 5px 0; }
    .search-btn { width: 100%; justify-content: center; }
}

/* --- Featured Properties Section --- */
.featured-section {
    padding: 100px 0;
    background-color: #f4f7f6;
}

/* Widened container to fit 4 cards nicely */
.section-container {
    max-width: 1550px; 
    margin: 0 auto;
    padding: 0 40px;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.sub-heading {
    font-family: 'Oswald', sans-serif;
    color: #f59e0b;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}

.section-header h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 45px;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.section-header h2 span {
    color: #f59e0b;
}

.section-header p {
    color: #64748b;
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto 20px auto;
}

.header-line {
    width: 60px;
    height: 3px;
    background-color: #f59e0b;
    margin: 0 auto;
}

/* Properties Grid - Desktop (Changed to 4 columns) */
.properties-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px; /* Slightly reduced gap to fit 4 perfectly */
    margin-bottom: 50px;
}

/* Property Card Styling */
.property-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f1f5f9;
}

.property-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.card-image-wrapper {
    position: relative;
    height: 220px; /* Adjusted height slightly for 4 column layout */
    overflow: hidden;
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.property-card:hover .card-image-wrapper img {
    transform: scale(1.1);
}

/* Tags (For Sale / For Rent) */
.tag {
    position: absolute;
    top: 15px;
    left: 15px;
    font-family: 'Oswald', sans-serif;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #fff;
    z-index: 2;
}

.tag.for-sale { background-color: #0f172a; }
.tag.for-rent { background-color: #f59e0b; }

/* Card Content */
.card-content {
    padding: 20px;
}

.price {
    font-family: 'Oswald', sans-serif;
    color: #f59e0b;
    font-size: 22px;
    margin-bottom: 5px;
}

.price span {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    color: #64748b;
    font-weight: 400;
}

.title {
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
    color: #0f172a;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.location {
    color: #64748b;
    font-size: 13px;
    margin-bottom: 15px;
}

.location i { color: #f59e0b; margin-right: 5px; }

.card-features {
    display: flex;
    gap: 12px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 15px;
}

.card-features span {
    font-size: 12px;
    color: #475569;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

.card-features i { color: #94a3b8; }

.card-footer {
    display: flex;
    justify-content: flex-end;
}

.view-btn {
    font-family: 'Oswald', sans-serif;
    color: #0f172a;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.view-btn:hover { color: #f59e0b; }
.view-btn:hover i { transform: translateX(5px); transition: transform 0.3s; }

/* View All Button */
.view-all-container { text-align: center; margin-top: 30px; }

.view-all-btn {
    font-family: 'Oswald', sans-serif;
    background: transparent;
    color: #0f172a;
    border: 2px solid #0f172a;
    padding: 15px 40px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.view-all-btn:hover {
    background: #0f172a;
    color: #ffffff;
}

/* --- Scroll Reveal Animations --- */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* --- Mobile Responsiveness (Swipeable Slider) --- */
@media (max-width: 1200px) {
    /* Tablet view: 2 columns before turning into mobile slider */
    .properties-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .section-container { padding: 0 0 0 20px; } 
    .section-header { padding-right: 20px; }
    .section-header h2 { font-size: 32px; }
    .view-all-container { padding-right: 20px; }
    
    .properties-grid { 
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory; 
        gap: 20px;
        padding-bottom: 30px;
        padding-right: 20px; 
        -webkit-overflow-scrolling: touch; 
    }

    .properties-grid::-webkit-scrollbar { 
        display: none; 
    }
    
    .properties-grid { 
        -ms-overflow-style: none; 
        scrollbar-width: none; 
    }

    .property-card {
        flex: 0 0 85%; 
        scroll-snap-align: center; 
    }

    .property-card:hover {
        transform: translateY(0);
        box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    }
}

/* --- About / Why Choose Us Section --- */
.about-section {
    padding: 120px 0;
    background-color: #ffffff; /* White background for contrast against the previous section */
}

.about-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr; /* Split into 2 columns */
    gap: 80px;
    align-items: center;
}

/* Image & Badge Styling */
.about-image {
    position: relative;
    border-radius: 12px;
}

.about-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    object-fit: cover;
    height: 600px;
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background-color: #0f172a;
    padding: 30px 40px;
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(15, 23, 42, 0.3);
    text-align: center;
    border: 2px solid #f59e0b;
}

.experience-badge .years {
    font-family: 'Oswald', sans-serif;
    font-size: 50px;
    color: #f59e0b;
    font-weight: 700;
    line-height: 1;
    display: block;
    margin-bottom: 5px;
}

.experience-badge .text {
    font-family: 'Oswald', sans-serif;
    color: #ffffff;
    font-size: 16px;
    letter-spacing: 2px;
    line-height: 1.2;
}

/* Content Styling */
.about-content .sub-heading {
    margin-bottom: 15px;
}

.about-content h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 45px;
    color: #0f172a;
    line-height: 1.2;
    margin-bottom: 20px;
}

.about-content h2 span {
    color: #f59e0b;
}

.about-content p {
    color: #64748b;
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 40px;
}

/* Stats Counters */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #e2e8f0;
}

.stat-item h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 45px;
    color: #0f172a;
    margin-bottom: 5px;
    line-height: 1;
}

.stat-item p {
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    color: #f59e0b;
    letter-spacing: 1px;
    margin-bottom: 0;
}

/* Primary Button */
.primary-btn {
    font-family: 'Oswald', sans-serif;
    background-color: #f59e0b;
    color: #ffffff;
    padding: 16px 40px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.primary-btn:hover {
    background-color: #0f172a;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.2);
}

/* --- Mobile Responsiveness --- */
@media (max-width: 1024px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .about-image img { height: 450px; }
    
    .experience-badge {
        bottom: -20px;
        right: 20px;
    }
}

@media (max-width: 768px) {
    .about-section { padding: 80px 0; }
    .about-content h2 { font-size: 35px; }
    .stats-grid { grid-template-columns: 1fr; gap: 30px; text-align: center; }
    .primary-btn { width: 100%; justify-content: center; }
}

/* --- Trust Features Bar Section --- */
.trust-bar-section {
    background-color: #0f172a;
    padding: 70px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    overflow: hidden;
}

/* Keep this section clean: no yellow/gold glow behind the cards. */
.trust-bar-section::before {
    content: none;
}

.trust-bar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    position: relative;
    z-index: 2;
}

.trust-item {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.035);
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.12);
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
}

.trust-item:hover {
    background: rgba(255, 255, 255, 0.055);
    border-color: rgba(148, 163, 184, 0.20);
    transform: translateY(-3px);
}

.icon-circle {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.045);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    border: 1px solid rgba(148, 163, 184, 0.16);
    transition: all 0.3s ease;
}

.trust-item:hover .icon-circle {
    background: rgba(255, 145, 31, 0.12);
    border-color: rgba(255, 145, 31, 0.35);
    transform: scale(1.04);
}

.icon-circle i {
    font-size: 35px;
    color: #ff911f;
    transition: color 0.3s ease;
}

.trust-item:hover .icon-circle i {
    color: #ff911f;
}

.trust-item h4 {
    font-family: 'Oswald', sans-serif;
    color: #ffffff;
    font-size: 22px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    text-shadow: none;
    -webkit-font-smoothing: antialiased;
}

.trust-item p {
    color: #94a3b8;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 0;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 1024px) {
    .trust-bar-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .trust-bar-section { padding: 60px 0; }
    .trust-bar-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .trust-item {
        padding: 25px 15px;
    }
}

/* --- Categories Sections (Lands, Villas, Houses) --- */
/* සාමාන්‍යයෙන් Section එකක උඩ සහ යට 80px හිස් ඉඩක් තබයි */
.category-section {
    padding: 80px 0;
}

/* Background වර්ණ */
.bg-gray { background-color: #f4f7f6; }
.bg-white { background-color: #ffffff; }

/* Group කළ Sections වල පරතරය අඩු කිරීම */
.category-section.group-start {
    padding-top: 80px; 
    padding-bottom: 25px; /* යට පරතරය අඩු කළා */
}

.category-section.group-middle {
    padding-top: 35px;    /* උඩ පරතරය අඩු කළා */
    padding-bottom: 25px; /* යට පරතරය අඩු කළා */
}

.category-section.group-end {
    padding-top: 35px;    /* උඩ පරතරය අඩු කළා */
    padding-bottom: 80px; /* අන්තිම නිසා යට පරතරය සාමාන්‍ය පරිදි තැබුවා */
}

/* Grid එක යටින් තිබෙන අනවශ්‍ය Margin ඉවත් කිරීම (පරතරය තවත් අඩු කිරීමට) */
.category-section.group-start .properties-grid,
.category-section.group-middle .properties-grid {
    margin-bottom: 0;
}

/* Header - Title on Left, View More on Right */
.category-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end; 
    margin-bottom: 30px; /* Header එකේ පරතරයත් තරමක් අඩු කළා */
    padding-bottom: 15px;
    border-bottom: 2px solid #e2e8f0;
}

.category-header h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 38px;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    line-height: 1;
}

.category-header h2 span {
    color: #f59e0b;
}

/* View More Link Styling */
.view-more-link {
    font-family: 'Oswald', sans-serif;
    color: #f59e0b;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.view-more-link:hover {
    color: #0f172a;
}

.view-more-link:hover i {
    transform: translateX(5px);
    transition: transform 0.3s;
}

/* Mobile Responsiveness for Header */
@media (max-width: 768px) {
    .category-header {
        align-items: center;
        padding-right: 20px; 
    }
    
    .category-header h2 {
        font-size: 26px;
    }
    
    .view-more-link {
        font-size: 14px;
    }
}

/* --- Testimonials Section --- */
.testimonials-section {
    padding: 100px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    border: 1px solid #f1f5f9;
    position: relative;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
}

.quote-icon {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 40px;
    color: rgba(245, 158, 11, 0.15); /* Faded Gold */
}

.review-text {
    font-size: 16px;
    color: #475569;
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid #e2e8f0;
    padding-top: 20px;
}

.client-info img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #f59e0b;
}

.client-details h4 {
    font-family: 'Oswald', sans-serif;
    color: #0f172a;
    font-size: 18px;
    margin-bottom: 2px;
    letter-spacing: 1px;
}

.client-details span {
    font-size: 13px;
    color: #94a3b8;
    display: block;
    margin-bottom: 5px;
}

.stars i {
    color: #f59e0b;
    font-size: 12px;
}

/* --- Call to Action (CTA) Section --- */
.cta-section {
    position: relative;
    padding: 120px 0;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1499793983690-e29da59ef1c2?q=80&w=2000&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax Effect */
    z-index: 1;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.85); /* Dark Blue overlay */
    z-index: 2;
}

.cta-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 0 20px;
}

.cta-content h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 48px;
    color: #ffffff;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.cta-content h2 span {
    color: #f59e0b;
}

.cta-content p {
    font-size: 18px;
    color: #cbd5e1;
    margin-bottom: 40px;
}

.cta-btn {
    font-family: 'Oswald', sans-serif;
    background-color: #f59e0b;
    color: #ffffff;
    padding: 18px 45px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 2px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.cta-btn:hover {
    background-color: #ffffff;
    color: #0f172a;
    transform: translateY(-3px);
}

/* Mobile Responsiveness for Testimonials */
@media (max-width: 990px) {
    .testimonials-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 20px;
        padding-bottom: 20px;
        -webkit-overflow-scrolling: touch;
    }
    .testimonials-grid::-webkit-scrollbar { display: none; }
    .testimonial-card {
        flex: 0 0 85%;
        scroll-snap-align: center;
    }
}

@media (max-width: 768px) {
    .cta-content h2 { font-size: 32px; }
    .cta-btn { width: 100%; justify-content: center; }
}

/* --- Premium Footer Section --- */
.footer-section {
    background-color: #0b1120; /* Ultra Dark Blue for Footer */
    color: #94a3b8;
    padding-top: 80px;
    font-family: 'Poppins', sans-serif;
    position: relative;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr; /* Custom column widths */
    gap: 50px;
    margin-bottom: 60px;
}

/* Footer Column Headers */
.footer-col h3 {
    font-family: 'Oswald', sans-serif;
    color: #ffffff;
    font-size: 22px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

.footer-col h3 span {
    color: #f59e0b; /* Gold */
}

/* Column 1: About */
.footer-logo {
    font-family: 'Oswald', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-logo i { color: #f59e0b; }
.footer-desc { font-size: 15px; line-height: 1.8; margin-bottom: 25px; max-width: 350px; }

/* Social Links */
.social-links { display: flex; gap: 15px; }
.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.social-links a:hover {
    background: #f59e0b;
    border-color: #f59e0b;
    transform: translateY(-5px);
}

/* Footer Links */
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 15px; }
.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.footer-links a i { font-size: 12px; color: #f59e0b; transition: transform 0.3s ease; }
.footer-links a:hover { color: #f59e0b; padding-left: 5px; }
.footer-links a:hover i { transform: translateX(3px); }

/* Contact Details */
.contact-details { display: flex; flex-direction: column; gap: 20px; }
.contact-item { display: flex; align-items: flex-start; gap: 15px; }
.contact-item i { color: #f59e0b; font-size: 20px; margin-top: 5px; }
.contact-item p { margin: 0; font-size: 15px; line-height: 1.6; color: #cbd5e1; }

/* Footer Bottom Bar */
.footer-bottom {
    background-color: #070b15;
    padding: 25px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-bottom-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-bottom p { margin: 0; font-size: 14px; color: #64748b; }
.footer-legal a { color: #64748b; text-decoration: none; font-size: 14px; margin-left: 20px; transition: color 0.3s ease; }
.footer-legal a:hover { color: #f59e0b; }

/* --- Back to Top Button --- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #f59e0b;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    text-decoration: none;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
}
.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    background-color: #0f172a;
    transform: translateY(-5px);
}

/* Mobile Responsiveness for Footer */
@media (max-width: 1024px) {
    .footer-container { grid-template-columns: repeat(2, 1fr); gap: 40px; }
}

@media (max-width: 768px) {
    .footer-container { grid-template-columns: 1fr; gap: 40px; padding: 0 20px; }
    .footer-bottom-container { flex-direction: column; text-align: center; gap: 15px; }
    .footer-legal a { margin: 0 10px; }
    .back-to-top { bottom: 20px; right: 20px; width: 45px; height: 45px; font-size: 18px; }
}

/* --- Inner About & Contact Pages --- */
.inner-page {
    background: #f4f7f6;
}

.inner-page .navbar {
    padding: 15px 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.inner-page .navbar .logo,
.inner-page .navbar .nav-links a,
.inner-page .navbar .menu-toggle {
    color: #0f172a;
}

.inner-page .navbar .nav-links a:hover,
.inner-page .navbar .nav-links a.active {
    color: #f59e0b;
}

.inner-page .navbar .contact-btn {
    border-color: #0f172a;
    color: #0f172a;
}

.inner-page-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.inner-hero {
    min-height: 510px;
    padding: 150px 20px 90px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.about-hero {
    background-image: url('https://images.unsplash.com/photo-1600566753190-17f0baa2a6c3?q=85&w=2000&auto=format&fit=crop');
}

.contact-hero {
    background-image: url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?q=85&w=2000&auto=format&fit=crop');
}

.inner-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(7, 11, 21, .94), rgba(15, 23, 42, .68));
}

.inner-hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
}

.inner-kicker,
.section-eyebrow {
    display: inline-block;
    font-family: 'Oswald', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2.5px;
    color: #f59e0b;
    margin-bottom: 13px;
}

.inner-hero h1 {
    font-family: 'Oswald', sans-serif;
    color: #fff;
    font-size: clamp(44px, 6vw, 72px);
    line-height: 1.06;
    letter-spacing: 2px;
    margin-bottom: 18px;
}

.inner-hero h1 span,
.inner-section-heading h2 span,
.about-copy h2 span,
.values-copy h2 span,
.location-strip-inner h2 span,
.contact-form-panel h2 span,
.contact-bottom-inner h2 span {
    color: #f59e0b;
}

.inner-hero-content > p {
    max-width: 700px;
    margin: 0 auto 24px;
    color: #dbe4f0;
    font-size: 17px;
    line-height: 1.8;
}

.inner-breadcrumbs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.inner-breadcrumbs a,
.inner-breadcrumbs span { color: #e2e8f0; text-decoration: none; }
.inner-breadcrumbs i { color: #f59e0b; font-size: 10px; }

.about-intro-section,
.about-services-section,
.contact-main-section {
    padding: 100px 0;
}

.about-intro-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 75px;
    align-items: center;
}

.about-image-wrap {
    position: relative;
    min-height: 570px;
}

.about-image-wrap > img {
    width: 100%;
    height: 570px;
    object-fit: cover;
    border-radius: 14px;
    display: block;
    box-shadow: 0 25px 55px rgba(15, 23, 42, .14);
}

.about-image-badge {
    position: absolute;
    left: 30px;
    right: 30px;
    bottom: 30px;
    padding: 20px 22px;
    background: rgba(11, 17, 32, .94);
    color: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 20px 35px rgba(0,0,0,.18);
}

.about-image-badge i { color: #f59e0b; font-size: 25px; }
.about-image-badge strong { display: block; font-family: 'Oswald', sans-serif; font-size: 18px; letter-spacing: .5px; }
.about-image-badge span { display: block; color: #94a3b8; font-size: 13px; margin-top: 2px; }

.about-copy h2,
.inner-section-heading h2,
.values-copy h2,
.location-strip-inner h2,
.contact-form-panel h2,
.contact-bottom-inner h2 {
    font-family: 'Oswald', sans-serif;
    color: #0f172a;
    font-size: 42px;
    line-height: 1.2;
    letter-spacing: .5px;
    margin-bottom: 22px;
}

.about-copy > p,
.inner-section-heading > p,
.values-copy > p,
.contact-form-intro {
    color: #64748b;
    line-height: 1.9;
    font-size: 15px;
    margin-bottom: 17px;
}

.about-checks {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 24px;
    margin: 28px 0 32px;
}

.about-checks div { display: flex; align-items: center; gap: 10px; color: #334155; font-size: 14px; }
.about-checks i { color: #f59e0b; }

.about-actions,
.map-action-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.primary-solid-btn,
.secondary-outline-btn {
    min-height: 50px;
    padding: 0 24px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: .3s ease;
}

.primary-solid-btn { background: #f59e0b; color: #fff; }
.primary-solid-btn:hover { background: #0f172a; transform: translateY(-2px); }
.secondary-outline-btn { border-color: #cbd5e1; color: #0f172a; background: transparent; }
.secondary-outline-btn:hover { border-color: #0f172a; background: #0f172a; color: #fff; }

.about-services-section { background: #fff; }
.inner-section-heading { max-width: 760px; margin-bottom: 46px; }
.inner-section-heading.centered { text-align: center; margin-left: auto; margin-right: auto; }

.about-service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.about-service-card {
    background: #f8fafc;
    border: 1px solid #e7edf4;
    border-radius: 12px;
    padding: 30px 25px;
    transition: .3s ease;
}

.about-service-card:hover { transform: translateY(-7px); box-shadow: 0 18px 45px rgba(15,23,42,.08); border-color: rgba(245,158,11,.42); }
.service-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 10px; background: #0f172a; color: #f59e0b; font-size: 22px; margin-bottom: 24px; }
.about-service-card h3 { font-family: 'Oswald', sans-serif; font-size: 22px; color: #0f172a; margin-bottom: 10px; }
.about-service-card p { color: #64748b; font-size: 14px; line-height: 1.75; min-height: 96px; }
.about-service-card a { display: inline-flex; align-items: center; gap: 8px; color: #f59e0b; text-decoration: none; font-family: 'Oswald', sans-serif; font-size: 13px; letter-spacing: 1px; margin-top: 17px; }

.about-values-section,
.contact-bottom-cta {
    background: #0f172a;
    color: #fff;
    padding: 90px 0;
}

.values-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 70px;
    align-items: start;
}

.section-eyebrow.light { color: #fbbf24; }
.values-copy h2,
.contact-bottom-inner h2 { color: #fff; }
.values-copy > p,
.contact-bottom-inner p { color: #a9b7c9; }
.value-points { display: grid; gap: 16px; }
.value-point { display: grid; grid-template-columns: 66px 1fr; gap: 20px; padding: 24px; border: 1px solid rgba(255,255,255,.09); border-radius: 10px; background: rgba(255,255,255,.035); }
.value-point > span { font-family: 'Oswald', sans-serif; font-size: 29px; color: #f59e0b; }
.value-point h3 { font-family: 'Oswald', sans-serif; font-size: 20px; margin-bottom: 7px; }
.value-point p { color: #94a3b8; font-size: 14px; line-height: 1.7; }

.about-location-strip { padding: 65px 0; background: #fff; }
.location-strip-inner,
.contact-bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.location-strip-inner h2,
.contact-bottom-inner h2 { margin-bottom: 8px; font-size: 36px; }
.location-strip-inner p { color: #64748b; }

.contact-info-section { margin-top: -48px; position: relative; z-index: 5; }
.contact-info-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.contact-info-card { background: #fff; border-radius: 12px; border: 1px solid #e8edf3; padding: 28px 22px; text-decoration: none; box-shadow: 0 18px 45px rgba(15,23,42,.08); color: inherit; transition: .3s ease; }
a.contact-info-card:hover { transform: translateY(-6px); border-color: rgba(245,158,11,.55); }
.contact-info-icon { width: 48px; height: 48px; background: #0f172a; color: #f59e0b; border-radius: 9px; display: grid; place-items: center; margin-bottom: 18px; font-size: 19px; }
.contact-info-card > span { display: block; color: #f59e0b; font-family: 'Oswald', sans-serif; font-size: 12px; letter-spacing: 1.5px; margin-bottom: 6px; }
.contact-info-card strong { display: block; color: #0f172a; font-family: 'Oswald', sans-serif; font-size: 18px; line-height: 1.35; margin-bottom: 5px; }
.contact-info-card small { color: #64748b; font-size: 12px; line-height: 1.5; }

.contact-main-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: start; }
.contact-form-panel,
.map-details-card { background: #fff; border: 1px solid #e8edf3; border-radius: 14px; box-shadow: 0 18px 45px rgba(15,23,42,.06); }
.contact-form-panel { padding: 40px; }
.contact-form-panel h2 { font-size: 38px; }
.property-inquiry-form { margin-top: 28px; }
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.form-field label { color: #334155; font-size: 13px; font-weight: 500; }
.form-field input,
.form-field select,
.form-field textarea { width: 100%; border: 1px solid #dbe3ec; background: #f8fafc; border-radius: 8px; padding: 13px 14px; font-family: 'Poppins', sans-serif; font-size: 14px; color: #0f172a; outline: none; transition: .2s ease; }
.form-field input,
.form-field select { height: 48px; }
.form-field textarea { resize: vertical; min-height: 125px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: #f59e0b; background: #fff; box-shadow: 0 0 0 3px rgba(245,158,11,.1); }
.form-submit-btn { border: none; width: 100%; }

.contact-map-panel { display: grid; gap: 18px; }
.map-card { height: 465px; overflow: hidden; border-radius: 14px; box-shadow: 0 18px 45px rgba(15,23,42,.08); border: 1px solid #e8edf3; background: #e2e8f0; }
.map-card iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-details-card { padding: 28px; }
.map-detail-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.map-detail-head h3 { font-family: 'Oswald', sans-serif; color: #0f172a; font-size: 24px; }
.map-detail-head > i { color: #f59e0b; font-size: 32px; }
.map-details-card > p { color: #64748b; font-size: 14px; line-height: 1.7; margin: 14px 0 20px; }
.map-action-row a { flex: 1; min-height: 45px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; border-radius: 7px; font-family: 'Oswald', sans-serif; font-size: 13px; letter-spacing: .5px; background: #f8fafc; border: 1px solid #dbe3ec; color: #0f172a; transition: .2s ease; }
.map-action-row a:hover { background: #0f172a; color: #fff; border-color: #0f172a; }

.contact-bottom-inner p { margin-top: 5px; }

@media (max-width: 1100px) {
    .about-intro-grid,
    .contact-main-grid { grid-template-columns: 1fr; }
    .about-service-grid,
    .contact-info-grid { grid-template-columns: repeat(2, 1fr); }
    .values-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-image-wrap,
    .about-image-wrap > img { min-height: 480px; height: 480px; }
}

@media (max-width: 768px) {
    .inner-page-container { padding: 0 20px; }
    .inner-hero { min-height: 420px; padding: 125px 20px 65px; }
    .inner-hero h1 { font-size: 42px; }
    .inner-hero-content > p { font-size: 15px; }
    .about-intro-section,
    .about-services-section,
    .contact-main-section { padding: 70px 0; }
    .about-copy h2,
    .inner-section-heading h2,
    .values-copy h2,
    .contact-form-panel h2 { font-size: 31px; }
    .about-intro-grid { gap: 42px; }
    .about-image-wrap,
    .about-image-wrap > img { min-height: 390px; height: 390px; }
    .about-image-badge { left: 15px; right: 15px; bottom: 15px; }
    .about-checks { grid-template-columns: 1fr; }
    .about-service-grid,
    .contact-info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .about-service-card { padding: 23px 18px; }
    .about-service-card p { min-height: auto; }
    .contact-info-card { padding: 22px 16px; }
    .contact-info-card strong { font-size: 16px; }
    .location-strip-inner,
    .contact-bottom-inner {
        align-items: center;
        flex-direction: column;
        text-align: center;
    }
    .location-strip-inner h2,
    .contact-bottom-inner h2 { font-size: 30px; }
    .contact-bottom-inner > div {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .contact-bottom-inner p {
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
    }
    .contact-bottom-inner .primary-solid-btn {
        align-self: center;
    }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .contact-form-panel { padding: 25px 20px; }
    .map-card { height: 370px; }
    .map-action-row { flex-direction: column; }
    .map-action-row a { width: 100%; flex: auto; }
}

@media (max-width: 430px) {
    .about-service-grid,
    .contact-info-grid { grid-template-columns: 1fr; }
    .about-image-wrap,
    .about-image-wrap > img { min-height: 340px; height: 340px; }
    .about-actions { flex-direction: column; align-items: stretch; }
    .about-actions a { width: 100%; }
}

/* Consistent select arrow spacing across the site */
select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%23334155' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 20px center !important;
    background-size: 10px 7px !important;
    padding-right: 46px !important;
}



/* --- Mobile footer alignment: centered across every page --- */
@media (max-width: 768px) {
    .footer-section,
    .footer-container,
    .footer-col,
    .footer-bottom-container {
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .social-links,
    .footer-links a,
    .contact-item {
        justify-content: center;
    }

    .contact-details {
        align-items: center;
    }

    .contact-item {
        width: 100%;
        align-items: center;
    }

    .contact-item i {
        margin-top: 0;
    }

    .contact-item p {
        text-align: center;
    }

    .footer-legal {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px 16px;
    }

    .footer-legal a {
        margin: 0;
    }
}

/* --- Clickable property cards --- */
.property-card-clickable { cursor: pointer; }
.property-card-clickable:focus-visible {
    outline: 3px solid rgba(245, 158, 11, .55);
    outline-offset: 3px;
}


/* =========================================================
   Final mobile navigation polish
   ========================================================= */
.nav-menu-icon { display: none; }
.mobile-menu-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, .52);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .28s ease, visibility .28s ease;
    z-index: 5900;
}
.mobile-menu-backdrop.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
body.nav-open { overflow: hidden; }
.navbar.mobile-menu-open { z-index: 6000; }

@media (max-width: 990px) {
    .nav-links {
        top: 0;
        right: min(-360px, -100%);
        width: min(88vw, 340px);
        max-width: 340px;
        height: 100dvh;
        min-height: 100vh;
        padding: 82px 14px 24px;
        gap: 7px;
        overflow-y: auto;
        overscroll-behavior: contain;
        background: #fff;
        box-shadow: -22px 0 60px rgba(15, 23, 42, .20);
        z-index: 6300;
    }

    .nav-links::before {
        content: "MENU";
        position: absolute;
        top: 27px;
        left: 22px;
        font-family: 'Oswald', sans-serif;
        font-size: 18px;
        font-weight: 700;
        letter-spacing: 1.4px;
        color: #0f172a;
    }

    .close-menu {
        top: 17px;
        right: 16px;
        width: 42px !important;
        height: 42px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid #e2e8f0 !important;
        border-radius: 11px;
        background: #f8fafc;
        padding: 0 !important;
        font-size: 21px;
        transition: background .2s ease, color .2s ease, transform .2s ease;
    }
    .close-menu:hover {
        background: #fff7ed;
        color: #f59e0b;
        transform: rotate(4deg);
    }

    .nav-links li:not(.close-menu) {
        width: 100%;
        padding: 0;
        border: 0;
    }

    .nav-links li:not(.close-menu):not(.mobile-only) > a {
        min-height: 54px;
        padding: 8px 10px;
        display: flex;
        align-items: center;
        gap: 13px;
        border: 1px solid transparent;
        border-radius: 11px;
        color: #1e293b;
        background: transparent;
        font-size: 15px;
        font-weight: 600;
        letter-spacing: .8px;
    }

    .nav-menu-icon {
        flex: 0 0 36px;
        width: 36px;
        height: 36px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 1px solid #e7edf4;
        border-radius: 9px;
        background: #f8fafc;
        color: #64748b;
        font-size: 14px;
        transition: all .2s ease;
    }

    .nav-links li:not(.close-menu):not(.mobile-only) > a:hover {
        padding-left: 10px;
        background: #f8fafc;
        border-color: #e7edf4;
        color: #0f172a;
    }

    .nav-links li:not(.close-menu):not(.mobile-only) > a.active {
        background: #fff8ed;
        border-color: #fde7bd;
        color: #f59e0b;
    }
    .nav-links li:not(.close-menu):not(.mobile-only) > a.active .nav-menu-icon {
        background: #f59e0b;
        border-color: #f59e0b;
        color: #fff;
    }

    .mobile-only {
        margin-top: auto;
        padding-top: 16px !important;
        border-top: 1px solid #edf1f5 !important;
        text-align: left !important;
    }

    .nav-links .contact-btn-mobile {
        width: 100%;
        min-height: 52px;
        margin: 0;
        padding: 12px 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        border: 1px solid #0f172a;
        border-radius: 11px;
        background: #0f172a;
        color: #fff !important;
        font-size: 15px;
    }
    .nav-links .contact-btn-mobile .nav-menu-icon {
        display: none;
    }

    .nav-links .contact-btn-mobile {
        margin-top: 2px;
    }
}

@media (max-width: 420px) {
    .nav-links {
        width: min(91vw, 330px);
        padding-left: 12px;
        padding-right: 12px;
    }
}


/* =========================================================
   Mobile header + drawer balance fix
   ========================================================= */
@media (max-width: 990px) {
    .navbar {
        min-height: 72px;
        padding: 16px 0;
    }
    .navbar.scrolled {
        min-height: 68px;
        padding: 14px 0;
    }
    .nav-container {
        width: 100%;
        padding: 0 18px;
        gap: 12px;
    }
    .logo {
        min-width: 0;
        max-width: calc(100% - 56px);
        font-size: 24px;
        line-height: 1.15;
        gap: 9px;
        white-space: nowrap;
    }
    .menu-toggle {
        flex: 0 0 42px;
        width: 42px;
        height: 42px;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        margin-left: auto;
        border: 1px solid rgba(255,255,255,.16);
        border-radius: 10px;
        color: #fff;
        background: rgba(255,255,255,.06);
        font-size: 22px;
        line-height: 1;
        position: relative;
        z-index: 6200;
    }
    .navbar.scrolled .menu-toggle,
    .inner-page .navbar .menu-toggle {
        border-color: #e2e8f0;
        background: #f8fafc;
        color: #0f172a;
    }
    .menu-toggle i { pointer-events: none; }

    .nav-links {
        width: min(86vw, 326px);
        max-width: 326px;
        padding: 78px 14px 22px;
        gap: 8px;
    }
    .nav-links::before {
        top: 25px;
        left: 20px;
        font-size: 17px;
    }
    .close-menu {
        top: 15px;
        right: 14px;
        width: 40px !important;
        height: 40px;
        border-radius: 10px;
    }
    .nav-links li:not(.close-menu):not(.mobile-only) > a {
        min-height: 52px;
        padding: 7px 10px;
        gap: 12px;
        border-color: #edf1f5;
        background: #fff;
    }
    .nav-menu-icon {
        flex-basis: 34px;
        width: 34px;
        height: 34px;
        border-radius: 8px;
    }
    .mobile-only {
        margin-top: auto;
        padding-top: 16px !important;
    }
}

@media (max-width: 430px) {
    .nav-container { padding: 0 16px; }
    .logo { font-size: 22px; gap: 8px; letter-spacing: .7px; }
    .menu-toggle { flex-basis: 40px; width: 40px; height: 40px; font-size: 21px; }
    .nav-links { width: min(88vw, 318px); }
}

@media (max-width: 360px) {
    .logo { font-size: 20px; }
}


/* =========================================================
   Mobile drawer close-button stacking fix
   ========================================================= */
@media (max-width: 990px) {
    /* Drawer must sit above the original hamburger toggle. */
    .nav-links {
        z-index: 6300 !important;
    }

    .close-menu {
        z-index: 6400 !important;
        pointer-events: auto !important;
        cursor: pointer;
    }

    /* Once the drawer is open, the hamburger must not cover the X button. */
    .navbar.mobile-menu-open .menu-toggle {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
}


/* =========================================================
   Mobile spacing rebalance fix
   ========================================================= */
@media (max-width: 768px) {
    html, body { overflow-x: hidden; }

    .featured-section,
    .about-section,
    .trust-bar-section,
    .testimonials-section,
    .cta-section {
        padding: 58px 0;
    }

    .section-header {
        margin-bottom: 28px;
    }

    .section-header h2 {
        font-size: 30px;
    }

    .properties-grid {
        gap: 14px;
        padding-bottom: 14px;
        padding-right: 16px;
    }

    .property-card {
        flex: 0 0 84%;
    }

    .view-all-container {
        margin-top: 18px;
        padding-right: 16px;
    }

    .category-section {
        padding: 58px 0;
    }

    .category-section.group-start {
        padding-top: 58px;
        padding-bottom: 16px;
    }

    .category-section.group-middle {
        padding-top: 20px;
        padding-bottom: 16px;
    }

    .category-section.group-end {
        padding-top: 20px;
        padding-bottom: 58px;
    }

    .category-header {
        margin-bottom: 20px;
        padding-bottom: 12px;
    }

    .testimonials-grid {
        gap: 16px;
        margin-top: 28px;
        padding-bottom: 10px;
    }

    .testimonial-card {
        flex: 0 0 86%;
        padding: 28px 22px;
    }

    .cta-content p {
        margin-bottom: 26px;
    }
}

@media (max-width: 560px) {
    .featured-section,
    .about-section,
    .trust-bar-section,
    .testimonials-section,
    .cta-section {
        padding: 50px 0;
    }

    .section-container {
        padding-left: 16px;
    }

    .section-header,
    .view-all-container {
        padding-right: 16px;
    }

    .section-header {
        margin-bottom: 24px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .properties-grid {
        gap: 12px;
        padding-bottom: 12px;
        padding-right: 16px;
    }

    .category-section {
        padding: 50px 0;
    }

    .category-section.group-start {
        padding-top: 50px;
        padding-bottom: 14px;
    }

    .category-section.group-middle {
        padding-top: 18px;
        padding-bottom: 14px;
    }

    .category-section.group-end {
        padding-top: 18px;
        padding-bottom: 50px;
    }

    .category-header {
        margin-bottom: 18px;
    }

    .testimonials-grid {
        margin-top: 24px;
        gap: 14px;
    }

    .testimonial-card {
        flex-basis: 88%;
        padding: 24px 20px;
    }
}


/* Google review summary + dual phone polish */
.testimonials-grid { align-items: stretch; }
.testimonial-card.google-summary-card { display:flex; flex-direction:column; height:100%; }
.testimonial-card.google-summary-card .review-text { flex:1; }
.testimonial-card.google-summary-card .client-info { margin-top:auto; }
.google-review-avatar { width:60px; height:60px; flex:0 0 60px; border-radius:50%; border:2px solid #f59e0b; display:flex; align-items:center; justify-content:center; background:#fff8ed; color:#f59e0b; font-size:22px; }
.google-review-link { color:#64748b; text-decoration:none; }
.google-review-link:hover { color:#f59e0b; }
.contact-phone-link { color:inherit; text-decoration:none; }
.contact-phone-link:hover { color:#f59e0b; }
@media (max-width:990px){ .testimonial-card.google-summary-card { min-height:100%; } }


/* ===== Real business proof, reviews and QR additions ===== */
.reviews-rating-line{margin:14px 0 0;color:#64748b;font-size:13px}.reviews-rating-line i{color:#4285f4;margin-right:6px}
.four-review-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;align-items:stretch}
.real-google-review{display:flex;flex-direction:column;height:100%;padding:28px 22px;min-width:0}
.real-google-review .review-text{font-style:normal;font-size:14px;line-height:1.75;flex:1;margin:18px 0 24px}
.review-topline{display:flex;justify-content:space-between;gap:10px;align-items:center;color:#94a3b8;font-size:10px;text-transform:uppercase;letter-spacing:.7px}
.google-badge{display:inline-flex;align-items:center;gap:6px;color:#475569;font-weight:600}.google-badge i{color:#4285f4;font-size:13px}
.google-review-avatar{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;flex:0 0 46px;background:#f8fafc;border:1px solid #e2e8f0;color:#0f172a;font-family:'Oswald',sans-serif;font-weight:700;font-size:18px}
.real-google-review .client-info{margin-top:auto}.real-google-review .client-details h4{font-size:15px}.real-google-review .stars{color:#f59e0b;letter-spacing:1px;font-size:12px}
.review-source-link{margin-top:16px;padding-top:14px;border-top:1px solid #edf1f5;color:#64748b;text-decoration:none;font-family:'Oswald',sans-serif;font-size:11px;letter-spacing:.8px;display:flex;justify-content:space-between;align-items:center}.review-source-link:hover{color:#f59e0b}
.property-proof-strip{background:#0f172a;padding:26px 0}.property-proof-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:rgba(255,255,255,.12)}.property-proof-grid>div{background:#0f172a;padding:22px 24px;text-align:center}.property-proof-grid strong{display:block;color:#f59e0b;font-family:'Oswald',sans-serif;font-size:30px;line-height:1;margin-bottom:7px}.property-proof-grid span{color:#cbd5e1;font-size:12px;line-height:1.45}
.whatsapp-qr-contact-card{
    margin-top:20px;
    background:#0f172a;
    border:1px solid rgba(255,255,255,.08);
    border-radius:16px;
    padding:28px;
    display:grid;
    grid-template-columns:minmax(0,1fr) 210px;
    grid-template-areas:
        "copy qr"
        "actions qr";
    column-gap:30px;
    row-gap:20px;
    align-items:center;
    color:#fff;
    box-shadow:0 18px 45px rgba(15,23,42,.14);
}
.whatsapp-qr-contact-card .qr-copy{grid-area:copy;align-self:end}
.whatsapp-qr-contact-card .qr-copy .section-eyebrow{display:block;margin-bottom:8px}
.whatsapp-qr-contact-card .qr-copy h3{
    font-family:'Oswald',sans-serif;
    color:#fff;
    font-size:28px;
    line-height:1.15;
    letter-spacing:1px;
    margin:0 0 10px;
}
.whatsapp-qr-contact-card .qr-copy p{
    max-width:520px;
    color:#cbd5e1;
    font-size:13px;
    line-height:1.7;
    margin:0;
}
.qr-image-wrap{
    grid-area:qr;
    align-self:stretch;
    display:flex;
    flex-direction:column;
    justify-content:center;
    gap:10px;
    background:#fff;
    border-radius:14px;
    padding:12px;
    text-decoration:none;
    box-shadow:0 10px 28px rgba(0,0,0,.16);
}
.qr-image-wrap img{
    width:100%;
    aspect-ratio:1/1;
    object-fit:contain;
    display:block;
}
.qr-scan-label{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    color:#0f172a;
    font-family:'Oswald',sans-serif;
    font-size:11px;
    font-weight:700;
    letter-spacing:1px;
}
.qr-scan-label i{color:#25d366;font-size:15px}
.qr-actions{grid-area:actions;align-self:start}
.qr-contact-numbers{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
    margin-bottom:12px;
}
.qr-contact-numbers a{
    min-width:0;
    display:flex;
    align-items:center;
    gap:10px;
    padding:11px 12px;
    color:#fff;
    text-decoration:none;
    border:1px solid rgba(255,255,255,.12);
    border-radius:10px;
    background:rgba(255,255,255,.04);
    font-size:12px;
    font-weight:600;
    transition:.2s ease;
}
.qr-contact-numbers a:hover{background:rgba(255,255,255,.08);border-color:rgba(245,158,11,.45)}
.qr-phone-icon{
    flex:0 0 30px;
    width:30px;
    height:30px;
    display:grid;
    place-items:center;
    border-radius:8px;
    background:rgba(245,158,11,.12);
    color:#f59e0b;
}
.qr-contact-numbers a span:last-child{display:flex;flex-direction:column;line-height:1.2;min-width:0}
.qr-contact-numbers small{color:#94a3b8;font-size:8px;font-weight:600;letter-spacing:.8px;margin-bottom:3px}
.qr-whatsapp-btn{
    width:100%;
    min-height:44px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:9px;
    background:#25d366;
    color:#07140c;
    text-decoration:none;
    font-family:'Oswald',sans-serif;
    font-size:13px;
    font-weight:700;
    letter-spacing:.8px;
    border-radius:10px;
    padding:11px 16px;
    transition:transform .2s ease,filter .2s ease;
}
.qr-whatsapp-btn:hover{transform:translateY(-1px);filter:brightness(.97)}
.qr-whatsapp-btn .fa-arrow-right{font-size:11px}

@media(max-width:1200px){.four-review-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:990px){.four-review-grid{display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:12px}.four-review-grid .real-google-review{flex:0 0 82%;scroll-snap-align:start}.property-proof-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){
    .whatsapp-qr-contact-card{
        grid-template-columns:1fr;
        grid-template-areas:
            "copy"
            "qr"
            "actions";
        gap:18px;
        padding:22px 18px;
        border-radius:14px;
    }
    .whatsapp-qr-contact-card .qr-copy{text-align:left}
    .whatsapp-qr-contact-card .qr-copy h3{font-size:25px;margin-bottom:9px}
    .whatsapp-qr-contact-card .qr-copy p{font-size:12px;line-height:1.65}
    .qr-image-wrap{
        width:min(210px,72vw);
        justify-self:center;
        align-self:auto;
        padding:10px;
    }
    .qr-contact-numbers{grid-template-columns:1fr;gap:8px;margin-bottom:10px}
    .qr-contact-numbers a{padding:10px 11px}
    .qr-whatsapp-btn{min-height:46px}
    .property-proof-grid{grid-template-columns:1fr 1fr}.property-proof-grid>div{padding:18px 12px}.property-proof-grid strong{font-size:25px}.four-review-grid .real-google-review{flex-basis:88%}
}

/* Page-specific banner image positioning */
@media (min-width: 769px) {
  .about-hero { background-position: center 55%; }
  .contact-hero { background-position: center 48%; }
}
@media (max-width: 768px) {
  .page-header, .inner-hero, .content-hero { background-position: center center; }
}

@media (max-width: 560px) {
  .contact-bottom-inner { gap: 24px; }
  .contact-bottom-inner .primary-solid-btn { margin: 0 auto; }
}


/* =========================================================
   Contact page final desktop layout
   Top: inquiry + map equal height
   Bottom: location + WhatsApp equal cards
   ========================================================= */
.contact-layout-stack {
    display: grid;
    gap: 24px;
}

.contact-top-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 40px;
    align-items: stretch;
}

.contact-top-grid .contact-form-panel,
.contact-top-grid .contact-map-equal {
    height: 100%;
}

.contact-map-equal {
    min-height: 100%;
    height: auto;
}

.contact-secondary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: stretch;
}

.contact-secondary-grid > .map-details-card,
.contact-secondary-grid > .whatsapp-secondary-card {
    height: 100%;
    min-height: 238px;
    box-sizing: border-box;
}

.contact-secondary-grid .map-details-card {
    display: flex;
    flex-direction: column;
}

.contact-secondary-grid .map-details-card .map-action-row {
    margin-top: auto;
}

.whatsapp-secondary-card {
    grid-template-columns: minmax(0, 1fr) 180px;
    grid-template-areas: "copy qr";
    gap: 26px;
    padding: 28px;
    align-items: center;
}

.whatsapp-secondary-card .qr-copy {
    grid-area: copy;
    align-self: center;
}

.whatsapp-secondary-card .qr-copy p {
    margin-bottom: 18px;
    max-width: 520px;
}

.whatsapp-secondary-card .qr-whatsapp-btn {
    width: fit-content;
    min-width: 205px;
}

.whatsapp-secondary-card .qr-image-wrap {
    grid-area: qr;
    width: 180px;
    min-width: 180px;
    aspect-ratio: 1 / 1;
    align-self: center;
    justify-self: end;
}

@media (max-width: 1100px) {
    .contact-top-grid,
    .contact-secondary-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-map-equal {
        min-height: 430px;
        height: 430px;
    }

    .contact-secondary-grid > .map-details-card,
    .contact-secondary-grid > .whatsapp-secondary-card {
        min-height: 0;
    }
}

@media (max-width: 768px) {
    .contact-layout-stack {
        gap: 18px;
    }

    .contact-top-grid,
    .contact-secondary-grid {
        gap: 18px;
    }

    .contact-map-equal {
        height: 370px;
        min-height: 370px;
    }

    .whatsapp-secondary-card {
        grid-template-columns: 1fr;
        grid-template-areas:
            "copy"
            "qr";
        text-align: center;
        padding: 26px 20px;
        gap: 22px;
    }

    .whatsapp-secondary-card .qr-copy {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .whatsapp-secondary-card .qr-copy p {
        margin-left: auto;
        margin-right: auto;
    }

    .whatsapp-secondary-card .qr-image-wrap {
        width: min(210px, 72vw);
        min-width: 0;
        justify-self: center;
    }

    .whatsapp-secondary-card .qr-whatsapp-btn {
        width: 100%;
        min-width: 0;
        justify-content: center;
    }
}
