/* ========================================   INDRADHANU GROUP - MINIMALIST DARK THEME   Professional, Sleek, Dark Blue   ======================================== */
:root {
    --primary: #003366;
    /* Dark Blue */
    --primary-light: #004080;
    --accent: #FFD700;
    --text-light: #f4f4f4;
    --text-dark: #333333;
    --white: #ffffff;
    --dark-bg: #001f3f;
    --gray-light: #f3f4f6;
    --gray-muted: #6b7280;
    --gray-darker: #4b5563;
    --border-color: #e5e7eb;
    --font-heading: 'Roboto', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
}

body.no-scroll {
    overflow: hidden;
}

/* Navbar Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

.logo-highlight {
    color: var(--primary);
}

.logo-light {
    color: var(--text-dark);
    font-weight: 300;
}

.logo-img {
    height: 50px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.footer-logo-img {
    height: 60px;
}

@media (max-width: 768px) {
    .logo-img {
        height: 40px;
    }
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary);
}

/* Mega Menu Styles */
.has-mega {
    position: static;
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 20px 50px rgba(0, 51, 102, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    padding: 3.5rem 5%;
    z-index: 999;
    border-top: 1px solid rgba(0, 51, 102, 0.05);
}

.has-mega:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4rem;
}

.mega-column {
    display: flex;
    flex-direction: column;
}

.mega-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(0, 51, 102, 0.05);
}

.mega-icon {
    color: var(--primary);
    stroke-width: 1.5px;
    opacity: 0.8;
}

.mega-title {
    font-family: var(--font-heading);
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
}

.mega-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.mega-links li a {
    font-size: 0.95rem !important;
    font-weight: 400 !important;
    color: var(--gray-muted) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    padding: 0 !important;
    text-transform: none !important;
    display: inline-block !important;
}

.mega-links li a:hover {
    color: var(--primary) !important;
    transform: translateX(8px);
}

.mega-links li a::after {
    display: none !important;
}

.nav-btns {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.6rem 1.2rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-outline {
    border: 1px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-filled {
    background: var(--primary);
    color: var(--white);
    border: 1px solid var(--primary);
}

.btn-filled:hover {
    background: var(--primary-light);
    border-color: var(--primary-light);
    transform: translateY(-2px);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--primary);
    transition: all 0.3s ease;
}

/* Mobile Menu Styles */
@media (max-width: 968px) {
    .navbar {
        padding: 1rem 5%;
    }

    .mobile-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        backdrop-filter: blur(10px);
        z-index: 1000;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
        padding-top: 80px;
        padding-bottom: 2rem;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 0;
        margin-bottom: 2rem;
        width: 100%;
        padding: 0 1.5rem;
    }

    .nav-links>li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(0, 51, 102, 0.06);
    }

    .nav-links>li>a {
        display: block;
        padding: 1rem 0;
        font-size: 1.1rem;
        font-weight: 600;
        color: var(--text-dark);
    }

    /* Hide mega menu entirely on mobile */
    .has-mega {
        display: none;
    }

    .nav-btns {
        flex-direction: column;
        gap: 0.75rem;
        width: 85%;
        padding: 0 1.5rem;
    }

    .nav-btns .btn {
        text-align: center;
        width: 100%;
        padding: 0.85rem 1rem;
        font-size: 0.85rem;
    }

    /* Hamburger Animation */
    .mobile-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .mobile-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .mobile-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Consolidated Mobile Headers & Subtitles */
    .about-header h2,
    .section-header h2,
    .mission-content h2,
    .values-header h2,
    .section-header-carousel h2 {
        font-size: 1.5rem !important;
        margin-bottom: 1rem;
    }

    .about-header .subtitle,
    .section-header .subtitle {
        font-size: 0.85rem !important;
    }
}

/* Hero Slider Section */
.hero {
    position: relative;
    width: 100%;
    margin-top: 80px;
    /* Adjust based on navbar height */
    aspect-ratio: 2722 / 1225;
    /* Matches desktop banner dimensions */
    background: var(--dark-bg);
    overflow: hidden;
}

/* Visually Hidden for SEO */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 768px) {
    .hero {
        aspect-ratio: 681 / 1089;
        /* Mobile poster dimensions */
        margin-top: 60px;
        /* Adjust for smaller mobile navbar if needed */
    }
}

