/* 
 * A+ Enterprise - Dual Theme (Light/Dark)
 * Company Colors: Black/Blue + Orange
 * Supports theme switching via data-theme attribute
 */

/* ============================================
   SHARED VARIABLES (Both Themes)
   ============================================ */

:root {
    /* Company Brand Colors */
    --brand-black: #1a1a1a;
    --brand-blue: #2563eb;
    --brand-blue-light: #3b82f6;
    --brand-blue-dark: #1d4ed8;
    --brand-orange: #f97316;
    --brand-orange-light: #fb923c;
    --brand-orange-dark: #ea580c;
    
    /* Border Radius */
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    
    /* Typography */
    --font-display: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-arabic: 'Cairo', 'Tajawal', sans-serif;
    
    /* Transitions */
    --transition-fast: 200ms ease;
    --transition-base: 400ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 600ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-glow: 300ms ease;
}

/* ============================================
   LIGHT MODE - Company Profile Colors
   ============================================ */

[data-theme="light"], :root {
    /* Primary Colors - Blue */
    --primary-color: var(--brand-blue);
    --primary-light: var(--brand-blue-light);
    --primary-dark: var(--brand-blue-dark);
    --primary-gradient: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    
    /* Secondary/Accent - Orange */
    --secondary-color: var(--brand-orange);
    --secondary-gradient: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    --accent-gradient: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
    
    /* Backgrounds - Light */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --bg-dark: #1a1a1a;
    --bg-glass: rgba(255, 255, 255, 0.9);
    --bg-glass-light: rgba(255, 255, 255, 0.7);
    
    /* Text Colors - Dark on Light */
    --text-primary: #1a1a1a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    
    /* Multi-color Palette */
    --color-mission: #f97316;
    --color-mission-light: rgba(249, 115, 22, 0.1);
    --color-vision: #2563eb;
    --color-vision-light: rgba(37, 99, 235, 0.1);
    --color-values: #f97316;
    --color-values-light: rgba(249, 115, 22, 0.1);
    --color-green: #10b981;
    --color-green-light: rgba(16, 185, 129, 0.1);
    --color-orange: #f97316;
    --color-orange-light: rgba(249, 115, 22, 0.1);
    --color-purple: #2563eb;
    --color-purple-light: rgba(37, 99, 235, 0.1);
    
    /* Accent Colors */
    --accent-blue: #2563eb;
    --accent-cyan: #0891b2;
    --accent-gray: #64748b;
    --accent-success: #10b981;
    --accent-warning: #f97316;
    --accent-error: #ef4444;
    
    /* Shadows - Light Mode */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.08), 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1), 0 8px 10px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 20px rgba(37, 99, 235, 0.15);
    --shadow-glow-purple: 0 0 20px rgba(37, 99, 235, 0.2);
    --shadow-glow-cyan: 0 0 20px rgba(249, 115, 22, 0.2);
    --shadow-primary: 0 4px 14px rgba(37, 99, 235, 0.25);
    
    /* Glassmorphism - Light Mode */
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-bg-strong: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(0, 0, 0, 0.08);
    --glass-border-glow: rgba(37, 99, 235, 0.3);
    --glass-blur: 20px;
    
    /* Borders - Light Mode */
    --border-color: rgba(0, 0, 0, 0.08);
    --border-light: rgba(0, 0, 0, 0.04);
    --border-glow: rgba(37, 99, 235, 0.3);
    
    /* Aurora variables (for compatibility) */
    --aurora-purple: var(--brand-blue);
    --aurora-pink: var(--brand-orange);
    --aurora-cyan: var(--brand-blue-light);
    --aurora-blue: var(--brand-blue);
    --aurora-teal: var(--brand-orange-light);
    --aurora-violet: var(--brand-blue-light);
    
    /* Mesh Gradients - Light Mode */
    --aurora-mesh-1: radial-gradient(ellipse 80% 50% at 20% 40%, rgba(37, 99, 235, 0.08) 0%, transparent 50%);
    --aurora-mesh-2: radial-gradient(ellipse 60% 80% at 80% 20%, rgba(249, 115, 22, 0.06) 0%, transparent 50%);
    --aurora-mesh-3: radial-gradient(ellipse 70% 60% at 60% 80%, rgba(37, 99, 235, 0.05) 0%, transparent 50%);
    --aurora-mesh-4: radial-gradient(ellipse 50% 70% at 10% 90%, rgba(249, 115, 22, 0.04) 0%, transparent 50%);
}

/* ============================================
   DARK MODE - Aurora Theme
   ============================================ */

