/*
 * Vanguard Lands - Premium Eco-Tourism Investment Design System
 * Architecture: Plain CSS Custom Properties, Responsive Utilities, and Reusable Layout Styles
 */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
    /* Color Palette - Premium Corporate Eco-Tourism */
    --color-primary: #234E3F;
    /* Deep Forest Green */
    --color-primary-light: #2C5E4C;
    /* Muted Forest Green */
    --color-primary-tint: #3B725E;
    /* Sage/Mint Green Overlay */

    --color-secondary: #8B5E3C;
    /* Earth Brown */
    --color-secondary-hover: #734C2E;
    /* Darker Earth Brown */

    --color-accent: #D6A84A;
    /* Premium Gold */
    --color-accent-hover: #C2963A;
    /* Deep Gold */
    --color-accent-dark: #9F7A2A;
    /* Burnished Bronze Gold */
    --color-accent-light: #F4ECCF;
    /* Champagne Tint */

    --color-bg-light: #E8EBE6;
    /* Soft Sage Beige Background */
    --color-bg-white: #FFFFFF;
    --color-bg-dark: #121A16;
    /* Dark Slate Charcoal (Secondary background) */

    --color-text-dark: #222222;
    /* Charcoal Body Text */
    --color-text-muted: #64756F;
    /* Muted Charcoal/Sage */
    --color-text-light: #F8F8F5;
    /* Soft Off-White */

    /* Layout & Spacing */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2.5rem;
    --spacing-xl: 4.5rem;
    --spacing-xxl: 8rem;

    /* Visual Style Rules (Rounded corners 16-20px) */
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    /* Standard Rounded Corners */
    --border-radius-lg: 20px;
    /* Premium Card / Container Corners */
    --border-radius-xl: 30px;

    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.25s ease;

    /* Soft shadows for a minimal but luxurious feel */
    --shadow-soft: 0 4px 30px rgba(35, 78, 63, 0.02);
    --shadow-medium: 0 12px 40px rgba(35, 78, 63, 0.05);
    --shadow-premium: 0 24px 60px rgba(18, 26, 22, 0.08);
    --shadow-inset: inset 0 2px 4px 0 rgba(0, 0, 0, 0.04);

    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-dark-bg: rgba(35, 78, 63, 0.85);
    --glass-dark-border: rgba(214, 168, 74, 0.15);
}

/* Reset and Base Styles */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    max-width: 100%;
    scrollbar-width: none;
    /* Firefox: hide scrollbar */
}

html::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari/Edge: hide scrollbar */
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-light);
    color: var(--color-text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100%;
    width: 100%;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.25;
    color: var(--color-primary);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(1.8rem, 4vw, 2.75rem);
    letter-spacing: -0.01em;
}

h3 {
    font-size: clamp(1.4rem, 2.5vw, 1.85rem);
}

h4 {
    font-size: 1.25rem;
}

p {
    font-size: 1.05rem;
    font-weight: 300;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}

strong,
b {
    font-weight: 600;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Base Layout Containers */
.container {
    width: 100%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
}

@media (min-width: 768px) {
    .container {
        padding-left: var(--spacing-lg);
        padding-right: var(--spacing-lg);
    }
}

/* Responsive Grid System */
.grid {
    display: grid;
    gap: var(--spacing-md);
}

.grid-cols-2 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.grid-cols-3 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.grid-cols-4 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 768px) {
    .grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .grid-cols-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .grid-cols-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .grid {
        gap: var(--spacing-lg);
    }
}

@media (min-width: 1024px) {
    .grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* Premium Apple-Style Liquid Glass Buttons & Interactive Hover Reactions */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 2.25rem;
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 50px;
    border: 1px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    gap: 0.6rem;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), inset 0 1px 1px rgba(255, 255, 255, 0.4);
    will-change: transform, box-shadow, background-color;
}

/* Hover Liquid Glass Glow & Lift Reaction (Desktop Mouse Cursor) */
@media (hover: hover) {
    .btn:hover {
        transform: translateY(-3px) scale(1.03);
        box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22), 0 0 20px rgba(214, 168, 74, 0.3), inset 0 1px 2px rgba(255, 255, 255, 0.6);
    }

    .btn:hover::after {
        left: 140%;
    }

    .btn-primary:hover {
        background: linear-gradient(135deg, rgba(30, 60, 48, 0.98) 0%, rgba(20, 44, 35, 0.95) 100%);
        border-color: rgba(197, 168, 128, 0.7);
    }

    .btn-outline:hover {
        background: rgba(214, 168, 74, 0.25);
        color: #ffffff !important;
        border-color: rgba(214, 168, 74, 0.8);
        box-shadow: 0 14px 32px rgba(214, 168, 74, 0.3), inset 0 1px 2px rgba(255, 255, 255, 0.5);
    }

    .section-dark .btn-outline:hover,
    .hero-premium .btn-outline:hover,
    .hero-compact .btn-outline:hover,
    .navbar-glass .btn-outline:hover {
        background: rgba(214, 168, 74, 0.3);
        color: #ffffff !important;
        border-color: rgba(214, 168, 74, 0.9);
    }

    .btn-gold:hover {
        background: linear-gradient(135deg, rgba(230, 184, 88, 0.98) 0%, rgba(195, 148, 55, 0.95) 100%);
        border-color: rgba(255, 255, 255, 0.9);
        box-shadow: 0 16px 36px rgba(214, 168, 74, 0.4), inset 0 1px 2px rgba(255, 255, 255, 0.8);
    }
}

/* Tactile Active Haptic Press Reaction (Touch & Mouse Click) */
.btn:active {
    transform: translateY(0) scale(0.97);
    transition: transform 0.1s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Light Liquid Shimmer Sweep */
.btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 60%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: rotate(25deg);
    transition: left 0.75s ease;
    pointer-events: none;
}

