/* ── Reset & Base ─────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --blue: #1A3A5C;
    --blue-light: #264d7a;
    --orange: #C8522A;
    --gold: #E8A020;
    --brick: #A03020;
    --cream: #FDF6EC;
    --text: #1c1c1c;
    --muted: #5a5a5a;
    --white: #ffffff;
    --radius: 12px;
    --shadow: 0 4px 24px rgba(0, 0, 0, .12);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--white);
    color: var(--text);
    line-height: 1.65;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

/* ── Zig-zag SVG pattern util ─────────────────────────── */
.zz-top {
    width: 100%;
    height: 28px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='28'%3E%3Cpolyline points='0,0 20,22 40,0' fill='none' stroke='%23E8A020' stroke-width='3'/%3E%3C/svg%3E") repeat-x center / 40px 28px;
}

.zz-bottom {
    width: 100%;
    height: 28px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='28'%3E%3Cpolyline points='0,28 20,6 40,28' fill='none' stroke='%23E8A020' stroke-width='3'/%3E%3C/svg%3E") repeat-x center / 40px 28px;
}

.zz-blue-top {
    width: 100%;
    height: 28px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='28'%3E%3Cpolyline points='0,0 20,22 40,0' fill='none' stroke='%231A3A5C' stroke-width='3'/%3E%3C/svg%3E") repeat-x center / 40px 28px;
}

.zz-blue-bottom {
    width: 100%;
    height: 28px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='28'%3E%3Cpolyline points='0,28 20,6 40,28' fill='none' stroke='%231A3A5C' stroke-width='3'/%3E%3C/svg%3E") repeat-x center / 40px 28px;
}


/* ── Navigation ───────────────────────────────────────── */
nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--blue);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6vw;
    height: 168px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, .25);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-logo-img {
    height: 144px;
    width: auto;
}

.nav-logo span {
    font-size: 4.05rem;
    font-weight: 800;
    letter-spacing: -.5px;
    color: var(--gold);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: rgba(255, 255, 255, .85);
    font-size: .875rem;
    font-weight: 500;
    letter-spacing: .4px;
    transition: color .2s;
}

.nav-links a:hover {
    color: var(--gold);
}

.nav-cta {
    background: var(--orange);
    color: var(--white) !important;
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 700 !important;
    transition: background .2s !important;
}

.nav-cta:hover {
    background: var(--brick) !important;
}

/* Hamburger menu styles */
.hamburger {
    display: none;
    /* Hidden by default on desktop */
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 101;
    /* Above nav-links when open */
}

.hamburger .bar {
    width: 100%;
    height: 3px;
    background-color: var(--white);
    border-radius: 10px;
    transition: all 0.3s ease-in-out;
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Navigation Toggle */
.nav-links.active {
    right: 0;
    /* Slide in */
}

/* ── Hero ─────────────────────────────────────────────── */
#hero {
    min-height: 92vh;
    background:
        linear-gradient(160deg, rgba(26, 58, 92, .92) 0%, rgba(160, 48, 32, .80) 100%),
        url("https://upload.wikimedia.org/wikipedia/commons/thumb/9/94/Indian_cobra_Naja_naja.jpg/1280px-Indian_cobra_Naja_naja.jpg") center / cover no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 6vw 4rem;
    position: relative;
}

.hero-badge {
    display: inline-block;
    background: var(--gold);
    color: var(--blue);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding: 5px 16px;
    border-radius: 999px;
    margin-bottom: 1.5rem;
}

#hero h1 {
    font-size: clamp(3rem, 8vw, 6.5rem);
    font-weight: 900;
    letter-spacing: -2px;
    color: var(--white);
    line-height: 1.05;
}

/* New style for the Nagathon logo image in the hero section */
.hero-logo-img {
    /* Adjusted to be approximately 20% smaller */
    max-width: clamp(80px, 56vw, 320px);
    /* Responsive width: min 250px, preferred 70% of viewport width, max 600px */
    height: auto;
    /* Maintain aspect ratio */
    margin-bottom: 1.25rem;
    /* Spacing below the logo */
}