[data-theme="dark"] {
    /* Primary Colors */
    --primary-color: #8b5cf6;
    --primary-light: #a78bfa;
    --primary-dark: #7c3aed;
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f472b6 100%);
    --secondary-gradient: linear-gradient(135deg, #22d3ee 0%, #2dd4bf 100%);
    --accent-gradient: linear-gradient(135deg, #f472b6 0%, #fb7185 100%);
    
    /* Backgrounds - Dark */
    --bg-primary: #0f0f1a;
    --bg-secondary: #1a1a2e;
    --bg-tertiary: #252542;
    --bg-dark: #0a0a12;
    --bg-glass: rgba(15, 15, 26, 0.7);
    --bg-glass-light: rgba(255, 255, 255, 0.05);
    
    /* Text Colors - Light on Dark */
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --text-light: #64748b;
    
    /* Multi-color Palette */
    --color-mission: #f472b6;
    --color-mission-light: rgba(244, 114, 182, 0.15);
    --color-vision: #22d3ee;
    --color-vision-light: rgba(34, 211, 238, 0.15);
    --color-values: #fbbf24;
    --color-values-light: rgba(251, 191, 36, 0.15);
    --color-green: #34d399;
    --color-green-light: rgba(52, 211, 153, 0.15);
    --color-orange: #fb923c;
    --color-orange-light: rgba(251, 146, 60, 0.15);
    --color-purple: #a78bfa;
    --color-purple-light: rgba(167, 139, 250, 0.15);
    
    /* Accent Colors */
    --accent-blue: #60a5fa;
    --accent-cyan: #22d3ee;
    --accent-gray: #94a3b8;
    --accent-success: #34d399;
    --accent-warning: #fbbf24;
    --accent-error: #f87171;
    
    /* Shadows - Dark Mode Glow */
    --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-glow: 0 0 40px rgba(139, 92, 246, 0.3);
    --shadow-glow-purple: 0 0 40px rgba(139, 92, 246, 0.3);
    --shadow-glow-pink: 0 0 40px rgba(244, 114, 182, 0.3);
    --shadow-glow-cyan: 0 0 40px rgba(34, 211, 238, 0.3);
    --shadow-primary: 0 0 20px rgba(139, 92, 246, 0.2), 0 0 40px rgba(244, 114, 182, 0.15);
    
    /* Glassmorphism - Dark Mode */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-bg-strong: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-border-glow: rgba(139, 92, 246, 0.3);
    --glass-blur: 20px;
    
    /* Borders - Dark Mode */
    --border-color: rgba(255, 255, 255, 0.08);
    --border-light: rgba(255, 255, 255, 0.04);
    --border-glow: rgba(139, 92, 246, 0.5);
    
    /* Aurora variables */
    --aurora-purple: #c084fc;
    --aurora-pink: #f472b6;
    --aurora-cyan: #22d3ee;
    --aurora-blue: #60a5fa;
    --aurora-teal: #2dd4bf;
    --aurora-violet: #a78bfa;
    
    /* Mesh Gradients - Dark Mode */
    --aurora-mesh-1: radial-gradient(ellipse 80% 50% at 20% 40%, rgba(192, 132, 252, 0.3) 0%, transparent 50%);
    --aurora-mesh-2: radial-gradient(ellipse 60% 80% at 80% 20%, rgba(34, 211, 238, 0.25) 0%, transparent 50%);
    --aurora-mesh-3: radial-gradient(ellipse 70% 60% at 60% 80%, rgba(244, 114, 182, 0.2) 0%, transparent 50%);
    --aurora-mesh-4: radial-gradient(ellipse 50% 70% at 10% 90%, rgba(45, 212, 191, 0.2) 0%, transparent 50%);
}

/* ============================================
   BASE STYLES - AURORA THEME
   ============================================ */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

body.rtl {
    font-family: var(--font-arabic), var(--font-body);
}

/* Aurora Gradient Mesh Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        var(--aurora-mesh-1),
        var(--aurora-mesh-2),
        var(--aurora-mesh-3),
        var(--aurora-mesh-4);
    animation: auroraPulse 15s ease-in-out infinite;
    pointer-events: none;
    z-index: -2;
}

/* Subtle noise texture overlay */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
    z-index: -1;
}

@keyframes auroraPulse {
    0%, 100% {
        opacity: 1;
        filter: hue-rotate(0deg);
    }
    50% {
        opacity: 0.8;
        filter: hue-rotate(15deg);
    }
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
}

body.rtl h1,
body.rtl h2,
body.rtl h3,
body.rtl h4,
body.rtl h5,
body.rtl h6 {
    font-family: var(--font-arabic);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

p {
    color: var(--text-secondary);
    line-height: 1.8;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--primary-dark);
}

/* ============================================
   NAVIGATION - Dual Theme Support
   ============================================ */

