:root {
    /* Theme based on #558C89, #74AFAD, #D9853B, #ECECEA */
    --primary: #3e4995;
    /* lighter teal accent */
    --primary-dark: #3e4995;
    /* darker teal for buttons/headings */
    --accent: #d9853b;
    /* warm accent (chips/badges) */
    --bg: #ececea;
    /* page background */
    --bg-alt: #ffffff;
    /* card / section background */
    --text-main: #333333;
    --muted: #558c89;
    --border-soft: #cfd3d3;
    --container-max: 1366px;
    --container-padding: 1rem;
}

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

html {
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

img {
    max-width: 100%;
    height: auto;
}
p{
  text-align: justify;
}

body {
    margin: 0;
    overflow-x: hidden;
    padding-top: 72px;
    /* space for fixed header */
    font-family:
        "Poppins",
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    color: #4c4c4c;
    /* background-color: var(--bg); */
}

/* Prevent horizontal overflow on all sections */
section,
.main-header .container,
footer .container {
    min-width: 0;
}

.main-header .container {
    max-width: 1530px;
}

/* Container: 1366px max on large screens, full width on smaller devices */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--bs-gutter-x, 0.75rem);
    padding-right: var(--bs-gutter-x, 0.75rem);
}

@media (min-width: 576px) {
    .container {
        padding-left: var(--bs-gutter-x, 1rem);
        padding-right: var(--bs-gutter-x, 1rem);
    }
}

@media (min-width: 1367px) {
    .container {
        padding-left: var(--bs-gutter-x, 1.5rem);
        padding-right: var(--bs-gutter-x, 1.5rem);
    }
}

a {
    color: var(--primary);
    text-decoration: none;
}

a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

h5 {
    color: #626262;
}

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1030;
    background-color: transparent !important;
    border-bottom: 1px solid transparent;
    box-shadow: none !important;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    transition:
        background-color 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
    overflow: hidden;
}

