/* =========================================================
   ROOT
========================================================= */

:root {
    --nz-blue: #00247d;
    --nz-deep: #00143f;
    --nz-bright: #1747b8;
    --nz-red: #cc142b;
    --nz-red-dark: #a80e22;

    --white: #ffffff;
    --off-white: #f7f9fd;
    --text: #253047;
    --muted: #687386;

    --light-blue: #eef4ff;
    --pale-red: #fff0f3;

    --border: rgba(0, 36, 125, 0.12);

    --shadow: 0 20px 60px rgba(0, 25, 80, 0.12);
    --shadow-lg: 0 25px 70px rgba(0, 20, 63, 0.22);

    --radius: 20px;
}


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "DM Sans", sans-serif;
    color: var(--text);
    background: var(--off-white);
    line-height: 1.65;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: "Manrope", sans-serif;
}

a {
    text-decoration: none;
}

.container {
    width: min(1180px, 90%);
    margin: auto;
}


/* =========================================================
   ANIMATIONS
========================================================= */

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(204, 20, 43, .30);
    }

    50% {
        box-shadow: 0 0 0 13px rgba(204, 20, 43, 0);
    }
}


/* =========================================================
   HERO
========================================================= */

.hero {
    min-height: 735px;
    position: relative;
    color: #fff;
    overflow: hidden;

    background:
        linear-gradient(
            90deg,
            rgba(0, 20, 63, .98) 0%,
            rgba(0, 36, 125, .90) 44%,
            rgba(0, 36, 125, .45) 100%
        ),
        url("https://images.unsplash.com/photo-1469521669194-babb45599def?auto=format&fit=crop&w=2200&q=85")
        center/cover no-repeat;
}


/* Decorative stars */

.hero::before {
    content: "✦";
    position: absolute;
    right: 4%;
    top: 4%;

    font-size: 270px;
    color: rgba(255,255,255,.045);

    transform: rotate(-15deg);
}

.star {
    position: absolute;
    color: var(--nz-red);
    opacity: .9;
    font-size: 25px;
}

.star-1 {
    top: 14%;
    right: 34%;
}

.star-2 {
    top: 28%;
    right: 8%;
    font-size: 18px;
}

.star-3 {
    bottom: 15%;
    left: 4%;
    font-size: 20px;
}

.star-4 {
    bottom: 25%;
    right: 30%;
    font-size: 14px;
}


/* Hero layout */

.hero-content {
    position: relative;
    z-index: 3;

    min-height: 735px;

    display: grid;
    grid-template-columns: 1.1fr .9fr;

    align-items: center;
    gap: 60px;
}


/* =========================================================
   HERO COPY
========================================================= */

.hero-copy {
    animation: fadeUp .85s ease both;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    padding: 8px 16px;
    border: 1px solid rgba(255,255,255,.28);
    background: rgba(255,255,255);
    backdrop-filter: blur(12px);
    border-radius: 40px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.eyebrow::before {
    
    font-size: 16px;
}

.hero h1 {
    font-size: clamp(43px, 5vw, 67px);

    line-height: 1.04;

    letter-spacing: -2.5px;

    margin-bottom: 23px;

    max-width: 700px;
}

.hero h1 span {
    position: relative;
    color: #fff;
    z-index: 1;
}

.hero h1 span::after {
    content: "";

    position: absolute;

    height: 10px;

    left: 0;
    right: 0;

    bottom: 1px;

    background: var(--nz-red);

    border-radius: 10px;

    z-index: -1;
}

.hero-description {
    max-width: 640px;

    color: #e4ebfa;

    font-size: 17px;

    margin-bottom: 26px;
}


/* =========================================================
   EVENT CARDS
========================================================= */

.event-cards {
    display: flex;
    flex-wrap: wrap;

    gap: 10px;

    margin-bottom: 27px;
}

.event-card {
    min-width: 145px;

    padding: 12px 15px;

    border-radius: 13px;

    background: rgba(255,255,255,.11);

    border: 1px solid rgba(255,255,255,.22);

    backdrop-filter: blur(15px);

    transition: .3s;
}

.event-card:hover {
    transform: translateY(-5px);

    background: rgba(255,255,255,.17);
}

.event-card small {
    display: block;

    color: #c8d3eb;

    font-size: 10px;

    text-transform: uppercase;

    letter-spacing: 1px;

    margin-bottom: 2px;
}

.event-card strong {
    font-size: 15px;
}


/* =========================================================
   BUTTON
========================================================= */

.btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 9px;

    background: var(--nz-red);

    color: #fff;

    padding: 14px 24px;

    border-radius: 8px;

    font-size: 14px;

    font-weight: 800;

    box-shadow: 0 10px 25px rgba(204,20,43,.28);

    transition: .3s;
}

