*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

/* Enforcing single font family and max font-weight of 500 */
body,
input,
button,
select,
textarea,
h1,
h2,
h3,
h4,
h5,
h6,
.section-header,
.hero-title,
.price-type,
.plan-price-val,
.sidebar-header h5,
.overview-card h4,
.modal-logo-area h4,
.navbar,
.modal {
    font-family: 'DM Sans', sans-serif !important;
    color: var(--charcoal);
    font-weight: 400;
}

h1,
h2,
h3,
h4,
h5,
h6,
.fw-bold,
.fw-semibold {
    font-weight: 500 !important;
}

body {
    padding-top: var(--nav-height);
    background: var(--warm-white);
    -webkit-font-smoothing: antialiased;
}

/* ─── SCROLL REVEAL ANIMATION ─── */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s ease, transform .7s ease;
    will-change: opacity, transform;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: .1s;
}

.reveal-delay-2 {
    transition-delay: .2s;
}

.reveal-delay-3 {
    transition-delay: .35s;
}

.reveal-delay-4 {
    transition-delay: .5s;
}

/* ─── NAVBAR ─────────────────────────────────────── */
.navbar {
    background: rgba(253, 250, 246, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06), 0 4px 24px rgba(0, 0, 0, 0.04);
    height: var(--nav-height);
    transition: all 0.4s ease;
}

.navbar-brand img {
    height: 52px;
    transition: transform 0.3s;
}

.navbar-brand img:hover {
    transform: scale(1.03);
}

@media (min-width: 1280px) {
    .navbar-nav.center-nav {
        margin-left: auto;
        margin-right: auto;
    }
}

.navbar-nav .nav-item {
    margin: 0 1px;
}

.navbar-nav .nav-link {
    font-weight: 500;
    font-size: 0.875rem;
    letter-spacing: 0.02em;
    color: #3A3A3A;
    padding: 10px 14px !important;
    position: relative;
    display: flex;
    align-items: center;
    gap: 7px;
    transition: color 0.3s;
    cursor: pointer;
}

.navbar-nav .nav-link i {
    color: var(--primary);
    font-size: 0.85rem;
    transition: transform 0.3s;
}

.navbar-nav .nav-link:hover i,
.navbar-nav .nav-link.active i {
    transform: translateY(-2px);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1.5px;
    background: var(--secondary);
    transition: width 0.35s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 70%;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary);
}

@keyframes downloadBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(3px);
    }
}

.brochure-icon {
    animation: downloadBounce 1.6s ease-in-out infinite;
    color: var(--secondary) !important;
}

.nav-btn-whatsapp {
    background: #25D366;
    color: white !important;
    border-radius: 10px;    
    padding: 9px 20px !important;
    margin-left: 8px;
    font-weight: 500;
    font-size: 0.875rem;
    letter-spacing: 0.01em;
    border: none;
    box-shadow: 0 3px 12px rgba(37, 211, 102, 0.25);
}

.nav-btn-whatsapp:hover {
    background: #128C7E !important;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35) !important;
    color: white !important;
    transform: translateY(-1px);
}

.navbar-nav .nav-btn-whatsapp::after {
    display: none !important;
}

/* ─── ANIMATED HAMBURGER ICON ────────────────────── */
.animated-icon {
    width: 28px;
    height: 20px;
    position: relative;
    margin: 0;
    cursor: pointer;
}