.container--hero {
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

.main-header:not(.is-scrolled) {
    background-color: #fff !important;
    box-shadow: none !important;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.main-nav a {
    font-size: 15px;
    font-weight: 600;
}

.main-header:not(.is-scrolled) .main-nav a:hover {
    color: #ff8130 !important;
}

.main-header.is-scrolled .header-brand h1 {
    color: #212529 !important;
}

.main-header.is-scrolled .header-brand .small {
    color: #6c757d !important;
}

.main-header.is-scrolled .main-nav a,
.main-header.is-scrolled .header-meta {
    color: #3e4995 !important;
}

.main-header.is-scrolled .main-nav a:hover {
    color: #ff8130 !important;
}

.main-header.is-scrolled .header-meta,
.main-header.is-scrolled .header-meta.text-muted,
.main-header.is-scrolled .header-meta div {
    color: #3e4995 !important;
}

.main-header.is-scrolled .header-meta div:last-child {
    color: #6c757d !important;
}

.main-header.is-scrolled {
    background-color: #ffffff !important;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(41, 41, 102, 0.12);
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

/* Generic pill subtitle for section titles */
.section-subtitle-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 1.4rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    background-color: rgba(85, 140, 137, 0.08);
    color: var(--primary-dark);
}

/* Hamburger icon: always dark for visibility on light header */
.nav-toggle-icon,
.nav-toggle-icon::before,
.nav-toggle-icon::after {
    background-color: #1a1a1a !important;
}

.nav-toggle:hover .nav-toggle-icon,
.nav-toggle:hover .nav-toggle-icon::before,
.nav-toggle:hover .nav-toggle-icon::after {
    background-color: var(--primary-dark) !important;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon {
    background-color: transparent !important;
}

.main-header:not(.is-scrolled) .nav-toggle:hover {
    background-color: rgba(0, 0, 0, 0.06);
}

.header-inner {
    justify-content: space-between;
    align-items: center;
    min-width: 0;
}

.main-nav {
    flex: 1;
    justify-content: center;
    margin-left: 1rem;
    margin-right: 1rem;
}

.header-brand {
    min-width: 0;
}

.header-brand a {
    min-width: 0;
}

.header-meta {
    white-space: nowrap;
}

.event-logo {
    height: 120px;
    width: auto;
    max-height: 120px;
    object-fit: contain;
    display: block;
}

.main-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    align-items: center;
    justify-content: end;
    font-size: 0.9rem;
}

.main-nav a {
    color: #3e4995;
    font-weight: 800;
    text-decoration: none;
    position: relative;
    padding-bottom: 0.1rem;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.2s ease;
}

.main-nav a:hover {
    color: #ff8130;
}

.main-nav a:hover::after {
    width: 100%;
}

/* Mobile nav toggle (hamburger) - only one in header */
.main-header .nav-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 0.5rem;
    transition: background-color 0.2s ease;
}

/* Hide any duplicate toggles */
.main-header .nav-toggle ~ .nav-toggle {
    display: none !important;
}

.nav-toggle:hover {
    background-color: rgba(0, 0, 0, 0.06);
}

.nav-toggle-icon {
    position: relative;
    width: 22px;
    height: 2px;
    border-radius: 1px;
    transition:
        transform 0.2s ease,
        opacity 0.2s ease,
        background-color 0.2s ease;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
    content: "";
    position: absolute;
    left: 0;
    width: 22px;
    height: 2px;
    border-radius: 1px;
    transition:
        transform 0.2s ease,
        background-color 0.2s ease;
}

.nav-toggle-icon::before {
    top: -7px;
}

.nav-toggle-icon::after {
    top: 7px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon {
    background-color: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::after {
    top: 0;
    transform: rotate(-45deg);
}

.hero-section {
    position: relative;
    /* margin-top: -72px; */
    padding-top: calc(0px + 10rem);
    padding-bottom: 8rem;
    background-image:
        linear-gradient(rgba(195, 255, 253, 0), rgb(60 71 147 / 64%) 50%),
        url(..//images/bg-hackathone.png);
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    text-align: center;
    color: var(--accent);
}

.hero-inner {
    width: 100%;
    min-width: 0;
}

.hero-content {
    min-width: 0;
    flex: 1 1 300px;
    max-width: 45rem;
}

.hero-heading,
.hero-tagline,
.format-title,
.format-desc,
.section-heading h2,
.section-heading p {
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}

.hero-countdown-wrapper {
    min-width: 0;
    flex: 0 1 auto;
}

.hero-heading {
    font-size: clamp(1.75rem, 6vw, 100px);
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1.15;
    word-wrap: break-word;
    color: #fff;
    background-size: 200% auto;
    /* color: transparent; */
    -webkit-background-clip: text;
    background-clip: text;
    animation: heroHeadingGradient 4s linear infinite;
}

.hero-tagline {
    max-width: 100%;
    color: #ffffff;
}

@media (max-width: 991.98px) {
    .hero-content {
        max-width: 100%;
    }
    .hero-heading{
      line-height: 3.15 !important;
    }
}
.sponsors-logo-img{
  max-height: 100px !important;
  max-width: 140px !important;
  width: auto;
}
.hero-cta {
    background-color: #ff8130;
    border-color: #ff8130;
    color: #ffffff;
    border-radius: 999px;
    padding: 0.7rem 3.5rem;
    font-size: 20px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    box-shadow: 0 12px 30px rgba(56, 73, 89, 0.35);
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hero-cta:hover {
    background-color: #fff;
    border-color: #fff;
    color: #ff8130;
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(56, 73, 89, 0.45);
    text-decoration: none;
}

/* Hero tags – 4 orange cards, equal height & width */
.hero-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem 1.5rem;
    /* margin-top: 2rem; */
    padding-top: 1rem;
    width: 100%;
}

.hero-tags--cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-left: auto;
    margin-right: auto;
    align-items: stretch;
}

.hero-tag-card {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 20px;
    padding: 0px;
    border-radius: 50px;
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: 0.02em;

    background: rgb(255 129 48);
    color: #ffffff;
    border: 1px solid rgb(255 129 48);
    /* background: linear-gradient(135deg, #c5610e 0%, #d9853b 50%, #bb5c04 100%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 6px 24px rgba(217, 133, 59, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease; */
    text-align: center;
    min-width: 0;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.hero-tag-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(217, 133, 59, 0.45);
}

.hero-tag-card-text {
    line-height: 1.45;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.hero-tag-card-text strong {
    font-weight: 700;
}

@media (max-width: 991.98px) {
    .hero-tags--cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
    }

    .hero-tag-card {
        min-height: 76px;
    }
}

@media (max-width: 575.98px) {
    .hero-tags--cards {
        grid-template-columns: 1fr;
        gap: 0.875rem;
    }

    .hero-tag-card {
        min-height: 72px;
        padding: 1rem 1.125rem;
        font-size: 0.9rem;
    }
}
@media (max-width: 1366px) {
  .main-nav a {
    font-size: 12px !important;
  }
}
@media (max-width: 1280px) {
  .main-nav a {
    font-size: 11px !important;
  }
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.hero-tag--duration {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.hero-tag-icon {
    font-size: 1.1em;
    line-height: 1;
}

.hero-tag--prize {
    background: rgba(217, 133, 59, 0.9);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.hero-tag--prize .hero-tag-label {
    opacity: 0.95;
}

.hero-tag--prize .hero-tag-amount {
    font-weight: 700;
    font-size: 1.05em;
    letter-spacing: 0.02em;
}

.hero-meta {
    margin-top: 1rem;
    color: var(--muted);
}

.hero-countdown-label {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    color: rgba(0, 0, 0, 0.75);
}

.countdown-circle {
    position: relative;
    width: min(400px, 85vw);
    height: min(400px, 85vw);
    max-width: 400px;
    max-height: 400px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.countdown-circle::before {
    content: "";
    position: absolute;
    inset: 6px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.countdown-circle-inner {
    position: relative;
    z-index: 1;
    width: 80%;
    height: 80%;
    max-width: 320px;
    max-height: 320px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle at top, var(--accent), #ad4200);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

.countdown-date {
    text-align: center;
    margin-bottom: 1rem;
}

.countdown-day-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
}

.countdown-month {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.countdown-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2px;
    width: 100%;
    border-radius: 0.5rem;
    overflow: hidden;
}

.countdown-box {
    padding: 0.35rem 0.25rem;
    background-color: rgba(0, 0, 0, 0.08);
    text-align: center;
}

.countdown-box-value {
    display: block;
    font-weight: 600;
    font-size: 30px;
}

.countdown-box-label {
    display: block;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.countdown-box-value--tick {
    animation: countdownPop 0.4s ease-out;
}

@keyframes countdownPop {
    0% {
        transform: translateY(0) scale(1);
    }

    40% {
        transform: translateY(-3px) scale(1.06);
    }

    100% {
        transform: translateY(0) scale(1);
    }
}

@keyframes heroHeadingGradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.hero-sponsors {
    margin-top: 3rem;
}

.hero-sponsors-label {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    color: rgba(56, 73, 89, 0.8);
    margin-bottom: 0.75rem;
}

.partner-grid {
    margin-top: 0.5rem;
}

.partner-card {
    background-color: #ffffff;
    border-radius: 0.9rem;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(56, 73, 89, 0.08);
    box-shadow: 0 10px 28px rgba(56, 73, 89, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
    transition:
        transform 0.16s ease,
        box-shadow 0.16s ease,
        border-color 0.16s ease;
}

.partner-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(56, 73, 89, 0.26);
    border-color: rgba(136, 189, 242, 0.7);
}

.partner-logo-img {
    max-height: 40px;
    width: auto;
}

.partner-placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    background-color: rgba(136, 189, 242, 0.12);
}

.partner-placeholder-text {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
}

/* Sponsors slider section */

.sponsors-section {
    background-color: var(--bg-alt);
}

.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
    margin-bottom: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.sponsor-logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 100px;
}

.sponsors-carousel {
    position: relative;
}

.sponsors-row {
    min-height: 110px;
}

.sponsor-card {
    background-color: #ffffff;
    border-radius: 0.9rem;
    padding: 1.25rem 1rem;
    border: 1px solid rgba(85, 140, 137, 0.35);
    box-shadow: 0 4px 12px rgba(85, 140, 137, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    transition:
        transform 0.16s ease,
        box-shadow 0.16s ease,
        border-color 0.16s ease;
}

.sponsor-logo-img {
    max-height: 200px;
    max-width: 200px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.sponsor-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
}

.sponsors-control {
    width: 5%;
}

.sponsors-control .carousel-control-prev-icon,
.sponsors-control .carousel-control-next-icon {
    filter: invert(1) grayscale(1);
}

.btn-accent {
    background-color: #d9853b;
    border-color: #d9853b;
    color: #ffffff;
}

.btn-accent:hover {
    background-color: #c17333;
    border-color: #c17333;
    color: #ffffff;
}

.bg-soft-primary {
    background-color: rgba(255, 255, 255, 0.7);
}

.sponsor-card {
    border-radius: 1rem;
}

.sponsor-logo {
    width: 72px;
    height: 72px;
}

/* Committee section – Patron, Convenor, Coordinators, TAC */
.committee-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 50%, #ffffff 100%);
}

.committee-section-header {
    position: relative;
}

.committee-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    padding: 0.35rem 1rem;
    background: rgba(85, 140, 137, 0.1);
    border-radius: 999px;
}

.committee-title {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.committee-tagline {
    font-size: 1.05rem;
    color: #626262;
    max-width: 440px;
    margin: 0 auto;
    line-height: 1.6;
    text-align: center !important;
}

.committee-roles {
    display: flex;
    flex-direction: column;
    /* gap: 3rem; */
    max-width: 1200px;
    margin: 0 auto;
}

.committee-table-head {
    display: grid;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary-dark);
}

.committee-table-head--main {
    grid-template-columns: minmax(90px, 0.9fr) minmax(0, 1.3fr) minmax(
            0,
            1.2fr
        ) minmax(0, 1.8fr);
    column-gap: 1.25rem;
    padding: 0.6rem 1.25rem;
    border-radius: 12px 12px 0 0;
    border: 1px solid rgba(85, 140, 137, 0.15);
    border-bottom: none;
    background: #f3f6f6;
}

.committee-table-head--tac {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 2.2fr);
    column-gap: 1.25rem;
    margin-top: 2rem;
    padding: 0.6rem 1.25rem;
    border-radius: 12px 12px 0 0;
    border: 1px solid rgba(85, 140, 137, 0.15);
    border-bottom: none;
    background: #f3f6f6;
}

.committee-cards-grid {
    display: block;
    margin: 0;
    padding: 0;
    border-radius: 0 0 12px 12px;
    border: 1px solid rgba(85, 140, 137, 0.15);
    border-top: none;
    overflow: hidden;
    background-color: #ffffff;
}

.committee-role-title {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--accent);
    display: inline-block;
}

.committee-card-badge {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    background: transparent;
    padding: 0;
    border-radius: 0;
    margin-bottom: 0.25rem;
}

.committee-card {
    background: transparent;
    border-radius: 0;
    padding: 0.9rem 1.25rem;
    border: 0;
    border-bottom: 1px solid rgba(85, 140, 137, 0.08);
    box-shadow: none;
    transition: background-color 0.2s ease;
    overflow: hidden;
    position: relative;
    display: grid;
    grid-template-columns: minmax(90px, 0.9fr) minmax(0, 1.3fr) minmax(
            0,
            1.2fr
        ) minmax(0, 1.8fr);
    column-gap: 1.25rem;
    align-items: center;
}

.committee-card:nth-child(odd) {
    background-color: #ffffff;
}

.committee-card:nth-child(even) {
    background-color: #f8f9fa;
}

.committee-card::before {
    content: none;
}

.committee-card:hover {
    background-color: #f3f5f5;
}

.committee-card-inner {
    position: relative;
    z-index: 1;
    flex: 1;
    display: contents;
}

.committee-card-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 0;
    line-height: 1.35;
    display: inline-block;
}

.committee-card-role {
    font-size: 0.9rem;
    font-weight: 600;
    color: #555;
    margin: 0;
    line-height: 1.4;
    display: inline-block;
}

.committee-card-affiliation {
    font-size: 0.85rem;
    color: #626262;
    margin: 0;
    line-height: 1.5;
    margin-top: 0;
    display: inline-block;
}

/* Align committee items in table-like columns */
.committee-card-badge {
    grid-column: 1;
}

.committee-card-name {
    grid-column: 2;
}

.committee-card-role {
    grid-column: 3;
}

.committee-card-affiliation {
    grid-column: 4;
}

/* Technical Advisory Committee grid */
.committee-role-block--tac {
    margin-top: 0.25rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(85, 140, 137, 0.15);
}

.committee-role-block--tac .committee-role-title {
    text-align: center;
    display: block;
    width: 100%;
    border-bottom: none;
    padding-bottom: 0;
}

.tac-grid {
    display: block;
    margin-top: 0;
    border-radius: 0 0 12px 12px;
    border: 1px solid rgba(85, 140, 137, 0.15);
    border-top: none;
    overflow: hidden;
    background-color: #ffffff;
}

.tac-card {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 2.2fr);
    column-gap: 1.25rem;
    align-items: center;
    padding: 0.8rem 1.25rem;
    border-bottom: 1px solid rgba(85, 140, 137, 0.08);
}

.tac-card:last-child {
    border-bottom: none;
}

.tac-num {
    display: none;
}

.tac-content {
    grid-column: 1 / 3;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
    column-gap: 1.25rem;
    align-items: center;
}

.tac-name {
    grid-column: 1;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 0;
    line-height: 1.35;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.tac-affiliation {
    grid-column: 2;
    font-size: 0.875rem;
    color: #555;
    margin: 0;
    line-height: 1.5;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

@media (max-width: 991.98px) {
    .committee-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
}

@media (max-width: 767.98px) {
    .committee-roles {
        gap: 2rem;
    }

    .committee-role-title {
        font-size: 1rem;
    }

    /* Hide table headers on small screens */
    .committee-table-head--main,
    .committee-table-head--tac {
        display: none;
    }

    /* Make both tables behave like stacked cards */
    .committee-cards-grid,
    .tac-grid {
        border-radius: 12px;
        border-top: 1px solid rgba(85, 140, 137, 0.15);
    }

    .committee-card,
    .tac-card {
        display: block;
        padding: 1rem 1.1rem;
    }

    .committee-card-badge,
    .committee-card-name,
    .committee-card-role,
    .committee-card-affiliation,
    .tac-name,
    .tac-affiliation {
        display: block;
    }

    .committee-card-name {
        margin-top: 0.15rem;
    }

    .committee-card-role {
        margin-top: 0.1rem;
    }

    .committee-card-affiliation {
        margin-top: 0.2rem;
    }

    .tac-content {
        display: block;
    }

    .hero-tag-card-text {
        padding: 5px;
    }
}

@media (max-width: 575.98px) {
    .committee-section {
        background: linear-gradient(
            180deg,
            #ffffff 0%,
            #f5f6f7 50%,
            #ffffff 100%
        );
    }

    .committee-title {
        font-size: clamp(1.35rem, 5vw, 1.75rem);
    }

    .committee-tagline {
        font-size: 0.95rem;
    }

    .committee-card-name {
        font-size: 1rem;
    }

    .committee-card-role,
    .committee-card-affiliation {
        font-size: 0.875rem;
    }
}

.section-padding {
    padding: 4rem 0;
}

@media (min-width: 992px) {
    .section-padding {
        padding: 5rem 0;
    }
}

.bg-light-alt {
    background-color: var(--bg-alt);
}

section[id] {
    scroll-margin-top: 90px;
}

/* Overview section */

.overview-media {
    position: relative;
    max-width: 560px;
    padding: 1.5rem;
    border-radius: 2rem;
    background-color: rgba(255, 255, 255, 0.96);
    /* box-shadow: 0 22px 50px rgba(56, 73, 89, 0.25); */
}

.overview-media-grid {
    position: relative;
    display: grid;
    grid-template-columns: 3fr 2fr;
    grid-template-rows: 1fr 1fr;
    gap: 1.25rem;
}

.overview-img {
    border-radius: 1.8rem;
    object-fit: cover;
    width: 100%;
    display: block;
    box-shadow: 0 18px 40px rgba(56, 73, 89, 0.25);
}

.overview-img--main {
    grid-row: 1 / span 2;
    height: 100%;
    min-height: 260px;
}

.overview-img--top {
    height: 215px;
}

.overview-img--bottom {
    height: 215px;
}

.overview-img--mono {
    filter: grayscale(100%);
}

.overview-shape {
    display: none;
}

.overview-shape--primary {
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, var(--primary), #4b6dd8);
    top: -30px;
    left: 40px;
}

.overview-shape--secondary {
    width: 190px;
    height: 190px;
    background-image: repeating-linear-gradient(
        135deg,
        rgba(30, 75, 155, 0.12),
        rgba(30, 75, 155, 0.12) 4px,
        transparent 4px,
        transparent 8px
    );
    bottom: -40px;
    right: -10px;
}

.overview-copy {
    /* max-width: 480px; */
    margin-left: auto;
}

.overview-eyebrow {
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    color: var(--primary);
    font-weight: 600;
}

.overview-title {
    font-size: clamp(1.7rem, 3vw, 2.1rem);
    font-weight: 700;
    color: var(--primary-dark);
}

.overview-highlight {
    font-weight: 600;
    color: var(--accent);
}

.overview-cta-btn {
    display: inline-block;
    padding: 0.8rem 2.6rem;
    border-radius: 999px;
    border: none;
    background: #d9853b;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    box-shadow: 0 16px 40px rgba(56, 73, 89, 0.4);
}

.overview-cta-btn:hover {
    color: #ffffff;
    background: #c17333;
}

.section-heading h2 {
    letter-spacing: 0.01em;
    color: var(--primary-dark);
    font-size: clamp(1.75rem, 5vw, 45px);
}

.section-heading p {
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}

/* Competition Format section */
.competition-format-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin: 0 auto;
}

.format-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 1.25rem 1.5rem;
    background-color: #ffffff;
    border-radius: 1rem;
    border: 1px solid var(--border-soft);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.04);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.format-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.08);
    border-color: rgba(85, 140, 137, 0.3);
}

