/* ============================================
   WESTMILL NEXUS - UNIFIED STYLESHEET
   Light & Dark Mode with Theme Toggle
   ============================================ */

/* ============================================
   CSS VARIABLES - LIGHT MODE (Default)
   ============================================ */
:root {
    /* Theme Toggle */
    --theme-transition: 0.3s ease;
    
    /* Primary Colors - Gold (Same for both modes) */
    --gold-primary: #D4AF37;
    --gold-light: #F4E4BA;
    --gold-dark: #B8960C;
    --gold-gradient: linear-gradient(135deg, #D4AF37 0%, #F4E4BA 50%, #D4AF37 100%);
    --gold-gradient-dark: linear-gradient(135deg, #B8960C 0%, #D4AF37 100%);
    
    /* Light Mode Base Colors */
    --bg-primary: #FFFFFF;
    --bg-secondary: #FAFAFA;
    --bg-tertiary: #F5F5F5;
    --bg-card: #FFFFFF;
    --bg-card-hover: #FAFAFA;
    --bg-elevated: #FFFFFF;
    --bg-input: #F5F5F5;
    --bg-header: rgba(255, 255, 255, 0.95);
    --bg-header-scrolled: rgba(255, 255, 255, 0.98);
    --bg-mobile-nav: #FFFFFF;
    
    /* Light Mode Text Colors */
    --text-primary: #1A1A1A;
    --text-secondary: #333333;
    --text-tertiary: #555555;
    --text-muted: #888888;
    --text-on-gold: #0A0A0A;
    
    /* Light Mode Border Colors */
    --border-primary: rgba(0, 0, 0, 0.08);
    --border-secondary: rgba(0, 0, 0, 0.12);
    --border-gold: rgba(212, 175, 55, 0.3);
    --border-gold-hover: rgba(212, 175, 55, 0.5);
    
    /* Light Mode Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.15);
    --shadow-gold: 0 4px 20px rgba(212, 175, 55, 0.25);
    --shadow-gold-lg: 0 8px 40px rgba(212, 175, 55, 0.3);
    --shadow-glow: 0 0 30px rgba(212, 175, 55, 0.1);
    --shadow-header: 0 4px 30px rgba(0, 0, 0, 0.1);
    
    /* Light Mode Specific */
    --overlay-gradient: linear-gradient(to top, rgba(255, 255, 255, 0.9), transparent);
    --hero-gradient: linear-gradient(135deg, #FDF8E8 0%, #FFFFFF 100%);
    --stats-bg: #1A1A1A;
    --stats-text: #FFFFFF;
    --footer-bg: #1A1A1A;
    --footer-text: rgba(255, 255, 255, 0.7);
    
    /* Status Colors */
    --success: #28A745;
    --success-bg: rgba(40, 167, 69, 0.1);
    --warning: #FFC107;
    --warning-bg: rgba(255, 193, 7, 0.1);
    --danger: #DC3545;
    --danger-bg: rgba(220, 53, 69, 0.1);
    --info: #17A2B8;
    --info-bg: rgba(23, 162, 184, 0.1);
    
    /* Typography */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 5rem;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 50%;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ============================================
   CSS VARIABLES - DARK MODE
   ============================================ */
[data-theme="dark"] {
    /* Dark Mode Base Colors */
    --bg-primary: #0A0A0A;
    --bg-secondary: #111111;
    --bg-tertiary: #1A1A1A;
    --bg-card: #151515;
    --bg-card-hover: #1E1E1E;
    --bg-elevated: #202020;
    --bg-input: #1A1A1A;
    --bg-header: rgba(10, 10, 10, 0.95);
    --bg-header-scrolled: rgba(10, 10, 10, 0.98);
    --bg-mobile-nav: #0A0A0A;
    
    /* Dark Mode Text Colors */
    --text-primary: #FFFFFF;
    --text-secondary: #E0E0E0;
    --text-tertiary: #A0A0A0;
    --text-muted: #707070;
    
    /* Dark Mode Border Colors */
    --border-primary: rgba(255, 255, 255, 0.08);
    --border-secondary: rgba(255, 255, 255, 0.12);
    --border-gold: rgba(212, 175, 55, 0.3);
    --border-gold-hover: rgba(212, 175, 55, 0.5);
    
    /* Dark Mode Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.6);
    --shadow-gold: 0 4px 20px rgba(212, 175, 55, 0.2);
    --shadow-gold-lg: 0 8px 40px rgba(212, 175, 55, 0.25);
    --shadow-glow: 0 0 30px rgba(212, 175, 55, 0.15);
    --shadow-header: 0 4px 30px rgba(0, 0, 0, 0.5);
    
    /* Dark Mode Specific */
    --overlay-gradient: linear-gradient(to top, rgba(21, 21, 21, 0.9), transparent);
    --hero-gradient: linear-gradient(135deg, #0A0A0A 0%, #111111 50%, #0A0A0A 100%);
    --stats-bg: linear-gradient(135deg, #111111 0%, #0A0A0A 100%);
    --stats-text: #FFFFFF;
    --footer-bg: #111111;
    --footer-text: rgba(255, 255, 255, 0.6);
}

/* ============================================
   THEME TRANSITION
   ============================================ */
body,
body *,
body *::before,
body *::after {
    transition: background-color var(--theme-transition),
                border-color var(--theme-transition),
                color var(--theme-transition),
                box-shadow var(--theme-transition);
}

/* Exclude certain elements from transition */
.btn::before,
.hero-floating-card,
.feature-card::before,
.service-image img,
.news-image img,
.image-wrapper img {
    transition: transform var(--transition-normal), opacity var(--transition-normal);
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    outline: none;
    background: none;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    outline: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-primary);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.container-sm {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.section {
    padding: var(--spacing-xxl) 0;
}

.section-primary {
    background-color: var(--bg-primary);
}

.section-secondary {
    background-color: var(--bg-secondary);
}

.section-tertiary {
    background-color: var(--bg-tertiary);
}

.section-gold {
    background: var(--gold-gradient);
    color: var(--text-on-gold);
}

.section-gold h1,
.section-gold h2,
.section-gold h3,
.section-gold h4,
.section-gold p {
    color: var(--text-on-gold);
}

.text-gold {
    color: var(--gold-primary);
}

.text-center {
    text-align: center;
}

.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }
.mb-xl { margin-bottom: var(--spacing-xl); }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: 14px 32px;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: var(--transition-slow);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gold-gradient);
    color: var(--text-on-gold);
    border: 2px solid var(--gold-primary);
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--gold-primary);
    border: 2px solid var(--gold-primary);
}

.btn-secondary:hover {
    background: var(--gold-primary);
    color: var(--text-on-gold);
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}

.btn-dark {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 2px solid var(--border-secondary);
}

.btn-dark:hover {
    background: var(--bg-card-hover);
    border-color: var(--gold-primary);
    color: var(--gold-primary);
}

.btn-white {
    background: #FFFFFF;
    color: #1A1A1A;
    border: 2px solid #FFFFFF;
}

.btn-white:hover {
    background: #F5F5F5;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 18px 42px;
    font-size: 1rem;
}

/* ============================================
   THEME TOGGLE SWITCH
   ============================================ */
.theme-toggle {
    position: relative;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: var(--radius-md);
    background: var(--bg-tertiary);
    border: 1px solid var(--border-primary);
    transition: var(--transition-fast);
}

.theme-toggle:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-gold);
}

.theme-toggle-icon {
    font-size: 1.1rem;
    color: var(--gold-primary);
    transition: var(--transition-normal);
}

/* Sun icon (shown in dark mode) */
.theme-toggle .fa-sun {
    display: none;
}

/* Moon icon (shown in light mode) */
.theme-toggle .fa-moon {
    display: block;
}

/* Dark mode: show sun, hide moon */
[data-theme="dark"] .theme-toggle .fa-sun {
    display: block;
}

[data-theme="dark"] .theme-toggle .fa-moon {
    display: none;
}

/* Alternative: Animated Toggle Switch Style */
.theme-switch {
    position: relative;
    width: 60px;
    height: 30px;
    border-radius: 30px;
    background: var(--bg-tertiary);
    border: 2px solid var(--border-gold);
    cursor: pointer;
    transition: var(--transition-normal);
    display: flex;
    align-items: center;
    padding: 3px;
}

.theme-switch::before {
    content: '';
    position: absolute;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--gold-gradient);
    left: 3px;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

[data-theme="dark"] .theme-switch::before {
    left: calc(100% - 25px);
}

.theme-switch-icons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 6px;
    position: relative;
    z-index: 1;
}

