/* 
* District X - Main Stylesheet
* Modern 2025 Design - Premium Commercial Property
*/

/* ===== CSS Variables - Modern 2025 Color Palette ===== */
:root {
    /* Primary Colors - Sophisticated Navy & Teal */
    --primary-color: #0A2540;
    --primary-light: #1a3a5a;
    --secondary-color: #00D4AA;
    --secondary-dark: #00B894;
    --accent-color: #635BFF;
    
    /* Neutral Colors */
    --neutral-50: #F8FAFC;
    --neutral-100: #F1F5F9;
    --neutral-200: #E2E8F0;
    --neutral-300: #CBD5E1;
    --neutral-400: #94A3B8;
    --neutral-500: #64748B;
    --neutral-600: #475569;
    --neutral-700: #334155;
    --neutral-800: #1E293B;
    --neutral-900: #0F172A;
    
    /* Semantic Colors */
    --text-primary: #0F172A;
    --text-secondary: #475569;
    --text-tertiary: #94A3B8;
    --background: #FFFFFF;
    --background-secondary: #F8FAFC;
    --border-color: #E2E8F0;
    
    /* Spacing System */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;
    
    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Shadows - Modern & Subtle */
    --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slower: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Typography Scale */
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    --font-size-6xl: 3.75rem;
    
    /* Z-index Scale */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
}

/* ===== Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Smooth Scrolling - Enhanced */
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-padding-top: 80px; /* Account for fixed navbar */
}

/* Prevent layout shift during animations */
body {
    overflow-x: hidden;
}

/* Smoother scrolling performance */
* {
    scroll-margin-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--background);
    font-size: var(--font-size-base);
    /* Optimize scrolling performance */
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

/* Optimize sections for smooth animations */
section {
    position: relative;
    /* Promote to own layer for better performance */
    will-change: auto;
}

/* Modern Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}

h1 {
    font-size: var(--font-size-5xl);
    font-weight: 800;
}

h2 {
    font-size: var(--font-size-4xl);
}

h3 {
    font-size: var(--font-size-2xl);
    font-weight: 600;
}

h4 {
    font-size: var(--font-size-xl);
    font-weight: 600;
}

p {
    margin-bottom: var(--spacing-md);
    color: var(--text-secondary);
    line-height: 1.7;
}

.lead {
    font-size: var(--font-size-lg);
    line-height: 1.8;
    color: var(--text-secondary);
}

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

a:hover {
    color: var(--secondary-dark);
}

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

/* Image Loading Optimization */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity var(--transition-slower);
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* Ensure non-lazy images are visible immediately */
img:not([loading="lazy"]) {
    opacity: 1;
}

/* Image aspect ratio containers */
.space-image img,
.showcase-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ===== Utility Classes ===== */
.section-padding {
    padding: var(--spacing-3xl) 0;
}

.section-header {
    margin-bottom: var(--spacing-2xl);
}

.section-header h2 {
    font-size: var(--font-size-4xl);
    margin-bottom: var(--spacing-md);
    position: relative;
    display: inline-block;
}

.section-header h2:after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -12px;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    transform: translateX(-50%);
    border-radius: var(--radius-full);
}

.section-header p {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Fade-in animations for scroll reveal - Optimized for smooth UX */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: opacity, transform;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
    will-change: auto;
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: opacity, transform;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
    will-change: auto;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: opacity, transform;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
    will-change: auto;
}

.scale-in {
    opacity: 0;
    transform: scale(0.97);
    transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: opacity, transform;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
    will-change: auto;
}

/* ===== Modern Button Styles ===== */
.btn {
    padding: 14px 32px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: var(--font-size-base);
    letter-spacing: 0.01em;
    transition: all var(--transition-base);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width var(--transition-base), height var(--transition-base);
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    border-color: var(--secondary-color);
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary-dark), var(--secondary-color));
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white;
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
}

.btn-outline-primary {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-light {
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary-color);
    border-color: white;
    transform: translateY(-2px);
}

