@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600;700;800&display=swap');

:root {
  --bg-color: #ffffff;
  --text-color: #000000;
  --iitm-maroon: #7a0c2e;
  --iitm-gold: #d6a64f;
  --nav-bg: var(--iitm-maroon);
  --btn-bg: var(--iitm-maroon);
  --btn-text: #ffffff;
  --active-link: #ffd873;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-color);
  min-height: 100vh;
  background: var(--bg-color);
  padding-top: 72px;
  display: flex;
  flex-direction: column;
}

body > main {
  flex: 1 0 auto;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Poppins", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--iitm-maroon);
}

.container {
  width: min(1100px, 90%);
  margin: 0 auto;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--nav-bg);
  backdrop-filter: blur(8px);
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}

.nav-content {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 2rem;
}

.logo {
  font-family: "Poppins", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #f5f5f5;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
}

.nav-links {
  list-style: none;
  display: flex;
  margin-left: auto;
  justify-content: flex-end;
  align-items: center;
  gap: 1.25rem;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  color: #f5f5f5;
  text-decoration: none;
  font-weight: 500;
  padding: 0.4rem 0.7rem;
  border-radius: 6px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-links a:hover {
  background-color: rgba(255, 255, 255, 0.12);
}

.nav-links a.active {
  color: var(--active-link);
  background-color: rgba(255, 216, 115, 0.18);
  font-weight: 700;
}

.submenu {
  list-style: none;
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 0;
  min-width: 180px;
  padding: 0.45rem;
  background-color: rgba(90, 8, 34, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.26);
  display: none;
}

.submenu li {
  width: 100%;
}

.submenu a {
  display: block;
  padding: 0.55rem 0.7rem;
  border-radius: 6px;
  white-space: nowrap;
}

.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu {
  display: block;
}

.conference-banner {
  background-size: cover;
  background-position: center;
  color: #000000;
  text-align: center;
  padding: 1.4rem 1rem 1.2rem;
  width: min(1200px, 92%);
  margin: 1rem auto 0;
  border-radius: 16px 16px 0 0;
  border: 1px solid rgba(29, 29, 46, 0.12);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.banner-content {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.banner-logos {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.banner-logos.logos-left {
  justify-content: flex-start;
}

.banner-logos.logos-right {
  justify-content: flex-end;
}

.banner-heading {
  text-align: center;
}

.conference-banner h1 {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  margin-bottom: 0.3rem;
  letter-spacing: 0.4px;
}

.conference-banner p {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  font-weight: 600;
}

@media (max-width: 760px) {
  .banner-content {
    grid-template-columns: 1fr;
  }

  .banner-logos.logos-left,
  .banner-logos.logos-right {
    justify-content: center;
  }
}

.hero {
  min-height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: min(1200px, 92%);
  margin: 0 auto 1.5rem;
}

.hero-photo {
  width: 100%;
  background-image: linear-gradient(180deg, rgba(20, 10, 20, 0.72), rgba(20, 10, 20, 0.72)), url("../img/chennai-landmarks.jpg");
  background-size: cover;
  background-position: center;
  color: #ffffff;
  padding: 1.25rem 1rem 2rem;
  border-radius: 0 0 16px 16px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-top: none;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.hero-content {
  max-width: 1200px;
  width: 100%;
  margin-top: 1.25rem;
}

.top-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.2rem;
  margin: 0 auto 0.85rem;
  flex-wrap: wrap;
}

.top-logos img,
.banner-logos img {
  width: 92px;
  height: 92px;
  object-fit: contain;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  padding: 0.35rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.edition {
  font-size: 1.05rem;
  letter-spacing: 1px;
  margin-bottom: 0.6rem;
  opacity: 0.95;
}

.hero-title {
  font-size: clamp(1.55rem, 3.6vw, 2.1rem);
  line-height: 1.2;
  margin-bottom: 0.65rem;
  color: #ffffff;
}

.conference-theme {
  font-weight: 700;
  letter-spacing: 0.5px;
}

.conference-theme .word {
  display: inline-block;
  margin-right: 0.28rem;
}

.conference-theme .initial {
  font-size: 1.2em;
  font-weight: 800;
  line-height: 1;
}

.conference-theme .i1 { color: var(--iitm-gold); }
.conference-theme .i2 { color: inherit; font-weight: 600; }
.conference-theme .i3 { color: var(--iitm-gold); }
.conference-theme .i4 { color: var(--iitm-gold); }
.conference-theme .i5 { color: var(--iitm-gold); }
.conference-theme .i6 { color: inherit; font-weight: 600; }
.conference-theme .i7 { color: var(--iitm-gold); }
.conference-theme .i8 { color: var(--iitm-gold); }

.subheadline {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
}

.event-dates {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.1rem;
}

.date-pill {
  display: inline-block;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.4);
  font-size: clamp(0.85rem, 1.8vw, 0.98rem);
  letter-spacing: 0.3px;
}

.date-pill strong {
  color: var(--iitm-gold);
  font-weight: 700;
}

.cta-btn {
  display: inline-block;
  padding: 0.9rem 1.8rem;
  border-radius: 999px;
  background-color: var(--btn-bg);
  color: var(--btn-text);
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
  letter-spacing: 0.5px;
  box-shadow: 0 10px 24px rgba(122, 12, 46, 0.3);
}

.cta-btn:hover {
  transform: translateY(-2px);
  opacity: 0.92;
  box-shadow: 0 14px 30px rgba(122, 12, 46, 0.38);
}

.hero-info-grid {
  margin-top: 1.25rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: stretch;
  gap: 0.95rem;
  text-align: left;
}

.hero-card {
  position: relative;
  background-color: #ffffff;
  border: 1px solid var(--iitm-gold);
  border-radius: 14px;
  padding: 1.4rem 1.2rem 1.2rem;
  color: #2b2b2b;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  overflow: hidden;
  box-sizing: border-box;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.hero-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--iitm-maroon), var(--iitm-gold));
}

.hero-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -24px rgba(122, 12, 46, 0.35);
}

.hero-card h3 {
  margin-bottom: 0.8rem;
  color: var(--iitm-maroon);
}

.hero-card p {
  line-height: 1.6;
  text-align: left;
  color: #4a4a4a;
  overflow-wrap: break-word;
  word-wrap: break-word;
  min-width: 0;
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 aspect ratio */
  border-radius: 10px;
  overflow: hidden;
  background-color: #000;
}

.video-wrapper iframe,
.video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  object-fit: cover;
}