.format-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1rem;
    color: var(--primary);
    background: rgba(85, 140, 137, 0.12);
}

.format-content {
    flex: 1;
    min-width: 0;
}

.format-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 0.35rem;
}

.format-desc {
    font-size: 0.9rem;
    color: #626262;
    margin: 0;
    line-height: 1.5;
}

/* Targeted Participants section */
.participants-section {
    background-color: var(--bg-alt);
}

.participants-list-wrap {
    margin: 0 auto;
    background: #ffffff;
    border-radius: 1rem;
    padding: 0.5rem 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(85, 140, 137, 0.1);
}

.participant-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(85, 140, 137, 0.08);
}

.participant-item:last-child {
    border-bottom: none;
}

.participant-dot {
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    margin-top: 0.5em;
    border-radius: 50%;
    background: var(--primary);
}

.participant-item p {
    margin: 0;
    font-size: 1rem;
    color: #4c4c4c;
    line-height: 1.5;
}

/* How It Works FAQ section */
.faq-section {
    background: linear-gradient(
        180deg,
        #f8f9fa 0%,
        rgba(255, 255, 255, 0.95) 50%,
        #f8f9fa 100%
    );
    position: relative;
}

.faq-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(85, 140, 137, 0.3),
        transparent
    );
    opacity: 0.6;
}