.animated-icon span {
    display: block;
    position: absolute;
    height: 2.5px;
    width: 100%;
    background: var(--primary, #3A3A3A); 
    border-radius: 9px;
    opacity: 1;
    left: 0;
    /* Uses a cubic-bezier timing function for a highly polished, snappy-yet-smooth feel */
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
}

/* Base Hamburger Lines - Spaced evenly */
.animated-icon span:nth-child(1) { top: 0px; }
.animated-icon span:nth-child(2) { top: 9px; }
.animated-icon span:nth-child(3) { top: 18px; }

/* Open State (Cross) */
/* Top line moves down 9px to the center, then rotates 45 degrees */
.navbar-toggler:not(.collapsed) .animated-icon span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

/* Middle line simply fades out in place */
.navbar-toggler:not(.collapsed) .animated-icon span:nth-child(2) {
    opacity: 0;
}

/* Bottom line moves up 9px to the center, then rotates -45 degrees */
.navbar-toggler:not(.collapsed) .animated-icon span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.navbar-toggler:focus,
.navbar-toggler:active {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

/* Navbar mobile/tablet adjustments */
@media (max-width: 1279px) {
    /* Container setup for absolute positioning */
    .navbar > .container-fluid {
        flex-wrap: wrap !important;
        position: relative; 
    }

    /* Fix Bootstrap's Native Delay */
    .navbar-expand-lg .navbar-collapse {
        display: none !important;
    }
    
    /* Force Bootstrap to skip its native height calculation so the menu appears instantly */
    .navbar-expand-lg .navbar-collapse.collapsing {
        display: block !important;
        height: auto !important;
        transition: none !important;
    }

    .navbar-expand-lg .navbar-toggler {
        display: block !important;
    }
    .navbar-nav.d-none.d-lg-flex {
        display: none !important; /* Hide desktop WhatsApp button */
    }

    .navbar {
        height: auto;
        padding: 12px 0;
    }

    /* The Floating Glassmorphism Menu Container */
    .navbar-collapse {
        position: absolute;
        top: calc(100% + 10px);
        left: 16px;
        right: 16px;
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        padding: 16px 12px;
        border-radius: 20px;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15), 0 1px 3px rgba(0,0,0,0.05);
        border: 1px solid rgba(255, 255, 255, 0.8);
        z-index: 1050;
    }

    /* Trigger animation instantly on BOTH collapsing and show states */
    .navbar-expand-lg .navbar-collapse.collapsing,
    .navbar-expand-lg .navbar-collapse.show {
        display: block !important;
        animation: verticalMenuSlide 0.3s cubic-bezier(0.4, 0.0, 0.2, 1) forwards;
    }

    /* Vertical List Layout */
    .navbar-expand-lg .navbar-nav {
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100% !important;
        gap: 4px; /* Slight spacing between rows */
    }

    /* Luxury Row Styling */
    .navbar-nav .nav-item {
        width: 100%;
        margin: 0;
    }

    .navbar-nav .nav-link {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        padding: 10px 14px !important;
        border-radius: 14px;
        font-size: 0.95rem;
        font-weight: 500;
        color: var(--charcoal);
        background: transparent;
        transition: all 0.3s ease;
        position: relative;
    }

    /* Boxed Icons (App Style) */
    .navbar-nav .nav-link i {
        width: 38px;
        height: 38px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(var(--primary-rgb), 0.08);
        color: var(--primary);
        border-radius: 10px;
        margin-right: 16px;
        font-size: 1.05rem;
        transition: all 0.3s ease;
        flex-shrink: 0;
    }

    /* Hover / Active Interactions */
    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active {
        background: rgba(var(--primary-rgb), 0.04);
        color: var(--primary);
        transform: translateX(4px); /* Smooth subtle nudge to the right */
    }

    /* Make the icon solid green on hover */
    .navbar-nav .nav-link:hover i,
    .navbar-nav .nav-link.active i {
        background: var(--primary);
        color: white !important;
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.25);
    }

    /* Hide the desktop underline effect */
    .navbar-nav .nav-link::after {
        display: none !important;
    }

    /* Menu Slide Animation */
    @keyframes verticalMenuSlide {
        0% { opacity: 0; transform: translateY(-15px); }
        100% { opacity: 1; transform: translateY(0); }
    }
}

/* ─── HERO ───────────────────────────────────────── */
.hero-wrapper {
    position: relative;
    overflow: hidden;
    height: calc(100vh - var(--nav-height));
    min-height: 540px;
}

#heroCarousel,
#heroCarousel .carousel-inner,
#heroCarousel .carousel-item {
    height: 100%;
}

.main-slider-img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.05);
    transition: transform 6s ease-out;
}

#heroCarousel .carousel-item.active .main-slider-img {
    transform: scale(1.0);
}

#heroCarousel .carousel-indicators {
    z-index: 4;
    margin-bottom: 20px;
}

#heroCarousel .carousel-indicators [data-bs-target] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    border: none;
    margin: 0 4px;
    transition: all 0.4s ease;
}

