@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;0,800;1,700&family=DM+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --navy:    #1a1c4e;
  --navy2:   #13153b;
  --navy3:   #0d0f2a;
  --gold:    #fccc90;
  --gold2:   #f5b85a;
  --gold3:   #e8a030;
  --white:   #ffffff;
  --off:     #f4f6ff;
  --cream:   #fef8ef;
  --light:   #e8eaf8;
  --border:  #d0d4ee;
  --text:    #0d0f2a;
  --text2:   #1a1c4e;
  --muted:   #5a5f8a;
  --card:    #ffffff;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--off);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

/* ── TOPBAR ── */
.topbar {
  background: var(--navy3);
  color: rgba(255,255,255,0.65);
  font-size: 12px;
  padding: 7px 40px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px;
}
.topbar a { color: var(--gold); text-decoration: none; }

/* ── NAVBAR ── */
nav {
  position: sticky; top: 0; z-index: 300;
  background: var(--white);
  border-bottom: 3px solid var(--navy);
  box-shadow: 0 2px 20px rgba(26,28,78,0.1);
  /* needed so absolute mobile dropdown positions under the nav bar */
  isolation: isolate;
}
.nav-inner {
  max-width: 1320px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 32px; height: 74px;
}

/* Brand: [IIIT logo] | [divider] | [ISec logo + name block] */
.nav-brand {
  display: flex; align-items: center;
  gap: 0; text-decoration: none; flex-shrink: 0;
}
.nav-iiit-side {
  display: flex; align-items: center; gap: 12px;
  padding-right: 22px;
}
.nav-iiit-logo {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--light); border: 2px solid var(--border);
  display: grid; place-items: center; overflow: hidden; flex-shrink: 0;
}
.nav-iiit-logo img { width: 100%; height: 100%; object-fit: contain; }
.nav-iiit-logo .iiit-emblem { width: 38px; height: 38px; }
.nav-iiit-text { display: flex; flex-direction: column; line-height: 1.2; }
.nav-iiit-text .iiit-short { font-size: 11px; font-weight: 800; color: var(--navy); letter-spacing: 2px; text-transform: uppercase; }
.nav-iiit-text .iiit-full { font-size: 9.5px; color: var(--muted); font-weight: 500; white-space: nowrap; }

/* Vertical divider */
.nav-divider {
  width: 1px; height: 36px; background: var(--border);
  margin: 0 22px; flex-shrink: 0;
}

/* ISec side */
.nav-isec-side { display: flex; align-items: center; gap: 12px; }
.nav-isec-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--navy); display: grid; place-items: center; flex-shrink: 0;
}
.nav-isec-icon svg { width: 22px; height: 22px; }
.nav-isec-text { display: flex; flex-direction: column; line-height: 1.15; }
.nav-isec-text .isec-name {
  font-family: 'Playfair Display', serif; font-weight: 800;
  font-size: 20px; color: var(--navy); letter-spacing: -0.5px; line-height: 1;
}
.nav-isec-text .isec-name em { color: var(--gold3); font-style: normal; }
.nav-isec-text .isec-conf { font-size: 9.5px; color: var(--muted); font-weight: 500; white-space: nowrap; letter-spacing: 0.2px; }

/* Nav links */
.nav-links { display: flex; align-items: center; gap: 0; }
.nav-links a {
  color: var(--text2); text-decoration: none;
  padding: 7px 11px; font-size: 13px; font-weight: 500;
  border-radius: 4px; transition: all .2s; white-space: nowrap;
}
.nav-links a:hover { color: var(--navy); background: var(--light); }
.nav-cta {
  background: var(--navy) !important; color: var(--gold) !important;
  padding: 10px 22px !important; border-radius: 7px !important;
  font-weight: 700 !important; margin-left: 14px !important;
  box-shadow: 0 2px 12px rgba(26,28,78,0.22);
}
.nav-cta:hover { background: var(--navy2) !important; }
.burger { display: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 4px; }
.burger span { width: 22px; height: 2px; background: var(--navy); border-radius: 2px; display: block; transition: all .25s; }
/* mobile nav open state */
.nav-links.open {
  display: flex; flex-direction: column;
  position: absolute; top: 60px; left: 0; right: 0;
  background: var(--white);
  border-bottom: 2px solid var(--navy);
  padding: 12px 20px 20px;
  gap: 2px; z-index: 400;
  box-shadow: 0 8px 32px rgba(26,28,78,0.12);
}
.nav-links.open a {
  padding: 10px 14px; font-size: 14px;
  border-radius: 8px; width: 100%;
}
.nav-links.open .nav-cta {
  margin: 8px 0 0 0 !important;
  text-align: center;
}

