/* =========================
   THEME + UTILITY / VARIABLES
   ========================= */
:root {
  --navy: #05293a; /* navy blue containers */
  --gold: #fac13c; /* gold highlights */
  --black: #0b0b0b; /* main black text */
  --muted: #6b7280; /* muted gray */
  --white: white;
  --surface: #f4f6f8;
  --card-shadow: 0 10px 30px rgba(4, 16, 24, 0.12);
  --glass: rgba(255, 255, 255, 0.06);
  --radius: 14px;
  --maxw: 1180px;
  --fluid-base: clamp(14px, 1.5vw, 16px);
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial;
}

/* reset + defaults */
* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  background: linear-gradient(180deg, #fff, #f7f9fb);
  color: var(--black);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.55;
  font-size: var(--fluid-base);
}

/* images */
img {
  max-width: 100%;
  display: block;
  border-radius: 8px;
}
a {
  color: var(--navy);
  text-decoration: none;
}
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 28px;
}

/* small helpers */
.row {
  display: flex;
  gap: 18px;
  align-items: center;
}
.center {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* =========================
   BUTTONS
   ========================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  padding: 10px 16px;
  border-radius: 12px;
  font-weight: 800;
  cursor: pointer;
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 8px 28px rgba(5, 41, 58, 0.12);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}
.btn:hover {
  transform: translateY(-4px);
}
.btn.ghost {
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.06);
  color: var(--navy);
}
.btn.alt {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 10px 30px rgba(250, 193, 60, 0.12);
}
.btn.small {
  padding: 8px 10px;
  font-size: 0.9rem;
}

/* =========================
   HEADER / NAV (with mobile menu)
   ========================= */
header {
  background: linear-gradient(180deg, #00254f);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  position: sticky;
  top: 0;
  z-index: 1200;
  backdrop-filter: blur(6px);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 12px 20px;
}
.logo img {
  height: 64px;
  width: auto;
  display: block;
  transition: transform 0.18s ease;
}
.logo img:hover {
  transform: scale(1.03);
}
nav {
  margin-left: auto;
  display: flex;
  gap: 14px;
  align-items: center;
}
nav a {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  padding: 8px 12px;
  border-radius: 8px;
}
nav a:hover {
  background: rgba(255, 255, 255, 0.04);
}

/* mobile toggle */
.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--white);
  font-size: 22px;
  padding: 8px;
  border-radius: 8px;
  margin-left: 8px;
}
.mobile-nav {
  display: none;
  position: fixed;

  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;

  width: 100%;
  height: calc(100vh - 64px);

  background: rgba(5, 32, 47, 0.98);

  flex-direction: column;
  align-items: center;
  justify-content: flex-start;

  padding: 20px;

  z-index: 9999;

  overflow-y: auto;
}
.mobile-nav a {
  display: block;
  padding: 12px 8px;
  border-radius: 8px;
  color: var(--white);
  font-weight: 700;
}
.mobile-nav .apply {
  margin-top: 12px;
}

/* =========================
   HERO
   ========================= */
.hero {
  background-color: var(--navy);
  color: var(--white);

  padding: clamp(40px, 8vw, 72px) 15px clamp(30px, 6vw, 48px);

  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom-left-radius: 28px;
  border-bottom-right-radius: 28px;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg);
  pointer-events: none;
}
.hero .container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  max-width: 1200px;
}
.hero .date {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 700;
}
.hero h1 {
  font-size: clamp(24px, 4vw, 42px);
  margin: 0;
  font-weight: 900;
  letter-spacing: -0.6px;
  color: var(--white);
  line-height: 1.15;
  text-align: center;
}
.hero p.lead {
  font-size: clamp(14px, 2.2vw, 18px);
  margin: 0;
  max-width: 820px;
  color: rgba(255, 255, 255, 0.94);
}
.hero .cta-bar {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 10px;
  flex-wrap: wrap;
}

