﻿ 
:root {
    --blue: #1565C0;
    --blue-light: #1E88E5;
    --blue-pale: #E3F2FD;
    --blue-mid: #BBDEFB;
    --green: #2E7D32;
    --green-light: #43A047;
    --green-pale: #E8F5E9;
    --gold: #F9A825;
    --gold-pale: #FFF8E1;
    --orange: #E65100;
    --orange-pale: #FFF3E0;
    --red: #C62828;
    --red-pale: #FFEBEE;
    --white: #ffffff;
    --off-white: #F7FBF7;
    --text-dark: #1a2e1a;
    --text-mid: #3a4a3a;
    --text-light: #6a7a6a;
    --border: #D8E8D8;
    --radius: 14px;
    --radius-lg: 26px;
    --shadow: 0 10px 40px rgba(249,168,37,0.14);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', sans-serif;
    background: var(--off-white);
    color: var(--text-dark);
    overflow-x: hidden;
    min-height: 100vh;
}

/* ══ NAV ══ */
nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--white);
    box-shadow: 0 2px 20px rgba(21,101,192,0.10);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5vw;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

    .nav-logo img {
        height: 54px;
        width: auto;
        object-fit: contain;
    }

.nav-links {
    display: flex;
    gap: 6px;
    list-style: none;
    align-items: center;
}

    .nav-links a {
        text-decoration: none;
        font-weight: 700;
        font-size: 0.93rem;
        color: var(--text-mid);
        padding: 8px 16px;
        border-radius: 50px;
        transition: background .2s, color .2s;
    }

        .nav-links a:hover {
            background: var(--blue-pale);
            color: var(--blue);
        }

        .nav-links a.active {
            background: var(--gold-pale);
            color: var(--orange);
        }

        .nav-links a.cta {
            background: var(--blue);
            color: white;
            padding: 8px 22px;
        }

            .nav-links a.cta:hover {
                background: var(--blue-light);
            }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}

    .hamburger span {
        display: block;
        width: 26px;
        height: 3px;
        background: var(--blue);
        border-radius: 3px;
    }

/* ══ BREADCRUMB ══ */
.breadcrumb {
    max-width: 680px;
    margin: 0 auto;
    padding: 18px 5vw 0;
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--text-mid);
    display: flex;
    align-items: center;
    gap: 8px;
}

    .breadcrumb a {
        color: var(--blue);
        text-decoration: none;
    }

        .breadcrumb a:hover {
            text-decoration: underline;
        }

    .breadcrumb .sep {
        opacity: .45;
    }

/* ══ HERO ══ */
.page-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(150deg, var(--gold-pale) 0%, #F7FBF7 50%, #E8F5E9 100%);
    padding: 64px 5vw 56px;
    text-align: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

    .hero-bg span {
        position: absolute;
        border-radius: 50%;
        opacity: .09;
    }

        .hero-bg span:nth-child(1) {
            width: 420px;
            height: 420px;
            background: var(--gold);
            top: -150px;
            left: -110px;
        }

        .hero-bg span:nth-child(2) {
            width: 300px;
            height: 300px;
            background: var(--green);
            bottom: -90px;
            right: -70px;
        }

        .hero-bg span:nth-child(3) {
            width: 160px;
            height: 160px;
            background: var(--blue);
            top: 35%;
            left: 58%;
            opacity: .06;
        }

.page-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 680px;
    margin: 0 auto;
}

.hero-icon {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold) 0%, var(--orange) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.6rem;
    margin: 0 auto 22px;
    box-shadow: 0 10px 32px rgba(249,168,37,.34);
    animation: fadeUp .5s ease both, pulse 3s ease infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 10px 32px rgba(249,168,37,.32);
    }

    50% {
        box-shadow: 0 16px 44px rgba(249,168,37,.52);
    }
}

.page-hero h1 {
    font-family: 'Fredoka One', cursive;
    font-size: clamp(1.8rem, 4.5vw, 2.9rem);
    line-height: 1.15;
    margin-bottom: 16px;
    animation: fadeUp .6s .1s ease both;
}

    .page-hero h1 .gold {
        color: var(--orange);
    }

    .page-hero h1 .green {
        color: var(--green);
    }

.page-hero p {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-mid);
    line-height: 1.75;
    animation: fadeUp .6s .2s ease both;
}

/* Why refer chips */
.why-chips {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 28px;
    animation: fadeUp .6s .3s ease both;
}