/* 2. Liquid Glass Primary Green Button */
.btn-primary {
    background: linear-gradient(135deg, rgba(44, 94, 76, 0.95) 0%, rgba(35, 78, 63, 0.98) 100%);
    color: #ffffff !important;
    border: 1px solid rgba(214, 168, 74, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

/* 3. Liquid Glass Gold Accent Button */
.btn-gold {
    background: linear-gradient(135deg, rgba(214, 168, 74, 0.92) 0%, rgba(175, 132, 45, 0.88) 100%);
    color: #142C23 !important;
    border: 1px solid rgba(255, 235, 180, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.8);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-gold:hover {
    background: linear-gradient(135deg, rgba(230, 184, 88, 0.98) 0%, rgba(195, 148, 55, 0.95) 100%);
    border-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 16px 36px rgba(214, 168, 74, 0.4), inset 0 1px 2px rgba(255, 255, 255, 0.8);
}

.btn-text {
    padding: 0.5rem 0;
    background: transparent;
    color: var(--color-primary);
    border: none;
    border-bottom: 1px solid var(--color-accent);
    border-radius: 0;
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    transition: all 0.25s ease;
}

.btn-text:hover {
    color: var(--color-accent-dark);
    border-color: var(--color-accent-dark);
    padding-left: 0.5rem;
}

/* Premium Layout Sections */
.section {
    padding-top: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
    position: relative;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .section-spacious {
        padding-top: var(--spacing-xxl);
        padding-bottom: var(--spacing-xxl);
    }
}

.section-dark {
    background-color: var(--color-primary);
    color: var(--color-bg-light);
}

.section-dark h1,
.section-dark h2,
.section-dark h3 {
    color: var(--color-bg-white);
}

.section-dark p {
    color: var(--color-accent-light);
}

.section-cream {
    background-color: var(--color-bg-light);
}

.section-sand {
    background-color: var(--color-accent-light);
}

/* Section Headers */
.section-header {
    margin-bottom: var(--spacing-lg);
    max-width: 700px;
}

.section-header-center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-accent-dark);
    margin-bottom: var(--spacing-sm);
    display: inline-block;
}

.section-dark .section-subtitle {
    color: var(--color-accent);
}

.section-title {
    margin-bottom: var(--spacing-sm);
}

.section-desc {
    font-size: 1.15rem;
    font-weight: 300;
}

/* Luxury Cards */
.card-wrapper {
    background-color: var(--color-bg-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(20, 44, 35, 0.07);
    transition: var(--transition-smooth);
    border: 1.5px solid var(--color-accent);
    height: 100%;
    display: flex;
    flex-direction: column;
}

@media (hover: hover) {
    .card-wrapper:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-premium);
        border-color: var(--color-accent);
    }

    .card-wrapper:hover .card-image-container img {
        transform: scale(1.05);
    }
}

.card-image-container {
    position: relative;
    overflow: hidden;
    background-color: var(--color-primary);
}

.card-image-container img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    display: block;
    transition: var(--transition-smooth);
}

.card-wrapper:active {
    transform: scale(0.98);
    transition: transform 0.1s ease;
}

.card-badge-container {
    position: absolute;
    top: var(--spacing-sm);
    left: var(--spacing-sm);
    display: flex;
    gap: 0.5rem;
    z-index: 2;
}

.card-content {
    padding: var(--spacing-md) var(--spacing-md);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .card-content {
        padding: var(--spacing-md) var(--spacing-md);
    }
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.card-meta svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: var(--color-accent-dark);
}

.card-title {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}

.card-desc {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-sm);
    flex-grow: 1;
}

.card-financials {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(229, 220, 208, 0.5);
    padding-top: var(--spacing-sm);
    margin-top: auto;
}

.financial-metric {
    display: flex;
    flex-direction: column;
}

.financial-metric .label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
}

.financial-metric .value {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-primary);
}

.financial-metric .value-accent {
    color: var(--color-accent-dark);
}

/* Minimal/Luxurious Feature Cards */
.card-feature {
    background-color: var(--color-primary);
    border-radius: var(--border-radius-lg);
    padding: 2.75rem 2rem;
    text-align: center;
    border: 1.5px solid var(--color-accent);
    border-top: 3.5px solid var(--color-accent);
    box-shadow: var(--shadow-soft);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    position: relative;
    overflow: hidden;
}

@media (hover: hover) {
    .card-feature:hover {
        transform: translateY(-8px);
        border-color: var(--color-primary);
        box-shadow: 0 20px 40px rgba(214, 168, 74, 0.3), 0 8px 16px rgba(0, 0, 0, 0.1);
        background-color: var(--color-accent);
    }
    
    .card-feature:hover h3,
    .card-feature:hover p {
        color: var(--color-primary);
    }
    
    .card-feature:hover .card-feature-icon {
        background-color: var(--color-primary);
        color: var(--color-accent);
        transform: scale(1.1) rotate(5deg);
    }
}

/* Investment Model Cards */
.card-model {
    background: linear-gradient(135deg, rgba(35, 78, 63, 0.98) 0%, rgba(20, 44, 35, 0.95) 100%);
    padding: var(--spacing-md);
    border-radius: var(--border-radius-md);
    border: 1px solid var(--color-accent);
    box-shadow: 0 10px 25px rgba(35, 78, 63, 0.2);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%;
    text-align: center;
}

.card-model-icon {
    width: 44px;
    height: 44px;
    background: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 auto 1rem auto;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 15px rgba(214, 168, 74, 0.4);
}

.card-model h4 {
    color: var(--color-accent);
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
    font-weight: 700;
}

.card-model p {
    font-size: 0.95rem;
    margin-bottom: 0;
    color: var(--color-bg-white);
    transition: color 0.3s ease;
    font-weight: 300;
    line-height: 1.6;
}

@media (hover: hover) {
    .card-model:hover {
        transform: translateY(-6px);
        background: linear-gradient(135deg, rgba(44, 94, 76, 0.98) 0%, rgba(30, 60, 48, 0.95) 100%);
        border-color: #ffffff;
        box-shadow: 0 15px 30px rgba(35, 78, 63, 0.35);
    }

    .card-model:hover .card-model-icon {
        background: #ffffff;
        color: var(--color-primary);
        transform: scale(1.1);
        box-shadow: 0 0 25px rgba(255, 255, 255, 0.5);
    }
}

.card-feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: rgba(214, 168, 74, 0.15);
    border: 1px solid rgba(214, 168, 74, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--color-accent);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-feature-icon svg {
    width: 28px;
    height: 28px;
    stroke: currentColor;
    stroke-width: 1.5;
    fill: none;
}

.card-feature h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: 0.85rem;
    transition: color 0.3s ease;
}