/* decorative wave at bottom */
.hero .wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 1;
  height: 76px;
  opacity: 0.9;
  filter: drop-shadow(0 -10px 30px rgba(0, 0, 0, 0.08));
}

/* COUNTDOWN (floating card) */
.countdown-wrap {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.count-card {
  background: linear-gradient(180deg, var(--navy), #064058);
  color: var(--white);
  padding: 25px 50px;
  border-radius: 10px;
  min-width: 86px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(5, 41, 58, 0.12);
}
.count-card .num {
  font-size: 35px;
  font-weight: 900;
}
.count-card .lbl {
  font-size: 24px;
  color: #fac13c;
  margin-top: 4px;
}

/* =========================
   SECTIONS / CARDS
   ========================= */
section {
  padding: 54px 0;
}
h2.section-title {
  text-align: center;
  margin: 0 0 18px;
  font-size: 20px;
  color: var(--navy);
  letter-spacing: 0.4px;
}

/* ABOUT: 70% / 30% layout for the main #about section */
#about .about-wrap {
  display: grid;
  grid-template-columns: 70% 30%;
  gap: 22px;
  align-items: start;
}

/* base (desktop / default) */
.about-card {
  background: var(--white);
  padding: 50px;
  border-radius: 12px;
  box-shadow: var(--card-shadow);
  font-size: 0.98rem;
  color: var(--black);
}

.about-side {
  background: var(--navy);
  padding: 20px;
  border-radius: 12px;
  color: var(--white);
  font-size: 0.95rem;
  box-shadow: 0 12px 30px rgba(2, 10, 20, 0.06);
}

.about-card img {
  display: block;
  margin: clamp(10px, 4vw, 24px) auto;
  width: 100%;
  border-radius: 12px;
}

/* tablets */
@media (max-width: 992px) {
  .about-card {
    padding: 18px;
  }
  .about-side {
    padding: 16px;
  }
}

/* mobile */
@media (max-width: 600px) {
  .about-card {
    padding: 14px;
  }
  .about-side {
    padding: 12px;
  }
}

/* feature & grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feature {
  background: linear-gradient(180deg, #fff, #fbfdff);
  padding: 18px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(2, 10, 20, 0.06);
  position: relative;
  overflow: hidden;
}
.feature h4 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: var(--navy);
  font-weight: 800;
}
.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* patrons */
.people-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: start;
}
.person {
  background: var(--white);
  border-radius: 12px;
  padding: 12px;
  text-align: center;
  box-shadow: var(--card-shadow);
  font-size: 0.95rem;
  color: var(--black);
}
.person img {
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
}

/* contact grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 22px;
  align-items: start;
}
.contact-card {
  background: var(--white);
  padding: 18px;
  border-radius: 12px;
  box-shadow: var(--card-shadow);
  font-size: 0.95rem;
  color: var(--black);
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #e6e9ef;
  font-size: 14px;
  margin-bottom: 9px;
}

/* footer */
footer {
  padding: 18px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  background: transparent;
}

/* =========================
   ROADMAP / SVG TIMELINE STYLES
   (works with the SVG block provided earlier)
   ========================= */
.roadmap-wrap {
  margin-top: 22px;
  display: block;
}
.roadmap-svg {
  width: 100%;
  height: auto;
  display: block;
}