/* ── HERO ── */
.hero {
  background: var(--navy);
  position: relative; overflow: hidden;
  padding: 80px 24px 70px; min-height: 94vh;
  display: flex; align-items: center;
}
/* Brain SVG sits behind the text */
.hero-brain {
  position: absolute;
  left: -2%; top: 50%;
  transform: translateY(-50%);
  width: 58vw; max-width: 820px; min-width: 420px;
  z-index: 0; pointer-events: none;
  opacity: 0.13;
}
.hero-brain svg { width: 100%; height: auto; }
.hero-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 360px; gap: 60px;
  align-items: center; position: relative; z-index: 1; width: 100%;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(252,204,144,0.15); border: 1px solid rgba(252,204,144,0.4);
  padding: 5px 14px; border-radius: 100px;
  font-size: 11.5px; font-weight: 700; color: var(--gold);
  text-transform: uppercase; letter-spacing: 2px; margin-bottom: 22px;
  animation: fadeUp .7s ease both;
}
.live-dot { width: 7px; height: 7px; background: var(--gold); border-radius: 50%; animation: blink 1.8s infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.25} }
.hero-title {
  font-family: 'Playfair Display', serif; font-weight: 800;
  font-size: clamp(52px, 7.5vw, 88px); line-height: .92;
  color: var(--white); letter-spacing: -2px; margin-bottom: 8px;
  animation: fadeUp .7s .06s ease both;
}
.hero-title em { color: var(--gold); font-style: normal; }
.hero-sub {
  font-size: clamp(15px, 2vw, 19px); font-weight: 300;
  color: rgba(255,255,255,0.82); line-height: 1.45; margin-bottom: 8px;
  animation: fadeUp .7s .12s ease both;
}
.hero-tag {
  font-size: 12px; color: var(--gold2); text-transform: uppercase;
  letter-spacing: 3px; margin-bottom: 36px;
  animation: fadeUp .7s .16s ease both;
}
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; animation: fadeUp .7s .2s ease both; }
.chip {
  display: flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px; padding: 7px 14px; font-size: 13px; color: rgba(255,255,255,0.9);
}
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; animation: fadeUp .7s .24s ease both; }
.btn-gold {
  background: var(--gold); color: var(--navy);
  text-decoration: none; padding: 13px 28px; border-radius: 7px;
  font-size: 14px; font-weight: 700; transition: all .2s;
  box-shadow: 0 4px 24px rgba(252,204,144,0.35);
}
.btn-gold:hover { background: var(--gold2); transform: translateY(-2px); }
.btn-ghost {
  background: transparent; color: var(--white);
  text-decoration: none; padding: 13px 26px; border-radius: 7px;
  font-size: 14px; font-weight: 600; transition: all .2s;
  border: 1.5px solid rgba(255,255,255,0.3);
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.55); }

/* Hero card */
.hero-card {
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.14);
  border-radius: 20px; padding: 28px; backdrop-filter: blur(10px);
  animation: fadeUp .7s .3s ease both;
}
.hc-title { font-size: 11px; text-transform: uppercase; letter-spacing: 2.5px; color: var(--gold); margin-bottom: 18px; font-weight: 700; }
.hc-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.09); font-size: 13.5px; }
.hc-row:last-of-type { border-bottom: none; }
.hc-l { color: rgba(255,255,255,0.55); }
.hc-r { color: var(--white); font-weight: 700; }
.hc-divider { height: 1px; background: rgba(255,255,255,0.1); margin: 16px 0; }
.hc-pub { display: flex; align-items: center; gap: 10px; background: rgba(252,204,144,0.1); border-radius: 8px; padding: 10px 14px; }
.hc-pub p { font-size: 12px; color: var(--gold); font-weight: 700; line-height: 1.4; }
.hc-pub span { color: rgba(255,255,255,0.5); font-weight: 400; font-size: 11px; }

@keyframes fadeUp { from{opacity:0;transform:translateY(22px)} to{opacity:1;transform:translateY(0)} }

/* ── COUNTDOWN ── */
.countdown-strip {
  background: var(--navy2); padding: 20px 24px;
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px;
}
.cd-label { font-size: 11px; text-transform: uppercase; letter-spacing: 2px; color: var(--gold); font-weight: 700; margin-right: 10px; }
.cd-units { display: flex; gap: 10px; }
.cd-unit { display: flex; flex-direction: column; align-items: center; min-width: 64px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.09); border-radius: 10px; padding: 10px 12px; }
.cd-num { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 28px; color: var(--white); line-height: 1; }
.cd-ulab { font-size: 9px; text-transform: uppercase; letter-spacing: 1.5px; color: rgba(255,255,255,0.4); margin-top: 3px; }

/* ── SECTIONS ── */
section { padding: 90px 24px; position: relative; overflow: hidden; }
.sec-inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }
.sec-eye {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; text-transform: uppercase; letter-spacing: 3px;
  font-weight: 700; color: var(--navy); margin-bottom: 10px;
}
.sec-eye::before { content: ''; width: 20px; height: 2.5px; background: var(--gold3); border-radius: 2px; }
.sec-title { font-family: 'Playfair Display', serif; font-weight: 800; font-size: clamp(28px, 4vw, 44px); line-height: 1.1; color: var(--text); margin-bottom: 14px; }
.sec-title em { color: var(--navy); font-style: normal; }
.sec-desc { color: var(--muted); font-size: 15.5px; max-width: 560px; line-height: 1.75; margin-bottom: 50px; }