.why-chip {
    background: var(--white);
    border: 2px solid #FFE082;
    border-radius: 50px;
    padding: 7px 18px;
    font-weight: 800;
    font-size: 0.86rem;
    display: flex;
    align-items: center;
    gap: 7px;
    box-shadow: 0 2px 10px rgba(249,168,37,.10);
    color: var(--text-mid);
}

/* ══ MAIN AREA ══ */
.page-body {
    padding: 52px 5vw 80px;
    max-width: 680px;
    margin: 0 auto;
}

/* ══ FORM CARD ══ */
.form-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 2px solid #FFE082;
    overflow: hidden;
    animation: fadeUp .6s .35s ease both;
}

.form-card-header {
    background: linear-gradient(135deg, var(--gold) 0%, var(--orange) 100%);
    padding: 28px 36px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.fch-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: rgba(255,255,255,.20);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    flex-shrink: 0;
    border: 2px solid rgba(255,255,255,.30);
}

.fch-text h2 {
    font-family: 'Fredoka One', cursive;
    font-size: 1.3rem;
    color: white;
    margin-bottom: 3px;
}

.fch-text p {
    font-size: 0.82rem;
    font-weight: 700;
    color: rgba(255,255,255,.82);
    line-height: 1.4;
}

.form-body {
    padding: 32px 36px 36px;
}

/* ── Divider label ── */
.section-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 28px 0 22px;
}

    .section-divider::before,
    .section-divider::after {
        content: '';
        flex: 1;
        height: 1.5px;
        background: var(--border);
    }

    .section-divider span {
        font-family: 'Fredoka One', cursive;
        font-size: 0.88rem;
        color: var(--orange);
        white-space: nowrap;
        letter-spacing: .03em;
    }

/* ── Fields ── */
.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 20px;
}

    .field:last-child {
        margin-bottom: 0;
    }

    .field label {
        font-weight: 800;
        font-size: 0.84rem;
        color: var(--text-mid);
        letter-spacing: .02em;
        display: flex;
        align-items: center;
        gap: 7px;
    }

.badge-required {
    background: var(--red);
    color: white;
    font-size: 0.62rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 20px;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.input-wrap {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
    pointer-events: none;
    line-height: 1;
}

.field input {
    width: 100%;
    padding: 13px 16px 13px 42px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-family: 'Nunito', sans-serif;
    font-size: 0.97rem;
    font-weight: 600;
    color: var(--text-dark);
    background: var(--off-white);
    transition: border-color .2s, box-shadow .2s, background .2s;
    outline: none;
}

    .field input:focus {
        border-color: var(--gold);
        background: var(--white);
        box-shadow: 0 0 0 4px rgba(249,168,37,.12);
    }

    .field input.error {
        border-color: var(--red);
        background: var(--red-pale);
    }

        .field input.error:focus {
            box-shadow: 0 0 0 4px rgba(198,40,40,.10);
        }

.helper {
    font-size: 0.79rem;
    font-weight: 700;
    color: var(--text-light);
    display: flex;
    align-items: flex-start;
    gap: 5px;
}

.field-error {
    font-size: 0.79rem;
    font-weight: 700;
    color: var(--red);
    display: none;
    align-items: center;
    gap: 5px;
}

    .field-error.show {
        display: flex;
    }

/* ── Grid row ── */
.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

/* ══ SUBMIT ══ */
.submit-wrap {
    margin-top: 32px;
}

.submit-btn {
    width: 100%;
    padding: 17px 28px;
    border: none;
    border-radius: 50px;
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 1.05rem;
    background: linear-gradient(135deg, var(--orange) 0%, var(--gold) 100%);
    color: white;
    cursor: pointer;
    box-shadow: 0 8px 26px rgba(249,168,37,.38);
    transition: transform .18s, box-shadow .18s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

    .submit-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 14px 36px rgba(249,168,37,.50);
    }

.form-note {
    text-align: center;
    margin-top: 14px;
    font-size: 0.81rem;
    font-weight: 700;
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* ══ INFO CARDS ══ */
.info-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 28px;
    animation: fadeUp .6s .5s ease both;
}

.info-card {
    background: var(--white);
    border-radius: 18px;
    padding: 22px 20px;
    text-align: center;
    border: 2px solid var(--border);
    box-shadow: 0 4px 16px rgba(0,0,0,.05);
    transition: transform .2s, border-color .2s;
}

    .info-card:hover {
        transform: translateY(-3px);
        border-color: var(--gold);
    }

    .info-card .ic-emoji {
        font-size: 2rem;
        display: block;
        margin-bottom: 10px;
    }

    .info-card h4 {
        font-family: 'Fredoka One', cursive;
        font-size: 1rem;
        color: var(--orange);
        margin-bottom: 6px;
    }

    .info-card p {
        font-size: 0.82rem;
        font-weight: 600;
        color: var(--text-light);
        line-height: 1.55;
    }

/* ══ SUCCESS OVERLAY ══ */
.success-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(0,0,0,.55);
    backdrop-filter: blur(6px);
    align-items: center;
    justify-content: center;
    padding: 24px;
}

    .success-overlay.show {
        display: flex;
    }