.theme-switch-icons i {
    font-size: 0.7rem;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.theme-switch-icons .fa-sun {
    color: var(--gold-primary);
}

[data-theme="dark"] .theme-switch-icons .fa-moon {
    color: var(--gold-primary);
}

[data-theme="dark"] .theme-switch-icons .fa-sun {
    color: var(--text-muted);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--bg-header);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: var(--transition-normal);
}

.header.scrolled {
    background: var(--bg-header-scrolled);
    box-shadow: var(--shadow-header);
    border-bottom: 1px solid var(--border-primary);
}

.header-top {
    background: var(--gold-primary);
    color: var(--text-on-gold);
    padding: 10px 0;
    font-size: 0.85rem;
}

.header-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-top-left {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.header-top-left a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-on-gold);
    font-weight: 500;
}

.header-top-left a:hover {
    opacity: 0.8;
}

.header-top-right {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.header-top-right span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.header-main {
    padding: 15px 0;
    border-bottom: 1px solid var(--border-primary);
}

.header-main-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: var(--gold-gradient);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-on-gold);
    box-shadow: var(--shadow-gold);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold-primary);
    line-height: 1.2;
}

.logo-tagline {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 18px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.1);
}

.nav-link i.fa-chevron-down {
    font-size: 0.7rem;
    transition: var(--transition-fast);
}