/* ── ABOUT ── */
#about { background: var(--off); }
.about-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 60px; align-items: start; }
.about-text { color: var(--text2); font-size: 15.5px; line-height: 1.82; }
.about-text p + p { margin-top: 14px; }
.about-sidebar { display: flex; flex-direction: column; gap: 18px; }
.sb-card { background: var(--white); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; box-shadow: 0 2px 12px rgba(26,28,78,0.06); }
.sb-head { background: var(--navy); color: var(--white); padding: 13px 20px; font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.sb-body { padding: 18px 20px; }
.theme-pill {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--off); border: 1px solid var(--border);
  color: var(--text2); border-radius: 100px; padding: 4px 12px;
  font-size: 12px; font-weight: 500; margin: 3px 2px;
}
.info-row { display: flex; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--light); font-size: 14px; align-items: flex-start; }
.info-row:last-child { border-bottom: none; }
.ir-icon { font-size: 16px; flex-shrink: 0; margin-top: 1px; }
.ir-label { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); margin-bottom: 2px; }
.ir-val { color: var(--text); font-weight: 500; }

/* ── TRACKS ── */
#tracks { background: var(--cream); }
.tracks-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; }

/* Track card */
.track-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: 18px; overflow: hidden; cursor: pointer;
  transition: transform .32s cubic-bezier(.34,1.56,.64,1), box-shadow .32s ease, border-color .3s;
  box-shadow: 0 3px 12px rgba(26,28,78,0.07);
  position: relative;
}
.track-card::after {
  content: 'Explore →';
  position: absolute; bottom: 14px; right: 18px;
  font-size: 12px; font-weight: 700; color: var(--t-color);
  opacity: 0; transform: translateX(-8px);
  transition: all .3s ease;
}
.track-card:hover { transform: translateY(-7px) scale(1.01); box-shadow: 0 20px 48px rgba(26,28,78,0.16); border-color: var(--t-color); }
.track-card:hover::after { opacity: 1; transform: translateX(0); }

/* Animated top strip */
.track-strip {
  height: 4px; background: var(--t-color);
  position: relative; overflow: hidden;
}
.track-strip::after {
  content: ''; position: absolute; left: -100%; top: 0; bottom: 0; width: 60%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
  animation: shimmer 2.5s infinite;
}
@keyframes shimmer { to { left: 200%; } }

.track-header { padding: 18px 22px 14px; display: flex; align-items: flex-start; gap: 14px; }
.track-icon-wrap {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--t-bg); display: grid; place-items: center; flex-shrink: 0;
  transition: background .3s ease;
  overflow: hidden;
}
.track-card:hover .track-icon-wrap { background: var(--t-color); }
.track-icon-wrap svg { width: 28px; height: 28px; overflow: visible; }

/* ── Per-icon hover animations ── */

/* AI — nodes pulse outward from center */
@keyframes ai-pulse {
  0%   { r: 2;   opacity: 1; }
  60%  { r: 5;   opacity: .6; }
  100% { r: 2;   opacity: 1; }
}
@keyframes ai-line-flash {
  0%,100% { stroke-opacity: 0.5; }
  50%      { stroke-opacity: 1; stroke-width: 1.6; }
}
.track-card:hover .icon-ai .node { animation: ai-pulse 1.2s ease-in-out infinite; }
.track-card:hover .icon-ai .node:nth-child(2) { animation-delay: .15s; }
.track-card:hover .icon-ai .node:nth-child(3) { animation-delay: .3s; }
.track-card:hover .icon-ai .node:nth-child(4) { animation-delay: .45s; }
.track-card:hover .icon-ai .node:nth-child(5) { animation-delay: .6s; }
.track-card:hover .icon-ai .edge { animation: ai-line-flash 1.2s ease-in-out infinite; }

/* QUANTUM — electron orbits on hover, static rings at rest */
.icon-quantum .q-electron1,
.icon-quantum .q-electron2 { display: none; }
.track-card:hover .icon-quantum .q-electron1,
.track-card:hover .icon-quantum .q-electron2 { display: block; }