/* About Us Section */
.about {
    padding: 3rem 5%;
    background: var(--white);
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.about-header {
    max-width: 900px;
    margin-bottom: 2rem;
}

.about-header .badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: rgba(0, 51, 102, 0.1);
    /* Light Primary */
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-header h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    line-height: 1.15;
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 800;
}

.about-header .subtitle {
    font-size: 1.25rem;
    color: var(--gray-darker);
    font-weight: 300;
    max-width: 700px;
}

.about-banner {
    width: 100%;
    height: 550px;
    border-radius: 4px;
    /* Slightly sharper for professional look */
    overflow: hidden;
    margin-bottom: 3rem;
    box-shadow: 0 20px 40px rgba(0, 51, 102, 0.15);
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    /* Asymmetric grid */
    gap: 3rem;
    margin-bottom: 3rem;
    align-items: center;
}

.about-text-extra h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    line-height: 1.3;
    color: var(--primary);
    position: relative;
    padding-left: 1.5rem;
    border-left: 4px solid var(--accent);
}

.about-description p {
    font-size: 1.05rem;
    color: var(--text-dark);
    line-height: 1.7;
    opacity: 0.9;
}

/* Stats Grid with Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.stat-item {
    text-align: left;
    padding: 1.2rem;
    background: var(--gray-light);
    border-radius: 4px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gray-darker);
    font-weight: 600;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .testimonials {
        padding: 4rem 0;
    }

    .testimonial-card {
        width: 320px;
        padding: 1.5rem;
    }

    .testimonial-card p {
        font-size: 0.95rem;
    }

    .testimonial-card .rating {
        font-size: 0.9rem;
    }

    .faq-question {
        padding: 1.2rem 1.5rem;
    }

    .faq-answer p {
        padding: 0 1.5rem 1.5rem 1.5rem;
    }

    @keyframes marquee-scroll-rtl {
        0% {
            transform: translateX(0);
        }

        100% {
            /* Mobile: 320px width + 2rem (32px) gap = 352px */
            /* 12 originals * 352px = 4224px */
            transform: translateX(calc(-320px * 12 - 2rem * 12));
        }
    }
}

@media (max-width: 968px) {

    /* Headers moved to 968px breakpoint for better coverage */
    .about-banner {
        height: 220px;
        margin-bottom: 2rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2.5rem;
    }

    .about-text-extra h3 {
        font-size: 1.5rem;
        border-left-width: 3px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        padding-top: 1.5rem;
    }

    .stat-item {
        padding: 0.8rem;
    }

    .stat-number {
        font-size: 2rem;
    }
}

/* Properties Section */
.properties {
    padding: 6rem 0 2rem 0;
    /* Reduced bottom padding */
    background: var(--white);
}

.properties .container {
    max-width: 90%;
    /* Increased width as requested */
    padding: 0;
}

.section-header {
    margin-bottom: 4rem;
    text-align: center;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 800;
    line-height: 1.15;
}

.section-header .subtitle {
    font-size: 0.95rem;
    color: var(--gray-darker);
    font-weight: 300;
    max-width: 700px;
    margin: 0 auto;
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 992px) {
    .properties-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .properties-grid {
        grid-template-columns: 1fr;
    }
}

.properties-see-more {
    margin-top: 2rem;
    /* Reduced margin */
    text-align: center;
}

/* Why Choose Section */
.why-choose {
    padding: 3rem 5% 6rem 5%;
    /* Reduced top padding */
    background: var(--white);
}

.why-choose .container {
    max-width: 90%;
    margin: 0 auto;
}