#heroCarousel .carousel-indicators .active {
    background: var(--secondary);
    width: 28px;
    border-radius: 4px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 100%);
    display: flex;
    align-items: center;
    z-index: 2;
}

.hero-text-content {
    color: white;
    padding: 1.5rem 0;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.eyebrow-line {
    width: 32px;
    height: 1.5px;
    background: var(--secondary);
}

.eyebrow-text {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--secondary);
}

.eyebrow-badge {
    background: var(--secondary);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 2px;
}

.hero-subtitle {
    font-size: 1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 28px;
    letter-spacing: 0.03em;
}

.hero-features {
    display: grid;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

/* First pill — gradient + animation */
.hero-feature-pill {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 9px 20px;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border: none;
    position: relative;
    overflow: hidden;
    cursor: default;
    color: #ffffff;
    background: linear-gradient(135deg, #135690, #43b038);
    animation: glowPulse 3s ease-in-out infinite;
}

.hero-feature-pill::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shine 3s ease-in-out infinite;
}

/* Second card — blur bg, no animation */
.hero-feature-card {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 9px 20px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: default;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

@keyframes glowPulse {
    0%, 100% { box-shadow: 0 4px 15px rgba(19, 86, 144, 0.5); }
    50%       { box-shadow: 0 6px 28px rgba(67, 176, 56, 0.6); }
}

@keyframes shine {
    0%        { left: -75%; }
    50%, 100% { left: 125%; }
}

.hero-stats {
    display: flex;
    gap: 0;
    margin-bottom: 32px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(201, 103, 76, 0.3);
    border-radius: 12px;
    overflow: hidden;
    max-width: 475px;
}

.hero-stat {
    flex: 1;
    text-align: center;
    padding: 14px 12px;
    position: relative;
}

.hero-stat+.hero-stat::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(255, 255, 255, 0.15);
}

.hero-stat-num {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 7px;
    letter-spacing: 0.5px;
}

.hero-stat-label {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

.hero-price-row {
    display: flex;
    align-items: flex-end;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.hero-price-from {
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.849);
    margin-bottom: 5px;
}

.hero-price-val {
    font-size: 2.6rem;
    font-weight: 500;
    color: #ffffff;
    line-height: 1;
}

.hero-price-val span {
    font-size: 0.8rem;
    font-weight: 500;
    color: #ffffff;
    line-height: 1;
}

.price-val span {
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1;
}

.btn-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--secondary);
    color: #ffffff;
    font-weight: 500;
    font-size: 0.875rem;
    letter-spacing: 0.04em;
    padding: 14px 30px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-hero-cta:hover {
    opacity: 0.9;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201, 103, 76, 0.4);
}

.hero-rera {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 18px;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 0.06em;
}

.hero-rera i {
    color: rgba(201, 103, 76, 0.6);
}

@media (max-width: 768px) {
    .hero-wrapper {
        height: calc(100vh - 70px);
        min-height: 680px;
    }

    .hero-text-content {
        padding-top: 1rem;
        padding-bottom: 3rem;
    }

    .hero-eyebrow {
        flex-wrap: wrap;
        gap: 6px;
        margin-bottom: 12px;
    }

    .eyebrow-text {
        font-size: 0.65rem;
    }

    .eyebrow-badge {
        font-size: 0.6rem;
        padding: 3px 8px;
    }

    .hero-price-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        margin-bottom: 10px;
    }

    #heroCarousel .carousel-indicators {
        bottom: 0;
        margin-bottom: 15px;
    }

    .hero-stat-num {
        font-size: 1rem;
    }

/*     
    .hero-stats {
        display: grid;
        grid-template-columns: repeat(2, 1.2fr);
    } */
}

/* ─── SIDEBAR ────────────────────────────────────── */
.sidebar-col {
    background: var(--cream);
    border-left: 1px solid rgba(0, 0, 0, 0.07) !important;
}

