/* =====================================================
   INDEX.CSS — Sunbeam Women's College, Varuna
   Sections:
   1.  CSS Variables
   2.  Base & Typography
   3.  Animations & Keyframes
   4.  Carousel Dots
   5.  Desktop Navbar
   6.  Mobile Navbar & Hamburger
   7.  Hero Slider
   8.  Utilities (cover-img, dividers, labels)
   9.  Section Headings
   10. Leadership Section
   11. Principal Section
   12. Notifications / Events
   13. Achievements & Press
   14. Alumni Testimonials
   15. Alumni Stories Carousel
   16. Captured Memories
   17. About Page Components
   18. Footer
   19. Responsive Breakpoints
===================================================== */

/* ─── 1. CSS VARIABLES ─────────────────────────── */
:root {
  --maroon:       #800000;
  --maroon-dark:  #5f0000;
  --maroon-light: #9b0000;
  --yellow:       #FACC15;
  --yellow-alt:   #ca8a04;
  --cream:        #fdf8f3;
  --surface:      #f9fafb;
  --border:       #e5e7eb;
  --border-mid:   #d1d5db;
  --text-dark:    #111827;
  --text-mid:     #374151;
  --text-gray:    #6b7280;
  --text-light:   #9ca3af;
  --blue-link:    #2563eb;
  --shadow-sm:    0 1px 4px rgba(0,0,0,0.08);
  --shadow-md:    0 1px 6px rgba(0,0,0,0.10);
  --radius-card:  16px;
  --radius-sm:    8px;
}

/* ─── 2. BASE & TYPOGRAPHY ─────────────────────── */
*,
*::before,
*::after { box-sizing: border-box; }

body {
  font-family: 'Roboto', sans-serif;
  background: #f9fafb;
  color: var(--text-dark);
}

h1, h2, h3 {
  font-family: 'Roboto', sans-serif;
}

a { text-decoration: none; }

/* ─── 3. ANIMATIONS & KEYFRAMES ────────────────── */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ─── 4. CAROUSEL DOTS ─────────────────────────── */
.dot {
  width: 28px;
  height: 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.45);
  transition: background 0.3s;
  cursor: pointer;
}
.dot.active { background: #fff; }

.leader-dot {
  width: 24px;
  height: 4px;
  border-radius: 3px;
  background: var(--border-mid);
  transition: background 0.3s;
  cursor: pointer;
}
.leader-dot.active { background: var(--maroon); }

/* ─── 5. DESKTOP NAVBAR ────────────────────────── */
.nav-link {
  position: relative;
  font-weight: 400;
  color: #111;
  transition: color 0.18s;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%; right: 50%;
  height: 2px;
  background: var(--maroon);
  transition: left 0.2s ease, right 0.2s ease;
}
.nav-link:hover,
.nav-link.active { color: var(--maroon); font-weight: 600; }
.nav-link:hover::after,
.nav-link.active::after { left: 0; right: 0; }

/* ─── 6. MOBILE NAVBAR & HAMBURGER ─────────────── */
#mobile-menu {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}
#mobile-menu.open { grid-template-rows: 1fr; }
#mobile-menu > div { overflow: hidden; }

.ham-line {
  display: block;
  width: 24px;
  height: 2px;
  background: #374151;
  border-radius: 9999px;
  transition: transform 0.25s ease, opacity 0.2s ease;
  transform-origin: center;
}
#hamburger.open .ham-line:nth-child(1) { transform: translateY(8px) rotate(45deg); }
#hamburger.open .ham-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
#hamburger.open .ham-line:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mob-link {
  transition: background 0.15s, color 0.15s;
}
.mob-link.active {
  color: var(--maroon);
  background-color: #fff1f1;
  font-weight: 700;
  border-left: 3px solid var(--maroon);
}
.mob-link:not(.active):hover {
  background-color: #f9fafb;
  color: var(--maroon);
}

/* ─── 7. HERO SLIDER ───────────────────────────── */
.slide {
  display: none;
  position: absolute;
  inset: 0;
}
.slide.active {
  display: block;
  animation: fadeIn 0.6s ease;
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  object-position: center;
}

/* ─── 8. UTILITIES ─────────────────────────────── */

/* Full-bleed cover image inside a relative container */
.img-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

/* Image placeholder */
.img-ph {
  background: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  overflow: hidden;
}

/* Horizontal divider lines */
.divider       { border-top: 1px solid var(--border-mid); margin-bottom: 14px; }
.divider-light { border-top: 1px solid var(--border); margin-bottom: 12px; }

