/**
 * Capitalia Partners - Main Stylesheet
 * Version 3.0: "Ultra-Premium FinTech - Fully Responsive"
 */

/* =========================================
   1. VARIABLES & THEME SETUP
   ========================================= */
:root {
    /* Colors - Deep Space Theme (Dark - Default) */
    --bg-deep: #030304;
    --bg-surface: #0a0a0c;
    --bg-glass: rgba(255, 255, 255, 0.03);
    --bg-glass-hover: rgba(255, 255, 255, 0.07);
    --bg-card: #0f0f12;
    --border-color: rgba(255, 255, 255, 0.08);

    /* Accents */
    --primary: #3b82f6;
    --primary-glow: #60a5fa;
    --accent-gold: #fbbf24;
    --accent-purple: #8b5cf6;

    /* Gradients */
    --gradient-text: linear-gradient(135deg, #ffffff 30%, #94a3b8 100%);
    --gradient-primary: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    --gradient-gold: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    --gradient-surface: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 100%);

    /* Text */
    --text-main: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    /* Effects */
    --glass-blur: blur(20px);
    --shadow-glow: 0 0 40px rgba(59, 130, 246, 0.15);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.3);

    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* Light Theme Variables */
[data-theme="light"] {
    --bg-deep: #f8fafc;
    --bg-surface: #ffffff;
    --bg-glass: rgba(0, 0, 0, 0.03);
    --bg-glass-hover: rgba(0, 0, 0, 0.06);
    --bg-card: #ffffff;
    --border-color: rgba(0, 0, 0, 0.1);

    /* Accents remain similar for brand consistency */
    --primary: #2563eb;
    --primary-glow: #3b82f6;
    --accent-gold: #d97706;
    --accent-purple: #7c3aed;

    /* Gradients adapted for light */
    --gradient-text: linear-gradient(135deg, #1e293b 30%, #475569 100%);
    --gradient-surface: linear-gradient(180deg, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0) 100%);

    /* Text */
    --text-main: #1e293b;
    --text-secondary: #475569;
    --text-muted: #94a3b8;

    /* Effects */
    --shadow-glow: 0 0 40px rgba(59, 130, 246, 0.1);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Light theme specific overrides */
[data-theme="light"] body {
    background-color: var(--bg-deep);
}

[data-theme="light"] h1,
[data-theme="light"] h2,
[data-theme="light"] h3,
[data-theme="light"] h4,
[data-theme="light"] h5,
[data-theme="light"] h6,
[data-theme="light"] p,
[data-theme="light"] li,
[data-theme="light"] span {
    color: var(--text-main);
}

[data-theme="light"] p,
[data-theme="light"] li,
[data-theme="light"] span {
    color: var(--text-secondary);
}

[data-theme="light"] .navbar {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #cbd5e1;
    /* Visible border */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    /* Visible shadow */
    backdrop-filter: blur(20px);
}

[data-theme="light"] .navbar-toggle span {
    background-color: var(--text-main);
    /* Dark hamburger menu */
}

[data-theme="light"] .navbar-brand .logo-text,
[data-theme="light"] .logo-text {
    color: var(--text-main);
    background: linear-gradient(to right, #1e293b, #475569);
    /* Dark gradient for light mode */
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

[data-theme="light"] .nav-link {
    color: var(--text-secondary);
}

[data-theme="light"] .nav-link:hover,
[data-theme="light"] .nav-link.active {
    color: var(--primary);
}

[data-theme="light"] .hero-immersive {
    background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 50%, #f8fafc 100%);
}

[data-theme="light"] .hero-bg-glow {
    opacity: 0.3;
}

[data-theme="light"] .hero-immersive {
    background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 50%, #f8fafc 100%) !important;
}

[data-theme="light"] .hero-immersive::before {
    display: none;
    /* Remove dark overlay in light mode */
}

[data-theme="light"] .glass-card,
[data-theme="light"] .bento-item,
[data-theme="light"] .feature-card {
    background: #ffffff !important;
    border-color: #cbd5e1 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
    backdrop-filter: none;
}

[data-theme="light"] .section-dark {
    background: #e2e8f0;
}

[data-theme="light"] .ticker-wrap {
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent-purple) 100%);
}

[data-theme="light"] .timeline-content {
    background: rgba(255, 255, 255, 0.9);
    border-color: var(--border-color);
}

[data-theme="light"] .bento-item {
    background: var(--bg-card);
    border-color: var(--border-color);
}

[data-theme="light"] .why-us-card {
    background: var(--bg-card);
    border-color: var(--border-color);
}

/* Story Section Update */
.story-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.story-image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.story-image-container img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.7s ease;
}

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

@media (max-width: 768px) {
    .story-content-wrapper {
        grid-template-columns: 1fr;
    }
}

[data-theme="light"] .testimonial-card {
    background: var(--bg-card);
    border-color: var(--border-color);
}

[data-theme="light"] .section-gallery {
    background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%);
}

[data-theme="light"] .partner-logo {
    background: rgba(255, 255, 255, 0.9);
    border-color: var(--border-color);
}

[data-theme="light"] .partner-logo::before {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(124, 58, 237, 0.1) 100%);
    color: var(--text-main);
}

[data-theme="light"] .partner-logo .partner-name {
    color: var(--text-secondary);
}

[data-theme="light"] .sector-item {
    background: var(--bg-card);
    border-color: var(--border-color);
}

[data-theme="light"] .deal-card {
    background: var(--bg-card);
    border-color: var(--border-color);
}

[data-theme="light"] .footer {
    background: #1e293b;
}

[data-theme="light"] .mobile-menu-overlay {
    background: rgba(255, 255, 255, 0.98);
}

[data-theme="light"] .mobile-menu-overlay .nav-link {
    color: var(--text-main);
}

[data-theme="light"] .lang-dropdown {
    background: var(--bg-card);
    border-color: var(--border-color);
}

[data-theme="light"] .lang-option {
    color: var(--text-secondary);
}

[data-theme="light"] .lang-option:hover {
    background: var(--bg-glass-hover);
    color: var(--text-main);
}

/* =========================================
   2. RESET & BASE SCYLES
   ========================================= */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-deep);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-main);
    /* Changed from white to variable */
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

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

/* =========================================
   3. UTILITIES & LAYOUT
   ========================================= */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.relative {
    position: relative;
}

.z-10 {
    z-index: 10;
}

.section {
    padding: 3rem 0;
}

@media (max-width: 768px) {
    .section {
        padding: 1.5rem 0;
        /* Reduced from 3rem */
    }
}

.section-header {
    margin-bottom: 3rem;
    text-align: center;
}

