/* --- DESIGN TOKENS & GLOBALS --- */
:root {
    /* Colors - White & Navy Blue Theme */
    --color-bg-primary: #FFFFFF;
    --color-bg-secondary: #F4F7FA;
    --color-bg-navy: #051A40;
    --color-bg-navy-dark: #020C21;
    
    --color-text-main: #1A1D24;
    --color-text-muted: #5F6A7A;
    --color-text-inverse: #FFFFFF;
    --color-text-inverse-muted: #A3B1C6;
    
    --color-accent-navy: #0F3A8D;
    --color-accent-light: #3D76F2;
    
    --color-glass-bg: rgba(255, 255, 255, 0.7);
    --color-glass-border: rgba(255, 255, 255, 0.4);
    
    /* Typography */
    --font-primary: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    
    /* Geometry */
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 32px;
    --radius-pill: 9999px;
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    
    /* Shadows */
    --shadow-soft: 0 12px 40px rgba(15, 58, 141, 0.08);
    --shadow-hover: 0 20px 50px rgba(15, 58, 141, 0.15);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-primary); background-color: var(--color-bg-primary); color: var(--color-text-main); line-height: 1.6; overflow-x: hidden; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 60px; width: 100%; }

.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }

/* --- UTILITIES --- */
.text-navy { color: var(--color-accent-navy); }
.text-white { color: var(--color-text-inverse); }
.bg-light { background-color: var(--color-bg-secondary); }
.bg-navy-dark { background-color: var(--color-bg-navy); }
.align-center { text-align: center; }

h1, h2, h3, h4 { color: var(--color-text-main); line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; }
p { color: var(--color-text-muted); }
.text-white p { color: var(--color-text-inverse-muted); }
a { text-decoration: none; color: inherit; transition: var(--transition-smooth); }
ul { list-style: none; }

/* --- COMPONENTS --- */
/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 24px; border-radius: var(--radius-pill); font-weight: 600;
    font-size: 0.95rem; cursor: pointer; transition: var(--transition-smooth);
    border: 2px solid transparent; white-space: nowrap;
}
.btn-large { padding: 16px 32px; font-size: 1.05rem; }
.btn-primary { background-color: var(--color-accent-navy); color: var(--color-text-inverse); box-shadow: 0 8px 24px rgba(15, 58, 141, 0.25); }
.btn-primary:hover { background-color: var(--color-accent-light); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(61, 118, 242, 0.3); color: white;}
.btn-secondary { background-color: transparent; color: var(--color-text-main); border-color: rgba(15, 58, 141, 0.15); }
.btn-secondary:hover { background-color: var(--color-bg-secondary); border-color: rgba(15, 58, 141, 0.3); }

/* Language Switch */
.lang-switch { display:flex; align-items: center; gap:6px; font-weight: 600; color: var(--color-bg-navy); margin-right: 12px; cursor: pointer;}
.lang-switch:hover { color: var(--color-accent-light); }

/* Pills / Badges */
.pill {
    display: inline-block; padding: 6px 16px; background-color: rgba(61, 118, 242, 0.08);
    color: var(--color-accent-navy); font-size: 0.85rem; font-weight: 700;
    border-radius: var(--radius-pill); margin-bottom: 12px; letter-spacing: 0.05em; text-transform: uppercase;
}

.floating-badge {
    position: absolute; display: flex; align-items: center; gap: 12px;
    background: var(--color-glass-bg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    padding: 12px 20px; border-radius: var(--radius-pill); border: 1px solid var(--color-glass-border);
    box-shadow: var(--shadow-soft); font-weight: 600; color: var(--color-text-main); z-index: 10;
}

/* --- LAYOUTS --- */
/* Navbar */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 20px 0; transition: var(--transition-smooth); }
.navbar.scrolled {
    padding: 12px 0; background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid rgba(0,0,0,0.05); box-shadow: 0 4px 24px rgba(0,0,0,0.02);
}

.nav-container { display: flex; justify-content: space-between; align-items: center; max-width: 1280px; margin: 0 auto; padding: 0 40px; width: 100%; }

.logo { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.4rem; color: var(--color-accent-navy); z-index: 1001; }
#logo-img { height: 36px; width: auto; }