.card-feature p {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.6;
    margin: 0;
    transition: color 0.3s ease;
}

/* Glassmorphism Classes */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-md);
}

.glass-panel-dark {
    background: var(--glass-dark-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-dark-border);
    border-radius: var(--border-radius-md);
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 50px;
    background-color: var(--color-accent-light);
    color: var(--color-primary-light);
}

.badge-gold {
    background-color: var(--color-accent);
    color: var(--color-primary);
}

.badge-green {
    background-color: var(--color-primary-light);
    color: var(--color-bg-light);
}

.badge-outline {
    background-color: transparent;
    border: 1px solid var(--color-accent);
    color: var(--color-accent-dark);
}

/* Inputs & Form Fields */
.form-group {
    margin-bottom: var(--spacing-md);
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.35rem;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-control {
    width: 100%;
    padding: 0.85rem 1rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    background-color: var(--color-bg-white);
    border: 1px solid rgba(22, 59, 43, 0.15);
    border-radius: var(--border-radius-sm);
    color: var(--color-text-dark);
    transition: var(--transition-fast);
}

.form-control::placeholder {
    color: rgba(22, 59, 43, 0.4);
    opacity: 1;
}

.form-control:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 4px rgba(214, 168, 74, 0.1);
}

.form-control:disabled {
    background-color: rgba(0, 0, 0, 0.02);
    cursor: not-allowed;
}

/* ==========================================================================
   Mobile Responsiveness & Admin Utilities
   ========================================================================== */

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    margin-bottom: 1rem;
}

/* Map page wrappers */
.map-responsive-wrapper {
    display: flex;
    flex-direction: column-reverse;
    gap: 2rem;
}

.map-responsive-sidebar {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

#leaflet-map {
    width: 100%;
    min-height: 400px;
}

@media (min-width: 992px) {
    .map-responsive-wrapper {
        flex-direction: row;
        min-height: 550px;
    }

    .map-responsive-sidebar {
        width: 380px;
        flex-shrink: 0;
        order: 1;
    }

    #leaflet-map {
        order: 2;
    }
}

/* Admin Hamburger Menu */
.admin-hamburger {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    margin-right: 1rem;
    color: var(--color-primary);
}

.admin-hamburger svg {
    width: 28px;
    height: 28px;
}

@media (max-width: 991px) {
    .admin-hamburger {
        display: block;
    }

    /* Override admin layout defaults for mobile */
    .admin-shell .admin-sidebar {
        position: fixed;
        left: -300px;
        top: 0;
        bottom: 0;
        z-index: 1000;
        width: 280px;
        transition: left 0.3s ease;
    }

    .admin-shell.admin-sidebar-mobile-active .admin-sidebar {
        left: 0;
        box-shadow: 10px 0 30px rgba(0, 0, 0, 0.5);
    }

    /* Admin topbar spacing */
    .admin-topbar {
        padding: 0 1rem;
        height: 70px;
    }

    .admin-topbar span {
        font-size: 1.3rem !important;
    }
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C5A880' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.25em;
    padding-right: 2.5rem;
}

/* Scrollbar: hidden on all browsers while keeping scroll functionality */
::-webkit-scrollbar {
    display: none;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-delay-1 {
    transition-delay: 0.15s;
}

.reveal-delay-2 {
    transition-delay: 0.3s;
}

.reveal-delay-3 {
    transition-delay: 0.45s;
}

/* Sticky/Blurred Navbar Wrapper */
.navbar-spacer {
    height: 80px;
    background-color: var(--color-primary);
}

/* Premium Navbar Styling */
.navbar-glass {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: var(--transition-smooth);
    background: #142C23;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(197, 168, 128, 0.2);
}

.navbar-scrolled {
    background: #142C23;
    border-bottom: 1px solid rgba(197, 168, 128, 0.3);
    box-shadow: var(--shadow-medium);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.navbar-logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.95rem;
    margin-left: 0.5rem;
}

@media (min-width: 768px) {
    .navbar-logo {
        margin-left: 2rem;
    }
}

.navbar-logo-img {
    height: 74px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.navbar-logo:hover .navbar-logo-img {
    transform: scale(1.05);
}

.navbar-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
    text-align: left;
    font-family: var(--font-heading);
}

.navbar-logo-text .brand-primary {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--color-bg-white) !important;
}

.navbar-logo-text .brand-secondary {
    margin-top: 3px;
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    color: var(--color-accent) !important;
}

.navbar-links {
    display: none;
    align-items: center;
    gap: var(--spacing-lg);
}

@media (min-width: 1024px) {
    .navbar-links {
        display: flex;
    }
}

.nav-link {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.8) !important;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-accent);
    transition: var(--transition-fast);
}

.nav-link:hover {
    color: var(--color-accent) !important;
}

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

.nav-link.active {
    color: var(--color-accent) !important;
}

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

/* Mobile Toggle Hamburger button */
.navbar-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

@media (min-width: 1024px) {
    .navbar-toggle {
        display: none;
    }
}

.navbar-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--color-bg-white);
    transition: var(--transition-fast);
    transform-origin: center;
}

/* Mobile Overlay Backdrop */
.navbar-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(10, 24, 18, 0.7);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.navbar-backdrop.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Menu Responsive Sidebar Drawer */
.navbar-menu-mobile {
    position: fixed;
    top: 0;
    right: 0;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    background-color: #142C23;
    border-left: 1px solid rgba(197, 168, 128, 0.2);
    box-shadow: -10px 0 35px rgba(0, 0, 0, 0.6);
    z-index: 1050;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease;
    padding: 1.25rem 1.5rem 2rem 1.5rem;
    transform: translateX(100%);
    visibility: hidden;
    overflow-y: auto;
}

.navbar-menu-mobile.active {
    transform: translateX(0);
    visibility: visible;
}

/* Sidebar Drawer Header */
.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1rem;
    margin-bottom: 1.75rem;
    border-bottom: 1px solid rgba(197, 168, 128, 0.15);
}

.sidebar-menu-title {
    font-family: var(--font-heading, sans-serif);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-accent);
}

/* Sidebar Close Button */
.sidebar-close-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--color-bg-white);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.sidebar-close-btn:hover {
    background: var(--color-accent);
    color: #142C23;
    border-color: var(--color-accent);
    transform: rotate(90deg);
}

