:root {
  --primary: #0f4c45;
  --primary-deep: #0a3833;
  --secondary: #1f7a68;
  --accent: #d9a441;
  --accent-soft: #f4e2b5;
  --light: #f5f7f6;
  --white: #ffffff;
  --dark: #15201d;
  --muted: #61706b;
  --border: #d8e2de;
  --card: rgba(255, 255, 255, 0.9);
  --shadow-sm: 0 8px 24px rgba(12, 35, 30, 0.07);
  --shadow-md: 0 18px 40px rgba(12, 35, 30, 0.12);
  --radius: 18px;
  --radius-lg: 24px;
  --max-width: 1180px;
  --section-space: 88px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.65;
  color: var(--dark);
  background:
    radial-gradient(circle at top left, rgba(217, 164, 65, 0.08), transparent 25%),
    radial-gradient(circle at top right, rgba(31, 122, 104, 0.08), transparent 22%),
    var(--light);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--secondary);
  text-decoration: none;
}

.container {
  width: min(92%, var(--max-width));
  margin: 0 auto;
}

.section {
  position: relative;
  padding: var(--section-space) 0;
}

.section-badge {
  display: inline-block;
  margin-bottom: 16px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(15, 76, 69, 0.08);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.section-header {
  max-width: 840px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-title {
  margin-bottom: 14px;
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 4vw, 2.9rem);
  line-height: 1.15;
  color: var(--primary);
}

.section-subtitle {
  margin: 0 auto 48px;
  font-size: 1.02rem;
  color: var(--muted);
}

.card,
.glass-card {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
}

.card {
  padding: 30px;
}

.card h3 {
  margin-bottom: 14px;
  font-size: 1.22rem;
  color: var(--primary);
}

.card p,
.card li {
  color: var(--dark);
}

.card ul {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  padding-left: 18px;
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.84);
  border-bottom: 1px solid rgba(216, 226, 222, 0.8);
  backdrop-filter: blur(14px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.05;
  color: var(--primary);
}

.logo-icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  object-fit: cover;
}

.logo-text {
  display: block;
}

.logo-top {
  display: block;
  margin-bottom: 4px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.logo-main {
  font-size: 1.22rem;
  font-weight: 800;
}

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

.nav-links a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--primary);
}

.menu-toggle {
  display: none;
  border: none;
  background: none;
  font-size: 1.7rem;
  color: var(--primary);
  cursor: pointer;
}

/* Hero Carousel */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 88vh;
  padding: 110px 0 90px;
  overflow: hidden;
  color: var(--white);
}

.hero-carousel {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 1s ease, transform 6s ease;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(120deg, rgba(7, 30, 27, 0.72), rgba(15, 76, 69, 0.58)),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0.25));
}

