/* =========================================================
   60 let AIESEC v Česku – Custom Colour & Layout Overrides
   Palette: Navy + Gold (derived from reference image)
   ========================================================= */

/* -------------------------
   1. Colour tokens
   ------------------------- */

:root {
  --navy-900: #0b1630;   /* deep navy */
  --navy-800: #162447;   /* softer navy */
  --navy-700: #1f2f5c;

  --gold-600: #c9a24d;   /* primary gold */
  --gold-500: #e2c06f;   /* highlight gold */

  --text-light: #f5f4ef; /* warm off-white */
  --text-muted: #b6b6b6; /* muted grey */
}

@font-face {
  font-family: "Regular Brush";
  src: url("../fonts/Regular Brush.ttf") format("truetype");
  font-display: swap;
}

/* -------------------------
   2. Global resets / base
   ------------------------- */

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--navy-900);
  color: var(--text-light);
}

p {
  color: var(--text-light);
}

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

a:hover {
  color: var(--gold-500);
}

h1,
h2,
h3,
h4,
h5 {
  color: var(--text-light);
  font-weight: 500;
}

/* -------------------------
   3. Navigation
   ------------------------- */

.navbar {
  background-color: var(--navy-900);
}

.navbar-brand {
  color: var(--gold-600);
  font-weight: 600;
}

.navbar-brand:hover {
  color: var(--gold-500);
}

.navbar .nav-link {
  color: var(--text-light);
  font-weight: 400;
  padding: 0.45rem 0.9rem;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--gold-500);
}

.nav-register {
  border: 1px solid var(--gold-600);
  border-radius: 999px;
  padding: 0.35rem 1rem;
  margin-left: 0.5rem;
  color: var(--gold-600);
}

.nav-register:hover {
  background-color: var(--gold-600);
  color: var(--navy-900);
}

.nav-lang {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  margin-left: 0.5rem;
  color: var(--text-light);
}

.nav-lang:hover {
  border-color: var(--gold-500);
  color: var(--gold-500);
}

.nav-lang-text {
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

/* mobile toggler */
.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: rgba(11, 22, 48, 0.96);
    padding: 1rem;
    border-radius: 16px;
    margin-top: 0.75rem;
  }

  .navbar-nav {
    align-items: stretch;
  }

  .navbar .nav-link {
    padding: 0.5rem 0;
  }

  .nav-register,
  .nav-lang {
    margin-left: 0;
    width: 100%;
    justify-content: center;
  }

  .nav-lang {
    margin-top: 0.5rem;
  }
}

@media (max-width: 575.98px) {
  .btn,
  .link-card {
    width: 100%;
  }

  .btn {
    display: flex;
    justify-content: center;
    padding: 0.85rem 1.25rem;
    text-align: center;
    white-space: normal;
    line-height: 1.2;
  }
}

.btn {
  position: relative;
  overflow: hidden;
  --btn-hover-fill: var(--gold-600);
  padding: 0.9rem 2.1rem;
  transition: color 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
  z-index: 0;
}

.btn::before,
.btn::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  background: var(--btn-hover-fill);
  z-index: -1;
  transform: scaleX(0);
  transition: transform 0.5s ease, opacity 0.5s ease;
  pointer-events: none;
}

.btn::before {
  left: -30%;
}

.btn::after {
  right: -30%;
}

.btn > * {
  position: relative;
  z-index: 1;
}

.btn:hover,
.btn:focus {
  transform: translateY(-1px);
}

.btn:hover::before,
.btn:hover::after,
.btn:focus::before,
.btn:focus::after {
  transform: scaleX(1);
}

.btn:active {
  transform: translateY(2px);
}
/* -------------------------
   3.1 Details actions + modal
   ------------------------- */

.details-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.schedule-modal .modal-dialog {
  max-width: 650px;
  margin: 1.75rem auto;
}