.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a { font-weight: 500; font-size: 0.95rem; color: var(--color-text-main); position: relative; padding: 4px 0; }
.nav-links a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background-color: var(--color-accent-navy); transition: var(--transition-smooth); }
.nav-links a:hover::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 20px; }

/* Mobile Menu */
.mobile-menu-btn { display: none; background: none; border: none; cursor: pointer; color: var(--color-accent-navy); padding: 8px; z-index: 1001; }
.nav-links.mobile-active {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    padding: 30px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    gap: 20px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

/* Sections */
.section { padding: 100px 0; scroll-margin-top: 100px; }
.section-header { max-width: 800px; margin: 0 auto 48px; }
.section-title { font-size: 2.75rem; margin-bottom: 12px; }
.section-description { font-size: 1.15rem; text-align: justify; line-height: 1.6; }

/* --- HERO SECTION --- */
.hero { position: relative; padding: 160px 0 100px; overflow: hidden; background-color: var(--color-bg-primary); }
.hero-bg-shapes { position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; z-index: 0; pointer-events: none; }
.shape { position: absolute; filter: blur(100px); border-radius: 50%; opacity: 0.15; }
.shape-1 { top: -10%; right: 10%; width: 600px; height: 600px; background: var(--color-accent-light); }
.shape-2 { bottom: 20%; left: -5%; width: 500px; height: 400px; background: var(--color-accent-navy); }

.hero-container { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 64px; align-items: center; position: relative; z-index: 1; }
.hero-title { font-size: 3rem; margin-bottom: 24px; line-height: 1.1;}
.hero-subtitle { font-size: 1.15rem; margin-bottom: 40px; max-width: 600px; text-align: justify; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap;}

.hero-visual { 
    position: relative; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    height: 500px;
    z-index: 2;
}

.abstract-eye-model {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modern-eye {
    width: 100%;
    max-width: 480px;
    height: auto;
    object-fit: contain;
    z-index: 5;
    filter: drop-shadow(0 0 30px rgba(61, 118, 242, 0.3));
    animation: floatingEye 6s ease-in-out infinite;
}

.modern-glow {
    position: absolute; width: 80%; height: 80%;
    background: radial-gradient(circle, rgba(61, 118, 242, 0.15) 0%, transparent 70%);
    z-index: 1; filter: blur(40px);
}
@keyframes floatingEye {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.02); }
}

/* --- PARTNERS SECTION --- */
.partners-section { padding: 40px 0; border-top: 1px solid rgba(0,0,0,0.05); border-bottom: 1px solid rgba(0,0,0,0.05); }
.partners-title { font-size: 0.9rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 24px; color: var(--color-text-muted); }
.partners-logos { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 48px; }
.partner-logo { font-size: 1.2rem; font-weight: 700; color: #A3B1C6; letter-spacing: -0.02em; filter: grayscale(100%); transition: var(--transition-smooth); }
.partner-logo:hover { color: var(--color-bg-navy); }

/* --- SHARED STRUCTURES --- */
.grid { display: grid; gap: 32px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.split-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }

/* --- STATS / PROBLEM SECTION --- */
.stat-card {
    background-color: var(--color-bg-secondary); padding: 48px 32px; border-radius: var(--radius-lg);
    text-align: center; transition: var(--transition-smooth);
}
.stat-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-soft); background-color: var(--color-bg-primary); }
.stat-number { font-size: 4rem; font-weight: 800; line-height: 1; margin-bottom: 16px; letter-spacing: -0.03em;}

/* --- PROJECTS / FEATURES SECTION --- */
.feature-card {
    background-color: var(--color-bg-primary); padding: 40px 32px; border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft); border: 1px solid rgba(0,0,0,0.03); transition: var(--transition-smooth);
}
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
.icon-wrapper {
    width: 64px; height: 64px; background-color: rgba(15, 58, 141, 0.05); border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center; color: var(--color-accent-navy); margin: 0 auto 24px;
}
.feature-card { text-align: center; }
.feature-card h3 { font-size: 1.4rem; margin-bottom: 16px; color: var(--color-bg-navy); }
.feature-card p { text-align: center; }