@media (max-width: 768px) {
    .section-header {
        margin-bottom: 1.5rem;
        /* Reduced from 3rem */
    }
}

.title-xl {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.subtitle {
    color: var(--text-secondary);
    font-size: 1.2rem;
}

/* =========================================
   4. NAVIGATION (THE DOCK)
   ========================================= */
/* =========================================
   4. NAVIGATION (THE DOCK) - COMPACT & STABLE
   ========================================= */
.navbar {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    /* Precise centering */
    transform: translateX(-50%);
    /* Center perfectly */
    width: auto;
    /* Width fits content */
    max-width: min(820px, 96vw);
    /* Large enough to hold all items + phone */
    z-index: 9999;
    padding: 0.4rem 1rem;
    /* Symmetric horizontal padding */
    background: rgba(10, 10, 12, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    /* Fully rounded capsule */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    white-space: nowrap;
    /* Prevent content wrapping */
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    width: 100%;
    gap: 1rem;
    /* Compact gap */
}

.navbar.navbar-hidden {
    transform: translate(-50%, 150%);
    /* Keep centered when hidden */
    pointer-events: none;
}

.navbar:hover {
    background: rgba(10, 10, 12, 0.98);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.15);
    transform: translate(-50%, -2px);
    /* Maintain center on hover */
}

.navbar-brand .logo-text {
    font-size: 1rem;
    /* Compact logo text */
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
    margin-right: 0.25rem;
    background: linear-gradient(to right, #fff, #cbd5e1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.navbar-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    margin-left: auto;
    /* Push to right on mobile */
}

.navbar-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: #fff;
    margin: 5px 0;
}

/* --- Menu Desktop --- */
.navbar-desktop-menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-nav {
    display: flex;
    gap: 0.5rem;
    /* Compact gap between items */
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--text-secondary);
    font-size: 0.8rem;
    /* Compact text */
    font-weight: 500;
    transition: all 0.2s;
    padding: 0.35rem 0.5rem;
    /* Compact padding */
    border-radius: 20px;
}

.nav-link:hover,
.nav-link.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .nav-link:hover,
[data-theme="light"] .nav-link.active {
    color: var(--primary);
    /* Blue text */
    background: rgba(59, 130, 246, 0.1);
    /* Light blue background */
}

.navbar-nav .btn {
    padding: 0.4rem 0.8rem;
    /* Compact button */
    border-radius: 50px;
    font-size: 0.8rem;
    margin-left: 0.25rem;
    white-space: nowrap;
}

/* Phone link in navbar */
.nav-phone-link {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.35rem 0.65rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: all 0.2s;
    white-space: nowrap;
}

.nav-phone-link:hover {
    color: var(--primary);
    border-color: var(--primary);
    background: rgba(59, 130, 246, 0.08);
}