/* Navbar - Glass Floating */
.navbar {
    position: fixed !important;
    top: 1rem !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    width: calc(100% - 2rem) !important;
    max-width: 1400px !important;
    z-index: 1000;
    padding: 0.875rem 1.5rem;
    background: var(--glass-bg) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border) !important;
    border-radius: var(--radius-xl) !important;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-base);
}

.navbar.scrolled {
    top: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--glass-bg-strong);
    border-color: var(--glass-border-glow);
    box-shadow: var(--shadow-xl);
}

/* Dark mode navbar overrides */
[data-theme="dark"] .navbar {
    background: rgba(15, 15, 26, 0.8) !important;
}

[data-theme="dark"] .navbar.scrolled {
    background: rgba(15, 15, 26, 0.95) !important;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
}

.logo img {
    height: 45px;
    width: auto;
    transition: filter var(--transition-fast);
}

/* Light mode - dark logo */
[data-theme="light"] .logo img,
:root:not([data-theme="dark"]) .logo img {
    filter: none;
}

/* Dark mode - white logo */
[data-theme="dark"] .logo img {
    filter: brightness(0) invert(1);
}

.logo-text {
    font-family: var(--font-display);
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
}

.nav-link {
    display: block;
    padding: 0.75rem 1.25rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: var(--transition-base);
    position: relative;
}

.nav-link:hover {
    color: var(--aurora-cyan);
    background: rgba(34, 211, 238, 0.1);
}

.nav-link.active {
    color: var(--aurora-purple);
    background: rgba(192, 132, 252, 0.1);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0.5rem;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 20px;
    height: 2px;
    background: var(--primary-gradient);
    border-radius: var(--radius-full);
    transition: var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    gap: 0.25rem;
    padding: 0.25rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    margin-left: 0.5rem;
}

body.rtl .lang-switcher {
    margin-left: 0;
    margin-right: 0.5rem;
}

.lang-btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
    background: transparent;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition-fast);
    text-decoration: none;
}

.lang-btn:hover {
    color: var(--text-primary);
}

/* ============================================
   THEME TOGGLE BUTTON
   ============================================ */

.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition-fast);
    margin-left: 0.5rem;
}

body.rtl .theme-toggle {
    margin-left: 0;
    margin-right: 0.5rem;
}

.theme-toggle:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.theme-toggle:hover .theme-icon {
    color: white;
}

.theme-icon {
    font-size: 1.25rem;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

/* Sun icon for dark mode, Moon for light mode */
.theme-toggle .icon-sun {
    display: none;
}

.theme-toggle .icon-moon {
    display: block;
}

[data-theme="dark"] .theme-toggle .icon-sun {
    display: block;
}

[data-theme="dark"] .theme-toggle .icon-moon {
    display: none;
}

.lang-btn.active {
    background: var(--primary-gradient);
    color: white;
    box-shadow: var(--shadow-glow-purple);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-fast);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO SECTION - AURORA THEME
   ============================================ */

/* Hero - Aurora Mesh Background */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 6rem;
    position: relative;
    overflow: hidden;
}

/* Aurora Orb 1 - Purple/Pink */
.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--aurora-purple) 0%, var(--aurora-pink) 50%, transparent 70%);
    border-radius: 50%;
    opacity: 0.3;
    filter: blur(80px);
    pointer-events: none;
    animation: auroraFloat1 20s ease-in-out infinite;
}

/* Aurora Orb 2 - Cyan/Teal */
.hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--aurora-cyan) 0%, var(--aurora-teal) 50%, transparent 70%);
    border-radius: 50%;
    opacity: 0.25;
    filter: blur(70px);
    pointer-events: none;
    animation: auroraFloat2 25s ease-in-out infinite;
}

@keyframes auroraFloat1 {
    0%, 100% { 
        transform: translate(0, 0) scale(1); 
        opacity: 0.3;
    }
    50% { 
        transform: translate(-50px, 30px) scale(1.1); 
        opacity: 0.4;
    }
}

@keyframes auroraFloat2 {
    0%, 100% { 
        transform: translate(0, 0) scale(1); 
        opacity: 0.25;
    }
    50% { 
        transform: translate(40px, -20px) scale(1.05); 
        opacity: 0.35;
    }
}

.hero-content {
    max-width: 900px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

/* Aurora Gradient Text */
.hero h1 span,
.gradient-text {
    background: linear-gradient(135deg, var(--aurora-purple) 0%, var(--aurora-pink) 50%, var(--aurora-cyan) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 8s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
}

/* ============================================
   CTA BUTTONS - AURORA THEME
   ============================================ */

.cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* CTA Buttons - Aurora Glow Style */
.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.25rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: all var(--transition-base);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

/* Primary Button - Aurora Gradient with Glow */
.cta-primary {
    background: linear-gradient(135deg, var(--aurora-purple) 0%, var(--aurora-pink) 100%);
    color: white;
    box-shadow: 
        0 0 20px rgba(192, 132, 252, 0.4),
        0 4px 15px rgba(0, 0, 0, 0.3);
}

.cta-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.25) 0%, transparent 50%);
    pointer-events: none;
}

