/* Cocoa County — Sector 88A Gurugram | Dark Luxury Cocoa & Gold Theme */

:root {
    /* Base Warm Luxury Cocoa Palette — 20-25% Lightened for Soft Luxury & Crisp Contrast */
    --bg-base: #241a13;
    --bg-surface: #2d2119;
    --bg-card: #35281f;
    --bg-card-hover: #413227;
    --bg-elevated: #3c2d23;
    --primary-color: #ffffff;
    --primary-dark: #1b120c;
    --secondary-color: #35281f;
    --brand: #d4a373;
    --cocoa-dark: #241a13;
    --cocoa-medium: #2f221a;
    
    /* Warm Brushed Champagne Gold */
    --gold: #d4a373;
    --gold-light: #f5dfc6;
    --gold-dark: #b5824e;
    --accent-color: #d4a373;
    --accent-line: rgba(212, 163, 115, 0.35);
    --gold-glow: rgba(212, 163, 115, 0.25);
    
    /* Backgrounds & Text */
    --light-bg: #2d2119;
    --cream: #241a13;
    --white: #35281f;
    --text-dark: #ffffff;
    --text-body: #efe4db;
    --text-light: #c2b2a4;
    --border-color: rgba(212, 163, 115, 0.28);
    
    --font-heading: 'Outfit', system-ui, sans-serif;
    --font-body: 'DM Sans', system-ui, sans-serif;
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.25);
    --shadow-luxury: 0 12px 45px rgba(0, 0, 0, 0.4);
    --radius-card: 16px;
    --radius-lg: 22px;
    --surface-glass: rgba(45, 33, 25, 0.88);
    --stroke-glass: rgba(212, 163, 115, 0.3);
    --glow-brand: 0 20px 50px -12px rgba(212, 163, 115, 0.3);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden !important;
    max-width: 100vw !important;
    width: 100% !important;
    position: relative;
    touch-action: pan-y;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--text-body);
    overflow-x: hidden !important;
    max-width: 100vw !important;
    width: 100% !important;
    background: var(--bg-base);
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    letter-spacing: 0.01em;
    touch-action: pan-y;
}

/* Ensure no element or container can leak past the mobile viewport width */
main,
section,
footer,
header,
.hero-split-section,
.section-padding {
    max-width: 100% !important;
    overflow-x: clip;
}

.container,
.container-fluid,
.container-sm,
.container-md,
.container-lg,
.container-xl,
.container-xxl {
    max-width: 100% !important;
    overflow-x: clip;
}

/* Prevent text, badges, and long registration strings from overflowing screen */
p, span, h1, h2, h3, h4, h5, h6, a, li, div {
    overflow-wrap: break-word;
    word-break: break-word;
}

.badge {
    white-space: normal !important;
    max-width: 100% !important;
    word-break: break-word;
    text-align: left;
}

img, svg, video, iframe {
    max-width: 100% !important;
}

/* Warm cocoa ambient mesh + gold lighting */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        radial-gradient(ellipse 85% 55% at 8% -5%, rgba(212, 163, 115, 0.12), transparent 52%),
        radial-gradient(ellipse 70% 45% at 100% 15%, rgba(181, 130, 78, 0.08), transparent 48%),
        radial-gradient(ellipse 55% 40% at 50% 100%, rgba(212, 163, 115, 0.1), transparent 50%),
        linear-gradient(rgba(212, 163, 115, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212, 163, 115, 0.02) 1px, transparent 1px);
    background-size: auto, auto, auto, 56px 56px, 56px 56px;
    opacity: 1;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.28;
    color: var(--text-dark);
    letter-spacing: 0.02em;
}

.blur-image {
    filter: blur(0);
    transition: transform 0.4s ease, filter 0.3s ease;
}

/* Navigation — dark luxury cocoa bar */
.navbar,
.navbar-re {
    background: rgba(36, 26, 19, 0.95) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(212, 163, 115, 0.28);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.35);
    transition: var(--transition);
    z-index: 1030;
}

.navbar-brand img {
    height: 46px;
    width: auto;
    max-width: min(230px, 55vw);
    object-fit: contain;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 3px;
    flex-wrap: nowrap;
}

.navbar-nav .nav-item {
    flex-shrink: 0;
}

.navbar-nav .nav-link {
    color: #efe4db !important;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.78rem;
    letter-spacing: 0.035em;
    text-transform: uppercase;
    white-space: nowrap !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
    margin: 0;
    padding: 0.45rem 0.48rem !important;
    position: relative;
    transition: var(--transition);
}

