/* =========================================================
   VARIABLES & BASE — USA + CANADA THEME
   Red:   #C8102E  (US Old Glory red / Canada red family)
   Blue:  #0A2A5E  (navy blue)
   White: #FFFFFF
   Accent on dark backgrounds: #9CC3FF (ice blue)
========================================================= */
:root {
    --red: #C8102E;
    --red-dark: #9B0B23;
    --blue: #0A2A5E;
    --navy: #061633;
    --ice: #9CC3FF;
    --sky: #F2F6FC;
    --tint: #FFF4F5;
    --ink: #14213D;
    --muted: #5F6B80;
    --white: #FFFFFF;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
    color: var(--ink);
    background: #fff;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
}

/* =========================================================
   GENERAL
========================================================= */
.section {
    padding: 70px 0;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: var(--red);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.section-title {
    margin: 0;
    font-size: clamp(30px, 3.6vw, 42px);
    line-height: 1.15;
    font-weight: 800;
    color: var(--blue);
    letter-spacing: -1px;
}

.section-copy {
    color: var(--muted);
    line-height: 1.75;
}

.section-head {
    margin-bottom: 40px;
}

/* =========================================================
   HERO
========================================================= */
.hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    background:
        linear-gradient(
            120deg,
            rgba(6, 22, 51, .97) 0%,
            rgba(10, 42, 94, .90) 38%,
            rgba(10, 42, 94, .74) 68%,
            rgba(200, 16, 46, .86) 100%
        ),
        url("https://images.unsplash.com/photo-1485871981521-5b1fd3805eee?auto=format&fit=crop&w=1900&q=80")
        center / cover no-repeat;
}

.hero::before {
    content: "";
    position: absolute;
    width: 560px;
    height: 560px;
    right: -240px;
    top: -260px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    left: -150px;
    bottom: -150px;
    border: 55px solid rgba(200, 16, 46, .26);
    border-radius: 50%;
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 40px 30px 44px;
}

.hero-copy {
    color: #fff;
}

.hero-logo {
    width: 220px;
    height: 92px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    padding: 12px 18px;
    border-radius: 16px;
    margin-bottom: 28px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .18);
    overflow: hidden;
}

.hero-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 8px;
}

.hero h1 {
    margin: 0 0 16px;
    font-size: clamp(40px, 4.8vw, 70px);
    line-height: 1;
    font-weight: 900;
    letter-spacing: -2.5px;
    color: #fff;
}

.hero h1 span {
    display: block;
    color: var(--ice);
    text-shadow: 0 2px 20px rgba(156, 195, 255, .25);
}

.hero-description {
    max-width: 600px;
    margin: 0;
    color: rgba(255, 255, 255, .88);
    font-size: 16px;
    line-height: 1.7;
}

/* EVENT META */
.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.meta-box {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    background: #fff;
    color: var(--blue);
    border-radius: 9px;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .08);
}

.meta-box i {
    color: var(--red);
    font-size: 19px;
}

/* =========================================================
   FORM
========================================================= */
.form-card {
    position: relative;
    z-index: 5;
    width: 100%;
    padding: 24px 26px;
    background: #fff;
    border-top: 6px solid var(--red);
    border-radius: 20px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, .30);
}

.form-card::before {
    content: "";
    position: absolute;
    width: 90px;
    height: 90px;
    right: -25px;
    top: -35px;
    background: var(--blue);
    border-radius: 50%;
    opacity: .10;
    pointer-events: none;
}

.form-card h2 {
    position: relative;
    margin: 0 0 4px;
    font-size: 23px;
    font-weight: 800;
    color: var(--blue);
}

.form-card > p {
    margin: 0 0 14px;
    color: var(--muted);
    font-size: 13px;
}

.form-card .mb-3 {
    margin-bottom: 11px !important;
}

.form-label {
    margin-bottom: 4px;
    font-size: 12px;
    font-weight: 700;
    color: #2E3B55;
}

.form-control,
.form-select {
    width: 100%;
    min-height: 42px;
    border: 1px solid #D5DCE8;
    border-radius: 9px;
    font-family: "Poppins", sans-serif;
    font-size: 13px;
    transition: .2s;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(10, 42, 94, .12);
}

.btn-register {
    width: 100%;
    padding: 12px;
    border: 0;
    border-radius: 9px;
    background: var(--red);
    color: #fff;
    font-family: "Poppins", sans-serif;
    font-weight: 800;
    transition: .25s;
    cursor: pointer;
}

.btn-register:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
}

.form-foot {
    margin: 8px 0 0 !important;
    text-align: center;
    font-size: 10px !important;
    color: #8590A3 !important;
}

