/* ============================================================
   BCA ALUMNI CONNECT — STYLESHEET
   Palette: white / blue / near-black / golden-yellow
   Font: Poppins (all weights)
   ============================================================ */

:root {
  /* Colors */
  --white: #ffffff;
  --bg-soft: #f6f8fc;
  --bg-soft-2: #eef2fb;
  --ink: #0b1220;
  --ink-soft: #475066;
  --ink-faint: #8891a5;

  --blue-900: #0c2461;
  --blue-700: #17429c;
  --blue-600: #1e4fd8;
  --blue-500: #3b6bf0;
  --blue-glow: rgba(30, 79, 216, 0.28);
  --blue-glow-soft: rgba(30, 79, 216, 0.12);

  --gold: #f2b100;
  --gold-deep: #d99400;
  --gold-soft: #ffe6a3;

  --border: #e4e9f4;
  --shadow-soft: 0 10px 30px rgba(12, 36, 97, 0.08);
  --shadow-lift: 0 20px 45px rgba(12, 36, 97, 0.16);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --nav-height: 60px;
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-height); }
body {
  font-family: 'Poppins', sans-serif;
  color: var(--ink);
  background: var(--bg-soft);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ---------- Utility ---------- */
.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-600);
  background: var(--blue-glow-soft);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.92rem;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-700));
  color: var(--white);
  box-shadow: 0 8px 20px var(--blue-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px var(--blue-glow); }
.btn-primary:active { transform: translateY(0); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-700) 100%);
  border-bottom: 4px solid var(--gold);
}
.header-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 28px 100px 24px;
  text-align: center;
}
.header-logo-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}
.logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}
.header-text { text-align: center; }
.header-text .college-name {
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1.1;
}
.header-text .college-tagline {
  font-size: 0.72rem;
  font-weight: 400;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.04em;
  margin-top: 4px;
}
.header-text .dept-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold-soft);
  margin-top: 6px;
  letter-spacing: 0.04em;
}
.header-text .portal-name {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 700;
  margin-top: 4px;
  color: var(--gold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Sticky nav */
.main-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  height: var(--nav-height);
  transition: box-shadow 0.3s ease;
  isolation: isolate;
}
.main-nav.scrolled { box-shadow: 0 6px 20px rgba(12, 36, 97, 0.08); }

.nav-links {
  display: flex;
  gap: 8px;
}
.nav-link {
  position: relative;
  padding: 8px 16px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav-link:hover { color: var(--blue-700); background: var(--blue-glow-soft); }
.nav-link.active-link { color: var(--blue-700); font-weight: 600; }
.nav-link.active-link::after {
  content: '';
  position: absolute;
  left: 16px; right: 16px; bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--blue-600), var(--gold));
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  position: absolute;
  left: 16px;
}
.nav-toggle span {
  width: 22px; height: 2px;
  background: var(--blue-900);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: 64px 20px 56px;
  text-align: center;
  overflow: hidden;
  background: radial-gradient(circle at 50% 0%, var(--bg-soft-2), var(--bg-soft) 60%);
}
.hero-network {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
}
.hero-inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }

.hero-title {
  font-size: clamp(1.7rem, 5vw, 2.7rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--blue-900);
  margin-bottom: 16px;
}
.hero-title .highlight {
  background: linear-gradient(120deg, var(--gold-deep), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-subtitle {
  color: var(--ink-soft);
  font-size: 1rem;
  max-width: 560px;
  margin: 0 auto 30px;
}

/* Search bar */
.search-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 8px 8px 20px;
  box-shadow: var(--shadow-soft);
  max-width: 560px;
  margin-bottom: 10px;
  margin: 15px auto;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.search-bar:focus-within {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 4px var(--blue-glow-soft), var(--shadow-soft);
}
.search-icon { color: var(--ink-faint); flex-shrink: 0; }
.search-bar input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 0.92rem;
  padding: 10px 0;
  background: transparent;
  color: var(--ink);
  min-width: 0;
}
.search-btn {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-700));
  color: var(--white);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 10px 20px;
  border-radius: 999px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.search-btn:hover { transform: translateY(-1px); }

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 34px;
}
.hero-stat { text-align: center; }
.hero-stat strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--blue-700);
}
.hero-stat span { font-size: 0.78rem; color: var(--ink-faint); font-weight: 500; }