.nav-item:hover .nav-link i.fa-chevron-down {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 300px;
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-lg);
    padding: var(--spacing-sm);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-normal);
    box-shadow: var(--shadow-xl);
    z-index: 100;
}

.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
}

.dropdown-item:hover {
    background: rgba(212, 175, 55, 0.1);
}

.dropdown-icon {
    width: 44px;
    height: 44px;
    background: rgba(212, 175, 55, 0.15);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-primary);
    font-size: 1.1rem;
}

.dropdown-content h4 {
    font-size: 0.95rem;
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.dropdown-content p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.dropdown-divider {
    height: 1px;
    background: var(--border-primary);
    margin: var(--spacing-xs) 0;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

/* Desktop Buttons */
.header-actions .btn-desktop {
    display: inline-flex;
}

/* Mobile Icon Buttons */
.header-actions .btn-mobile-icon {
    display: none;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    width: 44px;
    height: 44px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    border: 1px solid var(--border-primary);
}

.mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--gold-primary);
    border-radius: 2px;
    transition: var(--transition-fast);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-mobile-nav);
    z-index: 999;
    padding: 120px var(--spacing-lg) var(--spacing-lg);
    overflow-y: auto;
}

.mobile-nav.active {
    display: block;
}

.mobile-nav-item {
    border-bottom: 1px solid var(--border-primary);
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-primary);
}

.mobile-nav-link:hover {
    color: var(--gold-primary);
}

.mobile-dropdown {
    display: none;
    padding-bottom: var(--spacing-md);
}

.mobile-nav-item.open .mobile-dropdown {
    display: block;
}

.mobile-dropdown-item {
    display: block;
    padding: 12px 0;
    padding-left: var(--spacing-md);
    color: var(--text-tertiary);
    font-size: 0.95rem;
}

.mobile-dropdown-item:hover {
    color: var(--gold-primary);
}

.mobile-nav-actions {
    margin-top: var(--spacing-xl);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

/* Mobile Theme Toggle in Nav */
.mobile-theme-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    border-bottom: 1px solid var(--border-primary);
}

.mobile-theme-toggle span {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-primary);
}