/* --- ABOUT & TRAINING SECTION --- */
.feat-item, .benefit-list li {
    display: flex; align-items: center; gap: 16px; font-weight: 500; font-size: 1.1rem; margin-bottom: 16px;
}
.feat-item .list-icon, .benefit-list svg { width: 24px; height: 24px; color: var(--color-accent-navy); flex-shrink: 0; }

.highlight-card {
    padding: 48px; border-radius: var(--radius-lg); border: 1px solid rgba(255,255,255,0.1);
    box-shadow: var(--shadow-hover); position: relative; overflow: hidden;
}
.highlight-card h3 { font-size: 2rem; color: white; margin-bottom: 16px; }

/* Abstract visual replacements for images */
.abstract-visual { display:flex; justify-content: center; align-items: center;}
.glass-orb {
    width: 320px; height: 320px; border-radius: var(--radius-lg); background: linear-gradient(135deg, #F4F7FA, #E2E8F0);
    display:flex; justify-content: center; align-items:center;
    box-shadow: inset 10px 10px 20px rgba(255,255,255,0.8), inset -10px -10px 20px rgba(0,0,0,0.05), var(--shadow-soft);
}
.med-icon { width: 100px; height: 100px; color: var(--color-bg-navy); opacity: 0.2; }

/* --- PROCESS SECTION --- */
.timeline { display: flex; flex-direction: column; gap: 24px; max-width: 800px; margin: 0 auto; }
.timeline-item {
    display: flex; align-items: flex-start; gap: 24px; background: white; padding: 24px; 
    border-radius: var(--radius-md); box-shadow: var(--shadow-soft);
}
.step-num {
    width: 48px; height: 48px; border-radius: 50%; background: var(--color-accent-navy); color: white;
    display: flex; align-items: center; justify-content: center; font-size: 1.25rem; font-weight: 800; flex-shrink: 0;
}
.step-content h4 { font-size: 1.2rem; margin-bottom: 8px; color: var(--color-bg-navy); }

/* --- TEAM SECTION --- */
.team-card { text-align: center; }
.team-avatar {
    width: 120px; height: 120px; border-radius: 50%; background: var(--color-bg-secondary);
    margin: 0 auto 24px; display: flex; align-items: center; justify-content: center;
    font-size: 3rem; font-weight: 800; color: rgba(15, 58, 141, 0.2); box-shadow: var(--shadow-soft);
}
.team-card h4 { font-size: 1.15rem; margin-bottom: 8px; color: var(--color-bg-navy); }
.team-role { font-size: 0.95rem; color: var(--color-text-muted); font-weight: 500; }
.social-btn {
    width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
    border-radius: 50%; background: var(--color-bg-secondary); color: var(--text-muted);
    transition: all 0.3s ease; text-decoration: none;
}
.social-btn:hover {
    background: var(--color-accent-navy); color: white; transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(15, 58, 141, 0.2);
}

/* --- CTA SECTION --- */
.cta-section { background-color: var(--color-bg-navy); color: var(--color-text-inverse); padding: 100px 0; position: relative; display: flex; justify-content: center; text-align: center; }
.pattern-bg::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(rgba(255,255,255,0.1) 1px, transparent 1px); background-size: 30px 30px; opacity: 0.5;
}
.cta-title { color: var(--color-text-inverse); font-size: 2.75rem; margin-bottom: 16px; text-align: center; width: 100%; }
.cta-description { color: var(--color-text-inverse-muted); font-size: 1.15rem; margin-bottom: 48px; max-width: 700px; margin-inline: auto; text-align: center; }
.cta-buttons { display: flex; justify-content: center; gap: 16px; position: relative; z-index: 2; width: 100%; max-width: 500px; margin: 0 auto; }
.cta-outline { border-color: rgba(255,255,255,0.3); color: var(--color-text-inverse); }
.cta-outline:hover { background-color: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.5); color: var(--color-text-inverse); }