.why-grid,
.why-track {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.marquee-clone {
    display: none !important;
}

.why-card {
    padding: 2.5rem 1.5rem;
    border-radius: 8px;
    border: 1.5px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
    background: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
}

.why-icon-container {
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.why-icon {
    width: 40px;
    height: 40px;
}

.why-icon-bg {
    position: absolute;
    top: -5px;
    right: -10px;
    width: 70px;
    height: 70px;
    opacity: 0.08;
    z-index: -1;
    pointer-events: none;
}

.why-card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.why-card p {
    font-size: 0.85rem;
    color: var(--gray-darker);
    line-height: 1.6;
    font-weight: 500;
}

/* Card Specific Colors */
.why-card-blue {
    border-color: #3b82f6;
}

.why-card-blue .why-icon {
    color: #3b82f6;
}

.why-card-blue .why-icon-bg {
    fill: #3b82f6;
}

.why-card-green {
    border-color: #10b981;
}

.why-card-green .why-icon {
    color: #10b981;
}

.why-card-green .why-icon-bg {
    fill: #10b981;
}

.why-card-navy {
    border-color: #312e81;
}

.why-card-navy .why-icon {
    color: #312e81;
}

.why-card-navy .why-icon-bg {
    fill: #312e81;
}

.why-card-gold {
    border-color: #f59e0b;
}

.why-card-gold .why-icon {
    color: #f59e0b;
}

.why-card-gold .why-icon-bg {
    fill: #f59e0b;
}

.why-card-red {
    border-color: #ef4444;
}

.why-card-red .why-icon {
    color: #ef4444;
}

.why-card-red .why-icon-bg {
    fill: #ef4444;
}

@media (max-width: 1200px) {
    .why-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 968px) {
    .why-choose {
        padding: 4rem 5%;
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 576px) {
    .why-choose .container {
        max-width: 100%;
        padding: 0;
        overflow: hidden;
    }

    .why-marquee {
        width: 100%;
        overflow: hidden;
        padding: 2rem 0;
    }

    .why-track {
        display: flex;
        grid-template-columns: none;
        gap: 1rem;
        width: max-content;
        animation: marquee 20s linear infinite;
        margin-top: 0;
    }

    .marquee-clone {
        display: flex;
    }

    .why-card {
        min-width: 200px;
        width: 200px;
        padding: 1.5rem 1rem;
    }

    .why-card h3 {
        font-size: 0.95rem;
    }

    .why-card p {
        font-size: 0.75rem;
    }

    .why-icon {
        width: 30px;
        height: 30px;
    }

    .why-icon-container {
        width: 50px;
        height: 50px;
        margin-bottom: 1rem;
    }

    @keyframes marquee {
        0% {
            transform: translateX(0);
        }

        100% {
            /* Total 10 cards (5 original + 5 clone), card width 200px + gap 16px (1rem) = 216px */
            /* We want to scroll past exactly the 5 original cards: 5 * 216px = 1080px */
            transform: translateX(calc(-216px * 5));
        }
    }
}

.property-card {
    height: 650px;
    /* Increased from 550px */
    border-radius: 0;
    /* Removed rounded corners as requested */
    overflow: hidden;
    background: #000;
    /* Fallback */
    position: relative;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.property-img-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.property-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.property-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.7) 15%, transparent 50%);
    z-index: 1;
}

.property-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 2;
    display: flex;
    flex-direction: column;
}

.property-info {
    padding: 1.5rem 1.5rem 0.5rem 1.5rem;
}

.property-info h3 {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.6rem;
    margin-bottom: 0.25rem;
    font-weight: 700;
}

.property-location {
    color: #d1d5db;
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 0.2rem;
}

.property-builder {
    color: #d1d5db;
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 0.2rem;
}

.property-type {
    color: #d1d5db;
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.property-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 0 1.5rem 1.5rem 1.5rem;
    background: transparent;
    border-top: none;
}

.price-label {
    font-size: 0.65rem;
    text-transform: capitalize;
    color: #9ca3af;
    margin-bottom: 0.2rem;
}

.price-value {
    color: var(--white);
    font-weight: 700;
    font-size: 1.6rem;
    margin-bottom: 0;
    line-height: 1;
}

.property-badge {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    padding: 0 1.25rem;
    z-index: 2;
    pointer-events: none;
}

.property-badge span {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    color: var(--white);
    font-size: 0.65rem;
    padding: 0.1rem 0.5rem;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
}

/* Services / Mission Section */
.services {
    padding: 3rem 5%;
    /* Reduced from 6rem */
    background: var(--gray-light);
    overflow: hidden;
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    /* Reduced from 6rem */
    align-items: start;
}

.mission-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: var(--primary);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.5);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.mission-content h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary);
    line-height: 1.15;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.mission-text {
    font-size: 1.05rem;
    color: var(--text-dark);
    line-height: 1.7;
    max-width: 90%;
    margin-bottom: 3rem;
}

.mission-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 400px;
}

.mission-image-glow {
    position: absolute;
    inset: -20px;
    background: linear-gradient(to right, var(--primary), var(--primary-light));
    filter: blur(40px);
    opacity: 0.2;
    border-radius: 12px;
}