.btn::after {
    content: "→";

    font-size: 18px;
}

.btn:hover {
    background: var(--nz-red-dark);

    transform: translateY(-3px);

    box-shadow: 0 15px 30px rgba(204,20,43,.38);
}


/* =========================================================
   REGISTRATION FORM
   Compact version
========================================================= */

.form-wrapper {
    display: flex;
    justify-content: flex-end;

    animation: fadeUp .9s .12s ease both;
}

.form-card {
    width: 100%;
    max-width: 500px;

    padding: 26px 28px;

    border-radius: 22px;

    background: rgba(255,255,255,.95);

    border: 1px solid rgba(255,255,255,.75);

    box-shadow: var(--shadow-lg);

    color: var(--text);

    position: relative;
}

.form-card::before {
    content: "✦";

    position: absolute;

    right: 17px;
    top: 7px;

    color: var(--nz-red);

    font-size: 28px;
}

.form-top {
    margin-bottom: 17px;
}

.form-top h2 {
    color: var(--nz-blue);

    font-size: 25px;

    line-height: 1.2;

    margin-bottom: 4px;
}

.form-top p {
    color: var(--muted);

    font-size: 13px;

    line-height: 1.5;

    max-width: 390px;
}


/* Form fields */

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

.form-group label {
    display: block;

    margin-bottom: 4px;

    font-size: 13px;

    font-weight: 700;

    color: #354056;
}

.form-group input,
.form-group select {
    width: 100%;

    padding: 10px 12px;

    border: 1px solid #d9e0eb;

    border-radius: 8px;

    background: #fff;

    color: var(--text);

    font-family: inherit;

    font-size: 13px;

    transition: .2s;
}

.form-group input::placeholder {
    color: #a1a9b7;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;

    border-color: var(--nz-blue);

    box-shadow:
        0 0 0 3px rgba(0,36,125,.07);
}

.submit-btn {
    width: 100%;

    margin-top: 5px;

    padding: 12px;

    border: 0;

    border-radius: 8px;

    background: var(--nz-red);

    color: #fff;

    font-family: inherit;

    font-size: 13px;

    font-weight: 800;

    cursor: pointer;

    transition: .3s;
}

.submit-btn:hover {
    background: var(--nz-red-dark);

    transform: translateY(-2px);
}


/* =========================================================
   EDWISE MINI PROMO
========================================================= */

.edwise-mini {
    margin-top: 14px;

    display: flex;

    align-items: center;

    gap: 10px;

    padding: 10px 12px;

    background: #f5f8ff;

    border: 1px solid #e1e8f5;

    border-radius: 9px;
}

.edwise-mini-icon {
    min-width: 30px;
    height: 30px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: var(--nz-blue);

    color: #fff;

    border-radius: 50%;

    font-size: 14px;
}

.edwise-mini strong {
    display: block;

    color: var(--nz-blue);

    font-size: 13px;
}

.edwise-mini span {
    display: block;

    color: var(--muted);

    font-size: 12px;

    line-height: 1.35;
}


/* =========================================================
   GENERAL SECTIONS
========================================================= */

section {
    padding: 85px 20px;
}

.section-heading {
    max-width: 750px;

    margin: 0 auto 48px;

    text-align: center;
}

.section-label {
    color: var(--nz-red);

    font-size: 15px;

    font-weight: 800;

    letter-spacing: 1.6px;

    text-transform: uppercase;

    margin-bottom: 9px;
}