/* ============================================================
   NEWS BANNER (marquee)
   ============================================================ */
.news-banner {
  display: flex;
  align-items: center;
  background: var(--blue-900);
  color: var(--white);
  overflow: hidden;
}
.news-tag {
  flex-shrink: 0;
  background: var(--gold);
  color: var(--blue-900);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  padding: 10px 16px;
  text-transform: uppercase;
}
.news-track-wrap {
  flex: 1;
  overflow: hidden;
  position: relative;
}
.news-track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  padding: 10px 0;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.news-track li { font-size: 0.85rem; font-weight: 400; opacity: 0.95; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================================
   CAREER TIP
   ============================================================ */
.tip-section { padding: 36px 20px 0; }
.tip-card {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--gold-soft);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow: var(--shadow-soft);
}
.tip-icon { font-size: 1.5rem; flex-shrink: 0; }
.tip-body { flex: 1; }
.tip-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 3px;
}
.tip-text { font-size: 0.92rem; color: var(--ink-soft); }
.tip-refresh {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg-soft-2);
  color: var(--blue-700);
  font-size: 1.1rem;
  transition: transform 0.4s ease, background 0.2s ease;
}
.tip-refresh:hover { background: var(--blue-glow-soft); transform: rotate(180deg); }

/* Alumni section logo */
.alumni-section-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}
.alumni-section-logo-img {
  width: 150px;
  height: 150px;
  object-fit: contain;
  border-radius: 50%;
}

/* ============================================================
   ALUMNI SECTION
   ============================================================ */
.alumni-section { padding: 56px 20px; max-width: 1180px; margin: 0 auto; }
.section-heading { text-align: center; max-width: 560px; margin: 0 auto 30px; }
.section-heading h2 { font-size: clamp(1.4rem, 3.4vw, 1.9rem); font-weight: 800; color: var(--blue-900); margin-bottom: 8px; }
.section-heading p { color: var(--ink-soft); font-size: 0.94rem; }
.section-heading.light h2 { color: var(--white); }
.section-heading.light p { color: rgba(255,255,255,0.75); }

/* Chips */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 30px;
}
.chip {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: var(--white);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: all 0.25s ease;
}
.chip:hover {
  border-color: var(--blue-500);
  color: var(--blue-700);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px var(--blue-glow-soft);
}
.chip.active-chip {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-700));
  border-color: transparent;
  color: var(--white);
  box-shadow: 0 8px 20px var(--blue-glow);
}
.chip.active-chip::before { content: '✓ '; }

.result-count {
  text-align: center;
  font-size: 0.82rem;
  color: var(--ink-faint);
  margin-bottom: 20px;
}

/* Grid */
.alumni-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 22px;
}

.empty-state {
  text-align: center;
  color: var(--ink-faint);
  padding: 40px 0;
  font-size: 0.92rem;
}

/* Alumni card */
.alumni-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  animation: cardIn 0.5s ease both;
}
.alumni-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px var(--blue-glow-soft), var(--shadow-lift);
  border-color: var(--blue-glow-soft);
}
@keyframes cardIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.card-photo-wrap {
  width: 84px; height: 84px;
  margin: 0 auto 14px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, var(--blue-500), var(--gold));
}
.card-photo {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--white);
}
.card-name { font-size: 1.05rem; font-weight: 700; color: var(--blue-900); }
.card-batch { font-size: 0.78rem; color: var(--ink-faint); font-weight: 500; margin-bottom: 10px; }
.card-position { font-size: 0.88rem; font-weight: 600; color: var(--ink); }
.card-company { font-size: 0.82rem; color: var(--blue-600); font-weight: 500; margin-bottom: 12px; }