.btn-light {
    background: white;
    color: var(--primary-color);
    border-color: white;
    box-shadow: var(--shadow-md);
}

.btn-light:hover {
    background: var(--neutral-100);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--primary-color);
}

.btn-lg {
    padding: 16px 40px;
    font-size: var(--font-size-lg);
}

.btn-sm {
    padding: 10px 24px;
    font-size: var(--font-size-sm);
}

.bg-light {
    background-color: var(--background-secondary) !important;
}

/* ===== Header & Navigation - Modern 2025 ===== */
.header {
    position: relative;
}

.navbar {
    padding: var(--spacing-md) 0;
    transition: all var(--transition-base);
    background-color: rgba(255, 255, 255, 0.95);
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    padding: var(--spacing-sm) 0;
}

.navbar-brand {
    padding: 0;
    transition: transform var(--transition-base);
}

.navbar-brand:hover {
    transform: scale(1.02);
}

.logo {
    height: 45px;
    transition: height var(--transition-base);
}

.navbar.scrolled .logo {
    height: 38px;
}

.navbar-nav {
    gap: 0.5rem;
}

.navbar-nav .nav-link {
    color: var(--text-primary);
    font-weight: 600;
    font-size: var(--font-size-sm);
    padding: var(--spacing-xs) var(--spacing-md);
    position: relative;
    transition: all var(--transition-base);
    border-radius: var(--radius-md);
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    transition: all var(--transition-base);
    transform: translateX(-50%);
    border-radius: var(--radius-full);
}

.navbar-nav .nav-link:hover {
    color: var(--secondary-color);
}

.navbar-nav .nav-link:hover::before,
.navbar-nav .nav-link.active::before {
    width: 24px;
}

.navbar-nav .nav-link.active {
    color: var(--secondary-color);
}

/* Mobile Menu Improvements */
.navbar-toggler {
    border: none;
    padding: var(--spacing-xs);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(0, 212, 170, 0.2);
}

.navbar-toggler:hover {
    background-color: var(--neutral-100);
}

/* ===== Hero Section - Enhanced Modern 2025 ===== */
.hero {
    height: 100vh;
    min-height: 700px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    color: white;
    position: relative;
    overflow: hidden;
}

/* Animated gradient overlay */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 212, 170, 0.1) 0%,
        rgba(99, 91, 255, 0.1) 100%
    );
    animation: gradient-shift 15s ease infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes gradient-shift {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.6;
    }
}

/* Floating decoration elements */
.hero-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 212, 170, 0.15), transparent);
    animation: float 20s infinite ease-in-out;
}

.circle-1 {
    width: 400px;
    height: 400px;
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.circle-2 {
    width: 300px;
    height: 300px;
    bottom: 15%;
    left: 15%;
    animation-delay: 5s;
}

.circle-3 {
    width: 250px;
    height: 250px;
    top: 50%;
    right: 30%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-30px) scale(1.1);
        opacity: 0.5;
    }
}

.hero-content {
    width: 100%;
    padding: var(--spacing-3xl) 0;
    position: relative;
    z-index: 2;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: var(--spacing-lg);
    animation: fadeInDown 0.8s ease-out;
}

.badge-icon {
    color: var(--secondary-color);
    font-size: 18px;
}

.badge-text {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced Typography */
.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    margin-bottom: var(--spacing-lg);
    color: white;
    line-height: 1.15;
    letter-spacing: -0.03em;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero-title-highlight {
    display: block;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: var(--font-size-xl);
    line-height: 1.7;
    margin-bottom: var(--spacing-xl);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    max-width: 600px;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

/* Key Highlights */
.hero-highlights {
    display: flex;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
    margin-bottom: var(--spacing-xl);
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: var(--font-size-base);
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
}

.highlight-item i {
    color: var(--secondary-color);
    font-size: 18px;
}

/* Modern CTA Buttons */
.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    margin-bottom: var(--spacing-2xl);
    animation: fadeInUp 0.8s ease-out 0.8s backwards;
}

.btn-hero-primary,
.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 18px 36px;
    border-radius: var(--radius-lg);
    font-size: var(--font-size-base);
    font-weight: 700;
    transition: all var(--transition-base);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn-hero-primary {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    color: white;
    box-shadow: 0 10px 30px rgba(0, 212, 170, 0.4);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 212, 170, 0.5);
    color: white;
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
    color: white;
}