/* Mobile Icon Buttons */
.btn-icon-only {
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.btn-icon-only.btn-secondary {
    background: transparent;
    color: var(--gold-primary);
    border: 1px solid var(--border-gold);
}

.btn-icon-only.btn-secondary:hover {
    background: rgba(212, 175, 55, 0.1);
}

.btn-icon-only.btn-primary {
    background: var(--gold-gradient);
    color: var(--text-on-gold);
    border: none;
}

.btn-icon-only.btn-primary:hover {
    box-shadow: var(--shadow-gold);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    padding: 180px 0 100px;
    background: var(--hero-gradient);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: radial-gradient(ellipse at top right, rgba(212, 175, 55, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40%;
    height: 60%;
    background: radial-gradient(ellipse at bottom left, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* Canvas Background */
.hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}


.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text {
    position: relative;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    padding: 10px 20px;
    border-radius: var(--radius-xl);
    font-size: 0.85rem;
    color: var(--gold-primary);
    margin-bottom: var(--spacing-md);
    box-shadow: var(--shadow-sm);
}

.hero-badge i {
    font-size: 0.6rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.hero-title span {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-tertiary);
    line-height: 1.8;
    margin-bottom: var(--spacing-xl);
}

.hero-actions {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: var(--spacing-xl);
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--border-gold);
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--gold-primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Hero Images */
.hero-images {
    position: relative;
    height: 550px;
}

.hero-image-main {
    position: absolute;
    top: 0;
    right: 0;
    width: 85%;
    height: 400px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-gold);
}

.hero-image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image-secondary {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 55%;
    height: 280px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 3px solid var(--bg-primary);
}

.hero-image-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Floating Cards with Animation */
.hero-floating-card {
    position: absolute;
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-lg);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    animation: float 4s ease-in-out infinite;
    z-index: 10;
}

.hero-floating-card-1 {
    top: 50px;
    left: -30px;
    animation-delay: 0s;
}

.hero-floating-card-2 {
    bottom: 120px;
    right: -20px;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.floating-card-icon {
    width: 48px;
    height: 48px;
    background: rgba(212, 175, 55, 0.15);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-primary);
    font-size: 1.3rem;
}

.floating-card-content h5 {
    font-size: 0.9rem;
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.floating-card-content p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ============================================
   HERO RESPONSIVE - TABLET (992px and below)
   ============================================ */
@media (max-width: 992px) {
    .hero {
        padding: 160px 0 80px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    /* Images section - stacked above text */
    .hero-images {
        order: -1;
        height: 420px;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .hero-image-main {
        width: 75%;
        height: 320px;
        right: 0;
    }
    
    .hero-image-secondary {
        width: 55%;
        height: 240px;
        left: 0;
        bottom: 0;
    }
    
    /* Floating cards - adjusted position */
    .hero-floating-card-1 {
        top: 30px;
        left: 0;
    }
    
    .hero-floating-card-2 {
        bottom: 80px;
        right: 0;
    }
    
    /* Center text content */
    .hero-text {
        text-align: center;
        max-width: 700px;
        margin: 0 auto;
    }
    
    .hero-badge {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    /* Stats - inline centered */
    .hero-stats {
        justify-content: center;
        gap: var(--spacing-xl);
    }
    
    .stat-item {
        text-align: center;
    }
}

/* ============================================
   HERO RESPONSIVE - MOBILE (768px and below)
   ============================================ */
@media (max-width: 768px) {
    .hero {
        padding: 140px 0 60px;
    }
    
    .hero-content {
        gap: var(--spacing-lg);
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    /* Images section - maintain both images */
    .hero-images {
        height: 320px;
        max-width: 100%;
        width: 100%;
    }
    
    .hero-image-main {
        width: 70%;
        height: 240px;
        top: 0;
        right: 5%;
    }
    
    .hero-image-secondary {
        width: 50%;
        height: 180px;
        left: 5%;
        bottom: 0;
        border-width: 2px;
    }
    
    /* Floating cards - smaller on mobile */
    .hero-floating-card {
        padding: 12px 14px;
        gap: 10px;
    }
    
    .hero-floating-card-1 {
        top: 20px;
        left: 5%;
    }
    
    .hero-floating-card-2 {
        bottom: 60px;
        right: 5%;
    }
    
    .floating-card-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .floating-card-content h5 {
        font-size: 0.8rem;
    }
    
    .floating-card-content p {
        font-size: 0.7rem;
    }
    
    /* Stats - INLINE on mobile */
    .hero-stats {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: var(--spacing-sm);
        padding-top: var(--spacing-md);
    }
    
    .stat-item {
        flex: 1;
        text-align: center;
        min-width: 0;
    }
    
    .stat-number {
        font-size: 1.6rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    /* Buttons - still inline if possible */
    .hero-actions {
        flex-direction: row;
        justify-content: center;
        gap: var(--spacing-sm);
    }
    
    .hero-actions .btn {
        padding: 12px 20px;
        font-size: 0.85rem;
    }
}

/* ============================================
   HERO RESPONSIVE - SMALL MOBILE (576px and below)
   ============================================ */
@media (max-width: 576px) {
    .hero {
        padding: 130px 0 50px;
    }
    
    .hero-title {
        font-size: 1.9rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
        margin-bottom: var(--spacing-lg);
    }
    
    .hero-badge {
        font-size: 0.75rem;
        padding: 8px 14px;
    }
    
    /* Images - maintain layout */
    .hero-images {
        height: 280px;
    }
    
    .hero-image-main {
        width: 68%;
        height: 200px;
        right: 3%;
    }
    
    .hero-image-secondary {
        width: 48%;
        height: 150px;
        left: 3%;
    }
    
    /* Floating cards - compact */
    .hero-floating-card {
        padding: 10px 12px;
        gap: 8px;
        border-radius: var(--radius-md);
    }
    
    .hero-floating-card-1 {
        top: 10px;
        left: 3%;
    }
    
    .hero-floating-card-2 {
        bottom: 45px;
        right: 3%;
    }
    
    .floating-card-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
        border-radius: var(--radius-sm);
    }
    
    .floating-card-content h5 {
        font-size: 0.75rem;
    }
    
    .floating-card-content p {
        font-size: 0.65rem;
    }
    
    /* Stats - compact inline */
    .hero-stats {
        gap: var(--spacing-xs);
    }
    
    .stat-number {
        font-size: 1.4rem;
    }
    
    .stat-label {
        font-size: 0.65rem;
    }
    
    /* Buttons - stack if needed */
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: var(--spacing-sm);
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
}



   /* Loading Animation */
        .loader {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: #000;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 9999;
            transition: opacity 0.5s ease, visibility 0.5s ease;
        }

        .loader.hidden {
            opacity: 0;
            visibility: hidden;
        }

        .loader-content {
            text-align: center;
        }

        .loader-logo {
            width: 80px;
            height: 80px;
            background: var(--gold-gradient);
            border-radius: var(--radius-lg);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2.5rem;
            color: var(--black-primary);
            margin: 0 auto var(--spacing-md);
            animation: pulse 1.5s ease infinite;
        }

        .loader-text {
            font-family: var(--font-heading);
            font-size: 1.5rem;
            color: var(--gold-primary);
        }

        .loader-bar {
            width: 200px;
            height: 3px;
            background: rgba(212, 175, 55, 0.2);
            border-radius: 3px;
            margin: var(--spacing-md) auto 0;
            overflow: hidden;
        }

        .loader-progress {
            width: 40%;
            height: 100%;
            background: var(--gold-gradient);
            border-radius: 3px;
            animation: loading 1.5s ease infinite;
        }

        @keyframes loading {
            0% {
                transform: translateX(-100%);
            }
            100% {
                transform: translateX(350%);
            }
        }

/* ============================================
   HERO RESPONSIVE - EXTRA SMALL (480px and below)
   ============================================ */
@media (max-width: 480px) {
    .hero {
        padding: 120px 0 40px;
    }
    
    .hero-title {
        font-size: 1.7rem;
        line-height: 1.2;
    }
    
    .hero-description {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    /* Images */
    .hero-images {
        height: 240px;
    }
    
    .hero-image-main {
        width: 65%;
        height: 170px;
    }
    
    .hero-image-secondary {
        width: 45%;
        height: 130px;
    }
    
    /* Floating cards - minimal */
    .hero-floating-card {
        padding: 8px 10px;
    }
    
    .floating-card-icon {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
    
    .floating-card-content h5 {
        font-size: 0.7rem;
    }
    
    .floating-card-content p {
        display: none; /* Hide description on very small screens */
    }
    
    /* Stats */
    .stat-number {
        font-size: 1.2rem;
    }
    
    .stat-label {
        font-size: 0.6rem;
    }
}

/* ============================================
   HERO RESPONSIVE - TINY SCREENS (360px and below)
   ============================================ */
@media (max-width: 360px) {
    .hero {
        padding: 110px 0 30px;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-badge {
        font-size: 0.7rem;
        padding: 6px 12px;
    }
    
    .hero-description {
        font-size: 0.85rem;
    }
    
    /* Images */
    .hero-images {
        height: 200px;
    }
    
    .hero-image-main {
        width: 65%;
        height: 150px;
    }
    
    .hero-image-secondary {
        width: 45%;
        height: 110px;
    }
    
    /* Floating cards - hide one */
    .hero-floating-card-1 {
        display: flex;
    }
    
    .hero-floating-card-2 {
        display: none;
    }
    
    /* Stats */
    .stat-number {
        font-size: 1.1rem;
    }
    
    .stat-label {
        font-size: 0.55rem;
        letter-spacing: -0.3px;
    }
}

@media (max-width: 992px) {
    .hero-images {
        display: none;
    }
}
/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--spacing-xxl);
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--border-gold);
    padding: 8px 20px;
    border-radius: var(--radius-xl);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gold-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--spacing-md);
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.section-title span {
    color: var(--gold-primary);
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-tertiary);
    line-height: 1.8;
}

/* ============================================
   FEATURE CARDS
   ============================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gold-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--border-gold);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    font-size: 1.8rem;
    color: var(--gold-primary);
    transition: var(--transition-normal);
}

.feature-card:hover .feature-icon {
    background: var(--gold-gradient);
    color: var(--text-on-gold);
    border-color: var(--gold-primary);
    box-shadow: var(--shadow-gold);
}

.feature-card h3 {
    font-size: 1.3rem;
    font-family: var(--font-body);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-tertiary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ============================================
   SERVICE CARDS
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--border-gold);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.service-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.service-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: var(--overlay-gradient);
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: var(--spacing-lg);
}

.service-content h3 {
    font-size: 1.3rem;
    font-family: var(--font-body);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.service-content p {
    color: var(--text-tertiary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold-primary);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.service-link:hover {
    gap: 12px;
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats-section {
    background: var(--stats-bg);
    padding: var(--spacing-xxl) 0;
    border-top: 1px solid var(--border-gold);
    border-bottom: 1px solid var(--border-gold);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
}

.stat-card {
    text-align: center;
    padding: var(--spacing-lg);
    background: rgba(212, 175, 55, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--radius-lg);
    transition: var(--transition-normal);
}

.stat-card:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-5px);
}

.stat-card-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold-primary);
    line-height: 1;
    margin-bottom: var(--spacing-xs);
}

.stat-card-label {
    font-size: 1rem;
    color: var(--stats-text);
    opacity: 0.8;
}

/* ============================================
   IMAGE TEXT SECTIONS
   ============================================ */
.image-text-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
    align-items: center;
}

.image-text-section.reverse {
    direction: rtl;
}

.image-text-section.reverse > * {
    direction: ltr;
}

.image-wrapper {
    position: relative;
}

.image-wrapper img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-gold);
    box-shadow: var(--shadow-lg);
}

.image-badge {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    padding: 20px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(10px);
}

.image-badge i {
    width: 50px;
    height: 50px;
    background: var(--gold-gradient);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-on-gold);
    font-size: 1.3rem;
}

.image-badge-content h4 {
    font-size: 1.1rem;
    font-family: var(--font-body);
    font-weight: 600;
    margin-bottom: 2px;
    color: var(--text-primary);
}

.image-badge-content p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.text-content h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.text-content h2 span {
    color: var(--gold-primary);
}

.text-content > p {
    color: var(--text-tertiary);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.feature-list {
    display: grid;
    gap: 12px;
    margin: var(--spacing-lg) 0;
}

.feature-list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: rgba(212, 175, 55, 0.05);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
}

.feature-list-item:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--border-gold);
    transform: translateX(5px);
}