.faq-section-header {
    position: relative;
}

.faq-section-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    padding: 0.35rem 1rem;
    background: rgba(85, 140, 137, 0.12);
    border-radius: 999px;
}

.faq-section-title {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.faq-section-tagline {
    font-size: 1.05rem;
    color: #626262;
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.6;
    text-align: center !important;
}

/* FAQ accordion */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin: 0 auto;
}

.faq-accordion-item {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(85, 140, 137, 0.15);
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(85, 140, 137, 0.06);
    transition:
        box-shadow 0.3s ease,
        transform 0.3s ease,
        border-color 0.3s ease;
}

.faq-accordion-item:hover {
    box-shadow: 0 8px 32px rgba(85, 140, 137, 0.12);
    border-color: rgba(85, 140, 137, 0.25);
}

.faq-accordion-button {
    width: 100%;
    padding: 1.35rem 1.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    background: #ffffff;
    border: none;
    text-align: left;
    font-weight: 600;
    font-size: 1.15rem;
    color: var(--primary-dark);
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-accordion-button:hover {
    background: linear-gradient(90deg, rgba(85, 140, 137, 0.04), transparent);
    color: var(--primary-dark);
}

.faq-accordion-button:not(.collapsed) {
    background: linear-gradient(
        90deg,
        rgba(85, 140, 137, 0.06),
        rgba(116, 175, 173, 0.08)
    );
    border-bottom: 1px solid rgba(85, 140, 137, 0.1);
}

.faq-accordion-button::after {
    display: none;
}

.faq-step-num {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(85, 140, 137, 0.35);
}

.faq-accordion-button:not(.collapsed) .faq-step-num {
    background: linear-gradient(135deg, var(--primary-dark), #3d6f6d);
    box-shadow: 0 4px 12px rgba(85, 140, 137, 0.4);
}

.faq-accordion-title {
    flex: 1;
}

.faq-accordion-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    position: relative;
    background: rgba(85, 140, 137, 0.1);
    transition: all 0.3s ease;
}

.faq-accordion-icon::before,
.faq-accordion-icon::after {
    content: "";
    position: absolute;
    background: var(--primary);
    border-radius: 2px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.faq-accordion-icon::before {
    width: 10px;
    height: 2px;
}

.faq-accordion-icon::after {
    width: 2px;
    height: 10px;
}

.faq-accordion-button:not(.collapsed) .faq-accordion-icon {
    background: var(--primary-dark);
}

.faq-accordion-button:not(.collapsed) .faq-accordion-icon::before,
.faq-accordion-button:not(.collapsed) .faq-accordion-icon::after {
    background: #ffffff;
}

.faq-accordion-button:not(.collapsed) .faq-accordion-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.faq-accordion-body {
    padding: 1.5rem 1.75rem 1.5rem 4rem;
    color: #4c4c4c;
    line-height: 1.7;
    font-size: 1rem;
    border-left: 4px solid transparent;
}

.faq-accordion-item .accordion-collapse.show .faq-accordion-body {
    border-left-color: var(--primary);
}

.faq-accordion-body p {
    margin-bottom: 0;
}

.faq-accordion-body p + p {
    margin-top: 1rem;
}

section#faq-steps {
    scroll-margin-top: 90px;
}

/* Food & Accommodation FAQ section – teal only, no orange */
.food-accommodation-section {
    background: linear-gradient(
        180deg,
        #f8f9fa 0%,
        rgba(255, 255, 255, 0.98) 50%,
        #f8f9fa 100%
    );
    position: relative;
}

.food-accommodation-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(85, 140, 137, 0.3),
        transparent
    );
    opacity: 0.6;
}