/* The following styles for #hero h1 and #hero h1 span are no longer needed as the h1 is replaced by an image */
/* #hero h1 span { color: var(--gold); } */

#hero .tagline {
    margin-top: 1.25rem;
    font-size: clamp(1rem, 2.4vw, 1.35rem);
    color: rgba(255, 255, 255, .88);
    max-width: 640px;
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 3rem;
}

.stat-box {
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .2);
    backdrop-filter: blur(8px);
    border-radius: var(--radius);
    padding: 1.2rem 2rem;
    text-align: center;
    min-width: 160px;
}

.stat-box .num {
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--gold);
    line-height: 1;
}

.stat-box .lbl {
    font-size: .8rem;
    color: rgba(255, 255, 255, .75);
    margin-top: .35rem;
    letter-spacing: .4px;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 2.5rem;
}

.btn-primary {
    background: var(--orange);
    color: var(--white);
    padding: 14px 36px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .3px;
    transition: background .2s, transform .15s;
    box-shadow: 0 4px 16px rgba(200, 82, 42, .45);
}

.btn-primary:hover {
    background: var(--brick);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    padding: 14px 36px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .3px;
    border: 2px solid rgba(255, 255, 255, .5);
    transition: border-color .2s, transform .15s;
}

.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-2px);
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .4rem;
    color: rgba(255, 255, 255, .55);
    font-size: .75rem;
    letter-spacing: .8px;
    text-transform: uppercase;
}

.hero-scroll::after {
    content: '';
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, .4), transparent);
}

/* ── Section Scaffolding ──────────────────────────────── */
section {
    padding: 5rem 6vw;
    scroll-margin-top: 11rem;
}

.section-label {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: .6rem;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--blue);
    line-height: 1.15;
}

.section-title span {
    color: var(--orange);
}

.section-sub {
    font-size: 1.05rem;
    color: var(--muted);
    max-width: 620px;
    margin-top: .75rem;
}

.divider-gold {
    width: 56px;
    height: 4px;
    border-radius: 2px;
    background: var(--gold);
    margin: 1rem 0 2.5rem;
}

/* ── About / Crisis ───────────────────────────────────── */
#about {
    background: var(--cream);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.about-img-wrap {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--blue);
}

.about-img-wrap img {
    width: 100%;
}

.about-img-badge {
    position: absolute;
    bottom: 1.25rem;
    left: 1.25rem;
    background: var(--blue);
    color: var(--gold);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 6px;
}

.crisis-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.crisis-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    border-left: 4px solid var(--orange);
    box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
}

.crisis-card .icon {
    font-size: 1.8rem;
    line-height: 1;
    flex-shrink: 0;
}

.crisis-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: .25rem;
}

.crisis-card p {
    font-size: .9rem;
    color: var(--muted);
}

.mission-box {
    margin-top: 2rem;
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
    border-radius: var(--radius);
    padding: 2rem;
    color: var(--white);
}

.mission-box h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: .6rem;
}

.mission-box p {
    font-size: .95rem;
    line-height: 1.7;
    opacity: .9;
}

.eligibility-pills {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    margin-top: 1rem;
}

.pill {
    background: rgba(232, 160, 32, .2);
    color: var(--gold);
    border: 1px solid rgba(232, 160, 32, .4);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .3px;
    padding: 4px 12px;
    border-radius: 999px;
}

/* ── Tracks / Categories ──────────────────────────────── */
#tracks {
    background: var(--white);
}

.tracks-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    margin-top: 3rem;
}

.track-card {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform .25s, box-shadow .25s;
    display: flex;
    flex-direction: column;
}

.track-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, .15);
}

.track-header {
    padding: 2rem 1.75rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.track-card:nth-child(1) .track-header {
    background: var(--blue);
}

.track-card:nth-child(2) .track-header {
    background: var(--orange);
}

.track-card:nth-child(3) .track-header {
    background: var(--brick);
}

.track-icon {
    font-size: 2.4rem;
}

.track-num {
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .6);
}

