/* ============================================
   SSANKET — AI Strategy & Transformation

   Design System:
   - Palette: Teal + Navy + Soft Green + Off-white
   - Layout: Golden Ratio (φ = 1.618)
   - Components: shadcn/ui inspired
   ============================================ */

/* --- Golden Ratio Scale --- */
:root {
    /* φ (phi) = 1.618 */
    --phi: 1.618;

    /* Typography Scale (φ-based) */
    --text-xs: 0.75rem;       /* 12px */
    --text-sm: 0.85rem;       /* ~13.6px  (1rem / φ^0.5) */
    --text-base: 1rem;        /* 16px */
    --text-lg: 1.125rem;      /* 18px */
    --text-xl: 1.618rem;      /* ~25.9px  (φ^1) */
    --text-2xl: 2.618rem;     /* ~41.9px  (φ^2) */
    --text-3xl: 3.5rem;       /* 56px     (hero, clamped) */
    --text-4xl: 4.236rem;     /* ~67.8px  (φ^3) */

    /* Spacing Scale (φ-based, from 4px base) */
    --space-1: 4px;
    --space-2: 6px;           /* 4 × φ^0.5 ≈ 5.1 → 6 */
    --space-3: 8px;
    --space-4: 12px;          /* 4 × φ^1.5 ≈ 8.2 → practical 12 */
    --space-5: 16px;          /* 4 × φ^2 ≈ 10.5 → practical 16 (base) */
    --space-6: 26px;          /* 16 × φ ≈ 25.9 */
    --space-7: 42px;          /* 16 × φ² ≈ 41.9 */
    --space-8: 68px;          /* 16 × φ³ ≈ 67.8 */
    --space-9: 110px;         /* 16 × φ⁴ ≈ 109.6 */
    --space-10: 178px;        /* 16 × φ⁵ ≈ 177.3 */

    /* Color Palette: Teal + Navy + Green */
    --teal-50:  #f0fdfa;
    --teal-100: #ccfbf1;
    --teal-200: #99f6e4;
    --teal-300: #5eead4;
    --teal-400: #2dd4bf;
    --teal-500: #14b8a6;
    --teal-600: #0d9488;
    --teal-700: #0f766e;
    --teal-800: #115e59;

    --navy-50:  #f0f4f8;
    --navy-100: #d9e2ec;
    --navy-200: #bcccdc;
    --navy-300: #9fb3c8;
    --navy-400: #627d98;
    --navy-500: #3e5c76;
    --navy-600: #1e3a5f;
    --navy-700: #0f2b46;
    --navy-800: #0a1929;

    --green-400: #4ade80;
    --green-500: #22c55e;
    --green-600: #16a34a;

    /* Semantic Colors */
    --accent: var(--teal-600);
    --accent-hover: var(--teal-700);
    --accent-light: var(--teal-500);
    --accent-glow: rgba(13, 148, 136, 0.08);
    --accent-glow-md: rgba(13, 148, 136, 0.12);
    --accent-glow-strong: rgba(13, 148, 136, 0.18);
    --accent-border: rgba(13, 148, 136, 0.2);

    --hero-bg: var(--navy-800);
    --hero-accent: var(--teal-400);

    /* Backgrounds */
    --bg: #f8fafb;
    --bg-alt: #f0f3f2;
    --bg-card: #ffffff;
    --bg-card-hover: #fcfdfd;

    /* Text */
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --text-on-dark: #f1f5f9;
    --text-on-dark-muted: #b0c4cc;

    /* Borders & Shadows */
    --border: #e2e8f0;
    --border-hover: #cbd5e1;
    --border-accent: var(--teal-600);
    --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-sm: 0 1px 4px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.08), 0 2px 4px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.1), 0 4px 8px rgba(15, 23, 42, 0.04);

    /* Radius */
    --radius: 0.625rem;       /* 10px */
    --radius-lg: 0.875rem;    /* 14px */
    --radius-xl: 1.125rem;    /* 18px */
    --radius-full: 9999px;
}

/* --- Base Reset --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text-primary);
    line-height: var(--phi);  /* 1.618 — golden ratio line height */
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* --- Typography (φ-scaled) --- */
h1, h2, h3, h4, h5 {
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

h1 { font-size: clamp(var(--text-2xl), 5vw, var(--text-4xl)); }
h2 { font-size: clamp(1.75rem, 3.5vw, var(--text-2xl)); }
h3 { font-size: var(--text-xl); }

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

/* --- Layout --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.section {
    padding: var(--space-9) 0;  /* 110px — φ⁴ */
    position: relative;
}