/* Coloured labels */
.label-maroon {
  color: var(--maroon);
  font-weight: 700;
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 12px;
}

/* Text scale */
.text-quote {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.84rem;
  line-height: 1.75;
  margin: 0 0 14px;
}
.text-body-sm {
  color: var(--text-gray);
  font-size: 0.8125rem;
  line-height: 1.75;
  margin: 0 0 14px;
}
.read-more {
  color: var(--blue-link);
  font-size: 0.8125rem;
  font-weight: 500;
}
.read-more:hover { text-decoration: underline; }

/* Backgrounds */
.bg-cream   { background: var(--cream); }
.bg-surface { background: var(--surface); }

/* Buttons */
.btn-maroon {
  display: inline-block;
  background: #800000;
  color: #fff;
  font-weight: 600;
  width: 197px;
  height: 48px;
  padding: 8px 20px;
  border-radius: 12px;
  font-size: 0.875rem;
  transition: background 0.15s;
  border: none;
  cursor: pointer;
  text-align: center;
}
.btn-maroon:hover { background: #5f0000; color: #fff; }

.btn-circle-outline {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-mid);
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.10);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.15s;
  flex-shrink: 0;
}
.btn-circle-outline:hover { background: #f3f4f6; }

.btn-circle-maroon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--maroon);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.15s;
  border: none;
  flex-shrink: 0;
}
.btn-circle-maroon:hover { background: var(--maroon-dark); }

/* ─── 9. SECTION HEADINGS ──────────────────────── */
.section-heading {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.5;
  letter-spacing: normal;
  text-align: center;
  margin: 0;
  color: var(--text-dark);
}

.section-subheading {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 400;
  font-size: 0.875rem;
  line-height: 1.75;
  letter-spacing: normal;
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  margin-top: 8px;
  color: var(--text-gray);
  text-align: center;
}

@media (min-width: 640px) {
  .section-heading { font-size: 1.875rem; }
  .section-subheading { font-size: 1rem; }
}

@media (min-width: 1024px) {
  .section-heading { font-size: 2rem; }
}

.heading-primary {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 150%;
  letter-spacing: 0;
  color: #800000;
}
.text-body-condensed {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 35.99px;
  letter-spacing: 0;
  color: #575757;
}
.body-text-lg {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 36px; /* cleaned from 35.99px */
  letter-spacing: 0;
  color: #575757;
}
/* ─── 10. LEADERSHIP SECTION ───────────────────── */
.leader-card {
  display: flex;
  flex-direction: row;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  height: 380px;
  border-radius: 4px;
}

/* Panel A — main portrait */
.leader-photo-main {
  position: relative;
  width: 24%;
  flex-shrink: 0;
}

/* Panel B — text */
.leader-content {
  width: 40%;
  flex-shrink: 0;
  padding: 28px;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
}

/* Panel C — two side portraits */
.leader-side-photos {
  width: 36%;
  flex-shrink: 0;
  display: flex;
  gap: 10px;
  flex-direction: row;
}
.side-photo {
  position: relative;
  width: 50%;
  flex-shrink: 0;
  overflow: hidden;
}
.side-photo + .side-photo { border-left: 1px solid var(--border); }

/* Yellow name badges */
.name-badge-main {
  position: absolute;
  bottom: 0; left: 0;
  width: 85%;
  background: var(--yellow);
  padding: 10px 14px;
}
.name-badge-side {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: var(--yellow);
  padding: 8px 12px;
}
.badge-name {
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: #111;
  text-transform: uppercase;
  line-height: 1.3;
  margin: 0;
}
.badge-divider {
  border-top: 1px solid var(--text-mid);
  margin-top: 4px;
  padding-top: 4px;
}
.badge-role {
  font-size: 0.625rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
}

/* Leader carousel track */
.leader-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.leader-slide {
  min-width: 100%;
  box-sizing: border-box;
}

/* ─── 11. PRINCIPAL SECTION ────────────────────── */
.principal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.principal-card {
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: flex;
  flex-direction: row;
  min-height: 460px;
}
.principal-photo-col {
  position: relative;
  width: 42%;
  flex-shrink: 0;
  min-height: 300px;
}
.principal-text-col {
  padding: 22px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* ─── 12. NOTIFICATIONS / EVENTS ───────────────── */
.tab-bar {
  display: flex;
  background: #fefce8;
  border-radius: 4px;
  padding: 4px;
  border: 1px solid var(--border-mid);
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
}
.tab-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  background: transparent;
  color: #6b7280;
}
.tab-btn.active {
  background: var(--maroon);
  color: #fff;
}