.card-skills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-bottom: 16px;
}
.skill-tag {
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--blue-glow-soft);
  color: var(--blue-700);
  border: 1.5px solid var(--blue-500);
  letter-spacing: 0.02em;
}
.skill-tag.gold-tag { background: var(--gold-soft); color: var(--gold-deep); border-color: var(--gold-deep); }

.card-actions {
  display: flex;
  gap: 8px;
}
.card-btn {
  flex: 1;
  padding: 10px 0;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.2s ease;
}
.card-btn.profile-btn {
  background: var(--bg-soft-2);
  color: var(--blue-700);
}
.card-btn.profile-btn:hover { background: var(--blue-glow-soft); }
.card-btn.connect-btn {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-700));
  color: var(--white);
  box-shadow: 0 6px 16px var(--blue-glow);
}
.card-btn.connect-btn:hover { transform: translateY(-2px); }

/* ============================================================
   ABOUT
   ============================================================ */
.about-section { padding: 60px 20px; background: var(--white); }
.about-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
.about-copy h2 { font-size: clamp(1.4rem, 3.4vw, 1.9rem); font-weight: 800; color: var(--blue-900); margin-bottom: 14px; }
.about-copy p { color: var(--ink-soft); font-size: 0.94rem; margin-bottom: 12px; }
.about-points { margin-top: 22px; display: flex; flex-direction: column; gap: 14px; }
.about-point { display: flex; gap: 14px; align-items: flex-start; }
.point-num {
  font-weight: 800;
  font-size: 0.82rem;
  color: var(--gold-deep);
  background: var(--gold-soft);
  border-radius: 8px;
  padding: 4px 9px;
  flex-shrink: 0;
}
.about-point p { font-size: 0.9rem; color: var(--ink-soft); margin: 0; }

.about-visual {
  position: relative;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.orbit-ring {
  position: absolute;
  border: 1.5px dashed var(--blue-glow-soft);
  border-radius: 50%;
}
.ring-1 { width: 200px; height: 200px; animation: spin 18s linear infinite; border: 2px dashed var(--blue-600); }
.ring-2 { width: 260px; height: 260px; animation: spin 26s linear infinite reverse; border: 2px dashed var(--blue-700); }
@keyframes spin { to { transform: rotate(360deg); } }
.orbit-core {
  width: 110px; height: 110px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-900));
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.2rem;
  box-shadow: 0 0 0 8px var(--blue-glow-soft), 0 20px 40px var(--blue-glow);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-section {
  padding: 60px 20px;
  background: linear-gradient(160deg, var(--blue-900), var(--blue-700));
}
.contact-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
.contact-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  color: var(--white);
  backdrop-filter: blur(6px);
  transition: transform 0.25s ease, background 0.25s ease;
}
.contact-card:hover { transform: translateY(-4px); background: rgba(255,255,255,0.1); }
.contact-icon { font-size: 1.5rem; }
.contact-card h3 { font-size: 1rem; font-weight: 700; margin: 10px 0 6px; color: var(--gold); }
.contact-card p { font-size: 0.85rem; color: rgba(255,255,255,0.85); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--gold);
  color: var(--blue-900);
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 18px 16px;
}

/* ============================================================
   MODALS
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 18, 32, 0.55);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  z-index: 1000;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  max-width: 460px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lift);
  transform: translateY(20px) scale(0.97);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.modal-overlay.open .modal { transform: translateY(0) scale(1); opacity: 1; }

.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--bg-soft-2);
  color: var(--ink-soft);
  font-size: 1.3rem;
  line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}
.modal-close:hover { background: var(--blue-glow-soft); transform: rotate(90deg); }

/* Profile modal */
.profile-modal-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding-right: 30px;
}
.profile-modal-photo {
  width: 64px; height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--bg-soft-2);
}
.profile-modal-header h3 { font-size: 1.15rem; font-weight: 700; color: var(--blue-900); }
.profile-modal-role { font-size: 0.85rem; color: var(--blue-600); font-weight: 500; }