.feature-list-item i {
    color: var(--gold-primary);
    font-size: 1rem;
}

.feature-list-item span {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    position: relative;
    transition: var(--transition-normal);
}

.testimonial-card:hover {
    border-color: var(--border-gold);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 30px;
    font-family: var(--font-heading);
    font-size: 5rem;
    color: rgba(212, 175, 55, 0.15);
    line-height: 1;
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: var(--spacing-md);
}

.testimonial-stars i {
    color: var(--gold-primary);
}

.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-tertiary);
    margin-bottom: var(--spacing-lg);
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-avatar {
    width: 55px;
    height: 55px;
    border-radius: var(--radius-full);
    overflow: hidden;
    border: 2px solid var(--gold-primary);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-info h4 {
    font-size: 1rem;
    font-family: var(--font-body);
    font-weight: 600;
    margin-bottom: 2px;
    color: var(--text-primary);
}

.testimonial-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    background: var(--gold-gradient);
    padding: var(--spacing-xxl) 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23000000' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.8rem;
    color: var(--text-on-gold);
    margin-bottom: var(--spacing-md);
}

.cta-content p {
    font-size: 1.15rem;
    color: var(--text-on-gold);
    opacity: 0.9;
    margin-bottom: var(--spacing-xl);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.cta-buttons .btn-dark {
    background: #0A0A0A;
    color: var(--gold-primary);
    border-color: #0A0A0A;
}

.cta-buttons .btn-dark:hover {
    background: #1A1A1A;
}

/* ============================================
   PAGE HERO
   ============================================ */
.page-hero {
    padding: 180px 0 80px;
    background: var(--hero-gradient);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
}

.page-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.page-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: var(--spacing-md);
    font-size: 0.9rem;
}