.track-header h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.25;
}

.track-body {
    padding: 1.5rem 1.75rem;
    background: var(--cream);
    flex: 1;
}

.track-body p {
    font-size: .9rem;
    color: var(--muted);
}

.track-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: 1rem;
}

.tag {
    background: rgba(26, 58, 92, .08);
    color: var(--blue);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .3px;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 999px;
}

/* ── Timeline ─────────────────────────────────────────── */
#timeline {
    background: var(--blue);
}

#timeline .section-label {
    color: var(--gold);
}

#timeline .section-title {
    color: var(--white);
}

#timeline .section-sub {
    color: rgba(255, 255, 255, .7);
}

.timeline-track {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 3rem;
    max-width: 720px;
    position: relative;
}

.timeline-track::before {
    content: '';
    position: absolute;
    left: 48px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(232, 160, 32, .3);
}

.tl-item {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    padding-bottom: 2.5rem;
    position: relative;
}

.tl-item:last-child {
    padding-bottom: 0;
}

.tl-dot-wrap {
    width: 96px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .4rem;
}

.tl-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--gold);
    border: 3px solid var(--blue);
    box-shadow: 0 0 0 3px var(--gold);
    flex-shrink: 0;
    margin-top: .25rem;
    position: relative;
    z-index: 1;
}

.tl-date {
    font-size: .7rem;
    font-weight: 700;
    color: var(--gold);
    text-align: center;
    letter-spacing: .5px;
    line-height: 1.3;
}

.tl-content {
    padding-top: .1rem;
}

.tl-content h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--white);
}

.tl-content p {
    font-size: .875rem;
    color: rgba(255, 255, 255, .65);
    margin-top: .25rem;
}

.tl-final .tl-dot {
    background: var(--orange);
    box-shadow: 0 0 0 3px var(--orange);
}

.tl-final .tl-date {
    color: var(--orange);
}

/* ── Prizes ───────────────────────────────────────────── */
#prizes {
    background: var(--cream);
}

.prizes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
    align-items: end;
}

.prize-card {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform .25s;
}

.prize-card:hover {
    transform: translateY(-4px);
}

.prize-top {
    padding: 2rem 1.5rem 1.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .75rem;
}

.prize-card:nth-child(1) .prize-top {
    background: var(--gold);
}

.prize-card:nth-child(2) .prize-top {
    background: #b0b8c1;
}

.prize-card:nth-child(3) .prize-top {
    background: #c87941;
}

.prize-rank {
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: .7;
}

.prize-medal {
    font-size: 3rem;
    line-height: 1;
}

.prize-amount {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--blue);
    letter-spacing: -1px;
}

.prize-sub {
    font-size: .8rem;
    color: var(--blue);
    opacity: .7;
    font-weight: 600;
}

.prize-body {
    background: var(--white);
    padding: 1.25rem 1.5rem;
}

.prize-body p {
    font-size: .875rem;
    color: var(--muted);
}

.prize-highlight {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, var(--orange) 0%, var(--brick) 100%);
    border-radius: var(--radius);
    padding: 2rem 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    box-shadow: var(--shadow);
    flex-wrap: wrap;
}

.prize-highlight .left h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--white);
}

.prize-highlight .left p {
    font-size: .9rem;
    color: rgba(255, 255, 255, .8);
    margin-top: .3rem;
}

.prize-highlight .big {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--gold);
    letter-spacing: -1px;
}

.perks-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.perk-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .06);
}

.perk-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.perk-card h4 {
    font-size: .95rem;
    font-weight: 700;
    color: var(--blue);
}

.perk-card p {
    font-size: .82rem;
    color: var(--muted);
    margin-top: .2rem;
}

/* ── Organizers ───────────────────────────────────────── */
#organizers {
    background: var(--white);
}

