/* =============================================
   DESIGN TOKENS — matching allianceaddis.org
   Primary Red: #E02B20 (Alliance Française brand)
   Teal Accent: #01AFB2 (CreaTech / sub-brand)
   Fonts: Manrope (headings) + Open Sans (body)
============================================= */
:root {
  --af-red: #13132B;
  --af-red-dark: #0a0a16;
  --af-teal: #72F6B4;
  --af-teal-dark: #61E8BB;
  --af-black: #111111;
  --af-dark: #13132B;
  --af-grey: #F5F6F8;
  --af-mid-grey: #888888;
  --af-text: rgba(0, 0, 0, 0.8);
  --af-nav-text: rgba(0, 0, 0, 0.6);
  --af-white: #FFFFFF;
  --af-real-red: #ff0000;

  --heading-font: 'Manrope', 'Helvetica', Arial, sans-serif;
  --body-font: 'Open Sans', 'Helvetica', Arial, sans-serif;
  --nav-font: 'Open Sans', sans-serif;

  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.10);
  --shadow-red: 0 8px 25px rgba(19, 19, 43, 0.3);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s ease;
  --container: 1200px;
}

/* =============================================
   RESET & BASE
============================================= */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  color: var(--af-text);
  background: var(--af-white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  font-family: var(--heading-font);
  line-height: 1.2;
  color: var(--af-black);
}

a {
  text-decoration: none;
  color: var(--af-red);
  transition: var(--transition);
}

a:hover {
  color: var(--af-teal-dark);
}

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

.brand-logo-img {
  height: 28px;
  width: auto;
  object-fit: contain;
}

/* =============================================
   LAYOUT UTILITIES
============================================= */
.af-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.af-section {
  padding: 80px 0;
}

#about {
  padding-bottom: 30px;
}

#timeline {
  padding-top: 30px;
}

.hidden {
  display: none !important;
}

/* =============================================
   BUTTONS
============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-red {
  background: var(--af-red);
  color: var(--af-white);
  box-shadow: var(--shadow-red);
}

.btn-red:hover {
  background: var(--af-red-dark);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 30px rgba(19, 19, 43, 0.45);
  color: var(--af-white);
}

.btn-outline-white {
  background: transparent;
  color: var(--af-white);
  border: 2px solid rgba(255, 255, 255, 0.7);
}

.btn-outline-white:hover {
  background: var(--af-white);
  color: var(--af-dark);
  border-color: var(--af-white);
  transform: translateY(-2px);
}

/* =============================================
   SITE HEADER — sticky, white, like allianceaddis.org
============================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--af-white);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s ease;
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--af-black);
  flex-shrink: 0;
}

.site-logo:hover {
  color: var(--af-black);
}

/* Navigation */
.site-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 4px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
  font-family: var(--nav-font);
  font-size: 12px;
  font-weight: 700;
  color: var(--af-nav-text);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
  text-transform: uppercase;
}

.nav-link:hover {
  color: var(--af-red);
  background: rgba(114, 246, 180, 0.06);
}

.nav-link.active-link {
  color: var(--af-red);
}

.nav-chevron {
  font-size: 0.65rem;
  transition: transform 0.2s;
}

.has-dropdown {
  position: relative;
}

.has-dropdown:hover .nav-chevron {
  transform: rotate(180deg);
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--af-white);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 0, 0, 0.07);
  list-style: none;
  min-width: 240px;
  padding: 12px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  z-index: 100;
}

.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown li a {
  display: block;
  padding: 10px 24px;
  font-family: var(--nav-font);
  font-size: 13px;
  color: var(--af-nav-text);
  font-weight: 600;
  text-transform: none;
  transition: var(--transition);
}

.dropdown li a:hover {
  background: rgba(114, 246, 180, 0.05);
  color: var(--af-red);
  padding-left: 28px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--af-black);
  border-radius: 2px;
  transition: var(--transition);
}


/* Breadcrumb removed */

/* =============================================
   1. HERO SECTION
============================================= */
.event-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(17, 17, 17, 0.92) 0%, rgba(1, 55, 78, 0.88) 50%, rgba(114, 246, 180, 0.15) 100%),
    url('https://images.unsplash.com/photo-1540575467063-178a50c2df87?auto=format&fit=crop&q=80&w=1920') center/cover no-repeat;
  color: var(--af-white);
  overflow: hidden;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(114, 246, 180, 0.12) 0%, transparent 60%);
  z-index: 0;
}