/* base card */
.roadmap-svg .card {
  fill: var(--white);
  stroke: rgba(2, 10, 20, 0.04);
  stroke-width: 1;
  filter: url(#soft);
  box-shadow: none;
}

/* icon circle */
.roadmap-svg .icon-bg {
  fill: var(--navy);
  stroke: rgba(255, 255, 255, 0.06);
  stroke-width: 4;
}
.roadmap-svg .icon {
  font-size: 20px;
  fill: var(--gold);
  dominant-baseline: middle;
  text-anchor: middle;
  pointer-events: none;
}

/* title & date */
.roadmap-svg .title {
  font-family:
    Inter,
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    Arial;
  font-size: 14px;
  font-weight: 800;
  fill: var(--navy);
}
.roadmap-svg .date {
  font-family:
    Inter,
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    Arial;
  font-size: 12px;
  fill: var(--muted);
}

/* small responsive scaling for icons/text */
@media (max-width: 920px) {
  .roadmap-svg .title {
    font-size: 13px;
  }
  .roadmap-svg .date {
    font-size: 11px;
  }
  .roadmap-svg .icon {
    font-size: 18px;
  }
}

/* Visual active state */
.roadmap-svg .step.active .card {
  stroke-width: 1.5;
  transform-origin: center;
  transform: translateY(-6px) scale(1.02);
}
.roadmap-svg .step.active .card,
.roadmap-svg .step.active .icon-bg {
  stroke-width: 0;
  filter: drop-shadow(0 10px 30px rgba(5, 41, 58, 0.08));
}

/* tweak for very small screens: stack inline SVG vertically using viewBox scale */
@media (max-width: 480px) {
  .roadmap-svg {
    height: 800px;
  }
}

/* =========================
   CURVED ROADMAP CSS (append to styles.css)
   Removes horizontal scroll and styles SVG roadmap
   ========================= */

.roadmap-wrap {
  margin-top: 22px;
  display: block;
  overflow: visible;
}
.roadmap-svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}

/* base card */
.roadmap-svg .card {
  fill: var(--white);
  stroke: rgba(2, 10, 20, 0.04);
  stroke-width: 1;
  filter: url(#soft);
  /* for older browsers that don't apply svg filters the visual is still fine */
}

/* icon circle */
.roadmap-svg .icon-bg {
  fill: var(--navy);
  stroke: rgba(255, 255, 255, 0.06);
  stroke-width: 4;
}
.roadmap-svg .icon {
  font-size: 20px;
  fill: var(--gold);
  dominant-baseline: middle;
  text-anchor: middle;
  pointer-events: none;
}

/* title & date */
.roadmap-svg .title {
  font-family:
    Inter,
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    Arial;
  font-size: 14px;
  font-weight: 800;
  fill: var(--navy);
}
.roadmap-svg .date {
  font-family:
    Inter,
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    Arial;
  font-size: 12px;
  fill: var(--muted);
}

/* active step style (slightly raised) */
.roadmap-svg .step.active .card {
  transform-origin: center;
  transform: translateY(-6px) scale(1.02);
  filter: drop-shadow(0 10px 30px rgba(5, 41, 58, 0.08));
}
.roadmap-svg .step.active .icon-bg {
  filter: drop-shadow(0 8px 20px rgba(5, 41, 58, 0.08));
}

/* ensure SVG doesn't overflow viewport horizontally on small screens */
.roadmap-svg {
  max-width: 100%;
  display: block;
}

/* hide legacy stepper (if any remains) so no horizontal scroll */
.stepper-wrap,
.stepper {
  display: none !important;
}

.timeline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.timeline-item {
  text-align: center;
  max-width: 220px;
}

.icon {
  width: 64px;
  height: 64px;
  background: #05293a;
  color: #fac13c;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin: 0 auto 12px;
}

.connector {
  width: 70px;
  height: 4px;
  background: #fac13c;
  border-radius: 4px;
}

@media (max-width: 768px) {
  .connector {
    display: none;
  }

  .timeline {
    gap: 40px;
  }
}

/* RESPONSIVE: scale and stack for narrow screens */
@media (max-width: 920px) {
  .roadmap-svg .title {
    font-size: 13px;
  }
  .roadmap-svg .date {
    font-size: 11px;
  }
  .roadmap-svg .icon {
    font-size: 18px;
  }
  /* make the svg taller to allow vertical wrapping on very narrow screens */
  .roadmap-svg {
    height: 820px;
  }
}

@media (max-width: 560px) {
  /* stack items by allowing the SVG to scale; this is a simple fallback */
  .roadmap-svg {
    height: 1000px;
  }
  .roadmap-svg .card {
    width: 100%;
  }
}
/* =========================
   ABOUT US SECTION (separate lower About Us area)
   ========================= */

/* Section spacing */
#about-us {
  padding: 60px 0;
}