/* =========================================================
   DESTINATION STRIP
========================================================= */
.dest-strip {
    background: var(--red);
    border-top: 4px solid var(--navy);
    border-bottom: 4px solid var(--blue);
    overflow: hidden;
}

.dest-strip .container {
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    font-size: 13px;
    font-weight: 800;
    color: #fff;
}

.dest-strip i {
    font-size: 20px;
    color: #fff;
}

.dest-strip span {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* =========================================================
   WHY STUDY IN THE USA AND CANADA
========================================================= */
.why {
    background: var(--sky);
}

.feature-card {
    position: relative;
    height: 100%;
    padding: 26px;
    background: #fff;
    border: 1px solid #DCE4F2;
    border-radius: 18px;
    overflow: hidden;
    transition: .25s;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(200, 16, 46, .35);
    box-shadow: 0 18px 45px rgba(10, 42, 94, .10);
}

.feature-card::after {
    content: "";
    position: absolute;
    width: 95px;
    height: 95px;
    right: -35px;
    bottom: -35px;
    background: #EAF0FA;
    border-radius: 50%;
    pointer-events: none;
}

.card-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    margin-bottom: 16px;
    background: var(--tint);
    color: var(--red);
    border-radius: 14px;
    font-size: 27px;
}

.feature-card h3 {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 800;
    color: var(--blue);
}

.feature-card p {
    margin: 0;
    font-size: 13px;
    line-height: 1.7;
    color: var(--muted);
}

/* =========================================================
   QUESTIONS
========================================================= */
.help-section {
    background: #fff;
}

.help-card {
    height: 100%;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: #fff;
    border: 1px solid #E0E6F0;
    border-radius: 15px;
    transition: .2s;
}

.help-card:hover {
    background: #FAFCFF;
    border-color: var(--red);
    box-shadow: 0 10px 30px rgba(200, 16, 46, .07);
}

.help-number {
    flex: 0 0 39px;
    width: 39px;
    height: 39px;
    display: grid;
    place-items: center;
    background: var(--blue);
    color: #fff;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 800;
}

.help-card h3 {
    margin: 0 0 5px;
    font-size: 15px;
    font-weight: 800;
    color: var(--blue);
}

.help-card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--muted);
}

/* =========================================================
   PARTICIPANTS
========================================================= */
.participants {
    position: relative;
    background: var(--navy);
    overflow: hidden;
}

.participants::before {
    content: "USA · CANADA";
    position: absolute;
    right: -50px;
    top: 30px;
    font-size: 110px;
    font-weight: 900;
    letter-spacing: 5px;
    color: rgba(255, 255, 255, .035);
    pointer-events: none;
    white-space: nowrap;
}

.participants .section-title {
    color: #fff;
}

.participants .section-copy {
    color: rgba(255, 255, 255, .72);
}

.participants .section-tag {
    color: var(--ice);
}

/* Country group heading */
.country-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 22px;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.country-head::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, .22);
}

.country-head .count {
    padding: 3px 11px;
    background: var(--red);
    color: #fff;
    border-radius: 20px;
    font-size: 11px;
    letter-spacing: .5px;
}

.country-block + .country-block {
    margin-top: 52px;
}

.uni-card {
    height: 100%;
    padding: 24px 20px;
    background: #fff;
    border-bottom: 4px solid var(--red);
    border-radius: 18px;
    text-align: center;
    transition: .25s;
}

.uni-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, .28);
}

.uni-logo {
    position: relative;
    width: 120px;
    height: 108px;
    display: grid;
    place-items: center;
    margin: 0 auto 14px;
    background: var(--sky);
    color: var(--blue);
    border: 2px solid #D5E0F3;
    border-radius: 14px;
    font-size: 22px;
    font-weight: 900;
    letter-spacing: .5px;
    overflow: hidden;
}

/* Logo sits on top of the initials badge; if the file is missing,
   the <img> removes itself and the initials remain visible. */
.uni-logo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 10px;
    background: #fff;
    object-fit: contain;
}

.uni-card h3 {
    margin: 0 0 4px;
    font-size: 15px;
    line-height: 1.45;
    font-weight: 800;
    color: var(--blue);
}

.uni-card h6 {
    margin: 0;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .6px;
    text-transform: uppercase;
    color: var(--muted);
}

/* =========================================================
   BENEFITS
========================================================= */
.benefits {
    background: #F4F7FB;
}

.benefit {
    height: 100%;
    padding: 26px;
    background: #fff;
    border: 1px solid #DDE4EF;
    border-radius: 17px;
    transition: .25s;
}