/* JS sets dur on hover — fallback handled in script */
@keyframes q-ring1 { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes q-ring2 { from { transform: rotate(0deg); } to { transform: rotate(-360deg); } }
@keyframes q-ring3 { from { transform: rotate(60deg); } to { transform: rotate(420deg); } }
.icon-quantum .ring1 { transform-origin: 14px 14px; transform-box: fill-box; }
.icon-quantum .ring2 { transform-origin: 14px 14px; transform-box: fill-box; }
.icon-quantum .ring3 { transform-origin: 14px 14px; transform-box: fill-box; }
.track-card:hover .icon-quantum .ring1 { animation: q-ring1 2s linear infinite; }
.track-card:hover .icon-quantum .ring2 { animation: q-ring2 3s linear infinite; }
.track-card:hover .icon-quantum .ring3 { animation: q-ring3 4s linear infinite; }

/* IoT — signal rings expand from center node */
@keyframes iot-ping {
  0%   { r: 2.5; stroke-opacity: 0.9; }
  80%  { r: 10;  stroke-opacity: 0; }
  100% { r: 2.5; stroke-opacity: 0; }
}
.icon-iot .ping { animation: none; }
.track-card:hover .icon-iot .ping { animation: iot-ping 1.6s ease-out infinite; }
.track-card:hover .icon-iot .ping2 { animation: iot-ping 1.6s ease-out .5s infinite; }
.track-card:hover .icon-iot .ping3 { animation: iot-ping 1.6s ease-out 1s infinite; }

/* SECURITY — lock shackle bounces up/down */
@keyframes lock-open {
  0%,100% { transform: translateY(0);   }
  40%      { transform: translateY(-4px); }
  60%      { transform: translateY(-3px); }
}
.icon-security .shackle { transform-origin: 14px 14px; transform-box: fill-box; }
.track-card:hover .icon-security .shackle { animation: lock-open 1s cubic-bezier(.36,.07,.19,.97) infinite; }

/* BLOCKCHAIN — blocks slide in from left one by one */
@keyframes block-slide {
  0%   { transform: translateX(-6px); opacity: 0; }
  40%  { transform: translateX(0);    opacity: 1; }
  100% { transform: translateX(0);    opacity: 1; }
}
.icon-blockchain .bl1,.icon-blockchain .bl2,.icon-blockchain .bl3 { transform-box: fill-box; }
.track-card:hover .icon-blockchain .bl1 { animation: block-slide .7s ease forwards; }
.track-card:hover .icon-blockchain .bl2 { animation: block-slide .7s .18s ease forwards; }
.track-card:hover .icon-blockchain .bl3 { animation: block-slide .7s .36s ease forwards; }

/* SEMICONDUCTOR — pins flash sequentially */
@keyframes pin-flash {
  0%,100% { stroke-opacity: 0.3; stroke-width: 1.5; }
  50%      { stroke-opacity: 1;   stroke-width: 2.5; }
}
.track-card:hover .icon-chip .pin { animation: pin-flash 1.2s ease-in-out infinite; }
.track-card:hover .icon-chip .pin:nth-child(2) { animation-delay: .1s; }
.track-card:hover .icon-chip .pin:nth-child(3) { animation-delay: .2s; }
.track-card:hover .icon-chip .pin:nth-child(4) { animation-delay: .3s; }
.track-card:hover .icon-chip .pin:nth-child(5) { animation-delay: .4s; }
.track-card:hover .icon-chip .pin:nth-child(6) { animation-delay: .5s; }

/* COMM — wave path travels left-to-right */
@keyframes wave-travel {
  0%   { stroke-dashoffset: 80; }
  100% { stroke-dashoffset: -80; }
}
.icon-comm .wave-path {
  stroke-dasharray: 40 40;
  stroke-dashoffset: 80;
}
.track-card:hover .icon-comm .wave-path { animation: wave-travel 1.2s linear infinite; }
.track-card:hover .icon-comm .wave-path2 { animation: wave-travel 1.2s .4s linear infinite; }

/* Icon color flip on hover */
.track-card:hover .track-icon-wrap svg path,
.track-card:hover .track-icon-wrap svg circle,
.track-card:hover .track-icon-wrap svg ellipse,
.track-card:hover .track-icon-wrap svg line,
.track-card:hover .track-icon-wrap svg rect {
  stroke: white !important;
  fill: none;
}
.track-card:hover .track-icon-wrap svg circle.filled,
.track-card:hover .track-icon-wrap svg .nucleus {
  fill: white !important;
  stroke: none !important;
}

.track-num { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--t-color); margin-bottom: 4px; }
.track-name { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 15px; color: var(--text); line-height: 1.3; }
.track-body { padding: 4px 22px 28px; }
.track-topic { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--text2); padding: 6px 0; border-bottom: 1px dashed var(--light); }
.track-topic:last-child { border-bottom: none; }
.track-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--t-color); flex-shrink: 0; }

/* ── DATES ── */
#dates { background: var(--off); }
.dates-layout { display: grid; grid-template-columns: 1fr 360px; gap: 56px; align-items: start; }
.timeline { position: relative; padding-left: 34px; }
.timeline::before { content: ''; position: absolute; left: 11px; top: 4px; bottom: 4px; width: 2px; background: linear-gradient(to bottom, var(--navy), var(--gold3), var(--light)); border-radius: 2px; }
.tl-item { position: relative; margin-bottom: 32px; }
.tl-dot { position: absolute; left: -31px; top: 3px; width: 22px; height: 22px; border-radius: 50%; border: 3px solid var(--white); box-shadow: 0 0 0 2.5px var(--navy); background: var(--navy); z-index: 1; }
.tl-dot.upcoming { background: var(--gold3); box-shadow: 0 0 0 2.5px var(--gold3); }
.tl-dot.future { background: var(--white); box-shadow: 0 0 0 2px var(--border); }
.tl-phase { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--muted); margin-bottom: 3px; }
.tl-title { font-weight: 700; font-size: 15.5px; color: var(--text); margin-bottom: 3px; }
.tl-date { font-size: 14px; color: var(--navy); font-weight: 700; }
.tl-desc { font-size: 13px; color: var(--muted); margin-top: 6px; line-height: 1.65; }
.dates-aside { display: flex; flex-direction: column; gap: 18px; }
.da-card { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 22px; box-shadow: 0 2px 10px rgba(26,28,78,0.05); }
.da-title { font-weight: 700; font-size: 14px; color: var(--text); margin-bottom: 14px; }
.dl-row { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--light); font-size: 13.5px; }
.dl-row:last-child { border-bottom: none; }
.dl-ev { color: var(--text2); }
.dl-dt { font-weight: 700; color: var(--navy); }
.tba { display: inline-block; font-size: 9.5px; font-weight: 700; padding: 2px 7px; border-radius: 100px; background: #fef3c7; color: #92400e; margin-left: 5px; text-transform: uppercase; letter-spacing: 1px; }
.scope-item { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--text2); padding: 7px 12px; background: var(--off); border-radius: 7px; margin-bottom: 6px; }
.scope-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold3); flex-shrink: 0; }