.org-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.org-card {
    background: var(--cream);
    border-radius: var(--radius);
    padding: 2rem 1.75rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border-top: 4px solid var(--gold);
    transition: transform .2s;
}

.org-card:hover {
    transform: translateY(-4px);
}

.org-logo-placeholder {
    width: 168px;
    height: 168px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
}

.org-logo-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 18px;
}

.org-card:nth-child(1) .org-logo-placeholder {
    background: rgba(26, 58, 92, .1);
}

.org-card:nth-child(2) .org-logo-placeholder {
    background: transparent;
}

.org-card:nth-child(2) .org-logo-placeholder img {
    /* Make logo larger by removing padding */
    padding: 0;
}

.org-card:nth-child(3) .org-logo-placeholder {
    background: rgba(232, 160, 32, .15);
}

.org-card h3 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--blue);
    line-height: 1.3;
}

.org-card .org-tag {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--orange);
}

.org-card p {
    font-size: .875rem;
    color: var(--muted);
}

.mentors-row {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2.5rem;
}

.mentor-chip {
    display: flex;
    align-items: center;
    gap: .75rem;
    background: var(--cream);
    border-radius: 50px;
    padding: .5rem 1.25rem .5rem .5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .07);
}

.mentor-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-weight: 800;
    font-size: 1rem;
    flex-shrink: 0;
}

.mentor-chip .info span {
    display: block;
}

.mentor-chip .info .name {
    font-size: .9rem;
    font-weight: 700;
    color: var(--blue);
}

.mentor-chip .info .role {
    font-size: .75rem;
    color: var(--muted);
}

/* ── Contact ──────────────────────────────────────────── */
#contact {
    background: linear-gradient(160deg, var(--blue) 0%, var(--blue-light) 100%);
}

#contact .section-label {
    color: var(--gold);
}

#contact .section-title {
    color: var(--white);
}

.contact-inner {
    display: grid;
    grid-template-columns: minmax(0, 760px);
    justify-content: center;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.contact-left p {
    color: rgba(255, 255, 255, .8);
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

.contact-register-link {
    display: inline-flex;
    margin-top: 1.25rem;
}

.contact-link-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, .1);
    border-radius: var(--radius);
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    color: var(--white);
    transition: background .2s;
    border: 1px solid rgba(255, 255, 255, .15);
}

.contact-link-row:hover {
    background: rgba(255, 255, 255, .18);
}

.contact-link-row .clr-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-link-row .clr-label {
    font-size: .75rem;
    color: rgba(255, 255, 255, .6);
}

.contact-link-row .clr-val {
    font-size: .95rem;
    font-weight: 600;
}

.contact-form {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: var(--radius);
    padding: 2rem;
    backdrop-filter: blur(8px);
}

.contact-form h3 {
    color: var(--gold);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

/* ── Register ─────────────────────────────────────────── */
#register {
    background:
        radial-gradient(circle at top right, rgba(232, 160, 32, .14), transparent 28%),
        linear-gradient(180deg, #fffaf2 0%, var(--cream) 100%);
}

#register .section-label {
    color: var(--orange);
}

#register .section-title {
    color: var(--blue);
}

#register .section-sub {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.register-inner {
    max-width: 760px;
    margin: 3rem auto 0;
}

.register-form {
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(26, 58, 92, .12);
    box-shadow: var(--shadow);
    backdrop-filter: none;
}

#register-form {
    scroll-margin-top: 12rem;
}

.register-form h3 {
    color: var(--blue);
}

.form-row {
    margin-bottom: 1rem;
}

.form-row label {
    display: block;
    font-size: .8rem;
    color: var(--blue);
    margin-bottom: .4rem;
    font-weight: 600;
    letter-spacing: .4px;
}

.form-row input,
.form-row select,
.form-row textarea {
    width: 100%;
    background: var(--white);
    border: 1px solid rgba(26, 58, 92, .18);
    border-radius: 8px;
    padding: 10px 14px;
    color: var(--text);
    font-size: .9rem;
    font-family: inherit;
    transition: border-color .2s;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
    color: rgba(28, 28, 28, .45);
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    outline: none;
    border-color: var(--gold);
}