.cta-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 0 40px rgba(192, 132, 252, 0.6),
        0 8px 30px rgba(0, 0, 0, 0.4);
    color: white;
}

.cta-primary:active {
    transform: translateY(-1px) scale(0.98);
}

/* Secondary Button - Glass with border glow */
.cta-secondary {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    color: var(--aurora-cyan);
    border: 1px solid var(--aurora-cyan);
    box-shadow: 
        0 0 15px rgba(34, 211, 238, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.cta-secondary:hover {
    background: linear-gradient(135deg, var(--aurora-cyan) 0%, var(--aurora-teal) 100%);
    color: var(--bg-dark);
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 
        0 0 30px rgba(34, 211, 238, 0.5),
        0 8px 25px rgba(0, 0, 0, 0.3);
}

.micro-cta {
    font-size: 0.95rem;
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: var(--transition-fast);
}

.micro-cta:hover {
    border-bottom-color: var(--primary-color);
}

/* ============================================
   SECTIONS - LIGHT THEME
   ============================================ */

.section {
    padding: 6rem 2rem;
    position: relative;
}

.section-light {
    background: var(--bg-primary);
}

.section-alt {
    background: var(--bg-secondary);
}

.section-gradient {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.section-primary {
    background: var(--primary-gradient);
    color: white;
}

.section-primary .section-title,
.section-primary .section-subtitle,
.section-primary p {
    color: white;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.15rem;
    text-align: center;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 3rem;
}

/* ============================================
   CARDS - AURORA GLASS STYLE
   ============================================ */

.card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    padding: 2rem;
    border: 1px solid var(--glass-border);
    box-shadow: 
        0 4px 30px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

/* Aurora glow border on hover */
.card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, var(--aurora-purple), var(--aurora-cyan), var(--aurora-pink));
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 8px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(139, 92, 246, 0.15);
    border-color: transparent;
}

.card:hover::before {
    opacity: 1;
}

/* Glass Card - Aurora Frosted */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.glass:hover {
    background: var(--glass-bg-strong);
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

/* Light Mode - Glass cards readable text */
[data-theme="light"] .glass,
:root:not([data-theme="dark"]) .glass {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
}

[data-theme="light"] .glass h2,
[data-theme="light"] .glass h3,
[data-theme="light"] .glass h4,
[data-theme="light"] .glass p,
[data-theme="light"] .glass span,
:root:not([data-theme="dark"]) .glass h2,
:root:not([data-theme="dark"]) .glass h3,
:root:not([data-theme="dark"]) .glass h4,
:root:not([data-theme="dark"]) .glass p,
:root:not([data-theme="dark"]) .glass span {
    color: var(--text-primary) !important;
}

[data-theme="light"] .glass [style*="color: white"],
[data-theme="light"] .glass [style*="color: rgba(255"],
:root:not([data-theme="dark"]) .glass [style*="color: white"],
:root:not([data-theme="dark"]) .glass [style*="color: rgba(255"] {
    color: var(--text-primary) !important;
}

/* Light Mode - Section dark becomes light */
[data-theme="light"] .section-dark,
:root:not([data-theme="dark"]) .section-dark {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

[data-theme="light"] .section-dark .section-title,
[data-theme="light"] .section-dark h2,
[data-theme="light"] .section-dark h3,
[data-theme="light"] .section-dark p,
:root:not([data-theme="dark"]) .section-dark .section-title,
:root:not([data-theme="dark"]) .section-dark h2,
:root:not([data-theme="dark"]) .section-dark h3,
:root:not([data-theme="dark"]) .section-dark p {
    color: var(--text-primary);
}

/* Light Mode - Hero section */
[data-theme="light"] .hero,
:root:not([data-theme="dark"]) .hero {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

[data-theme="light"] .hero h1,
[data-theme="light"] .hero-subtitle,
:root:not([data-theme="dark"]) .hero h1,
:root:not([data-theme="dark"]) .hero-subtitle {
    color: var(--text-primary);
}

[data-theme="light"] .hero h1 span,
:root:not([data-theme="dark"]) .hero h1 span {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   FEATURE ITEMS - AURORA THEME
   ============================================ */

.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* Feature Items - Aurora Glass */
.feature-item {
    display: flex;
    gap: 1.25rem;
    padding: 1.75rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

/* Aurora glow line on hover */
.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--aurora-purple), var(--aurora-cyan), var(--aurora-pink));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.feature-item:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 25px rgba(139, 92, 246, 0.1);
}

/* Light Mode - Feature Items */
[data-theme="light"] .feature-item,
:root:not([data-theme="dark"]) .feature-item {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
}

[data-theme="light"] .feature-item:hover,
:root:not([data-theme="dark"]) .feature-item:hover {
    background: var(--bg-secondary);
    box-shadow: var(--shadow-lg);
}

.feature-item:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(192, 132, 252, 0.2) 0%, rgba(34, 211, 238, 0.1) 100%);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.feature-text strong {
    display: block;
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.feature-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ============================================
   SERVICE CARDS - AURORA THEME
   ============================================ */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

/* Service Cards - Aurora Glass */
.service-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    text-align: center;
    transition: all var(--transition-base);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* Light Mode - Service Cards */
[data-theme="light"] .service-card,
:root:not([data-theme="dark"]) .service-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

[data-theme="light"] .service-card:hover,
:root:not([data-theme="dark"]) .service-card:hover {
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

/* Aurora gradient border */
.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, var(--aurora-purple), var(--aurora-cyan), var(--aurora-pink));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--transition-base);
}

/* Aurora glow on hover */
.service-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 
        0 8px 40px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(139, 92, 246, 0.15);
}