.hero-wrap {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.hero-content {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.hero-banner-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 28px rgba(6, 22, 20, 0.22);
}

.hero-banner-logo img {
  width: min(320px, 68vw);
  height: auto;
}

.hero-kicker {
  display: inline-block;
  margin-bottom: 14px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #f4d48a;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-title-single {
  margin-bottom: 14px;
  font-family: "Playfair Display", serif;
  font-size: clamp(2.8rem, 5vw, 4.7rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #ffffff;
  white-space: nowrap;
}

.hero-subtitle-line {
  margin-bottom: 18px;
  font-size: 1.18rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}

.hero-description {
  max-width: 820px;
  margin: 0 auto 28px;
  font-size: 1.06rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
}

.hero-content p {
  max-width: 760px;
  margin: 0 auto 26px;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.94);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-meta span {
  padding: 11px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.95rem;
  font-weight: 600;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 168px;
  padding: 13px 22px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  transition: 0.25s ease;
}

.btn-primary {
  background: var(--accent);
  color: #232323;
  box-shadow: 0 10px 20px rgba(217, 164, 65, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
}

.hero-note {
  font-size: 0.96rem;
  font-weight: 600;
  color: #f3dfb0;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  color: white;
  font-size: 2rem;
  cursor: pointer;
  transform: translateY(-50%);
  backdrop-filter: blur(4px);
}

.hero-arrow:hover {
  background: rgba(255, 255, 255, 0.28);
}

.hero-arrow-left {
  left: 24px;
}

.hero-arrow-right {
  right: 24px;
}

.hero-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  z-index: 4;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.hero-dot.active {
  background: white;
  transform: scale(1.15);
}

/* Gallery Carousel */
.gallery-carousel-wrap {
  position: relative;
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.gallery-carousel {
  position: relative;
  width: 100%;
  height: 100%;
}

.gallery-slide {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 1s ease, transform 6s ease;
}

.gallery-slide.active {
  opacity: 1;
  transform: scale(1);
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 10;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
  transform: translateY(-50%);
  backdrop-filter: blur(4px);
  transition: background 0.3s ease;
}

.gallery-arrow:hover {
  background: rgba(255, 255, 255, 0.35);
}

.gallery-arrow-left {
  left: 20px;
}

.gallery-arrow-right {
  right: 20px;
}

.gallery-dots {
  position: absolute;
  bottom: 22px;
  left: 50%;
  z-index: 10;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}

.gallery-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.gallery-dot.active {
  background: white;
  transform: scale(1.15);
}

/* Layout Blocks */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.highlight-card {
  padding: 28px 24px;
  text-align: center;
}

.highlight-card .number {
  margin-bottom: 8px;
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
}

.highlight-card h3 {
  margin-bottom: 8px;
  font-size: 1.06rem;
  color: var(--dark);
}

.highlight-card p {
  font-size: 0.95rem;
  color: var(--muted);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 26px;
  align-items: stretch;
}

.speakers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.speaker-card {
  display: flex;
  flex-direction: column;
  min-height: auto;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow-sm);
}

.speaker-image.placeholder {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 220px;
  background:
    linear-gradient(135deg, rgba(15, 76, 69, 0.14), rgba(217, 164, 65, 0.18)),
    linear-gradient(180deg, #eef3f1, #f8faf9);
}

.speaker-image.placeholder::before {
  content: "";
  position: absolute;
  top: 44px;
  width: 92px;
  height: 92px;
  border: 3px solid rgba(15, 76, 69, 0.22);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
}

.speaker-image.placeholder::after {
  content: "";
  position: absolute;
  bottom: 36px;
  width: 148px;
  height: 78px;
  border: 3px solid rgba(15, 76, 69, 0.18);
  border-radius: 80px 80px 18px 18px;
  background: rgba(255, 255, 255, 0.36);
}

.speaker-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px 22px 24px;
}

.speaker-content h3 {
  margin-bottom: 8px;
  font-size: 1.15rem;
  color: var(--primary);
}

.speaker-name-button {
  padding: 0;
  border: none;
  background: none;
  color: inherit;
  font: inherit;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease;
}

.speaker-name-button:hover,
.speaker-name-button:focus-visible {
  color: var(--secondary);
}

.speaker-name-button:focus-visible {
  outline: 2px solid rgba(31, 122, 104, 0.35);
  outline-offset: 4px;
  border-radius: 6px;
}

.speaker-content .affiliation {
  margin-bottom: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--secondary);
}

.speaker-content p {
  margin-bottom: 14px;
  font-size: 0.95rem;
  color: var(--muted);
}

.speaker-tag {
  display: inline-block;
  align-self: flex-start;
  margin-top: auto;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(15, 76, 69, 0.08);
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--primary);
}

.abstract-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.abstract-modal.is-open {
  display: flex;
}

.abstract-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 25, 23, 0.62);
  backdrop-filter: blur(4px);
}

.abstract-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  max-height: min(88vh, 900px);
  overflow-y: auto;
  padding: 34px 30px 28px;
  background: var(--white);
  border: 1px solid rgba(216, 226, 222, 0.95);
  border-radius: 24px;
  box-shadow: var(--shadow-md);
}

.abstract-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(15, 76, 69, 0.08);
  color: var(--primary);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.abstract-modal__eyebrow {
  margin-bottom: 10px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--secondary);
}

.abstract-modal__speaker {
  margin-bottom: 8px;
  padding-right: 44px;
  font-family: "Playfair Display", serif;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  line-height: 1.15;
  color: var(--primary);
}

.abstract-modal__title {
  margin-bottom: 18px;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--dark);
}

.abstract-modal__body p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--muted);
}

body.modal-open {
  overflow: hidden;
}

/* Schedule */
.schedule-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 10px;
}

.schedule-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
}

.schedule-card-header {
  padding: 18px 22px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  color: var(--white);
}

.schedule-card-header h3 {
  margin-bottom: 4px;
  font-size: 1.2rem;
}

.schedule-card-header p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.88);
}

.schedule-body {
  padding: 22px;
}

.schedule-list {
  display: grid;
  gap: 12px;
  list-style: none;
}

.schedule-list li {
  padding: 12px 14px;
  background: #f8fbfa;
  border: 1px solid #edf3f0;
  border-radius: 14px;
  font-size: 0.95rem;
  color: var(--dark);
}

.schedule-note {
  margin-top: 26px;
  padding: 18px 20px;
  background: rgba(217, 164, 65, 0.08);
  border: 1px solid rgba(217, 164, 65, 0.22);
  border-radius: 18px;
  font-size: 0.95rem;
  color: #5a4a22;
}

.schedule-block {
  margin-top: 18px;
  margin-bottom: 40px;
}

.schedule-week-title {
  margin-bottom: 14px;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
}

.schedule-table-wrap {
  overflow-x: auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
}

