/* Modern Clean Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --orange: #FF8200;
    --green: #00B140;
    --dark: #1a1a1a;
    --gray: #666;
    --light-gray: #f5f5f5;
    --border: #e5e5e5;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    padding-top: 80px;
}

/* Header Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--dark);
    font-weight: 700;
    font-size: 1.25rem;
    transition: opacity 0.2s ease;
}

.header-logo:hover {
    opacity: 0.8;
}

.header-logo img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    text-decoration: none;
    color: var(--gray);
    font-weight: 500;
    font-size: 0.9375rem;
    transition: color 0.2s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--orange);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--orange);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-small {
    padding: 10px 24px;
    font-size: 0.9375rem;
}

/* Menu Toggle (Mobile) */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark);
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.5rem;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.2rem;
}

/* Containers */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Sections */
.section {
    padding: 120px 0;
}

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

.section-green {
    background: linear-gradient(135deg, var(--green), #008830);
    color: white;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--orange);
    margin-bottom: 16px;
}

.label-light {
    color: rgba(255, 255, 255, 0.8);
}

.section-desc {
    font-size: 1.125rem;
    color: var(--gray);
    margin-top: 16px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(180deg, #ffffff 0%, var(--light-gray) 100%);
    padding: 100px 40px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.logo-wrapper {
    margin-bottom: 32px;
}

.logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 32px;
}

.highlight {
    background: linear-gradient(135deg, var(--orange), #ff9d3d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--gray);
    max-width: 600px;
    margin: 32px auto;
    line-height: 1.7;
}

.cta-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 48px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background: #e67600;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 130, 0, 0.3);
}

.btn-secondary {
    background: white;
    color: var(--dark);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--orange);
    color: var(--orange);
}

.btn-large {
    width: 100%;
    padding: 18px 32px;
    font-size: 1.125rem;
}

/* Video Section */
.video-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.video-text .lead {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 24px;
    color: var(--dark);
}

.video-text p {
    font-size: 1.125rem;
    color: var(--gray);
    margin-bottom: 20px;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}

.avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--orange), #ff9d3d);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

.card-title h3 {
    margin-bottom: 4px;
}

.age {
    font-size: 0.875rem;
    color: var(--gray);
    font-weight: 500;
}

.tag {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(0, 177, 64, 0.1);
    color: var(--green);
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.card p {
    font-size: 1rem;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 20px;
}

.highlight-box {
    background: var(--light-gray);
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid var(--orange);
}

.highlight-box strong {
    display: block;
    margin-bottom: 8px;
    color: var(--dark);
}

.highlight-box p {
    margin: 0;
    font-size: 0.9375rem;
}

/* Mission Section */
.mission-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 32px;
}

.mission-item {
    text-align: center;
    padding: 32px 20px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.mission-item:hover {
    background: var(--light-gray);
    transform: translateY(-4px);
}

.icon {
    font-size: 3rem;
    margin-bottom: 16px;
    display: block;
}

.mission-item h4 {
    margin-bottom: 8px;
    color: var(--dark);
}

.mission-item p {
    font-size: 0.9375rem;
    color: var(--gray);
}

/* Dream Section */
.dream-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.dream-title {
    color: white;
    margin-bottom: 40px;
}

blockquote {
    font-size: 1.375rem;
    line-height: 1.7;
    font-style: italic;
    background: rgba(255, 255, 255, 0.1);
    padding: 48px;
    border-radius: 16px;
    border-left: 4px solid rgba(255, 255, 255, 0.5);
}

blockquote cite {
    display: block;
    margin-top: 24px;
    font-style: normal;
    font-weight: 600;
    font-size: 1.125rem;
    opacity: 0.9;
}

/* Form */
.form {
    background: white;
    padding: 48px;
    border-radius: 16px;
    border: 1px solid var(--border);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark);
}

.required {
    color: var(--orange);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.2s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(255, 130, 0, 0.1);
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 0.9375rem;
    font-weight: 500;
}

.checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* Success Message */
.success-message {
    background: linear-gradient(135deg, var(--green), #00d050);
    color: white;
    padding: 48px;
    border-radius: 16px;
    text-align: center;
    margin-top: 40px;
}

.success-icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 24px;
}

.success-message h3 {
    font-size: 2rem;
    margin-bottom: 12px;
}

.success-message p {
    font-size: 1.125rem;
    opacity: 0.95;
}

/* Footer */
.footer {
    background: var(--dark);
    color: white;
    padding: 64px 0 32px;
}

.footer-content {
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
}