.service-card:hover::before {
    opacity: 1;
}

/* Ensure content stays above overlays */
.service-card > * {
    position: relative;
    z-index: 1;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.service-title {
    font-size: 1.35rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.service-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* ============================================
   FRAMEWORK / STEPS - LIGHT THEME
   ============================================ */

.creative-framework {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.framework-step {
    text-align: center;
    padding: 2rem;
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    position: relative;
    transition: var(--transition-base);
}

.framework-step:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
}

.step-number span {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.step-glow {
    position: absolute;
    inset: -5px;
    background: var(--primary-gradient);
    border-radius: 50%;
    opacity: 0.3;
    filter: blur(10px);
    z-index: -1;
}

.step-content h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.step-connector {
    display: none;
}

/* ============================================
   GLASS CTA SECTION - LIGHT THEME
   ============================================ */

.glass-cta {
    background: var(--primary-gradient);
    border-radius: var(--radius-xl);
    padding: 4rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.glass-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.glass-cta h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: white !important;
    margin-bottom: 1rem;
}

.glass-cta p {
    color: rgba(255, 255, 255, 0.9) !important;
    margin-bottom: 2rem;
}

.glass-cta input {
    color: white !important;
}

.glass-cta input::placeholder {
    color: rgba(255, 255, 255, 0.7) !important;
}

.glass-cta .cta-primary {
    background: white;
    color: var(--primary-color);
}

.glass-cta .cta-primary:hover {
    background: var(--bg-secondary);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.glass-cta .cta-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.glass-cta .cta-secondary:hover {
    background: white;
    color: var(--primary-color);
}

/* ============================================
   FOOTER - AURORA THEME
   ============================================ */

/* Footer - Aurora Dark with Mesh */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 5rem 2rem 2rem;
    position: relative;
    overflow: hidden;
}

/* Aurora gradient orbs */
.footer::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--aurora-purple) 0%, transparent 60%);
    opacity: 0.15;
    filter: blur(60px);
    pointer-events: none;
    animation: auroraFloat1 20s ease-in-out infinite;
}

.footer::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -15%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, var(--aurora-cyan) 0%, transparent 60%);
    opacity: 0.12;
    filter: blur(50px);
    pointer-events: none;
    animation: auroraFloat2 25s ease-in-out infinite;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.footer-section h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--aurora-purple), var(--aurora-cyan));
    border-radius: var(--radius-full);
}

body.rtl .footer-section h3::after {
    left: auto;
    right: 0;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-fast);
}

.footer-section a:hover {
    color: var(--primary-light);
}

.social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: white;
    font-weight: 600;
    transition: var(--transition-fast);
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    color: white;
}