.mission-image-container {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4/5;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.mission-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.values-content {
    margin-top: 6rem;
    /* Staggered layout - moves right side down */
}

.values-header {
    margin-bottom: 3rem;
    /* text-align: right;
 desktop only usually */
}

.values-header h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary);
    line-height: 1.15;
    font-weight: 800;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid var(--border-color);
}

.value-item {
    padding: 2.5rem 2rem 2.5rem 0;
    border-bottom: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
}

.value-item:nth-child(2n) {
    border-right: none;
    padding-left: 2rem;
    padding-right: 0;
}

.value-item h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 700;
}

.value-item p {
    font-size: 1rem;
    color: var(--gray-darker);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.value-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    text-transform: uppercase;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

@media (max-width: 992px) {
    .mission-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .values-header {
        margin-top: 0;
    }

    .values-content {
        margin-top: 0;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .value-item,
    .value-item:nth-child(2n) {
        border-right: none;
        padding: 2rem 0;
    }
}

@media (max-width: 768px) {
    .testimonials {
        padding: 4rem 0;
    }

    .testimonial-card {
        width: 320px;
        padding: 1.5rem;
    }

    .testimonial-card p {
        font-size: 0.95rem;
    }

    .testimonial-card .rating {
        font-size: 0.9rem;
    }

    .faq-question {
        padding: 1.2rem 1.5rem;
    }

    .faq-answer p {
        padding: 0 1.5rem 1.5rem 1.5rem;
    }

    @keyframes marquee-scroll-rtl {
        0% {
            transform: translateX(0);
        }

        100% {
            /* Mobile: 320px width + 2rem (32px) gap = 352px */
            /* 12 originals * 352px = 4224px */
            transform: translateX(calc(-320px * 12 - 2rem * 12));
        }
    }
}

.mission-grid {
    gap: 2rem;
}

.mission-badge {
    font-size: 0.65rem;
    padding: 0.3rem 0.8rem;
    margin-bottom: 1rem;
}

.mission-content h2 {
    /* font-size handled in consolidated block */
    margin-bottom: 1rem;
}

.mission-text {
    font-size: 1rem;
    max-width: 100%;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.mission-image-wrapper {
    max-width: 100%;
}

.mission-image-container {
    aspect-ratio: 16/10;
}

.mission-image-glow {
    inset: -10px;
    filter: blur(25px);
}

.values-header {
    margin-bottom: 1.5rem;
}

/* font-size handled in consolidated block */
.value-item,
.value-item:nth-child(2n) {
    padding: 1.25rem 0;
}

.value-item h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.value-item p {
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.value-link {
    font-size: 0.75rem;
}

.link-arrow {
    width: 20px;
    height: 20px;
    font-size: 0.65rem;
}

.slider-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slider-inner {
    display: flex;
    width: 300%;
    /* Adjust based on number of slides */
    height: 100%;
    transition: transform 1s ease-in-out;
}

.slide {
    width: 33.333%;
    /* Adjust based on number of slides */
    height: 100%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Responsive adjustments for Hero */
@media (max-width: 768px) {
    .testimonials {
        padding: 4rem 0;
    }

    .testimonial-card {
        width: 320px;
        padding: 1.5rem;
    }

    .testimonial-card p {
        font-size: 0.95rem;
    }

    .testimonial-card .rating {
        font-size: 0.9rem;
    }

    .faq-question {
        padding: 1.2rem 1.5rem;
    }

    .faq-answer p {
        padding: 0 1.5rem 1.5rem 1.5rem;
    }

    @keyframes marquee-scroll-rtl {
        0% {
            transform: translateX(0);
        }

        100% {
            /* Mobile: 320px width + 2rem (32px) gap = 352px */
            /* 12 originals * 352px = 4224px */
            transform: translateX(calc(-320px * 12 - 2rem * 12));
        }
    }
}

.hero-img {
    object-fit: cover;
}

/* ========================================   BEST PROPERTIES CAROUSEL SECTION   ======================================== */
.best-properties {
    padding: 2rem 0;
    /* Reduced vertical gap */
    background: #f8f9fa;
}

.container-carousel {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: 5%;
    /* Aligns with navbar logo and other sections */
    padding-right: 0;
    /* Bleeds to the right */
}

.section-header-carousel {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-right: 5%;
    /* Keep nav buttons away from edge */
}

.section-header-carousel h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary);
    font-weight: 800;
    text-transform: capitalize;
    line-height: 1.15;
}

.carousel-nav {
    display: flex;
    gap: 12px;
}

.nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    /* Square with slight rounding as requested */
    border: 1px solid var(--border-color);
    background: var(--white);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.nav-btn:hover {
    border-color: var(--primary);
    background: var(--gray-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 51, 102, 0.1);
}

.carousel-viewport {
    overflow: hidden;
    position: relative;
    padding: 1rem 0 3rem 0;
}

.carousel-container {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 10px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.carousel-container::-webkit-scrollbar {
    display: none;
}

.carousel-card {
    min-width: 480px;
    max-width: 480px;
    flex-shrink: 0;
    height: 650px;
    border-radius: 0;
    overflow: hidden;
}

/* Ensure cards inside use the standard theme (no red) */
.best-properties .btn-filled {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
}

.best-properties .btn-filled:hover {
    background: var(--primary-light) !important;
}

@media (max-width: 968px) {
    .carousel-card {
        min-width: 320px;
        max-width: 320px;
        height: 550px;
    }

    .carousel-card .property-info {
        padding: 1rem 1rem 0.4rem 1rem;
    }

    .carousel-card .property-info h3 {
        font-size: 1.3rem;
        margin-bottom: 0.2rem;
    }

    .carousel-card .property-location,
    .carousel-card .property-builder,
    .carousel-card .property-type {
        font-size: 0.7rem;
    }

    .carousel-card .property-footer {
        padding: 0 1rem 1rem 1rem;
    }

    .carousel-card .price-value {
        font-size: 1.3rem;
    }

    .carousel-card .btn-sm {
        padding: 0.4rem 0.8rem;
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .carousel-card {
        min-width: 260px;
        max-width: 260px;
        height: 420px;
    }

    .section-header-carousel {
        margin-bottom: 1rem;
        padding-right: 5%;
    }

    .carousel-card .property-info {
        padding: 0.75rem 0.75rem 0.3rem 0.75rem;
    }

    .carousel-card .property-info h3 {
        font-size: 1rem;
        margin-bottom: 0.15rem;
        line-height: 1.2;
    }

    .carousel-card .property-location,
    .carousel-card .property-builder,
    .carousel-card .property-type {
        font-size: 0.6rem;
        margin-bottom: 0.1rem;
    }

    .carousel-card .property-footer {
        padding: 0 0.75rem 0.75rem 0.75rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .carousel-card .price-value {
        font-size: 1.1rem;
    }

    .carousel-card .price-label {
        font-size: 0.55rem;
    }

    .carousel-card .btn-sm {
        padding: 0.35rem 0.7rem;
        font-size: 0.65rem;
        align-self: flex-start;
    }

    .best-properties {
        padding: 1.5rem 0;
    }

    .container-carousel {
        padding-left: 4%;
    }
}

/* Testimonials Section */
.testimonials {
    padding: 6rem 0;
    background: var(--gray-light);
    overflow: hidden;
    width: 100%;
}

.testimonials .section-header {
    margin-bottom: 4rem;
    padding: 0 5%;
    text-align: center;
}

.testimonials-marquee-wrapper {
    width: 100%;
}

.testimonials-marquee {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 2rem 0;
}

.testimonials-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: marquee-scroll-rtl 60s linear infinite;
}

/* Pause on hover */
.testimonials-marquee:hover .testimonials-track {
    animation-play-state: paused;
}

.testimonial-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 51, 102, 0.05);
    width: 450px;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 51, 102, 0.1);
    border-color: var(--primary);
}

.testimonial-card .rating {
    color: #FFD700;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.testimonial-card p {
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.7;
    font-size: 1.05rem;
}

.reviewer {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
}

.reviewer-name {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.reviewer-role {
    font-size: 0.9rem;
    color: var(--gray-darker);
}

/* Scroll Animation - Single RTL Row */
@keyframes marquee-scroll-rtl {
    0% {
        transform: translateX(0);
    }

    100% {
        /* Total track has 12 originals + 12 clones = 24 cards */
        /* Each card 450px + 2rem (32px) gap = 482px */
        /* We scroll past exactly the 12 originals: 12 * 482px = 5784px */
        transform: translateX(calc(-450px * 12 - 2rem * 12));
    }
}

/* FAQ Section */
.faq {
    padding: 6rem 5%;
    background: var(--white);
}

.faq .container-custom {
    max-width: 900px;
    margin: 0 auto;
}

.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-top: 3.5rem;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--white);
}

.faq-item.active {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 51, 102, 0.08);
}