.profile-modal-body { display: flex; flex-direction: column; gap: 12px; margin-bottom: 22px; }
.profile-fact {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--border);
}
.profile-fact span { color: var(--ink-faint); }
.profile-fact strong { color: var(--ink); font-weight: 600; text-align: right; }

.profile-skills span, .profile-bio span {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 8px;
}
.profile-skill-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.profile-bio p { font-size: 0.9rem; color: var(--ink-soft); }

.profile-modal-connect { width: 100%; }

/* Connect modal */
.connect-modal h3 { font-size: 1.15rem; font-weight: 700; color: var(--blue-900); margin-bottom: 4px; padding-right: 30px; }
.connect-modal-sub { font-size: 0.85rem; color: var(--ink-faint); margin-bottom: 20px; }
.connect-form { display: flex; flex-direction: column; gap: 14px; }
.connect-form label { font-size: 0.8rem; font-weight: 600; color: var(--ink-soft); margin-bottom: -8px; }
.connect-form input, .connect-form select, .connect-form textarea {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-size: 0.9rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  resize: vertical;
}
.connect-form input:focus, .connect-form select:focus, .connect-form textarea:focus {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 4px var(--blue-glow-soft);
}
.connect-submit-btn { margin-top: 6px; width: 100%; }

/* ============================================================
   TOAST
   ============================================================ */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--blue-900);
  color: var(--white);
  padding: 13px 24px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  box-shadow: var(--shadow-lift);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 1200;
  white-space: nowrap;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Mobile (≤640px) */
@media (max-width: 640px) {
  .header-top {
    flex-direction: column;
    padding: 18px 16px 16px;
    gap: 10px;
    text-align: center;
  }
  .header-logo-circle {
    width: 90px;
    height: 90px;
  }
  .header-text .college-name { font-size: 1.25rem; letter-spacing: 0.05em; }
  .header-text .college-tagline { font-size: 0.6rem; }
  .header-text .dept-name { font-size: 0.82rem; margin-top: 4px; }
  .header-text .portal-name { font-size: 0.95rem; }

  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: var(--nav-height); left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 10px 20px 18px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    transform: translateY(-8px);
    opacity: 0; visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    z-index: 99;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav-link { display: block; padding: 12px 14px; }

  .hero { padding: 36px 14px 32px; }
  .hero-title { font-size: 1.4rem; }
  .hero-subtitle { font-size: 0.88rem; }
  .search-bar { padding: 6px 6px 6px 14px; }
  .search-bar input { font-size: 0.82rem; }
  .search-btn { padding: 9px 14px; font-size: 0.78rem; }
  .hero-stats { gap: 14px; margin-top: 24px; }
  .hero-stat strong { font-size: 1.2rem; }

  .alumni-section { padding: 36px 14px; }
  .alumni-section-logo-img { width: 145px; height: 145px; }
  .alumni-grid { grid-template-columns: 1fr; gap: 16px; }
  .chip-row { gap: 8px; }
  .chip { padding: 7px 14px; font-size: 0.78rem; }

  .about-section { padding: 40px 16px; }
  .about-grid { grid-template-columns: 1fr; gap: 28px; }
  .about-visual { height: 220px; }
  .ring-1 { width: 150px; height: 150px; }
  .ring-2 { width: 200px; height: 200px; }

  .contact-section { padding: 40px 14px; }
  .contact-grid { grid-template-columns: 1fr; gap: 12px; }

  .tip-section { padding: 24px 14px 0; }
  .tip-card { flex-direction: column; text-align: center; gap: 10px; }

  .modal { padding: 18px; max-height: 92vh; }
  .modal-overlay { padding: 10px; }
  .toast { font-size: 0.78rem; padding: 10px 16px; white-space: normal; text-align: center; max-width: 88vw; }
  .section-heading h2 { font-size: 1.3rem; }
  .card-btn { font-size: 0.78rem; }
}