.page-breadcrumb a {
    color: var(--gold-primary);
}

.page-breadcrumb a:hover {
    text-decoration: underline;
}

.page-breadcrumb span {
    color: var(--text-tertiary);
}

.page-breadcrumb i {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.page-title {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.page-title span {
    color: var(--gold-primary);
}

.page-description {
    font-size: 1.15rem;
    color: var(--text-tertiary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-category {
    margin-bottom: var(--spacing-xl);
}

.faq-category-title {
    font-size: 1.5rem;
    color: var(--gold-primary);
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid var(--border-gold);
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-sm);
    overflow: hidden;
    transition: var(--transition-normal);
}

.faq-item:hover {
    border-color: var(--border-gold);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.faq-question:hover {
    background: rgba(212, 175, 55, 0.05);
}

.faq-question h4 {
    font-size: 1.05rem;
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--text-primary);
    padding-right: var(--spacing-md);
}

.faq-question i {
    color: var(--gold-primary);
    transition: var(--transition-fast);
    flex-shrink: 0;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-item.active .faq-question {
    background: rgba(212, 175, 55, 0.05);
    border-bottom: 1px solid var(--border-primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 20px 25px;
    color: var(--text-tertiary);
    line-height: 1.8;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--spacing-xxl);
}

.contact-info {
    background: var(--footer-bg);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: var(--spacing-md);
    color: #FFFFFF;
}

.contact-info > p {
    color: var(--footer-text);
    margin-bottom: var(--spacing-lg);
    line-height: 1.7;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
}

.contact-item-icon {
    width: 50px;
    height: 50px;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-primary);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-item-content h4 {
    font-size: 1rem;
    font-family: var(--font-body);
    font-weight: 600;
    margin-bottom: 4px;
    color: #FFFFFF;
}

.contact-item-content p,
.contact-item-content a {
    color: var(--footer-text);
    font-size: 0.9rem;
}

.contact-item-content a:hover {
    color: var(--gold-primary);
}

.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
}

.contact-form-wrapper h3 {
    font-size: 1.8rem;
    margin-bottom: var(--spacing-lg);
    color: var(--text-primary);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-input);
    border: 2px solid var(--border-primary);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    color: var(--text-primary);
    transition: var(--transition-fast);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold-primary);
    background: var(--bg-elevated);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23D4AF37' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
}

.form-group select option {
    background: var(--bg-card);
    color: var(--text-primary);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* ============================================
   ACCOUNT CARDS
   ============================================ */
.account-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
}

.account-card {
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: var(--transition-normal);
}

.account-card:hover {
    border-color: var(--border-gold);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    transform: translateY(-5px);
}

.account-card-header {
    background: var(--gold-gradient);
    padding: var(--spacing-lg);
    color: var(--text-on-gold);
}

.account-card-header h3 {
    font-size: 1.5rem;
    font-family: var(--font-body);
    font-weight: 700;
    color: var(--text-on-gold);
    margin-bottom: 4px;
}

.account-card-header p {
    font-size: 0.95rem;
    opacity: 0.9;
}

.account-card-body {
    padding: var(--spacing-xl);
}

.account-card-body > p {
    color: var(--text-tertiary);
    margin-bottom: var(--spacing-lg);
}

.account-features {
    display: grid;
    gap: 12px;
}

.account-feature {
    display: flex;
    align-items: center;
    gap: 12px;
}

.account-feature i {
    width: 32px;
    height: 32px;
    background: rgba(212, 175, 55, 0.15);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-primary);
    font-size: 0.85rem;
}

