:root {
    --orange: #f58220;
    --darkblue: #0e3b63;
    --text: #0f172a;
    --muted: #6b7280;
    --line: #e5e7eb;
    --panel: #f3f4f6;
    --white: #ffffff;
    --radius: 6px;
    --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: var(--font);
    color: var(--text);
    background: #fff;
}

img { width: 100%; display: block; }

/* ================= HEADER ================= */

.topbar {
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: center;
    padding: 15px 16px;
}

.navwrap {
    max-width: 1070px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    position: relative;
}

.toplogo {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.brand {
    max-width: 200px;
    width: 100%;
    align-self: flex-end;
}

.nav {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    width: 100%;
    justify-content: space-between;
}

.nav a {
    text-decoration: none;
    color: #111827;
}

.nav a:hover { color: var(--orange); }

.loginbtn {
    background: var(--orange);
    color: #fff !important;
    padding: 10px 16px;
    border-radius: var(--radius);
    font-weight: 700;
    white-space: nowrap;
}

/* Hamburger */

.menu-toggle {
    display: none;
    border: 1px solid #e5e7eb;
    background: #fff;
    height: 40px;
    width: 44px;
    border-radius: 8px;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    justify-content: center;
    align-items: center;
}

.menu-toggle span {
    width: 22px;
    height: 2px;
    background: #111;
}

/* ================= HERO ================= */

.hero {
    height: 240px;
    background: rgba(10, 54, 93, .92);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0px 16px;
}

.hero-banner {
    max-width: 1070px;
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    height: 100%;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    padding-top:10px;
    padding-bottom:10px ;
}

.hero-banner-content,.hero-banner-brand{
  display: flex;
  width: 100%;
}

.hero-banner-content{
  max-width: 600px;
}

.hero-banner-brand{
  max-width: 350px;
  padding-right: 10px;
}
/* ================= HERO RESPONSIVE (NO STACK) ================= */

@media (max-width: 1024px) {

  .hero {
    height: 220px;
  }

  .hero-banner-content {
    max-width: 55%;
  }

  .hero-banner-brand {
    max-width: 35%;
  }
}

@media (max-width: 768px) {

  .hero {
    height: 190px;
  }

  .hero-banner-content {
    max-width: 60%;
  }

  .hero-banner-brand {
    max-width: 30%;
  }
}

@media (max-width: 480px) {

  .hero {
    height: 160px;
  }

  .hero-banner-content {
    max-width: 65%;
  }

  .hero-banner-brand {
    max-width: 28%;
  }
}

.hero-title {
    text-align: center;
    margin-top: 12px;
}

.hero-sub {
    font-weight: 700;
    font-size: 14px;
    color: var(--darkblue);
}

.hero-main {
    font-size: 16px;
    color: var(--darkblue);
    opacity: .85;
}

/* ================= FORM ================= */

.container {
    width: min(1100px, 100%);
    margin: 0 auto;
    padding: 0 16px 60px;
}

.form-shell {
    background: var(--panel);
    border-radius: var(--radius);
    border: 1px solid #efefef;
    overflow: hidden;
}

.form-body {
    padding: 26px 18px 30px;
}

.section {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #e9e9e9;
}

.section h3 {
    margin: 0 0 12px;
    font-size: 18px;
    font-weight: 800;
}

.grid2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 40px;
}

.field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
}

.req { color: #dc2626; }

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="number"],
textarea,
select {
    width: 100%;
    height: 40px;
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 0 12px;
    font-size: 14px;
    background: #fff;
    outline: none;
}

textarea {
    height: 90px;
    padding: 10px 12px;
    resize: vertical;
}

/* Radio & Checkbox */

.radio-item,
.check-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.radio-item input,
.check-item input {
    width: auto;
    margin: 0;
}

/* ================= SUBMIT ================= */

.actions {
    margin-top: 20px;
}

.btn,
.btn-submit {
    background: var(--orange);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    height: 42px;
    padding: 0 26px;
    font-weight: 800;
    cursor: pointer;
}

/* ================= SPONSOR BANNER ================= */

.sponsor-banner {
    margin-top: 26px;
    background: #0B2E59;
    padding: 42px 16px;
    text-align: center;
    color: #fff;
}

/* Container (was .sponsor-logos) */
.sponsor-banner__container {
    display: flex;
    align-items: center;
    justify-content: center;
    /* flex-wrap: wrap; */
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 12px;
    gap: 20px;
    margin-top: 20px; /* space from text */
}



@media (max-width: 1199px) {
    .sponsor-banner__container {
        flex-wrap: wrap;
    }

    .sponsor-banner__group--silver {
        flex: 0 0 100%;
        border-left: none;
        padding: 12px 0;
        justify-content: center;
    }
}

/* Mobile — everything wraps, 3 per row */
@media (max-width: 767px) {
    .sponsor-banner__container {
        justify-content: center;
    }

    .sponsor-banner__item {
        flex: 0 0 calc(33.33% - 20px);
    }

    .sponsor-banner__group--silver {
        border-left: none !important;
        flex-wrap: wrap;
    }

    .sponsor-banner__group--silver .sponsor-banner__item {
        flex: 0 0 calc(33.33% - 20px);
    }
}

/* Individual logos */
.sponsor-banner__item {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 10px;
}

.sponsor-banner__item img {
    max-height: 87px;
}


/* Silver group */
.sponsor-banner__group--silver {
    display: flex;
    align-items: center;
    gap: 15px;
    border-left: 2px solid #000;
    padding-left: 15px;
    margin-left: 10px;
}

.sponsor-banner__group--silver .sponsor-banner__item{
    width: 100%;
    background-color: #fff;

}

/* ================= RESPONSIVE ================= */

@media (max-width: 820px) {

    .grid2 { grid-template-columns: 1fr; }

    .hero { height: auto; }

    .menu-toggle { display: flex; margin-left: auto; }

    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        display: none;
        flex-direction: column;
        padding: 10px 16px;
        border-top: 1px solid #e5e7eb;
        z-index: 1000;
    }

    .nav.is-open { display: flex; }

    .nav .loginbtn {
        width: 100%;
        text-align: center;
    }

    .sponsor-banner__group--silver {
        border-left: none;
        flex-wrap: wrap;
    }
}