.sidebar-links {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.sidebar-links .nav-link {
    font-family: var(--font-heading, sans-serif);
    font-size: 1.1rem !important;
    font-weight: 600;
    letter-spacing: 0.06em;
    padding: 0.65rem 0.5rem;
    color: rgba(255, 255, 255, 0.9) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: all 0.2s ease;
    border-radius: var(--border-radius-sm);
}

.sidebar-links .nav-link:hover,
.sidebar-links .nav-link.active {
    color: var(--color-accent) !important;
    background: rgba(214, 168, 74, 0.08);
    padding-left: 0.85rem;
}

/* Multi-Column Footer */
.footer-premium {
    background-color: var(--color-bg-dark);
    color: var(--color-text-light);
    border-top: 1px solid rgba(197, 168, 128, 0.15);
    padding-top: var(--spacing-xl);
    padding-bottom: var(--spacing-md);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2.5fr 1.25fr 1.25fr 2fr;
    }
}

.footer-logo-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
    margin-bottom: var(--spacing-sm);
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
    text-align: left;
    font-family: var(--font-heading);
}

.footer-logo-text .brand-primary {
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--color-bg-white) !important;
}

.footer-logo-text .brand-secondary {
    margin-top: 3px;
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    color: var(--color-accent) !important;
}

.footer-logo-img {
    height: 68px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.footer-logo-wrapper:hover .footer-logo-img {
    transform: scale(1.05);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    margin-bottom: var(--spacing-md);
    max-width: 320px;
}

.footer-title {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-accent);
    margin-bottom: var(--spacing-md);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--color-accent);
    padding-left: 4px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

.footer-contact-item svg {
    width: 18px;
    height: 18px;
    stroke: var(--color-accent);
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-newsletter p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.newsletter-form {
    display: flex;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
}

.newsletter-form .form-control {
    flex: 1;
    min-width: 0;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-right: none;
    border-radius: var(--border-radius-sm) 0 0 var(--border-radius-sm);
    color: var(--color-bg-white);
}

.newsletter-form .form-control:focus {
    border-color: var(--color-accent);
}

.newsletter-form .btn {
    border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
    padding: 0 1.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: var(--spacing-sm);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }
}

.footer-socials {
    display: flex;
    gap: 1.25rem;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition-fast);
}

.footer-social-link svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.footer-social-link:hover {
    background-color: var(--color-accent);
    color: var(--color-primary);
    transform: translateY(-2px);
}

/* Premium Inquiry Modal */
.inquiry-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 2000;
    background-color: rgba(7, 23, 16, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    padding: var(--spacing-sm);
}

.inquiry-modal.modal-active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content-wrapper {
    background-color: var(--color-bg-light);
    border: 1px solid var(--color-accent);
    border-radius: var(--border-radius-md);
    width: 100%;
    max-width: 650px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-premium);
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.inquiry-modal.modal-active .modal-content-wrapper {
    transform: scale(1);
}

.modal-close-btn {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--color-primary);
    transition: var(--transition-fast);
}

.modal-close-btn:hover {
    color: var(--color-accent-dark);
    transform: rotate(90deg);
}

.modal-close-btn svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 1.5;
}

.modal-body {
    padding: var(--spacing-lg) var(--spacing-md);
}

@media (min-width: 768px) {
    .modal-body {
        padding: var(--spacing-xl) var(--spacing-lg);
    }
}

.modal-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.modal-header h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.modal-header p {
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

/* Secondary Button style */
.btn-secondary {
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
    color: var(--color-bg-light);
}

.btn-secondary:hover {
    background-color: var(--color-secondary-hover);
    border-color: var(--color-secondary-hover);
    color: var(--color-bg-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Premium Hero Styles */
.hero-premium {
    position: relative;
    padding-top: calc(80px + 4rem);
    padding-bottom: 5rem;
    color: var(--color-bg-light);
    min-height: 95vh;
    display: flex;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

@media (max-width: 767px) {
    .hero-premium {
        padding-top: calc(70px + 3rem);
        padding-bottom: 4rem;
        min-height: 70vh;
    }
}

.hero-premium-bg {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100% - 80px);
    z-index: 1;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

@media (max-width: 767px) {
    .hero-premium-bg {
        top: 70px;
        height: calc(100% - 70px);
    }
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5.5vw, 4.5rem);
    color: var(--color-bg-white);
    line-height: 1.15;
    margin-bottom: var(--spacing-md);
    font-weight: 500;
}

.hero-subtitle {
    font-family: var(--font-body);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.25em;
    color: var(--color-accent);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    display: inline-block;
}

.hero-description {
    font-size: clamp(1.05rem, 1.8vw, 1.25rem);
    font-weight: 300;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto var(--spacing-lg);
    color: rgba(255, 255, 255, 0.85);
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Reusable Card Variants */
/* Property Specs */
.card-property-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    border-top: 1px solid rgba(229, 220, 208, 0.5);
    padding-top: var(--spacing-sm);
    margin-top: 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.spec-item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.spec-item svg {
    width: 15px;
    height: 15px;
    stroke: var(--color-primary);
    fill: none;
    stroke-width: 1.5;
}



/* Chronological Timeline Component */
.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 1.5rem 0;
}

.timeline-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 20px;
    width: 2px;
    background: rgba(214, 168, 74, 0.25);
}

.timeline-item {
    position: relative;
    margin-bottom: 3.5rem;
    padding-left: 60px;
    display: flex;
    flex-direction: column;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-node {
    position: absolute;
    left: 11px;
    top: 4px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--color-accent);
    border: 4px solid var(--color-primary);
    box-shadow: 0 0 0 4px rgba(214, 168, 74, 0.25);
    z-index: 2;
}

.timeline-number {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.25rem;
}

.timeline-title {
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
    font-weight: 500;
}

.timeline-desc {
    font-size: 0.98rem;
    line-height: 1.6;
    color: var(--color-text-muted);
}

/* Timeline Dark Mode Support */
.section-dark .timeline-line {
    background: rgba(255, 255, 255, 0.15);
}

.section-dark .timeline-number {
    color: var(--color-accent);
}

.section-dark .timeline-title {
    color: var(--color-bg-white);
}

.section-dark .timeline-desc {
    color: rgba(255, 255, 255, 0.85);
}

.section-dark .timeline-node {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(214, 168, 74, 0.4);
}

/* Statistics Blocks */
.stat-grid {
    display: grid;
    gap: var(--spacing-md);
    grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 1024px) {
    .stat-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--spacing-lg);
    }
}