.section-heading h2 {
    color: var(--nz-blue);

    font-size: clamp(31px, 4vw, 44px);

    line-height: 1.15;

    letter-spacing: -1px;

    margin-bottom: 13px;
}

.section-heading p {
    color: var(--muted);

    font-size: 15px;
}


/* =========================================================
   WHY NEW ZEALAND
========================================================= */

.why-nz {
    background: #fff;
}

.reason-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}

.reason {
    position: relative;

    padding: 27px;

    background: #fff;

    border: 1px solid var(--border);

    border-radius: var(--radius);

    box-shadow: 0 7px 28px rgba(0,36,125,.045);

    overflow: hidden;

    transition: .35s;
}

.reason::before {
    content: "";

    position: absolute;

    left: 0;
    top: 0;

    width: 100%;
    height: 4px;

    background: var(--nz-blue);
}

.reason:nth-child(even)::before {
    background: var(--nz-red);
}

.reason:hover {
    transform: translateY(-7px);

    box-shadow: var(--shadow);
}

.reason-icon {
    width: 52px;
    height: 52px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: var(--light-blue);

    border-radius: 14px;

    font-size: 23px;

    margin-bottom: 16px;
}

.reason:nth-child(even) .reason-icon {
    background: var(--pale-red);
}

.reason h3 {
    color: var(--nz-blue);

    font-size: 18px;

    margin-bottom: 7px;
}

.reason p {
    color: var(--muted);

    font-size: 15px;
}


/* =========================================================
   NZ AT A GLANCE
========================================================= */

.stats-section {
    background:
        linear-gradient(
            135deg,
            var(--nz-deep),
            var(--nz-blue)
        );

    color: #fff;

    position: relative;

    overflow: hidden;
}

.stats-section::after {
    content: "✦";

    position: absolute;

    right: -20px;
    bottom: -90px;

    font-size: 280px;

    color: rgba(255,255,255,.04);
}

.stats-section .section-heading h2 {
    color: #fff;
}

.stats-section .section-heading p {
    color: #cbd7ef;
}

.stats-grid {
    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 15px;
}

.stat-box {
    padding: 25px 16px;

    text-align: center;

    border: 1px solid rgba(255,255,255,.14);

    background: rgba(255,255,255,.07);

    border-radius: 16px;

    backdrop-filter: blur(12px);

    transition: .3s;
}

.stat-box:hover {
    transform: translateY(-5px);

    background: rgba(255,255,255,.11);
}

.stat-number {
    display: block;

    font-family: "Manrope";

    font-size: 31px;

    font-weight: 800;

    color: #fff;

    margin-bottom: 3px;
}

.stat-box:nth-child(even) .stat-number {
    color: #ff5065;
}

.stat-box span {
    color: #cbd7ef;

    font-size: 12px;
}


/* =========================================================
   COURSES
========================================================= */

.courses {
    background: var(--off-white);
}

.course-pills {
    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 10px;

    max-width: 920px;

    margin: auto;
}

.course-pill {
    padding: 11px 18px;

    background: #fff;

    color: var(--nz-blue);

    border: 1px solid #dce4f2;

    border-radius: 50px;

    font-size: 16px;

    font-weight: 700;

    transition: .3s;
}

.course-pill:hover {
    background: var(--nz-blue);

    color: #fff;

    border-color: var(--nz-blue);

    transform: translateY(-3px);
}


/* =========================================================
   DISCOVER
========================================================= */

.discover {
    background: #fff;
}

.discover-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}

.discover-card {
    position: relative;

    min-height: 225px;

    padding: 27px;

    border-radius: 19px;

    background:
        linear-gradient(
            145deg,
            #eef4ff,
            #fff
        );

    border: 1px solid #dce5f4;

    overflow: hidden;

    transition: .35s;
}

.discover-card:nth-child(2),
.discover-card:nth-child(5) {
    background:
        linear-gradient(
            145deg,
            #fff0f3,
            #fff
        );

    border-color: #f1d5da;
}