/* Trust Indicators */
.hero-trust {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
    animation: fadeInUp 0.8s ease-out 1s backwards;
}

.trust-item {
    text-align: center;
}

.trust-number {
    font-size: var(--font-size-3xl);
    font-weight: 800;
    color: white;
    line-height: 1;
    margin-bottom: var(--spacing-xs);
}

.trust-label {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.trust-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
}

/* Hero Feature Cards */
.hero-cards {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    animation: fadeInRight 0.8s ease-out 0.6s backwards;
}

.hero-info-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-xl);
    padding: var(--spacing-lg);
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    transition: all var(--transition-base);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.hero-info-card:hover {
    transform: translateX(-10px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.hero-info-card .card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    flex-shrink: 0;
}

.hero-info-card .card-content h3 {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: white;
    margin-bottom: 4px;
}

.hero-info-card .card-content p {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.hero-info-card.card-2 {
    animation-delay: 0.8s;
}

.hero-info-card.card-3 {
    animation-delay: 1s;
}

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

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

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--font-size-sm);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    animation: fadeIn 0.8s ease-out 1.2s backwards;
    z-index: 10;
}

.scroll-arrow {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 8px;
    animation: scroll-bounce 2s infinite;
}

.scroll-arrow i {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

@keyframes scroll-bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ===== Features Section - Modern Cards ===== */
.features {
    background: var(--background);
    /* Prevent layout shift */
    min-height: auto;
}

.features .feature-box {
    text-align: center;
    padding: var(--spacing-xl);
    margin-bottom: var(--spacing-lg);
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    /* Optimize for animation performance */
    backface-visibility: hidden;
    transform: translateZ(0);
}

.features .feature-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.features .feature-box:hover::before {
    transform: scaleX(1);
}

.features .feature-box:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-8px);
    border-color: transparent;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    background: linear-gradient(135deg, var(--neutral-100), var(--neutral-50));
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--secondary-color);
    transition: all var(--transition-base);
    position: relative;
}

.feature-icon::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: var(--radius-xl);
    z-index: -1;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.feature-box:hover .feature-icon {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: white;
    transform: scale(1.05) rotate(5deg);
}

.feature-box:hover .feature-icon::after {
    opacity: 1;
}

.feature-box h3 {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.feature-box p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 0;
}

/* ===== Property Showcase ===== */
.property-showcase {
    background: var(--background-secondary);
}

.property-showcase .showcase-content {
    padding: var(--spacing-lg) 0;
}

.showcase-content h3 {
    margin-bottom: var(--spacing-md);
    font-size: var(--font-size-3xl);
    color: var(--text-primary);
}

.showcase-content p {
    font-size: var(--font-size-lg);
    line-height: 1.8;
    color: var(--text-secondary);
}

.showcase-features {
    list-style: none;
    margin: var(--spacing-xl) 0;
    display: grid;
    gap: var(--spacing-md);
}

.showcase-features li {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: white;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
}

.showcase-features li:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
    border-color: var(--secondary-color);
}

.showcase-features li i {
    color: var(--secondary-color);
    font-size: 20px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 170, 0.1);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.showcase-image {
    position: relative;
}

.showcase-image img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
    transition: transform var(--transition-slow);
}

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

.showcase-image::before {
    content: '';
    position: absolute;
    inset: -10px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: var(--radius-xl);
    z-index: -1;
    opacity: 0.1;
}

/* ===== Available Spaces - Modern Cards ===== */
.available-spaces {
    background: white;
}

.space-card {
    margin-bottom: var(--spacing-lg);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    background: white;
    border: 1px solid var(--border-color);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.space-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl);
    border-color: transparent;
}