.food-accommodation-header {
    position: relative;
}

.food-accommodation-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    padding: 0.35rem 1rem;
    background: rgba(85, 140, 137, 0.12);
    border-radius: 999px;
}

.food-accommodation-title {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.food-accommodation-tagline {
    font-size: 1.05rem;
    color: #626262;
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.6;
    text-align: center !important;
}

.food-accommodation-section .faq-accordion {
    /* max-width: 720px; */
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 575.98px) {
    .food-accommodation-title {
        font-size: clamp(1.35rem, 5vw, 1.75rem);
    }

    .food-accommodation-tagline {
        font-size: 0.95rem;
    }
}

section#food-accommodation {
    scroll-margin-top: 90px;
}

@media (max-width: 575.98px) {
    .faq-accordion-button {
        padding: 1.1rem 1.25rem;
        font-size: 1rem;
        gap: 1rem;
        min-height: 48px;
    }

    .faq-step-num {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }

    .faq-accordion-body {
        padding: 1.25rem 1.25rem 1.25rem 1.5rem;
        font-size: 0.95rem;
    }

    .faq-accordion-item .accordion-collapse.show .faq-accordion-body {
        border-left-width: 3px;
    }
}

@media (max-width: 767.98px) {
    .participants-list-wrap {
        padding: 0.75rem 1rem;
        margin-left: 0;
        margin-right: 0;
    }

    .participant-item {
        padding: 0.9rem 0;
    }

    .participant-item p {
        font-size: 0.95rem;
        word-break: break-word;
    }
}

@media (max-width: 575.98px) {
    .participants-list-wrap {
        padding: 0.75rem 0.75rem;
    }
}

@media (max-width: 575.98px) {
    .format-item {
        padding: 1rem 1.25rem;
        gap: 1rem;
    }

    .format-number {
        width: 34px;
        height: 34px;
        font-size: 0.9rem;
    }

    .format-title {
        font-size: 0.95rem;
    }

    .format-desc {
        font-size: 0.85rem;
    }
}

.step-card {
    background-color: #ffffff;
    border-radius: 1rem;
    border: 1px solid var(--muted);
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.08);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.step-card:hover {
    box-shadow: 0 7px 20px #74afad64;
    transform: translateY(-4px);
    border-color: rgba(30, 75, 155, 0.3);
}

.step-number {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--primary);
    background: rgba(30, 75, 155, 0.08);
}

/* Important Dates section - enhanced */
.dates-section {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.dates-section-header {
    position: relative;
}

.dates-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    padding: 0.35rem 1rem;
    background: rgba(85, 140, 137, 0.1);
    border-radius: 999px;
}

.dates-title {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.dates-tagline {
    font-size: 1.05rem;
    color: #626262;
    max-width: 440px;
    margin: 0 auto;
    line-height: 1.6;
    text-align: center !important;
}
.text-muted{
  text-align: center !important;
}

.faq-section-tagline,
.judging-tagline {
    overflow-wrap: break-word;
    word-break: break-word;
}

.dates-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin: 0 auto;
}