.schedule-modal .modal-content {
  background: linear-gradient(160deg, rgba(11, 22, 48, 0.98), rgba(22, 36, 71, 0.98));
  border: 1px solid rgba(226, 192, 111, 0.35);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.schedule-modal .modal-header {
  border-bottom: 1px solid rgba(226, 192, 111, 0.2);
}

.schedule-modal .modal-title {
  color: var(--text-light);
  font-size: 1.4rem;
  margin: 0;
}

.schedule-modal .modal-subtitle {
  color: var(--gold-500);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.schedule-modal .modal-body {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.modal-iframe-wrapper {

  display: flex;
  align-items: stretch;
  justify-content: center;
  width: 100%;
  max-width: 590px;
  height: clamp(360px, 70vh, 720px);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(226, 192, 111, 0.25);
  background-color: rgba(11, 22, 48, 0.65);
  margin: 0 auto;
}

.modal-iframe-wrapper iframe {
  width: min(100%, 1200px);
  height: 100%;
  border: 0;
  border-radius: 10px;
  background-color: #fff;
  margin: 0 auto;
}

.iframe-spinner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(11, 22, 48, 0.75);
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 2;
}

.iframe-spinner::before {
  content: "";
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 4px solid rgba(226, 192, 111, 0.35);
  border-top-color: rgba(226, 192, 111, 0.95);
  animation: iframe-spinner-rotate 0.9s linear infinite;
}

.modal-iframe-wrapper.is-loaded .iframe-spinner {
  opacity: 0;
  visibility: hidden;
}

@keyframes iframe-spinner-rotate {
  to {
    transform: rotate(360deg);
  }
}

.modal-footer-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.modal-hint {
  color: var(--text-muted);
  font-size: 0.95rem;
}

@media (max-width: 767.98px) {
  .modal-footer-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* -------------------------
   4. Hero section
   ------------------------- */

.hero-section {
  background-color: var(--navy-900);
  height: calc(100vh - 51px);
  padding-top: 80px;
  padding-bottom: 20px;
  overflow: hidden;
}

.hero-content {
  min-height: 55vh;
}

.hero-sponsors {
  --hero-rotator-duration: 9s;
  --hero-rotator-item-height: clamp(64px, 7vw, 96px);
  margin-top: -5rem;
  padding: 1rem 0 0.35rem;
  border-top: 1px solid rgba(226, 192, 111, 0.25);
}

.hero-sponsors-title {
  margin-bottom: 0.8rem;
  text-align: center;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
}

.hero-partners-link {
  color: inherit;
  text-decoration: none;
}

.hero-partners-link:hover,
.hero-partners-link:focus {
  color: var(--gold-500);
}

.hero-sponsors-rotator {
  height: var(--hero-rotator-item-height);
  overflow: hidden;
}

.hero-sponsors-track {
  display: flex;
  flex-direction: column;
  animation: heroSponsorsRotate var(--hero-rotator-duration) ease-in-out infinite;
  will-change: transform;
}

.hero-sponsors-rotator:hover .hero-sponsors-track {
  animation-play-state: paused;
}

.hero-sponsor-item {
  height: var(--hero-rotator-item-height);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-sponsor-logo {
  width: min(240px, 48vw);
  max-height: min(84px, calc(var(--hero-rotator-item-height) - 4px));
  object-fit: contain;
}

@keyframes heroSponsorsRotate {
  0%,
  30% {
    transform: translateY(0);
  }
  35%,
  65% {
    transform: translateY(calc(-1 * var(--hero-rotator-item-height)));
  }
  70%,
  100% {
    transform: translateY(calc(-2 * var(--hero-rotator-item-height)));
  }
}

.hero-column {
  padding: 1rem 1.5rem;
}

.hero-meta {
  color: var(--text-light);
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  text-transform: none;
}

.hero-title-script {
  font-family: "Regular Brush", "Brush Script MT", cursive;
  font-size: clamp(6rem, 14vw, 11rem);
  color: var(--gold-500);
  margin-bottom: 0.75rem;
  line-height: 1;
}

.hero-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-light);
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.hero-logo {
  height: 28px;
  width: auto;
}

.hero-cta {
  margin-top: 2.5rem;
}

.hero-ticket-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(90vw, 280px);
  height: 54px;
  font-family: "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 999px;
  box-shadow: inset 0 0 0 2px rgba(226, 192, 111, 0.45);
  background-color: transparent;
  cursor: pointer;
}

.hero-ticket-btn svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  fill: none;
  stroke-width: 6px;
  transition: all 800ms ease;
}

.hero-ticket-btn rect {
  fill: transparent;
  stroke: var(--gold-500);
  stroke-width: 6px;
  stroke-dasharray: 350 0;
  stroke-dashoffset: 0;
  transition: all 800ms ease;
}

.hero-ticket-btn span {
  background: linear-gradient(90deg, var(--gold-600) 0%, var(--gold-500) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-ticket-btn:hover rect,
.hero-ticket-btn:focus rect {
  stroke-dasharray: 130 350;
  stroke-dashoffset: 500;
}

.hero-ticket-btn:focus-visible {
  outline: 2px solid rgba(226, 192, 111, 0.7);
  outline-offset: 4px;
}

@media (max-width: 991.98px) {
  .hero-section {
    height: auto;
    padding-top: 140px;
  }

  .hero-column {
    text-align: center;
  }

  .hero-brand {
    justify-content: center;
  }

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

@media (max-width: 767.98px) {
  .hero-sponsors {
    --hero-rotator-item-height: 56px;
    margin-top: 1rem;
    padding-top: 0.6rem;
  }

  .hero-sponsors-title {
    margin-bottom: 0.5rem;
  }

  .hero-sponsor-logo {
    width: min(170px, 58vw);
    max-height: 48px;
  }
}

/* sponsor CTA */
.btn-outline-gold {
  border: 1px solid var(--gold-600);
  color: var(--gold-600);
  background-color: transparent;
  background-image: linear-gradient(135deg, rgba(201, 162, 77, 0.2), rgba(201, 162, 77, 0.06));
  --btn-hover-fill: var(--gold-500);
}

.btn-sponsor.btn-outline-gold {
  background-color: var(--navy-800);
  background-image: none;
  border-color: rgba(201, 162, 77, 0.65);
  color: var(--text-light);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3), inset 0 0 0 0 var(--btn-hover-fill);
  --btn-hover-fill: var(--gold-500);
}

.btn-outline-gold:hover,
.btn-outline-gold:focus {
  background-image: linear-gradient(135deg, #d6b261, #c29b43);
  color: var(--navy-900);
}

.btn-sponsor.btn-outline-gold:hover,
.btn-sponsor.btn-outline-gold:focus {
  background-color: var(--gold-500);
  background-image: none;
  border-color: var(--gold-500);
  color: var(--navy-900);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3), inset 20rem 0 0 0 var(--btn-hover-fill);
}


.sponsor-tier-card {
  background: rgba(5, 14, 34, 0.88);
  border: 1px solid rgba(201, 162, 77, 0.35);
  border-radius: 18px;
  padding: 1.5rem;
  text-align: left;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.sponsor-tier-card h3 {
  color: var(--gold-500);
  font-size: 1.45rem;
  margin-bottom: 0.65rem;
}

.sponsor-tier-card p {
  margin-bottom: 1rem;
}

.sponsor-tier-label {
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  opacity: 0.85;
}

.sponsor-tier-card .btn {
  margin-top: auto;
}

.sponsor-tier-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin: 0.5rem 0 0.9rem;
}

.sponsor-tier-logo {
  width: min(165px, 36vw);
  max-height: 62px;
  object-fit: contain;
}


.sponsor-modal .modal-content {
  background: #ffffff;
  color: #1b2338;
}

.sponsor-modal .modal-header {
  border-bottom: 1px solid rgba(27, 35, 56, 0.12);
}

.sponsor-modal .modal-title {
  color: #1b2338;
}

.sponsor-modal .modal-body p,
.sponsor-modal .modal-body li,
.sponsor-modal .modal-body strong {
  color: #1b2338;
}

.sponsor-modal .btn-close.btn-close-white {
  filter: none;
  opacity: 0.7;
}

.sponsor-modal .btn-close.btn-close-white:hover {
  opacity: 1;
}

/* -------------------------
   5. Section backgrounds
   ------------------------- */

/* offset for anchor scrolling under sticky nav */
section {
  scroll-margin-top: 90px;
}

/* -------------------------
   6. Programme / Schedule
   ------------------------- */

.schedule-section ul {
  list-style: disc;
  padding-left: 1.2rem;
}

.schedule-section li {
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

/* -------------------------
   7. Event details & photos
   ------------------------- */

.event-details li {
  color: var(--text-light);
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.event-photo {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid rgba(201, 162, 77, 0.35);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  will-change: transform;
}

.event-photo:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.32);
}

.link-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 0.75rem 1rem;
  border-radius: 14px;
  background-color: var(--navy-800);
  color: var(--gold-500);
  text-align: center;
  font-weight: 500;
  position: relative;
  overflow: hidden;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease,
    box-shadow 0.25s ease, border-color 0.25s ease;
}

.link-card__label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.link-card::before {
  content: attr(data-label);
  position: absolute;
  inset: 16px 0;
  font-size: 1rem;
  font-weight: 500;
  color: currentColor;
  transition: all 0.5s ease;
}

.link-card::after {
  display: inline-block;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  font: var(--fa-font-solid);
  content: attr(data-icon);
  color: currentColor;
  transition: all 0.5s ease;
  position: relative;
  font-size: 1.6rem;
  transform: translate(-500%, 0);
  opacity: 0;
}

.link-card[data-icon-style="brands"]::after {
  font: var(--fa-font-brands);
}

.link-card:hover {
  background-color: var(--gold-500);
  border-color: var(--gold-500);
  color: var(--navy-900);
}

.link-card:hover::before,
.link-card:focus::before {
  opacity: 0;
  transform: translate(100%, 0);
}

.link-card:hover::after,
.link-card:focus::after {
  opacity: 1;
  transform: none;
}

/* -------------------------
   7. Speakers (Artists cards)
   ------------------------- */

.artists-thumb {
  background-color: var(--navy-800);
  border: 1px solid rgba(201, 162, 77, 0.35);
}

.artists-info {
  padding: 1.5rem;
}

.artists-info h5 {
  color: var(--gold-500);
  margin-bottom: 0.5rem;
}

.artists-info p {
  color: var(--text-muted);
  margin-bottom: 0;
}

/* -------------------------
   8. Registration / Pricing
   ------------------------- */

.pricing-section {
  background-color: var(--navy-800);
  background-image: linear-gradient(150deg, var(--navy-800), #111e3c);
}

.pricing-section p {
  color: var(--text-light);
}

.pricing-section .btn {
  border: 1px solid var(--gold-600);
  color: var(--gold-600);
  background-color: transparent;
  background-image: linear-gradient(135deg, rgba(201, 162, 77, 0.18), rgba(201, 162, 77, 0.05));
}

.pricing-section .btn:hover {
  background-image: linear-gradient(135deg, #d6b261, #c29b43);
  color: var(--navy-900);
}

/* -------------------------
   9. History timeline
   ------------------------- */

.history-section {
  background: linear-gradient(160deg, rgba(11, 22, 48, 0.95), rgba(22, 36, 71, 0.85));
}

.history-intro {
  max-width: 900px;
  margin: 0 auto 2rem;
  color: var(--text-light);
  text-align: center;
}

.timeline-wrapper {
  position: relative;
  margin: 0 -0.5rem;
  padding: 0 0.5rem;
}

.timeline-wrapper::before,
.timeline-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 58px;
  z-index: 5;
  pointer-events: none;
}

.timeline-wrapper::before {
  left: 0;
  background: linear-gradient(90deg, rgb(16, 29, 59, 1) 0%, rgba(16, 29, 59, 0) 100%);
}

.timeline-wrapper::after {
  right: 0;
  background: linear-gradient(270deg, rgba(16, 29, 59, 1) 0%, rgba(16, 29, 59, 0) 100%);
}

.timeline-track {
  position: relative;
  display: flex;
  gap: 1.2rem;
  overflow-x: auto;
  padding: 1.8rem 0.4rem 2rem;
  cursor: grab;
  scrollbar-width: none;
  -ms-overflow-style: none;
  user-select: none;
  -webkit-user-select: none;
}

.timeline-track * {
  user-select: none;
  -webkit-user-select: none;
}

.timeline-track::-webkit-scrollbar {
  display: none;
}

.timeline-track.is-dragging {
  cursor: grabbing;
}

.timeline-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 3px;
  width: 2050px;
  background: linear-gradient(90deg, rgba(226, 192, 111, 1), rgba(226, 192, 111, 1), rgba(226, 192, 111, 1));
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 0;
}

.timeline-decade {
  position: relative;
  min-width: 250px;
  min-height: 190px;
  border-radius: 18px;
  border: 1px solid rgba(226, 192, 111, 0.4);
  background: rgba(6, 14, 34, 0.92);
  color: var(--text-light);
  padding: 1.35rem 1.2rem;
  text-align: left;
  transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
  z-index: 1;
  display: flex;
  flex-direction: column;
}

.timeline-decade::before {
  content: "";
  position: absolute;
  top: -0.95rem;
  left: 50%;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 2px solid var(--gold-500);
  background-color: var(--navy-800);
  transform: translateX(-50%);
}

.timeline-decade:hover,
.timeline-decade:focus-within {
  transform: translateY(-5px);
  border-color: rgba(226, 192, 111, 0.95);
  background-color: rgba(16, 31, 63, 0.98);
  color: var(--text-light);
}

.timeline-year {
  display: block;
  color: var(--gold-500);
  font-size: 1.45rem;
  font-weight: 700;
}

.timeline-title {
  display: block;
  font-size: 1.05rem;
  margin-top: 0.5rem;
}

.timeline-hint {
  margin-top: 0.8rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.timeline-open-btn {
  margin-top: auto;
  align-self: flex-start;
  padding: 0.55rem 0.95rem;
  font-size: 0.85rem;
}

.timeline-decade-now {
  border-color: rgba(226, 192, 111, 0.9);
  box-shadow: 0 0 0 1px rgba(226, 192, 111, 0.4), 0 12px 28px rgba(0, 0, 0, 0.25);
}


.timeline-decade-disabled {
  border-color: rgba(226, 192, 111, 0.2);
  background: rgba(6, 14, 34, 0.7);
}

.timeline-decade-disabled::before {
  border-color: rgba(226, 192, 111, 0.4);
}

.timeline-decade-disabled .timeline-year,
.timeline-decade-disabled .timeline-title {
  opacity: 0.7;
}

.timeline-open-btn-disabled,
.timeline-open-btn-disabled:hover,
.timeline-open-btn-disabled:focus {
  border-color: rgba(226, 192, 111, 0.3);
  color: rgba(236, 239, 246, 0.65);
  background-image: none;
  background-color: rgba(255, 255, 255, 0.03);
  pointer-events: none;
}


.history-modal .modal-content {
  background: linear-gradient(160deg, rgba(11, 22, 48, 0.98), rgba(22, 36, 71, 0.98));
  border: 1px solid rgba(226, 192, 111, 0.4);
}

.history-modal .modal-title {
  color: var(--gold-500);
}

.history-modal-copy {
  color: var(--text-light);
  margin-bottom: 0.75rem;
  font-size: 0.92rem;
  line-height: 1.5;
}

.history-modal-image {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(226, 192, 111, 0.3);
  margin-bottom: 0.95rem;
}

.history-modal-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.history-modal-image-small {
  max-height: 165px;
  margin-bottom: 0;
}

@media (max-width: 767.98px) {
  .timeline-decade {
    min-width: 215px;
    min-height: 170px;
  }

  .timeline-wrapper::before,
  .timeline-wrapper::after {
    width: 36px;
  }

  .history-modal-gallery {
    grid-template-columns: 1fr;
  }
}


/* -------------------------
   10. Footer
   ------------------------- */

.site-footer {
  background-color: var(--navy-900);
  border-top: 1px solid rgba(201, 162, 77, 0.3);
  padding: 2rem 0 2.4rem;
}

.site-footer p {
  color: var(--text-muted);
}

.site-footer a {
  color: var(--gold-600);
}


.site-footer a:hover {
  color: var(--gold-500);
}

.footer-sponsors {
  width: min(920px, 100%);
  margin: 0.65rem auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
}

.footer-sponsor-logo {
  width: min(320px, 46vw);
  max-height: 110px;
  object-fit: contain;
  border-radius: 10px;
}

.footer-copy {
  margin-bottom: 0.85rem;
}

.footer-sponsor-block {
  padding-top: 0.6rem;
}

.footer-sponsor-title {
  color: var(--text-light);
  margin-bottom: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.88rem;
}

.footer-sponsor-subtitle {
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.footer-partner-links {
  margin-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.footer-partner-link {
  border: 0;
  background: transparent;
  color: var(--gold-500);
  text-decoration: underline;
  padding: 0;
}

@media (max-width: 575.98px) {
  .footer-sponsors {
    gap: 0.75rem;
    flex-wrap: wrap;
  }

  .footer-sponsor-logo {
    width: min(260px, 85vw);
  }
}

/* -------------------------
   11. Optional subtle divider
   ------------------------- */

.section-divider {
  width: 60px;
  height: 2px;
  background-color: var(--gold-600);
  margin: 1.5rem auto;
}


/* =========================
   Hero background image
   ========================= */

.hero-bg {
  position: relative;
  background-image: url("../images/hero-background.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(11, 22, 48, 0.78);
  z-index: 1;
}

.hero-bg .container {
  position: relative;
  z-index: 2;
}

/* =========================
   Section Light
   ========================= */

.section-light {
  background-color: #F6F1EC;
  background-image: linear-gradient(135deg, #f6f1ec 0%, #efe5d7 100%);
  color: #1a1a1a;
}

.section-light h1,
.section-light h2,
.section-light h3,
.section-light h4 {
  color: #0b1630;
}

.section-light p,
.section-light li {
  color: #333333;
}

/* =========================================
   FAQ section
   ========================================= */

.faq-section {
  position: relative;
  overflow: hidden;
}

.faq-section .container {
  position: relative;
  z-index: 2;
}

.faq-accordion {
  position: relative;
  z-index: 2;
}

.faq-accordion .accordion-item {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(11, 22, 48, 0.12);
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-accordion .accordion-button {
  font-weight: 600;
  color: #0b1630;
  background-color: rgba(255, 255, 255, 0.97);
  box-shadow: none;
}

.faq-accordion .accordion-button:not(.collapsed) {
  color: #0b1630;
  background-color: rgba(226, 192, 111, 0.18);
  box-shadow: none;
}

.faq-accordion .accordion-button:focus {
  border-color: rgba(226, 192, 111, 0.7);
  box-shadow: 0 0 0 0.2rem rgba(226, 192, 111, 0.28);
}

.faq-accordion .accordion-body {
  color: #2f2f2f;
}

.faq-background-strip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  height: 210px;
  z-index: 1;
  pointer-events: none;
}

.faq-background-image {
  display: block;
  background-size: cover;
  background-position: center;
  filter: saturate(0.95);
  opacity: 0.22;
}

@media (max-width: 767.98px) {
  .faq-background-strip {
    height: 150px;
  }
}

/* =========================================
   Navbar transparency control
   ========================================= */

/* Default (top of page, NOT sticky) */
.sticky-wrapper:not(.is-sticky) .navbar {
  background-color: transparent;
}

/* Sticky state (on scroll) */
.sticky-wrapper.is-sticky .navbar {
  background-color: var(--navy-900);
}

/* Smooth transition */
.navbar {
  transition: background-color 0.25s ease;
}

/* =========================================
   Navbar logo
   ========================================= */

.navbar-logo {
  height: 40px;
  width: auto;
  display: block;
}

/* Slightly smaller logo when sticky */
.sticky-wrapper.is-sticky .navbar-logo {
  height: 34px;
}

/* =========================================
   Custom background
   ========================================= */


.contact-section {
  background-image: url('../images/edward-unsplash-blur2.jpg');
  background-color: #704010;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.contact-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  max-width: 720px;
  margin: 0 auto;
  text-align: left;
}

@media (min-width: 992px) {
  .contact-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: 1000px;
  }
}

.contact-card {
  padding: 18px 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(4px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
}

.contact-card:hover {
  transform: scale(1.03);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.28);
}

.contact-card p {
  color: var(--text-light);
  margin: 0 0 8px;
}

.contact-card p:last-child {
  margin-bottom: 0;
}

.contact-title {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #ffffff;
}

.sponsoring-parallax {
  background-attachment: fixed;
  background-position: center;
}

@media (max-width: 991.98px) {
  .hero-bg,
  .sponsoring-parallax {
    background-attachment: scroll;
  }
}