.discover-card:hover {
    transform: translateY(-7px);

    box-shadow: var(--shadow);
}

.discover-number {
    position: absolute;

    right: 17px;
    top: 5px;

    font-family: "Manrope";

    font-size: 66px;

    font-weight: 800;

    color: rgba(0,36,125,.055);
}

.discover-card:nth-child(2) .discover-number,
.discover-card:nth-child(5) .discover-number {
    color: rgba(204,20,43,.065);
}

.discover-icon {
    font-size: 27px;

    margin-bottom: 16px;
}

.discover-card h3 {
    color: var(--nz-blue);

    font-size: 18px;

    margin-bottom: 7px;
}

.discover-card:nth-child(2) h3,
.discover-card:nth-child(5) h3 {
    color: var(--nz-red);
}

.discover-card p {
    color: var(--muted);

    font-size: 15px;
}


/* =========================================================
   EDWISE PROMOTIONAL SECTION
========================================================= */

.edwise {
    background: var(--light-blue);
}

.edwise-layout {
    display: grid;

    grid-template-columns: .9fr 1.1fr;

    gap: 50px;

    align-items: center;
}

.edwise-copy h2 {
    color: var(--nz-blue);

    font-size: 40px;

    line-height: 1.12;

    margin-bottom: 15px;
}

.edwise-copy > p {
    color: var(--muted);

    font-size: 15px;

    margin-bottom: 23px;
}

.edwise-points {
    list-style: none;
}

.edwise-points li {
    display: flex;

    gap: 11px;

    align-items: flex-start;

    margin-bottom: 11px;

    color: var(--text);

    font-size: 15px;

    font-weight: 600;
}

.edwise-points li::before {
    content: "✓";

    display: flex;

    align-items: center;
    justify-content: center;

    min-width: 23px;

    height: 23px;

    background: var(--nz-red);

    color: #fff;

    border-radius: 50%;

    font-size: 11px;

    font-weight: 800;
}


/* Edwise services */

.edwise-box {
    padding: 31px;

    background: #fff;

    border-radius: 21px;

    box-shadow: var(--shadow);

    border-top: 5px solid var(--nz-red);
}

.edwise-box h3 {
    color: var(--nz-blue);

    font-size: 23px;

    margin-bottom: 17px;
}

.service-list {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 12px;
}

.service {
    padding: 15px;

    background: var(--off-white);

    border-radius: 11px;

    transition: .25s;
}

.service:hover {
    background: var(--light-blue);

    transform: translateY(-3px);
}

.service strong {
    display: block;

    color: var(--nz-blue);

    font-size: 13px;

    margin-bottom: 2px;
}

.service span {
    color: var(--muted);

    font-size: 11px;
}


/* =========================================================
   PROMO STRIP
========================================================= */

.promo-strip {
    padding: 30px 20px;

    background: var(--nz-red);

    color: #fff;
}

.promo-content {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}

.promo-content h3 {
    font-size: 21px;

    margin-bottom: 3px;
}

.promo-content p {
    color: #ffecef;

    font-size: 13px;
}

.promo-btn {
    white-space: nowrap;

    padding: 11px 19px;

    background: #fff;

    color: var(--nz-blue);

    border-radius: 7px;

    font-size: 12px;

    font-weight: 800;

    transition: .3s;
}

.promo-btn:hover {
    transform: translateY(-2px);

    box-shadow: 0 8px 20px rgba(0,0,0,.15);
}


/* =========================================================
   FINAL CTA
========================================================= */

.cta-section {
    padding: 90px 20px;

    position: relative;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #00247d,
            #00143f
        );

    color: #fff;

    text-align: center;
}

.cta-section::before {
    content: "✦";

    position: absolute;

    left: 3%;
    top: -80px;

    font-size: 230px;

    color: rgba(255,255,255,.04);
}

.cta-section::after {
    content: "✦";

    position: absolute;

    right: 3%;
    bottom: -110px;

    font-size: 300px;

    color: rgba(204,20,43,.12);
}