.footer-bottom {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* ============================================
   FORMS - LIGHT THEME
   ============================================ */

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.form-control {
    width: 100%;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--aurora-purple);
    box-shadow: 0 0 20px rgba(192, 132, 252, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.form-control::placeholder {
    color: var(--text-light);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* ============================================
   BREADCRUMBS - LIGHT THEME
   ============================================ */

.breadcrumbs {
    padding: 1rem 0;
    font-size: 0.9rem;
}

.breadcrumbs a {
    color: var(--text-muted);
}

.breadcrumbs a:hover {
    color: var(--primary-color);
}

.breadcrumbs span {
    color: var(--text-secondary);
}

/* ============================================
   INFO CARDS - LIGHT THEME
   ============================================ */

.info-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: var(--transition-base);
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.info-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.info-card h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.info-card p,
.info-card a {
    color: var(--text-secondary);
}

/* ============================================
   TABLES - LIGHT THEME
   ============================================ */

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

th {
    background: var(--primary-gradient);
    color: white;
    padding: 1.25rem 1rem;
    font-weight: 600;
    text-align: left;
}

body.rtl th {
    text-align: right;
}

td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
}

tr:last-child td {
    border-bottom: none;
}

tr:hover td {
    background: var(--bg-secondary);
}

/* ============================================
   FAQ ACCORDION - LIGHT THEME
   ============================================ */

.faq-item {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: var(--transition-base);
}

.faq-item:hover {
    border-color: var(--primary-light);
}

.faq-question {
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-answer {
    padding: 0 1.5rem 1.25rem;
    color: var(--text-secondary);
    line-height: 1.7;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* ============================================
   ANIMATIONS
   ============================================ */

.animate-fade-in {
    animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.text-center { text-align: center; }
.text-primary { color: var(--primary-color) !important; }
.bg-primary { background: var(--primary-color) !important; }
.bg-gradient { background: var(--primary-gradient) !important; }

/* ============================================
   RESPONSIVE - MOBILE
   ============================================ */

@media (max-width: 768px) {
    .navbar {
        padding: 1rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--bg-primary);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1rem;
        transform: translateX(100%);
        transition: var(--transition-base);
        z-index: 1000;
    }
    
    body.rtl .nav-menu {
        transform: translateX(-100%);
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .nav-link {
        font-size: 1.25rem;
        padding: 1rem 2rem;
    }
    
    .lang-switcher {
        margin: 1rem 0 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero {
        padding: 7rem 1.5rem 3rem;
        min-height: auto;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .cta-group {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .section {
        padding: 4rem 1.5rem;
    }
    
    .features-list,
    .services-grid,
    .creative-framework {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-links {
        justify-content: center;
    }
}

/* ============================================
   CREATIVE ELEMENTS - COMPANY PROFILE STYLE
   ============================================ */

/* Colorful Circle Icons (Mission, Vision, Values style) */
.circle-icon {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
}

.circle-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    padding: 4px;
    background: conic-gradient(from 0deg, var(--circle-color) 0%, transparent 70%, var(--circle-color) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: rotateCircle 8s linear infinite;
}

@keyframes rotateCircle {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.circle-icon.mission { --circle-color: var(--color-mission); }
.circle-icon.vision { --circle-color: var(--color-vision); }
.circle-icon.values { --circle-color: var(--color-values); }
.circle-icon.green { --circle-color: var(--color-green); }

/* Colorful Feature Cards */
.feature-card-colored {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.feature-card-colored::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--card-accent);
}

.feature-card-colored:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.feature-card-colored.mission { --card-accent: var(--color-mission); }
.feature-card-colored.vision { --card-accent: var(--color-vision); }
.feature-card-colored.values { --card-accent: var(--color-values); }

/* Rising Chart Line Effect */
.chart-line-bg {
    position: relative;
    overflow: hidden;
}

.chart-line-bg::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: 
        linear-gradient(135deg, transparent 45%, var(--primary-light) 45%, var(--primary-light) 47%, transparent 47%),
        linear-gradient(45deg, transparent 45%, var(--primary-light) 45%, var(--primary-light) 47%, transparent 47%);
    background-size: 100px 100px;
    opacity: 0.3;
    pointer-events: none;
}

/* Floating Circles Decoration */
.floating-circles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.floating-circles .circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: floatCircle 15s ease-in-out infinite;
}

.floating-circles .circle:nth-child(1) {
    width: 300px;
    height: 300px;
    background: var(--color-mission);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.floating-circles .circle:nth-child(2) {
    width: 200px;
    height: 200px;
    background: var(--color-vision);
    bottom: -50px;
    left: -50px;
    animation-delay: 5s;
}

.floating-circles .circle:nth-child(3) {
    width: 150px;
    height: 150px;
    background: var(--color-values);
    top: 50%;
    right: 10%;
    animation-delay: 10s;
}

@keyframes floatCircle {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, -20px) scale(1.1); }
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--color-vision) 50%, var(--color-values) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Colorful Tags/Badges */
.badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-mission { background: var(--color-mission-light); color: var(--color-mission); }
.badge-vision { background: var(--color-vision-light); color: var(--color-vision); }
.badge-values { background: var(--color-values-light); color: var(--color-values); }
.badge-green { background: var(--color-green-light); color: var(--color-green); }
.badge-orange { background: var(--color-orange-light); color: var(--color-orange); }
.badge-purple { background: var(--color-purple-light); color: var(--color-purple); }

/* Team Section Colored Overlay Style */
.team-card-colored {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
}

.team-card-colored img {
    width: 100%;
    height: auto;
    filter: grayscale(100%);
    transition: var(--transition-base);
}

.team-card-colored:hover img {
    filter: grayscale(0%);
}

.team-card-colored .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
}

.team-card-colored:nth-child(1) .overlay { background: linear-gradient(to top, var(--color-vision), transparent); }
.team-card-colored:nth-child(2) .overlay { background: linear-gradient(to top, var(--color-green), transparent); }
.team-card-colored:nth-child(3) .overlay { background: linear-gradient(to top, var(--color-values), transparent); }
.team-card-colored:nth-child(4) .overlay { background: linear-gradient(to top, var(--color-orange), transparent); }

/* Animated Rising Line (Chart Style) */
.rising-line {
    position: relative;
    height: 150px;
    margin: 2rem 0;
}

.rising-line svg {
    width: 100%;
    height: 100%;
}

.rising-line path {
    fill: none;
    stroke: var(--primary-color);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawLine 2s ease-out forwards;
}

@keyframes drawLine {
    to { stroke-dashoffset: 0; }
}

/* Multi-color Underline for Headings */
.heading-colorful {
    position: relative;
    display: inline-block;
}

.heading-colorful::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, 
        var(--color-mission) 0%, 
        var(--color-vision) 33%, 
        var(--color-values) 66%, 
        var(--color-green) 100%
    );
    border-radius: var(--radius-full);
}

/* ============================================
   ACCESSIBILITY - REDUCED MOTION
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .hero::before,
    .hero::after,
    .footer::before,
    .footer::after {
        animation: none !important;
    }
    
    .hero h1 span,
    .gradient-text {
        animation: none !important;
        background-position: 0% 50% !important;
    }
    
    body::before {
        animation: none !important;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
    .navbar,
    .hamburger,
    .cta-btn,
    .social-links {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .section {
        padding: 2rem 0;
    }
}

/* ============================================
   LIGHT MODE - FIX WHITE TEXT ISSUES
   ============================================ */

/* Glass elements in Light Mode */
[data-theme="light"] .glass,
:root:not([data-theme="dark"]) .glass {
    background: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid var(--border-color) !important;
    box-shadow: var(--shadow-lg) !important;
}

[data-theme="light"] .glass h2,
[data-theme="light"] .glass h3,
[data-theme="light"] .glass h4,
[data-theme="light"] .glass strong,
:root:not([data-theme="dark"]) .glass h2,
:root:not([data-theme="dark"]) .glass h3,
:root:not([data-theme="dark"]) .glass h4,
:root:not([data-theme="dark"]) .glass strong {
    color: var(--text-primary) !important;
}

[data-theme="light"] .glass p,
[data-theme="light"] .glass span,
[data-theme="light"] .glass li,
:root:not([data-theme="dark"]) .glass p,
:root:not([data-theme="dark"]) .glass span,
:root:not([data-theme="dark"]) .glass li {
    color: var(--text-secondary) !important;
}

/* Section-dark in Light Mode */
[data-theme="light"] .section-dark,
:root:not([data-theme="dark"]) .section-dark {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%) !important;
}

[data-theme="light"] .section-dark h2,
[data-theme="light"] .section-dark h3,
[data-theme="light"] .section-dark h4,
:root:not([data-theme="dark"]) .section-dark h2,
:root:not([data-theme="dark"]) .section-dark h3,
:root:not([data-theme="dark"]) .section-dark h4 {
    color: var(--text-primary) !important;
}

[data-theme="light"] .section-dark p,
[data-theme="light"] .section-dark span,
:root:not([data-theme="dark"]) .section-dark p,
:root:not([data-theme="dark"]) .section-dark span {
    color: var(--text-secondary) !important;
}

/* Section-alt in Light Mode */
[data-theme="light"] .section-alt,
:root:not([data-theme="dark"]) .section-alt {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%) !important;
}

/* Fix inline white color styles */
[data-theme="light"] [style*="color: white"],
[data-theme="light"] [style*="color:#fff"],
[data-theme="light"] [style*="color: #fff"],
:root:not([data-theme="dark"]) [style*="color: white"],
:root:not([data-theme="dark"]) [style*="color:#fff"],
:root:not([data-theme="dark"]) [style*="color: #fff"] {
    color: var(--text-primary) !important;
}

[data-theme="light"] [style*="color: rgba(255,255,255"],
[data-theme="light"] [style*="color: rgba(255, 255, 255"],
:root:not([data-theme="dark"]) [style*="color: rgba(255,255,255"],
:root:not([data-theme="dark"]) [style*="color: rgba(255, 255, 255"] {
    color: var(--text-secondary) !important;
}

/* Contact Info Section */
[data-theme="light"] .contact-info-section,
:root:not([data-theme="dark"]) .contact-info-section {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
}

/* FAQ Section */
[data-theme="light"] .faq-section,
:root:not([data-theme="dark"]) .faq-section {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%) !important;
}