.hero-container {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 120px 24px 80px;
  animation: heroFadeUp 0.9s ease forwards;
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title {
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 800;
  color: var(--af-white);
  line-height: 1.05;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero-title-accent {
  color: var(--af-teal);
}

.hero-title-year {
  font-size: 0.65em;
  font-weight: 400;
  opacity: 0.85;
  margin-left: 0.1em;
}

.hero-year {
  font-family: var(--heading-font);
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  font-weight: 800;
  color: var(--af-teal);
  letter-spacing: -1px;
  margin-bottom: 28px;
  line-height: 1;
  margin-top: 8px; /* Adds consistent vertical spacing from the title above */
  margin-left: -0.05em; /* Optical alignment to align the number '2' with text */
}

.hero-desc {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 620px;
  margin-bottom: 40px;
  font-weight: 300;
  line-height: 1.8;
}

.hero-meta-row {
  display: flex;
  gap: 36px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-meta-item>i {
  font-size: 1.3rem;
  color: var(--af-teal);
  flex-shrink: 0;
}

.meta-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--heading-font);
}

.meta-value {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--af-white);
  font-family: var(--heading-font);
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Decorative blobs */
.hero-decor {
  position: absolute;
  border-radius: 50%;
  z-index: 1;
  opacity: 0.06;
}

.hero-decor-1 {
  width: 500px;
  height: 500px;
  background: var(--af-teal);
  top: -100px;
  right: -100px;
}

.hero-decor-2 {
  width: 300px;
  height: 300px;
  background: var(--af-red);
  bottom: -50px;
  right: 30%;
}

/* =============================================
   2. PARTNERS BAR
============================================= */
/* =============================================
   2. PARTNERS BAR & LOGO SCROLL
   Horizontal flow for sponsors and partners
============================================= */
.partners-bar {
  background: var(--af-grey);
  padding: 60px 0;
  position: relative;
  z-index: 10;
  overflow: hidden;
}

.partners-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.partners-header {
  text-align: center;
  margin-bottom: 40px;
}

.partners-label {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--af-mid-grey);
  font-family: var(--heading-font);
  position: relative;
  display: inline-block;
}

.partners-label::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: var(--af-red);
  border-radius: 2px;
}

/* Marquee Scroll Styles */
.logo-marquee {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 35px 0;
  background: var(--af-white);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
  display: flex;
}

.logo-marquee__inner {
  display: flex;
  align-items: center;
  gap: clamp(120px, 15vw, 350px);
  width: max-content;
  animation: scrollLogo 25s linear infinite;
  padding-left: clamp(120px, 15vw, 350px);
}

.logo-marquee:hover .logo-marquee__inner {
  animation-play-state: paused;
}

.partner-logo-item {
  display: flex;
  align-items: center;
  gap: 20px;
  transition: var(--transition);
  text-decoration: none;
  flex-shrink: 0;
}

.partner-logo-item:hover {
  transform: translateY(-5px);
}

.partner-text-stack {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.partner-main {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  color: var(--af-black);
  font-family: var(--heading-font);
  white-space: nowrap;
}

.partner-sub {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--af-mid-grey);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}


.brand-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

@keyframes scrollLogo {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}
/* Flag Badge logic remains similar but centered horizontally */
.flag-badge {
  display: flex;
  width: 50px;
  height: 34px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.05);
  flex-shrink: 0;
}

.flag-stripe {
  flex: 1;
}

.flag-blue {
  background: #002395;
}

.flag-white {
  background: #FFFFFF;
}

.flag-red {
  background: #ED2939;
}


/* =============================================
   SECTION HEADER SHARED STYLES
============================================= */
.af-section-header {
  text-align: center;
  margin-bottom: 60px;
}

.af-section-header--white {
  text-align: center;
  margin-bottom: 60px;
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--heading-font);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--af-red);
  margin-bottom: 12px;
}

.section-eyebrow--white {
  color: rgba(255, 255, 255, 0.7);
}

.af-section-title {
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--af-black);
  margin-bottom: 16px;
}

.white-title {
  color: var(--af-white);
}

.af-title-line {
  width: 50px;
  height: 4px;
  background: var(--af-red);
  border-radius: 2px;
  margin: 0 auto 20px;
}

.af-title-line--white {
  background: rgba(255, 255, 255, 0.5);
}

/* =============================================
   3. ABOUT SECTION
============================================= */

@media (max-width: 991px) {
  .about-split {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
}

.about-stat {
  text-align: center;
}

/* About image frame */

.section-title {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--af-black);
  line-height: 1.2;
}