.sidebar-sticky {
    position: sticky;
    top: 85px;
    height: calc(100vh - 85px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.sidebar-container {
    padding: 10px 18px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.sidebar-form-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 16px;
}

.sidebar-header {
    background: var(--charcoal);
    padding: 16px 20px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.sidebar-header::before {
    content: '';
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 80px;
    height: 80px;
    background: rgba(201, 103, 76, 0.12);
    border-radius: 50%;
}

.sidebar-header h5 {
    font-size: 1.15rem;
    font-weight: 500;
    margin-bottom: 2px;
    position: relative;
    color: white !important;
}

.sidebar-header small {
    font-size: 0.72rem;
    opacity: 0.8;
    letter-spacing: 0.04em;
    position: relative;
}

.sidebar-header .gold-accent {
    display: block;
    width: 30px;
    height: 2px;
    background: var(--secondary);
    margin: 8px auto 0;
    border-radius: 1px;
}

.sidebar-body {
    padding: 14px;
}

.compact-input {
    border: 1.5px solid #E0E8F0;
    border-radius: 8px;
    background: #fafafa;
    font-size: 0.8rem;
    padding: 7px 11px;
    height: auto;
    margin-bottom: 8px;
    color: var(--charcoal);
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
 
.compact-input:focus {
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(19, 86, 144, 0.09);
    outline: none;
}
 
.compact-input::placeholder {
    color: #aab4bf;
    font-size: 0.8rem;
}

.sidebar-header {
    padding: 12px 16px !important;
}
 
.sidebar-header h5 {
    font-size: 1rem !important;
    margin-bottom: 1px;
}
 
.sidebar-header small {
    font-size: 0.68rem;
}
 
.sidebar-body {
    padding: 10px 12px !important;
}

.sidebar-btn-main {
    padding: 9px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    border-radius: 10px !important;
}

.btn-primary-green {
    background: var(--charcoal);
    color: white !important;
    border: 1.5px solid var(--primary);
    transition: all 0.3s ease;
}

.btn-primary-green:hover {
    background: var(--cream);
    color: var(--charcoal) !important;
    border-color: var(--charcoal);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 103, 76, 0.35);
}

.btn-primary-green:focus,
.btn-primary-green:focus-visible,
.btn-primary-green:active {
    background: var(--primary) !important;
    color: white !important;
    border-color: var(--primary) !important;
    outline: none; 
}

/* Ensure the button retains its colors when disabled */
.btn-primary-green:disabled,
.btn-primary-green[disabled] {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    opacity: 0.6 !important;
    cursor: not-allowed !important;
}

.cab-box {
    background: white;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 10px 12px; /* Reduced vertical padding slightly to save space */
    margin-top: auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.cab-box i {
    color: var(--secondary);
    font-size: 1.1rem; /* Adjusts icon size to match text cleanly */
}

.cab-box p {
    font-size: 1rem;
    font-weight: 500;
    color: var(--primary);
    margin: 0; 
}

/* ─── SECTIONS ───────────────────────────────────── */
.section-padding {
    padding: 55px 9px;
}

.section-header {
    font-size: 2rem;
    font-weight: 500;
    color: var(--primary);
    line-height: 1.1;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

.section-header::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: var(--secondary);
    margin-top: 10px;
    border-radius: 2px;
}

/* ─── OVERVIEW ───────────────────────────────────── */
.overview-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

@media (max-width: 768px) {
    .overview-card {
        padding: 25px;
    }
}

@media (max-width: 640px) {
    .overview-card {
        padding: 20px;
    }

    .eyebrow-text {
        font-size: 0.75rem;
    }

    .eyebrow-badge {
        font-size: 0.65rem;
    }

    .hero-feature-pill {
        font-size: 0.7rem;
    }

    .hero-feature-card {
        font-size: 0.7rem;
    }

    .hero-price-from {
        font-size: 0.75rem;
    }
}

.overview-card h4 {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 16px;
}

.overview-card p {
    color: var(--mid-gray);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* ─── PRICING ────────────────────────────────────── */
.price-card {
    background: white;
    border-radius: 16px;
    padding: 28px 20px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.07);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
    transition: all 0.35s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.price-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.price-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(var(--primary-rgb), 0.12);
    border-color: rgba(var(--primary-rgb), 0.15);
}

.price-card:hover::before {
    transform: scaleX(1);
}

.price-type {
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 4px;
}

.price-area {
    font-size: 0.9rem;
    color: var(--mid-gray);
    margin-bottom: 18px;
    letter-spacing: 0.03em;
}

.price-divider {
    width: 36px;
    height: 2px;
    background: var(--secondary);
    margin: 0 auto 18px;
    border-radius: 1px;
}

.price-val {
    font-size: 1.65rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 20px;
}

.btn-price {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 9px 22px;
    border-radius: 7px;
    border: 1.5px solid var(--charcoal);
    background: transparent;
    color: var(--charcoal);
    cursor: pointer;
    transition: all 0.3s;
}

.btn-price:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* ─── FLOOR PLANS ────────────────────────────────── */
.master-plan-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.master-plan-card .card-title {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--primary);
    padding: 20px 24px 16px;
}

.plan-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.07);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.05);
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(var(--primary-rgb), 0.13);
    border-color: rgba(var(--primary-rgb), 0.18);
}