.success-modal {
    background: var(--white);
    border-radius: 28px;
    padding: 52px 44px;
    max-width: 480px;
    width: 100%;
    text-align: center;
    box-shadow: 0 32px 80px rgba(0,0,0,.22);
    animation: popIn .45s cubic-bezier(.34,1.56,.64,1) both;
    border: 3px solid #FFE082;
}

@keyframes popIn {
    from {
        opacity: 0;
        transform: scale(.80) translateY(30px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.success-icon-wrap {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--orange));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto 24px;
    box-shadow: 0 12px 36px rgba(249,168,37,.36);
    animation: iconBounce .6s .2s cubic-bezier(.34,1.56,.64,1) both;
}

@keyframes iconBounce {
    from {
        transform: scale(0);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.success-modal h2 {
    font-family: 'Fredoka One', cursive;
    font-size: 2rem;
    color: var(--orange);
    margin-bottom: 14px;
}

.success-message {
    background: linear-gradient(135deg, var(--gold-pale), #FFF3CD);
    border: 2px solid #FFE082;
    border-radius: 16px;
    padding: 20px 22px;
    margin-bottom: 24px;
}

    .success-message p {
        font-size: 1.05rem;
        font-weight: 700;
        color: var(--text-dark);
        line-height: 1.7;
    }

    .success-message .highlight {
        color: var(--orange);
        font-family: 'Fredoka One', cursive;
        font-size: 1.1rem;
    }

.success-detail {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--green-pale);
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 24px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--green);
}

.countdown-bar {
    background: var(--gold-pale);
    border-radius: 50px;
    height: 8px;
    overflow: hidden;
    margin-bottom: 10px;
}

.countdown-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--orange), var(--gold));
    border-radius: 50px;
    width: 100%;
    transition: width 1s linear;
}

.countdown-text {
    font-size: 0.81rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 20px;
}

.btn-home {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 30px;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--orange), var(--gold));
    color: white;
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 0.97rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(249,168,37,.34);
    transition: transform .18s;
}

    .btn-home:hover {
        transform: translateY(-2px);
    }

/* ══ FOOTER ══ */
footer {
    background: linear-gradient(135deg, #0D47A1 0%, #1B5E20 100%);
    color: white;
    padding: 48px 5vw 24px;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 36px;
    flex-wrap: wrap;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255,255,255,.15);
    margin-bottom: 22px;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo img {
    height: 52px;
    width: auto;
    object-fit: contain;
    margin-bottom: 14px;
}

.footer-mission {
    font-size: 0.9rem;
    font-weight: 600;
    opacity: .82;
    line-height: 1.7;
    margin-bottom: 14px;
}

.footer-tagline {
    font-size: 0.82rem;
    font-weight: 800;
    opacity: .88;
}

    .footer-tagline .heart {
        color: var(--gold);
    }

.footer-links {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
}

.footer-col h4 {
    font-family: 'Fredoka One', cursive;
    font-size: 0.97rem;
    margin-bottom: 12px;
    color: #90CAF9;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

    .footer-col ul li a {
        text-decoration: none;
        color: rgba(255,255,255,.74);
        font-weight: 600;
        font-size: 0.87rem;
        transition: color .2s;
    }

        .footer-col ul li a:hover {
            color: white;
        }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-copy {
    font-size: 0.80rem;
    opacity: .58;
    font-weight: 600;
}

.footer-note {
    font-size: 0.80rem;
    opacity: .58;
    font-weight: 600;
}

    .footer-note a {
        color: #A5D6A7;
        text-decoration: none;
    }

/* ══ ANIMATIONS ══ */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(22px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ══ RESPONSIVE ══ */
@media (max-width: 600px) {
    .form-row-2 {
        grid-template-columns: 1fr;
    }

    .form-body, .form-card-header {
        padding-left: 20px;
        padding-right: 20px;
    }

    .info-cards {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: white;
        padding: 14px 20px;
        box-shadow: 0 8px 24px rgba(0,0,0,.1);
    }

        .nav-links.open {
            display: flex;
        }

    .hamburger {
        display: flex;
    }

    .footer-links {
        gap: 24px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .success-modal {
        padding: 36px 22px;
    }
}

 