.placeholder-section {
  padding: 3.25rem 0;
  background-color: #f7f4f1;
  text-align: center;
}

.placeholder-section.patrons-page {
  padding: 1.5rem 0;
}

.placeholder-section .container {
  max-width: 640px;
}

.placeholder-section h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 14px;
  margin-bottom: 14px;
}

.placeholder-section h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 46px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--iitm-maroon), var(--iitm-gold));
}

.title-underline {
  position: relative;
  display: inline-block;
  padding-bottom: 14px;
}

.title-underline::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 46px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--iitm-maroon), var(--iitm-gold));
}

.placeholder-section p {
  color: #4a4a4a;
}

.placeholder-section .organizers-container {
  width: 100%;
  max-width: 1100px;
  padding: 0 28px;
}

.organizer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 1.5rem;
}

.organizer-card {
  background: #ffffff;
  border-radius: 6px;
  padding: 10px;
  box-shadow: 0 1px 6px rgba(0,0,0,.1);
  display: flex;
  flex-direction: column;
  transition: transform .22s ease, box-shadow .22s ease;
}

.organizer-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -24px rgba(122,12,46,.35);
}

.organizer-card img {
  width: 100%;
  aspect-ratio: 9 / 8;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.organizer-card img.pos-mid {
  object-position: center 30%;
}

.organizer-photo-placeholder {
  width: 100%;
  aspect-ratio: 9 / 8;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(122,12,46,.12), rgba(122,12,46,.28));
  color: rgb(122,12,46);
  font-size: 44px;
  font-weight: 700;
  letter-spacing: .04em;
}