/* ── KEYNOTE ── */
#keynote { background: var(--cream); }
.keynote-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px; }
.kn-card { background: var(--white); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; transition: all .28s; box-shadow: 0 2px 10px rgba(26,28,78,0.05); }
.kn-card:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(26,28,78,0.12); }
.kn-avatar { width: 100%; height: 170px; background: linear-gradient(135deg, var(--navy) 0%, #2d3a8c 60%, var(--gold3) 100%); display: flex; align-items: center; justify-content: center; position: relative; }
.kn-tba { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.kn-tba span { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 3px; color: rgba(255,255,255,0.5); }
.kn-tba strong { font-size: 14px; font-weight: 700; color: rgba(255,255,255,0.85); }
.kn-info { padding: 18px 20px; }
.kn-name { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 16px; color: var(--text); margin-bottom: 4px; }
.kn-aff { font-size: 12.5px; color: var(--muted); }
.kn-topic { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--light); font-size: 12.5px; color: var(--navy); font-weight: 700; }

/* ── CFP ── */
#cfp { background: var(--off); }
.cfp-grid { display: grid; grid-template-columns: 1fr 360px; gap: 56px; }
.cfp-step { display: flex; gap: 18px; background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 20px; margin-bottom: 16px; box-shadow: 0 1px 6px rgba(26,28,78,0.04); transition: all .25s; }
.cfp-step:hover { border-color: var(--navy); transform: translateX(4px); }
.cfp-num { width: 40px; height: 40px; border-radius: 10px; background: var(--navy); color: var(--gold); font-family: 'Playfair Display', serif; font-weight: 800; font-size: 17px; display: grid; place-items: center; flex-shrink: 0; }
.cfp-step-title { font-weight: 700; font-size: 14.5px; color: var(--text); margin-bottom: 5px; }
.cfp-step-desc { font-size: 13.5px; color: var(--muted); line-height: 1.65; }
.cfp-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.btn-navy { background: var(--navy); color: var(--gold); text-decoration: none; padding: 13px 26px; border-radius: 7px; font-size: 14px; font-weight: 700; transition: all .2s; box-shadow: 0 3px 14px rgba(26,28,78,0.3); }
.btn-navy:hover { background: var(--navy2); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--navy); text-decoration: none; padding: 13px 24px; border-radius: 7px; font-size: 14px; font-weight: 600; border: 2px solid var(--navy); transition: all .2s; }
.btn-outline:hover { background: var(--light); }
.cs-box { background: linear-gradient(135deg, var(--navy2), var(--navy)); border-radius: 16px; padding: 34px; color: var(--white); text-align: center; position: relative; overflow: hidden; }
.cs-box::after { content: ''; position: absolute; bottom: -50px; right: -50px; width: 150px; height: 150px; background: radial-gradient(circle, rgba(252,204,144,0.2), transparent 65%); }
.cs-icon { font-size: 44px; margin-bottom: 12px; }
.cs-title { font-family: 'Playfair Display', serif; font-weight: 800; font-size: 20px; margin-bottom: 8px; }
.cs-sub { font-size: 13.5px; color: rgba(255,255,255,0.65); line-height: 1.65; margin-bottom: 20px; }
.cs-input-row { display: flex; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.18); border-radius: 8px; overflow: hidden; }
.cs-input-row input { flex: 1; background: transparent; border: none; outline: none; padding: 10px 14px; font-size: 13px; color: var(--white); font-family: 'DM Sans', sans-serif; }
.cs-input-row input::placeholder { color: rgba(255,255,255,0.35); }
.cs-input-row button { background: var(--gold); color: var(--navy); border: none; padding: 10px 15px; font-size: 12px; font-weight: 700; cursor: pointer; font-family: 'DM Sans', sans-serif; }
.cs-note { font-size: 11px; color: rgba(255,255,255,0.4); margin-top: 10px; }
.req-box { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 20px; margin-top: 18px; }
.req-title { font-weight: 700; font-size: 14px; color: var(--text); margin-bottom: 12px; }