.text-accent {
  color: var(--af-teal);
  /* ONLY red */
}

/* =============================================
   4. TRACKS / THEMES — teal section
============================================= */
.teal-section {
  background: var(--af-white);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.teal-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 0%, rgba(19, 19, 43, 0.03) 0%, transparent 40%);
  z-index: 0;
}


/* (Tracks/Galleries removed to simplify) */

/* =============================================
   5. PROGRAMME / SCHEDULE
============================================= */

/* =============================================
   6. PRODUCTION & INNOVATION
============================================= */

/* G Media aside card */

/* =============================================
   7. CTA BAND
============================================= */
.cta-band {
  background: var(--af-grey);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  color: var(--af-text);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.cta-band::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -50px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(19, 19, 43, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.cta-band h2 {
  color: var(--af-black);
}



.cta-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.cta-text-col h2 {
  color: var(--af-black);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 16px;
}

.cta-text-col p {
  color: var(--af-nav-text);
  font-size: 1rem;
  margin-bottom: 32px;
  line-height: 1.8;
}

/* Registration Form */
.registration-form {
  margin-top: 30px;
  max-width: 540px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 15px;
}

.form-grid .form-group:last-child {
  grid-column: span 2;
}

.registration-form .form-group input,
.registration-form .form-group select,
.registration-form .form-group textarea {
  width: 100%;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(0, 0, 0, 0.12);
  background: var(--af-white);
  color: var(--af-black);
  font-family: var(--body-font);
  font-size: 0.95rem;
  transition: var(--transition);
}

.registration-form .form-group input::placeholder,
.registration-form .form-group textarea::placeholder {
  color: #999;
}

.registration-form .form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23666666' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
}

.registration-form .form-group select option {
  background: var(--af-white);
  color: var(--af-black);
}

.registration-form .form-group input:focus,
.registration-form .form-group select:focus,
.registration-form .form-group textarea:focus {
  outline: none;
  border-color: var(--af-red);
  box-shadow: 0 0 0 3px rgba(114, 246, 180, 0.1);
}

.form-message {
  margin-top: 20px;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-message.success {
  background: rgba(76, 175, 80, 0.1);
  color: #2e7d32;
  border: 1px solid rgba(76, 175, 80, 0.2);
}

.form-message.error {
  background: rgba(114, 246, 180, 0.1);
  color: #c62828;
  border: 1px solid rgba(114, 246, 180, 0.2);
}

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


/* Countdown block */
.countdown-block {
  background: var(--af-white);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.countdown-title {
  font-family: var(--heading-font);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--af-mid-grey);
  margin-bottom: 20px;
}

.countdown-timer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
}

.c-num {
  font-family: var(--heading-font);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--af-black);
  line-height: 1;
}

.c-label {
  font-size: 0.72rem;
  color: var(--af-mid-grey);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

.c-sep {
  font-size: 1.8rem;
  color: var(--af-red);
  font-weight: 800;
  padding-bottom: 22px;
}

.c-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--af-grey);
  border-radius: var(--radius-sm);
  padding: 16px 24px;
  min-width: 90px;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.countdown-note {
  font-size: 0.85rem;
  color: var(--af-mid-grey);
  font-style: italic;
  margin-top: 24px;
}


/* Gallery removed */

/* =============================================
   9. CONTACT SECTION
============================================= */

