/* =====================================================
   InnoElectrica 26 — style.css
   ===================================================== */

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

:root {
  --navy:    #040A43;
  --blue1:   #303AE4;
  --blue2:   #3F80EF;
  --gold:    #FFC209;
  --light:   #F1F2F5;
  --glass-bg: rgba(48, 58, 228, 0.10);
  --glass-border: rgba(63, 128, 239, 0.30);
  --font-head: 'Orbitron', sans-serif;
  --font-body: 'Exo 2', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--navy);
  color: var(--light);
  font-family: var(--font-body);
  overflow-x: hidden;
  line-height: 1.6;
}

::selection { background: var(--gold); color: var(--navy); }

/* ---------- SCROLLBAR ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--blue1); border-radius: 3px; }

/* =====================================================
   NAVBAR
   ===================================================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 2rem;
  height: 70px;
  display: flex;
  align-items: center;
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  background: rgba(4, 10, 67, 0.55);
  border-bottom: 1px solid var(--glass-border);
  transition: background 0.4s;
}

.navbar.scrolled {
  background: rgba(4, 10, 67, 0.88);
  box-shadow: 0 4px 30px rgba(48, 58, 228, 0.25);
}

.nav-container {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  cursor: pointer;
}
.logo-bolt { font-size: 1.5rem; animation: pulse-glow 2s ease-in-out infinite; }
.logo-text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--light);
  letter-spacing: 2px;
}
.logo-year {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-link {
  color: rgba(241, 242, 245, 0.80);
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  padding: 0.45rem 1rem;
  border-radius: 6px;
  transition: color 0.25s, background 0.25s;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 50%; right: 50%;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: left 0.25s, right 0.25s;
}
.nav-link:hover { color: #fff; background: rgba(63,128,239,0.12); }
.nav-link:hover::after { left: 1rem; right: 1rem; }

.nav-login {
  background: var(--gold);
  color: var(--navy) !important;
  font-weight: 700;
  letter-spacing: 0.8px;
  padding: 0.5rem 1.3rem;
  border-radius: 8px;
  box-shadow: 0 0 16px rgba(255,194,9,0.40);
  transition: box-shadow 0.3s, transform 0.2s;
}
.nav-login::after { display: none; }
.nav-login:hover {
  box-shadow: 0 0 28px rgba(255,194,9,0.70);
  transform: translateY(-1px);
  background: #ffce3a !important;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.nav-hamburger span {
  display: block;
  width: 26px; height: 2px;
  background: var(--light);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* =====================================================
   HERO
   ===================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#particleCanvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.55;
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(48,58,228,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(48,58,228,0.07) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 80%);
}

.electric-lines {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.elec-svg { width: 100%; height: 100%; }
.eline {
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
}
.e1 { stroke: rgba(63,128,239,0.35); stroke-dasharray: 8 18; animation: dash-anim 6s linear infinite; }
.e2 { stroke: rgba(48,58,228,0.28); stroke-dasharray: 6 20; animation: dash-anim 9s linear infinite reverse; }
.e3 { stroke: rgba(255,194,9,0.18); stroke-dasharray: 4 24; animation: dash-anim 7s linear infinite; }
.e4 { stroke: rgba(63,128,239,0.22); stroke-dasharray: 5 22; animation: dash-anim 11s linear infinite reverse; }

@keyframes dash-anim {
  to { stroke-dashoffset: -200; }
}

.hero-orbs { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  animation: orb-float 8s ease-in-out infinite;
}
.orb1 { width: 500px; height: 500px; background: radial-gradient(circle, rgba(48,58,228,0.6), transparent 70%); top: -120px; left: -120px; }
.orb2 { width: 400px; height: 400px; background: radial-gradient(circle, rgba(255,194,9,0.35), transparent 70%); bottom: -100px; right: -80px; animation-delay: -3s; }
.orb3 { width: 300px; height: 300px; background: radial-gradient(circle, rgba(63,128,239,0.5), transparent 70%); top: 40%; left: 55%; animation-delay: -5s; }

@keyframes orb-float {
  0%,100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(20px,-20px) scale(1.04); }
  66% { transform: translate(-15px, 15px) scale(0.97); }
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
  padding: 6rem 2rem 2rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,194,9,0.12);
  border: 1px solid rgba(255,194,9,0.40);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  margin-bottom: 1.6rem;
  animation: fade-up 0.8s ease both;
}
.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
  animation: blink 1.5s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }

.hero-title {
  font-family: var(--font-head);
  font-weight: 900;
  line-height: 0.9;
  margin-bottom: 0.8rem;
  animation: fade-up 0.9s 0.15s ease both;
}
.title-line1 {
  display: block;
  font-size: clamp(3.5rem, 10vw, 8rem);
  color: var(--light);
  letter-spacing: -2px;
}
.title-line2 {
  display: block;
  font-size: clamp(3.5rem, 10vw, 8rem);
  background: linear-gradient(90deg, var(--blue1), var(--blue2), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -2px;
  filter: drop-shadow(0 0 30px rgba(48,58,228,0.6));
}
.title-year {
  display: inline-block;
  font-size: clamp(2rem, 5vw, 4rem);
  color: var(--gold);
  letter-spacing: 6px;
  text-shadow: 0 0 30px rgba(255,194,9,0.7);
  margin-top: 0.2rem;
}

.hero-tagline {
  font-family: var(--font-head);
  font-size: clamp(0.85rem, 2vw, 1.1rem);
  color: var(--gold);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  animation: fade-up 1s 0.3s ease both;
}

.hero-sub {
  font-size: 1rem;
  color: rgba(241,242,245,0.70);
  max-width: 580px;
  margin: 0 auto 2rem;
  font-weight: 300;
  animation: fade-up 1s 0.45s ease both;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  animation: fade-up 1s 0.6s ease both;
}

.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--blue1), var(--blue2));
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 0.85rem 2.2rem;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 0 28px rgba(48,58,228,0.55);
  transition: transform 0.25s, box-shadow 0.25s;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 48px rgba(48,58,228,0.80);
}

.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--light);
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  padding: 0.85rem 2.2rem;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid rgba(241,242,245,0.30);
  transition: border-color 0.25s, background 0.25s, transform 0.25s;
}
.btn-ghost:hover {
  border-color: var(--gold);
  background: rgba(255,194,9,0.08);
  transform: translateY(-3px);
}

/* Countdown */
.countdown-wrapper {
  animation: fade-up 1s 0.75s ease both;
}
.countdown-label {
  font-family: var(--font-head);
  font-size: 0.65rem;
  letter-spacing: 4px;
  color: rgba(241,242,245,0.45);
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.countdown {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(4,10,67,0.60);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 0.8rem 1.5rem;
  backdrop-filter: blur(12px);
}
.count-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 64px;
}
.count-block span {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  text-shadow: 0 0 18px rgba(255,194,9,0.60);
  line-height: 1;
}
.count-block small {
  font-size: 0.6rem;
  color: rgba(241,242,245,0.45);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 3px;
}
.count-sep {
  font-family: var(--font-head);
  font-size: 1.8rem;
  color: var(--blue2);
  line-height: 1;
  margin-bottom: 14px;
  animation: blink 1s ease-in-out infinite;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  z-index: 10;
  animation: fade-in 1.5s 1.5s ease both;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--blue2), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}
