/* ==========================================
   RESET & SYSTEM STYLES
   ========================================== */
:root {
    --primary: #1e1b4b;       /* Deep Indigo */
    --secondary: #0d9488;     /* Vibrant Teal */
    --accent: #f97316;        /* Bright Orange / Coral */
    --background: #f8fafc;    /* Clean Off-white */
    --surface: #ffffff;       /* Pure White */
    --text-main: #334155;     /* Dark Slate */
    --text-muted: #64748b;    /* Light Slate */
    --border: #e2e8f0;        /* Subtle Border Grey */
    --font-stack: 'Plus Jakarta Sans', system-ui, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-stack);
    background-color: var(--background);
    color: var(--text-main);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ==========================================
   REUSABLE UTILITIES & BUTTONS
   ========================================== */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.25s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--secondary);
    color: white;
}

.btn-primary:hover {
    background-color: #0f766e;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--primary);
    color: white;
}

.btn-secondary:hover {
    background-color: #312e81;
}

.btn-outline {
    border: 2px solid var(--border);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--border);
}

.btn-accent {
    background-color: var(--accent);
    color: white;
}

.btn-accent:hover {
    background-color: #ea580c;
}

.badge {
    display: inline-block;
    background-color: #e0f2fe;
    color: #0369a1;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

/* ==========================================
   HEADER SECTION
   ========================================== */
.main-header {
    background-color: var(--surface);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 0;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

.logo a span {
    color: var(--secondary);
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    transition: color 0.2s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--secondary);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero-section {
    padding: 6rem 0;
    background: radial-gradient(circle at 10% 20%, rgba(240, 253, 250, 0.5) 0%, rgba(255, 255, 255, 0) 90%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3rem;
    line-height: 1.2;
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

/* Decorative Card replacing complex image needs */
.hero-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.decorative-card {
    background-color: var(--primary);
    color: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(30, 27, 75, 0.15);
    width: 100%;
    max-width: 450px;
    position: relative;
    overflow: hidden;
}

.decorative-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: var(--secondary);
    opacity: 0.2;
}

.decorative-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.5rem;
}

.decorative-card ul {
    list-style: none;
}

.decorative-card li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 500;
}

/* ==========================================
   STATS BAR
   ========================================== */
.stats-bar {
    background-color: var(--surface);
    padding: 3rem 0;
    border-y: 1px solid var(--border);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
    gap: 2rem;
}

.stat-item h2 {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 0.25rem;
}

.stat-item p {
    color: var(--text-muted);
    font-weight: 500;
}

/* ==========================================
   PROGRAMS SECTION
   ========================================== */
.programs-section {
    padding: 6rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.25rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.program-card {
    background-color: var(--surface);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    border-color: var(--secondary);
}

.program-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.program-card h3 {
    font-size: 1.35rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.program-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ==========================================
   CALL TO ACTION SECTION
   ========================================== */
.cta-section {
    padding-bottom: 6rem;
}

.cta-box {
    background: linear-gradient(135deg, var(--primary) 0%, #111827 100%);
    color: white;
    padding: 4rem;
    border-radius: 16px;
    text-align: center;
}

.cta-box h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.cta-box p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    background-color: var(--primary);
    color: rgba(255, 255, 255, 0.6);
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ==========================================
   RESPONSIVE STYLES
   ========================================== */
@media (max-width: 968px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-actions {
        justify-content: center;
    }

    .hero-image-wrapper {
        order: -1; /* Place visual first on mobile */
    }

    .programs-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
    }
}