.space-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.space-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.space-badge {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    color: white;
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
}

.space-details {
    padding: var(--spacing-lg);
    background: white;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.space-details h3 {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
}

.space-details p {
    color: var(--text-tertiary);
    margin-bottom: var(--spacing-md);
    font-size: var(--font-size-sm);
    flex: 1;
}

.space-details .btn {
    margin-top: auto;
}

/* ===== Testimonials - Modern Design ===== */
.testimonials {
    background: var(--background-secondary);
}

.testimonial-card {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--spacing-lg);
    position: relative;
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: var(--spacing-lg);
    left: var(--spacing-lg);
    font-size: 80px;
    line-height: 1;
    color: var(--secondary-color);
    opacity: 0.15;
    font-family: Georgia, serif;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--secondary-color);
}

.testimonial-content {
    margin-bottom: var(--spacing-lg);
    flex: 1;
    position: relative;
    z-index: 1;
}

.testimonial-content p {
    font-style: normal;
    font-size: var(--font-size-base);
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--border-color);
}

.author-image {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-full);
    overflow: hidden;
    border: 3px solid var(--secondary-color);
    flex-shrink: 0;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    margin-bottom: 4px;
    font-size: var(--font-size-base);
    font-weight: 700;
    color: var(--text-primary);
}

.author-info p {
    color: var(--text-tertiary);
    margin: 0;
    font-size: var(--font-size-sm);
}

/* ===== CTA Section - Modern Gradient ===== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    padding: var(--spacing-3xl) 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 212, 170, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(99, 91, 255, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.cta-section .row {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    color: white;
    margin-bottom: var(--spacing-xs);
    font-size: var(--font-size-4xl);
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--font-size-lg);
    margin-bottom: 0;
}

/* ===== Newsletter - Modern Form ===== */
.newsletter {
    background: var(--background-secondary);
}

.newsletter h3 {
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.newsletter p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
}

.newsletter-form {
    max-width: 540px;
    margin: 0 auto;
}

.newsletter-form .input-group {
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: white;
    border: 2px solid transparent;
    transition: all var(--transition-base);
}

.newsletter-form .input-group:focus-within {
    border-color: var(--secondary-color);
    box-shadow: var(--shadow-xl), 0 0 0 4px rgba(0, 212, 170, 0.1);
}

.newsletter-form .form-control {
    height: 56px;
    border: none;
    padding: 0 var(--spacing-md);
    font-size: var(--font-size-base);
    background: white;
}

.newsletter-form .form-control:focus {
    box-shadow: none;
    outline: none;
}

.newsletter-form .form-control::placeholder {
    color: var(--text-tertiary);
}

.newsletter-form .btn {
    height: 56px;
    border: none;
    padding: 0 var(--spacing-xl);
    font-weight: 700;
}

/* ===== Footer - Modern Dark Theme ===== */
.footer {
    background: linear-gradient(135deg, var(--neutral-900) 0%, var(--primary-color) 100%);
    color: rgba(255, 255, 255, 0.9);
    padding: var(--spacing-3xl) 0 0;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
}

.footer-logo {
    height: 42px;
    margin-bottom: var(--spacing-md);
}

.footer h4 {
    color: white;
    margin-bottom: var(--spacing-lg);
    font-size: var(--font-size-lg);
    position: relative;
    padding-bottom: var(--spacing-sm);
    font-weight: 700;
}

.footer h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    border-radius: var(--radius-full);
}

.footer-about p {
    margin-bottom: var(--spacing-lg);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    backdrop-filter: blur(10px);
}

.social-links a:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

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

.footer-links ul li {
    margin-bottom: var(--spacing-sm);
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--transition-base);
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.footer-links ul li a::before {
    content: '→';
    opacity: 0;
    transform: translateX(-10px);
    transition: all var(--transition-base);
}

.footer-links ul li a:hover {
    color: var(--secondary-color);
}