/* ── COMMITTEES ── */
#committees { background: var(--cream); }
.ctabs { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 30px; border-bottom: 2px solid var(--border); }
.ctab { padding: 9px 18px; font-size: 13px; font-weight: 600; cursor: pointer; border: none; background: transparent; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -2px; transition: all .2s; border-radius: 4px 4px 0 0; font-family: 'DM Sans', sans-serif; }
.ctab:hover { color: var(--navy); }
.ctab.active { color: var(--navy); border-bottom-color: var(--navy); background: var(--white); }
.cpanel { display: none; }
.cpanel.active { display: block; }
.mem-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.mem-card { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 18px; transition: all .22s; box-shadow: 0 1px 6px rgba(26,28,78,0.04); }
.mem-card:hover { border-color: var(--navy); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(26,28,78,0.1); }
.mem-init { width: 46px; height: 46px; border-radius: 11px; background: linear-gradient(135deg, var(--navy), #2d3a8c); color: var(--gold); font-family: 'Playfair Display', serif; font-weight: 800; font-size: 16px; display: grid; place-items: center; margin-bottom: 11px; }
.mem-name { font-weight: 700; font-size: 14px; color: var(--text); margin-bottom: 3px; }
.mem-role { font-size: 12px; color: var(--navy); font-weight: 600; }
.mem-org { font-size: 11.5px; color: var(--muted); margin-top: 3px; }

/* ── VENUE ── */
#venue { background: var(--off); }
.venue-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.venue-card { background: var(--white); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; box-shadow: 0 2px 12px rgba(26,28,78,0.06); }
.venue-head { background: var(--navy); padding: 20px 26px; color: var(--white); }
.venue-head h3 { font-family: 'Playfair Display', serif; font-size: 20px; margin-bottom: 3px; }
.venue-head p { font-size: 13px; color: rgba(255,255,255,0.65); }
.venue-body { padding: 22px 26px; }
.v-row { display: flex; gap: 13px; align-items: flex-start; padding: 11px 0; border-bottom: 1px solid var(--light); }
.v-row:last-child { border-bottom: none; }
.v-icon { font-size: 18px; flex-shrink: 0; margin-top: 1px; }
.v-label { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin-bottom: 2px; }
.v-val { font-size: 14px; color: var(--text); font-weight: 500; }
.map-card { background: var(--light); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.map-ph { flex: 1; min-height: 200px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 24px; text-align: center; }
.map-icon { font-size: 48px; }
.map-name { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 17px; color: var(--text); }
.map-sub { font-size: 13px; color: var(--muted); }
.map-btn { display: block; text-align: center; background: var(--navy); color: var(--gold); text-decoration: none; padding: 14px; font-size: 14px; font-weight: 700; transition: background .2s; }
.map-btn:hover { background: var(--navy2); }
.facts-grid { margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.fact { background: var(--white); border: 1px solid var(--border); border-radius: 8px; padding: 9px 13px; font-size: 13px; color: var(--text2); display: flex; align-items: center; gap: 7px; }

/* ── SPONSORS ── */
#sponsors { background: var(--cream); }
.sp-box { background: var(--white); border: 2px dashed var(--border); border-radius: 18px; padding: 48px; text-align: center; }
.sp-box h3 { font-family: 'Playfair Display', serif; font-size: 24px; margin-bottom: 10px; }
.sp-box p { color: var(--muted); font-size: 15px; max-width: 500px; margin: 0 auto 28px; }

/* ── FOOTER ── */
footer { background: var(--navy3); color: rgba(255,255,255,0.7); }
.foot-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding: 56px 24px 44px; }
.foot-brand { font-family: 'Playfair Display', serif; font-weight: 800; font-size: 26px; color: var(--white); margin-bottom: 6px; }
.foot-brand em { color: var(--gold); font-style: normal; }
.foot-tag { font-size: 13px; color: rgba(255,255,255,0.5); margin-bottom: 12px; }
.foot-org { font-size: 13px; color: var(--gold2); font-weight: 600; }
.foot-col-h { font-size: 10.5px; text-transform: uppercase; letter-spacing: 2px; color: var(--gold); margin-bottom: 14px; font-weight: 700; }
.foot-links { display: flex; flex-direction: column; gap: 8px; }
.foot-links a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 13.5px; transition: color .2s; }
.foot-links a:hover { color: var(--white); }
.foot-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 18px 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; max-width: 1200px; margin: 0 auto; }
.foot-bottom p { font-size: 12px; color: rgba(255,255,255,0.35); }

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── DOMAIN FLOAT VECTORS ── */
.domain-floats {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
}
.domain-floats svg {
  position: absolute; opacity: 0.06;
  animation: floatSvg var(--fdur, 18s) ease-in-out infinite;
}
@keyframes floatSvg {
  0%,100% { transform: translateY(0) rotate(var(--frot0, 0deg)); }
  50%      { transform: translateY(var(--fmove, -18px)) rotate(var(--frot1, 4deg)); }
}

/* ══════════════════════════════════════
   RESPONSIVE — full breakpoint system
   1200 → 980 → 768 → 480 → 360
   ══════════════════════════════════════ */

/* ── 1200px: constrain max-width padding ── */
@media (max-width: 1200px) {
  .nav-inner { padding: 0 20px; }
  .nav-links a { padding: 7px 9px; font-size: 12.5px; }
  .hero-inner { gap: 36px; }
}

/* ── 980px: tablet landscape — collapse 2-col grids ── */
@media (max-width: 980px) {

  /* Navbar */
  .nav-links { display: none; }
  .burger    { display: flex; }
  .nav-iiit-text .iiit-full { display: none; }
  .nav-divider { margin: 0 14px; }
  .nav-isec-text .isec-conf { display: none; }

  /* Hero */
  .hero { padding: 80px 24px 56px; min-height: auto; }
  .hero-inner { grid-template-columns: 1fr; gap: 0; }
  .hero-card  { display: none; }
  .hero-brain { width: 90vw; left: 50%; transform: translate(-50%, -50%); opacity: .08; }

  /* Grids → single column */
  .about-grid    { grid-template-columns: 1fr; gap: 36px; }
  .dates-layout  { grid-template-columns: 1fr; gap: 32px; }
  .cfp-grid      { grid-template-columns: 1fr; gap: 32px; }
  .venue-grid    { grid-template-columns: 1fr; gap: 24px; }

  /* Tracks: 2 per row on tablet */
  .tracks-grid   { grid-template-columns: repeat(2, 1fr); }

  /* Keynote: 2 per row */
  .keynote-grid  { grid-template-columns: repeat(2, 1fr); }

  /* Committee members */
  .mem-grid { grid-template-columns: repeat(2, 1fr); }

  /* Footer */
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }

  /* Countdown */
  .cd-units { gap: 8px; }
  .cd-unit  { min-width: 56px; padding: 8px 10px; }
  .cd-num   { font-size: 24px; }

  /* Sections */
  section { padding: 70px 20px; }

  /* About sidebar stacks below */
  .about-sidebar { flex-direction: row; flex-wrap: wrap; }
  .about-sidebar .sb-card { flex: 1 1 280px; }
}