.section-alt {
    background: var(--bg-alt);
}

/* --- Section Headers --- */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
    margin-bottom: var(--space-5);
    padding: var(--space-2) var(--space-4);
    background: var(--accent-glow);
    border: 1px solid var(--accent-border);
    border-radius: var(--radius-full);
}

.section-title {
    margin-bottom: var(--space-5);
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: var(--text-lg);
    max-width: 37.2em;        /* ~600px ÷ 16 — golden proportion of reading width */
    margin-bottom: var(--space-7);  /* 42px — φ² */
    line-height: 1.7;
}

.gradient-text {
    background: linear-gradient(135deg, var(--teal-700), var(--teal-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-4) 0;
    background: rgba(248, 250, 251, 0.88);
    backdrop-filter: blur(20px) saturate(1.2);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s;
}

.navbar.scrolled {
    padding: var(--space-3) 0;
    box-shadow: var(--shadow-sm);
}

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

.nav-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--navy-700);
    letter-spacing: -0.04em;
}

.nav-logo span { color: var(--green-500); }

.nav-links {
    display: flex;
    gap: var(--space-6);      /* 26px — φ */
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    font-size: var(--text-sm);
    font-weight: 500;
    transition: color 0.2s;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active { color: var(--text-primary); }

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    border-radius: 1px;
    transition: width 0.3s;
}

.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-cta {
    padding: var(--space-3) var(--space-5) !important;
    background: var(--accent) !important;
    color: white !important;
    border-radius: var(--radius) !important;
    font-weight: 600 !important;
    transition: all 0.2s !important;
}

.nav-cta:hover {
    background: var(--accent-hover) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(13, 148, 136, 0.3);
}

.nav-cta::after { display: none !important; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    transition: 0.3s;
    border-radius: 2px;
}

/* ========================================
   HERO (Dark — Navy + Teal)
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--hero-bg);
    padding-top: 80px;
}

/* Video background */
.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    z-index: 1;
}

/* Gradient overlay — light, video-forward */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(10, 25, 41, 0.6) 0%,
        rgba(15, 43, 70, 0.4) 40%,
        rgba(13, 148, 136, 0.08) 100%
    );
    z-index: 2;
}

/* Floating particles */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--hero-accent);
    border-radius: 50%;
    opacity: 0;
    animation: float-up linear infinite;
}

@keyframes float-up {
    0%  { opacity: 0; transform: translateY(100vh) scale(0); }
    10% { opacity: 0.5; }
    90% { opacity: 0.15; }
    100%{ opacity: 0; transform: translateY(-10vh) scale(1); }
}

.particle:nth-child(1)  { left: 8%;  animation-duration: 9s;    animation-delay: 0s;   width: 4px; height: 4px; }
.particle:nth-child(2)  { left: 18%; animation-duration: 13s;   animation-delay: 1s; }
.particle:nth-child(3)  { left: 28%; animation-duration: 10s;   animation-delay: 2.2s; width: 5px; height: 5px; }
.particle:nth-child(4)  { left: 38%; animation-duration: 12s;   animation-delay: 0.5s; }
.particle:nth-child(5)  { left: 50%; animation-duration: 11s;   animation-delay: 3s;   width: 4px; height: 4px; }
.particle:nth-child(6)  { left: 62%; animation-duration: 14s;   animation-delay: 1.5s; }
.particle:nth-child(7)  { left: 72%; animation-duration: 9.5s;  animation-delay: 2.5s; width: 6px; height: 6px; }
.particle:nth-child(8)  { left: 82%; animation-duration: 12s;   animation-delay: 0.8s; }
.particle:nth-child(9)  { left: 92%; animation-duration: 10.5s; animation-delay: 3.5s; width: 4px; height: 4px; }
.particle:nth-child(10) { left: 13%; animation-duration: 15s;   animation-delay: 1.2s; }
.particle:nth-child(11) { left: 33%; animation-duration: 11s;   animation-delay: 4s;   width: 5px; height: 5px; }
.particle:nth-child(12) { left: 55%; animation-duration: 8.5s;  animation-delay: 0.3s; }
.particle:nth-child(13) { left: 75%; animation-duration: 13s;   animation-delay: 2s; }
.particle:nth-child(14) { left: 88%; animation-duration: 10s;   animation-delay: 1.8s; width: 3px; height: 3px; }
.particle:nth-child(15) { left: 45%; animation-duration: 12.5s; animation-delay: 3s;   width: 4px; height: 4px; }