.faq-question {
    padding: 1.5rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.faq-question:hover {
    background: rgba(0, 51, 102, 0.02);
}

.faq-question h3 {
    font-size: 1.15rem;
    color: var(--primary);
    margin: 0;
    font-weight: 700;
    font-family: var(--font-heading);
}

.faq-toggle {
    font-size: 1.8rem;
    color: var(--primary);
    font-weight: 300;
    transition: transform 0.4s ease;
    line-height: 1;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 2.5rem 2rem 2.5rem;
    margin: 0;
    color: var(--text-dark);
    line-height: 1.8;
    font-size: 1rem;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .testimonials {
        padding: 4rem 0;
    }

    .testimonial-card {
        width: 320px;
        padding: 1.5rem;
    }

    .testimonial-card p {
        font-size: 0.95rem;
    }

    .testimonial-card .rating {
        font-size: 0.9rem;
    }

    .faq-question {
        padding: 1.2rem 1.5rem;
    }

    .faq-answer p {
        padding: 0 1.5rem 1.5rem 1.5rem;
    }

    @keyframes marquee-scroll-rtl {
        0% {
            transform: translateX(0);
        }

        100% {
            /* Mobile: 320px width + 2rem (32px) gap = 352px */
            /* 12 originals * 352px = 4224px */
            transform: translateX(calc(-320px * 12 - 2rem * 12));
        }
    }
}


/* ========================================
   FOOTER SECTION
   ======================================== */
/* ========================================
   FOOTER SECTION
   ======================================== */
.site-footer {
    background-color: var(--dark-bg);
    /* Match website dark blue */
    color: #ffffff;
    padding: 60px 0 30px 0;
    font-family: var(--font-body);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.site-footer .container-custom {
    max-width: 1400px;
    padding: 0 40px;
}

/* Links Grid */
.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px 20px;
    margin-bottom: 40px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 400;
    transition: all 0.3s ease;
}

.footer-column a:hover {
    color: var(--accent);
    transform: translateX(3px);
}

/* Divider */
.footer-divider {
    border: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 30px 0;
}

/* Branding Row */
.footer-branding-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.footer-logo-wrapper {
    display: flex;
    align-items: center;
}

.footer-logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

.footer-logo .logo-highlight {
    color: #ffffff;
    /* White for 'Indradhanu' */
}

.footer-logo .logo-light {
    color: #000000;
    /* Black for 'Group' */
    font-weight: 300;
    text-shadow: 0 0 2px rgba(255, 255, 255, 0.5);
    /* Slight glow to make black visible */
}

/* Remove old specific red/yellow styles */


/* Social Icons */
.footer-social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #ffffff;
    color: var(--primary);
}

