:root {
    --primary: #1b2258;   /* indigo */
    --dark: #0c1230;
    --accent: #f3b623;    /* gold */
    --light: #f4f6fb;
    --text: #222;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: "Segoe UI", sans-serif;
    background: var(--light);
    color: var(--text);
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--dark);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 600;
}

.logo { height: 40px; }

.nav-links {
    display: flex;
    gap: 16px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    position: relative;
    font-size: 14px;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.25s ease;
}

.nav-links a:hover::after { width: 100%; }

.nav-toggle {
    display: none;
    background: none;
    border: 1px solid #fff;
    color: #fff;
    padding: 6px 10px;
    border-radius: 4px;
}

/* HERO */
.hero {
    margin-top: 70px;
    height: 480px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    overflow: hidden;
    background: var(--dark);
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.45);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 20%, rgba(243,182,35,0.25), transparent 60%),
        linear-gradient(135deg, rgba(0,0,0,0.6), transparent 60%);
    mix-blend-mode: soft-light;
    animation: heroGlow 8s ease-in-out infinite;
}

@keyframes heroGlow {
    0% { opacity: 0.4; }
    50% { opacity: 0.8; }
    100% { opacity: 0.4; }
}

.hero-content {
    position: relative;
    max-width: 720px;
    padding: 0 20px;
}

.hero h1 {
    font-size: 40px;
    font-family: Georgia, serif;
    margin-bottom: 8px;
}

.tagline { font-size: 16px; opacity: 0.9; }

.subtext {
    margin-top: 10px;
    font-size: 14px;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-buttons {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.btn {
    padding: 10px 24px;
    border-radius: 24px;
    font-weight: 700;
    text-decoration: none;
    font-size: 14px;
    cursor: pointer;
    display: inline-block;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn.primary {
    background: var(--accent);
    color: var(--dark);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.btn.primary:hover {
    background: #ffd84d;
    transform: translateY(-2px);
}

.btn.secondary {
    border: 1px solid #fff;
    color: #fff;
    background: transparent;
}

.btn.secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

.hero-stats {
    margin-top: 22px;
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.stat {
    background: rgba(0,0,0,0.4);
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 13px;
    min-width: 130px;
}

.stat span {
    display: block;
    font-size: 18px;
    color: var(--accent);
    font-weight: 700;
}

/* INFO BAR */
.info-bar {
    background: var(--dark);
    color: #fff;
    text-align: center;
    padding: 12px;
    font-size: 13px;
    line-height: 1.6;
}

/* SECTIONS */
.section {
    width: 90%;
    max-width: 1000px;
    margin: 30px auto;
    background: #fff;
    padding: 24px;
    border-radius: 12px;
    border-top: 3px solid var(--accent);
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

.section h2 {
    font-family: Georgia, serif;
    margin-bottom: 12px;
    position: relative;
}

.section h2::after {
    content: "";
    width: 40px;
    height: 3px;
    background: var(--accent);
    position: absolute;
    bottom: -6px;
    left: 0;
}

.section p {
    font-size: 14px;
    line-height: 1.7;
}

/* GRID */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.grid-1 {
    display: grid;
    grid-template-columns: 1fr;
}

/* ICONS (animated) */
.icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(243,182,35,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    animation: iconPulse 2.5s ease-in-out infinite;
}

.icon img {
    width: 22px;
    height: 22px;
}

@keyframes iconPulse {
    0% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); opacity: 0.8; }
}

/* CARDS */
.card {
    background: #fff;
    padding: 16px;
    border-radius: 10px;
    border-left: 3px solid var(--accent);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

/* PROGRAM CARDS */
.program-group { margin-top: 18px; }

.program-group h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--primary);
}

.program-card {
    background: #fff;
    padding: 16px;
    border-radius: 10px;
    border-left: 3px solid var(--accent);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.program-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.program-icon {
    width: 32px;
    height: 32px;
}

/* JOURNEY TIMELINE */
.journey {
    border-left: 3px solid var(--accent);
    padding-left: 16px;
    position: relative;
}

.journey-step {
    margin-bottom: 16px;
    position: relative;
}

.dot {
    width: 12px;
    height: 12px;
    background: var(--accent);
    border-radius: 50%;
    position: absolute;
    left: -18px;
    top: 4px;
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* FORMS */
.form label {
    font-weight: 600;
    margin-top: 10px;
    font-size: 13px;
}

.form input,
.form select,
.form textarea {
    width: 100%;
    padding: 10px;
    margin-top: 4px;
    border-radius: 6px;
    border: 1px solid #ccd3e0;
    font-size: 13px;
    font-family: inherit;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 0 2px rgba(243,182,35,0.25);
}

.form button {
    margin-top: 14px;
    padding: 10px 22px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
}

.form button:hover {
    background: var(--dark);
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

/* CTA */
.cta {
    width: 90%;
    max-width: 1000px;
    margin: 30px auto;
    background: var(--primary);
    color: #fff;
    text-align: center;
    padding: 40px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.2);
}

/* FOOTER */
footer {
    background: var(--dark);
    color: #fff;
    text-align: center;
    padding: 14px;
    font-size: 12px;
}

/* FLOATING CTA */
.floating-btn {
    position: fixed;
    bottom: 16px;
    right: 16px;
    background: var(--accent);
    color: var(--dark);
    padding: 12px 20px;
    border-radius: 30px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 1100;
}

/* REVEAL */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* HERO TEXT ANIMATION */
.animate-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease forwards;
}

.animate-up:nth-child(1) { animation-delay: 0.1s; }
.animate-up:nth-child(2) { animation-delay: 0.2s; }
.animate-up:nth-child(3) { animation-delay: 0.3s; }
.animate-up:nth-child(4) { animation-delay: 0.4s; }
.animate-up:nth-child(5) { animation-delay: 0.5s; }

@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}

/* DASHBOARD LAYOUT */
.dashboard {
    display: flex;
    min-height: 100vh;
    background: var(--light);
}

.sidebar {
    width: 240px;
    background: var(--primary);
    color: #fff;
    padding: 20px;
}

.sidebar h3 {
    margin-top: 0;
    margin-bottom: 16px;
    font-family: Georgia, serif;
}

.sidebar a {
    display: block;
    color: #fff;
    text-decoration: none;
    margin: 6px 0;
    font-size: 14px;
}

.sidebar a:hover { color: var(--accent); }

.dashboard-main {
    flex: 1;
    padding: 20px;
}

.topbar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 20px;
    color: var(--primary);
    font-weight: 600;
}

.dashboard-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.dashboard-cards .card {
    text-align: center;
    font-weight: 700;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        background: var(--dark);
        padding: 10px 0;
        position: absolute;
        top: 56px;
        right: 0;
        left: 0;
    }

    .nav-links a { padding: 8px 20px; }

    .nav-toggle { display: block; }

    .hero {
        height: auto;
        padding: 60px 16px;
    }

    .dashboard {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .sidebar a {
        display: inline-block;
        margin-right: 10px;
    }
}