/* Ambient glow orbs */
.hero::before {
    content: '';
    position: absolute;
    top: 15%;
    right: 8%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.12) 0%, transparent 70%);
    z-index: 2;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 10%;
    left: 5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(30, 58, 95, 0.15) 0%, transparent 70%);
    z-index: 2;
    pointer-events: none;
}

/* Hero content — max-width follows golden ratio: 61.8% of 1200px */
.hero-content {
    position: relative;
    z-index: 10;
    max-width: 742px;         /* 1200 × 0.618 */
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-5);
    background: rgba(13, 148, 136, 0.12);
    border: 1px solid rgba(13, 148, 136, 0.25);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--teal-300);
    margin-bottom: var(--space-6);
}

.hero-badge .dot {
    width: 8px;
    height: 8px;
    background: var(--green-400);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.hero h1 {
    color: var(--text-on-dark);
    margin-bottom: var(--space-6);
}

.hero .gradient-text {
    background: linear-gradient(135deg, var(--teal-300), var(--green-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: var(--text-lg);
    color: var(--text-on-dark-muted);
    max-width: 640px;
    margin-bottom: var(--space-7);
    line-height: 1.8;
}

/* Stats bar — φ-spaced */
.hero-stats {
    display: flex;
    gap: var(--space-7);      /* 42px — φ² */
    margin-bottom: var(--space-7);
    padding: var(--space-6) 0; /* 26px — φ */
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-stat .stat-number {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--teal-300), var(--green-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stat .stat-label {
    font-size: var(--text-xs);
    color: var(--text-on-dark-muted);
    margin-top: var(--space-1);
}

.hero-actions {
    display: flex;
    gap: var(--space-5);
    flex-wrap: wrap;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4) var(--space-6);
    border-radius: var(--radius);
    font-weight: 600;
    font-size: var(--text-base);
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--accent);
    color: white;
}

.btn-primary:hover {
    background: var(--accent-hover);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(13, 148, 136, 0.3);
}

.btn-outline-light {
    background: transparent;
    color: var(--text-on-dark);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.35);
    color: white;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-outline:hover {
    background: var(--accent-glow);
    border-color: var(--accent);
    color: var(--accent-hover);
    transform: translateY(-2px);
}

/* ========================================
   ABOUT — Golden Ratio Split (61.8% / 38.2%)
   ======================================== */
.about-grid {
    display: grid;
    grid-template-columns: 61.8% 38.2%;
    gap: var(--space-8);      /* 68px — φ³ */
    align-items: start;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: var(--space-5);
    font-size: 1.05rem;
}

.about-highlights {
    display: grid;
    gap: var(--space-5);
}

.highlight-item {
    display: flex;
    align-items: start;
    gap: var(--space-5);
    padding: var(--space-5);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all 0.3s;
    box-shadow: var(--shadow-xs);
}

.highlight-item:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.highlight-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-glow-md);
    border-radius: var(--radius);
    flex-shrink: 0;
}

.highlight-content h4 {
    font-size: var(--text-sm);
    font-weight: 600;
    margin-bottom: var(--space-1);
}

.highlight-content p {
    font-size: var(--text-xs);
    color: var(--text-muted);
    margin: 0;
}

/* ========================================
   EXPERIENCE TIMELINE
   ======================================== */
.timeline {
    position: relative;
    max-width: 900px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent), var(--border));
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: var(--space-7);  /* 42px — φ² */
}

.timeline-dot {
    position: absolute;
    left: 12px;
    top: 8px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--bg-alt);
    border: 3px solid var(--accent);
    z-index: 2;
}

.timeline-item:first-child .timeline-dot {
    background: var(--accent);
    box-shadow: 0 0 14px rgba(13, 148, 136, 0.35);
}

.timeline-date {
    font-size: var(--text-xs);
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: var(--space-2);
}

.timeline-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-6);  /* 26px — φ */
    transition: all 0.3s;
    box-shadow: var(--shadow-xs);
}

.timeline-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
}

.timeline-card h3 {
    font-size: 1.05rem;
    margin-bottom: var(--space-1);
    color: var(--text-primary);
}

.timeline-company {
    color: var(--accent);
    font-weight: 600;
    font-size: var(--text-sm);
    margin-bottom: var(--space-4);
}

