/* ===== RESET & VARIABLES ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary: #008FA8;
    --primary-dark: #006B7F;
    --primary-light: #E0F4F7;
    --accent: #E8734A;
    --accent-hover: #D4612F;
    --text: #2D3436;
    --text-secondary: #636E72;
    --bg: #FAFBFC;
    --white: #FFFFFF;
    --border: #E1E8ED;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    --max-width: 1200px;
    --transition: 0.2s ease;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--primary-dark);
    line-height: 1.3;
}

h1 { font-size: 2.2rem; font-weight: 800; }
h2 { font-size: 1.6rem; font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }

p {
    margin-bottom: 1rem;
}

/* ===== LAYOUT ===== */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 32px;
}

.section {
    padding: 80px 0;
}

.section-alt {
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header .overline {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 8px;
}

.section-header h2 {
    margin-bottom: 12px;
}

.section-header p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.section-header .divider {
    width: 48px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
    margin: 16px auto 0;
}

/* ===== NAVIGATION ===== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-dark);
    text-decoration: none;
}

.nav-logo img {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 4px;
}

.nav-links a {
    display: block;
    padding: 8px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
    background: var(--primary-light);
}

.nav-cta {
    margin-left: 12px;
}

.hamburger {
    display: none;
    width: 32px;
    height: 32px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text);
    border-radius: 1px;
    transition: all 0.3s ease;
}

.hamburger.open span:first-child {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:last-child {
    transform: rotate(-45deg) translate(5px, -5px);
}

.nav-mobile-menu {
    display: none;
    border-top: 1px solid var(--border);
    padding: 8px 0 16px;
}

.nav-mobile-menu.open {
    display: block;
}

.nav-mobile-menu a {
    display: block;
    padding: 12px 32px;
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: background var(--transition);
}

.nav-mobile-menu a:hover,
.nav-mobile-menu a.active {
    background: var(--primary-light);
    color: var(--primary);
}

.nav-mobile-menu .btn {
    margin: 8px 32px 0;
    width: calc(100% - 64px);
    justify-content: center;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    line-height: 1.4;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-accent {
    background: var(--accent);
    color: var(--white);
}

.btn-accent:hover {
    background: var(--accent-hover);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-white {
    background: var(--white);
    color: var(--primary-dark);
    border-color: transparent;
}

.btn-white:hover {
    background: var(--primary-light);
    color: var(--primary-dark);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.5);
}

.btn-outline-white:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
    color: var(--white);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

/* ===== HERO ===== */
.hero {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: var(--white);
    padding: 100px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.03);
    border-radius: 50%;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    color: var(--white);
    font-size: 2.8rem;
    margin-bottom: 16px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero p {
    font-size: 1.15rem;
    opacity: 0.9;
    max-width: 560px;
    margin: 0 auto 32px;
}

.hero .btn-row {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== PAGE HEADER ===== */
.page-header {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: var(--white);
    padding: 60px 0 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -60%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header .overline {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    opacity: 0.8;
    margin-bottom: 8px;
}

.page-header h1 {
    color: var(--white);
    margin-bottom: 12px;
}

.page-header p {
    opacity: 0.9;
    max-width: 560px;
    margin: 0 auto;
    font-size: 1.05rem;
}

/* ===== QUOTE ===== */
.quote-section {
    background: var(--primary-light);
    padding: 60px 0;
}

.quote-section blockquote {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-dark);
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.5;
    font-style: italic;
}

.quote-section blockquote::before {
    content: '\201C';
    display: block;
    font-size: 3rem;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 8px;
    font-style: normal;
}

/* ===== CARDS ===== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.card {
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.card-icon {
    height: 160px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2.5rem;
}

.card-body {
    padding: 24px;
}

.card-body h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.card-body p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

/* Person cards */
.person-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
}

.person-card {
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    padding: 28px;
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition);
}

.person-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.person-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0 auto 16px;
}

.person-card h3 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.person-role {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 500;
}

/* Document cards */
.doc-list {
    display: grid;
    gap: 12px;
    max-width: 600px;
}

.doc-card {
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: transform var(--transition), box-shadow var(--transition);
    text-decoration: none;
    color: var(--text);
}

.doc-card:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
    color: var(--text);
}

.doc-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--accent);
    color: var(--white);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.7rem;
    text-transform: uppercase;
}

.doc-info {
    flex: 1;
}

.doc-info h3 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.doc-info span {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.doc-download {
    flex-shrink: 0;
    color: var(--primary);
}

/* ===== FORMS ===== */
.form-container {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 32px;
    max-width: 600px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text);
}

.form-group .required {
    color: var(--accent);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text);
    background: var(--white);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 143, 168, 0.15);
}

.form-input.error,
.form-textarea.error {
    border-color: #E74C3C;
}

.form-error {
    font-size: 0.82rem;
    color: #E74C3C;
    margin-top: 4px;
    display: none;
}

.form-error.visible {
    display: block;
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-success {
    display: none;
    background: var(--primary-light);
    border: 1px solid var(--primary);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    color: var(--primary-dark);
    font-weight: 500;
    margin-top: 16px;
}

.form-success.visible {
    display: block;
}

/* ===== INFO GRID (ANBI) ===== */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.info-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 28px;
}

.info-card h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--primary-dark);
}

.info-card p,
.info-card li {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.info-card ul {
    list-style: none;
    padding: 0;
}

.info-card li {
    padding: 4px 0;
    padding-left: 16px;
    position: relative;
}

.info-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
}

/* ===== PROGRAM ITEMS ===== */
.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

.program-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.program-item .icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.program-item h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
}

.program-item p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* ===== CONTENT BLOCK ===== */
.content-block {
    max-width: 720px;
}

.content-block h3 {
    margin-bottom: 12px;
}

.content-block p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.content-block ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1rem;
}

.content-block li {
    padding: 6px 0 6px 20px;
    position: relative;
    color: var(--text-secondary);
}

.content-block li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
}

/* ===== CONTACT INFO ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.contact-info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-info-item .icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info-item h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text);
}

.contact-info-item p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.8);
    padding: 48px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
}

.footer h3 {
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer p {
    font-size: 0.88rem;
    line-height: 1.7;
    margin-bottom: 0;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 24px;
    text-align: center;
    font-size: 0.82rem;
    opacity: 0.7;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .nav-links {
        display: none;
    }

    .nav-cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .section {
        padding: 56px 0;
    }

    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.4rem; }

    .hero {
        padding: 64px 0 56px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .page-header {
        padding: 40px 0 32px;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .person-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .program-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .quote-section blockquote {
        font-size: 1.2rem;
    }

    .navbar .container {
        height: 64px;
    }

    .nav-mobile-menu a {
        padding: 12px 20px;
    }

    .nav-mobile-menu .btn {
        margin: 8px 20px 0;
        width: calc(100% - 40px);
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.6rem;
    }

    .person-grid {
        grid-template-columns: 1fr;
    }

    .btn-row {
        flex-direction: column;
        align-items: center;
    }
}