.stat-block {
    background-color: var(--color-bg-white);
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(229, 220, 208, 0.3);
    padding: var(--spacing-lg) var(--spacing-md);
    box-shadow: var(--shadow-soft);
    text-align: center;
    transition: var(--transition-smooth);
}

.stat-block:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--color-accent);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4.5vw, 3.2rem);
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.35rem;
    line-height: 1;
}

.stat-number span {
    color: var(--color-accent);
}

.stat-label {
    font-family: var(--font-body);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-muted);
    font-weight: 600;
}

/* Accordion FAQ Blocks */
.faq-wrapper {
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background-color: var(--color-bg-white);
    border: 1px solid rgba(22, 59, 43, 0.06);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item[open] {
    border-color: var(--color-accent);
    box-shadow: var(--shadow-medium);
}

.faq-trigger {
    padding: var(--spacing-md) var(--spacing-lg);
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--color-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    user-select: none;
}

.faq-trigger::-webkit-details-marker {
    display: none;
}

.faq-trigger::after {
    content: '+';
    font-family: var(--font-body);
    font-size: 1.5rem;
    color: var(--color-accent);
    font-weight: 400;
    line-height: 1;
    transition: transform 0.3s ease;
}

.faq-item[open] .faq-trigger::after {
    content: '−';
    transform: rotate(180deg);
}

.faq-content {
    padding: 0 var(--spacing-lg) var(--spacing-md) var(--spacing-lg);
    font-size: 0.98rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.faq-content p:last-child {
    margin-bottom: 0;
}

/* Scroll-based video mockup system styles */
.scroll-video-wrapper {
    position: relative;
    width: 100%;
    background-color: var(--color-bg-dark);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(214, 168, 74, 0.15);
    overflow: hidden;
    padding: var(--spacing-md);
    box-shadow: var(--shadow-premium);
    margin-top: var(--spacing-lg);
}

@media (min-width: 1024px) {
    .scroll-video-wrapper {
        padding: var(--spacing-lg);
    }
}

.scroll-video-screen {
    position: relative;
    aspect-ratio: 16/9;
    background-color: #0d1411;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Simulated construction frames */
.construction-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--spacing-md);
    background-size: cover;
    background-position: center;
}

.construction-frame.active {
    opacity: 1;
    z-index: 2;
}

/* Grid layout overlays on the frames */
.construction-grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(214, 168, 74, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(214, 168, 74, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 1;
}

.construction-frame-details {
    position: relative;
    z-index: 3;
    background: rgba(18, 26, 22, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(214, 168, 74, 0.2);
    border-radius: var(--border-radius-md);
    padding: var(--spacing-sm) var(--spacing-md);
    max-width: 320px;
    align-self: flex-start;
    margin-bottom: var(--spacing-sm);
}

.construction-frame-details .phase {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.construction-frame-details .title {
    font-size: 1.15rem;
    color: var(--color-bg-white);
    margin-bottom: 0.25rem;
}

.construction-frame-details .description {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

/* Scrubber / Player Controls */
.video-controls-bar {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-sm);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

@media (min-width: 768px) {
    .video-controls-bar {
        flex-direction: row;
        align-items: center;
        gap: 1.5rem;
    }
}

.video-play-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--color-accent);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    flex-shrink: 0;
}

.video-play-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Scrub Timeline */
.scrubber-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-grow: 1;
    width: 100%;
}

.scrubber-track {
    position: relative;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    flex-grow: 1;
    cursor: pointer;
}

.scrubber-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 33%;
    background-color: var(--color-accent);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.scrubber-head {
    position: absolute;
    top: 50%;
    left: 33%;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: var(--color-accent);
    border: 2px solid var(--color-bg-dark);
    transform: translate(-50%, -50%);
    box-shadow: 0 0 8px var(--color-accent);
    transition: left 0.3s ease;
}

.scrubber-time-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.05em;
    flex-shrink: 0;
}

/* Construction click triggers */
.construction-selectors {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    width: 100%;
    padding-bottom: 0.25rem;
}

@media (min-width: 768px) {
    .construction-selectors {
        width: auto;
        flex-shrink: 0;
    }
}

.construction-select-trigger {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-sm);
    color: rgba(255, 255, 255, 0.6);
    padding: 0.45rem 1rem;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition-fast);
}

.construction-select-trigger.active,
.construction-select-trigger:hover {
    background: rgba(214, 168, 74, 0.15);
    border-color: var(--color-accent);
    color: var(--color-bg-white);
}

/* Vector construction blueprint mockup container */
.blueprint-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blueprint-svg {
    width: 70%;
    height: 70%;
    stroke: var(--color-accent);
    stroke-width: 1;
    fill: none;
    opacity: 0.85;
}

.blueprint-line-animate {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawBlueprint 4s ease forwards infinite;
}

@keyframes drawBlueprint {
    to {
        stroke-dashoffset: 0;
    }
}

/* Interactive Map and Locations Page Styles */
.map-section-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    background-color: var(--color-bg-dark);
    padding: var(--spacing-lg) var(--spacing-md);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(214, 168, 74, 0.15);
    box-shadow: var(--shadow-premium);
}

@media (min-width: 1024px) {
    .map-section-grid {
        grid-template-columns: 1.2fr 1fr;
        padding: var(--spacing-xl);
    }
}

.map-svg-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4/5;
    background-color: #0b1411;
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.map-base-svg {
    width: 85%;
    height: 85%;
    fill: none;
    stroke: rgba(255, 255, 255, 0.08);
    stroke-width: 1;
}

.map-outline-path {
    stroke: rgba(214, 168, 74, 0.25);
    stroke-width: 1.5;
    fill: rgba(35, 78, 63, 0.1);
}

/* Hotspot positioning */
.map-hotspot {
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--color-accent);
    border: 2px solid var(--color-bg-dark);
    cursor: pointer;
    z-index: 10;
    transform: translate(-50%, -50%);
    transition: var(--transition-fast);
}

.map-hotspot::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    border: 2px solid var(--color-accent);
    opacity: 0;
    animation: hotspotPulse 2.5s infinite;
}