.form-row select option {
    background: var(--white);
    color: var(--text);
}

.form-row textarea {
    resize: vertical;
    min-height: 90px;
}

.btn-submit {
    width: 100%;
    background: var(--orange);
    color: var(--white);
    border: none;
    cursor: pointer;
    padding: 12px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    transition: background .2s, transform .15s;
}

.btn-submit:hover {
    background: var(--brick);
    transform: translateY(-1px);
}

/* ── Footer ───────────────────────────────────────────── */
footer {
    background: #0e2236;
    padding: 2.5rem 6vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

footer .foot-logo {
    display: flex;
    align-items: center;
    gap: 24px;
    color: var(--gold);
    font-size: 3.3rem;
    font-weight: 800;
}

.foot-logo-img {
    height: 120px;
    width: auto;
}

footer p {
    font-size: .8rem;
    color: rgba(255, 255, 255, .45);
}

footer .foot-links {
    display: flex;
    gap: 1.5rem;
}

footer .foot-links a {
    font-size: .8rem;
    color: rgba(255, 255, 255, .5);
    transition: color .2s;
}

footer .foot-links a:hover {
    color: var(--gold);
}

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 900px) {

    .about-grid,
    .contact-inner {
        grid-template-columns: 1fr;
    }

    .tracks-grid,
    .prizes-grid,
    .org-grid {
        grid-template-columns: 1fr;
    }

    .perks-grid {
        grid-template-columns: 1fr;
    }

    .about-img-wrap {
        order: -1;
    }
}