.plan-img-wrap {
    position: relative;
    overflow: hidden;
    height: 350px;
    flex-shrink: 0;
    background: #fdfdfd;
}

.plan-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.plan-info-row {
    padding: 16px;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: space-between;
    gap: 12px;
    background: white;
    border-top: 1px solid rgba(0, 0, 0, 0.03);
}

.plan-bhk-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: var(--primary);
    color: white;
    padding: 0 16px;
    border-radius: 8px;
    flex-shrink: 0;
}

.plan-bhk-num {
    font-size: 1.3rem;
    font-weight: 500;
    color: white;
    line-height: 1;
}

.plan-bhk-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 1px;
}

.btn-plan-enquire {
    background: var(--secondary);
    color: white;
    border: none;
    flex: 1;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    cursor: pointer;
}

.btn-plan-enquire:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.15);
}

/* ─── AMENITIES ──────────────────────────────────── */
.amenity-box {
    text-align: center;
    padding: 28px 16px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    background: white;
    transition: all 0.3s ease;
    height: 100%;
}

.amenity-box:hover {
    transform: translateY(-5px);
    border-color: rgba(var(--primary-rgb), 0.25);
    box-shadow: 0 12px 28px rgba(var(--primary-rgb), 0.1);
}

.amenity-icon-wrap {
    width: 54px;
    height: 54px;
    background: rgba(var(--primary-rgb), 0.05);
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.amenity-icon-wrap i {
    color: var(--primary);
    transition: color 0.3s ease;
}

.amenity-box:hover .amenity-icon-wrap {
    background: var(--secondary);
}

.amenity-box:hover .amenity-icon-wrap i {
    color: white !important;
}

.amenity-box p {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--charcoal);
    margin-bottom: 0;
}

/* ─── GALLERY ──────────── */
.gallery-slider-wrap {
    position: relative;
    overflow: visible;
    user-select: none;
}

.gallery-track-outer {
    overflow: hidden;
    border-radius: 16px;
}

.gallery-track {
    display: flex;
    will-change: transform;
    gap: 12px;
}

.gallery-slide {
    flex-shrink: 0;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-slide-inner {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.1);
}

.gallery-slide-inner img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

@media (max-width: 768px) {
    .gallery-slide-inner img {
        height: 220px;
    }
}

.gallery-slide-inner:hover img {
    transform: scale(1.04);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(var(--primary-rgb), 0.55);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.gallery-slide-inner:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay-icon {
    width: 64px;
    height: 64px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.4rem;
    transform: scale(0.7);
    transition: transform 0.35s ease;
    pointer-events: none;
}

.gallery-slide-inner:hover .gallery-overlay-icon {
    transform: scale(1);
}

.gallery-bottom-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 20px;
}

.gallery-arrow-flat {
    width: 52px;
    height: 52px;
    background: white;
    border: 2px solid rgba(var(--primary-rgb), 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.gallery-arrow-flat:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(var(--primary-rgb), 0.25);
}

.gallery-arrow-flat:active {
    transform: scale(0.95);
}

/* ─── VIRTUAL TOUR ───────────────────────────────── */
.tour-card {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
    cursor: pointer;
}

@media (max-width: 768px) {
    .tour-card {
        height: 200px;
    }

    .tour-card img {
        height: 100%;
        object-fit: cover;
    }
}

.tour-card img {
    width: 100%;
    display: block;
    transition: transform 0.7s ease;
}

.tour-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.7), rgba(0, 0, 0, 0.5));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.tour-card:hover .tour-overlay {
    opacity: 1;
}

.tour-card:hover img {
    transform: scale(1.04);
}