@media (min-width: 1400px) {
    .navbar-nav {
        gap: 6px;
    }
    .navbar-nav .nav-link {
        font-size: 0.8125rem;
        letter-spacing: 0.05em;
        padding: 0.5rem 0.62rem !important;
    }
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    border-radius: 2px;
    transition: var(--transition);
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover {
    color: var(--gold-light) !important;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

@media (max-width: 1199.98px) {
    .navbar-collapse {
        background: rgba(36, 26, 19, 0.98);
        border: 1px solid rgba(212, 163, 115, 0.25);
        border-radius: 14px;
        padding: 1.2rem 1.4rem;
        margin-top: 0.85rem;
        box-shadow: 0 12px 35px rgba(0, 0, 0, 0.55);
    }
    .navbar-nav {
        flex-direction: column;
        align-items: flex-start !important;
        width: 100%;
        gap: 0;
        flex-wrap: wrap;
    }
    .navbar-nav .nav-item {
        width: 100%;
    }
    .navbar-nav .nav-link {
        display: block;
        width: 100%;
        padding: 0.7rem 0.5rem !important;
        font-size: 0.875rem;
        border-bottom: 1px solid rgba(212, 163, 115, 0.1);
    }
    .navbar-nav .nav-item:last-child .nav-link {
        border-bottom: none;
    }
}

.navbar-contact .btn {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.navbar-contact .btn:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

/* Hero — modern listing hero */
/* Hero Split Section — 2-Column Luxury Presentation */
.hero-split-section {
    position: relative;
    z-index: 1;
    padding-top: 105px;
    padding-bottom: 60px;
    min-height: calc(100vh - 40px);
    display: flex;
    align-items: center;
    background: radial-gradient(ellipse 80% 60% at 25% 45%, rgba(65, 47, 36, 0.65) 0%, #241a13 100%);
    border-bottom: 1px solid rgba(212, 163, 115, 0.28);
    overflow: hidden;
}

.hero-split-text {
    padding-right: 1.25rem;
}

.hero-split-title {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 4.4vw, 3.8rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: #ffffff;
    margin-bottom: 0.4rem;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
}

.hero-split-subtitle {
    font-family: var(--font-heading);
    font-size: clamp(1.15rem, 2vw, 1.65rem);
    font-weight: 600;
    color: var(--gold);
    line-height: 1.35;
    margin-bottom: 1.15rem;
}

.hero-split-desc {
    color: #e4d7cc;
    font-size: 1.02rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    max-width: 580px;
}

.hero-pill-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.75rem;
    max-width: 560px;
}

.hero-pill-card {
    background: rgba(53, 40, 31, 0.94);
    border: 1px solid rgba(212, 163, 115, 0.28);
    border-radius: 12px;
    padding: 0.75rem 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: var(--transition);
}

.hero-pill-card:hover {
    border-color: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 163, 115, 0.22);
}

.hero-pill-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, #463428, #2e2119);
    border: 1px solid rgba(212, 163, 115, 0.35);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.hero-pill-text {
    line-height: 1.3;
}

.hero-pill-text .label {
    font-size: 0.7rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.hero-pill-text .value {
    font-size: 0.88rem;
    color: #ffffff;
    font-weight: 700;
}

/* Image Showcase Column */
.hero-image-wrap {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.55),
        0 0 45px rgba(212, 163, 115, 0.18);
    border: 1.5px solid rgba(212, 163, 115, 0.35);
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
    background: #2b2019;
}

.hero-image-wrap:hover {
    border-color: var(--gold);
    box-shadow:
        0 30px 75px rgba(0, 0, 0, 0.65),
        0 0 60px rgba(212, 163, 115, 0.28);
}

.hero-showcase-img {
    width: 100%;
    height: 100%;
    min-height: 480px;
    max-height: 600px;
    object-fit: cover;
    object-position: center 30%;
    display: block;
    transition: transform 0.5s ease;
}

.hero-image-wrap:hover .hero-showcase-img {
    transform: scale(1.02);
}

.hero-img-badge {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    background: rgba(43, 32, 25, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 163, 115, 0.38);
    color: var(--gold-light);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    z-index: 2;
}

.hero-img-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.75rem 1.5rem 1.25rem;
    background: linear-gradient(180deg, transparent 0%, rgba(13, 7, 4, 0.95) 85%);
    z-index: 2;
}

.hero-img-footer h5 {
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.hero-img-footer p {
    color: rgba(228, 215, 204, 0.85);
    font-size: 0.88rem;
    margin: 0;
    line-height: 1.45;
}

@media (max-width: 991px) {
    .hero-split-section {
        padding-top: 95px;
        padding-bottom: 50px;
        min-height: auto;
    }
    .hero-split-text {
        padding-right: 0;
        margin-bottom: 2rem;
        text-align: center;
    }
    .hero-split-desc {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-pill-grid {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-cta-wrap {
        justify-content: center;
    }
    .hero-showcase-img {
        min-height: 380px;
        max-height: 480px;
    }
}

@media (max-width: 575px) {
    .hero-pill-grid {
        grid-template-columns: 1fr;
    }
}

.btn-hero-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.6);
    padding: 0.75rem 1.75rem;
    border-radius: 6px;
    font-weight: 600;
    letter-spacing: 0.04em;
    transition: var(--transition);
}

.btn-hero-outline:hover {
    color: #120a06;
    background: var(--gold);
    border-color: var(--gold);
}

/* Scroll indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    animation: scrollBounce 2.5s ease-in-out infinite;
}

.hero-scroll-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 12px rgba(196, 163, 90, 0.5);
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* Carousel indicators — premium */
.hero-indicators {
    bottom: 4.5rem;
}

.hero-indicators [data-bs-target] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    transition: var(--transition);
}

.hero-indicators [data-bs-target].active {
    background: var(--gold);
    box-shadow: 0 0 12px rgba(196, 163, 90, 0.55);
}

.carousel-control-prev,
.carousel-control-next {
    width: 4%;
    max-width: 48px;
    opacity: 0.85;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: brightness(0) invert(1);
    opacity: 0.9;
    width: 1.5rem;
    height: 1.5rem;
}

/* Legacy hero classes for compatibility */
.carousel-caption h1 { font-family: var(--font-heading); }
.carousel-caption .lead { font-size: 1rem; }
.rera-text { font-size: 1rem; color: var(--gold-light); }
.possession-text { font-size: 1rem; opacity: 0.9; }
.price-text { font-family: var(--font-heading); font-size: clamp(1.1rem, 1.8vw, 1.4rem); font-weight: 600; color: var(--gold-light); }
.carousel-caption h3 { font-family: var(--font-heading); }

/* Contact Modal */
.contact-modal {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    width: 400px;
}

.contact-form-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-luxury);
    border: 1px solid var(--border-color);
}