/* CTA Section */
[data-theme="light"] .cta-section,
:root:not([data-theme="dark"]) .cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1d4ed8 100%) !important;
}

[data-theme="light"] .cta-section h2,
:root:not([data-theme="dark"]) .cta-section h2 {
    color: white !important;
}

[data-theme="light"] .cta-section p,
:root:not([data-theme="dark"]) .cta-section p {
    color: rgba(255, 255, 255, 0.9) !important;
}

[data-theme="light"] .cta-section .cta-btn.cta-primary,
:root:not([data-theme="dark"]) .cta-section .cta-btn.cta-primary {
    background: white !important;
    color: var(--primary-color) !important;
}

[data-theme="light"] .cta-section .cta-btn.cta-secondary,
:root:not([data-theme="dark"]) .cta-section .cta-btn.cta-secondary {
    background: transparent !important;
    color: white !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
}

[data-theme="light"] .cta-section .cta-btn.cta-secondary:hover,
:root:not([data-theme="dark"]) .cta-section .cta-btn.cta-secondary:hover {
    background: white !important;
    color: var(--primary-color) !important;
}

/* Glow Card in Light Mode */
[data-theme="light"] .glow-card,
:root:not([data-theme="dark"]) .glow-card {
    background: #ffffff !important;
    border: 1px solid var(--border-color) !important;
    box-shadow: var(--shadow-lg) !important;
}