.organizer-info {
  flex: 1;
  margin-top: 10px;
  padding: 10px 8px;
  background: #f3f3f3;
}

.organizer-info h3 {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .02em;
  color: var(--text-color);
  margin: 0 0 4px;
}

.placeholder-section .organizer-info p {
  font-size: 14px;
  color: #777;
  margin: 0;
}

@media (max-width: 900px) {
  .organizer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .organizer-grid { grid-template-columns: 1fr; max-width: 300px; margin-inline: auto; }
}

.placeholder-section .patron-list-container {
  max-width: 1100px;
}

.patron-list-container .patron-grid {
  margin-top: 1.5rem;
  text-align: left;
}

#iitm-patrons .patron-grid {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 720px) {
  #iitm-patrons .patron-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .hero-info-grid {
    grid-template-columns: 1fr;
  }
}

  /*--------------------------------------------------------------
# Registration Fees
--------------------------------------------------------------*/

.fees-section {
  padding: 3rem 0 3.5rem;
}

.fees-section .section-heading {
  text-align: center;
  margin-bottom: 2rem;
}

.fees-section .section-heading h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.1rem);
  margin-bottom: 0.4rem;
}

.fees-section .section-subtitle {
  opacity: 0.9;
  font-size: 1rem;
}

.fees-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 1.1rem;
}

.fee-card {
  position: relative;
  background-color: #ffffff;
  border: 1px solid var(--iitm-gold);
  border-radius: 14px;
  padding: 1.75rem 1.2rem 1.5rem;
  text-align: center;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.fee-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 14px 14px 0 0;
  background: linear-gradient(90deg, var(--iitm-maroon), var(--iitm-gold));
}

.fee-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -24px rgba(122, 12, 46, 0.35);
}

.fee-card h3 {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
  min-height: 2.6em;
  color: #7a7468;
}

.fee-amount {
  font-size: 1.6rem;
  font-weight: 800;
  background: linear-gradient(100deg, var(--iitm-maroon), var(--iitm-gold) 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.fees-group {
  margin-top: 2.5rem;
}

.fees-group-title {
  text-align: center;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--iitm-maroon);
  margin-bottom: 1.2rem;
}

.fees-note.fees-group-note {
  margin-top: -0.4rem;
  margin-bottom: 1.5rem;
}

.fees-note-block {
  margin-top: 0.5rem;
}

.fees-note.fees-note-highlight {
  color: var(--iitm-maroon);
  font-weight: 700;
  opacity: 1;
}

.fees-note {
  margin-top: 1rem;
  font-size: 0.9rem;
  font-style: italic;
  text-align: center;
  opacity: 0.85;
}

#abstract-submission .section-heading {
  margin-bottom: 8.5rem;
}

.abstract-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.abstract-label {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--iitm-maroon);
  margin-bottom: 1.2rem;
  flex-grow: 1;
}

.abstract-card .cta-btn {
  padding: 0.7rem 1.4rem;
  font-size: 0.92rem;
}

@media (max-width: 860px) {
  .fees-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .fees-grid {
    grid-template-columns: 1fr;
  }
}


#sponsors2 .table3 {
  table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-left: 0px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  }
  tbody tr:nth-child(odd) {
    background-color: #faf7f3;
  }
  tbody tr:nth-child(even) {
    background-color: #ffffff;
  }
  tbody tr:hover {
    background-color: rgba(214, 166, 79, 0.14);
  }
  th, td {
    border: 1px solid #e4ddd6;
    padding: 10px 14px;
    text-align: center;
    color: #2b2b2b;
  }
  th {
    background: linear-gradient(100deg, var(--iitm-maroon), #9c1f42);
    color: #ffffff;
    font-weight: 600;
    letter-spacing: 0.03em;
    border: 1px solid rgba(255, 255, 255, 0.25);
  }
}