.account-feature span {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.account-card-footer {
    padding: 0 var(--spacing-xl) var(--spacing-xl);
}

/* ============================================
   NEWS CARDS
   ============================================ */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.news-card {
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: var(--transition-normal);
}

.news-card:hover {
    transform: translateY(-10px);
    border-color: var(--border-gold);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.news-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.news-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: var(--overlay-gradient);
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-content {
    padding: var(--spacing-lg);
}

.news-date {
    display: inline-block;
    font-size: 0.8rem;
    color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--border-gold);
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    margin-bottom: var(--spacing-sm);
}

.news-content h3 {
    font-size: 1.2rem;
    font-family: var(--font-body);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    line-height: 1.4;
    color: var(--text-primary);
}

.news-content p {
    color: var(--text-tertiary);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
}

.news-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--gold-primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.news-link:hover {
    gap: 10px;
}

/* ============================================
   SECURITY CARDS
   ============================================ */
.security-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.security-card {
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    text-align: center;
    transition: var(--transition-normal);
}

.security-card:hover {
    border-color: var(--border-gold);
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.security-icon {
    width: 90px;
    height: 90px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
    font-size: 2.5rem;
    color: var(--gold-primary);
    transition: var(--transition-normal);
}

.security-card:hover .security-icon {
    background: var(--gold-gradient);
    color: var(--text-on-gold);
    box-shadow: var(--shadow-gold);
}

.security-card h3 {
    font-size: 1.3rem;
    font-family: var(--font-body);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.security-card p {
    color: var(--text-tertiary);
    line-height: 1.7;
}

/* ============================================
   LEGAL PAGES
   ============================================ */
.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--border-gold);
    padding: 12px 20px;
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-xl);
    font-size: 0.9rem;
    color: var(--gold-primary);
}

.legal-section {
    margin-bottom: var(--spacing-xl);
}

.legal-section h2 {
    font-size: 1.6rem;
    color: var(--gold-primary);
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid var(--border-gold);
}

.legal-section p {
    color: var(--text-tertiary);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.legal-section ul {
    margin-bottom: var(--spacing-md);
    padding-left: var(--spacing-lg);
}

.legal-section ul li {
    color: var(--text-tertiary);
    line-height: 1.8;
    margin-bottom: 8px;
    position: relative;
}

.legal-section ul li::before {
    content: '•';
    color: var(--gold-primary);
    position: absolute;
    left: -20px;
    font-weight: bold;
}

.legal-section a {
    color: var(--gold-primary);
}

.legal-section a:hover {
    text-decoration: underline;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--footer-bg);
    padding-top: var(--spacing-xxl);
    border-top: 1px solid var(--border-gold);
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: var(--spacing-xl);
    padding-bottom: var(--spacing-xxl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    max-width: 350px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: var(--spacing-md);
}

.footer-logo-icon {
    width: 50px;
    height: 50px;
    background: var(--gold-gradient);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-on-gold);
}

.footer-logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold-primary);
}

.footer-brand p {
    color: var(--footer-text);
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
}

.footer-social {
    display: flex;
    gap: var(--spacing-sm);
}

.footer-social a {
    width: 44px;
    height: 44px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-primary);
    transition: var(--transition-fast);
}