.cta-content {
    position: relative;

    z-index: 2;
}

.cta-section h2 {
    font-size: clamp(34px, 4vw, 49px);

    line-height: 1.1;

    margin-bottom: 14px;
}

.cta-section p {
    max-width: 700px;

    margin: 0 auto 26px;

    color: #d9e2f6;

    font-size: 15px;
}


/* =========================================================
   FOOTER
========================================================= */

footer {
    padding: 28px 20px;

    background: #000e2d;

    color: #aebbd5;

    text-align: center;

    font-size: 11px;
}

footer p {
    margin: 3px 0;
}

footer strong {
    color: #fff;

    font-size: 13px;
}


/* =========================================================
   MOBILE STICKY CTA
========================================================= */

.mobile-register {
    display: none;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1000px) {

    .hero-content {
        grid-template-columns: 1fr;

        padding: 65px 0;

        min-height: auto;
    }

    .hero {
        min-height: auto;
    }

    .hero-copy {
        max-width: 720px;
    }

    .form-wrapper {
        justify-content: center;
    }

    .form-card {
        max-width: 500px;
    }

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

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

    .edwise-layout {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 650px) {

    body {
        padding-bottom: 62px;
    }

    .container {
        width: 92%;
    }

    section {
        padding: 65px 15px;
    }

    .hero {
        background-position: 66% center;
    }

    .hero-content {
        padding: 50px 0 55px;
    }

    .hero h1 {
        font-size: 41px;

        letter-spacing: -1.7px;
    }

    .hero-description {
        font-size: 15px;
    }

    .event-cards {
        display: grid;

        grid-template-columns: 1fr 1fr;
    }

    .event-card {
        min-width: 0;

        padding: 11px 12px;
    }

    .event-card strong {
        font-size: 12px;
    }

    .form-card {
        padding: 23px 20px;

        border-radius: 19px;
    }

    .form-top h2 {
        font-size: 23px;
    }

    .reason-grid,
    .discover-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .course-pills {
        justify-content: flex-start;
    }

    .course-pill {
        padding: 10px 15px;

        font-size: 12px;
    }

    .edwise-copy h2 {
        font-size: 33px;
    }

    .service-list {
        grid-template-columns: 1fr;
    }

    .promo-content {
        flex-direction: column;

        align-items: flex-start;

        gap: 15px;
    }

    .promo-btn {
        width: 100%;

        text-align: center;
    }

    .cta-section {
        padding: 70px 20px;
    }

    .mobile-register {
        display: block;

        position: fixed;

        bottom: 0;
        left: 0;
        right: 0;

        z-index: 999;

        padding: 9px 13px;

        background: rgba(0,20,63,.97);

        backdrop-filter: blur(15px);

        box-shadow:
            0 -5px 25px rgba(0,0,0,.18);
    }

    .mobile-register a {
        display: block;

        width: 100%;

        padding: 11px;

        background: var(--nz-red);

        color: #fff;

        text-align: center;

        border-radius: 7px;

        font-size: 13px;

        font-weight: 800;
    }
}


/* =========================================================
   PARTICIPANTS
========================================================= */

.participants { background: #fff; }
.participant-list { max-width: 900px; margin: 0 auto; display: grid; gap: 14px; }
.participant-item { display:flex; align-items:center; gap:15px; padding:18px 22px; background:var(--off-white); border:1px solid var(--border); border-left:5px solid var(--nz-red); border-radius:14px; color:var(--nz-blue); font-size:17px; font-weight:700; box-shadow:0 7px 24px rgba(0,36,125,.05); transition:.3s; }
.participant-item:hover { transform:translateY(-3px); box-shadow:var(--shadow); background:var(--light-blue); }
.participant-number { min-width:38px; height:38px; display:flex; align-items:center; justify-content:center; background:var(--nz-blue); color:#fff; border-radius:50%; font-size:14px; font-weight:800; }

/* =========================================================
   ACCESSIBILITY
========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;

        animation-iteration-count: 1 !important;

        transition-duration: .01ms !important;

        scroll-behavior: auto !important;
    }
}