/* Bottom Legal Row */
.footer-bottom-row {
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
}

.rera-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.legal-links {
    display: flex;
    gap: 20px;
}

.legal-links a {
    color: inherit;
    text-decoration: none;
}

.legal-links a:hover {
    text-decoration: underline;
}

.copyright-text {
    text-align: right;
}

@media (min-width: 768px) {
    .footer-bottom-row {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
    }

    .rera-info {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 992px) {
    .footer-links-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .footer-links-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }

    .footer-branding-row {
        flex-direction: column;
        gap: 20px;
    }

    .footer-bottom-row {
        text-align: center;
        align-items: center;
    }

    .copyright-text {
        text-align: center;
    }
}

/* Latest Blogs Section */
.latest-blogs {
    padding: 6rem 5%;
    background: var(--white);
    border-top: 1px solid var(--border-color);
}

.latest-blogs .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.latest-blogs .section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 1rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.blog-card {
    background: var(--white);
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card-image {
    position: relative;
    width: 100%;
    height: 520px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary);
    color: #fff;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
}

.blog-card-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card-content h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 1rem;
    line-height: 1.3;
    font-weight: 700;
}

.blog-card-content p {
    color: var(--text-dark);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
    flex-grow: 1;
}

.blog-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.blog-date {
    font-size: 0.85rem;
    color: var(--gray-muted);
}

.read-more-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    gap: 8px;
}

.read-more-link svg {
    transition: transform 0.3s ease;
}

.read-more-link:hover svg {
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .latest-blogs {
        padding: 4rem 5%;
    }

    .latest-blogs .section-header h2 {
        font-size: 2rem;
    }

    .blog-card-image {
        height: 240px;
    }
}