:root {
    --primary: #1A3C8E;
    --primary-light: #4DA3FF;
    --accent: #FF8A3D;
    --bg-light: #F5F6FA;
    --text: #2E2E2E;
    --muted: #777777;
    --white: #FFFFFF;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background-color: #ffffff;
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    margin-top: 0;
}

a {
    color: var(--primary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    width: 90%;
    max-width: 1120px;
    margin: 0 auto;
}

/* HEADER */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background-color: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid #eee;
    backdrop-filter: blur(8px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
    gap: 1rem;
}

.logo-main {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary);
}

.logo-accent {
    color: var(--accent);
}

.logo-tagline {
    display: block;
    font-size: 0.8rem;
    color: var(--muted);
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 1.25rem;
    padding: 0;
    margin: 0;
    font-size: 0.95rem;
}

.main-nav a {
    color: var(--text);
    font-weight: 500;
}

.main-nav a:hover {
    color: var(--primary);
}

.nav-toggle {
    display: none;
    background: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 0.3rem 0.5rem;
    font-size: 1.1rem;
    cursor: pointer;
}

/* BUTTONS */

.btn {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: all 0.15s ease;
}

.btn-small {
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #142e6a;
    text-decoration: none;
}

.btn-secondary {
    background-color: var(--accent);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #e67323;
    text-decoration: none;
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
    text-decoration: none;
}

/* HERO */

.hero {
    padding: 3.5rem 0 3rem;
    background: linear-gradient(135deg, #f3f6ff, #ffffff);
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
    gap: 2.5rem;
    align-items: center;
}

.hero-text h1 {
    font-size: clamp(1.9rem, 3vw, 2.4rem);
    margin-bottom: 0.75rem;
}

.hero-subtitle {
    color: var(--muted);
    max-width: 36rem;
    margin-bottom: 1.4rem;
}

.hero-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}

.hero-contact {
    font-size: 0.9rem;
    color: var(--muted);
}

.hero-visual {
    display: flex;
    justify-content: center;
}

.hero-card {
    background-color: var(--white);
    border-radius: 16px;
    padding: 1.4rem 1.5rem;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.06);
    border: 1px solid #eef0ff;
    max-width: 360px;
}

.hero-card h2 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.hero-card ul {
    padding-left: 1.1rem;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

/* SECTIONS */

.section-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 0.4rem;
}

.section-intro {
    text-align: center;
    color: var(--muted);
    max-width: 40rem;
    margin: 0.3rem auto 1.75rem;
}

section {
    padding: 3rem 0;
}

.section-alt {
    background-color: var(--bg-light);
}

/* GRID UTILITIES */

.pillars-grid,
.programs-grid,
.three-col {
    display: grid;
    gap: 1.5rem;
}

.pillars-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.programs-grid {
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.three-col {
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.two-col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.75rem;
    align-items: flex-start;
}

.center {
    text-align: center;
    margin-top: 1.5rem;
}

/* CARDS */

.pillar-card,
.program-card,
.feature-card {
    background-color: var(--white);
    border-radius: 12px;
    padding: 1.3rem 1.4rem;
    border: 1px solid #eceff7;
    transition: box-shadow 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}

.section-alt .feature-card {
    background-color: #ffffff;
}

.program-card h3,
.pillar-card h3,
.feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
}

.program-card p,
.pillar-card p,
.feature-card p {
    font-size: 0.95rem;
    color: var(--muted);
}

.program-card:hover,
.pillar-card:hover,
.feature-card:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
    border-color: var(--primary-light);
    text-decoration: none;
}

/* LISTS */

ul {
    margin-top: 0.35rem;
}

/* CONTACT FORM */

.contact-form {
    background-color: var(--bg-light);
    padding: 1.3rem 1.4rem;
    border-radius: 12px;
    border: 1px solid #e2e5f0;
}

.contact-form label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.5rem 0.6rem;
    border-radius: 8px;
    border: 1px solid #ccd1e3;
    font-family: inherit;
    font-size: 0.95rem;
    margin-top: 0.2rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 1px rgba(26, 60, 142, 0.09);
}

.contact-form button {
    margin-top: 0.8rem;
    width: 100%;
}

.contact-note {
    font-size: 0.9rem;
    color: var(--muted);
}

/* FOOTER */

.site-footer {
    background-color: #111827;
    color: #e5e7eb;
    padding: 1.5rem 0;
    margin-top: 2rem;
    font-size: 0.9rem;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #9ca3af;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #ffffff;
}

/* RESPONSIVE */

@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 3.25rem;
    }

    .hero-visual {
        order: -1;
    }

    .header-inner {
        align-items: center;
    }

    .main-nav {
        position: absolute;
        top: 56px;
        left: 0;
        right: 0;
        background-color: #ffffff;
        border-bottom: 1px solid #eee;
        display: none;
    }

    .main-nav.open {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        padding: 0.75rem 1rem 0.9rem;
    }

    .main-nav ul li {
        padding: 0.2rem 0;
    }

    .header-inner > a.btn-outline.btn-small {
        display: none;
    }

    .nav-toggle {
        display: block;
    }
}

@media (max-width: 600px) {
    .hero-text h1 {
        font-size: 1.7rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .site-footer {
        text-align: center;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}