.contact-form-card h3,
.contact-form-card h4 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 600;
}

/* Section Styles — Premium Dark Cocoa */
.section-padding {
    padding: 3.5rem 0;
    position: relative;
    z-index: 1;
    background: var(--bg-base);
}

.section-padding.bg-light {
    background: var(--bg-surface) !important;
}

.section-padding:not(.bg-light) {
    background: var(--bg-base);
}

.section-padding .lead {
    font-size: 0.98rem;
    color: var(--text-body);
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    letter-spacing: 0.015em;
    font-weight: 400;
}

.section-title {
    font-family: var(--font-heading);
    color: #fdfbf8 !important;
    font-size: clamp(1.45rem, 2.6vw, 1.95rem);
    font-weight: 700;
    letter-spacing: 0.03em;
    line-height: 1.25;
    margin-bottom: 0.35rem;
}

.section-subtitle {
    font-family: var(--font-body);
    color: var(--gold) !important;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 1.85rem;
    position: relative;
    display: inline-block;
}

.section-subtitle::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 44px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    border-radius: 1px;
}

/* Amenities Dropdown Toggle & Items */
.btn-amenities-toggle,
.btn-amenities-dropdown {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    padding: 0.9rem 2.2rem;
    background: linear-gradient(135deg, #2c1a10 0%, #170d07 100%);
    color: #ffffff !important;
    border: 1.5px solid var(--gold);
    border-radius: 999px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.98rem;
    letter-spacing: 0.03em;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
}

.btn-amenities-toggle:hover,
.btn-amenities-dropdown:hover {
    background: linear-gradient(135deg, #3d2416 0%, #24130a 100%);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(212, 163, 115, 0.35);
    border-color: var(--gold-light);
}

.dropdown-chevron-icon,
.toggle-chevron {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(212, 163, 115, 0.25);
    color: var(--gold-light);
    font-size: 0.85rem;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s ease;
}

.btn-amenities-toggle[aria-expanded="true"] .dropdown-chevron-icon,
.btn-amenities-dropdown[aria-expanded="true"] .toggle-chevron {
    transform: rotate(180deg);
    background: var(--gold);
    color: #120a06;
}

.amenity-dropdown-item {
    background: var(--bg-card);
    padding: 0.7rem 0.9rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    height: 100%;
}

.amenity-dropdown-item:hover {
    border-color: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(212, 163, 115, 0.2);
}

.amenity-dropdown-item i {
    color: var(--gold);
    font-size: 1.05rem;
    width: 26px;
    text-align: center;
    flex-shrink: 0;
}

.amenity-dropdown-item span {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--text-dark);
    line-height: 1.3;
}

/* Highlights — editorial header + bento cards */
.section-highlights {
    position: relative;
    overflow: hidden;
}

.section-highlights.section-padding:not(.bg-light) {
    background: var(--bg-base) !important;
}

.section-highlights .container {
    position: relative;
    z-index: 1;
}

.section-highlights__title {
    font-size: clamp(1.75rem, 3.2vw, 2.35rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #fdfbf8;
    background: linear-gradient(125deg, #ffffff 0%, #f3d7bc 50%, #d4a373 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

@supports (background-clip: text) or (-webkit-background-clip: text) {
    .section-highlights__title {
        color: transparent;
        -webkit-text-fill-color: transparent;
    }
}

.section-highlights .section-subtitle.highlights-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 0.25rem;
    max-width: 100%;
}

.section-highlights .section-subtitle.highlights-kicker::before {
    content: "";
    width: min(72px, 14vw);
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold));
    border-radius: 2px;
}

.section-highlights .section-subtitle.highlights-kicker::after {
    position: static;
    transform: none;
    left: auto;
    bottom: auto;
    width: min(72px, 14vw);
    height: 2px;
    background: linear-gradient(90deg, var(--gold), transparent);
    border-radius: 2px;
}

.highlights-grid {
    --bs-gutter-y: 1.35rem;
}

.highlight-card {
    position: relative;
    background: var(--bg-card);
    padding: 1.85rem 1.35rem 1.75rem;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.25s ease;
    height: 100%;
    overflow: hidden;
}

.highlight-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light));
    opacity: 0.98;
}

.highlight-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(212, 163, 115, 0.25);
    border-color: var(--gold);
}

.highlight-card i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin: 0 auto 1.1rem;
    font-size: 1.35rem;
    color: var(--gold-light);
    border-radius: 16px;
    background: linear-gradient(145deg, #2b1d14 0%, #150d08 100%);
    border: 1px solid rgba(212, 163, 115, 0.3);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45);
}

.highlight-card h5 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    font-size: 1.02rem;
    font-weight: 600;
    line-height: 1.35;
    margin: 0;
}

/* Price Cards */
.price-card {
    background: var(--bg-card);
    padding: 2.25rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.price-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-luxury);
    border-color: var(--gold);
}