.footer-links ul li a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-contact p,
.footer-hours p {
    margin-bottom: var(--spacing-sm);
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
}

.footer-contact i {
    color: var(--secondary-color);
    width: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-hours p strong {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--spacing-lg) 0;
    margin-top: var(--spacing-3xl);
}

.footer-bottom p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--font-size-sm);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-base);
}

.footer-bottom a:hover {
    color: var(--secondary-color);
}

/* ===== Statistics Section ===== */
.stats-section {
    position: relative;
    overflow: hidden;
}

.stat-box {
    padding: var(--spacing-lg);
    transition: transform var(--transition-base);
}

.stat-box:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: var(--font-size-5xl);
    font-weight: 800;
    color: white;
    margin-bottom: var(--spacing-xs);
    font-family: 'Inter', sans-serif;
}

.stat-label {
    font-size: var(--font-size-base);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ===== Location Section ===== */
.location-section .location-map {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.location-section .location-map img {
    transition: transform var(--transition-slow);
}

.location-section .location-map:hover img {
    transform: scale(1.05);
}

.location-info h3 {
    margin-bottom: var(--spacing-lg);
}

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

.location-item {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: white;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
}

.location-item:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
    border-color: var(--secondary-color);
}

.location-item-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    flex-shrink: 0;
}

.location-item-content h4 {
    margin-bottom: var(--spacing-xs);
    font-size: var(--font-size-lg);
    color: var(--text-primary);
}

.location-item-content p {
    margin-bottom: 0;
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
}

/* ===== Building Specifications ===== */
.spec-card {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
    height: 100%;
}

.spec-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.spec-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.spec-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.spec-content {
    padding: var(--spacing-lg);
}

.spec-content h3 {
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
    font-size: var(--font-size-xl);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.spec-content h3 i {
    color: var(--secondary-color);
}

.spec-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.spec-content ul li {
    padding: var(--spacing-xs) 0;
    padding-left: var(--spacing-lg);
    position: relative;
    color: var(--text-secondary);
    line-height: 1.6;
}

.spec-content ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* ===== Virtual Tour Section ===== */
.virtual-tour-section {
    position: relative;
}

.tour-content h2 {
    margin-bottom: var(--spacing-md);
}

.tour-features {
    list-style: none;
    padding: 0;
    margin: var(--spacing-lg) 0;
}

.tour-features li {
    padding: var(--spacing-sm) 0;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: var(--font-size-lg);
}

.tour-features li i {
    color: var(--secondary-color);
    font-size: 20px;
}

.tour-buttons {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    margin-top: var(--spacing-xl);
}

.tour-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
}

.tour-image img {
    transition: transform var(--transition-slow);
}

.tour-image:hover img {
    transform: scale(1.05);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 30px;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-xl);
}

.play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: var(--shadow-2xl);
}

.play-button i {
    padding-left: 5px;
}

/* ===== News Preview Section ===== */
.news-preview-card {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-preview-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.news-preview-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.news-preview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.news-preview-card:hover .news-preview-image img {
    transform: scale(1.1);
}

.news-date {
    position: absolute;
    top: var(--spacing-md);
    left: var(--spacing-md);
    background: white;
    padding: var(--spacing-sm);
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-lg);
    min-width: 60px;
}

.news-date .day {
    display: block;
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}

.news-date .month {
    display: block;
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    text-transform: uppercase;
    font-weight: 600;
    margin-top: 2px;
}

.news-preview-content {
    padding: var(--spacing-lg);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-category {
    display: inline-block;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: white;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--spacing-sm);
    width: fit-content;
}