.dates-section .date-card {
    position: relative;
    background: #ffffff;
    border-radius: 16px;
    padding: 1.75rem 1.5rem;
    text-align: center;
    border: 1px solid rgba(85, 140, 137, 0.12);
    box-shadow: 0 6px 24px rgba(85, 140, 137, 0.08);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
    overflow: hidden;
}

.dates-section .date-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(85, 140, 137, 0.15);
    border-color: rgba(85, 140, 137, 0.25);
}

.date-card-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
}

.date-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    background: linear-gradient(
        135deg,
        rgba(85, 140, 137, 0.1),
        rgba(116, 175, 173, 0.15)
    );
    border-radius: 12px;
}

.date-card-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #7a7a7a;
    margin-bottom: 0.5rem;
     text-align: center !important;
}

.date-card-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 0;
    line-height: 1.4;
    text-align: center !important;
}

@media (max-width: 991.98px) {
    .dates-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575.98px) {
    .dates-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .dates-section .date-card {
        padding: 1.5rem 1.25rem;
    }

    .date-card-icon {
        width: 42px;
        height: 42px;
        font-size: 1.25rem;
    }

    .date-card-value {
        font-size: 0.95rem;
    }
}

section#dates {
    scroll-margin-top: 90px;
}

/* Prizes / Pricing section */
.pricing-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 50%, #ffffff 100%);
}

.pricing-section-header {
    position: relative;
}

.pricing-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    padding: 0.35rem 1rem;
    background: rgba(85, 140, 137, 0.1);
    border-radius: 999px;
}

.pricing-title {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.pricing-tagline {
    font-size: 1.05rem;
    color: #626262;
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.6;
    text-align: center !important;
}

.pricing-table-wrap {
    margin: 0 auto;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(85, 140, 137, 0.12);
    box-shadow: 0 8px 32px rgba(85, 140, 137, 0.08);
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1rem;
}

.pricing-table thead {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: #ffffff;
}

.pricing-table th {
    padding: 1rem 1.25rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.pricing-table th:first-child {
    border-radius: 16px 0 0 0;
}

.pricing-table th:last-child {
    border-radius: 0 16px 0 0;
}

.pricing-table tbody tr {
    border-bottom: 1px solid rgba(85, 140, 137, 0.08);
    transition: background-color 0.2s ease;
}

.pricing-table tbody tr:last-child {
    border-bottom: none;
}

.pricing-table tbody tr:hover {
    background-color: rgba(85, 140, 137, 0.04);
}

.pricing-table td {
    padding: 1.15rem 1.25rem;
    color: #4c4c4c;
    vertical-align: middle;
}

.pricing-rank {
    display: inline-block;
    font-weight: 700;
    color: var(--primary-dark);
    font-size: 0.95rem;
}

.pricing-rank--special {
    color: var(--accent);
}

.pricing-amount {
    color: var(--primary-dark);
    font-size: 1.1rem;
}

@media (max-width: 767.98px) {
    .pricing-table thead {
        display: none;
    }

    .pricing-table tbody tr {
        display: block;
        padding: 1.25rem;
        margin-bottom: 1rem;
        border: 1px solid rgba(85, 140, 137, 0.12);
        border-radius: 12px;
        background: #ffffff;
        box-shadow: 0 4px 16px rgba(85, 140, 137, 0.06);
    }

    .pricing-table-wrap {
        padding: 0;
        background: transparent;
        border: none;
        box-shadow: none;
    }

    .pricing-table tbody {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .pricing-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
        padding: 0.5rem 0;
        border: none;
    }

    .pricing-table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--primary-dark);
        font-size: 0.8rem;
        flex-shrink: 0;
    }

    .pricing-table td:first-child {
        padding-top: 0;
        font-size: 1.05rem;
    }

    .pricing-row--1 td:first-child::before,
    .pricing-row--2 td:first-child::before,
    .pricing-row--3 td:first-child::before,
    .pricing-row--special td:first-child::before {
        content: "Rank";
    }

    .pricing-table .pricing-amount {
        font-size: 1.05rem;
    }

    .pricing-table tbody tr:last-child {
        margin-bottom: 0;
    }
}

section#pricing {
    scroll-margin-top: 90px;
}

/* Legacy date-card (other sections) */
.date-card {
    background-color: #ffffff;
    border-radius: 1rem;
    border: 1px dashed var(--border-soft);
    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.date-card:hover {
    transform: translateY(-3px);
    border-color: rgba(30, 75, 155, 0.4);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06);
}

.accordion-button {
    font-weight: 500;
}

.accordion-body {
    overflow-wrap: break-word;
    word-wrap: break-word;
}

div#problemAccordion {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.accordion-button:not(.collapsed) {
    color: inherit;
    background-color: transparent;
}

.ps-accordion-button {
    min-width: 0;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(
        90deg,
        rgba(85, 140, 137, 0.18),
        rgba(116, 175, 173, 0.5)
    );
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
}

.ps-accordion-button.collapsed {
    background: linear-gradient(
        90deg,
        rgba(236, 236, 234, 0.9),
        rgba(255, 255, 255, 0.95)
    );
}

.ps-accordion-button::after {
    display: none;
}

.accordion-item {
    border-radius: 20px;
}

.ps-accordion-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    width: 100%;
    min-width: 0;
}

.accordion-header {
    border-radius: 20px;
}

.ps-accordion-eyebrow {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--muted);
}

.ps-accordion-title {
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--primary-dark);
    overflow-wrap: break-word;
    word-break: break-word;
}

.ps-accordion-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.ps-accordion-badge {
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 600;
}

.ps-accordion-badge--open {
    background-color: rgba(92, 78, 78, 0.9);
    color: #ffffff;
}