.price-card h4 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.price-card .size {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.price-card .price {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

/* Amenity Cards */
.amenity-card {
    background: var(--bg-card);
    padding: 2rem 1rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.amenity-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-luxury);
    border-color: var(--gold);
}

.amenity-card i {
    font-size: 2.25rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.amenity-card h6 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    font-size: 1.05rem;
    font-weight: 600;
}

/* Compact Amenity Card inside Dropdown Accordion */
#amenitiesCollapse .amenity-card {
    padding: 1.1rem 0.85rem;
    border-radius: 12px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #24170e;
    border: 1px solid var(--border-color);
}

#amenitiesCollapse .amenity-card:hover {
    background: #2f1e13;
    border-color: var(--gold);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(212, 163, 115, 0.2);
}

#amenitiesCollapse .amenity-card i {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--gold);
}

#amenitiesCollapse .amenity-card h6 {
    font-size: 0.9rem;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.3;
}

/* Master Site Plan Wrap — Big & Prominent */
.master-plan-wrap {
    background: var(--bg-card) !important;
    border: 1.5px solid var(--border-color) !important;
    border-radius: 20px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5) !important;
}

.master-plan-img-container {
    background: #140d08 !important;
    border: 1px solid rgba(212, 163, 115, 0.25);
    border-radius: 14px;
    padding: 8px;
}

.master-plan-img {
    max-height: 720px;
    width: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.master-plan-wrap:hover .master-plan-img {
    transform: scale(1.01);
}

/* Floor Plan — four cards (reference layout) */
.floor-plan-row {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.floor-plan-card--reference {
    background: var(--bg-card);
    padding: 1.25rem 1rem 1.5rem;
    border-radius: var(--radius-card);
    text-align: center;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.floor-plan-card--reference:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-luxury);
    border-color: var(--gold);
}

.floor-plan-thumb {
    width: 100%;
    height: 220px;
    object-fit: contain;
    background: #fdfbf8;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 1rem;
    padding: 6px;
    cursor: pointer;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.floor-plan-card--reference:hover .floor-plan-thumb {
    transform: scale(1.02);
    border-color: var(--gold);
}

@media (min-width: 992px) {
    .floor-plan-thumb {
        height: 240px;
    }
}

.floor-plan-card-title {
    font-family: var(--font-heading);
    color: var(--text-dark);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.floor-plan-view-btn {
    background: transparent;
    color: var(--gold-dark);
    border: 1px solid var(--gold);
    border-radius: 4px;
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    transition: var(--transition);
    margin-top: auto;
}

.floor-plan-view-btn:hover {
    background: rgba(201, 169, 98, 0.12);
    color: var(--primary-dark);
    border-color: var(--gold-dark);
}

.floor-plan-view-btn:focus-visible {
    box-shadow: 0 0 0 0.2rem rgba(201, 169, 98, 0.35);
}

/* Location Section — Premium */
.location-map {
    margin-bottom: 3rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.location-row-horizontal {
    display: flex;
    flex-wrap: wrap;
}
.location-item {
    display: flex;
    align-items: center;
    flex-direction: row;
    background: var(--bg-card);
    padding: 1rem 1.25rem;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-color);
    margin-bottom: 0;
    height: 100%;
    transition: var(--transition);
}

.location-item:hover {
    border-color: var(--gold);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(212, 163, 115, 0.22);
}

.location-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: #120a06;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    margin-right: 1.25rem;
    flex-shrink: 0;
}

.location-text h6 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    font-weight: 600;
    margin: 0;
    font-size: 1.05rem;
}

/* Gallery — Luxury */
/* Gallery — Slideshow (big photos + animation) */
.gallery-slideshow {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-luxury);
    border: 1px solid var(--border-color);
    background: var(--primary-dark);
}

.gallery-carousel-inner {
    border-radius: 12px;
}

.gallery-slideshow .carousel-item {
    transition: transform 0.6s ease-in-out, opacity 0.6s ease-in-out;
}

.gallery-slide-img {
    width: 100%;
    height: 65vh;
    min-height: 380px;
    object-fit: cover;
    object-position: center;
}

.gallery-indicators {
    bottom: 1rem;
}

.gallery-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    transition: var(--transition);
}

.gallery-indicators [data-bs-target].active {
    background: var(--gold);
    transform: scale(1.2);
    box-shadow: 0 0 12px rgba(201, 169, 98, 0.55);
}

.gallery-control {
    width: 48px;
    height: 48px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(15, 23, 42, 0.7);
    border-radius: 50%;
    opacity: 0.9;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.gallery-control:hover {
    background: rgba(201, 169, 98, 0.35);
    opacity: 1;
}

.gallery-control .carousel-control-prev-icon,
.gallery-control .carousel-control-next-icon {
    filter: brightness(0) invert(1);
}

/* Gallery fade for slideshow */
#gallerySlideshow.carousel-fade .carousel-item {
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

#gallerySlideshow.carousel-fade .carousel-item.active {
    opacity: 1;
}

/* Contact Section — Premium */
.contact-info {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.contact-item i {
    font-size: 1.75rem;
    color: var(--gold-dark);
    margin-right: 1.25rem;
}

.contact-item h5 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-item p {
    color: var(--text-light);
    margin: 0;
}

/* Footer */
.footer {
    position: relative;
    z-index: 1;
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.85);
    padding: 3.5rem 0 2rem;
    text-align: center;
    border-top: 1px solid rgba(201, 169, 98, 0.22);
}