/* Tablet (641px – 860px) */
@media (min-width: 641px) and (max-width: 860px) {
  .header-top { padding: 20px 110px 18px; }
  .header-logo-circle { width: 100px; height: 100px; }
  .header-text .college-name { font-size: 1.8rem; }

  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: var(--nav-height); left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 10px 20px 18px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    transform: translateY(-8px);
    opacity: 0; visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    z-index: 99;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav-link { display: block; padding: 12px 14px; }

  .alumni-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .tip-card { flex-wrap: wrap; }
}

/* Laptop / Desktop (≥861px) */
@media (min-width: 861px) {
  .about-grid { grid-template-columns: 1.1fr 0.9fr; }
  .contact-grid { grid-template-columns: repeat(3, 1fr); }
  .alumni-grid { grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
}

/* ==========================================================================
   BRIDGE 2 ALUMNI — PREMIUM PRELOADER
   loader.css
   --------------------------------------------------------------------------
   Self-contained styling for the loader only. Nothing in here touches
   existing site selectors — every rule is scoped under #b2a-loader so it
   cannot leak into or collide with your current CSS.

   COLOR NOTE: The exact hex values from your live site could not be
   extracted automatically (the fetcher only returns page text, not the
   stylesheet). The palette below is a premium navy / champagne-gold
   direction chosen to suit an academic "alumni bridge" brand. Everything
   is driven by the CSS variables in :root, so swapping in your real
   brand colors is a one-minute job — just edit the values below.
   ========================================================================== */

:root {
  /* ---- Brand palette (edit these to match your exact site colors) ---- */
  --b2a-bg-deep:      #0a1128;   /* deepest background navy */
  --b2a-bg-mid:       #142347;   /* mid gradient navy/indigo */
  --b2a-bg-soft:      #1f3467;   /* lighter indigo glow base */
  --b2a-gold:         #e0b872;   /* champagne gold accent */
  --b2a-gold-soft:    #f3d9a4;   /* lighter gold for glow sweep */
  --b2a-blue-accent:  #6ea8e8;   /* cool accent for particles/rays */
  --b2a-text:         #f6f8fc;   /* primary text (near white) */
  --b2a-text-dim:     #b9c4dd;   /* secondary/subtitle text */
  --b2a-glass:        rgba(255, 255, 255, 0.06);
  --b2a-glass-border: rgba(255, 255, 255, 0.14);

  /* ---- Typography ---- */
  --b2a-font: 'Poppins', 'Segoe UI', system-ui, sans-serif;

  /* ---- Timing (tweak globally from one place) ---- */
  --b2a-ease-premium: cubic-bezier(0.19, 1, 0.22, 1); /* smooth "Apple" ease-out */
  --b2a-ease-bounce:  cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ==========================================================================
   ROOT OVERLAY
   ========================================================================== */

#b2a-loader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;

  font-family: var(--b2a-font);
  -webkit-user-select: none;
  user-select: none; /* keep loader text unselectable while active */

  background: radial-gradient(120% 120% at 20% 15%, var(--b2a-bg-soft) 0%, var(--b2a-bg-mid) 45%, var(--b2a-bg-deep) 100%);

  opacity: 0;
  animation: b2a-bg-fade-in 0.8s var(--b2a-ease-premium) forwards;
}

/* Locks page scroll while the loader is active. Applied/removed via JS. */
body.b2a-loading {
  overflow: hidden;
  height: 100vh;
}

@keyframes b2a-bg-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ==========================================================================
   AMBIENT BACKGROUND LAYERS — glow orbs, light rays, particles
   ========================================================================== */

#b2a-loader .b2a-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  will-change: transform;
}