.benefit:hover {
    transform: translateY(-5px);
    border-color: rgba(200, 16, 46, .30);
    box-shadow: 0 15px 35px rgba(10, 42, 94, .08);
}

.benefit i {
    display: block;
    margin-bottom: 12px;
    font-size: 30px;
    color: var(--red);
}

.benefit h3 {
    margin: 0 0 6px;
    font-size: 17px;
    font-weight: 800;
    color: var(--blue);
}

.benefit p {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: var(--muted);
}

/* =========================================================
   EDWISE
========================================================= */
.edwise {
    background: #fff;
}

.edwise-panel {
    height: 100%;
    padding: 36px;
    background: linear-gradient(135deg, #EAF0FA 0%, #FFF4F5 100%);
    border: 1px solid #DCE4F2;
    border-radius: 24px;
}

.edwise-panel .section-copy {
    margin-bottom: 22px;
}

.edwise-point {
    display: flex;
    gap: 13px;
    margin-bottom: 16px;
}

.edwise-point:last-child {
    margin-bottom: 0;
}

.edwise-point i {
    flex-shrink: 0;
    font-size: 23px;
    color: var(--red);
}

.edwise-point strong {
    display: block;
    font-size: 14px;
    color: var(--blue);
}

.edwise-point span {
    font-size: 12px;
    line-height: 1.6;
    color: var(--muted);
}

.journey-visual {
    position: relative;
    height: 100%;
    min-height: 380px;
    border-radius: 24px;
    overflow: hidden;
    background:
        linear-gradient(
            rgba(6, 22, 51, .50),
            rgba(10, 42, 94, .66),
            rgba(200, 16, 46, .52)
        ),
        url("https://images.unsplash.com/photo-1517935706615-2717063c2225?auto=format&fit=crop&w=1200&q=80")
        center / cover no-repeat;
}

.map-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 32px;
    color: #fff;
}

.map-content .section-tag {
    color: var(--ice);
}

.map-content h3 {
    margin: 0;
    font-size: 28px;
    font-weight: 800;
}

.map-content p {
    margin: 7px 0 0;
    font-size: 12px;
    color: rgba(255, 255, 255, .88);
}

/* =========================================================
   FAQ
========================================================= */
.faq-section {
    background: var(--sky);
}

.faq-item {
    margin-bottom: 12px;
    padding: 20px 24px;
    background: #fff;
    border: 1px solid #DCE4F2;
    border-left: 3px solid var(--red);
    border-radius: 14px;
}

.faq-item:last-child {
    margin-bottom: 0;
}

.faq-item h3 {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 800;
    color: var(--blue);
}

.faq-item p {
    margin: 0;
    font-size: 13px;
    line-height: 1.7;
    color: var(--muted);
}

/* =========================================================
   CALL TO ACTION
========================================================= */
.cta {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    margin-top: 40px;
    padding: 30px 36px;
    background: var(--blue);
    color: #fff;
    border-left: 6px solid var(--red);
    border-radius: 20px;
    overflow: hidden;
}

.cta::after {
    content: "";
    position: absolute;
    width: 190px;
    height: 190px;
    right: -55px;
    top: -70px;
    border: 35px solid rgba(200, 16, 46, .38);
    border-radius: 50%;
    pointer-events: none;
}

.cta h2 {
    margin: 0 0 6px;
    font-size: 24px;
    font-weight: 800;
}

.cta p {
    margin: 0;
    font-size: 12px;
    color: rgba(255, 255, 255, .82);
}

.cta a {
    position: relative;
    z-index: 2;
    padding: 12px 22px;
    background: #fff;
    color: var(--blue);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
    transition: .2s;
}

.cta a:hover {
    background: var(--red);
    color: #fff;
    transform: translateY(-2px);
}

/* =========================================================
   FOOTER
========================================================= */
footer {
    padding: 20px;
    background: var(--navy);
    color: rgba(255, 255, 255, .65);
    border-top: 4px solid var(--red);
    text-align: center;
    font-size: 13px;
}

/* =========================================================
   RESPONSIVE: TABLET / LAPTOP
========================================================= */
@media (max-width: 1199px) {
    .hero-inner {
        padding: 36px 30px 40px;
    }

    .hero h1 {
        font-size: clamp(40px, 5.5vw, 56px);
    }
}