@media (max-width: 768px) {
  #sponsors2 .table3 {
    th, td {
      padding: 7px 8px;
      font-size: 0.9rem;
    }
  }
}

/* Hide checkbox */
#menu-toggle {
  display: none;
}

/* Hamburger */
.hamburger {
  display: none;
  font-size: 30px;
  color: #fff;
  cursor: pointer;
}

/* Mobile */
@media (max-width: 768px) {

  .nav-content {
    justify-content: space-between;
    position: relative;
  }

  .hamburger {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: rgba(90, 8, 34, 0.98);
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 0;
  }

  /* Show menu when checkbox is checked */
  #menu-toggle:checked ~ .nav-links {
    display: flex;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    width: 100%;
    padding: 12px 20px;
  }

  /* Submenus */
  .submenu {
    position: static;
    display: none;
    width: 100%;
    background: transparent;
    border: none;
    box-shadow: none;
  }

  /* Open submenu on hover (works on touch after tap in many browsers) */
  .has-submenu:hover > .submenu,
  .has-submenu:focus-within > .submenu {
    display: block;
  }
}

/*--------------------------------------------------------------
# Speakers Page
--------------------------------------------------------------*/

.speakers-page {
  --sp-bg-panel: #f7f4f1;
  --sp-bg-card: #ffffff;
  --sp-line: #e4ddd6;
  --sp-muted: #4a4a4a;
  --sp-faint: #8a8478;
  --sp-radius: 14px;
}

.speakers-page .lattice-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: .5;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(122,12,46,.16) 1px, transparent 1px),
    radial-gradient(circle at 1px 1px, rgba(214,166,79,.22) 1px, transparent 1px);
  background-size: 64px 64px, 64px 64px;
  background-position: 0 0, 32px 32px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, black 40%, transparent 85%);
}

.speakers-page .wrap {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px 100px;
}

/* ---------- speaker hero ---------- */
.speakers-page .speaker-hero {
  padding: 76px 0 48px;
  text-align: center;
  border-bottom: 1px solid var(--sp-line);
  margin-bottom: 52px;
}

.speakers-page .eyebrow {
  font-size: 12.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--iitm-maroon);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}

.speakers-page .eyebrow::before,
.speakers-page .eyebrow::after {
  content: "";
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--iitm-gold));
}

.speakers-page .eyebrow::after {
  background: linear-gradient(90deg, var(--iitm-gold), transparent);
}

.speakers-page h1.title {
  font-weight: 700;
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.05;
  margin: 0 0 18px;
  letter-spacing: -.02em;
  color: var(--iitm-maroon);
}

.speakers-page h1.title .grad {
  background: linear-gradient(100deg, var(--iitm-maroon), var(--iitm-gold) 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.speakers-page .sub {
  max-width: 560px;
  margin: 0 auto;
  color: var(--sp-muted);
  font-size: 16px;
  line-height: 1.6;
}

.speakers-page .stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.speakers-page .stat { text-align: center; }

.speakers-page .stat .num {
  font-size: 30px;
  font-weight: 600;
  color: var(--text-color);
}

.speakers-page .stat .num span { color: var(--iitm-maroon); }

.speakers-page .stat .lbl {
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sp-faint);
  margin-top: 4px;
}

/* ---------- controls ---------- */
.speakers-page .controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}

.speakers-page .tab {
  font-size: 13px;
  letter-spacing: .04em;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--sp-line);
  background: var(--sp-bg-panel);
  color: var(--sp-muted);
  cursor: pointer;
  transition: all .18s ease;
}

.speakers-page .tab:hover { color: var(--text-color); border-color: #c9beb0; }

.speakers-page .tab.active {
  color: #ffffff;
  background: linear-gradient(100deg, var(--iitm-maroon), #9c1f42);
  border-color: transparent;
  font-weight: 500;
}

/* ---------- section label ---------- */
.speakers-page .section-label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 56px 0 26px;
}

.speakers-page .section-label h2 {
  font-size: 14px;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--iitm-maroon);
  margin: 0;
  white-space: nowrap;
}