#b2a-loader .b2a-orb--1 {
  width: 420px;
  height: 420px;
  top: -10%;
  left: -8%;
  background: radial-gradient(circle, var(--b2a-blue-accent) 0%, transparent 70%);
  animation: b2a-orb-float-a 9s ease-in-out infinite;
}

#b2a-loader .b2a-orb--2 {
  width: 480px;
  height: 480px;
  bottom: -15%;
  right: -10%;
  background: radial-gradient(circle, var(--b2a-gold) 0%, transparent 70%);
  animation: b2a-orb-float-b 11s ease-in-out infinite;
}

#b2a-loader .b2a-orb--3 {
  width: 320px;
  height: 320px;
  top: 40%;
  left: 60%;
  background: radial-gradient(circle, var(--b2a-bg-soft) 0%, transparent 70%);
  opacity: 0.4;
  animation: b2a-orb-float-a 13s ease-in-out infinite reverse;
}

@keyframes b2a-orb-float-a {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(30px, 20px) scale(1.08); }
}

@keyframes b2a-orb-float-b {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(-25px, -30px) scale(1.05); }
}

/* Thin diagonal light rays for extra depth */
#b2a-loader .b2a-rays {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 40%, rgba(224, 184, 114, 0.06) 50%, transparent 60%);
  animation: b2a-ray-sweep 6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes b2a-ray-sweep {
  0%, 100% { opacity: 0.4; transform: translateX(-4%); }
  50%      { opacity: 0.9; transform: translateX(4%); }
}

/* Floating particle dots, positioned individually in the HTML/JS */
#b2a-loader .b2a-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--b2a-gold-soft);
  opacity: 0;
  box-shadow: 0 0 8px 1px var(--b2a-gold-soft);
  animation: b2a-particle-rise linear infinite;
}

@keyframes b2a-particle-rise {
  0%   { opacity: 0; transform: translateY(0) translateX(0); }
  10%  { opacity: 0.8; }
  90%  { opacity: 0.5; }
  100% { opacity: 0; transform: translateY(-140px) translateX(10px); }
}

/* ==========================================================================
   CENTER STAGE
   ========================================================================== */

#b2a-loader .b2a-stage {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  padding: 0 40px;
  text-align: center;
}

/* ---- Logo placeholder (circular glass container) ---- */
#b2a-loader .b2a-logo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--b2a-glass);
  border: 1px solid var(--b2a-glass-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  opacity: 0;
  transform: translateY(-14px) scale(0.9);
  animation: b2a-logo-in 0.9s var(--b2a-ease-premium) 0.35s forwards;
}

#b2a-loader .b2a-logo svg {
  width: 50px;
  height: 50px;
  stroke: var(--b2a-gold-soft);
}

#b2a-loader .b2a-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

@keyframes b2a-logo-in {
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ---- "Bridge 2 Alumni" letter-by-letter title ---- */
#b2a-loader .b2a-title {
  font-size: clamp(28px, 5vw, 46px);
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--b2a-text);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  white-space: pre;
}

/* Each letter starts hidden above and blurred; JS staggers the delay */
#b2a-loader .b2a-letter {
  display: inline-block;
  opacity: 0;
  filter: blur(6px);
  transform: translateY(-40px);
  animation: b2a-letter-drop 0.62s var(--b2a-ease-bounce) forwards;
  animation-delay: calc(var(--b2a-i, 0) * 190ms + 0.4s);
  color: var(--b2a-text);
}

@keyframes b2a-letter-drop {
  0%   { opacity: 0; filter: blur(6px); transform: translateY(-40px); }
  60%  { opacity: 1; filter: blur(0.5px); transform: translateY(5px); }
  100% { opacity: 1; filter: blur(0); transform: translateY(0); }
}