.ps-accordion-badge--closed {
    background-color: rgba(0, 0, 0, 0.06);
    color: var(--primary-dark);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.ps-accordion-chevron {
    width: 16px;
    height: 16px;
    border-right: 2px solid var(--primary-dark);
    border-bottom: 2px solid var(--primary-dark);
    transform: rotate(45deg);
    transition: transform 0.2s ease;
}

.ps-accordion-button:not(.collapsed) .ps-accordion-chevron {
    transform: rotate(-135deg);
}

/* Judging Criteria section */
.judging-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 50%, #ffffff 100%);
}

.judging-section-header {
    position: relative;
}

.judging-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    padding: 0.35rem 1rem;
    background: rgba(85, 140, 137, 0.1);
    border-radius: 999px;
}

.judging-title {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.judging-tagline {
    font-size: 1.05rem;
    color: #626262;
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.6;
    text-align: center !important;
}

.judging-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 0 auto;
}

.judging-card {
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    padding: 2rem 1.75rem;
    border: 1px solid rgba(85, 140, 137, 0.1);
    box-shadow: 0 8px 32px rgba(85, 140, 137, 0.08);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
    overflow: hidden;
}

.judging-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary), var(--primary-dark));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.judging-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(85, 140, 137, 0.15);
    border-color: rgba(85, 140, 137, 0.2);
}

.judging-card:hover::before {
    opacity: 1;
}

.judging-card-number {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(85, 140, 137, 0.08);
    line-height: 1;
}

.judging-card-icon-wrap {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
        135deg,
        rgba(85, 140, 137, 0.12),
        rgba(116, 175, 173, 0.18)
    );
    border-radius: 14px;
    margin-bottom: 1.25rem;
}

.judging-card-icon {
    font-size: 1.75rem;
}

.judging-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.judging-card-desc {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.7;
    margin: 0;
    overflow-wrap: break-word;
    word-break: break-word;
}

@media (max-width: 991.98px) {
    .judging-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .judging-card {
        padding: 1.5rem 1.25rem;
    }

    .judging-card-number {
        font-size: 2rem;
        top: 0.75rem;
        right: 1rem;
    }

    .judging-card-icon-wrap {
        width: 48px;
        height: 48px;
        font-size: 1.5rem;
    }

    .judging-card-title {
        font-size: 1.05rem;
    }

    .judging-card-desc {
        font-size: 0.9rem;
    }
}

section#judging {
    scroll-margin-top: 90px;
}

section#problems {
    scroll-margin-top: 90px;
}

.criteria-card {
    background-color: #ffffff;
    border-radius: 1rem;
    border: 1px solid var(--border-soft);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.04);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.criteria-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.08);
}

.main-footer {
    background: linear-gradient(180deg, #0d1321 0%, #1a1f35 100%);
    color: #e5e7eb;
    padding: 3rem 0;
}

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

.footer-contact {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.footer-heading {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 2rem;
    letter-spacing: 0.02em;
}

.footer-contact-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.footer-item {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    justify-content: center;
}

.footer-label {
    font-size: 1.15rem;
    color: #9ca3af;
}

.footer-item a {
    font-size: 1.25rem;
    color: #e5e7eb;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.footer-item a:hover {
    color: var(--primary);
}

footer#contact {
    scroll-margin-top: 90px;
}

@media (max-width: 575.98px) {
    .main-footer {
        padding: 2rem 1rem;
    }

    .footer-heading {
        font-size: clamp(1.5rem, 5vw, 1.75rem);
    }

    .footer-item {
        flex-direction: column;
        align-items: center;
        gap: 0.25rem;
        text-align: center;
    }

    .footer-item a {
        font-size: 1rem;
        word-break: break-word;
    }

    .footer-label {
        font-size: 1rem;
    }
}

section#steps {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    background-color: var(--bg);
    border-radius: 20px;
}

section#sponsors {
    padding-bottom: 0px;
}