.scroll-indicator span {
  font-size: 0.65rem;
  letter-spacing: 3px;
  color: rgba(241,242,245,0.40);
  text-transform: uppercase;
}
@keyframes scroll-pulse {
  0%,100%{opacity:0.4; transform:scaleY(0.7)} 50%{opacity:1; transform:scaleY(1)}
}

/* =====================================================
   SECTION SHARED
   ===================================================== */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}
.section-tag {
  font-family: var(--font-head);
  font-size: 0.68rem;
  letter-spacing: 4px;
  color: var(--gold);
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.6rem;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  background: linear-gradient(90deg, var(--light) 50%, var(--blue2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.8rem;
}
.section-sub {
  color: rgba(241,242,245,0.55);
  font-size: 0.95rem;
  font-weight: 300;
}

/* =====================================================
   COMPETITIONS
   ===================================================== */
.competitions {
  position: relative;
  padding: 7rem 2rem;
  overflow: hidden;
}
.competitions::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue1), var(--gold), var(--blue1), transparent);
}

.timeline-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.timeline-path-svg {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.comp-card-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  width: 46%;
}
.comp-card-wrap[data-side="left"]  { align-self: flex-start; margin-left: 0; }
.comp-card-wrap[data-side="right"] { align-self: flex-end;   margin-right: 0; }