/* Glow sweep across the finished title */
#b2a-loader .b2a-title.b2a-glow .b2a-letter {
  background-image: linear-gradient(
    100deg,
    var(--b2a-text) 0%,
    var(--b2a-text) 35%,
    var(--b2a-gold-soft) 50%,
    var(--b2a-text) 65%,
    var(--b2a-text) 100%
  );
  background-size: 260% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: b2a-title-sweep 1.1s var(--b2a-ease-premium) forwards;
}

/* ---- Title fade-out (JS adds this class after glow sweep) ---- */
#b2a-loader .b2a-title.b2a-title-out {
  animation: b2a-title-out 0.5s var(--b2a-ease-premium) forwards;
}

@keyframes b2a-title-out {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(10px); }
}

/* ---- B2A large mark — hidden by default, shown by JS ---- */
#b2a-loader .b2a-mark {
  font-size: clamp(40px, 9vw, 84px);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  background: linear-gradient(180deg, var(--b2a-gold-soft) 0%, var(--b2a-gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 18px rgba(224, 184, 114, 0.35));
  opacity: 0;
  transform: scale(0.82);
  /* positioned absolutely to overlap the title exactly */
  position: absolute;
}

#b2a-loader .b2a-mark.b2a-mark-in {
  animation: b2a-mark-in 0.8s var(--b2a-ease-premium) forwards;
}

@keyframes b2a-mark-in {
  0%   { opacity: 0; transform: translate(-50%, -50%) scale(0.82); }
  70%  { opacity: 1; transform: translate(-50%, -50%) scale(1.04); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

/* ---- Stage needs relative positioning for the absolute mark ---- */
#b2a-loader .b2a-stage {
  position: relative;
}

/* ---- Subtitle tagline ---- */
#b2a-loader .b2a-tagline {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--b2a-text-dim);
  opacity: 0;
  animation: b2a-tagline-in 0.7s var(--b2a-ease-premium) forwards;
  animation-delay: 3.05s;
}

@keyframes b2a-tagline-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   EXIT SEQUENCE — applied by JS via the .b2a-exit class
   ========================================================================== */

#b2a-loader.b2a-exit {
  animation: b2a-loader-exit 0.7s var(--b2a-ease-premium) forwards;
  pointer-events: none;
}

@keyframes b2a-loader-exit {
  0%   { opacity: 1; filter: blur(0); transform: scale(1); }
  100% { opacity: 0; filter: blur(10px); transform: scale(1.04); }
}

/* Applied to your site's root wrapper by JS so content eases into view
   as the loader fades out. See integration instructions for the
   #site-content wrapper this expects. */
.b2a-site-reveal {
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
}

.b2a-site-reveal.b2a-site-reveal-in {
  animation: b2a-site-in 0.9s var(--b2a-ease-premium) forwards;
  pointer-events: auto;
}

@keyframes b2a-site-in {
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   RESPONSIVENESS
   ========================================================================== */

@media (max-width: 640px) {
  #b2a-loader .b2a-stage { gap: 16px; }
  #b2a-loader .b2a-logo { width: 140px; height: 140px; }
  #b2a-loader .b2a-logo svg { width: 36px; height: 36px; }
  #b2a-loader .b2a-orb--1, #b2a-loader .b2a-orb--2, #b2a-loader .b2a-orb--3 {
    filter: blur(40px);
  }
}

@media (max-width: 380px) {
  #b2a-loader .b2a-title { letter-spacing: 0.015em; }
}

/* ==========================================================================
   ACCESSIBILITY — respect reduced motion preference
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  #b2a-loader,
  #b2a-loader * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  #b2a-loader .b2a-letter,
  #b2a-loader .b2a-logo,
  #b2a-loader .b2a-mark,
  #b2a-loader .b2a-tagline {
    opacity: 1;
    filter: none;
    transform: none;
  }
  #b2a-loader .b2a-orb,
  #b2a-loader .b2a-particle,
  #b2a-loader .b2a-rays {
    animation: none;
    opacity: 0.25;
  }
}