.contact-detail-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.contact-detail-item strong {
  display: block;
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-detail-item a {
  color: var(--af-teal);
}

.contact-detail-item a:hover {
  color: var(--af-red);
}

.contact-detail-item p,
.contact-detail-item div {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
}

/* Contact Form */

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid rgba(0, 0, 0, 0.12);
  border-radius: var(--radius-sm);
  font-family: var(--body-font);
  font-size: 0.95rem;
  color: var(--af-text);
  background: var(--af-white);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--af-teal);
  box-shadow: 0 0 0 3px rgba(114, 246, 180, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-success {
  margin-top: 16px;
  padding: 14px;
  background: rgba(76, 175, 80, 0.1);
  color: #2e7d32;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 600;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* =============================================
   SITE FOOTER - MODERN COMPACT
============================================= */
.site-footer {
  background: var(--af-dark);
  color: rgba(255, 255, 255, 0.65);
  padding: 40px 0 20px;
}

.footer-compact {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.footer-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
}

.footer-logo-link:hover .footer-logo-img {
  opacity: 0.8;
  transform: translateY(-2px);
}

.footer-info {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-info-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-info-item i {
  color: var(--af-teal);
  font-size: 0.85rem;
}

.footer-email {
  color: rgba(255, 255, 255, 0.5) !important;
  transition: var(--transition);
}

.footer-email:hover {
  color: var(--af-white) !important;
}

.footer-divider {
  color: rgba(255, 255, 255, 0.2);
  font-weight: 800;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  transition: var(--transition);
}

.footer-socials a:hover {
  background: var(--af-red);
  color: var(--af-white);
  transform: translateY(-3px);
}

.footer-bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding: 20px 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer-back-link {
  color: rgba(255, 255, 255, 0.35);
  transition: var(--transition);
  font-weight: 600;
}

.footer-back-link:hover {
  color: var(--af-teal);
}

@media (max-width: 991px) {
  .footer-compact {
    flex-direction: column;
    text-align: center;
    gap: 24px;
    padding-bottom: 24px;
  }
  
  .footer-info {
    flex-direction: column;
    gap: 10px;
  }
  
  .footer-divider {
    display: none;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    padding-top: 24px;
  }
}

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 1100px) {

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {

  .cta-content-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .site-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--af-white);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    z-index: 999;
    box-shadow: var(--shadow-lg);
  }

  .site-nav.open {
    transform: translateX(0);
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 4px;
  }

  .nav-link {
    padding: 12px 16px;
  }

  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: var(--af-grey);
    padding: 4px 0 4px 12px;
    margin-top: 4px;
    border-radius: var(--radius-sm);
    display: none;
  }

  .has-dropdown.open .dropdown {
    display: block;
  }

  .hamburger {
    display: flex;
  }

  .hero-meta-row {
    gap: 20px;
  }

  .hero-cta-group {
    flex-direction: column;
  }

  .footer-compact {
    gap: 20px;
  }

  .footer-bottom {
    gap: 12px;
  }

  .cta-band {
    padding: 56px 0;
  }
}

@media (max-width: 480px) {
  .af-section {
    padding: 64px 0;
  }

  .hero-title {
    font-size: 2.4rem;
  }

  .hero-year {
    font-size: 1.8rem;
  }

  .partners-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .countdown-block {
    padding: 24px 20px;
  }

  .c-unit {
    min-width: 60px;
    padding: 10px 12px;
  }

  .c-num {
    font-size: 1.5rem;
  }
}

/* =============================================
   COMPACT PRODUCTION & INNOVATION SECTION
============================================= */

/* =============================================
   REGISTRATION SECTION
============================================= */

/* Registration Form */

/* =============================================
   CONTACT SLIM SECTION
============================================= */

/* HCL logo mini alignment */


/* Day-tab date badge */

/* Schedule day label banner */

/* =============================================
   5b. KEY EVENT TIMELINE
============================================= */
.timeline-track {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.timeline-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 28px;
  align-items: center;
  background: var(--af-white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.timeline-item:hover {
  background: var(--af-white);
  border-color: rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.timeline-connector {
  width: 2px;
  height: 36px;
  background: rgba(0, 0, 0, 0.08);
  margin: 0 0 0 calc(32px + 24px);
  /* centered with marker */
  flex-shrink: 0;
  position: relative;
}

.timeline-connector::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  background: rgba(0, 0, 0, 0.12);
  border-radius: 50%;
}

.timeline-marker {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  transition: var(--transition);
}

.timeline-item:hover .timeline-marker {
  transform: scale(1.08);
}

.timeline-marker--day {
  background: var(--af-grey);
  color: var(--af-black);
  border: 2px solid rgba(0, 0, 0, 0.05);
}

.timeline-marker--close {
  background: linear-gradient(135deg, var(--af-red), #bb1f16);
  color: #fff;
}

.timeline-title {
  font-family: var(--heading-font);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--af-black);
  margin-bottom: 8px;
  line-height: 1.3;
}

.timeline-date {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--heading-font);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--af-teal);
  margin-bottom: 10px;
}

.timeline-date i {
  color: var(--af-teal);
  opacity: 0.6;
  font-size: 0.8rem;
}

.timeline-desc {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.7;
  margin: 0;
}

.timeline-status {
  flex-shrink: 0;
  padding: 7px 18px;
  border-radius: 50px;
  font-family: var(--heading-font);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

@keyframes pulse-badge {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.0);
  }

  50% {
    box-shadow: 0 0 0 7px rgba(251, 191, 36, 0.12);
  }
}

/* =============================================
   RESPONSIVE ADDITIONS
============================================= */
@media (max-width: 900px) {
  .timeline-item {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }

  .timeline-marker {
    margin: 0 auto;
  }

  .timeline-connector {
    margin: 0 auto;
  }
}