/* --- FOOTER --- */
.footer { background-color: var(--color-bg-navy-dark); color: var(--color-text-inverse); padding: 80px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 80px; margin-bottom: 80px; }
.footer-brand .logo { color: var(--color-text-inverse); margin-bottom: 24px; }
.footer-logo { height: 40px; filter: brightness(0) invert(1); }
.footer-founder { display: flex; align-items: center; justify-content: flex-end; }
.founder-info { display: flex; align-items: center; gap: 32px; }
.founder-avatar { overflow: hidden; width: 140px; height: 140px; flex-shrink: 0; border: 4px solid rgba(255,255,255,0.05); border-radius: 50%; }
.footer-mission { color: var(--color-text-inverse-muted); }
.contact-info p { color: var(--color-text-inverse-muted); font-size: 0.95rem; margin-bottom: 8px;}
.footer-links h4 { color: var(--color-text-inverse); margin-bottom: 24px; font-size: 1.1rem; }
.footer-links ul { display: flex; flex-direction: column; gap: 16px; }
.footer-links a { color: var(--color-text-inverse-muted); }
.footer-links a:hover { color: var(--color-text-inverse); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 32px; color: var(--color-text-inverse-muted); font-size: 0.9rem; text-align: center;}

/* --- ANIMATIONS --- */
@keyframes float1 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }
@keyframes float2 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(15px); } }
.float-anim-1 { animation: float1 4s ease-in-out infinite; }
.float-anim-2 { animation: float2 5s ease-in-out infinite; }

/* Scroll Reveal Classes (Handled by JS) */
.fade-in { opacity: 0; transform: translateY(0); transition: opacity 1s ease-out; }
.fade-in-up { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.reveal-on-scroll { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.is-visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.2s; }

/* --- STANDARDIZED BACK BUTTON --- */
.back-to-home {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #0f3a8d;
    text-decoration: none;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 18px;
    position: fixed;
    bottom: 25px;
    left: 25px;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 10000;
    border-radius: 50px;
    border: 1px solid rgba(15, 58, 141, 0.15);
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.back-to-home:hover {
    transform: scale(1.05) translateY(-2px);
    background: rgba(255,255,255,1);
    box-shadow: 0 12px 40px rgba(0,0,0,0.18);
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1024px) {
    .hero-title { font-size: 2.5rem; }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .split-layout { gap: 40px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links, .nav-actions .btn { display: none; }
    .mobile-menu-btn { display: block; }
    .lang-switch { margin-right: 0; }
    
    .hero-container, .split-layout { grid-template-columns: 1fr; text-align: center; }
    .hero { padding: 100px 0 60px; }
    .hero-title { font-size: 2rem; margin-bottom: 20px; }
    .hero-subtitle { margin: 0 auto 32px; font-size: 1rem; }
    .hero-actions { justify-content: center; }
    
    .hero-visual { 
        height: auto; 
        margin: 20px 0 40px; 
        transform: none; 
        order: -1; /* Display eye above text on mobile */
    }
    
    .modern-eye, .eye-main-image {
        width: 100% !important;
        max-width: 260px;
        height: auto !important;
        position: static !important;
        margin: 0 auto;
        display: block;
        filter: drop-shadow(0 0 20px rgba(61, 118, 242, 0.3));
    }
    
    .glow-ring, .badge { display: none !important; }
    
    .cta-title { font-size: 2.2rem; }
    .cta-buttons { flex-direction: column; align-items: stretch; gap: 12px; }
    .cta-buttons .btn { width: 100%; }
    
    .section-title { font-size: 2rem; }
    .container { padding: 0 24px; }
    .grid-3, .grid-4 { grid-template-columns: 1fr; gap: 24px; }
    
    .benefit-list, .feature-list { display: flex; flex-direction: column; align-items: center;}
    
    .footer-grid { grid-template-columns: 1fr; gap: 48px; text-align: center; }
    .footer-founder { justify-content: center; }
    .founder-info { flex-direction: column; text-align: center; gap: 16px; }
    .footer-brand .logo { justify-content: center; }
    
    .back-to-home {
        bottom: 20px;
        left: 20px;
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .hero-title { font-size: 1.75rem; }
    .section-title { font-size: 1.75rem; }
    .cta-title { font-size: 1.8rem; }
    .cta-description { font-size: 1rem; margin-bottom: 32px; }
    .container { padding: 0 16px; }
    .back-to-home { 
        bottom: 15px; 
        left: 15px; 
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}