.speakers-page .section-label .rule {
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, var(--sp-line), transparent);
}

.speakers-page .section-label .count {
  font-size: 12px;
  color: var(--sp-faint);
}

/* ---------- grid & card ---------- */
.speakers-page .grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.speakers-page .card {
  position: relative;
  background: var(--sp-bg-card);
  border: 1px solid var(--sp-line);
  border-radius: var(--sp-radius);
  padding: 24px;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
}

.speakers-page .card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--iitm-maroon), var(--iitm-gold));
  opacity: 0;
  transition: opacity .22s ease;
}

.speakers-page .card:hover {
  transform: translateY(-3px);
  border-color: #c9beb0;
  box-shadow: 0 18px 40px -22px rgba(122,12,46,.28);
}

.speakers-page .card:hover::before { opacity: 1; }

.speakers-page .card-top {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}

.speakers-page .avatar {
  flex: 0 0 auto;
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 600;
  font-size: 16px;
  color: #ffffff;
  background: conic-gradient(from 200deg, var(--iitm-maroon), var(--iitm-gold), var(--iitm-maroon));
}

.speakers-page .card-name-wrap { min-width: 0; }

.speakers-page .card-name {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.28;
  margin: 0 0 4px;
  color: var(--text-color);
}

.speakers-page .badge {
  display: inline-block;
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 5px;
  border: 1px solid;
}

.speakers-page .badge.intl { color: var(--iitm-maroon); border-color: rgba(122,12,46,.3); background: rgba(122,12,46,.06); }
.speakers-page .badge.nat { color: #8a6a1a; border-color: rgba(214,166,79,.5); background: rgba(214,166,79,.14); }

.speakers-page .card-affil {
  font-size: 13.5px;
  color: var(--sp-muted);
  line-height: 1.5;
  margin: 0 0 16px;
  min-height: 20px;
}

.speakers-page .card-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px dashed var(--sp-line);
}

.speakers-page .card-email,
.speakers-page .card-website {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--sp-faint);
  text-decoration: none;
  word-break: break-all;
  transition: color .18s ease;
}

.speakers-page .card-email:hover,
.speakers-page .card-website:hover { color: var(--iitm-maroon); }
.speakers-page .card-email svg,
.speakers-page .card-website svg { flex: 0 0 auto; opacity: .7; }

.speakers-page .no-email {
  font-size: 12px;
  color: var(--sp-faint);
  padding-top: 14px;
  border-top: 1px dashed var(--sp-line);
}

@media (max-width: 900px) {
  .speakers-page .grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .speakers-page .speaker-hero { padding: 56px 0 36px; }
  .speakers-page .stats { gap: 30px; }
  .speakers-page .grid { grid-template-columns: 1fr; }
}


/*--------------------------------------------------------------
# SRM / IITM Patrons Page
--------------------------------------------------------------*/

.patrons-page {
  --pt-line: #e4ddd6;
  --pt-muted: #4a4a4a;
  --pt-faint: #8a8478;
  --pt-bg-panel: #f7f4f1;
}

.patrons-page .lattice-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: .5;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(122,12,46,.16) 1px, transparent 1px),
    radial-gradient(circle at 1px 1px, rgba(214,166,79,.22) 1px, transparent 1px);
  background-size: 64px 64px, 64px 64px;
  background-position: 0 0, 32px 32px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, black 40%, transparent 85%);
}

.patrons-page .wrap {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 28px 32px;
}

/* ---------- hero ---------- */
.patrons-page .patrons-hero {
  padding: 24px 0 16px;
  text-align: center;
  margin-bottom: 28px;
}

.patrons-page .eyebrow {
  font-size: 12.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--iitm-maroon);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}

.patrons-page .eyebrow::before,
.patrons-page .eyebrow::after {
  content: "";
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--iitm-gold));
}