.footer p {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.rera-footer {
    color: var(--gold-light);
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--gold-light);
    text-decoration: none;
    margin: 0 1rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
}

.enquire-now {
    margin-top: 2rem;
}

/* Sticky EOI — vertical bar right edge (ENQUIRE NOW style) */
.sticky-eoi-middle {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.sticky-eoi-middle.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.sticky-eoi-bar-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 52px;
    min-height: 200px;
    background: linear-gradient(180deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: var(--white);
    text-decoration: none;
    box-shadow: -2px 0 16px rgba(15, 23, 42, 0.28);
    border-left: 1px solid rgba(201, 169, 98, 0.35);
    border-top: none;
    border-right: none;
    border-bottom: none;
    padding: 0;
    cursor: pointer;
    transition: background 0.25s ease, width 0.25s ease;
}
.sticky-eoi-bar-link:hover {
    background: linear-gradient(180deg, var(--primary-color) 0%, #1e293b 100%);
    color: var(--white);
}
.sticky-eoi-vertical-text {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(-180deg);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    white-space: nowrap;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sticky-eoi-icon-wrap {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    flex-shrink: 0;
    font-size: 0.95rem;
}
.sticky-eoi-bar-link:hover .sticky-eoi-icon-wrap {
    background: rgba(255, 255, 255, 0.35);
}
@media (max-width: 768px) {
    .sticky-eoi-middle {
        display: none !important;
    }
}

/* Master Plan Presentation */
.master-plan-wrap {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1.5px solid var(--border-color);
    box-shadow: var(--shadow-luxury);
    padding: 1.25rem;
    transition: var(--transition);
}

.master-plan-wrap:hover {
    border-color: var(--gold);
    box-shadow: 0 16px 45px rgba(212, 163, 115, 0.18);
}

.master-plan-img {
    width: 100%;
    max-height: 720px;
    object-fit: contain;
    background: #140d08;
    border-radius: 12px;
    cursor: zoom-in;
    transition: transform 0.3s ease;
}

.master-plan-wrap:hover .master-plan-img {
    transform: scale(1.01);
}

/* Hero responsive */
@media (max-width: 768px) {
    .hero-tagline {
        letter-spacing: 0.06em;
        font-size: clamp(1.75rem, 5vw, 3rem);
    }
    .hero-scroll-indicator {
        bottom: 1.5rem;
    }
    .hero-indicators {
        bottom: 3.5rem;
    }
}

/* Carousel fade */
.carousel-fade .carousel-item {
    opacity: 0;
    transition: opacity 0.6s ease-out;
}
.carousel-fade .carousel-item.active {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .carousel-caption h1 {
        font-size: 2.5rem;
    }

    .carousel-caption h3 {
        font-size: 1.5rem;
    }

    .price-text {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 0.7rem;
    }

    .contact-modal {
        position: static;
        width: 100%;
        margin: 2rem 0;
    }

    .location-item {
        flex-direction: row;
        text-align: left;
    }

    .location-number {
        margin-right: 0.75rem;
        margin-bottom: 0;
    }

    .gallery-slide-img {
        height: 55vh;
        min-height: 280px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        height: 70vh;
    }

    .hero-section .carousel-item {
        height: 70vh;
    }

    .carousel-caption {
        padding: 1rem;
    }

    .carousel-caption h1 {
        font-size: 2rem;
    }

    .price-text {
        font-size: 1.5rem;
    }

    .highlight-card,
    .amenity-card {
        margin-bottom: 1rem;
    }
}

/* Form Styles — Dark Luxury Cocoa & Gold */
.form-control,
.form-select {
    background-color: #2d221a !important;
    border: 1px solid rgba(212, 163, 115, 0.35) !important;
    color: #ffffff !important;
    border-radius: 10px;
    padding: 0.85rem 1rem;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
    background-color: #382b21 !important;
    border-color: var(--gold) !important;
    color: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(212, 163, 115, 0.25) !important;
}

.form-control::placeholder {
    color: #c2b2a4 !important;
    opacity: 0.85;
}

.form-check-input {
    background-color: #2d221a;
    border: 1px solid rgba(212, 163, 115, 0.4);
}

.form-check-input:checked {
    background-color: var(--gold);
    border-color: var(--gold);
}

.form-check-label {
    color: var(--text-body) !important;
}

/* Luxury Gold Action Buttons */
.btn-primary,
.btn-luxury {
    background: linear-gradient(135deg, #d4a373 0%, #b5824e 100%) !important;
    border: none !important;
    color: #120a06 !important;
    padding: 0.9rem 2.25rem;
    border-radius: 10px;
    font-weight: 700;
    letter-spacing: 0.03em;
    transition: var(--transition);
    box-shadow: 0 4px 18px rgba(212, 163, 115, 0.3);
}

.btn-primary:hover,
.btn-luxury:hover {
    background: linear-gradient(135deg, #f5dfc6 0%, #d4a373 100%) !important;
    color: #0b0604 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 163, 115, 0.45);
}

.btn-outline-primary {
    color: var(--gold) !important;
    border: 1.5px solid var(--gold) !important;
    background: transparent !important;
    padding: 0.75rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    letter-spacing: 0.03em;
    transition: var(--transition);
}

.btn-outline-primary:hover {
    background: var(--gold) !important;
    color: #120a06 !important;
    border-color: var(--gold) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 163, 115, 0.25);
}

/* Book EOI / Schedule CTA */
a.book-eoi-btn.btn-primary,
a.book-eoi-btn.btn-luxury {
    background: linear-gradient(135deg, #d4a373 0%, #b5824e 100%) !important;
    color: #120a06 !important;
    font-weight: 700 !important;
    border: none !important;
    box-shadow: 0 4px 20px rgba(212, 163, 115, 0.32);
}

a.book-eoi-btn.btn-primary:hover,
a.book-eoi-btn.btn-luxury:hover {
    background: linear-gradient(135deg, #f5dfc6 0%, #d4a373 100%) !important;
    color: #0b0604 !important;
    box-shadow: 0 8px 28px rgba(212, 163, 115, 0.48);
}

a.book-eoi-btn.btn-outline-primary {
    color: var(--gold) !important;
    border: 1.5px solid var(--gold) !important;
    background: transparent !important;
}

a.book-eoi-btn.btn-outline-primary:hover {
    background: var(--gold) !important;
    color: #120a06 !important;
    border-color: var(--gold) !important;
}

.sticky-eoi-bar-link {
    background: linear-gradient(180deg, #1f140c 0%, #110a06 100%) !important;
    border-left: 1px solid rgba(212, 163, 115, 0.35) !important;
    color: var(--gold-light) !important;
}

.sticky-eoi-bar-link:hover {
    background: linear-gradient(180deg, #2b1d12 0%, #170f09 100%) !important;
    color: #ffffff !important;
}

.sticky-eoi-bar-link .sticky-eoi-icon-wrap {
    background: rgba(212, 163, 115, 0.25) !important;
    color: var(--gold-light);
}

#eoiSubmitBtn.btn-primary {
    background: linear-gradient(135deg, #d4a373 0%, #b5824e 100%) !important;
    color: #120a06 !important;
    font-weight: 700 !important;
    border: none !important;
    box-shadow: 0 4px 18px rgba(212, 163, 115, 0.35);
}

#eoiSubmitBtn.btn-primary:hover {
    background: linear-gradient(135deg, #f5dfc6 0%, #d4a373 100%) !important;
    color: #0b0604 !important;
}

/* ========== LUXURY ANIMATIONS ========== */

/* Hero entrance animations */
.animate-fade-in {
    animation: heroFadeIn 1s ease-out forwards;
    opacity: 0;
}
.animate-slide-up {
    animation: heroSlideUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    opacity: 0;
}
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.55s; }
.delay-4 { animation-delay: 0.7s; }
.delay-5 { animation-delay: 0.9s; }
.animate-scale-in {
    animation: heroScaleIn 0.8s ease-out 0.35s forwards;
    opacity: 0;
}
@keyframes heroFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes heroSlideUp {
    from { opacity: 0; transform: translateY(28px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes heroScaleIn {
    from { opacity: 0; transform: scaleX(0); }
    to { opacity: 1; transform: scaleX(1); }
}

/* Scroll reveal — initial state */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}
.reveal-up {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal .reveal-up.revealed,
.reveal-up.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children when parent is revealed */
.reveal.revealed .reveal-up {
    transition-delay: calc(var(--i, 0) * 0.08s);
}

/* Experience cards — dark cocoa glass + gold accent */
.experience-card {
    position: relative;
    text-align: center;
    padding: 1.75rem 1.5rem 1.65rem;
    border-radius: var(--radius-lg);
    height: 100%;
    background: linear-gradient(145deg, rgba(28, 19, 12, 0.95) 0%, rgba(20, 13, 8, 0.95) 100%);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(212, 163, 115, 0.22);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.experience-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold);
    box-shadow: 0 16px 40px rgba(212, 163, 115, 0.25);
}

.experience-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 1.15rem;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #2c1d13 0%, #150d07 100%);
    border: 1px solid rgba(212, 163, 115, 0.3);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.experience-icon i {
    font-size: 1.35rem;
    color: var(--gold-light);
}

.experience-card h4 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.65rem;
}

.experience-card p {
    color: var(--text-body);
    font-size: 0.92rem;
    margin: 0;
    line-height: 1.65;
}

@media (min-width: 768px) {
    .experience-card {
        padding: 2rem 1.65rem 1.85rem;
    }
}

.aqualis-tagline {
    font-family: var(--font-heading);
    font-style: italic;
    color: var(--text-dark);
    font-size: 1.15rem;
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading Animation */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #110a06;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(212, 163, 115, 0.2);
    border-top: 5px solid var(--gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Modals — Dark Luxury Cocoa Chrome */
.modal-content {
    background-color: #261c15 !important;
    color: #ffffff !important;
    border: 1.5px solid rgba(212, 163, 115, 0.35) !important;
    border-radius: var(--radius-card);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.65) !important;
}
.modal-header {
    border-bottom: 1px solid rgba(212, 163, 115, 0.25) !important;
}
.modal-footer {
    border-top: 1px solid rgba(212, 163, 115, 0.25) !important;
}
.modal-title {
    color: #ffffff !important;
    font-family: var(--font-heading);
}
.btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
    opacity: 0.85;
}
.btn-close:hover {
    opacity: 1;
}

/* Floor Plan Modal Details */
#floorPlanDetailsText {
    background-color: #35281f !important;
    color: #efe4db !important;
    border: 1px solid rgba(212, 163, 115, 0.28) !important;
}

/* Master Site Plan Container & Lightbox */
.master-plan-img-container {
    cursor: zoom-in;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    background: #2b2019 !important;
}
.master-plan-img-container:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}
.master-plan-img-container:hover .site-plan-overlay-badge {
    background: rgba(36, 26, 19, 0.95) !important;
    transform: translate(-50%, -4px);
}
.site-plan-overlay-badge {
    transition: all 0.25s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    letter-spacing: 0.5px;
    font-size: 0.85rem;
}
#sitePlanZoomViewport {
    background: #1a120c !important;
    overflow: hidden;
    position: relative;
}
#sitePlanTransformWrapper {
    will-change: transform;
}
#sitePlanZoomModal .modal-fullscreen {
    padding: 0;
}
#sitePlanZoomModal .modal-content {
    border-radius: 0;
}

/* ==========================================================================
   GLOBAL UTILITY OVERRIDES FOR DARK LUXURY COCOA & GOLD THEME
   Ensures zero residual stark white Bootstrap elements across the site
   ========================================================================== */

.bg-white,
.card.bg-white,
.card-body.bg-white {
    background-color: var(--bg-card) !important;
    border-color: var(--border-color) !important;
    color: var(--text-body) !important;
}

.bg-light {
    background-color: var(--bg-surface) !important;
    color: var(--text-body) !important;
}

.text-dark {
    color: var(--text-dark) !important;
}

.text-primary {
    color: var(--gold-light) !important;
}

.text-muted {
    color: var(--text-light) !important;
}

.border {
    border-color: var(--border-color) !important;
}

.border-top {
    border-top-color: var(--border-color) !important;
}

.border-bottom {
    border-bottom-color: var(--border-color) !important;
}

.card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
}

.card-title {
    color: var(--text-dark) !important;
}

.badge.bg-gold-subtle {
    background-color: rgba(212, 163, 115, 0.15) !important;
    color: var(--gold) !important;
    border: 1px solid rgba(212, 163, 115, 0.3) !important;
}

.btn-amenities-toggle {
    background: var(--bg-card) !important;
    color: var(--gold-light) !important;
    border: 1px solid rgba(212, 163, 115, 0.3) !important;
    transition: var(--transition);
}

.btn-amenities-toggle:hover {
    background: #271910 !important;
    color: #ffffff !important;
    border-color: var(--gold) !important;
    box-shadow: 0 4px 18px rgba(212, 163, 115, 0.25) !important;
}

/* ==========================================================================
   PAYMENT PLANS — 4 INTERACTIVE BUTTONS & MILESTONE SCHEDULES
   ========================================================================== */

.payment-plan-nav {
    border-bottom: none;
}

.payment-nav-btn {
    background: #35281f !important;
    border: 1.5px solid rgba(212, 163, 115, 0.3) !important;
    border-radius: 14px !important;
    padding: 0.85rem 1.35rem !important;
    color: #efe4db !important;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    transition: var(--transition);
    text-align: left;
}

.payment-nav-btn:hover {
    border-color: var(--gold) !important;
    background: #413227 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 163, 115, 0.2);
}

.payment-nav-btn.active {
    background: linear-gradient(135deg, #48362a 0%, #2f221a 100%) !important;
    border-color: var(--gold) !important;
    color: #ffffff !important;
    box-shadow: 0 8px 24px rgba(212, 163, 115, 0.28) !important;
}

.payment-nav-btn .plan-btn-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(212, 163, 115, 0.18);
    color: var(--gold);
    border: 1px solid rgba(212, 163, 115, 0.32);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.payment-nav-btn.active .plan-btn-icon {
    background: var(--gold);
    color: #1b120c;
    box-shadow: 0 4px 12px rgba(212, 163, 115, 0.35);
}

.payment-nav-btn .plan-btn-title {
    display: block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: #ffffff;
    line-height: 1.25;
}

.payment-nav-btn .plan-btn-sub {
    display: block;
    font-size: 0.76rem;
    color: var(--text-light);
    margin-top: 2px;
}

.payment-nav-btn.active .plan-btn-sub {
    color: var(--gold-light);
}

.payment-plan-card {
    background: var(--bg-card);
    border: 1.5px solid var(--border-color);
    box-shadow: var(--shadow-luxury);
}

.payment-milestone-item {
    background: #392b22;
    border: 1px solid rgba(212, 163, 115, 0.22);
    transition: var(--transition);
}

.payment-milestone-item:hover {
    background: #443429;
    border-color: rgba(212, 163, 115, 0.4);
    transform: translateX(4px);
}

.payment-milestone-item.highlight-possession {
    background: linear-gradient(135deg, #46352a 0%, #32241b 100%);
    border: 1px solid rgba(212, 163, 115, 0.4);
}

.milestone-number {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: rgba(212, 163, 115, 0.2);
    border: 1px solid rgba(212, 163, 115, 0.35);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.payment-pct-badge {
    background: rgba(212, 163, 115, 0.2);
    color: #ffffff;
    border: 1px solid rgba(212, 163, 115, 0.35);
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    font-family: var(--font-heading);
    letter-spacing: 0.02em;
}

.payment-pct-badge.gold {
    background: linear-gradient(135deg, #d4a373, #b5824e);
    color: #1b120c;
    border: none;
    box-shadow: 0 4px 12px rgba(212, 163, 115, 0.3);
}

.payment-doc-card {
    background: #2b2019;
    border: 1px dashed rgba(212, 163, 115, 0.38);
}

.payment-doc-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #443226, #2d2018);
    border: 1px solid rgba(212, 163, 115, 0.35);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}

/* ==========================================================================
   PRICE & PAYMENT PLAN HERO MODAL STYLES
   ========================================================================== */
.price-plan-choice-card {
    background: #2d2119;
    border: 1.5px solid rgba(212, 163, 115, 0.28);
    border-radius: 14px;
    padding: 0.95rem 0.85rem;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
    text-align: left;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.price-plan-choice-card:hover {
    background: #392b21;
    border-color: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 163, 115, 0.2);
}

.price-plan-choice-card.active {
    background: linear-gradient(135deg, #463428 0%, #2f221a 100%);
    border-color: var(--gold);
    box-shadow: 0 0 20px rgba(212, 163, 115, 0.35);
}

.price-plan-choice-card .choice-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(212, 163, 115, 0.18);
    color: var(--gold);
    border: 1px solid rgba(212, 163, 115, 0.32);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    margin-bottom: 0.65rem;
    transition: var(--transition);
}

.price-plan-choice-card.active .choice-icon {
    background: var(--gold);
    color: #1b120c;
    box-shadow: 0 4px 12px rgba(212, 163, 115, 0.4);
}

.price-plan-choice-card .choice-radio {
    position: absolute;
    top: 10px;
    right: 10px;
    color: var(--gold);
    font-size: 1.05rem;
}

.price-plan-choice-card .choice-title {
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.25;
    margin-bottom: 2px;
}

.price-plan-choice-card .choice-badge {
    font-size: 0.72rem;
    color: var(--gold-light);
    font-weight: 600;
    line-height: 1.2;
}

#pricePlanModal .modal-content {
    background-color: #261c15 !important;
    border: 1.5px solid rgba(212, 163, 115, 0.38) !important;
}

/* Footer — Warm Soft Cocoa */
.footer {
    background: #1e150f;
    border-top: 1px solid rgba(212, 163, 115, 0.25);
    padding: 3.5rem 0 2.5rem;
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   FAQ ACCORDION (AEO / SXO / RICH SNIPPETS)
   ========================================================================== */
.faq-accordion .accordion-item {
    background: #2b2019 !important;
    border: 1.5px solid rgba(212, 163, 115, 0.28) !important;
    border-radius: 14px !important;
    margin-bottom: 0.85rem;
    overflow: hidden;
    transition: var(--transition);
}

.faq-accordion .accordion-item:hover {
    border-color: var(--gold) !important;
    box-shadow: 0 6px 22px rgba(212, 163, 115, 0.18);
}

.faq-accordion .accordion-button {
    background: #2b2019 !important;
    color: #ffffff !important;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.05rem;
    padding: 1.15rem 1.35rem;
    box-shadow: none !important;
    border: none !important;
}

.faq-accordion .accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, #382b21 0%, #2b2019 100%) !important;
    color: var(--gold) !important;
    border-bottom: 1px solid rgba(212, 163, 115, 0.25) !important;
}

.faq-accordion .accordion-button::after {
    filter: invert(1) sepia(100%) saturate(300%) hue-rotate(340deg) brightness(95%);
    transition: transform 0.3s ease;
}

.faq-accordion .accordion-body {
    background: #241a13;
    color: #efe4db;
    font-size: 0.95rem;
    line-height: 1.7;
    padding: 1.25rem 1.4rem;
}

/* ==========================================================================
   MOBILE RESPONSIVENESS & ZERO-HORIZONTAL-OVERFLOW SYSTEM
   Eliminates all horizontal movement, wobbles, and viewport shifts on phones
   ========================================================================== */

@media (max-width: 991px) {
    .container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}

@media (max-width: 768px) {
    /* Stack payment plan tabs vertically with full width */
    .payment-plan-nav {
        flex-direction: column !important;
        width: 100% !important;
        gap: 0.65rem !important;
    }
    
    .payment-nav-btn {
        width: 100% !important;
        padding: 0.85rem 1rem !important;
        border-radius: 12px !important;
    }

    /* Modal responsiveness */
    .modal-dialog {
        margin: 0.75rem auto !important;
        max-width: calc(100vw - 1.5rem) !important;
    }

    /* Floor plan cards */
    .floor-plan-thumb {
        height: 190px;
    }

    /* Contact form card */
    .contact-form-card {
        padding: 1.75rem 1.25rem !important;
    }
}

@media (max-width: 576px) {
    /* Hero typography and CTA buttons */
    .hero-split-title {
        font-size: 2.15rem;
    }
    
    .hero-split-subtitle {
        font-size: 1.15rem;
    }
    
    .hero-cta-wrap {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem !important;
    }
    
    .hero-cta-wrap .btn,
    .btn-primary,
    .btn-luxury,
    .btn-outline-primary,
    .btn-hero-outline {
        width: 100%;
        padding: 0.8rem 1.25rem !important;
        font-size: 0.92rem !important;
        text-align: center;
        justify-content: center;
        display: flex;
        align-items: center;
    }

    .hero-pill-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    /* RERA & Disclaimer footer spacing */
    .rera-footer span {
        font-size: 0.75rem;
        line-height: 1.5;
        word-break: break-word;
    }

    /* Ensure no section can create horizontal scrollbar */
    .section-padding {
        padding: 2.5rem 0;
    }
}