.tour-play-btn {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    padding-left: 6px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transform: scale(0.8);
    transition: transform 0.35s ease;
}

.tour-card:hover .tour-play-btn {
    transform: scale(1);
}

/* ─── LOCATION & CONNECTIVITY ────────────────────── */
.location-unified-card {
    background: white;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

/* Map styling - fixed height, sticky so it stays when accordion expands */
.location-map-inner {
    border-radius: 16px;
    overflow: hidden;
    height: 520px;
    position: sticky;
    top: 100px;
}

@media (max-width: 1279px) {
    .location-map-inner {
        height: 350px;
        margin-bottom: 24px;
        position: relative;
        top: 0;
    }
    /* Override Bootstrap grid to stack location map and accordion */
    .col-lg-7, .col-lg-5 {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}

.connectivity-container {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    border: none;
}

.connectivity-container h4 {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--primary);
    padding: 0 10px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
    margin: 0;
}

/* Native Accordion Overrides for Connectivity */
.accordion-item.conn-accordion-item {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 0;
}

.accordion-item.conn-accordion-item:last-child {
    border-bottom: none;
}

.accordion-button.conn-accordion-btn {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 10px;
    height: 60px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.accordion-button.conn-accordion-btn:hover {
    background: rgba(var(--primary-rgb), 0.02) !important;
}

/* Hide Bootstrap's default chevron */
.accordion-button.conn-accordion-btn::after {
    display: none;
}

.conn-cat-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(var(--primary-rgb), 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s;
}

.conn-cat-icon i {
    font-size: 0.95rem;
    color: var(--primary);
    transition: color 0.3s;
}

.conn-cat-label {
    flex: 1;
    font-size: 0.93rem;
    font-weight: 500;
    color: var(--charcoal);
}

.conn-toggle-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(var(--primary-rgb), 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 500;
    flex-shrink: 0;
    transition: all 0.3s;
}

/* Icon States when Open/Closed */
.conn-accordion-btn:not(.collapsed) .conn-cat-icon {
    background: var(--primary);
}

.conn-accordion-btn:not(.collapsed) .conn-cat-icon i {
    color: white !important;
}

.conn-accordion-btn:not(.collapsed) .conn-toggle-icon {
    background: var(--secondary);
    color: white;
}

.conn-accordion-btn:not(.collapsed) .icon-plus {
    display: none !important;
}

.conn-accordion-btn.collapsed .icon-minus {
    display: none !important;
}

.accordion-body.conn-accordion-body {
    padding: 0;
}

.conn-items-list {
    padding: 6px 10px 14px 60px;
}

.conn-item-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 0;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.07);
}

.conn-item-row:last-child {
    border-bottom: none;
}

.conn-dot-sm {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--secondary);
    flex-shrink: 0;
}

.conn-item-name {
    flex: 1;
    font-size: 0.86rem;
    color: var(--charcoal);
    font-weight: 500;
}

.conn-item-dist {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--primary);
    background: rgba(var(--primary-rgb), 0.07);
    padding: 3px 10px;
    border-radius: 100px;
}

/* ─── FOOTER ─────────────────────────────────────── */
footer {
    background: var(--charcoal);
    color: rgba(255, 255, 255, 0.7);
}

footer a {
    color: rgba(255, 255, 255, 0.85) !important;
    transition: color 0.2s;
}

footer a:hover {
    color: var(--secondary) !important;
}

/* ─── MODAL ──────────────────────────────────────── */
.modal-content {
    border: none !important;
    border-radius: 20px !important;
    overflow: hidden;
    max-width: 400px;
}

.modal-top-accent {
    height: 5px;
    background: var(--primary);
}

.modal-logo-area {
    text-align: center;
    padding: 24px 24px 12px;
}

.modal-logo-area h4 {
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--primary);
}

.modal-logo-area p {
    font-size: 0.85rem;
    color: var(--mid-gray);
}

.btn-gradient {
    background: transparent;
    color: var(--charcoal);
    border: 1.5px solid var(--primary);
    font-weight: 500;
    transition: all 0.3s;
    font-size: 1.2rem;
}

.btn-gradient:hover {
    opacity: 0.9;
    color: white !important;
    background: var(--primary);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.3);
}

