: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%;
}

.topbar {
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 16px;
}

.topbar .navwrap {
    max-width: 1070px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.brand {
    max-width: 150px;
    width: 100%;
    align-self: flex-end;
}
.brand:nth-child(odd) {
    max-width: 180px;
}
.brand:nth-child(3) {
    margin-bottom: -3px;
}

.toplogo{
    width: 100%;
    display: flex;
    gap: 10px;
    justify-content: space-between;
}

.nav {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    font-size: 14px;
    width: 100%;
    justify-content: space-between;
}

.nav a {
    color: #111827;
    text-decoration: none
}

.nav a:hover {
    color: var(--orange)
}

.loginbtn {
    background: var(--orange);
    color: #fff !important;
    padding: 10px 16px;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    white-space: nowrap;
}

/* Hamburger default hidden for large screens */
.menu-toggle{
  display:none;
  flex-direction:column;
  gap:5px;
  background:none;
  border:none;
  cursor:pointer;
}

.menu-toggle span{
  width:25px;
  height:3px;
  background:#111;
  display:block;
}


/* Mobile only — no change to large screen styles */
@media (max-width: 820px){

  .menu-toggle{
    display:flex;
    margin-left:auto;
  }

  .nav{
    display:none;
    width:100%;
    flex-direction:column;
    gap:10px;
    padding:10px 0 0;
  }

  .nav.is-open{
    display:flex;
  }

  .nav a{
    padding:10px 12px;
    border-radius:8px;
  }

  .nav .loginbtn{
    width:100%;
    text-align:center;
  }
}

.hero {
    position: relative;
    height: 240px;
    background: rgba(10, 54, 93, .92);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
}

.hero h1 {
    margin: 0;
    color: #fff;
    font-size: 36px;
    font-weight: 700;
    letter-spacing: .2px;
}

.hero-title {
    margin-top: 12px;
    text-align: center;
}

.hero-sub {
    font-weight: 700;
    font-size: 14px;
    color: #0e3b63;
}

.hero-main {
    font-size: 16px;
    opacity: .85;
    color: #0e3b63;
}

.hero-logos {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 12px;
    max-width: 1070px;
    width: 100%;
}
.hero-logos img{
    width: 100%;
}

/* Main section (was .mid-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;

}
.footer-logo{
    display: flex;
    align-items: center;
    align-self: center;
    object-fit: contain;
    width: 100%;
    max-width:170px;
    margin: 0 auto;
    
}
.footer-logo img{
    align-self: center;
    width: 100%;
    /* border: 4px solid #374151; */
}

.hero-text h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
}

.hero-text p {
    margin: 6px 0 0;
    font-size: 14px;
    color: rgba(255, 255, 255, .9);
}

.container {
    width: min(1100px, 100%);
    margin: 0 auto;
    padding: 0 16px 60px;
}

.form-shell {
    margin-top: 0px;
    background: var(--panel);
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #efefef;
}

.form-title {
    text-align: center;
    padding: 16px 12px;
    font-weight: 700;
    background: #f7f7f7;
    border-bottom: 1px solid #ededed;
}

.form-body {
    padding: 26px 18px 30px;
    background: var(--panel);
}

.grid2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0px 60px;
    align-items: start;
}

@media (max-width: 820px) {
    .hero {
        height: auto
    }

    .hero h1 {
        font-size: 28px
    }

    .grid2 {
        grid-template-columns: 1fr
    }

    .form-shell {
        margin-top: -32px
    }
}

.field label {
    display: block;
    font-size: 13px;
    color: #374151;
    margin: 0 0 8px;
    font-weight: 600;
}

.req {
    color: #dc2626;
    margin-left: 3px
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
textarea,
select,
input[type="file"] {
    width: 100%;
    height: 40px;
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 0 12px;
    font-size: 14px;
    background: #fff;
    outline: none;
}

input[type="file"] {
    padding: 8px 12px;
    height: auto
}

textarea {
    height: 78px;
    padding: 10px 12px;
    resize: vertical
}

select {
    background: #fff
}

.field small {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 12px
}

.section {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #e9e9e9;
}

.section h3 {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 800;
    color: #111827;
}

.checks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 22px;
}

@media (max-width: 820px) {
    .checks {
        grid-template-columns: 1fr
    }
}

.check-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    color: #111827;
}

.check-item input {
    margin-top: 2px
}

.row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 22px;
}

@media (max-width: 820px) {
    .row-2col {
        grid-template-columns: 1fr
    }
}

.bottom-area {
    margin-top: 18px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 22px;
    align-items: center;
}

@media (max-width: 820px) {
    .bottom-area {
        grid-template-columns: 1fr
    }
}

.timings {
    color: #111827;
    font-size: 13px;
    line-height: 1.6;
}

.timings strong {
    display: block;
    margin-bottom: 6px
}

.submit-wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
}

.captcha-box {
    width: 302px;
    max-width: 100%;
    border: 1px solid #dcdcdc;
    border-radius: 4px;
    background: #fff;
    padding: 14px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.captcha-left {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
}

.captcha-check {
    width: 24px;
    height: 24px;
    border: 2px solid #c7c7c7;
    border-radius: 2px;
    background: #fff;
}

.captcha-right {
    text-align: right;
    font-size: 10px;
    color: #6b7280;
    line-height: 1.2;
}

.captcha-right img {
    height: 22px;
    width: auto;
    display: block;
    margin-left: auto;
    margin-bottom: 4px
}

.btn-submit {
    background: var(--orange);
    color: #fff;
    border: none;
    border-radius: 6px;
    height: 42px;
    padding: 0 26px;
    font-weight: 800;
    cursor: pointer;
}

.btn-submit:hover {
    filter: brightness(.97)
}



.footer {
    background: #000;
    color: #fff;
    padding: 34px 16px;
}

.footer .fwrap {
    width: min(1100px, 100%);
    margin: 0 auto
}

.title-sponsor-wrap {
    max-height: 50px;
    width: 50px;
}

.menu-toggle{
  border:1px solid #e5e7eb;
  background:#fff;
  height:40px;
  width:44px;
  border-radius:8px;
  cursor:pointer;
  align-items:center;
  justify-content:center;
}

/* hide only on large screens */
@media (min-width: 821px){
  .menu-toggle{
    display:none;
  }
}

@media (max-width: 820px){
  .menu-toggle{
    display:flex;
    margin-left:auto;
  }
  .navwrap{
    /* flex-wrap:wrap; */
    position:relative;
  }

  .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;
  }
}