/* ---------- Responsive: Tablet (md) ---------- */
@media (max-width: 991.98px) {
    .hero-section {
        margin-top: -72px;
        padding-top: calc(72px + 5rem);
        padding-bottom: 5rem;
    }

    .hero-tags {
        margin-top: 1.75rem;
        padding-top: 1.25rem;
        gap: 0.875rem 1.25rem;
    }

    .hero-inner {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .section-heading h2 {
        font-size: clamp(1.75rem, 5vw, 2.5rem);
    }

    .overview-img--main {
        min-height: 200px;
    }

    .overview-img--top,
    .overview-img--bottom {
        height: 160px;
    }

    .main-nav {
        gap: 0.9rem;
        font-size: 0.85rem;
    }
}

/* ---------- Responsive: Mobile landscape & small tablet ---------- */
@media (max-width: 767.98px) {
    .hero-section {
        margin-top: -72px;
        padding-top: calc(72px + 4rem);
        padding-bottom: 4rem;
        text-align: center;
    }

    .hero-tags {
        margin-top: 1.5rem;
        padding-top: 1rem;
        flex-direction: column;
        gap: 0.75rem;
    }

    .hero-tags--cards {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .hero-tag-card {
        min-width: 0;
        padding: 1rem 1.125rem;
        font-size: 0.9rem;
    }

    .hero-tag {
        font-size: 0.875rem;
        padding: 0.45rem 1rem;
    }

    .hero-inner {
        flex-direction: column;
        gap: 2rem;
    }

    .hero-heading {
        font-size: clamp(1.75rem, 8vw, 2.75rem);
    }

    .hero-tagline {
        font-size: 0.95rem;
    }

    .hero-cta {
        padding: 0.75rem 1.75rem;
        font-size: 0.85rem;
    }

    .countdown-circle {
        width: min(280px, 75vw);
        height: min(280px, 75vw);
    }

    .countdown-circle-inner {
        width: 80%;
        height: 80%;
        max-width: 220px;
        max-height: 220px;
    }

    .countdown-day-number {
        font-size: 2rem;
    }

    .countdown-box-value {
        font-size: 1.25rem;
    }

    .countdown-box-label {
        font-size: 0.55rem;
    }

    .countdown-bar {
        gap: 1px;
    }

    .countdown-box {
        padding: 0.25rem 0.15rem;
    }

    .section-padding {
        padding: 2.5rem 0;
    }

    .section-heading h2 {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    .section-heading p {
        font-size: 0.9rem;
    }

    .overview-media {
        padding: 1rem;
        max-width: 100%;
    }

    .overview-media-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 0.75rem;
    }

    .overview-img--main {
        grid-row: auto;
        min-height: 200px;
        height: 200px;
    }

    .overview-img--top,
    .overview-img--bottom {
        height: 140px;
    }

    .overview-copy {
        margin-left: 0;
        text-align: center;
    }

    .overview-title {
        font-size: clamp(1.35rem, 5vw, 1.75rem);
    }

    .overview-cta-btn {
        padding: 0.7rem 2rem;
        font-size: 0.85rem;
    }

    .ps-accordion-heading {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .ps-accordion-meta {
        width: 100%;
        justify-content: space-between;
    }

    .ps-accordion-title {
        font-size: 0.95rem;
    }

    .sponsors-row {
        min-height: 90px;
    }

    .sponsors-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
        margin-top: 2rem;
    }

    .sponsor-card {
        padding: 0.75rem 0.6rem;
    }

    .sponsor-logo-wrapper {
        min-height: 80px;
    }

    .sponsor-logo-img {
        max-height: 80px;
        max-width: 120px;
    }

    .sponsor-text {
        font-size: 0.75rem;
    }

    .sponsors-control {
        width: 10%;
    }

    section[id] {
        scroll-margin-top: 70px;
    }
}

/* ---------- Responsive: Mobile (sm) ---------- */
@media (max-width: 575.98px) {
    .hero-section {
        margin-top: -64px;
        padding-top: calc(64px + 3rem);
        padding-bottom: 3rem;
    }

    .hero-heading {
        font-size: clamp(1.5rem, 7vw, 2rem);
    }

    .countdown-circle {
        width: min(240px, 70vw);
        height: min(240px, 70vw);
    }

    .countdown-circle-inner {
        width: 80%;
        height: 80%;
        max-width: 190px;
        max-height: 190px;
    }

    .countdown-day-number {
        font-size: 1.75rem;
    }

    .countdown-box-value {
        font-size: 1.1rem;
    }

    /* .event-logo {
    height: 44px;
    width: auto;
    max-height: 44px;
  } */

    body {
        padding-top: 64px;
    }

    .hero-section {
        margin-top: -64px;
    }

    section[id] {
        scroll-margin-top: 64px;
    }

    .header-brand h1 {
        font-size: 1rem !important;
    }

    .header-brand .small {
        font-size: 0.7rem;
    }

    .step-card,
    .date-card,
    .criteria-card {
        padding: 1rem !important;
    }

    .step-number {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    .main-footer {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }

    .main-footer p {
        font-size: 0.9rem;
    }
}

/* ---------- Mobile/tablet navigation (hide nav, show hamburger) ---------- */
@media (max-width: 991.98px) {
    .header-top {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-shrink: 0;
        flex-wrap: nowrap;
        min-height: 56px;
    }

    .header-brand {
        flex-shrink: 0;
    }

    /* Ensure only one nav-toggle - scoped to header */
    .main-header .nav-toggle {
        flex-shrink: 0;
        margin-left: auto;
        position: relative;
        right: 0;
    }

    /* .event-logo {
    height: 52px;
    max-height: 52px;
  } */

    .main-nav {
        display: none !important;
        flex-direction: column;
        width: 100%;
        padding: 1rem 0;
        gap: 0.75rem;
        border-top: 1px solid rgba(0, 0, 0, 0.08);
        margin-top: 0.5rem;
        order: 10;
    }

    .main-nav.show {
        display: flex !important;
    }

    .main-nav a {
        padding: 0.75rem 0.5rem;
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .header-inner {
        flex-wrap: wrap;
    }
}

@media (max-width: 769px) {
    .section-heading p {
        max-width: 100%;
    }
}

/* ---------- Extra small devices (e.g. 320px–375px) ---------- */
@media (max-width: 374.98px) {
    .hero-section {
        margin-top: -64px;
        padding-top: calc(64px + 2.5rem);
        padding-bottom: 2.5rem;
    }

    .hero-heading {
        font-size: clamp(1.25rem, 6vw, 1.75rem);
    }

    .hero-tagline {
        font-size: 0.9rem;
    }

    .hero-cta {
        padding: 0.6rem 1.25rem;
        font-size: 0.8rem;
    }

    .countdown-circle {
        width: min(200px, 85vw);
        height: min(200px, 85vw);
    }

    .countdown-circle-inner {
        max-width: 160px;
        max-height: 160px;
    }

    .countdown-day-number {
        font-size: 1.5rem;
    }

    .countdown-box-value {
        font-size: 1rem;
    }

    .countdown-box-label {
        font-size: 0.5rem;
    }

    .section-heading h2 {
        font-size: clamp(1.25rem, 5vw, 1.5rem);
    }

    .section-padding {
        padding: 2rem 0;
    }

    .step-card,
    .date-card,
    .criteria-card {
        padding: 0.75rem !important;
    }

    .ps-accordion-button {
        padding: 1rem 1rem;
        min-height: 48px;
    }

    .ps-accordion-title {
        font-size: 0.875rem;
    }

    .container,
    .container--hero {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .faq-accordion-button {
        min-height: 48px;
    }

    .sponsors-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 0.75rem;
    }

    .sponsor-logo-wrapper {
        min-height: 70px;
    }

    .sponsor-logo-img {
        max-height: 70px;
        max-width: 100px;
    }
}

/* ---------- Safe area (notched devices) ---------- */
@supports (padding: env(safe-area-inset-left)) {
    @media (max-width: 767.98px) {
        .main-header .container {
            padding-left: calc(
                var(--bs-gutter-x, 1rem) + env(safe-area-inset-left)
            );
            padding-right: calc(
                var(--bs-gutter-x, 1rem) + env(safe-area-inset-right)
            );
        }
    }
}

.hero-tag-card {
    background: rgb(255 129 48);
    color: #ffffff;
    border: 1px solid rgb(255 129 48);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    min-width: 0;
}