.notif-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background:#F6F6FB ;
  border-radius: 12px;
  padding: 12px 16px;
  border: 1px solid #f3f4f6;
}
.date-badge {
  flex-shrink: 0;
  text-align: center;
  width: 56px;
  background: #b91c1c;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 0;
}
.date-badge-month {
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.date-badge-day {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
}
/* ── Notification Item ──────────────────────────────────── */

.notif-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #f9fafb;
  border-radius: 12px;
  padding: 12px 16px;
  border: 1px solid #f3f4f6;
}

/* ── Date Badge (red box) ───────────────────────────────── */
.date-badge {
  flex-shrink: 0;
  width: 52px;
  background: #b91c1c;         /* red-700 */
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 0 10px;
  gap: 0;
}

.date-badge-month {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
}

.date-badge-day {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 28px;
  line-height: 1.1;
  color: #ffffff;
}

/* ── Notification body text ─────────────────────────────── */
.notif-text {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.6;
  color: #374151;
  flex: 1;
  margin: 0;
}

/* ── "See More" link ────────────────────────────────────── */
.notif-see-more {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #2563eb;              /* blue-600 */
  text-decoration: none;
  margin-left: 4px;
  white-space: nowrap;
}

.notif-see-more:hover {
  text-decoration: underline;
}

/* ─── 13. ACHIEVEMENTS ─────────────────────────── */
/* Scrollable row for Our Achievements */
.scroll-row {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.scroll-row::-webkit-scrollbar { height: 4px; }
.scroll-row::-webkit-scrollbar-thumb {
  background: var(--border-mid);
  border-radius: 4px;
}
.scroll-card {
  flex-shrink: 0;
  width: 388px;
  scroll-snap-align: start;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

/* ─── 14. ALUMNI TESTIMONIALS (full-bleed) ─────── */
.alumni-track {
  display: flex;
  transition: transform 0.5s ease;
}
.alumni-slide {
  min-width: 100%;
  position: relative;
}
.alumni-slide img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}
.alumni-info-card {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 56rem;
  padding: 0 16px;
}
.alumni-info-header {
  display: flex;
}
.alumni-info-name {
  flex: 1;
  background: #7f1d1d;
  padding: 12px 24px;
  display: flex;
  align-items: center;
}
.alumni-info-batch {
  background: var(--yellow);
  padding: 12px 24px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.alumni-info-body {
  background: #f9fafb;
  padding: 20px 24px;
}

/* ─── 15. ALUMNI STORIES CAROUSEL ──────────────── */
.stories-track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  padding: 0 56px;
}

/* Full-width carousel images - desktop */
.stories-track > div {
  transition: all 0.5s ease;
}

/* Alumni Story Card Styles */
#storyName {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  font-style: bold;
  font-size: 24px;
  line-height: 150%;
  letter-spacing: 0%;
  text-align: center;
  color: #ffffff;
}

#storyRole {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 600;
  font-style: semibold;
  font-size: 18px;
  line-height: 150%;
  letter-spacing: 0%;
  text-align: center;
}

#storyBatch {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  font-style: bold;
  font-size: 24px;
  line-height: 150%;
  letter-spacing: 0%;
  text-align: center;
}

#storyQuote {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 16px;
  line-height: 32px;
  letter-spacing: 0%;
}