/* TABLET */
@media (max-width: 991px) {
    .section {
        padding: 60px 0;
    }

    .hero-inner {
        padding: 36px 25px 44px;
    }

    .hero-copy {
        max-width: 720px;
        margin: 0 auto;
        text-align: center;
    }

    .hero-logo {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .event-meta {
        justify-content: center;
    }

    .form-card {
        max-width: 600px;
        margin: 0 auto;
    }

    .dest-strip .container {
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .participants::before {
        font-size: 80px;
    }

    .edwise-panel {
        padding: 32px;
    }

    .journey-visual {
        min-height: 360px;
    }

    .cta {
        padding: 28px;
    }
}

/* MOBILE */
@media (max-width: 767px) {
    .section {
        padding: 50px 0;
    }

    .section-head {
        margin-bottom: 30px;
    }

    .section-title {
        font-size: 30px;
        letter-spacing: -.7px;
    }

    .section-copy {
        font-size: 14px;
    }

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

    .hero-inner {
        padding: 30px 18px 36px;
    }

    .hero-logo {
        width: 160px;
        height: 66px;
        margin-bottom: 18px;
        padding: 8px 12px;
        border-radius: 12px;
    }

    .hero h1 {
        margin-bottom: 14px;
        font-size: clamp(36px, 11vw, 48px);
        letter-spacing: -2px;
    }

    .hero-description {
        font-size: 14px;
        line-height: 1.7;
    }

    .event-meta {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        margin-top: 18px;
    }

    .meta-box {
        justify-content: center;
        width: 100%;
        min-height: 44px;
        padding: 10px 13px;
        font-size: 13px;
    }

    .form-card {
        padding: 22px 20px;
        border-radius: 18px;
    }

    .form-card h2 {
        font-size: 21px;
    }

    .dest-strip .container {
        min-height: auto;
        flex-wrap: wrap;
        gap: 6px 13px;
        padding: 14px 15px;
        text-align: center;
        font-size: 11px;
    }

    .dest-strip span {
        gap: 5px;
    }

    .dest-strip i {
        font-size: 16px;
    }

    .feature-card,
    .benefit {
        padding: 22px;
    }

    .help-card {
        padding: 18px;
    }

    .participants::before {
        display: none;
    }

    .country-block + .country-block {
        margin-top: 40px;
    }

    .uni-card {
        padding: 22px 18px;
    }

    .edwise-panel {
        padding: 26px 22px;
        border-radius: 20px;
    }

    .journey-visual {
        min-height: 320px;
        border-radius: 20px;
    }

    .map-content {
        padding: 24px;
    }

    .map-content h3 {
        font-size: 25px;
    }

    .cta {
        flex-direction: column;
        align-items: flex-start;
        margin-top: 32px;
        padding: 26px 22px;
        border-left-width: 5px;
    }

    .cta h2 {
        font-size: 20px;
        line-height: 1.35;
    }

    .cta a {
        width: 100%;
        text-align: center;
    }
}

/* SMALL MOBILE */
@media (max-width: 575px) {
    .hero::before {
        width: 380px;
        height: 380px;
        right: -230px;
        top: -200px;
    }

    .hero::after {
        width: 230px;
        height: 230px;
        left: -140px;
        bottom: -140px;
        border-width: 40px;
    }

    .hero-inner {
        padding-left: 15px;
        padding-right: 15px;
    }

    .hero h1 {
        font-size: 38px;
    }

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

    .section-title {
        font-size: 28px;
    }

    .section-tag {
        font-size: 11px;
        letter-spacing: 1.1px;
    }

    .card-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }

    .feature-card h3 {
        font-size: 17px;
    }

    .help-card {
        gap: 11px;
    }

    .help-card h3 {
        font-size: 14px;
    }

    .help-card p {
        font-size: 13px;
    }

    .help-number {
        flex: 0 0 36px;
        width: 36px;
        height: 36px;
    }

    .faq-item {
        padding: 18px;
    }

    .faq-item h3 {
        font-size: 15px;
    }

    .faq-item p {
        font-size: 12.5px;
    }
}

/* VERY SMALL MOBILE */
@media (max-width: 380px) {
    .hero h1 {
        font-size: 34px;
        letter-spacing: -1.5px;
    }

    .hero-logo {
        width: 145px;
        height: 60px;
        padding: 7px 11px;
    }

    .form-card {
        padding: 20px 16px;
    }

    .form-card h2 {
        font-size: 20px;
    }

    .meta-box {
        font-size: 12px;
    }

    .section {
        padding: 44px 0;
    }

    .section-title {
        font-size: 26px;
    }

    .cta {
        padding: 22px 18px;
    }

    .cta h2 {
        font-size: 18px;
    }
}

/* =========================================================
   ACCESSIBILITY
========================================================= */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition: none !important;
        animation: none !important;
    }
}