@keyframes hotspotPulse {
    0% {
        transform: scale(0.6);
        opacity: 0;
    }

    55% {
        opacity: 0.6;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

.map-hotspot.active {
    background-color: var(--color-bg-white);
    border-color: var(--color-accent);
    transform: translate(-50%, -50%) scale(1.35);
    box-shadow: 0 0 15px var(--color-accent);
}

/* Map locations placement percentage rules */
.hotspot-belihuloya {
    top: 66%;
    left: 55%;
}

.hotspot-ella {
    top: 55%;
    left: 65%;
}

.hotspot-weligama {
    top: 85%;
    left: 50%;
}

/* Map details sidebar card */
.map-detail-card {
    background: rgba(18, 26, 22, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(214, 168, 74, 0.2);
    border-radius: var(--border-radius-md);
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--color-bg-light);
}

.map-detail-card h3 {
    color: var(--color-bg-white);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.map-detail-card .location-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: var(--spacing-md) 0;
    padding: var(--spacing-sm) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.map-detail-card .spec-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 0.05em;
}

.map-detail-card .spec-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-accent);
}

/* Scenic Nearby Attractions */
.attraction-card {
    background-color: var(--color-bg-white);
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(229, 220, 208, 0.3);
    padding: var(--spacing-md);
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.attraction-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
    border-color: var(--color-accent);
}

.attraction-card h4 {
    font-size: 1.25rem;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.attraction-card .distance-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

/* Accessibility infrastructure grid */
.accessibility-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
}

@media (min-width: 768px) {
    .accessibility-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.accessibility-card {
    background-color: var(--color-bg-white);
    border: 1px solid rgba(229, 220, 208, 0.4);
    border-radius: var(--border-radius-md);
    padding: var(--spacing-lg) var(--spacing-md);
    box-shadow: var(--shadow-soft);
    text-align: center;
    transition: var(--transition-smooth);
}

.accessibility-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--color-accent);
}

.accessibility-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--color-bg-light);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
    border: 1px solid rgba(214, 168, 74, 0.15);
}

.accessibility-icon svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 1.5;
    fill: none;
}

.accessibility-card h4 {
    font-size: 1.2rem;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.accessibility-card p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 0;
}

/* Investment Opportunities Custom Styles */
.specs-table-container {
    width: 100%;
    overflow-x: auto;
    background-color: var(--color-bg-white);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(229, 220, 208, 0.4);
    box-shadow: var(--shadow-soft);
    margin: var(--spacing-lg) 0;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
    font-family: var(--font-body);
}

.specs-table th {
    padding: 1.2rem;
    background-color: var(--color-primary);
    color: var(--color-bg-white);
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 500;
    border-bottom: 2px solid var(--color-accent);
    text-align: center;
}

.specs-table th:first-child {
    text-align: left;
    background-color: #19382e;
    color: var(--color-accent);
    border-bottom-color: var(--color-accent);
}

.specs-table td {
    padding: 1.1rem;
    border-bottom: 1px solid rgba(229, 220, 208, 0.2);
    text-align: center;
    font-size: 0.95rem;
    color: var(--color-text-dark);
}

.specs-table td:first-child {
    text-align: left;
    font-weight: 600;
    color: var(--color-primary);
}

.specs-table tr:nth-child(even) {
    background-color: rgba(248, 248, 245, 0.5);
}

.specs-table tr:hover {
    background-color: rgba(214, 168, 74, 0.02);
}

/* Specs Table Checkmark / Highlight values */
.spec-highlight {
    color: var(--color-accent-dark);
    font-weight: 600;
}

.spec-check {
    color: var(--color-primary);
    font-weight: bold;
}

/* Case Study Blocks */
.case-study-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    background-color: var(--color-bg-white);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(229, 220, 208, 0.4);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    margin-bottom: var(--spacing-lg);
}

@media (min-width: 768px) {
    .case-study-card {
        grid-template-columns: 1fr 1.2fr;
    }
}

.case-study-visual {
    background-color: var(--color-primary);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: var(--spacing-lg);
    color: var(--color-bg-light);
    position: relative;
    text-align: center;
    min-height: 280px;
}

.case-study-visual::before {
    content: 'Completed & Audited';
    position: absolute;
    top: var(--spacing-sm);
    left: var(--spacing-sm);
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    background-color: var(--color-accent);
    color: var(--color-primary);
    padding: 0.25rem 0.65rem;
    border-radius: var(--border-radius-sm);
    letter-spacing: 0.05em;
}

.case-study-yield {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 600;
    color: var(--color-accent);
    line-height: 1;
}

.case-study-yield-label {
    font-family: var(--font-body);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.25rem;
}

.case-study-content {
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.case-study-meta {
    font-family: var(--font-body);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-secondary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.case-study-content h3 {
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
    color: var(--color-primary);
}

.case-study-content p {
    font-size: 0.98rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
}

.case-study-metrics {
    display: flex;
    gap: 1.5rem;
    border-top: 1px solid rgba(229, 220, 208, 0.4);
    padding-top: var(--spacing-sm);
}

.case-study-metric-item {
    display: flex;
    flex-direction: column;
}

.case-study-metric-item .label {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
}

.case-study-metric-item .val {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-primary);
}

/* Land Details Template Styles */
.gallery-asymmetric-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-sm);
}

@media (min-width: 768px) {
    .gallery-asymmetric-grid {
        grid-template-columns: 2fr 1fr;
    }
}

.gallery-large-pane {
    aspect-ratio: 16/10;
    background-color: var(--color-primary);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    border: 1px solid rgba(214, 168, 74, 0.15);
}

.gallery-large-pane img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-side-column {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.gallery-side-pane {
    flex-grow: 1;
    aspect-ratio: 16/10;
    background-color: var(--color-primary-light);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    border: 1px solid rgba(214, 168, 74, 0.1);
}

@media (min-width: 768px) {
    .gallery-side-pane {
        aspect-ratio: auto;
    }
}

.gallery-side-pane img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Drone Gallery horizontal strip */
.drone-strip-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-sm);
}

@media (min-width: 768px) {
    .drone-strip-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.drone-pane {
    aspect-ratio: 4/3;
    background-color: var(--color-primary);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.drone-pane img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 360° Virtual Tour Mockup Player */
.viewer-360-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background-color: #0b1411;
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(214, 168, 74, 0.15);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-premium);
}