/* Section title override (gold highlight) */
#about-us .section-title {
  font-size: 22px;
  color: var(--navy);
  font-weight: 900;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative;
}

/* Decorative underline (gold) */
#about-us .section-title::after {
  content: "";
  width: 60px;
  height: 4px;
  background: var(--gold);
  display: block;
  border-radius: 4px;
  margin: 8px auto 0;
}

/* About content grid (keeps previous structure for #about-us) */
#about-us .about-wrap {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 22px;
  align-items: start;
}

/* About card style */
#about-us .about-card {
  background: var(--white);
  padding: 22px;
  border-radius: 12px;
  box-shadow: var(--card-shadow);
  font-size: 0.98rem;
  color: var(--black);
}

/* Objectives list */
#about-us ul {
  list-style: none;
  padding-left: 0;
}

#about-us ul li {
  font-size: 15px;
  color: var(--black);
  margin: 12px 0;
  position: relative;
  padding-left: 28px;
  line-height: 1.6;
}

/* Blue tick icon */
#about-us ul li::before {
  content: "✔";
  color: var(--navy);
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0;
}

/* Paragraph styling */
#about-us p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--black);
}

/* Image styling */
#about-us img {
  width: 100%;
  max-width: 380px;
  margin: auto;
  border-radius: 10px;
  display: block;
}

/* =========================
   RESPONSIVE (Mobile)
   ========================= */
@media (max-width: 1100px) {
  .about-wrap {
    grid-template-columns: 1fr 320px;
  }
  .contact-grid {
    grid-template-columns: 1fr 320px;
  }
  .people-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  nav {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }

  /* Target both About Panimalar and About Department */
  #about-us .about-wrap,
  #about-us + div .about-wrap {
    display: flex;
    flex-direction: column;
    gap: 0 !important; /* Forces the merge */
  }

  /* FORCE IMAGE TO TOP: Targets the card containing the <img> */
  .about-wrap .about-card:has(img) {
    order: 1; /* Moves image card to top */
    border-radius: 12px 12px 0 0 !important;
    padding-bottom: 0 !important;
    box-shadow: none !important;
  }

  /* FORCE TEXT TO BOTTOM: Targets the card containing the <p> */
  .about-wrap .about-card:has(p) {
    order: 2; /* Moves text card to bottom */
    border-radius: 0 0 12px 12px !important;
    margin-top: -1px !important;
    padding-top: 15px !important;
    text-align: justify;
  }

  /* Ensure stacked cards take full width and do not shrink next to images */
  .about-wrap .about-card {
    width: 100% !important;
    flex: 0 0 auto !important;
    flex-shrink: 0 !important;
  }

  /* Standardizing the image fit */
  .about-wrap img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto;
    border-radius: 12px 12px 0 0 !important;
  }

  /* Keep your existing mobile styles below */
  #about .about-wrap {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .two-col {
    grid-template-columns: 1fr;
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .people-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .stepper {
    flex-direction: column;
    gap: 14px;
    overflow: visible;
    scroll-snap-type: none;
  }
  .step {
    width: 100%;
  }
  .stepper-progress {
    display: none;
  }
  .hero {
    padding: 48px 0 40px;
  }
  .hero h1 {
    font-size: clamp(22px, 6.5vw, 34px);
  }
}

@media (max-width: 560px) {
  .hero h1 {
    font-size: clamp(20px, 8.5vw, 28px);
  }
  .logo img {
    height: 40px;
  }
  .person img {
    height: 120px;
  }
  .count-card {
    min-width: 72px;
    padding: 10px 12px;
  }
  .count-card .num {
    font-size: 18px;
  }
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .people-grid {
    grid-template-columns: 1fr;
  }
  .container {
    padding: 18px;
  }
}