[data-theme="light"] .nav-phone-link {
    border-color: rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .nav-phone-link:hover {
    color: var(--primary);
    border-color: var(--primary);
    background: rgba(59, 130, 246, 0.08);
}

/* --- Menu Mobile Overlay --- */
.mobile-menu-overlay {
    visibility: hidden;
    display: flex;
    /* Critical for centering */
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(5, 5, 8, 0.98);
    z-index: 10000;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    backdrop-filter: blur(10px);
    /* Added blur for premium feel */
}

[data-theme="light"] .mobile-menu-overlay {
    background: rgba(255, 255, 255, 0.98);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-menu-overlay.active .navbar-nav-mobile {
    transform: translateY(0);
    opacity: 1;
}

/* Close button for mobile menu */
.btn-close-menu {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 2rem;
    cursor: pointer;
    padding: 1rem;
    transition: 0.3s;
    z-index: 10001;
    /* Ensure above content */
}

/* Fix Close Button Color in Light Mode */
[data-theme="light"] .btn-close-menu {
    color: var(--text-main);
}

[data-theme="light"] .btn-close-menu:hover {
    color: var(--primary);
}

/* Ensure content doesn't overlap close button on small screens */
@media (max-width: 480px) {
    .btn-close-menu {
        top: 1rem;
        right: 1rem;
    }
}

.btn-close-menu:hover {
    color: var(--primary);
    transform: rotate(90deg);
}

.navbar-nav-mobile {
    list-style: none;
    text-align: center;
    width: 100%;
    padding: 2rem 1rem 8rem 1rem;
    /* Added heavy bottom padding to clear floating elements */
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    max-height: 100vh;
    /* Allow full height */
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;

    /* Animation Initial State */
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.navbar-nav-mobile .nav-link {
    font-size: 1.75rem;
    /* Reduced from 2rem default */
    font-weight: 700;
    color: var(--text-main);
    display: block;
    transition: transform 0.2s, color 0.2s;
}

@media (max-width: 480px) {
    .navbar-nav-mobile .nav-link {
        font-size: 1.5rem;
        /* Smaller on phones */
    }
}

[data-theme="light"] .navbar-nav-mobile .nav-link {
    color: var(--text-main);
}

[data-theme="light"] .navbar-nav-mobile .nav-link:hover {
    color: var(--primary);
}

.navbar-nav-mobile .nav-link:hover {
    transform: scale(1.1);
    color: var(--primary);
}

.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.navbar-nav-mobile {
    list-style: none;
    text-align: center;
    width: 100%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.navbar-nav-mobile .nav-link {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    display: block;
}

.navbar-nav-mobile .mobile-btn {
    width: 100%;
    margin-top: 2rem;
    font-size: 1.25rem;
    padding: 1.5rem;
}

/* =========================================
   5. HERO SECTION
   ========================================= */
.hero-immersive {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 2rem;
    padding-bottom: 4rem;
    overflow: hidden;
    background-image: url('../images/content/hero-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-immersive::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(3, 3, 4, 0.85);
    /* Overlay to ensure text readability */
    z-index: 0;
}

.hero-bg-glow {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    filter: blur(100px);
    z-index: 0;
}

.hero-stars {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(white 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.1;
    z-index: 0;
}

.hero-split {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-title-mega {
    font-size: 4.5rem;
    line-height: 1;
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
}

.hero-desc {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 90%;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats-row {
    display: flex;
    gap: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
}

.stat-val {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    /* Changed from #fff */
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.badge-new {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 100px;
    font-size: 0.85rem;
    color: #93c5fd;
    margin-bottom: 1.5rem;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #3b82f6;
    border-radius: 50%;
    box-shadow: 0 0 10px #3b82f6;
    animation: pulse 2s infinite;
}

/* Hero Visual (Floating) */
.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-circle {
    width: 400px;
    height: 400px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    position: absolute;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, transparent 60%);
}

.floating-card {
    position: absolute;
    background: rgba(15, 15, 20, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    animation: float 6s ease-in-out infinite;
    min-width: 200px;
}

[data-theme="light"] .floating-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .floating-card strong {
    color: var(--text-main);
}

[data-theme="light"] .floating-card span {
    color: var(--primary);
    font-weight: 600;
}

.card-1 {
    top: 20%;
    right: 10%;
    z-index: 2;
}

.card-2 {
    bottom: 25%;
    left: 0%;
    z-index: 1;
    animation-delay: 2s;
}

.card-icon {
    font-size: 2rem;
    background: rgba(59, 130, 246, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-content strong {
    display: block;
    font-size: 1rem;
    color: var(--text-main);
    /* Changed from #fff */
}

.card-content span {
    font-size: 0.85rem;
    color: #34d399;
    /* Green is readable on both */
}

/* =========================================
   6. BENTO GRID & TIMELINE
   ========================================= */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    grid-auto-rows: minmax(220px, auto);
}

.bento-item {
    background: var(--bg-surface);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2rem;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.bento-item:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.3);
}

.bento-large {
    grid-column: span 1;
    grid-row: span 2;
    background: linear-gradient(145deg, #1e293b, #0f172a);
}

.bento-wide {
    grid-column: span 2;
}

.bento-item h3 {
    margin: 1rem 0 0.5rem;
    font-size: 1.5rem;
}

.bento-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.service-amount-badge {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.15) 0%, rgba(245, 158, 11, 0.1) 100%);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-gold);
    letter-spacing: 0.5px;
}

.link-arrow {
    display: inline-block;
    margin-top: 1.5rem;
    color: #60a5fa;
    font-weight: 600;
}

.timeline-process {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-process::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(255, 255, 255, 0.1);
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-marker {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    background: var(--bg-deep);
    border: 2px solid var(--primary);
    border-radius: 50%;
    color: var(--primary);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 2;
    box-shadow: 0 0 0 5px var(--bg-deep);
}

.timeline-content {
    flex-grow: 1;
}

/* =========================================
   6.5. TICKER (SCROLLING BAND)
   ========================================= */
.ticker-wrap {
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
    padding: 1.5rem 0;
    position: relative;
    /* Gradient mask */
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.ticker {
    white-space: nowrap;
    animation: ticker 60s linear infinite;
    display: flex;
    align-items: center;
}

.ticker-item {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-muted);
    /* Changed from rgba(white) */
    font-weight: 800;
    padding-right: 0;
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: default;
    display: flex;
    align-items: center;
}

/* Dots between items */
.ticker-item span.dot {
    margin: 0 2rem;
    color: var(--primary);
    font-size: 0.8rem;
    opacity: 0.6;
    box-shadow: 0 0 10px var(--primary);
    border-radius: 50%;
    width: 6px;
    height: 6px;
    background: var(--primary);
    display: inline-block;
}

.ticker-item:hover {
    color: var(--text-main);
    /* Changed from #fff */
    text-shadow: 0 0 20px var(--primary);
    /* Adjusted shadow */
}

@keyframes ticker {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-50%, 0, 0);
    }
}


/* =========================================
   6.8. CTA IMMERSIVE (GRAND FINALE)
   ========================================= */
.section-cta-immersive {
    position: relative;
    padding: 6rem 0 8rem;
    text-align: center;
    overflow: hidden;
    margin-top: 0;
    background: radial-gradient(circle at center, rgba(20, 20, 30, 1) 0%, #020202 100%);
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(to bottom, #ffffff, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -2px;
}

.cta-title span {
    display: block;
    color: var(--primary);
    -webkit-text-fill-color: var(--primary);
    font-size: 0.5em;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 1rem;
    font-weight: 600;
}

.section-cta-immersive p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-bg-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    filter: blur(60px);
    z-index: 1;
    pointer-events: none;
}

/* Subtle grid texture */
.section-cta-immersive::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.3;
    z-index: 0;
    mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
}

/* Responsive CTA */
@media (max-width: 900px) {
    .section-cta-immersive {
        padding: 5rem 0 6rem;
    }

    .cta-title {
        font-size: 2.5rem;
    }

    .section-cta-immersive p {
        font-size: 1rem;
        padding: 0 1rem;
    }
}


/* =========================================
   7. FOOTER, BUTTONS, ANIMATIONS
   ========================================= */
.footer {
    background: #020202;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem 0;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    transition: 0.3s;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
    background: var(--primary-glow);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.6);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

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

/* =========================================
   7.5. TIMELINE & COMPACT UTIILS
   ========================================= */
.hero-compact {
    padding-top: 6rem;
    padding-bottom: 2rem;
    min-height: auto;
}

.box-highlight {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 1rem;
}

.list-check {
    padding-left: 1rem;
    margin-top: 0.5rem;
}

.list-check li {
    list-style: none;
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.list-check li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.highlight-border {
    border-color: var(--primary) !important;
    background: linear-gradient(145deg, #1e1e24, #0f0f13);
}

.success-border {
    border-color: #10b981 !important;
}

.meta-info {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.narrow-container {
    max-width: 800px;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.full-width-mobile {
    width: auto;
}


/* =========================================
   8. RESPONSIVE QUERIES (FINAL)
   ========================================= */

/* =========================================
   8. RESPONSIVE QUERIES (CONSOLIDATED)
   ========================================= */

/* Tablet & Mobile (< 900px) */
@media (max-width: 900px) {
    .container {
        padding: 0 1.25rem;
    }

    /* MENU SWITCHING */
    .navbar-desktop-menu {
        display: none !important;
    }

    .navbar-toggle {
        display: block !important;
        pointer-events: auto;
    }

    .mobile-menu-overlay {
        display: flex !important;
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(5, 5, 8, 0.98);
        z-index: 9998;
        padding-top: 4rem;
        /* Space for close interaction if needed */
    }

    .mobile-menu-overlay.active {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
    }

    /* Navbar positioning on mobile */
    .navbar {
        width: 92%;
        max-width: 92vw;
        bottom: 1.25rem;
    }

    /* HERO */
    .hero-immersive {
        padding-top: 5rem;
        padding-bottom: 2rem;
        flex-direction: column;
        justify-content: center;
        text-align: center;
        min-height: auto;
    }

    .hero-split {
        grid-template-columns: 1fr;
        gap: 3rem;
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .hero-split>div:first-child {
        order: 1;
    }

    .hero-split>div:last-child {
        order: 2;
    }

    .hero-title-mega {
        font-size: 2.8rem;
        line-height: 1.1;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-desc {
        width: 100%;
        margin: 0 auto 2rem auto;
        font-size: 1.1rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        align-items: center;
        gap: 1rem;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }

    .hero-stats-row {
        justify-content: center;
        gap: 1.5rem;
        flex-wrap: wrap;
    }

    /* HERO VISUAL */
    .hero-visual {
        height: 350px;
        transform: scale(0.9);
        margin-top: 1rem;
        width: 100%;
    }

    .visual-circle {
        width: 280px;
        height: 280px;
    }

    /* Floating Cards Mobile Animation */
    .floating-card {
        animation-name: float-mobile;
        padding: 1rem;
        min-width: auto;
    }

    .card-1 {
        top: 0;
        right: auto;
        left: 50%;
        transform: translateX(-50%);
        width: max-content;
    }

    .card-2 {
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: max-content;
        animation-delay: 2s;
    }

    /* BENTO & GRID */
    .bento-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .bento-large,
    .bento-wide {
        grid-column: span 1;
        grid-row: auto;
    }

    /* TIMELINE */
    .timeline-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding-left: 0;
        gap: 1.5rem;
        width: 100%;
    }

    .timeline-content {
        width: 100%;
    }

    .timeline-process::before {
        display: none;
    }

    .timeline-marker {
        margin: 0 auto;
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    /* FOOTER */
    .footer-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 3rem;
        width: 100%;
    }

    .footer-grid>div {
        width: 100%;
        max-width: 400px;
    }

    .footer-col ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* UTILS MOBILE */
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .full-width-mobile {
        width: 100%;
        justify-content: center;
    }

    /* CTA Mobile */
    .section-cta-immersive {
        padding: 3rem 0 4rem;
    }

    .cta-title {
        font-size: 2.5rem;
    }
}

@keyframes float-mobile {

    0%,
    100% {
        transform: translate(-50%, 0);
    }

    50% {
        transform: translate(-50%, -15px);
    }
}

/* Desktop Only (> 901px) */
@media (min-width: 901px) {
    .mobile-menu-overlay {
        display: none !important;
    }

    .navbar-desktop-menu {
        display: flex !important;
    }

    .navbar-toggle {
        display: none !important;
    }
}

/* Medium Desktop (901px - 1200px) - More compact navbar, phone hidden */
@media (min-width: 901px) and (max-width: 1200px) {
    .navbar {
        max-width: min(640px, 96vw);
        padding: 0.35rem 0.8rem;
    }

    .navbar .container {
        gap: 0.5rem;
    }

    .navbar-desktop-menu {
        gap: 0.3rem;
    }

    .navbar-nav {
        gap: 0.25rem;
    }

    .nav-link {
        font-size: 0.75rem;
        padding: 0.3rem 0.4rem;
    }

    .navbar-nav .btn {
        padding: 0.35rem 0.7rem;
        font-size: 0.75rem;
    }

    .navbar-brand .logo-text {
        font-size: 0.9rem;
    }

    .lang-btn {
        padding: 0.35rem 0.5rem;
        font-size: 0.75rem;
    }

    /* Masquer le téléphone sur écrans moyens (présent dans le menu mobile) */
    .nav-phone-link {
        display: none;
    }
}

/* =========================================
   9. SUCCESS PAGE STYLES
   ========================================= */
.success-page {
    min-height: 80vh;
    padding-top: 8rem;
    padding-bottom: 4rem;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at top, rgba(16, 185, 129, 0.05) 0%, transparent 40%);
}

.success-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    background: var(--bg-surface);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 3rem;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.6s ease-out;
}

[data-theme="light"] .success-content {
    background: #ffffff;
    border-color: var(--border-color);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.success-icon-wrapper {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.success-icon-wrapper svg {
    width: 50px;
    height: 50px;
    color: #34d399;
    filter: drop-shadow(0 0 10px rgba(52, 211, 153, 0.5));
    animation: checkPop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.3s backwards;
}

@keyframes checkPop {
    from {
        opacity: 0;
        transform: scale(0);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.ref-box {
    display: inline-block;
    background: rgba(255, 255, 255, 0.05);
    border: 1px dashed rgba(255, 255, 255, 0.2);
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    margin: 1.5rem 0;
    font-family: monospace;
    font-size: 1.1rem;
    color: var(--accent-gold);
}

.success-message {
    font-size: 1.1rem;
    color: var(--text-secondary);
    /* Correct variable usage */
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* Timeline Customization for Success Page */
.success-timeline-card {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: left;
}

[data-theme="light"] .success-timeline-card {
    background: rgba(0, 0, 0, 0.03);
    /* Slight grey for contrast */
}

.success-timeline-card h2 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

/* Override/Extend timeline styles for this context */
.steps-timeline .timeline-item {
    padding-bottom: 2rem;
}

.steps-timeline .timeline-marker {
    background: var(--bg-surface);
    width: 40px;
    height: 40px;
    font-size: 1rem;
}

.steps-timeline .timeline-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: var(--text-main);
    /* Fixed hardcoded white */
}

.steps-timeline .timeline-content p {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.timeline-duration {
    display: inline-block;
    font-size: 0.75rem;
    color: var(--primary-glow);
    background: rgba(59, 130, 246, 0.1);
    padding: 0.2rem 0.6rem;
    border-radius: 100px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .success-content {
        padding: 1.5rem;
    }

    .success-icon-wrapper {
        width: 80px;
        height: 80px;
    }

    .success-timeline-card {
        padding: 1.5rem 1rem;
    }
}

/* =========================================
   LANGUAGE SWITCHER
   ========================================= */
.language-switcher {
    position: relative;
    margin-left: 0.5rem;
    z-index: 1001;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    background: var(--bg-glass);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    padding: 0.4rem 0.6rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: var(--bg-glass-hover);
    border-color: rgba(255, 255, 255, 0.2);
}

.lang-flag {
    font-weight: 600;
}

.lang-dropdown {
    position: absolute;
    bottom: calc(100% + 10px);
    /* Open UPWARD since navbar is at bottom */
    right: 0;
    min-width: 150px;
    background: #0f1014;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 2px;

    /* Hidden State */
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    /* Slide up animation */
    pointer-events: none;

    transition: all 0.2s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 2000;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
}

.lang-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.8rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.lang-option:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    transform: translateX(2px);
}

.lang-option.active {
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
}

.lang-option span {
    font-weight: 700;
    font-size: 0.75rem;
    background: var(--bg-glass);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
}

/* Light Mode Language Dropdown Fixes */
[data-theme="light"] .lang-dropdown {
    background: #ffffff;
    border-color: #cbd5e1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .lang-option {
    color: var(--text-secondary);
}

[data-theme="light"] .lang-option:hover {
    background: #f1f5f9;
    color: var(--text-main);
}

[data-theme="light"] .lang-option span {
    background: #f1f5f9;
    color: var(--text-main);
}

/* Mobile Language Switcher */
.mobile-lang-switcher {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
    /* Add spacing below to prevent overlap */
}

.lang-chip {
    padding: 0.5rem 1rem;
    background: var(--bg-glass);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

[data-theme="light"] .lang-chip {
    background: white;
    border-color: #cbd5e1;
    color: var(--text-secondary);
}

[data-theme="light"] .lang-chip:hover {
    background: #f1f5f9;
    color: var(--text-main);
    border-color: var(--primary);
}

.lang-chip:hover {
    background: var(--bg-glass-hover);
    color: var(--text-main);
}

.lang-chip.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* Hide mobile lang switcher on desktop */
@media (min-width: 901px) {
    .mobile-lang-switcher {
        display: none;
    }
}

/* Hide desktop lang switcher on mobile */
@media (max-width: 900px) {
    .language-switcher {
        display: none;
    }
}

/* ============================================
   THEME TOGGLE
   ============================================ */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    background: var(--bg-glass);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    background: var(--bg-glass-hover);
    border-color: var(--primary);
    transform: scale(1.05);
}

.theme-toggle svg {
    width: 20px;
    height: 20px;
    transition: all 0.3s ease;
}

/* Sun icon (for dark mode - click to go light) */
.theme-toggle .icon-sun {
    color: #fbbf24;
    display: none;
}

/* Moon icon (for light mode - click to go dark) */
.theme-toggle .icon-moon {
    color: #94a3b8;
    display: block;
}

/* When in light mode, show sun, hide moon */
[data-theme="light"] .theme-toggle .icon-sun {
    display: block;
}

[data-theme="light"] .theme-toggle .icon-moon {
    display: none;
}

[data-theme="light"] .theme-toggle {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .theme-toggle:hover {
    background: rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

/* Mobile theme toggle in menu */
.mobile-theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    margin-bottom: 6rem;
    /* Critical spacing for bottom fixed nav */
}

.mobile-theme-toggle span {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.theme-switch {
    position: relative;
    width: 56px;
    height: 30px;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.theme-switch::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .theme-switch::after {
    left: calc(100% - 25px);
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
}

[data-theme="light"] .theme-switch {
    background: rgba(251, 191, 36, 0.2);
    border-color: rgba(251, 191, 36, 0.3);
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials-section {
    padding: 4rem 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, #0a0a1a 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 1.75rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: rgba(124, 58, 237, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.testimonial-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid var(--primary);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-info {
    flex: 1;
    min-width: 0;
}

.testimonial-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
    margin: 0 0 0.25rem 0;
}

.testimonial-role {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
}

.testimonial-company {
    font-size: 0.8rem;
    color: var(--primary-light);
    margin: 0.15rem 0 0 0;
    font-weight: 500;
}

.testimonial-amount {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.4rem 0.75rem;
    border-radius: 20px;
    white-space: nowrap;
}

.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
    padding: 0;
    border: none;
    flex: 1;
    font-style: italic;
}

.testimonial-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--glass-border);
}

.testimonial-location {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.testimonial-location svg {
    opacity: 0.7;
}

.testimonial-flag {
    font-size: 1.5rem;
}

/* Testimonials Responsive */
@media (max-width: 1200px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .testimonials-section {
        padding: 2.5rem 0;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    .testimonial-header {
        flex-wrap: wrap;
    }

    .testimonial-amount {
        margin-left: auto;
    }

    .testimonial-text {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .testimonial-header {
        gap: 0.75rem;
    }

    .testimonial-avatar {
        width: 48px;
        height: 48px;
    }

    .testimonial-info h4 {
        font-size: 0.95rem;
    }

    .testimonial-role,
    .testimonial-company {
        font-size: 0.8rem;
    }

    .testimonial-amount {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }
}

/* Story Preview */
.story-card {
    padding: 3rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.badge-pill {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 1rem;
}

.story-stats {
    display: flex;
    justify-content: space-around;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}

.story-stat-item {
    text-align: center;
}

.stat-val-sm {
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label-sm {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive Story Section */
@media (max-width: 768px) {
    .story-card {
        padding: 2rem 1.5rem;
        text-align: center;
        /* Ensure text is centered on mobile */
    }

    .story-stats {
        flex-wrap: wrap;
        /* Allow wrapping instead of forcing column */
        gap: 2rem;
        justify-content: center;
        /* Center stats items */
    }

    .story-stat-item {
        flex: 1 1 100px;
        /* Allow items to share row */
    }

    .stat-val-sm {
        font-size: 1.75rem;
    }
}

/* =========================================
   11. ABOUT PAGE & TIMELINE
   ========================================= */
.timeline-process {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline-process.no-line::before {
    display: none;
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: flex-start;
}

.timeline-marker {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    position: relative;
    z-index: 2;
}

.icon-glow {
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(16, 185, 129, 0.2));
    border-color: rgba(59, 130, 246, 0.5);
}

.timeline-content.glass-card {
    flex-grow: 1;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-content.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .timeline-content.glass-card {
    background: #ffffff;
    border-color: #cbd5e1;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.leading-relaxed {
    line-height: 1.8;
}

/* Investment Sectors Hover Effect */
.hover-lift {
    transition: all 0.4s ease;
}

.hover-lift:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.08);
}

.btn-glow {
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
    transition: all 0.3s ease;
}

.btn-glow:hover {
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.8);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .timeline-item {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        text-align: center;
    }

    .timeline-marker {
        margin-bottom: 0.5rem;
    }
}


/* =========================================
   10. WHY CHOOSE US - QUIET LUXURY REDESIGN
   ========================================= */
.section-why-us {
    background: #050507;
    /* Very deep, almost black */
    position: relative;
    padding: 5rem 0;
    overflow: hidden;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.why-us-card {
    background: #0b0b0f;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    /* Less rounded, more serious */
    padding: 3rem;
    position: relative;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

@media (max-width: 768px) {
    .why-us-card {
        padding: 1.5rem;
        /* Reduced from 3rem */
    }
}

.why-us-card:hover {
    background: #101014;
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

/* Elegant Accent Line */
.why-us-card::before {
    content: '';
    position: absolute;
    top: 3rem;
    left: 0;
    width: 3px;
    height: 30px;
    background: var(--primary);
    opacity: 0.5;
    transition: all 0.3s ease;
}

.why-us-card:hover::before {
    height: 60px;
    opacity: 1;
    background: #fff;
}

/* Number Styling - Subtle & background */
.card-number {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 1.5rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.1);
    font-family: var(--font-heading);
    letter-spacing: 2px;
}

[data-theme="light"] .card-number {
    color: rgba(0, 0, 0, 0.1);
    /* Visible on light bg */
}

.card-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

/* Icon - Minimalist */
.card-icon-wrapper {
    margin-bottom: 2rem;
    background: transparent;
    width: auto;
    height: auto;
    padding: 0;
    border: none;
    box-shadow: none;
}

.card-icon {
    font-size: 2.5rem;
    filter: none;
    background: linear-gradient(135deg, #fff 0%, #a5a5a5 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Typography - Clean & Crisp */
.why-us-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-main);
    /* Fixed: matches theme */
    letter-spacing: -0.02em;
}

.why-us-card p {
    font-size: 1rem;
    color: #888899;
    line-height: 1.6;
    margin: 0;
}

/* =========================================
   PARTNERS & ACHIEVEMENTS - CLEAN CORPORATE
   ========================================= */
.section-gallery {
    background: #08080a;
    padding: 4rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    overflow: visible;
    /* Ensure content isn't clipped inappropriately */
}

/* Stats in a clean row */
.gallery-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto 5rem;
    padding: 3rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-item {
    text-align: center;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

.stat-item:hover {
    background: transparent;
    transform: none;
    box-shadow: none;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--text-main);
    /* Fixed: matches theme */
    margin-bottom: 0.5rem;
    background: none;
    -webkit-text-fill-color: initial;
}

.stat-label {
    font-size: 0.75rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

/* Partners Title */
.partners-title {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.25rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #888899;
}

/* Partners Logos - Grayscale Grid */
.partners-marquee {
    overflow: hidden;
    position: relative;
    padding: 1rem 0;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.partners-marquee:hover {
    opacity: 1;
}

.partners-track {
    display: flex;
    gap: 2rem;
    animation: marquee 40s linear infinite;
    width: max-content;
}

.partners-marquee.reverse .partners-track {
    animation-direction: reverse;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Partners Logos - Styled Initials Design */
.partner-logo {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1rem 1.5rem;
    height: 80px;
    min-width: 180px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.partner-logo::before {
    content: attr(data-initials);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(168, 85, 247, 0.15) 100%);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 12px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-main);
    /* Fixed: matches theme */
    letter-spacing: 0.5px;
    transition: all 0.4s ease;
}

.partner-logo:hover {
    border-color: rgba(59, 130, 246, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.15);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.04) 100%);
}

.partner-logo:hover::before {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.3) 0%, rgba(168, 85, 247, 0.3) 100%);
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
    transform: scale(1.05);
}

.partner-logo .partner-name {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.3px;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.partner-logo:hover .partner-name {
    color: #fff;
}

/* Sectors Section - Quiet Luxury */
.sectors-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.sectors-title {
    margin-bottom: 3rem;
    font-size: 1.25rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #888899;
    text-align: center;
    /* Center align subtitles */
}

.sectors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    /* Responsive auto-fit */
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.sector-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 2rem 1.5rem;
    background: #0b0b0f;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: default;
    height: 100%;
}

.sector-item:hover {
    background: #101014;
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.sector-icon {
    font-size: 2.2rem;
    line-height: 1;
    transition: transform 0.3s ease;
    /* Gradient text for icon */
    background: linear-gradient(135deg, #fff 0%, #a5a5a5 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sector-item:hover .sector-icon {
    transform: scale(1.1);
    background: var(--gradient-primary);
    /* Color on hover */
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sector-item span {
    font-size: 0.9rem;
    font-weight: 500;
    color: #aaabbb;
    text-align: center;
    transition: color 0.3s ease;
    line-height: 1.4;
}

.sector-item:hover span {
    color: #fff;
}

/* Realizations Gallery (Deal Tombstone) */
.realizations-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.realizations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.deal-card {
    background: #0b0b0f;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
    height: 100%;
}

.deal-card:hover {
    background: #101014;
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.deal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 1rem;
}

.deal-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    font-weight: 600;
}

.deal-date {
    font-size: 0.8rem;
    color: #555;
    font-weight: 500;
}

.deal-title {
    font-size: 1.4rem;
    color: #fff;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

.deal-amount {
    font-size: 2.5rem;
    font-weight: 300;
    color: #fff;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
    background: linear-gradient(135deg, #fff 0%, #aaa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Image Realizations Gallery */
.image-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.realization-card {
    position: relative;
    height: 400px;
    border-radius: 16px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.realization-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.realization-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.realization-card:hover .realization-overlay {
    opacity: 1;
}

.realization-overlay h3 {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    transform: translateY(10px);
    transition: transform 0.3s ease;
    font-family: var(--font-heading);
}

.realization-overlay .category-tag {
    color: var(--primary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    transform: translateY(10px);
    transition: transform 0.3s ease 0.1s;
    /* Subtle delay */
    display: inline-block;
}

.realization-card:hover h3,
.realization-card:hover .category-tag {
    transform: translateY(0);
}

/* Immersive Experimental Gallery */
.immersive-gallery-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    overflow: visible;
    /* Modified for marquee visibility but handle x-overflow on body usually */
    position: relative;
    /* Create a fade mask for left/right */
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.immersive-track-wrapper {
    overflow: hidden;
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.immersive-track {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: immersiveScroll 60s linear infinite;
    padding: 2rem 0;
}

.immersive-track:hover {
    animation-play-state: paused;
}

.immersive-item {
    width: 450px;
    height: 600px;
    border-radius: 8px;
    /* Sharp professional look */
    background-size: cover;
    background-position: center;
    position: relative;
    flex-shrink: 0;
    filter: grayscale(100%) brightness(0.8);
    transition: all 0.5s ease;
    cursor: pointer;
    overflow: hidden;
}

.immersive-item:hover {
    filter: grayscale(0%) brightness(1.1);
    transform: scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    z-index: 10;
}

.immersion-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem 1.5rem;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.9), transparent);
    opacity: 1;
    /* Always visible */
    transform: none;
    /* No movement */
    z-index: 2;
}

.immersive-item:hover .immersion-content {
    /* No change needed on hover if always visible */
    opacity: 1;
    transform: none;
}

.immersion-content span {
    display: block;
    font-size: 0.8rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.immersion-content h4 {
    font-size: 2rem;
    color: #fff;
    font-family: var(--font-heading);
    margin: 0;
}

@keyframes immersiveScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* =========================================
   RESPONSIVE FIXES
   ========================================= */

@media (max-width: 900px) {

    /* Why Choose Us - Stack vertically */
    .why-us-grid {
        grid-template-columns: 1fr !important;
        /* Force single column */
        padding: 0 1rem;
    }

    .why-us-card {
        padding: 2rem;
    }

    /* Navbar - Better positioning on mobile */
    .navbar {
        bottom: 1rem;
        width: 92%;
        max-width: 92vw;
        padding: 0.4rem 0.75rem;
    }

    .navbar .container {
        gap: 0.75rem;
    }

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

@media (max-width: 768px) {

    /* Ensure gallery stats stack */
    .gallery-stats {
        flex-direction: column;
        gap: 2rem;
    }

    .stat-item {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        /* Separator */
        padding-bottom: 2rem;
    }

    .stat-item:last-child {
        border-bottom: none;
    }

    /* Realizations Grid */
    .realizations-grid {
        grid-template-columns: 1fr;
        /* Single column */
    }

    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    /* Adjust Section Padding */
    .section-why-us,
    .section-gallery,
    .immersive-gallery-section {
        padding: 2.5rem 1rem;
        overflow-x: hidden;
        /* Prevent horizontal scroll */
    }
}

/* Global Form Styles Override for Light Mode */
[data-theme="light"] input,
[data-theme="light"] textarea,
[data-theme="light"] select {
    color: var(--text-main) !important;
    background: #ffffff !important;
    border-color: #cbd5e1 !important;
}

[data-theme="light"] input::placeholder,
[data-theme="light"] textarea::placeholder {
    color: #94a3b8 !important;
}

/* Footer Specific - Keep Dark but fix text if affected by global overrides */
[data-theme="light"] .footer h1,
[data-theme="light"] .footer h2,
[data-theme="light"] .footer h3,
[data-theme="light"] .footer h4 {
    color: #ffffff !important;
    /* Force white headings in dark footer */
}

[data-theme="light"] .footer p,
[data-theme="light"] .footer a {
    color: #94a3b8;
    /* Standard secondary text for dark bg */
}

[data-theme="light"] .footer a:hover {
    color: #fff;
}

/* ============================================
   COMPREHENSIVE LIGHT THEME FIXES
   ============================================ */

/* Hero Section */
[data-theme="light"] .hero-immersive {
    background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 50%, #e2e8f0 100%) !important;
}

[data-theme="light"] .hero-title,
[data-theme="light"] .hero-immersive h1,
[data-theme="light"] .hero-immersive .hero-title {
    color: #0f172a !important;
    background: linear-gradient(135deg, #0f172a 0%, #334155 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

[data-theme="light"] .hero-subtitle,
[data-theme="light"] .hero-immersive p {
    color: #475569 !important;
}

[data-theme="light"] .hero-badge {
    background: rgba(37, 99, 235, 0.1) !important;
    color: #2563eb !important;
    border-color: rgba(37, 99, 235, 0.2) !important;
}

/* Stats Section */
[data-theme="light"] .stat-value,
[data-theme="light"] .stat-number,
[data-theme="light"] .counter {
    color: #0f172a !important;
}

[data-theme="light"] .stat-label {
    color: #64748b !important;
}

[data-theme="light"] .gallery-stats {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08) !important;
}

/* Section Titles */
[data-theme="light"] .title-xl,
[data-theme="light"] .section-header h2,
[data-theme="light"] .section h2,
[data-theme="light"] .sectors-title {
    color: #0f172a !important;
}

[data-theme="light"] .subtitle,
[data-theme="light"] .section-header p {
    color: #64748b !important;
}

/* Cards - General */
[data-theme="light"] .glass-card,
[data-theme="light"] .bento-item,
[data-theme="light"] .feature-card,
[data-theme="light"] .why-us-card,
[data-theme="light"] .testimonial-card,
[data-theme="light"] .deal-card,
[data-theme="light"] .sector-item {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] .glass-card:hover,
[data-theme="light"] .bento-item:hover,
[data-theme="light"] .why-us-card:hover,
[data-theme="light"] .deal-card:hover,
[data-theme="light"] .sector-item:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12) !important;
    border-color: #cbd5e1 !important;
}

/* Card Content */
[data-theme="light"] .card-title,
[data-theme="light"] .bento-item h3,
[data-theme="light"] .why-us-card h3,
[data-theme="light"] .deal-card h3,
[data-theme="light"] .feature-card h3 {
    color: #0f172a !important;
}

[data-theme="light"] .card-desc,
[data-theme="light"] .bento-item p,
[data-theme="light"] .why-us-card p,
[data-theme="light"] .deal-card p,
[data-theme="light"] .feature-card p {
    color: #64748b !important;
}

[data-theme="light"] .card-number {
    color: rgba(0, 0, 0, 0.06) !important;
}

/* Deal Cards */
[data-theme="light"] .deal-date {
    color: #64748b !important;
}

[data-theme="light"] .deal-amount {
    color: #2563eb !important;
}

/* Sector Items */
[data-theme="light"] .sector-item span {
    color: #334155 !important;
}

[data-theme="light"] .sector-item svg {
    color: #2563eb !important;
}

/* Story Section */
[data-theme="light"] .section-story,
[data-theme="light"] .story-section {
    background: #f8fafc !important;
}

[data-theme="light"] .story-text,
[data-theme="light"] .story-content p {
    color: #475569 !important;
}

[data-theme="light"] .story-image-container {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15) !important;
    border: 1px solid #e2e8f0 !important;
}

/* Gallery Section */
[data-theme="light"] .section-gallery {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%) !important;
}

/* CTA Section */
[data-theme="light"] .section-cta-immersive {
    background: linear-gradient(135deg, #1e40af 0%, #7c3aed 100%) !important;
}

[data-theme="light"] .section-cta-immersive h2,
[data-theme="light"] .section-cta-immersive p,
[data-theme="light"] .cta-title,
[data-theme="light"] .cta-title span {
    color: #ffffff !important;
}

/* Floating Cards */
[data-theme="light"] .floating-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1) !important;
}

[data-theme="light"] .floating-card .card-icon {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
    color: #ffffff !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
    width: 50px !important;
    height: 50px !important;
    min-width: 50px !important;
    min-height: 50px !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.5rem !important;
}

[data-theme="light"] .floating-card strong {
    color: #0f172a !important;
}

[data-theme="light"] .floating-card span {
    color: #2563eb !important;
    font-weight: 600 !important;
}

[data-theme="light"] .floating-card-title {
    color: #0f172a !important;
}

[data-theme="light"] .floating-card-value {
    color: #2563eb !important;
}

[data-theme="light"] .floating-card p {
    color: #64748b !important;
}

/* Mobile Menu - IMPORTANT */
[data-theme="light"] .mobile-menu-overlay {
    background: #ffffff !important;
}

[data-theme="light"] .mobile-menu-overlay .nav-link,
[data-theme="light"] .navbar-nav-mobile .nav-link {
    color: #0f172a !important;
}

[data-theme="light"] .mobile-menu-overlay .nav-link:hover,
[data-theme="light"] .navbar-nav-mobile .nav-link:hover {
    color: #2563eb !important;
}

[data-theme="light"] .btn-close-menu {
    color: #0f172a !important;
}

[data-theme="light"] .mobile-lang-switcher .lang-chip {
    background: #f1f5f9 !important;
    color: #475569 !important;
    border: 1px solid #e2e8f0 !important;
}

[data-theme="light"] .mobile-lang-switcher .lang-chip.active,
[data-theme="light"] .mobile-lang-switcher .lang-chip:hover {
    background: #2563eb !important;
    color: #ffffff !important;
    border-color: #2563eb !important;
}

[data-theme="light"] .mobile-theme-toggle {
    background: #f1f5f9 !important;
    border: 1px solid #e2e8f0 !important;
}

/* Forms - Submit Project & Contact */
[data-theme="light"] .form-section,
[data-theme="light"] .contact-section {
    background: #f8fafc !important;
}

[data-theme="light"] .form-card,
[data-theme="light"] .contact-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .form-group label,
[data-theme="light"] label {
    color: #334155 !important;
}

[data-theme="light"] .form-control,
[data-theme="light"] input[type="text"],
[data-theme="light"] input[type="email"],
[data-theme="light"] input[type="tel"],
[data-theme="light"] input[type="number"],
[data-theme="light"] textarea,
[data-theme="light"] select {
    background: #ffffff !important;
    color: #0f172a !important;
    border: 1px solid #cbd5e1 !important;
}

[data-theme="light"] .form-control:focus,
[data-theme="light"] input:focus,
[data-theme="light"] textarea:focus,
[data-theme="light"] select:focus {
    border-color: #2563eb !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1) !important;
}

/* About Page */
[data-theme="light"] .about-hero {
    background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%) !important;
}

[data-theme="light"] .about-hero h1 {
    color: #0f172a !important;
}

[data-theme="light"] .about-hero p {
    color: #475569 !important;
}

[data-theme="light"] .timeline-item,
[data-theme="light"] .timeline-content {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
}

[data-theme="light"] .timeline-year {
    color: #2563eb !important;
}

[data-theme="light"] .timeline-content h3 {
    color: #0f172a !important;
}

[data-theme="light"] .timeline-content p {
    color: #64748b !important;
}

/* Partner Logos */
[data-theme="light"] .partner-logo {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
}

[data-theme="light"] .partner-logo:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1) !important;
}

[data-theme="light"] .partner-name {
    color: #475569 !important;
}

/* Testimonials */
[data-theme="light"] .testimonial-card {
    background: #ffffff !important;
}

[data-theme="light"] .testimonial-text {
    color: #334155 !important;
}

[data-theme="light"] .testimonial-author {
    color: #0f172a !important;
}

[data-theme="light"] .testimonial-role {
    color: #64748b !important;
}

/* Success Page */
[data-theme="light"] .success-content {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
}

[data-theme="light"] .success-content h1 {
    color: #0f172a !important;
}

[data-theme="light"] .success-content p {
    color: #475569 !important;
}

[data-theme="light"] .success-timeline-card {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
}

/* Buttons */
[data-theme="light"] .btn-outline {
    border-color: #cbd5e1 !important;
    color: #334155 !important;
}

[data-theme="light"] .btn-outline:hover {
    background: #f1f5f9 !important;
    border-color: #2563eb !important;
    color: #2563eb !important;
}

/* Navbar Light Mode - Enhanced */
[data-theme="light"] .navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .navbar:hover {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12) !important;
}

[data-theme="light"] .nav-link {
    color: #475569 !important;
}

[data-theme="light"] .nav-link:hover,
[data-theme="light"] .nav-link.active {
    color: #2563eb !important;
    background: rgba(37, 99, 235, 0.08) !important;
}

[data-theme="light"] .navbar-toggle span {
    background: #334155 !important;
}

/* Language Dropdown Light */
[data-theme="light"] .lang-dropdown {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1) !important;
}

[data-theme="light"] .lang-option {
    color: #475569 !important;
}

[data-theme="light"] .lang-option:hover,
[data-theme="light"] .lang-option.active {
    background: #f1f5f9 !important;
    color: #2563eb !important;
}

[data-theme="light"] .lang-btn {
    color: #475569 !important;
}

/* Cookie Banner Light */
[data-theme="light"] .cookie-banner {
    background: #ffffff !important;
    border-top: 1px solid #e2e8f0 !important;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1) !important;
}

[data-theme="light"] .cookie-banner p {
    color: #475569 !important;
}

/* Immersive Gallery Section */
[data-theme="light"] .immersive-gallery-section {
    border-top-color: rgba(0, 0, 0, 0.05) !important;
}

/* Ticker */
[data-theme="light"] .ticker-wrap {
    background: linear-gradient(90deg, #2563eb 0%, #7c3aed 100%) !important;
}

[data-theme="light"] .ticker-item {
    color: #ffffff !important;
}

/* Why Us Section */
[data-theme="light"] .section-why-us {
    background: #f8fafc !important;
}

/* Bento Grid */
[data-theme="light"] .bento-grid-section {
    background: #f1f5f9 !important;
}

/* Text Gradient Override for Light Mode */
[data-theme="light"] .text-gradient,
[data-theme="light"] [class*="gradient-text"] {
    background: linear-gradient(135deg, #0f172a 0%, #475569 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

/* Icons in Light Mode */
[data-theme="light"] .icon-wrapper,
[data-theme="light"] .card-icon {
    background: rgba(37, 99, 235, 0.1) !important;
    color: #2563eb !important;
}

/* Section Backgrounds */
[data-theme="light"] section {
    background-color: transparent;
}

[data-theme="light"] .section-dark {
    background: #e2e8f0 !important;
}

/* Scroll Indicators & Decorations */
[data-theme="light"] .scroll-indicator {
    border-color: #cbd5e1 !important;
}

[data-theme="light"] .scroll-indicator::before {
    background: #64748b !important;
}

/* Realizations Section */
[data-theme="light"] .realizations-section {
    background: #f8fafc !important;
}

[data-theme="light"] .realization-card {
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
}

[data-theme="light"] .realization-card h3 {
    color: #0f172a !important;
}

[data-theme="light"] .realization-card p {
    color: #64748b !important;
}

/* General Link Colors */
[data-theme="light"] a:not(.btn):not(.nav-link) {
    color: #2563eb;
}

[data-theme="light"] a:not(.btn):not(.nav-link):hover {
    color: #1d4ed8;
}