.viewer-360-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.25;
    z-index: 1;
}

.viewer-360-console {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--color-bg-light);
    max-width: 480px;
    padding: var(--spacing-md);
}

.viewer-360-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background-color: rgba(214, 168, 74, 0.2);
    border: 2px solid var(--color-accent);
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-sm);
    cursor: pointer;
    box-shadow: 0 0 20px rgba(214, 168, 74, 0.3);
    transition: var(--transition-smooth);
}

.viewer-360-icon:hover {
    transform: scale(1.1);
    background-color: var(--color-accent);
    color: var(--color-primary);
}

.viewer-360-icon svg {
    width: 32px;
    height: 32px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
}

.viewer-360-compass {
    font-family: var(--font-body);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-accent);
    margin-top: 0.5rem;
}

/* Floating Sticky Bottom CTA Bar */
.sticky-cta-panel {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background-color: rgba(18, 26, 22, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(214, 168, 74, 0.25);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--spacing-md);
    z-index: 999;
    box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.25);
}

@media (min-width: 768px) {
    .sticky-cta-panel {
        padding: 0 var(--spacing-xl);
    }
}

.sticky-cta-left {
    display: flex;
    flex-direction: column;
}

.sticky-cta-left .title-lbl {
    font-family: var(--font-body);
    font-size: 0.75rem;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 0.05em;
}

.sticky-cta-left .price-val {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--color-accent);
}

.has-sticky-cta {
    padding-bottom: 80px;
    /* offset bottom panel so content isn't clipped */
}

/* About Us Corporate Profile Styles */
.team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.team-card {
    background-color: var(--color-bg-white);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(229, 220, 208, 0.4);
    padding: var(--spacing-lg);
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: rgba(214, 168, 74, 0.3);
}

.team-card-image-placeholder {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: var(--color-primary-light);
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    border: 2px solid var(--color-accent);
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 500;
}

.team-card h4 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.team-card .role {
    font-family: var(--font-body);
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--color-secondary);
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.team-card p {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    margin-bottom: 0;
}

.statement-box {
    background-color: var(--color-bg-white);
    border-left: 4px solid var(--color-accent);
    padding: var(--spacing-lg);
    border-radius: 0 var(--border-radius-lg) var(--border-radius-lg) 0;
    box-shadow: var(--shadow-soft);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.statement-box h3 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.statement-box p {
    font-size: 0.98rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Contact Us Custom Styles */
.contact-split-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    align-items: flex-start;
}

@media (min-width: 992px) {
    .contact-split-grid {
        grid-template-columns: 1fr 1.3fr;
    }
}

.contact-detail-card {
    background-color: var(--color-bg-white);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(229, 220, 208, 0.4);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-soft);
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

.contact-detail-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--color-primary-light);
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid var(--color-accent);
}

.contact-detail-icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

.contact-detail-text h4 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    font-size: 1.15rem;
    margin-bottom: 0.25rem;
}

.contact-detail-text p {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-text-dark);
    margin-bottom: 0;
    line-height: 1.5;
}

.contact-detail-text a {
    color: var(--color-secondary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.contact-detail-text a:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

.social-share-box {
    margin-top: 1.5rem;
    display: flex;
    gap: 0.75rem;
    justify-content: flex-start;
}

/* Custom Design Section Layout */
.custom-design-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.custom-design-left {
    padding-right: 0;
}

.custom-design-right {
    border-left: none;
    padding-left: 0;
    margin-top: var(--spacing-md);
}

@media (min-width: 768px) {
    .custom-design-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
    }

    .custom-design-left {
        padding-right: var(--spacing-xl);
    }

    .custom-design-right {
        border-left: 1px solid rgba(22, 59, 43, 0.12);
        padding-left: var(--spacing-xl);
        margin-top: 0;
    }
}

/* Floor Plans & Specs Section Layout */
.specs-preview-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.specs-preview-left {
    text-align: center;
}

.specs-preview-left img {
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(22, 59, 43, 0.06);
    border-radius: var(--border-radius-md);
    max-width: 100%;
    height: auto;
    display: block;
}

.specs-preview-right {
    padding-left: 0;
    margin-top: var(--spacing-md);
}

@media (min-width: 768px) {
    .specs-preview-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-xl);
    }

    .specs-preview-left {
        text-align: center;
    }

    .specs-preview-right {
        padding-left: var(--spacing-lg);
        margin-top: 0;
    }
}

/* Opportunities Page Case Studies Layout */
.case-studies-stack .case-study-card {
    grid-template-columns: 1fr;
}

.case-studies-stack .case-study-visual {
    min-height: 220px;
    padding: var(--spacing-md);
}

.case-studies-stack .case-study-yield {
    font-size: 3.25rem;
}

/* Interactive Full-Width Map Layout */
.map-full-container {
    position: relative;
    width: 100%;
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(214, 168, 74, 0.15);
    box-shadow: var(--shadow-premium);
    background-color: #0b1411;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.map-svg-full {
    width: 100%;
    min-height: 520px;
    height: 65vh;
    max-height: 750px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.map-detail-overlay {
    position: relative;
    width: 100%;
    background: rgba(18, 26, 22, 0.95);
    border-top: 1px solid rgba(214, 168, 74, 0.15);
    padding: var(--spacing-lg);
    color: var(--color-bg-light);
    z-index: 20;
    max-height: 600px;
    overflow-y: auto;
}

.map-hotspot.hotspot-future {
    background-color: rgba(22, 59, 43, 0.85);
    border: 2px dashed var(--color-accent);
}

.map-hotspot.hotspot-future::after {
    border-color: rgba(214, 168, 74, 0.35);
    animation-duration: 4s;
}

.hotspot-knuckles {
    top: 46%;
    left: 58%;
}

@media (min-width: 992px) {
    .map-svg-full {
        height: 75vh;
        max-height: 800px;
    }

    .map-detail-overlay {
        position: absolute;
        top: 2rem;
        right: 2rem;
        bottom: 2rem;
        width: 420px;
        border-radius: var(--border-radius-md);
        border: 1px solid rgba(214, 168, 74, 0.2);
        box-shadow: var(--shadow-premium);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        background: rgba(18, 26, 22, 0.88);
        border-top: 1px solid rgba(214, 168, 74, 0.2);
    }
}

/* Hero Background Video Styles & Centering */
.hero-video-section-wrapper {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: calc(80px + 4rem);
    padding-bottom: 5rem;
}

@media (max-width: 767px) {
    .hero-video-section-wrapper {
        min-height: 80vh;
        padding-top: calc(70px + 3rem);
        padding-bottom: 4rem;
    }
}

.hero-video-container {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100% - 80px);
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 767px) {
    .hero-video-container {
        top: 70px;
        height: calc(100% - 70px);
    }
}