/* =========================
   ANIMATIONS & TRANSITIONS
   ========================= */
.fade-up {
  opacity: 0;
  transform: translateY(12px);
  transition: all 600ms cubic-bezier(0.2, 0.9, 0.25, 1);
}
.in-view {
  opacity: 1;
  transform: none;
}
.card,
.feature,
.person,
.fee,
.cta-card {
  transition:
    transform 200ms ease,
    box-shadow 200ms ease;
}
.card:hover,
.feature:hover,
.person:hover,
.fee:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 60px rgba(2, 10, 20, 0.12);
}

.tl-container .tl-item:nth-of-type(1) {
  animation-delay: 0.12s;
}
.tl-container .tl-item:nth-of-type(2) {
  animation-delay: 0.34s;
}
.tl-container .tl-item:nth-of-type(3) {
  animation-delay: 0.56s;
}
.tl-container .tl-item:nth-of-type(4) {
  animation-delay: 0.78s;
}
.tl-container .tl-item:nth-of-type(5) {
  animation-delay: 1s;
}
.tl-container .tl-item:nth-of-type(6) {
  animation-delay: 1.22s;
}

.tl-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(180deg, var(--navy), #03313f);
  color: var(--gold);
  font-size: 28px;
  border-radius: 50%;
  margin: 0 auto 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pop 0.8s ease forwards;
  box-shadow:
    0 8px 30px rgba(5, 41, 58, 0.08),
    0 0 18px rgba(250, 193, 60, 0.04) inset;
}

.tl-item h3 {
  margin: 0;
  font-weight: 800;
  font-size: 16px;
  color: var(--navy);
  text-align: center;
}