/* ─── 16. CAPTURED MEMORIES ────────────────────── */
.memory-card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  border: 1px solid var(--border);
}
.memory-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  background: #e5e7eb;
  padding: 8px;
  height: 280px;
}
.memory-col-right {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.memory-img {
  border-radius: 12px;
  overflow: hidden;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.memory-count-overlay {
  border-radius: 12px;
  overflow: hidden;
  flex: 1;
  position: relative;
}
.memory-count-overlay img { width: 100%; height: 100%; object-fit: cover; }
.memory-count-overlay .count-label {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
}
.memory-caption {
  background: #f9fafb;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 4px solid var(--maroon);
}
.memory-arrow-btn {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid #9ca3af;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s;
  color: #4b5563;
  font-size: 0.75rem;
}
.memory-arrow-btn:hover { background: #e5e7eb; }

/* ─── 17. ABOUT PAGE COMPONENTS ────────────────── */
.about-nav-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 9px 14px;
  font-size: 0.8rem;
  border-left: 3px solid transparent;
  transition: all 0.18s ease;
  color: var(--text-mid);
  background: transparent;
  cursor: pointer;
  border: none;
}
.about-nav-item:hover { background: #f3f4f6; color: var(--maroon); }
.about-nav-item.active {
  background: var(--maroon);
  color: #fff;
  font-weight: 600;
  border-left-color: var(--maroon);
}

.about-panel        { display: none; }
.about-panel.active { display: block; }

.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 14px;
}
.section-title::before {
  content: '';
  display: block;
  width: 4px;
  height: 1.2em;
  background: var(--yellow-alt);
  border-radius: 2px;
  flex-shrink: 0;
}

/* Governing Body card */
.gov-card {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: #f3f4f6;
}
.gov-card img { width: 100%; height: 220px; object-fit: cover; object-position: top; display: block; }
.gov-badge {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: var(--yellow);
  padding: 7px 12px;
}
.gov-badge .name {
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: #111;
  text-transform: uppercase;
}
.gov-badge .role {
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: var(--text-mid);
  text-transform: uppercase;
  border-top: 1px solid var(--text-mid);
  margin-top: 3px;
  padding-top: 3px;
}

/* Certificate card */
.cert-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 24px 20px 16px;
  text-align: center;
}
.cert-card img { width: 100px; height: 100px; object-fit: contain; margin: 0 auto 12px; }
.cert-card .year { font-weight: 700; font-size: 1rem; color: var(--text-dark); margin-bottom: 6px; }
.cert-card .label {
  font-size: 0.78rem;
  color: var(--maroon);
  font-weight: 600;
  border-top: 1px solid var(--border);
  padding-top: 10px;
  margin-top: 6px;
}

/* Accordion */
.acc-item { border: 1px solid var(--border-mid); border-radius: 4px; overflow: hidden; }
.acc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-dark);
  background: #fff;
  user-select: none;
}
.acc-header:hover { background: #f9fafb; }
.acc-body {
  display: none;
  padding: 14px 16px;
  font-size: 0.82rem;
  color: #4b5563;
  line-height: 1.6;
  border-top: 1px solid var(--border);
  background: #fafafa;
}
.acc-body.open  { display: block; }
.acc-icon       { transition: transform 0.2s ease; flex-shrink: 0; }
.acc-icon.open  { transform: rotate(180deg); }

/* Mission bullet */
.mission-bullet { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; }
.mission-bullet .bull-dot {
  flex-shrink: 0;
  margin-top: 3px;
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 2px solid var(--maroon);
  display: flex; align-items: center; justify-content: center;
}
.mission-bullet .bull-dot::after {
  content: '';
  width: 7px; height: 7px;
  background: var(--maroon);
  border-radius: 50%;
}

/* ─── 18. FOOTER ───────────────────────────────── */
.footer-social-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--maroon);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.875rem;
  transition: background 0.15s;
}
.footer-social-btn:hover { background: var(--maroon-dark); color: #fff; }

.footer-link { color: #4b5563; font-size: 0.875rem; transition: color 0.15s; }
.footer-link:hover { color: var(--maroon); }

/* ─── 19. RESPONSIVE BREAKPOINTS ──────────────── */

/* Tablet & below */
@media (max-width: 1024px) {
  /* Leadership: stack vertically */
  .leader-card {
    flex-direction: column;
    height: auto;
  }
  .leader-photo-main {
    width: 100%;
    height: 280px;
  }
  .leader-content {
    width: 100%;
    padding: 20px;
  }
  .leader-side-photos {
    width: 100%;
    height: 180px;
  }

  /* Principal: single column */
  .principal-grid {
    grid-template-columns: 1fr;
  }
  .principal-card { min-height: auto; }
  .principal-photo-col { min-height: 260px; }
}

/* Mobile */
@media (max-width: 768px) {
  .section-heading    { font-size: 1.5rem; }
  .section-subheading { font-size: 0.9rem; }

  /* Hide third side photo panel on mobile */
  .leader-side-photos { display: none; }

  /* Principal card: vertical on mobile */
  .principal-card {
    flex-direction: column;
  }
  .principal-photo-col {
    width: 100%;
    height: 260px;
    min-height: unset;
  }

  /* Notif tab bar full width */
  .tab-bar { max-width: 100%; }

  /* Scroll row cards: smaller */
  .scroll-card { width: 320px; }

  /* Alumni stories carousel: reduce sizes */
  .stories-track { gap: 12px; padding: 0 40px; }

  /* Memory grid */
  .memory-grid { height: 200px; }

  /* Alumni stories tablet responsive text */
  #storyName { font-size: 22px; }
  #storyRole { font-size: 17px; }
  #storyBatch { font-size: 22px; }
  #storyQuote { font-size: 15.5px; line-height: 30px; }

  /* Adjust carousel image sizes for tablet - override JS classes */
  .stories-track > div:nth-child(1),
  .stories-track > div:nth-child(2),
  .stories-track > div:nth-child(4),
  .stories-track > div:nth-child(5) {
    width: 120px !important;
    height: 140px !important;
  }

  .stories-track > div:nth-child(3) {
    width: 280px !important;
    height: 320px !important;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .section-heading    { font-size: 1.5rem; }
  .section-subheading { font-size: 0.9rem; }

  /* Hide third side photo panel on mobile */
  .leader-side-photos { display: none; }

  /* Principal card: vertical on mobile */
  .principal-card {
    flex-direction: column;
  }
  .principal-photo-col {
    width: 100%;
    height: 260px;
    min-height: unset;
  }

  /* Notif tab bar full width */
  .tab-bar { max-width: 100%; }

  /* Scroll row cards: smaller */
  .scroll-card { width: 220px; }

  /* Alumni stories carousel: reduce sizes */
  .stories-track { gap: 8px; padding: 0 24px; }

  /* Memory grid */
  .memory-grid { height: 200px; }

  /* Alumni stories mobile responsive text */
  #storyName { font-size: 20px; }
  #storyRole { font-size: 16px; }
  #storyBatch { font-size: 20px; }
  #storyQuote { font-size: 15px; line-height: 28px; }

  /* Adjust carousel image sizes for mobile */
  .stories-track > div:nth-child(1),
  .stories-track > div:nth-child(2),
  .stories-track > div:nth-child(4),
  .stories-track > div:nth-child(5) {
    width: 100px !important;
    height: 120px !important;
  }

  .stories-track > div:nth-child(3) {
    width: 200px !important;
    height: 240px !important;
  }
}

@media (max-width: 480px) {
  .principal-card { flex-direction: column; }
  .name-badge-main { width: 100%; }
  .leader-content { padding: 16px; }
  .alumni-info-card { padding: 0 8px; }

  /* Alumni stories carousel: reduce padding for small screens */
  .stories-track { gap: 6px; padding: 0 16px; }

  /* Alumni stories mobile responsive text */
  #storyName { font-size: 18px; }
  #storyRole { font-size: 14px; }
  #storyBatch { font-size: 18px; }
  #storyQuote { font-size: 14px; line-height: 26px; }

  /* Adjust carousel image sizes for small mobile */
  .stories-track > div:nth-child(1),
  .stories-track > div:nth-child(2),
  .stories-track > div:nth-child(4),
  .stories-track > div:nth-child(5) {
    width: 80px !important;
    height: 100px !important;
  }

  .stories-track > div:nth-child(3) {
    width: 160px !important;
    height: 200px !important;
  }
}

/* ============================================================
   Gallery Card – gallery-card.css
   ============================================================ */

/* ── Card shell ─────────────────────────────────────────── */
.card {
  width: 100%;
  max-width: 820px;
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
  border-bottom: 4px solid #800000;   /* maroon accent */
}

/* ── Gallery grid ───────────────────────────────────────── */
.gallery {
  display: grid;
  grid-template-columns: 1fr 0.55fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  padding: 12px 12px 0 12px;
  aspect-ratio: 820 / 490;
}

/* Large image – spans both rows */
.img-main {
  grid-column: 1;
  grid-row: 1 / 3;
  border-radius: 14px;
  overflow: hidden;
  background: #f5f5f5;
}

/* Shared thumbnail base */
.img-thumb {
  border-radius: 14px;
  overflow: hidden;
  background: #f5f5f5;
}

.img-thumb-1 {
  grid-column: 2;
  grid-row: 1;
}

.img-thumb-2 {
  grid-column: 2;
  grid-row: 2;
  background: #888;
  position: relative;   /* needed for overlay */
}

/* Placeholder SVG fills its cell */
.placeholder {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* ── Count overlay (bottom-right thumb) ─────────────────── */
.overlay {
  position: absolute;
  inset: 0;
  background: rgba(80, 80, 80, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
}

.overlay-count {
  font-size: clamp(20px, 3.5vw, 32px);
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
}

/* ── Card footer ────────────────────────────────────────── */
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  background: #faf7f2;
}

.captre-heading-sm {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 150%;
  letter-spacing: 0;
  text-align: center;
}

/* ── Arrow button ───────────────────────────────────────── */
.arrow-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 50%;
  border: 1.8px solid
   #000000;
  background: transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}
/* ============================================================
   Person Card – person-card.css
   ============================================================ */

/* ── Card shell ─────────────────────────────────────────── */
.person-card {
  position: relative;
  width: 280px;                        /* adjust to your grid column width */
  border-radius: 20px;
  overflow: hidden;

  flex-shrink: 0;
}

/* ── Photo area ─────────────────────────────────────────── */
.person-card__photo {
  width: 100%;
  /* Tall portrait ratio matching the design */
  aspect-ratio: 3 / 4;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.person-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;         /* keeps face visible */
  display: block;
}

/* ── Yellow name badge — overlays bottom of photo ──────── */
.person-card__badge {
  position: absolute;
  border-radius: 4px;
  bottom: 0;
  left: 0;
  right: 0;
  background: #FACC15;                 /* yellow-400 — matches design exactly */
  margin: 8px 8px 16px 16px;
  padding: 8px;
}

/* Name */
.person-card__name {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #000000;
  margin: 0 0 2px 0;
}

/* Divider line between name and role */
.person-card__divider {
  border-top: 1.5px solid #374151;    /* dark gray line from design */
  margin-bottom: 8px;
}

/* Role */
.person-card__role {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.3;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #000000;
  margin: 0;
}



.arrow-btn:hover {
  background: #800000;
  border-color: #800000;
}

.arrow-btn:hover svg path {
  stroke: #ffffff;
}
/* ============================================================
   Footer Styles – Sunbeam Women's College
   ============================================================ */

/* --- Headings ------------------------------------------------ */
.footer-heading {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 28px;
  line-height: 150%;
  letter-spacing: 0;
  color: #1a1a1a;
}

/* --- Press Highlights Styles ------------------------------ */
.press-date {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 28px;
  line-height: 150%;
  letter-spacing: 0;
  color: #1a1a1a;
  margin: 0 0 8px 0;
}

.press-text {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 0;
  color: #6b7280;
  margin: 0;
}

.see-more-link {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 0;
  color: #2563eb;
  text-decoration: none;
}

.see-more-link:hover {
  text-decoration: underline;
}

/* Lighter label used under the college name ("Follow Us") */
.footer-subheading {
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #717171;
}

/* --- Nav link list ------------------------------------------ */
.footer-text {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 400;
  font-size: 15px;          /* was 20px */
  line-height: 1.6;
  letter-spacing: 0;
  color: #717171;
  /* FIXED: removed text-align: center – list links must be left-aligned */
  transition: color 0.2s ease;
}

.footer-text:hover {
  color: #800000;
}

/* --- Logo description paragraph ----------------------------- */
.body-large {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 400;
  font-size: 15px;          /* was 24px */
  line-height: 1.65;
  letter-spacing: 0;
  color: #717171;
  /* FIXED: removed vertical-align: middle (no effect on block elements) */
}

/* --- Contact info text -------------------------------------- */
.body-text {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 14px;          /* was 20px */
  line-height: 1.6;
  letter-spacing: 0;
  color: #555555;
  /* FIXED: removed vertical-align: middle (no effect on block elements) */
}

/* --- Social icon buttons ------------------------------------ */
.footer-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;              /* adequate touch target */
  height: 40px;
  border-radius: 50%;
  background-color: #800000;
  color: #ffffff;
  font-size: 15px;
  flex-shrink: 0;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.footer-social-btn:hover {
  background-color: #FFCB05;
  color: #1a1a1a;
  transform: translateY(-2px);
}

/* --- Copyright bar ------------------------------------------ */

/* Secondary (lighter / smaller) – wrapping text */
.footer-copyright-secondary {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 13px;          /* was 16px */
  line-height: 24px;        /* consistent with primary */
  letter-spacing: 0;
}

/* Primary (bolder) – college name & "All Rights Reserved" */
.footer-copyright-primary {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 13px;          /* FIXED: matched to secondary (was 18px, caused line-height clash) */
  line-height: 24px;        /* FIXED: matched to secondary (was 40px) */
  letter-spacing: 0;
}