.timeline-card ul {
    list-style: none;
    padding: 0;
}

.timeline-card li {
    position: relative;
    padding-left: 18px;
    color: var(--text-secondary);
    font-size: var(--text-sm);
    margin-bottom: var(--space-3);
}

.timeline-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

/* ========================================
   SOLUTIONS / PORTFOLIO
   ======================================== */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: var(--space-6);      /* 26px — φ */
}

.solution-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--teal-600), var(--teal-400));
    opacity: 0;
    transition: opacity 0.3s;
}

.solution-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.solution-card:hover::before { opacity: 1; }

.solution-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-glow-strong);
    border-radius: var(--radius);
    margin-bottom: var(--space-5);
}

.solution-card h3 { margin-bottom: var(--space-4); }

.solution-card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    margin-bottom: var(--space-5);
}

.solution-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
}

.tag {
    padding: var(--space-1) var(--space-4);
    background: var(--accent-glow);
    border: 1px solid var(--accent-border);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    color: var(--teal-700);
    font-weight: 500;
}

/* ========================================
   SKILLS
   ======================================== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-6);
}

.skill-group {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    transition: all 0.3s;
    box-shadow: var(--shadow-xs);
}

.skill-group:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
}

.skill-group h3 {
    font-size: var(--text-base);
    margin-bottom: var(--space-5);
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.skill-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
}

.skill-tag {
    padding: var(--space-2) var(--space-4);
    background: var(--accent-glow);
    border: 1px solid rgba(13, 148, 136, 0.08);
    border-radius: var(--radius);
    font-size: var(--text-xs);
    color: var(--text-secondary);
    font-weight: 500;
    transition: all 0.2s;
}

.skill-tag:hover {
    background: var(--accent-glow-strong);
    border-color: var(--accent);
    color: var(--teal-700);
}

/* ========================================
   EDUCATION
   ======================================== */
.edu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-5);
}

.edu-card {
    display: flex;
    gap: var(--space-5);
    padding: var(--space-6);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all 0.3s;
    box-shadow: var(--shadow-xs);
}

.edu-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
}

.edu-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-glow-strong);
    border-radius: var(--radius);
    flex-shrink: 0;
}

.edu-info h4 {
    font-size: var(--text-sm);
    font-weight: 600;
    margin-bottom: var(--space-1);
}

.edu-info .edu-school {
    color: var(--accent);
    font-size: var(--text-xs);
    font-weight: 500;
}

.edu-info .edu-detail {
    color: var(--text-muted);
    font-size: var(--text-xs);
    margin-top: var(--space-1);
}

/* ========================================
   CONTACT — Inverse Golden Split (38.2% / 61.8%)
   ======================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 38.2% 61.8%;
    gap: var(--space-7);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--space-5);
    padding: var(--space-5);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all 0.3s;
    box-shadow: var(--shadow-xs);
}

.contact-item:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
}

.contact-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-glow-strong);
    border-radius: var(--radius);
    flex-shrink: 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.form-group label {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
    padding: var(--space-4) var(--space-5);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-primary);
    font-size: var(--text-base);
    font-family: inherit;
    transition: all 0.2s;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
    opacity: 1;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    padding: var(--space-7) 0;
    border-top: 1px solid var(--border);
    text-align: center;
    background: var(--bg-alt);
}

.footer p {
    color: var(--text-muted);
    font-size: var(--text-sm);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: var(--space-6);
    margin-bottom: var(--space-5);
}

.footer-links a {
    color: var(--text-secondary);
    font-size: var(--text-sm);
}

.footer-links a:hover { color: var(--accent); }

/* ========================================
   ANIMATIONS
   ======================================== */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(248, 250, 251, 0.98);
        padding: var(--space-6);
        gap: var(--space-5);
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-md);
    }

    .nav-links.open { display: flex; }
    .nav-toggle { display: flex; }

    .hero-stats { flex-wrap: wrap; gap: var(--space-6); }
    .hero-stat { flex: 1 1 120px; }

    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--space-7);
    }

    .contact-grid { grid-template-columns: 1fr; }
    .solutions-grid { grid-template-columns: 1fr; }

    .hero-actions { flex-direction: column; }
    .btn { justify-content: center; }

    .section { padding: var(--space-8) 0; }
}