.btn-gradient:focus,
.btn-gradient:focus-visible,
.btn-gradient:active {
    background: transparent !important;
    color: var(--charcoal) !important;
    border-color: var(--primary) !important;
    outline: none;
    /* Adds a subtle focus ring for accessibility */
    box-shadow: 0 0 0 0.25rem rgba(201, 103, 76, 0.25) !important; 
}

.btn-outline-forest {
    border: 1.5px solid var(--primary);
    color: var(--primary);
    font-weight: 500;
    font-size: 0.95rem;
    background: transparent;
    transition: all 0.3s;
}

.btn-outline-forest:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.btn-outline-forest:focus,
.btn-outline-forest:focus-visible,
.btn-outline-forest:active {
    background: transparent !important;
    color: var(--primary) !important;
    border-color: var(--primary) !important;
    outline: none;
    /* Adds a subtle focus ring for accessibility */
    box-shadow: 0 0 0 0.25rem rgba(201, 103, 76, 0.25) !important; 
}

/* ─── MOBILE NAV ─────────────────────────────────── */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    z-index: 1050;
    box-shadow: 0 -3px 20px rgba(0, 0, 0, 0.2);
    display: none;
    padding: 0;
}

.mobile-bottom-nav .btn {
    border-radius: 0 !important;
    border: none;
    padding: 14px 0;
    font-size: 0.95rem;
}

@media (max-width: 1279px) {
    .mobile-bottom-nav {
        display: flex;
        gap: 0;
    }
    .sidebar-col {
        display: none !important;
    }
    /* Override Bootstrap grid to make the main container full width */
    .col-lg-9 {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
    .section-padding {
        padding: 44px 6px;
    }
    body {
        padding-bottom: 50px;
    }
}

.bg-cream {
    background: var(--cream);
}

/* ─── CUSTOM LIGHTBOX ────────────────────────────── */
#customLightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(var(--primary-rgb), 0);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease, background 0.4s ease;
}

#customLightbox.active {
    opacity: 1;
    pointer-events: all;
    background: rgba(var(--primary-rgb), 0.93);
}

#customLightbox .lb-backdrop {
    position: absolute;
    inset: 0;
    cursor: zoom-out;
}

#customLightbox .lb-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

#customLightbox .lb-stage {
    display: flex;
    align-items: center;
    gap: 16px;
}

#customLightbox .lb-img-wrap {
    position: relative;
    border-radius: 12px;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5);
    transform: scale(0.85) translateY(20px);
    opacity: 0;
    transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
}

#customLightbox.active .lb-img-wrap {
    transform: scale(1) translateY(0);
    opacity: 1;
}

#customLightbox .lb-img-wrap img {
    display: block;
    max-width: 78vw;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 12px;
}

#customLightbox .lb-close {
    position: absolute;
    top: -14px;
    right: -14px;
    width: 36px;
    height: 36px;
    background: white;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--primary);
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    transition: all 0.25s;
    z-index: 10;
}

#customLightbox .lb-close:hover {
    background: var(--secondary);
    color: white;
    transform: scale(1.1);
}

#customLightbox .lb-nav {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.14);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.25s;
    z-index: 2;
}

#customLightbox .lb-nav:hover {
    background: var(--secondary);
    border-color: var(--secondary);
}

@media (max-width: 600px) {
    #customLightbox .lb-stage {
        position: relative;
        width: 100%;
        justify-content: center;
        gap: 0;
    }

    #customLightbox .lb-img-wrap img {
        max-width: 95vw;
        max-height: 75vh;
    }

    /* Overlay the navigation buttons on top of the image edges */
    #customLightbox .lb-nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 38px;
        height: 38px;
        font-size: 0.85rem;
        z-index: 10;
    }

    #customLightbox .lb-prev {
        left: 5px;
    }

    #customLightbox .lb-next {
        right: 5px;
    }

    /* Pull the close button inward so it doesn't overflow the screen */
    #customLightbox .lb-close {
        top: 5px;
        right: 5px;
    }
}

#customLightbox .lb-caption {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.06em;
}

.lightbox-trigger {
    cursor: zoom-in;
    display: block;
}

.lightbox-trigger img {
    transition: transform 0.4s ease;
}

.lightbox-trigger:hover img {
    transform: scale(1.02);
}