.tl-item p {
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

/* line between cards (horizontal by default) */
.tl-line {
  width: 46px;
  height: 6px;
  background: linear-gradient(90deg, var(--gold), #f1c66f 70%);
  border-radius: 6px;
  animation: lineGrow 0.9s cubic-bezier(0.2, 0.9, 0.3, 1) forwards;
  opacity: 0;
  align-self: center;
}

/* visible line pulse for attention */
.tl-line::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 6px;
  filter: blur(6px);
  opacity: 0.16;
}

/* KEYFRAMES */
@keyframes floatUp {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.995);
  }
  60% {
    transform: translateY(-6px) scale(1.01);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes glowPulse {
  0% {
    box-shadow: 0 10px 30px rgba(250, 193, 60, 0.12);
  }
  50% {
    box-shadow: 0 18px 50px rgba(250, 193, 60, 0.26);
    transform: translateY(-1px);
  }
  100% {
    box-shadow: 0 10px 30px rgba(250, 193, 60, 0.12);
  }
}

@keyframes pop {
  0% {
    transform: scale(0.6);
    opacity: 0;
  }
  60% {
    transform: scale(1.08);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes lineGrow {
  0% {
    width: 0;
    opacity: 0;
    transform: translateX(-6px);
  }
  60% {
    width: 46px;
    opacity: 1;
    transform: translateX(4px);
  }
  100% {
    width: 46px;
    opacity: 1;
    transform: translateX(0);
  }
}

/* MOBILE: stack the timeline vertically and turn lines into vertical bars */
@media (max-width: 768px) {
  .tl-container {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }
  .tl-line {
    width: 6px;
    height: 44px;
    border-radius: 6px;
  }
  .tl-container .tl-item:nth-of-type(1) {
    animation-delay: 0.08s;
  }
  .tl-container .tl-item:nth-of-type(2) {
    animation-delay: 0.22s;
  }
  .tl-container .tl-item:nth-of-type(3) {
    animation-delay: 0.36s;
  }
  .tl-container .tl-item:nth-of-type(4) {
    animation-delay: 0.5s;
  }
  .tl-container .tl-item:nth-of-type(5) {
    animation-delay: 0.64s;
  }
  .tl-container .tl-item:nth-of-type(6) {
    animation-delay: 0.78s;
  }
}

.footer-iconTop {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 999;
}

.footer-iconTop a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: var(--navy);
  color: rgb(255, 255, 255);
  border-radius: 50%;
  font-size: 22px;
  font-weight: 900;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.footer-iconTop a:hover {
  transform: translateY(-3px);
  background: gold;
  color: rgb(255, 255, 255);
  font-weight: 900;
}

@media (max-width: 768px) {
  .footer-iconTop {
    bottom: 14px;
    right: 14px;
  }

  .footer-iconTop a {
    width: 36px;
    height: 36px;
  }

  .footer-iconTop a i {
    font-size: 18px;
    color: rgb(255, 255, 255); /* 🔴 arrow stays red */
  }
}

/* small decorative accessibility focus */
.tl-item:focus-within,
.tl-item:focus {
  outline: 3px solid rgba(5, 41, 58, 0.08);
  box-shadow: 0 18px 60px rgba(2, 10, 20, 0.06);
}

/* End of appended timeline styles */

/* =========================
   SIMPLE HORIZONTAL TIMELINE (ADDED)
   This is the "simple" timeline version you requested: a clean horizontal
   layout with navy/gold icons and animated connecting lines.
   ========================= */

.tl-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.tl-item {
  text-align: center;
  animation: floatUp 0.8s ease forwards;
  opacity: 0;
}

.tl-icon {
  width: 60px;
  height: 60px;
  background: var(--navy);
  color: var(--gold);
  font-size: 28px;
  border-radius: 50%;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(5, 41, 58, 0.12);
}

.tl-item h3 {
  margin: 0;
  font-weight: 800;
  font-size: 16px;
  color: var(--navy);
}

.tl-item p {
  margin-top: 6px;
  font-size: 14px;
  color: var(--muted);
}

.tl-line {
  width: 70px;
  height: 4px;
  background: var(--gold);
  border-radius: 4px;
  opacity: 0;
  animation: lineGrow 0.8s ease forwards;
}

@keyframes floatUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes lineGrow {
  0% {
    width: 0;
    opacity: 0;
  }
  100% {
    width: 70px;
    opacity: 1;
  }
}

/* =================================================
   📱 PHONE / TABLET VIEW
   ================================================= */
@media (max-width: 900px) {
  /* HEADER */

  .menu-toggle {
    display: block;
  }

  .mobile-nav {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    background: linear-gradient(
      180deg,
      rgba(5, 32, 47, 0.98),
      rgba(5, 32, 47, 0.88)
    );
    padding: 18px;
    text-align: center;
  }

  .mobile-nav a {
    display: block;
    padding: 16px 20px;
    color: white;
    text-decoration: none;
    font-weight: 700;
    width: 100%;
  }

  /* HERO */
  .hero {
    padding: 50px 16px;
  }

  .hero h1 {
    font-size: 28px;
  }

  /* ABOUT */
  .about-wrap {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-side {
    margin-top: 16px;
  }

  /* FOOTER ICON */
  .footer-iconTop {
    bottom: 14px;
    right: 14px;
  }

  .footer-iconTop a {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
}
.anniversary-logo img {
  height: 50px;
  width: auto;
}

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  .mobile-nav {
    display: none; /* ✅ FIXED */
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    background: linear-gradient(
      180deg,
      rgba(5, 32, 47, 0.98),
      rgba(5, 32, 47, 0.88)
    );
    padding: 18px;
    text-align: center;
  }
}
/* MOBILE FIX FINAL */
@media (max-width: 768px) {
  .hero .container {
    padding: 16px;
  }

  .hero h1 {
    font-size: clamp(20px, 6vw, 28px);
  }

  nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .mobile-nav {
    width: 100%;
    inset: 64px 0 0 0;
    border-radius: 0;
  }
}
.mobile-nav.active {
  display: flex;
}