@media (max-width: 480px) {
    .container { padding: 0 var(--space-5); }
    .edu-grid { grid-template-columns: 1fr; }
    .hero-stats { gap: var(--space-5); }
}

/* ========================================
   CONTACT FLASH MESSAGES
   ======================================== */
.contact-flash {
    padding: var(--space-5) var(--space-6);
    border-radius: var(--radius-lg);
    font-size: var(--text-sm);
    font-weight: 500;
    margin-bottom: var(--space-6);
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.contact-flash--success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #15803d;
}

.contact-flash--error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
}

/* ========================================
   WHATSAPP CHATBOT WIDGET
   ======================================== */

/* Floating trigger button */
.wa-trigger {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9999;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25d366;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s;
    animation: wa-pulse 3s infinite;
}

.wa-trigger:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
}

.wa-trigger svg {
    width: 32px;
    height: 32px;
    fill: white;
}

.wa-trigger .wa-close-icon {
    display: none;
    width: 22px;
    height: 22px;
    stroke: white;
    stroke-width: 2.5;
    fill: none;
}

.wa-trigger.open svg:first-child { display: none; }
.wa-trigger.open .wa-close-icon { display: block; }

@keyframes wa-pulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.15); }
}

/* Chat popup */
.wa-popup {
    position: fixed;
    bottom: 100px;
    right: 28px;
    z-index: 9998;
    width: 380px;
    max-height: 520px;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.wa-popup.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

/* Header */
.wa-header {
    background: linear-gradient(135deg, var(--navy-700), var(--teal-800));
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.wa-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    font-weight: 700;
    flex-shrink: 0;
}

.wa-header-info h4 {
    color: white;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.wa-header-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.wa-header-info .online-dot {
    width: 7px;
    height: 7px;
    background: #25d366;
    border-radius: 50%;
    display: inline-block;
}

/* Messages area */
.wa-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #f0f2f5;
    min-height: 200px;
    max-height: 320px;
}

/* Message bubbles */
.wa-msg {
    max-width: 85%;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 0.88rem;
    line-height: 1.5;
    animation: msg-in 0.3s ease;
}

@keyframes msg-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.wa-msg.bot {
    background: white;
    color: var(--text-primary);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.wa-msg.user {
    background: #d9fdd3;
    color: var(--text-primary);
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.wa-msg .msg-time {
    display: block;
    font-size: 0.65rem;
    color: var(--text-muted);
    text-align: right;
    margin-top: 4px;
}

/* Quick reply buttons */
.wa-quick-replies {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
}

.wa-quick-btn {
    padding: 8px 14px;
    background: var(--accent-glow);
    border: 1px solid var(--accent-border);
    border-radius: var(--radius);
    color: var(--teal-700);
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
    font-family: inherit;
}

.wa-quick-btn:hover {
    background: var(--accent-glow-strong);
    border-color: var(--accent);
}

/* Typing indicator */
.wa-typing {
    display: flex;
    gap: 4px;
    padding: 12px 16px;
    align-self: flex-start;
}

.wa-typing span {
    width: 7px;
    height: 7px;
    background: var(--text-muted);
    border-radius: 50%;
    animation: typing-bounce 1.4s infinite;
}

.wa-typing span:nth-child(2) { animation-delay: 0.2s; }
.wa-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing-bounce {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-6px); opacity: 1; }
}

/* Input area */
.wa-input-area {
    padding: 12px 16px;
    background: white;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 10px;
    align-items: center;
}

.wa-input-area input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 0.88rem;
    font-family: inherit;
    outline: none;
    background: #f0f2f5;
    color: var(--text-primary);
    transition: border-color 0.2s;
}

.wa-input-area input:focus {
    border-color: var(--accent);
}

.wa-input-area button {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #25d366;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    flex-shrink: 0;
}

.wa-input-area button:hover {
    background: #20bd5a;
}

.wa-input-area button svg {
    width: 18px;
    height: 18px;
    fill: white;
}

/* WhatsApp redirect button */
.wa-redirect-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    background: #25d366;
    color: white;
    border: none;
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s;
    margin-top: 8px;
}

.wa-redirect-btn:hover {
    background: #20bd5a;
}

/* Responsive */
@media (max-width: 480px) {
    .wa-popup {
        right: 12px;
        left: 12px;
        width: auto;
        bottom: 90px;
        max-height: 70vh;
    }

    .wa-trigger {
        bottom: 20px;
        right: 20px;
        width: 54px;
        height: 54px;
    }
}