.patrons-page .eyebrow::after {
  background: linear-gradient(90deg, var(--iitm-gold), transparent);
}

.patrons-page h1.title {
  font-weight: 700;
  font-size: 36px;
  line-height: 1.08;
  margin: 0 0 16px;
  letter-spacing: -.02em;
  color: var(--iitm-maroon);
}

.patrons-page h1.title .grad {
  background: linear-gradient(100deg, var(--iitm-maroon), var(--iitm-gold) 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.patrons-page .sub {
  max-width: 560px;
  margin: 0 auto;
  color: var(--pt-muted);
  font-size: 16px;
  line-height: 1.6;
}

/* ---------- section label ---------- */
.patrons-page .patron-section {
  margin-bottom: 64px;
}

.patrons-page .section-label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 30px;
}

.patrons-page .section-label h2 {
  font-size: 14px;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--iitm-maroon);
  margin: 0;
  white-space: nowrap;
}

.patrons-page .section-label .rule {
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, var(--pt-line), transparent);
}

/* ---------- chief patrons: featured cards ---------- */
.patrons-page .patron-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.patrons-page .patron-card {
  position: relative;
  text-align: center;
  background: #ffffff;
  border: 1px solid var(--iitm-gold);
  border-radius: 16px;
  padding: 34px 24px 28px;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
  transition: transform .22s ease, box-shadow .22s ease;
}

.patrons-page .patron-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  border-radius: 16px 16px 0 0;
  background: linear-gradient(90deg, var(--iitm-maroon), var(--iitm-gold));
}

.patrons-page .patron-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -24px rgba(122,12,46,.35);
}

.patrons-page .patron-avatar {
  width: 68px; height: 68px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 20px;
  color: #ffffff;
  background: conic-gradient(from 200deg, var(--iitm-maroon), var(--iitm-gold), var(--iitm-maroon));
  box-shadow: 0 0 0 4px var(--pt-bg-panel);
}

.patrons-page .patron-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-color);
  margin: 0 0 8px;
}

.patrons-page .patron-role {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--iitm-maroon);
  margin: 0 0 2px;
}

.patrons-page .patron-org {
  font-size: 12.5px;
  color: var(--pt-faint);
  letter-spacing: .04em;
  text-transform: uppercase;
  margin: 0;
}

/* ---------- advisory committee: list rows ---------- */
.patrons-page .advisor-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--pt-line);
}

.patrons-page .advisor-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 10px;
  border-bottom: 1px solid var(--pt-line);
  transition: background-color .18s ease;
}

.patrons-page .advisor-row:hover {
  background-color: var(--pt-bg-panel);
}

.patrons-page .advisor-avatar {
  flex: 0 0 auto;
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 600;
  font-size: 13px;
  color: var(--iitm-maroon);
  background: rgba(122,12,46,.08);
  border: 1px solid rgba(122,12,46,.25);
}

.patrons-page .advisor-info { min-width: 0; }

.patrons-page .advisor-name {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--text-color);
  margin: 0 0 2px;
}

.patrons-page .advisor-role {
  font-size: 13px;
  color: var(--pt-muted);
  margin: 0;
}

/* ---------- advisory committee: card variant ---------- */
.patrons-page .advisor-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 18px;
}

.patrons-page .advisor-card {
  padding: 28px 18px 22px;
}

.patrons-page .advisor-card .patron-avatar {
  width: 56px;
  height: 56px;
  font-size: 16px;
  margin-bottom: 14px;
}

.patrons-page .advisor-card .patron-name {
  font-size: 15.5px;
  min-height: 2.6em;
}

.patrons-page .advisor-card .patron-role {
  font-size: 12.5px;
  min-height: 2.4em;
}

@media (max-width: 560px) {
  .patrons-page .patrons-hero { padding: 56px 0 36px; }
  .patrons-page .patron-grid { grid-template-columns: 1fr; }
  .patrons-page .advisor-row { align-items: flex-start; }
}