.footer-logo img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.footer-logo span {
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-quote {
    font-size: 1.125rem;
    font-style: italic;
    color: #ccc;
    margin-bottom: 12px;
}

.footer-credit {
    color: var(--orange);
    font-weight: 600;
    margin-bottom: 32px;
}

.footer-copyright {
    font-size: 0.875rem;
    color: #999;
}

/* Responsive */
@media (max-width: 1024px) {
    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2rem;
    }

    .video-grid,
    .team-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .mission-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }

    .header-content {
        height: 70px;
    }

    .container,
    .container-narrow {
        padding: 0 24px;
    }

    .section {
        padding: 80px 0;
    }

    .section-header {
        margin-bottom: 48px;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .hero {
        min-height: auto;
        padding: 80px 24px;
    }

    .cta-group {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .form {
        padding: 32px 24px;
    }

    .form-row,
    .checkbox-group {
        grid-template-columns: 1fr;
    }

    .mission-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    blockquote {
        font-size: 1.125rem;
        padding: 32px 24px;
    }

    /* Mobile Menu */
    .menu-toggle {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 24px;
        border-bottom: 1px solid var(--border);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-link {
        width: 100%;
        padding: 16px 0;
        border-bottom: 1px solid var(--light-gray);
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    .header-actions .btn-small {
        display: none;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    .logo {
        width: 100px;
        height: 100px;
    }

    .subtitle {
        font-size: 1.125rem;
    }
}

/* Subtle Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

.section-header {
    animation: fadeInUp 0.6s ease-out;
}

.card,
.mission-item {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.2s; }

.mission-item:nth-child(1) { animation-delay: 0.1s; }
.mission-item:nth-child(2) { animation-delay: 0.15s; }
.mission-item:nth-child(3) { animation-delay: 0.2s; }
.mission-item:nth-child(4) { animation-delay: 0.25s; }
.mission-item:nth-child(5) { animation-delay: 0.3s; }

/* ===== Form additions ===== */

/* Honeypot — visually hidden but still in the DOM */
.hp {
    position: absolute !important;
    left: -10000px !important;
    top: auto;
    width: 1px; height: 1px;
    overflow: hidden;
}

/* Sectioned form (fieldset + legend) */
.form-section {
    border: none;
    padding: 0;
    margin: 0 0 32px;
}
.form-section + .form-section {
    border-top: 1px solid var(--light-gray);
    padding-top: 28px;
}
.form-section legend {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--orange);
    margin-bottom: 20px;
    padding: 0;
}

/* Error state */
.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
    border-color: #d33;
    box-shadow: 0 0 0 3px rgba(221, 51, 51, 0.08);
}

.form-error {
    background: #fdecec;
    border: 1px solid #f3b7b7;
    color: #a31a1a;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 0.9375rem;
    margin-bottom: 16px;
}

button[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.form-legal {
    font-size: 0.8125rem;
    color: var(--gray);
    text-align: center;
    margin-top: 18px;
    line-height: 1.5;
}

/* Slightly smaller padding on tight viewports for form sections */
@media (max-width: 480px) {
    .form-section legend { font-size: 0.8125rem; }
    .form-section + .form-section { padding-top: 20px; }
}

/* ===== Hero banner ===== */
.hero.hero-banner-section {
    min-height: 0;
    padding: 32px 24px 60px;
    background: linear-gradient(180deg, #fffaf2 0%, #ffffff 60%, var(--light-gray) 100%);
    display: block;
    text-align: center;
}

.hero.hero-banner-section .container {
    max-width: 1140px;
    padding: 0 8px;
}

.hero-banner {
    display: block;
    width: 100%;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 60px -16px rgba(0, 0, 0, 0.22), 0 8px 22px -8px rgba(0, 0, 0, 0.12);
    background: #f1ede4;
}

.hero-banner img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.hero-actions {
    margin-top: 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.hero-tagline {
    font-size: 1.125rem;
    color: var(--gray);
    max-width: 640px;
    margin: 0;
    line-height: 1.65;
}

.hero-actions .cta-group {
    margin-top: 0;
}

/* Visually-hidden — for accessibility / SEO */
.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 768px) {
    .hero.hero-banner-section {
        padding: 16px 12px 40px;
    }
    .hero-banner {
        border-radius: 14px;
        box-shadow: 0 14px 36px -12px rgba(0, 0, 0, 0.22);
    }
    .hero-tagline { font-size: 1rem; }
    .hero-actions { margin-top: 24px; gap: 14px; }
}

@media (max-width: 480px) {
    .hero.hero-banner-section { padding: 12px 8px 32px; }
    .hero-banner { border-radius: 12px; }
}

/* ===== Multi-children form blocks ===== */
.children-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
}

.child-block {
    background: var(--light-gray);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    position: relative;
    transition: opacity .2s ease;
}

.child-block + .child-block {
    margin-top: 0;
}

.child-block-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px dashed var(--border);
}

.child-block-title {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--dark);
}

.child-remove {
    background: transparent;
    border: 1px solid transparent;
    color: var(--gray);
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    padding: 4px 10px;
    border-radius: 6px;
    transition: all .15s ease;
}

.child-remove:hover {
    color: #d33;
    border-color: #f3b7b7;
    background: #fdecec;
}

.child-block .form-group {
    margin-bottom: 16px;
}

.child-block .form-group:last-child {
    margin-bottom: 0;
}

.child-block .form-row .form-group:last-child {
    margin-bottom: 16px;
}

.child-block input,
.child-block select {
    background: white; /* contrast against the grey bg */
}

/* Add-child button */
.btn-add-child {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    color: var(--orange);
    border: 1.5px dashed var(--orange);
    padding: 12px 20px;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all .2s ease;
    width: 100%;
    justify-content: center;
}

.btn-add-child:hover:not(:disabled) {
    background: var(--orange);
    color: white;
    border-style: solid;
    transform: translateY(-1px);
}

.btn-add-child:disabled {
    color: var(--gray);
    border-color: var(--border);
    cursor: not-allowed;
}

@media (max-width: 480px) {
    .child-block { padding: 16px; }
    .child-block-title { font-size: 0.8125rem; }
}