.footer-social a:hover {
    background: var(--gold-primary);
    color: var(--text-on-gold);
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}

.footer-column h4 {
    font-size: 1.1rem;
    font-family: var(--font-body);
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: var(--spacing-lg);
    position: relative;
    padding-bottom: var(--spacing-sm);
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gold-primary);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--footer-text);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--gold-primary);
    transform: translateX(5px);
}

.footer-links a i {
    font-size: 0.7rem;
    color: var(--gold-primary);
}

.footer-bottom {
    padding: var(--spacing-lg) 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: var(--spacing-lg);
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.footer-legal a:hover {
    color: var(--gold-primary);
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gold-gradient);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-on-gold);
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-normal);
    z-index: 100;
    box-shadow: var(--shadow-gold);
    border: none;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-gold-lg);
}

/* ============================================
   SCROLLBAR STYLING
   ============================================ */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-tertiary);
    border-radius: 5px;
    border: 2px solid var(--bg-secondary);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-primary);
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--bg-tertiary) var(--bg-secondary);
}

/* ============================================
   SELECTION STYLING
   ============================================ */
::selection {
    background: var(--gold-primary);
    color: var(--text-on-gold);
}

::-moz-selection {
    background: var(--gold-primary);
    color: var(--text-on-gold);
}

/* ============================================
   FOCUS STATES (Accessibility)
   ============================================ */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--gold-primary);
    outline-offset: 2px;
}

/* ============================================
   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;
    }
}

/* ============================================
   RESPONSIVE - TABLET (992px and below)
   ============================================ */
@media (max-width: 992px) {
    .header-top {
        display: none;
    }
    
    .nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .header-actions .btn-desktop {
        display: none;
    }
    
    .header-actions .btn-mobile-icon {
        display: flex;
    }
    
    .header-actions {
        gap: 8px;
    }
    
    .hero-content,
    .image-text-section,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-images {
        order: -1;
        height: 400px;
        margin-bottom: var(--spacing-lg);
    }
    
    .hero-image-main {
        width: 70%;
        height: 300px;
    }
    
    .hero-image-secondary {
        width: 50%;
        height: 200px;
    }
    
    .image-text-section.reverse {
        direction: ltr;
    }
    
    .features-grid,
    .services-grid,
    .testimonials-grid,
    .security-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-main {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-brand {
        grid-column: span 3;
        max-width: 100%;
        margin-bottom: var(--spacing-lg);
    }
    
    /* Theme toggle for mobile */
    .theme-toggle {
        width: 40px;
        height: 40px;
    }
}

/* ============================================
   RESPONSIVE - MOBILE (768px and below)
   ============================================ */
@media (max-width: 768px) {
    .section {
        padding: var(--spacing-xl) 0;
    }
    
    .hero {
        padding: 140px 0 60px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: var(--spacing-md);
    }
    
    .stat-item {
        flex: 1 1 45%;
    }
    
    .section-title,
    .page-title {
        font-size: 2rem;
    }
    
    .features-grid,
    .services-grid,
    .testimonials-grid,
    .security-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .account-cards {
        grid-template-columns: 1fr;
    }
    
    .footer-main {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-brand {
        grid-column: span 2;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-actions,
    .cta-buttons {
        flex-direction: column;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .hero-floating-card {
        display: none;
    }
    
    .hero-images {
        height: 300px;
    }
    
    .hero-image-secondary {
        display: none;
    }
    
    .hero-image-main {
        width: 100%;
        height: 100%;
    }
    
    .header-main {
        padding: 12px 0;
    }
    
    .logo-icon {
        width: 42px;
        height: 42px;
        font-size: 1.3rem;
    }
    
    .logo-name {
        font-size: 1.25rem;
    }
    
    .logo-tagline {
        font-size: 0.6rem;
        letter-spacing: 1px;
    }
    
    .btn-icon-only,
    .theme-toggle {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .mobile-menu-btn {
        width: 40px;
        height: 40px;
    }
    
    .mobile-menu-btn span {
        width: 20px;
    }
}

/* ============================================
   RESPONSIVE - SMALL MOBILE (480px and below)
   ============================================ */
@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.85rem;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
    }
    
    .footer-brand {
        grid-column: span 1;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-card-number {
        font-size: 2.5rem;
    }
    
    .header-main {
        padding: 10px 0;
    }
    
    .logo-icon {
        width: 38px;
        height: 38px;
        font-size: 1.2rem;
    }
    
    .logo-name {
        font-size: 1.1rem;
    }
    
    
    .btn-icon-only,
    .theme-toggle {
        width: 38px;
        height: 38px;
        font-size: 0.95rem;
    }
    
    .mobile-menu-btn {
        width: 38px;
        height: 38px;
    }
    
    .header-actions {
        gap: 6px;
    }
}