.schedule-grid {
  width: 100%;
  min-width: 920px;
  border-collapse: collapse;
}

.schedule-grid th,
.schedule-grid td {
  padding: 14px 12px;
  border: 1px solid var(--border);
  text-align: center;
  vertical-align: middle;
  font-size: 0.94rem;
}

.schedule-grid thead th {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  color: var(--white);
  font-weight: 700;
}

.schedule-grid tbody td:first-child,
.schedule-grid thead th:first-child {
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
}

.schedule-grid tbody tr:nth-child(even) {
  background: #fafcfb;
}

.schedule-grid td:empty::after {
  content: "—";
  color: #b7c3be;
}

/* Registration */
#registration {
  position: relative;
  margin-bottom: 60px;
  background:
    linear-gradient(135deg, rgba(10, 56, 51, 0.72), rgba(31, 122, 104, 0.68)),
    url("https://images.unsplash.com/photo-1609276804051-8c5e906cc430?q=80&w=774&auto=format&fit=crop&ixlib=rb-4.0.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

#registration .section-header,
#registration .section-title,
#registration .section-subtitle {
  color: var(--white);
}

.registration-box {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  padding: 54px 42px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 28px;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
  text-align: center;
  color: var(--white);
}

.registration-box h3 {
  margin-bottom: 18px;
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--white);
}

.registration-box p {
  max-width: 760px;
  margin: 0 auto 28px;
  font-size: 1.02rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.94);
}

.registration-box .btn {
  margin: 0 auto;
}

/* Venue */
#venue {
  position: relative;
  margin-bottom: 60px;
  background:
    linear-gradient(135deg, rgba(15, 76, 69, 0.8), rgba(31, 122, 104, 0.75)),
    url("https://nehu.ac.in/public/assets/photo_gallery/IMG_0527.jpg") center / cover no-repeat;
}

#venue .section-title {
  color: var(--white);
}

#venue .section-subtitle {
  color: rgba(255, 255, 255, 0.85);
}

.venue-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

.map-box iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
  border-radius: 22px;
  box-shadow: var(--shadow-sm);
}

/* Committees */
.organizers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.organizer-card {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}

.organizer-card h3 {
  margin-bottom: 8px;
  font-size: 1.12rem;
  color: var(--primary);
}

.organizer-card p {
  margin-bottom: 6px;
  font-size: 0.96rem;
  color: var(--muted);
}

/* Contact */
.contact-card {
  max-width: 840px;
  margin: 0 auto;
  padding: 34px;
  text-align: center;
}

.contact-card h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
  color: var(--primary);
}

/* Footer */
footer {
  margin-top: 24px;
  padding: 34px 0;
  background: #0d211e;
  color: rgba(255, 255, 255, 0.9);
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-content strong {
  color: #fff;
}

.footer-content a {
  color: #f2d28d;
}

/* Responsive */
@media (max-width: 1080px) {
  .about-grid,
  .venue-grid,
  .schedule-tabs {
    grid-template-columns: 1fr;
  }

  .highlights-grid,
  .speakers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 980px) {
  .hero-title-single {
    white-space: normal;
    font-size: clamp(2.3rem, 6vw, 3.7rem);
  }

  .hero-subtitle-line {
    font-size: 1.05rem;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 78vh;
  }

  .hero-arrow {
    top: auto;
    bottom: 74px;
    width: 38px;
    height: 38px;
    font-size: 1.35rem;
    transform: none;
  }

  .hero-arrow-left {
    left: 10px;
  }

  .hero-arrow-right {
    right: 10px;
  }
}

@media (max-width: 760px) {
  :root {
    --section-space: 74px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 76px;
    right: 4%;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    width: 92%;
    padding: 16px;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
  }

  .nav-links.show {
    display: flex;
  }

  .highlights-grid,
  .speakers-grid,
  .organizers-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 82px 0 64px;
  }

  .hero-title-single {
    font-size: 2.25rem;
    white-space: normal;
  }

  .hero-banner-logo {
    margin-bottom: 12px;
    padding: 10px 14px;
    border-radius: 14px;
  }

  .hero-banner-logo img {
    width: min(260px, 74vw);
  }

  .hero-description {
    font-size: 0.98rem;
  }

  .section-header {
    margin-bottom: 38px;
  }

  .card,
  .contact-card {
    padding: 24px;
  }

  .speaker-card {
    min-height: auto;
  }

  .registration-box {
    padding: 42px 24px;
    border-radius: 22px;
  }

  .registration-box h3 {
    font-size: 2rem;
  }

  .registration-box p {
    font-size: 0.98rem;
  }

  .abstract-modal {
    padding: 16px;
  }

  .abstract-modal__dialog {
    padding: 28px 20px 22px;
  }

  .abstract-modal__speaker {
    font-size: 1.6rem;
  }
}