/*--------------------------------------------------------------
# Site Footer
--------------------------------------------------------------*/

.site-footer {
  background-color: #ffffff;
  color: var(--iitm-maroon);
  text-align: center;
  padding: 26px 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  border-top: 1px solid rgba(122, 12, 46, 0.18);
}
/*--------------------------------------------------------------
# Workshop Page
--------------------------------------------------------------*/

.workshop-page .site-footer {
  position: relative;
  z-index: 1;
}

.workshop-page .day-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.workshop-page .day-card {
  position: relative;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  background: #ffffff;
  border: 1px solid var(--iitm-gold);
  border-radius: 16px;
  padding: 26px 28px;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
  transition: transform .22s ease, box-shadow .22s ease;
}

.workshop-page .day-card::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: 0; width: 4px;
  border-radius: 16px 0 0 16px;
  background: linear-gradient(180deg, var(--iitm-maroon), var(--iitm-gold));
}

.workshop-page .day-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -24px rgba(122,12,46,.35);
}

.workshop-page .day-marker {
  flex: 0 0 84px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 0;
  border-radius: 12px;
  color: #ffffff;
  background: conic-gradient(from 200deg, var(--iitm-maroon), var(--iitm-gold), var(--iitm-maroon));
}

.workshop-page .day-label {
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.workshop-page .day-num {
  font-family: "Poppins", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.1;
}

.workshop-page .day-date {
  font-size: 12px;
  font-weight: 600;
}

.workshop-page .day-body h3 {
  font-size: 19px;
  margin: 4px 0 10px;
}

.workshop-page .day-body p {
  color: var(--pt-muted);
  font-size: 15px;
  line-height: 1.65;
}

@media (max-width: 560px) {
  .workshop-page .wrap { padding: 0 16px 32px; }
  .workshop-page .day-card { flex-direction: column; gap: 16px; padding: 22px 20px; }
  .workshop-page .day-marker { flex: none; flex-direction: row; gap: 8px; padding: 8px 14px; align-items: baseline; }
  .workshop-page .day-num { font-size: 22px; }
}

/* Contact page */
.contact-card {
  margin: 28px auto 0;
  max-width: 460px;
  padding: 28px 24px;
  background: #ffffff;
  border: 1px solid #e4ddd6;
  border-top: 4px solid var(--iitm-maroon);
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.contact-card h3 {
  margin: 0 0 10px;
  color: var(--iitm-maroon);
}

.contact-card address {
  font-style: normal;
  color: #4a4a4a;
  line-height: 1.6;
  margin-bottom: 16px;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 16px 0 0;
  border-top: 1px solid #e4ddd6;
  line-height: 1.9;
}

.contact-list span {
  font-weight: 600;
  color: #000000;
}

.contact-list a {
  color: var(--iitm-maroon);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-list a:hover {
  text-decoration: underline;
}

/*--------------------------------------------------------------
# Sponsors Page – Sponsorship Tiers
--------------------------------------------------------------*/

.placeholder-section .sponsors-container {
  max-width: 1140px;
  padding: 0 20px;
}

.sponsors-intro {
  max-width: 720px;
  margin: 0 auto 36px;
}

.tier-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 32px;
  text-align: left;
}

/* 3 cards on the first row, 2 centred on the second */
.tier-grid .tier-card {
  grid-column: span 2;
}

.tier-grid .tier-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.tier-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 22px rgba(122, 12, 46, 0.12);
  transition: transform .2s ease, box-shadow .2s ease;
}

.tier-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(122, 12, 46, 0.2);
}

.tier-head {
  background: var(--iitm-maroon);
  color: #ffffff;
  text-align: center;
  padding: 26px 16px 22px;
}

.tier-name {
  margin: 0 0 8px;
  font-size: 1.6rem;
  font-weight: 500;
}