.news-preview-content h3 {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.news-preview-content p {
    color: var(--text-secondary);
    flex: 1;
}

.read-more {
    color: var(--secondary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    transition: all var(--transition-base);
}

.read-more:hover {
    gap: var(--spacing-sm);
    color: var(--accent-color);
}

/* ===== Partners Section ===== */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.partner-logo {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
    min-height: 120px;
}

.partner-logo:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
    border-color: var(--secondary-color);
}

.partner-placeholder {
    text-align: center;
}

.partner-placeholder i {
    font-size: 40px;
    color: var(--secondary-color);
    margin-bottom: var(--spacing-sm);
    display: block;
}

.partner-placeholder span {
    display: block;
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    font-weight: 600;
}

/* ===== FAQ Section ===== */
.faq-section .accordion {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.faq-section .accordion-item {
    background: white;
    border: 1px solid var(--border-color);
    margin-bottom: var(--spacing-sm);
    border-radius: var(--radius-md) !important;
    overflow: hidden;
}

.faq-section .accordion-item:last-child {
    margin-bottom: 0;
}

.faq-section .accordion-button {
    background: white;
    color: var(--text-primary);
    font-weight: 600;
    font-size: var(--font-size-lg);
    padding: var(--spacing-lg);
    border: none;
    transition: all var(--transition-base);
}

.faq-section .accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.1), rgba(99, 91, 255, 0.1));
    color: var(--secondary-color);
    box-shadow: none;
}

.faq-section .accordion-button:focus {
    box-shadow: 0 0 0 3px rgba(0, 212, 170, 0.2);
    border-color: var(--secondary-color);
}

.faq-section .accordion-button::after {
    background-image: none;
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    transition: transform var(--transition-base);
}

.faq-section .accordion-button:not(.collapsed)::after {
    transform: rotate(180deg);
}

.faq-section .accordion-body {
    padding: var(--spacing-lg);
    color: var(--text-secondary);
    line-height: 1.7;
    background: white;
}

.faq-section .accordion-header {
    margin-bottom: 0;
}

/* ===== Floor Plans Page - Building Overview ===== */
.building-overview {
    padding: var(--spacing-lg) 0;
}

.building-overview h3 {
    font-size: var(--font-size-3xl);
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.overview-intro {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--spacing-xl);
}

.building-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.stat-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    transition: all var(--transition-base);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-color);
}

.stat-card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    flex-shrink: 0;
}

.stat-card-content {
    flex: 1;
}

.stat-number {
    font-size: var(--font-size-2xl);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    font-weight: 500;
}

.building-features-list {
    background: var(--background-secondary);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    border: 1px solid var(--border-color);
}