@media (max-width: 640px) {
    section {
        padding: 3.5rem 5vw;
        scroll-margin-top: 6rem;
    }

    nav {
        padding: 0 4vw;
        height: 80px;
        /* Smaller height for mobile */
    }

    .nav-logo {
        gap: 15px;
    }

    .nav-logo-img {
        height: 60px;
        /* Smaller logo for mobile */
    }

    .nav-logo span {
        font-size: 2rem;
        /* Smaller font for mobile */
    }

    .hamburger {
        display: flex;
        /* Show hamburger on mobile */
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        /* Off-screen by default */
        width: 100%;
        /* Full width on very small screens */
        height: 100vh;
        background: var(--blue);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2.5rem;
        transition: right 0.3s ease-in-out;
        box-shadow: -2px 0 10px rgba(0, 0, 0, .2);
    }

    .nav-links a {
        font-size: 1.2rem;
    }

    .nav-cta {
        padding: 10px 24px;
    }

    /* About / Crisis */
    .crisis-card {
        padding: 1rem 1.25rem;
    }

    .crisis-card h3 {
        font-size: .95rem;
    }

    .crisis-card p {
        font-size: .85rem;
    }

    .mission-box {
        padding: 1.5rem;
    }

    .mission-box h3 {
        font-size: 1rem;
    }

    .mission-box p {
        font-size: .9rem;
    }

    .pill {
        font-size: .7rem;
        padding: 3px 10px;
    }

    /* Tracks / Categories */
    .track-header {
        padding: 1.5rem 1.5rem 1rem;
    }

    .track-header h3 {
        font-size: 1.1rem;
    }

    .track-body {
        padding: 1rem 1.5rem;
    }

    .track-body p {
        font-size: .85rem;
    }

    .tag {
        font-size: .65rem;
        padding: 2px 8px;
    }

    /* Timeline */
    .timeline-track {
        margin-top: 2rem;
    }

    .timeline-track::before {
        left: 20px;
        /* Adjust line position */
    }

    .tl-item {
        gap: 1rem;
        /* Reduce gap */
        padding-bottom: 2rem;
    }

    .tl-dot-wrap {
        width: 40px;
        /* Smaller width for dot and date */
        align-items: flex-start;
        /* Align date to the left */
    }

    .tl-dot {
        width: 16px;
        /* Smaller dot */
        height: 16px;
        border-width: 2px;
        /* Smaller border */
        box-shadow: 0 0 0 2px var(--gold);
        /* Smaller shadow */
        margin-top: 0;
        /* Adjust vertical alignment */
        left: 2px;
        /* Adjust dot position relative to line */
    }

    .tl-final .tl-dot {
        box-shadow: 0 0 0 2px var(--orange);
    }

    .prize-highlight {
        flex-direction: column;
        text-align: center;
    }

    .tl-date {
        font-size: .65rem;
        /* Smaller date font */
        text-align: left;
        position: relative;
        left: -10px;
        /* Move date closer to the dot */
    }

    .tl-content {
        padding-top: 0;
        /* Adjust vertical alignment */
    }

    .tl-content h4 {
        font-size: .95rem;
    }

    .tl-content p {
        font-size: .8rem;
    }

    /* Prizes */
    .prize-card {
        margin-bottom: 1rem;
        /* Add some space between stacked cards */
    }

    .prize-top {
        padding: 1.5rem 1rem 1.25rem;
        gap: .5rem;
    }

    .prize-medal {
        font-size: 2.5rem;
    }

    .prize-amount {
        font-size: 1.8rem;
    }

    .prize-body {
        padding: 1rem 1.25rem;
    }

    .prize-body p {
        font-size: .8rem;
    }

    .prize-highlight {
        padding: 1.5rem 2rem;
    }

    .prize-highlight .left h3 {
        font-size: 1.1rem;
    }

    .prize-highlight .left p {
        font-size: .85rem;
    }

    .prize-highlight .big {
        font-size: 2.2rem;
    }

    .perk-card {
        padding: 1rem 1.25rem;
    }

    .perk-icon {
        font-size: 1.5rem;
    }

    .perk-card h4 {
        font-size: .9rem;
    }

    .perk-card p {
        font-size: .75rem;
    }

    /* Organizers */
    .org-card {
        padding: 1.5rem 1.25rem;
        gap: .75rem;
    }

    .org-logo-placeholder {
        width: 120px;
        /* Smaller logo placeholder */
        height: 120px;
        border-radius: 16px;
        font-size: 3.5rem;
    }

    .org-card h3 {
        font-size: .95rem;
    }

    .org-card p {
        font-size: .8rem;
    }

    .mentor-chip {
        padding: .4rem 1rem .4rem .4rem;
    }

    .mentor-avatar {
        width: 36px;
        height: 36px;
        font-size: .8rem;
    }

    .mentor-chip .info .name {
        font-size: .8rem;
    }

    .mentor-chip .info .role {
        font-size: .7rem;
    }

    /* Contact */
    .contact-left p {
        font-size: .95rem;
        margin-bottom: 1.5rem;
    }

    .contact-link-row {
        padding: .8rem 1.2rem;
        margin-bottom: .8rem;
    }

    .contact-link-row .clr-icon {
        font-size: 1.2rem;
    }

    .contact-link-row .clr-label {
        font-size: .7rem;
    }

    .contact-link-row .clr-val {
        font-size: .85rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .contact-form h3 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .form-row label {
        font-size: .75rem;
    }

    .form-row input,
    .form-row select,
    .form-row textarea {
        padding: 8px 12px;
        font-size: .85rem;
    }

    .btn-submit {
        padding: 10px;
        font-size: .9rem;
    }

    #register-form {
        scroll-margin-top: 7rem;
    }

    /* Footer */
    footer {
        flex-direction: column;
        text-align: center;
        padding: 2rem 5vw;
        gap: 1rem;
    }

    footer .foot-logo {
        font-size: 2.5rem;
        gap: 15px;
    }

    .foot-logo-img {
        height: 80px;
    }

    footer p {
        font-size: .75rem;
    }

    footer .foot-links {
        flex-direction: column;
        gap: .8rem;
    }

    footer .foot-links a {
        font-size: .75rem;
    }
}