/* ============================================
   TOKENS
   ============================================ */
:root {
    --bg: #FFFBF5;
    --surface: #FFFFFF;
    --surface-warm: #FFF8F0;
    --green: #2E7D32;
    --green-light: #E8F5E9;
    --green-dark: #1B5E20;
    --green-muted: rgba(46, 125, 50, 0.08);
    --terracotta: #C67B5C;
    --terracotta-light: rgba(198, 123, 92, 0.1);
    --text: #2D2D2D;
    --text-dim: #5A5A5A;
    --text-muted: #8A8A8A;
    --border: #E8E2D9;
    --border-green: #E8F5E9;
    --divider: #F0EBE3;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.08);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Tajawal', -apple-system, sans-serif;
    font-size: 18px;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

a {
    color: var(--green);
    text-decoration: none;
    transition: opacity 0.2s;
}
a:hover {
    opacity: 0.8;
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 100px 0;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ============================================
   NAV
   ============================================ */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 0;
    background: rgba(255, 251, 245, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s, box-shadow 0.3s;
}

nav.scrolled {
    border-bottom-color: var(--divider);
    box-shadow: 0 1px 12px rgba(0, 0, 0, 0.04);
}

nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
}

.nav-brand-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 8px 18px rgba(46, 125, 50, 0.14);
}

.nav-brand-icon img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.nav-brand span {
    font-weight: 800;
    font-size: 20px;
    letter-spacing: -0.02em;
    color: var(--green);
}

.nav-links {
    display: flex;
    gap: 28px;
    list-style: none;
}

.nav-links a {
    color: var(--text-dim);
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--green);
    opacity: 1;
}

/* ============================================
   HERO
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
}

/* Subtle radial glow behind hero */
.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 900px;
    background: radial-gradient(circle, rgba(46, 125, 50, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.hero-icon {
    width: 120px;
    height: 120px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 40px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(46, 125, 50, 0.18);
    animation: heroFloat 4s ease-in-out infinite;
}

.hero-icon img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.hero-title {
    font-family: 'Tajawal', sans-serif;
    font-size: clamp(56px, 10vw, 88px);
    font-weight: 700;
    color: var(--green);
    line-height: 1;
    margin-bottom: 20px;
}

.hero-tagline {
    font-size: clamp(18px, 3vw, 24px);
    color: var(--text-dim);
    font-weight: 400;
    margin-bottom: 40px;
    line-height: 1.7;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.badge-link {
    display: inline-block;
    transition: transform 0.2s, opacity 0.2s;
}
.badge-link:hover {
    transform: scale(1.05);
    opacity: 1;
}

.badge-link img {
    height: 54px;
}

.hero-note {
    font-size: 15px;
    color: var(--text-muted);
    font-weight: 500;
}

/* ============================================
   STATS STRIP
   ============================================ */
.stats-strip {
    background: var(--surface);
    border-top: 1px solid var(--divider);
    border-bottom: 1px solid var(--divider);
    padding: 48px 0;
}

.stats-grid {
    display: flex;
    justify-content: center;
    gap: 64px;
    flex-wrap: wrap;
}

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

.stat-number {
    font-size: clamp(40px, 6vw, 56px);
    font-weight: 800;
    color: var(--green);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 16px;
    color: var(--text-muted);
    font-weight: 500;
}