/* Creative Card in Light Mode */
[data-theme="light"] .creative-card,
:root:not([data-theme="dark"]) .creative-card {
    background: #ffffff !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08) !important;
}

/* Section Header Pro in Light Mode */
[data-theme="light"] .section-header-pro h2,
:root:not([data-theme="dark"]) .section-header-pro h2 {
    color: var(--text-primary) !important;
}

[data-theme="light"] .section-header-pro p,
:root:not([data-theme="dark"]) .section-header-pro p {
    color: var(--text-secondary) !important;
}

/* Hex Items in Light Mode */
[data-theme="light"] .hex-item,
:root:not([data-theme="dark"]) .hex-item {
    background: #ffffff !important;
}

/* Pillar Items in Light Mode */
[data-theme="light"] .pillar-item h3,
[data-theme="light"] .pillar-item p,
:root:not([data-theme="dark"]) .pillar-item h3,
:root:not([data-theme="dark"]) .pillar-item p {
    color: var(--text-primary) !important;
}

/* MVV Items in Light Mode */
[data-theme="light"] .mvv-item h3,
:root:not([data-theme="dark"]) .mvv-item h3 {
    color: var(--text-primary) !important;
}

/* ============================================
   MOBILE NAVBAR - LIGHT MODE FIX
   ============================================ */

/* Navbar Light Mode */
[data-theme="light"] .navbar,
:root:not([data-theme="dark"]) .navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1) !important;
}

/* Hamburger in Light Mode */
[data-theme="light"] .hamburger span,
:root:not([data-theme="dark"]) .hamburger span {
    background: var(--text-primary) !important;
}

/* Mobile Menu Light Mode */
@media (max-width: 768px) {
    [data-theme="light"] .nav-menu,
    :root:not([data-theme="dark"]) .nav-menu {
        background: rgba(255, 255, 255, 0.98) !important;
        border: 1px solid rgba(0, 0, 0, 0.1) !important;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15) !important;
        backdrop-filter: blur(20px) !important;
    }
    
    [data-theme="light"] .nav-menu li,
    :root:not([data-theme="dark"]) .nav-menu li {
        border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
    }
    
    [data-theme="light"] .nav-link,
    :root:not([data-theme="dark"]) .nav-link {
        color: var(--text-primary) !important;
    }
    
    [data-theme="light"] .nav-link:hover,
    :root:not([data-theme="dark"]) .nav-link:hover {
        color: var(--primary-color) !important;
        background: rgba(37, 99, 235, 0.1) !important;
    }
    
    [data-theme="light"] .lang-switcher,
    :root:not([data-theme="dark"]) .lang-switcher {
        background: rgba(0, 0, 0, 0.05) !important;
    }
    
    [data-theme="light"] .lang-btn,
    :root:not([data-theme="dark"]) .lang-btn {
        color: var(--text-primary) !important;
    }
    
    [data-theme="light"] .lang-btn.active,
    :root:not([data-theme="dark"]) .lang-btn.active {
        background: var(--primary-color) !important;
        color: white !important;
    }
}