.comp-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  padding: 1.8rem;
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.35s, box-shadow 0.35s, border-color 0.35s;
  cursor: default;
}
.comp-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 40px rgba(48,58,228,0.35), 0 0 80px rgba(48,58,228,0.15);
  border-color: rgba(63,128,239,0.65);
}

.card-icon {
  font-size: 2.4rem;
  line-height: 1;
  filter: drop-shadow(0 0 10px rgba(255,194,9,0.4));
}
.card-body h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--light);
  margin-bottom: 0.5rem;
}
.card-body p {
  font-size: 0.88rem;
  color: rgba(241,242,245,0.62);
  font-weight: 300;
  line-height: 1.6;
}
.btn-card {
  display: inline-block;
  margin-top: 0.5rem;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,194,9,0.35);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.btn-card:hover { color: #fff; border-color: #fff; }

/* =====================================================
   GALLERY
   ===================================================== */
.gallery {
  padding: 7rem 0;
  overflow: hidden;
}
.gallery .section-header { padding: 0 2rem; }

.carousel-outer {
  overflow: hidden;
  width: 100%;
  position: relative;
  mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
}

.carousel-track {
  display: flex;
  gap: 1.5rem;
  padding: 1rem 0;
  will-change: transform;
  /* JS controls transform */
}

.gallery-card {
  position: relative;
  flex: 0 0 320px;
  height: 220px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  cursor: pointer;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.gallery-card:hover {
  border-color: var(--gold);
  box-shadow: 0 0 30px rgba(255,194,9,0.25);
}

.gallery-img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s;
}
.gallery-card:hover .gallery-img { transform: scale(1.07); }

/* Placeholder gradient images */
.gi1 { background: linear-gradient(135deg, #0d1260 0%, #303AE4 50%, #3F80EF 100%); }
.gi2 { background: linear-gradient(135deg, #1a0640 0%, #6b21a8 50%, #3F80EF 100%); }
.gi3 { background: linear-gradient(135deg, #062040 0%, #0ea5e9 50%, #22d3ee 100%); }
.gi4 { background: linear-gradient(135deg, #040A43 0%, #FFC209 60%, #f97316 100%); }
.gi5 { background: linear-gradient(135deg, #040A43 0%, #22c55e 50%, #3F80EF 100%); }
.gi6 { background: linear-gradient(135deg, #1a1a3e 0%, #ec4899 40%, #303AE4 100%); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4,10,67,0.85) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: 1.2rem;
  opacity: 0;
  transition: opacity 0.35s;
}
.gallery-card:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
}

/* =====================================================
   ABOUT
   ===================================================== */
.about {
  position: relative;
  padding: 7rem 2rem;
  overflow: hidden;
}
.about-bg-glow {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(48,58,228,0.25), transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  pointer-events: none;
  filter: blur(60px);
}

.about-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2rem;
  backdrop-filter: blur(14px);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 40px rgba(48,58,228,0.25);
  border-color: rgba(63,128,239,0.6);
}
.span2 { grid-column: span 2; }

.about-card-icon { font-size: 2rem; margin-bottom: 1rem; }
.about-card h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid rgba(255,194,9,0.20);
}

.contact-list { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.contact-list li { display: flex; gap: 0.9rem; align-items: flex-start; }
.ci-icon { font-size: 1.2rem; margin-top: 2px; }
.contact-list small { font-size: 0.65rem; letter-spacing: 2px; color: rgba(241,242,245,0.40); text-transform: uppercase; display: block; margin-bottom: 2px; }
.contact-list a { color: var(--light); text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
.contact-list a:hover { color: var(--gold); }

.organizer-name { font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; color: var(--light); line-height: 1.4; margin-bottom: 0.6rem; }
.organizer-faculty { font-size: 0.82rem; color: rgba(241,242,245,0.50); margin-bottom: 1rem; }
.organizer-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--blue1), var(--blue2));
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 0.35rem 1rem;
  border-radius: 50px;
}

.location-name { font-family: var(--font-head); font-size: 1rem; font-weight: 700; color: var(--light); margin-bottom: 0.4rem; }
.location-detail { font-size: 0.83rem; color: rgba(241,242,245,0.50); margin-bottom: 1.2rem; }
.location-date {
  background: rgba(255,194,9,0.10);
  border: 1px solid rgba(255,194,9,0.30);
  border-radius: 10px;
  padding: 0.6rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ld-label { font-size: 0.62rem; letter-spacing: 2px; color: var(--gold); text-transform: uppercase; }
.ld-value { font-family: var(--font-head); font-size: 0.88rem; font-weight: 700; color: #fff; }

.logo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}
.logo-item {
  background: rgba(63,128,239,0.08);
  border: 1px solid rgba(63,128,239,0.20);
  border-radius: 10px;
  padding: 0.7rem 0.5rem;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(241,242,245,0.70);
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}
.logo-item:hover { border-color: var(--blue2); color: var(--light); background: rgba(63,128,239,0.15); }
.gold-sponsor {
  border-color: rgba(255,194,9,0.40);
  color: var(--gold);
  background: rgba(255,194,9,0.07);
}
.gold-sponsor:hover { border-color: var(--gold); background: rgba(255,194,9,0.15); }

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
  background: rgba(4,10,67,0.80);
  border-top: 1px solid var(--glass-border);
  padding: 2.5rem 2rem;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--light);
}
.footer-logo .logo-bolt { font-size: 1.2rem; }
.footer-copy { font-size: 0.78rem; color: rgba(241,242,245,0.40); }
.footer-links { display: flex; gap: 1.2rem; }
.footer-links a { font-size: 0.8rem; color: rgba(241,242,245,0.50); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--gold); }

/* =====================================================
   ANIMATIONS
   ===================================================== */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes pulse-glow {
  0%,100% { text-shadow: 0 0 8px rgba(255,194,9,0.3); }
  50%     { text-shadow: 0 0 22px rgba(255,194,9,0.9); }
}

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr 1fr; }
  .span2 { grid-column: span 2; }
  .comp-card-wrap { width: 80%; }
  .comp-card-wrap[data-side="left"]  { align-self: center; }
  .comp-card-wrap[data-side="right"] { align-self: center; }
  .timeline-path-svg { display: none; }
}

@media (max-width: 640px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: rgba(4,10,67,0.97); padding: 1.5rem 2rem; gap: 0.5rem; border-bottom: 1px solid var(--glass-border); }
  .nav-links.open { display: flex; }
  .nav-hamburger { display: flex; }

  .about-grid { grid-template-columns: 1fr; }
  .span2 { grid-column: span 1; }
  .logo-grid { grid-template-columns: repeat(2,1fr); }

  .count-block { min-width: 48px; }
  .count-block span { font-size: 1.4rem; }

  .hero-content { padding: 5rem 1.5rem 2rem; }
  .hero-cta { flex-direction: column; align-items: center; }
  .comp-card-wrap { width: 100%; }
}