/* ── 768px: tablet portrait ── */
@media (max-width: 768px) {

  /* Navbar: tighter brand */
  .nav-inner    { height: 64px; padding: 0 16px; }
  .nav-iiit-side { padding-right: 14px; }
  .nav-iiit-logo { width: 40px; height: 40px; }
  .nav-iiit-logo .iiit-emblem { width: 32px; height: 32px; }
  .nav-divider  { margin: 0 12px; }
  .nav-isec-icon { width: 34px; height: 34px; border-radius: 8px; }
  .nav-isec-text .isec-name { font-size: 17px; }

  /* Hero text sizes */
  .hero-title   { letter-spacing: -1px; }
  .hero-chips   { gap: 8px; }
  .chip         { padding: 6px 11px; font-size: 12px; }
  .hero-btns    { gap: 10px; }
  .btn-gold, .btn-ghost { padding: 11px 22px; font-size: 13.5px; }

  /* Tracks: still 2 col but smaller */
  .tracks-grid  { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .track-header { padding: 14px 16px 10px; gap: 10px; }
  .track-body   { padding: 4px 16px 20px; }
  .track-name   { font-size: 14px; }

  /* Committees */
  .ctabs        { gap: 2px; }
  .ctab         { padding: 8px 13px; font-size: 12px; }
  .mem-grid     { grid-template-columns: repeat(2, 1fr); }

  /* Section spacing */
  section       { padding: 60px 18px; }
  .sec-title    { font-size: clamp(24px, 5vw, 36px); }

  /* Dates aside stacks below timeline */
  .dates-aside  { flex-direction: row; flex-wrap: wrap; gap: 14px; }
  .da-card      { flex: 1 1 260px; }

  /* Footer 2-col */
  .foot-grid    { grid-template-columns: 1fr 1fr; gap: 24px; padding: 40px 18px 32px; }
  .foot-brand   { font-size: 22px; }

  /* Countdown strip wraps */
  .countdown-strip { flex-direction: column; gap: 8px; padding: 16px; }
  .cd-label     { margin-right: 0; margin-bottom: 4px; }
}

/* ── 600px: large mobile ── */
@media (max-width: 600px) {

  /* Topbar hidden */
  .topbar       { display: none; }

  /* Navbar: hide IIIT text entirely */
  .nav-iiit-text  { display: none; }
  .nav-isec-text .isec-name { font-size: 16px; }
  .nav-inner    { height: 60px; }

  /* Hero */
  .hero         { padding: 60px 16px 48px; }
  .hero-badge   { font-size: 10px; padding: 4px 12px; }
  .hero-chips   { gap: 6px; }
  .chip         { font-size: 11.5px; padding: 5px 10px; }
  .hero-btns    { flex-direction: column; gap: 10px; }
  .btn-gold, .btn-ghost { width: 100%; text-align: center; }

  /* Tracks: single column */
  .tracks-grid  { grid-template-columns: 1fr; gap: 14px; }
  .track-card::after { display: none; } /* hide "Explore →" on mobile */

  /* Keynote: single column */
  .keynote-grid { grid-template-columns: 1fr; }

  /* Committee: single column */
  .mem-grid     { grid-template-columns: 1fr; }

  /* About sidebar: stack */
  .about-sidebar { flex-direction: column; }
  .about-sidebar .sb-card { flex: none; width: 100%; }

  /* CFP: full width buttons */
  .cfp-btns     { flex-direction: column; }
  .btn-navy, .btn-outline { width: 100%; text-align: center; }

  /* Dates */
  .dates-aside  { flex-direction: column; }
  .da-card      { flex: none; width: 100%; }

  /* Venue */
  .facts-grid   { grid-template-columns: 1fr; }

  /* Section */
  section       { padding: 52px 16px; }
  .sec-title    { font-size: clamp(22px, 6vw, 32px); }
  .sec-desc     { font-size: 14.5px; }

  /* Footer */
  .foot-grid    { grid-template-columns: 1fr; gap: 28px; padding: 36px 16px 28px; }
  .foot-bottom  { flex-direction: column; align-items: flex-start; gap: 6px; }

  /* Countdown */
  .cd-num       { font-size: 22px; }
  .cd-unit      { min-width: 52px; }

  /* Timeline */
  .timeline     { padding-left: 28px; }
  .tl-dot       { width: 18px; height: 18px; left: -26px; }

  /* Track page */
  .track-page-hero  { padding: 56px 16px 44px; min-height: auto; }
  .track-page-body  { padding: 36px 16px; }
  .topics-grid      { grid-template-columns: 1fr; }
  .tpc-note         { padding: 24px 18px; }
}

/* ── 480px: small mobile ── */
@media (max-width: 480px) {

  /* Navbar: absolute minimal */
  .nav-iiit-logo { width: 34px; height: 34px; }
  .nav-divider   { margin: 0 8px; }
  .nav-isec-icon { width: 30px; height: 30px; border-radius: 7px; }
  .nav-isec-icon svg { width: 16px; height: 16px; }
  .nav-isec-text .isec-name { font-size: 15px; }

  /* Hero */
  .hero-title    { letter-spacing: -0.5px; margin-bottom: 6px; }

  /* Countdown: compact 2-per-row on very small screens */
  .cd-units      { flex-wrap: wrap; justify-content: center; gap: 6px; }
  .cd-unit       { min-width: 60px; flex: 0 0 calc(50% - 6px); }

  /* Committees tabs wrap tightly */
  .ctab          { padding: 7px 10px; font-size: 11.5px; }

  /* Track card: smaller padding */
  .track-header  { padding: 12px 14px 8px; }
  .track-body    { padding: 4px 14px 18px; }
  .track-topic   { font-size: 13px; }

  /* Chip: smaller */
  .chip          { padding: 5px 9px; font-size: 11px; }

  /* Section */
  section        { padding: 44px 14px; }
}

/* ── 360px: very small (Galaxy S, iPhone SE) ── */
@media (max-width: 360px) {
  .nav-iiit-side  { padding-right: 8px; }
  .nav-divider    { display: none; }
  .nav-isec-text .isec-name { font-size: 14px; }

  .hero           { padding: 48px 14px 40px; }
  .hero-badge     { display: none; }

  .cd-units       { gap: 4px; }
  .cd-unit        { min-width: 56px; padding: 7px 8px; }
  .cd-num         { font-size: 20px; }

  .track-icon-wrap { width: 42px; height: 42px; border-radius: 10px; }
  .track-icon-wrap svg { width: 22px; height: 22px; }

  section         { padding: 40px 12px; }
  .foot-grid      { padding: 28px 14px 24px; }
}

/* ── TRACK PAGE STYLES ── */
.track-page-hero {
  background: var(--navy);
  min-height: 52vh; display: flex; align-items: center;
  padding: 80px 24px 60px; position: relative; overflow: hidden;
}
.track-page-canvas { position: absolute; inset: 0; z-index: 0; opacity: .18; }
.track-page-inner { max-width: 900px; margin: 0 auto; position: relative; z-index: 1; }
.back-btn {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--gold); text-decoration: none; font-size: 13px; font-weight: 600;
  margin-bottom: 28px; transition: gap .2s;
}
.back-btn:hover { gap: 14px; }
.tph-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(252,204,144,0.15); border: 1px solid rgba(252,204,144,0.35);
  border-radius: 100px; padding: 4px 14px;
  font-size: 11px; font-weight: 700; color: var(--gold); letter-spacing: 2px;
  text-transform: uppercase; margin-bottom: 16px;
}
.tph-title { font-family: 'Playfair Display', serif; font-weight: 800; font-size: clamp(32px, 5vw, 58px); color: var(--white); line-height: 1.1; margin-bottom: 12px; }
.tph-desc { font-size: 16px; color: rgba(255,255,255,0.75); max-width: 640px; line-height: 1.75; }
.track-page-body { max-width: 900px; margin: 0 auto; padding: 56px 24px; }
.tp-section { margin-bottom: 52px; }
.tp-section h2 { font-family: 'Playfair Display', serif; font-weight: 800; font-size: 26px; color: var(--navy); margin-bottom: 20px; }
.topics-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.topic-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-left: 4px solid var(--navy);
  border-radius: 10px; padding: 16px 18px;
  font-size: 14px; color: var(--text2); font-weight: 500;
  display: flex; align-items: center; gap: 10px;
  transition: all .22s;
  box-shadow: 0 1px 6px rgba(26,28,78,0.04);
}
.topic-card:hover { border-color: var(--navy); transform: translateX(4px); box-shadow: 0 6px 20px rgba(26,28,78,0.1); }
.topic-icon { font-size: 20px; flex-shrink: 0; }
.tpc-note { background: linear-gradient(135deg, var(--navy2), var(--navy)); border-radius: 16px; padding: 36px; color: var(--white); text-align: center; }
.tpc-note h3 { font-family: 'Playfair Display', serif; font-size: 22px; margin-bottom: 10px; }
.tpc-note p { font-size: 14px; color: rgba(255,255,255,0.7); margin-bottom: 20px; }