@media (max-width: 600px) {
  .timeline-item {
    padding: 24px;
  }
}

/* =============================================
   SCHEDULE ADDITIONS
============================================= */
.schedule-track {
  max-width: 1000px;
}
.schedule-block {
  grid-template-columns: 64px 1fr !important;
  align-items: flex-start !important;
}
.timeline-connector-tall {
  height: 50px;
}

/* ── Day accordion toggle button ── */
.day-toggle {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  text-align: left;
  margin-bottom: 0;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: var(--transition);
}
.day-toggle:hover {
  opacity: 0.85;
}
.day-toggle-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.day-toggle-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.day-event-count {
  font-family: var(--heading-font);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--af-mid-grey);
  background: rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.06);
  padding: 4px 10px;
  border-radius: 50px;
  white-space: nowrap;
}
.day-chevron {
  font-size: 0.85rem;
  color: var(--af-mid-grey);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  flex-shrink: 0;
}
.day-toggle[aria-expanded="true"] .day-chevron {
  transform: rotate(180deg);
}

/* ── Collapsible schedule wrapper ── */
.schedule-wrapper {
  overflow: hidden;
  max-height: 2000px; /* large enough for full schedule */
  transition: max-height 0.45s cubic-bezier(0.4,0,0.2,1),
              opacity 0.35s ease,
              margin-top 0.35s ease;
  margin-top: 24px;
  opacity: 1;
}
.schedule-wrapper.collapsed {
  max-height: 0;
  margin-top: 0;
  opacity: 0;
}

/* legacy selector kept for non-accordion builds */
.day-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.schedule-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.s-row {
  display: flex;
  align-items: stretch;
  background: var(--af-grey);
  border-radius: var(--radius-sm);
  overflow: hidden;
  border-left: 4px solid transparent;
  transition: var(--transition);
}
.s-row:hover {
  transform: translateX(4px);
  background: var(--af-white);
  box-shadow: var(--shadow-md);
}
.s-time {
  flex-shrink: 0;
  width: 160px;
  padding: 14px 16px;
  font-family: var(--heading-font);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--af-mid-grey);
  background: rgba(0,0,0,0.02);
  display: flex;
  align-items: center;
  border-right: 1px solid rgba(0,0,0,0.04);
}
.s-event {
  padding: 14px 16px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--af-black);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
}

.s-row.highlight { border-left-color: var(--af-teal-dark); }
.s-row.highlight .s-time { color: var(--af-teal-dark); }
.s-row.panel { border-left-color: var(--af-red); }
.s-row.masterclass { border-left-color: var(--af-teal); }
.s-row.break { border-left-color: var(--af-mid-grey); }
.s-row.networking { border-left-color: var(--af-teal-dark); }
.s-row.pitch { border-left-color: var(--af-real-red); }
.s-row.party { border-left-color: var(--af-black); }

.event-badge {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 8px;
  border-radius: 4px;
  margin-right: 12px;
  font-weight: 800;
  flex-shrink: 0;
  font-family: var(--heading-font);
}
.badge-panel { background: rgba(19, 19, 43, 0.08); color: var(--af-red); border: 1px solid rgba(19, 19, 43, 0.1); }
.badge-master { background: rgba(114, 246, 180, 0.15); color: #00878a; border: 1px solid rgba(114, 246, 180, 0.3); }
.badge-break { background: rgba(136, 136, 136, 0.1); color: var(--af-mid-grey); border: 1px solid rgba(136, 136, 136, 0.2); }
.badge-net { background: rgba(114, 246, 180, 0.1); color: #01AFB2; border: 1px solid rgba(114, 246, 180, 0.2); }
.badge-pitch { background: rgba(255, 0, 0, 0.08); color: var(--af-real-red); border: 1px solid rgba(255, 0, 0, 0.15); }
.badge-party { background: rgba(17, 17, 17, 0.08); color: var(--af-black); border: 1px solid rgba(17, 17, 17, 0.15); }
.badge-main { background: rgba(114, 246, 180, 0.25); color: #00878a; border: 1px solid rgba(114, 246, 180, 0.4); }

@media (max-width: 600px) {
  .s-row { flex-direction: column; }
  .s-time { width: 100%; border-right: none; border-bottom: 1px solid rgba(0,0,0,0.04); padding: 10px 16px; }
  .s-event { padding: 12px 16px; }
  .schedule-block { grid-template-columns: 1fr !important; }
}