.tier-platinum .tier-name { color: #c9d3d6; }
.tier-diamond  .tier-name { color: #b9f2ff; }
.tier-gold     .tier-name { color: var(--iitm-gold); }
.tier-silver   .tier-name { color: #d9d9d9; }
.tier-bronze   .tier-name { color: #d99a5b; }

.placeholder-section .tier-price {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
}

.placeholder-section .tier-gst {
  margin: 6px 0 0;
  font-size: .95rem;
  color: rgba(255, 255, 255, 0.85);
}

.tier-benefits {
  list-style: none;
  margin: 0;
  padding: 8px 18px 20px;
  flex: 1;
}

.tier-benefits li {
  position: relative;
  padding: 12px 0 12px 30px;
  border-bottom: 1px solid #e4ddd6;
  color: #4a4a4a;
  line-height: 1.5;
}

.tier-benefits li:last-child {
  border-bottom: 0;
}

.tier-benefits li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 13px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: #3f9b4b;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  line-height: 19px;
  text-align: center;
}

.tier-size {
  color: var(--iitm-maroon);
  font-weight: 600;
}

@media (max-width: 900px) {
  .tier-grid { grid-template-columns: 1fr; gap: 22px; }
  .tier-grid .tier-card,
  .tier-grid .tier-card:nth-child(4) { grid-column: auto; }
}

@media (max-width: 600px) {
  .placeholder-section .tier-price { font-size: 1.7rem; }
}

/* Contact page – convenor cards (3 across) */
.organizer-grid.contact-organizers {
  grid-template-columns: repeat(3, 1fr);
  max-width: 900px;
  margin-inline: auto;
}

@media (max-width: 900px) {
  .organizer-grid.contact-organizers { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .organizer-grid.contact-organizers { grid-template-columns: 1fr; max-width: 300px; }
}

.organizer-info .organizer-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--iitm-maroon);
  text-decoration: none;
  transition: opacity 0.2s;
}

.organizer-info .organizer-link:hover {
  opacity: 0.7;
}

/* Sponsors page – contact convenors */
.sponsors-contact-title {
  margin-top: 64px;
}

/* ===== Flash news ticker ===== */
.flash-news {
  display: flex;
  align-items: stretch;
  width: min(1200px, 92%);
  margin: 1rem auto 0;
  background: #fff8e6;
  border: 1px solid var(--iitm-gold);
  border-radius: 10px;
  overflow: hidden;
  font-size: 0.95rem;
}

.flash-label {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding: 0.6rem 1rem;
  background: var(--iitm-maroon);
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.8rem;
}

.flash-track {
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.flash-items {
  display: flex;
  gap: 3rem;
  padding-left: 3rem;
  white-space: nowrap;
  animation: flash-scroll 28s linear infinite;
}

.flash-news:hover .flash-items,
.flash-news:focus-within .flash-items {
  animation-play-state: paused;
}

.flash-items a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-color);
  text-decoration: none;
}

.flash-items a:hover {
  color: var(--iitm-maroon);
  text-decoration: underline;
}

.flash-items strong {
  color: var(--iitm-maroon);
}

.flash-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d62828;
  animation: flash-blink 1s ease-in-out infinite;
}

@keyframes flash-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes flash-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

@media (max-width: 600px) {
  .flash-label { padding: 0.5rem 0.6rem; font-size: 0.7rem; }
  .flash-news { font-size: 0.85rem; }
}

@media (prefers-reduced-motion: reduce) {
  .flash-items { animation: none; flex-direction: column; gap: 0.3rem; padding: 0.5rem 1rem; white-space: normal; }
  .flash-items a[aria-hidden="true"] { display: none; }
  .flash-dot { animation: none; }
}

.flash-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.flash-items a.flash-cta {
  padding: 0.15rem 0.7rem;
  border-radius: 999px;
  background: var(--iitm-maroon);
  color: #fff;
  font-weight: 600;
}

.flash-items a.flash-cta:hover {
  background: #5a0921;
  color: #fff;
  text-decoration: none;
}

@media (prefers-reduced-motion: reduce) {
  .flash-item[aria-hidden="true"] { display: none; }
}