.hero-video-element {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    opacity: 0.85;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(14, 28, 22, 0.4) 0%, rgba(14, 28, 22, 0.6) 50%, rgba(14, 28, 22, 0.85) 100%);
    z-index: 2;
}

.hero-video-content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 0 var(--spacing-sm);
}

/* ==========================================================================
   Comprehensive Mobile & Universal Device Responsiveness
   ========================================================================== */

/* Universal Reset & Overflow Protection */
html,
body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    width: 100% !important;
}

img,
video,
iframe,
svg,
canvas {
    max-width: 100%;
    height: auto;
}

/* Mobile Screens (< 768px) */
@media (max-width: 767.98px) {
    .container {
        padding-left: 1.25rem !important;
        padding-right: 1.25rem !important;
    }

    .section {
        padding-top: 3.25rem !important;
        padding-bottom: 3.25rem !important;
    }

    .section-spacious {
        padding-top: 4rem !important;
        padding-bottom: 4rem !important;
    }

    /* Top Navigation Bar */
    .navbar-glass {
        height: 70px !important;
    }

    .navbar-spacer {
        height: 70px !important;
    }

    .navbar-logo {
        margin-left: 0 !important;
        gap: 0.6rem !important;
    }

    .navbar-logo-img {
        height: 52px !important;
    }

    .navbar-logo-text .brand-primary {
        font-size: 1.1rem !important;
    }

    .navbar-logo-text .brand-secondary {
        font-size: 0.95rem !important;
    }

    /* Mobile Navigation Drawer */
    .navbar-menu-mobile {
        padding: 1.25rem 1.25rem 2rem 1.25rem !important;
        gap: 1rem !important;
    }

    .navbar-menu-mobile .btn-outline {
        color: var(--color-accent) !important;
        border-color: var(--color-accent) !important;
        width: 80% !important;
        max-width: 280px !important;
        margin: 1rem auto 0 auto !important;
    }

    .navbar-menu-mobile .btn-outline:hover {
        background-color: var(--color-accent) !important;
        color: var(--color-primary) !important;
    }

    /* Typography Scaling */
    h1,
    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem) !important;
        line-height: 1.18 !important;
    }

    h2,
    .section-title {
        font-size: clamp(1.6rem, 6vw, 2.2rem) !important;
        line-height: 1.22 !important;
    }

    h3 {
        font-size: clamp(1.3rem, 5vw, 1.6rem) !important;
    }

    .hero-subtitle,
    .section-subtitle {
        font-size: 0.75rem !important;
        letter-spacing: 0.15em !important;
    }

    .hero-description,
    .section-desc,
    p {
        font-size: 0.98rem !important;
        line-height: 1.6 !important;
    }

    /* Button Layouts */
    .hero-actions,
    .btn-group {
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100% !important;
        gap: 0.75rem !important;
    }

    .hero-actions .btn,
    .hero-actions a {
        width: 100% !important;
        text-align: center !important;
        justify-content: center !important;
    }

    /* Grids & Cards Layout */
    .grid-cols-2,
    .grid-cols-3,
    .grid-cols-4 {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
    }

    .card-wrapper {
        height: auto !important;
    }

    .video-grid-wrapper {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
    }

    .video-card-container {
        height: 280px !important;
        width: 100% !important;
        max-width: 95vw !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .card-image-container {
        aspect-ratio: 16/10 !important;
        height: auto !important;
    }

    .card-image-container img {
        height: 100% !important;
        max-height: 240px !important;
    }

    /* Inline Grid Overrides on Mobile */
    div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
    }

    div[style*="padding-left: 2.5rem"],
    div[style*="padding-left: var(--spacing-lg)"],
    div[style*="padding-left: var(--spacing-xl)"] {
        padding-left: 0 !important;
    }

    div[style*="padding-right: var(--spacing-md)"],
    div[style*="padding-right: var(--spacing-lg)"],
    div[style*="padding-right: var(--spacing-xl)"] {
        padding-right: 0 !important;
    }

    div[style*="gap: 4rem"],
    div[style*="gap: 3rem"],
    div[style*="gap: var(--spacing-xl)"],
    div[style*="gap: var(--spacing-2xl)"] {
        gap: 1.5rem !important;
    }

    /* Tables & Specs */
    .specs-table-container,
    .table-responsive {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        display: block !important;
        width: 100% !important;
    }

    /* Modal Form Scaling */
    .modal-content-wrapper {
        max-width: 95% !important;
        margin: 0.5rem !important;
        max-height: 92vh !important;
    }

    .modal-body {
        padding: 1.5rem 1.25rem !important;
    }

    .modal-header h3 {
        font-size: 1.5rem !important;
    }

    /* Land & Villa Details Responsive Overrides */
    div[style*="flex: 1 1 calc(33.333% - 1rem)"] {
        flex: 1 1 100% !important;
        min-width: 100% !important;
    }

    div[style*="flex: 3 1 500px"] {
        flex: 1 1 100% !important;
        padding-left: 0 !important;
    }

    div[style*="flex: 1 1 280px"] {
        flex: 1 1 100% !important;
    }

    div[style*="max-width: 75%"] {
        max-width: 100% !important;
    }

    /* Footer Mobile Adjustments */
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .footer-brand p {
        max-width: 100% !important;
    }

    .footer-bottom {
        flex-direction: column !important;
        text-align: center !important;
    }
}

/* Tablet Screens (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023.98px) {
    .container {
        padding-left: 2rem !important;
        padding-right: 2rem !important;
    }

    .grid-cols-3,
    .grid-cols-4 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem !important;
    }

    .hero-title {
        font-size: clamp(2.5rem, 5vw, 3.5rem) !important;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 2.5rem !important;
    }
}