.building-features-list h4 {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.building-features-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.building-features-list li {
    padding: var(--spacing-sm) 0;
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    color: var(--text-secondary);
    line-height: 1.6;
}

.building-features-list li i {
    color: var(--secondary-color);
    margin-top: 3px;
    flex-shrink: 0;
}

.building-image-container {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.building-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.image-overlay-badge {
    position: absolute;
    bottom: var(--spacing-lg);
    left: var(--spacing-lg);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.badge-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.badge-item i {
    color: var(--secondary-color);
    font-size: 20px;
}

.badge-item span {
    font-weight: 700;
    color: var(--text-primary);
    font-size: var(--font-size-base);
}

/* ===== Back to Top Button - Modern Design ===== */
.back-to-top {
    position: fixed;
    bottom: var(--spacing-lg);
    right: var(--spacing-lg);
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    color: white;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: var(--z-fixed);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-lg);
    border: 2px solid white;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    color: white;
}

.back-to-top i {
    font-size: 18px;
}

/* ===== Responsive Styles - Mobile First ===== */

/* Tablet & Below (991px) */
@media (max-width: 991px) {
    :root {
        --font-size-6xl: 3rem;
        --font-size-5xl: 2.5rem;
        --font-size-4xl: 2rem;
        --font-size-3xl: 1.75rem;
    }
    
    .navbar-collapse {
        background: white;
        padding: var(--spacing-md);
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-lg);
        margin-top: var(--spacing-md);
        border: 1px solid var(--border-color);
    }
    
    .navbar-nav {
        gap: 0;
    }
    
    .navbar-nav .nav-link {
        padding: var(--spacing-sm) var(--spacing-md);
    }
    
    .hero {
        background-attachment: scroll;
        min-height: 650px;
    }
    
    .hero-title {
        font-size: clamp(2.5rem, 6vw, 3.5rem);
    }
    
    .hero-subtitle {
        font-size: var(--font-size-lg);
    }
    
    .hero-cards {
        margin-top: var(--spacing-2xl);
    }
    
    .hero-info-card {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .section-padding {
        padding: var(--spacing-2xl) 0;
    }
    
    .section-header h2 {
        font-size: var(--font-size-3xl);
    }
}

/* Mobile Landscape & Below (767px) */
@media (max-width: 767px) {
    :root {
        --spacing-3xl: 4rem;
        --spacing-2xl: 3rem;
    }
    
    .hero {
        min-height: 600px;
        height: auto;
        background-attachment: scroll;
    }
    
    .hero-content {
        text-align: center;
        padding: var(--spacing-2xl) 0 var(--spacing-3xl);
    }
    
    .hero-badge {
        justify-content: center;
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .hero-subtitle {
        font-size: var(--font-size-base);
        max-width: 100%;
    }
    
    .hero-highlights {
        flex-direction: column;
        gap: var(--spacing-sm);
        align-items: center;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .hero-trust {
        justify-content: center;
        gap: var(--spacing-md);
    }
    
    .trust-number {
        font-size: var(--font-size-2xl);
    }
    
    .trust-label {
        font-size: var(--font-size-xs);
    }
    
    .hero-cards {
        margin-top: var(--spacing-xl);
    }
    
    .hero-info-card:hover {
        transform: translateY(-5px);
    }
    
    .decoration-circle {
        display: none;
    }
    
    .scroll-indicator {
        bottom: 20px;
        font-size: var(--font-size-xs);
    }
    
    .building-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .building-image-container {
        margin-top: var(--spacing-xl);
    }
    
    .image-overlay-badge {
        bottom: var(--spacing-sm);
        left: var(--spacing-sm);
        right: var(--spacing-sm);
    }
    
    .section-padding {
        padding: var(--spacing-2xl) 0;
    }
    
    .feature-box,
    .testimonial-card,
    .space-card {
        margin-bottom: var(--spacing-lg);
    }
    
    .showcase-content {
        text-align: center;
        margin-bottom: var(--spacing-xl);
    }
    
    .showcase-features li {
        justify-content: flex-start;
    }
    
    .showcase-features li:hover {
        transform: translateX(0);
    }
    
    .cta-section {
        text-align: center;
        padding: var(--spacing-2xl) 0;
    }
    
    .cta-section .text-lg-end {
        text-align: center !important;
        margin-top: var(--spacing-lg);
    }
    
    .footer-about,
    .footer-links,
    .footer-contact,
    .footer-hours {
        margin-bottom: var(--spacing-xl);
        text-align: center;
    }
    
    .footer h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-links ul li a::before {
        display: none;
    }
    
    .footer-contact p,
    .footer-hours p {
        justify-content: center;
    }
}

/* Mobile Portrait (575px) */
@media (max-width: 575px) {
    :root {
        --font-size-5xl: 2rem;
        --font-size-4xl: 1.75rem;
        --font-size-3xl: 1.5rem;
    }
    
    .hero h1 {
        font-size: var(--font-size-4xl);
    }
    
    .section-header h2 {
        font-size: var(--font-size-3xl);
    }
    
    .btn {
        padding: 12px 24px;
        font-size: var(--font-size-sm);
    }
    
    .btn-lg {
        padding: 14px 32px;
    }
    
    .back-to-top {
        bottom: var(--spacing-md);
        right: var(--spacing-md);
        width: 48px;
        height: 48px;
    }
    
    .newsletter-form .input-group {
        flex-direction: column;
    }
    
    .newsletter-form .form-control,
    .newsletter-form .btn {
        width: 100%;
        border-radius: var(--radius-md) !important;
    }
    
    .newsletter-form .btn {
        margin-top: var(--spacing-sm);
    }
}

/* Extra Small Devices (420px) */
@media (max-width: 420px) {
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
}