
/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #0057ff;
  --primary-dark: #003fcc;
  --primary-darker: #002a88;
  --primary-light: #d5d5d5;
  --neutral-900: #111827;
  --neutral-800: #434b56;
  --neutral-700: #374151;
  --neutral-600: #4b5563;
  --neutral-500: #6b7280;
  --neutral-400: #9ca3af;
  --neutral-300: #d1d5db;
  --neutral-200: #e5e7eb;
  --neutral-100: #f5f7fb;
  --accent-soft: #fdfdfd;
  --shadow-sm: 0 2px 8px rgba(17, 24, 39, 0.08);
  --shadow-md: 0 12px 40px rgba(17, 24, 39, 0.08);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",
    "Ubuntu", "Cantarell", sans-serif;
  line-height: 1.6;
  color: var(--neutral-700);
  background: linear-gradient(180deg, #f3f6ff 0%, #d8e2ff 100%);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
  position: relative;
  z-index: 1;
  scroll-margin-top: 120px;
  background-color: #f6f6f6;
}

.section-intro {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.section-kicker,
.event-overview__eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.section-intro .section-title {
  margin-bottom: 0;
}

.section-intro--center {
  align-items: center;
  text-align: center;
}

.section-intro--center .section-kicker {
  align-self: center;
}

.section-intro--center .section-title {
  text-align: center;
}

.section-intro--left {
  align-items: flex-start;
  text-align: left;
}

.section-intro--left .section-kicker {
  align-self: flex-start;
}

.section-intro--left .section-title {
  text-align: left;
}

.section-intro--collapsible {
  position: relative;
  width: 100%;
  padding: clamp(1rem, 2vw, 1.5rem) clamp(3.25rem, 5vw, 3.75rem)
    clamp(1rem, 2vw, 1.5rem) clamp(1.25rem, 3vw, 1.75rem);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
  transition: color 0.2s ease, background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.section-intro--collapsible:hover,
.section-intro--collapsible:focus-within {
  color: var(--primary-darker);
  background: #ffffff;
  box-shadow: var(--shadow-md);
}

.section-intro--collapsible-indicator {
  position: relative;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--neutral-500);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: auto;
  min-width: clamp(180px, 48vw, 260px);
  margin: 0.75rem auto 0;
  padding: 0.85rem 1.5rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  appearance: none;
  text-align: center;
  transition: color 0.2s ease, background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.section-intro--collapsible-indicator::after {
  content: "";
  margin-left: 0;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  transform: rotate(45deg);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.section-intro--collapsible-indicator:hover,
.section-intro--collapsible-indicator:focus-visible {
  color: var(--primary-darker);
  background: transparent;
}

.section-intro--collapsible-indicator:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 4px;
}

.section-intro--collapsible-indicator:hover::after,
.section-intro--collapsible-indicator:focus-visible::after {
  border-color: var(--primary-dark);
}

.section-intro--collapsible.is-open {
  background: #ffffff;
  box-shadow: var(--shadow-md);
}

.section-intro--collapsible.is-open .section-intro--collapsible-indicator {
  color: var(--primary);
  background: transparent;
}

.section-intro--collapsible.is-open .section-intro--collapsible-indicator::after {
  transform: rotate(-135deg);
  border-color: var(--primary-dark);
}

.section-kicker--light {
  color: rgba(255, 255, 255, 0.85);
}

/* Event Overview Section */
.event-overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.event-overview-section {
  padding: 80px 0;
  background: var(--accent-soft);
}

.event-text-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.event-main-title {
  font-size: 2.35rem;
  font-weight: 700;
  color: var(--neutral-900);
  margin-bottom: 16px;
}

.event-content-blocks {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.event-theme-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-sm);
}

.event-theme-title {
  font-size: 1.65rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: -0.01em;
}

.event-theme-description {
  color: var(--neutral-600);
  line-height: 1.7;
  font-size: 1.05rem;
}

.event-date-block {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 16px;
  padding: 24px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-sm);
}

.event-date-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-top: 4px;
}

.event-date-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.event-date-info h3 {
  font-size: 1.65rem;
  font-weight: 600;
  color: var(--neutral-900);
}

.event-date-info p {
  color: var(--neutral-600);
  font-size: 1.05rem;
  line-height: 1.6;
}

.event-section-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--neutral-900);
  margin-bottom: 16px;
}

.event-objectives-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.event-objective-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--neutral-600);
}

.event-check-icon {
  background-color: var(--primary);
  color: white;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
}

.event-description {
  color: var(--neutral-600);
  line-height: 1.7;
  font-size: 1.05rem;
}

.event-main-image {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  margin-bottom: 32px;
}

.event-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.event-stat-card {
  padding: 28px;
  border-radius: 20px;
  text-align: center;
  color: white;
  background: linear-gradient(140deg, rgba(0, 87, 255, 0.95), rgba(0, 63, 204, 0.95));
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0, 55, 160, 0.25);
}

.event-stat-card.blue2 {
  background: linear-gradient(140deg, rgba(0, 74, 216, 0.95), rgba(0, 52, 166, 0.95));
}

.event-stat-card.blue3 {
  background: linear-gradient(140deg, rgba(0, 67, 192, 0.95), rgba(0, 45, 142, 0.95));
}

.event-stat-card.blue4 {
  background: linear-gradient(140deg, rgba(0, 60, 172, 0.95), rgba(0, 36, 118, 0.95));
}

.event-stat-number {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.event-stat-label {
  font-size: 0.95rem;
  opacity: 0.95;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Event Overview Refresh */
.event-overview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  align-items: stretch;
  min-height: 460px;
}

.event-overview__media,
.event-overview__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.event-overview__photo {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  height: 100%;
  min-height: 460px;
  background: rgba(0, 87, 255, 0.12);
  box-shadow: 0 40px 80px rgba(15, 23, 42, 0.22);
}

.event-overview__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.event-overview__date-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  padding: 18px 24px;
  border-radius: 18px;
  background: rgba(17, 24, 39, 0.82);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 24px 45px rgba(15, 23, 42, 0.35);
  backdrop-filter: blur(12px);
}

.event-overview__date-label {
  font-weight: 600;
  letter-spacing: 0.05em;
}

.event-overview__date-sub {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.78);
}

.event-overview__eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1.1rem;
}

.event-overview__title {
  font-size: 2.7rem;
  font-weight: 700;
  color: var(--neutral-900);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.event-overview__summary {
  max-width: 540px;
  color: var(--neutral-600);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 2.6rem;
}

.event-overview__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.event-overview__stat-card {
  background: rgba(255, 255, 255, 0.94);
  border-radius: 22px;
  padding: 26px;
  border: 1px solid rgba(0, 87, 255, 0.14);
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.18);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.event-overview__stat-number {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.event-overview__stat-label {
  font-size: 0.95rem;
  color: var(--neutral-600);
  letter-spacing: 0.01em;
}

/* Event Overview Responsive Design */
@media (max-width: 1024px) {
  .event-overview-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .event-text-content {
    order: 2;
  }

  .event-visual-content {
    order: 1;
  }

  .event-main-title {
    font-size: 2rem;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .event-overview-section {
    padding: 60px 0;
  }

  .container {
    padding: 0 16px;
  }

  .event-overview-grid {
    gap: 32px;
  }

  .event-main-title {
    font-size: 1.75rem;
  }

  .event-theme-title {
    font-size: 1.25rem;
    color: var(--primary);
  }

  .event-stats-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .event-stat-card {
    padding: 20px;
  }

  .event-stat-number {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .event-main-title {
    font-size: 1.5rem;
  }

  .event-theme-title {
    font-size: 1.125rem;
  }

  .event-section-title {
    font-size: 1.125rem;
  }

  .event-content-blocks {
    gap: 20px;
  }
}

/* Event Overview Refresh Responsive */
@media (max-width: 1024px) {
  .event-overview {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .event-overview__photo {
    min-height: 360px;
  }

  .event-overview__content {
    text-align: center;
    align-items: center;
  }

  .event-overview__summary {
    margin-bottom: 2rem;
  }

  .event-overview__stats {
    max-width: 520px;
  }
}

@media (max-width: 768px) {
  .event-overview__title {
    font-size: 2.2rem;
  }

  .event-overview__stats {
    grid-template-columns: 1fr;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .event-overview__photo {
    min-height: 280px;
    border-radius: 22px;
  }

  .event-overview__date-badge {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }

  .event-overview__title {
    font-size: 2rem;
  }
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.resource-card {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.95), rgba(240, 244, 255, 0.85));
  border-radius: 10px;
  padding: 2rem;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s;
  height: 50vh;
}

.resource-card:hover {
  transform: translateY(-5px);
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.resource-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--neutral-900);
}

.resource-card p {
  color: var(--neutral-600);
  margin-bottom: 1.5rem;
}

.download-button,
.access-button,
.check-button {
  display: inline-block;
  height: 2.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.3s ease-in-out;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  line-height: 1rem;
}

.download-button {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff;
}

.access-button {
  background-color: rgba(0, 87, 255, 0.85);
  color: #ffffff;
}

.check-button {
  background-color: rgba(0, 63, 204, 0.85);
  color: #ffffff;
  min-width: 14rem;
}

.download-button::before,
.access-button::before,
.check-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: all 0.5s ease;
}

.download-button:hover::before,
.access-button:hover::before,
.check-button:hover::before {
  left: 100%;
}

.download-button:hover,
.access-button:hover,
.check-button:hover {
  opacity: 1;
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(0, 55, 160, 0.2);
}

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

.bg-gray {
  background-color: var(--accent-soft);
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--neutral-900);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--neutral-200);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-brand {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 160px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .55rem 1.2rem;
  color: var(--neutral-600);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-radius: 999px;
  transition: color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 6px;
  height: 2px;
  border-radius: 999px;
  background-color: var(--primary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--primary-darker);
  background-color: rgba(0, 87, 255, 0.12);
  box-shadow: 0 12px 24px rgba(0, 87, 255, 0.18);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-link.active {
  color: #ffffff;
  background-color: var(--primary);
  box-shadow: 0 16px 30px rgba(0, 87, 255, 0.22);
}

.nav-link.active::after {
  background-color: rgba(255, 255, 255, 0.8);
}

.navbar.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 20px 40px rgba(17, 24, 39, 0.08);
}

.mobile-menu {
  display: none;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0.55rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--neutral-200);
  background-color: #ffffff;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background-color: var(--neutral-700);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle.open {
  border-color: rgba(0, 87, 255, 0.4);
  box-shadow: 0 16px 32px rgba(0, 55, 160, 0.18);
}

.menu-toggle.open span {
  background-color: var(--primary);
}

@media (max-width: 960px) {
  .mobile-menu {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 72px;
    right: 24px;
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid var(--neutral-200);
    box-shadow: var(--shadow-md);
    padding: 1rem;
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    width: min(260px, calc(100vw - 48px));
  }

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

  .nav-link {
    width: 100%;
    justify-content: flex-start;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .menu-toggle.open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .menu-toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }
}

/* Hero Section */
.hero-container {
  position: relative;
  height: 105vh;
  width: 100%;
  overflow: hidden;
  margin-top: -80px;
  padding-top: 80px;
}

.background-image {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-image: url("https://iili.io/3mCdMuV.md.jpg");
  background-size: cover;
  background-position: center;
  filter: blur(4px);
  z-index: 0;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(0, 26, 99, 0.75) 0%,
    rgba(0, 87, 255, 0.6) 65%,
    rgba(0, 26, 99, 0.8) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  color: #FFFFFF;
  z-index: 2;
  text-align: center;
  padding: 0 20px;
  margin-top: 40px;
}

.hero-title {
  font-size: 5rem;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.hero-paragraph {
  margin-bottom: 40px;
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 800px;
  line-height: 1.5;
}

.button-wrapper,
.button-wrapper-hero {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.button-wrapper-hero {
   margin-top: 1.5rem;
}

.hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  border-radius: 999px;
  padding: 0.85rem 1.9rem;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 14px 32px rgba(0, 55, 160, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.blue-button {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff;
}

.blue-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(0, 55, 160, 0.35);
}

.white-button {
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--primary-dark);
  border: 1px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(4px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
}

.white-button:hover {
  background-color: rgba(255, 255, 255, 1);
  color: var(--primary-darker);
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.18);
}

/* What is MUN Section */
.mun-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.mun-photo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.mun-image {
  width: 100%;
  max-width: 480px;
  min-width: 0;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.mun-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.mun-card {
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(232, 240, 255, 0.9) 100%
  );
  padding: 2rem;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(0, 87, 255, 0.1);
}

.mun-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 45px rgba(0, 55, 160, 0.18);
}

.mun-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--neutral-900);
}

@media (max-width: 768px) {
  .mun-layout {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .mun-photo {
    order: -1;
    margin-bottom: 1rem;
  }

  .mun-image {
    max-width: 100%;
  }

  .mun-cards {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .mun-card {
    text-align: left;
    padding: 1.75rem;
  }
}

/* Event Overview */
.overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.overview-item {
  text-align: center;
  padding: 2rem;
}

.overview-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.overview-item h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--neutral-900);
}

/* Committees Section */
.committees-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  justify-content: center;
  justify-items: center;
}

.committee-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.96) 0%,
    rgba(240, 244, 255, 0.88) 100%
  );
  padding: 2.2rem;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 87, 255, 0.12);
}

.committee-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 87, 255, 0.12) 0%,
    rgba(0, 63, 204, 0.08) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.committee-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 45px rgba(0, 55, 160, 0.18);
}

.committee-card:hover::before {
  opacity: 1;
}

.committee-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.committee-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--neutral-900);
  font-weight: 600;
}

.committee-description {
  color: var(--neutral-600);
  margin-bottom: 1.5rem;
  line-height: 1.6;
  font-size: 0.95rem;
  flex-grow: 1;
}

.committee-meta {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--neutral-500);
  padding-top: 1rem;
  border-top: 1px solid var(--neutral-200);
  gap: 0.75rem;
}

.committee-type {
  background: rgba(0, 87, 255, 0.12);
  color: var(--primary);
  padding: 0.45rem 1.1rem;
  border-radius: 25px;
  font-weight: 500;
}

.committee-size {
  background: rgba(15, 23, 42, 0.06);
  color: var(--neutral-600);
  padding: 0.45rem 1.1rem;
  border-radius: 25px;
  font-weight: 500;
}

body.no-scroll {
  overflow: hidden;
}

.committee-article {
  position: fixed;
  inset: 0;
  z-index: 1200;
  padding: clamp(2rem, 5vh, 4rem) clamp(1rem, 5vw, 4rem);
  background: radial-gradient(
      circle at top,
      rgba(0, 87, 255, 0.28),
      transparent 52%
    ),
    linear-gradient(160deg, rgba(10, 18, 38, 0.88), rgba(10, 22, 55, 0.92));
  color: var(--neutral-900);
  overflow-y: auto;
  transition: opacity 0.4s ease;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
    overflow: scroll;

}

.committee-article.is-open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  overflow: scroll;
}

.committee-article__inner {
  max-width: 960px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
  border-radius: 32px;
  box-shadow: 0 40px 120px rgba(8, 20, 50, 0.4);
  padding: clamp(2rem, 4vw, 3rem);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.committee-article__close {
  position: absolute;
  top: clamp(1.5rem, 3vw, 2rem);
  right: clamp(1.5rem, 3vw, 2rem);
  background: rgba(17, 24, 39, 0.1);
  border: none;
  border-radius: 50%;
  width: clamp(2.75rem, 4vw, 3.25rem);
  height: clamp(2.75rem, 4vw, 3.25rem);
  display: grid;
  place-items: center;
  font-size: 1.75rem;
  color: var(--neutral-800);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
  padding: 0;
  z-index: 10;
}

.committee-article__close::after {
  content: "";
  position: absolute;
  inset: -0.6rem;
  border-radius: 50%;
}

.committee-article__close span {
  pointer-events: none;
}

.committee-article__close:hover {
  transform: scale(1.05);
  background: rgba(0, 87, 255, 0.14);
  color: var(--primary);
}

.committee-article__eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.2rem;
  text-transform: uppercase;
  color: var(--primary);
  opacity: 0.8;
}

.committee-article__header h2 {
  font-size: clamp(2.25rem, 4vw, 3rem);
  margin-top: 0.75rem;
  color: var(--neutral-900);
}

.committee-article__subtitle {
  font-size: 1.05rem;
  color: var(--neutral-600);
  margin-top: 0.5rem;
  line-height: 1.7;
}

.committee-article__summary p {
  font-size: 1.05rem;
  color: var(--neutral-700);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.committee-article__summary p:last-child {
  margin-bottom: 0;
}

.committee-article__takeaways {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.committee-article__takeaways h3 {
  font-size: 1.4rem;
  color: var(--neutral-900);
}

.committee-article__takeaways-list {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  list-style: none;
  padding: 0;
}

.committee-article__takeaways-list li {
  background: rgba(0, 87, 255, 0.08);
  border-radius: 18px;
  padding: 1rem 1.25rem;
  color: var(--neutral-700);
  line-height: 1.5;
  border: 1px solid rgba(0, 87, 255, 0.12);
}

.committee-article__agenda {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.committee-article__agenda h3,
.committee-article__resources-header h3,
.committee-article__countries h3 {
  font-size: 1.4rem;
  color: var(--neutral-900);
}

.committee-article__agenda-items {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.committee-article__agenda-item {
  background: rgba(255, 255, 255, 0.88);
  border-radius: 20px;
  padding: 1.5rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: var(--shadow-sm);
}

.committee-article__agenda-item h4 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  color: var(--primary);
}

.committee-article__agenda-item p {
  font-size: 0.98rem;
  color: var(--neutral-600);
  line-height: 1.6;
}

.committee-article__resources {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.committee-article__resources-note {
  color: var(--neutral-500);
  font-size: 0.95rem;
  margin-top: 0.5rem;
}

.committee-article__resources-list {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.committee-article__resource-card {
  background: rgba(255, 255, 255, 0.88);
  border-radius: 20px;
  padding: 1.5rem;
  border: 1px solid rgba(0, 87, 255, 0.12);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.committee-article__resource-card h4 {
  font-size: 1.05rem;
  color: var(--neutral-800);
}

.committee-article__resource-card p {
  font-size: 0.95rem;
  color: var(--neutral-600);
  line-height: 1.6;
}

.committee-article__resource-card a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
}

.committee-article__resource-card a:hover {
  text-decoration: underline;
}

.committee-article__countries {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  text-align: center;
}

.countries-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
  justify-content: center;
  width: min(720px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.country-tag {
  background: var(--neutral-200);
  color: var(--primary);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.committee-article__footer-note {
  font-size: 0.85rem;
  color: var(--neutral-500);
}

/* Schedule Section */
.schedule-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
  gap: 1rem;
}

.tab-button {
  text-decoration: none;
  padding: 0.75rem 1.75rem;
  border: 1px solid rgba(0, 87, 255, 0.2);
  background: rgba(255, 255, 255, 0.92);
  color: var(--neutral-600);
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all 0.25s ease;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.tab-button.active,
.tab-button:hover {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(0, 55, 160, 0.25);
}

.schedule-day {
  display: none;
}

.schedule-day.active {
  display: block;
}

.schedule-item {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(0, 87, 255, 0.12);
  padding: 1.6rem;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  gap: 24px;
}

.schedule-time {
  width: 120px;
  flex-shrink: 0;
  font-weight: 600;
  color: var(--primary);
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

.schedule-content h3 {
  margin-bottom: 0.5rem;
  color: var(--neutral-900);
}

.schedule-content p {
  color: var(--neutral-600);
}

/* Student Portal */
.portal-content {
  max-width: 600px;
  margin: 0 auto;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.96), rgba(233, 241, 255, 0.9));
  padding: 3rem;
  border-radius: 24px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0, 87, 255, 0.12);
}

.portal-form h3 {
  margin-bottom: 1rem;
  color: var(--neutral-900);
}

.form-group {
  position: relative;
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--neutral-700);
}

.form-group input {
  width: 100%;
  padding: 12px;
  border: 2px solid var(--neutral-200);
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0, 87, 255, 0.12);
}

.portal-autocomplete {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  right: 0;
  display: none;
  background: #ffffff;
  border: 1px solid var(--neutral-200);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  max-height: 280px;
  overflow-y: auto;
  z-index: 25;
  padding: 0.35rem 0;
}

.portal-autocomplete.is-open {
  display: block;
}

.portal-autocomplete__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.portal-autocomplete__item + .portal-autocomplete__item {
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.portal-autocomplete__option {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 0.6rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  cursor: pointer;
  font-size: 0.95rem;
  color: var(--neutral-700);
  transition: background 0.2s ease, color 0.2s ease;
}

.portal-autocomplete__option:hover,
.portal-autocomplete__option.is-active {
  background: var(--neutral-100);
  color: var(--primary-darker);
}

.portal-autocomplete__primary {
  font-weight: 600;
  letter-spacing: -0.01em;
}

.portal-autocomplete__meta {
  font-size: 0.8rem;
  color: var(--neutral-500);
}

.submit-button {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  padding: 14px 28px;
  border: none;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 14px 32px rgba(0, 55, 160, 0.22);
}

.submit-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(0, 55, 160, 0.28);
}

.submit-button:active {
  transform: scale(0.95);
  transition: transform 0.1s;
}

.search-result {
  margin-top: 2rem;
  background: var(--accent-soft);
  border-radius: 16px;
  border: 1px solid rgba(0, 87, 255, 0.1);
  display: none;
  justify-content: center;
  align-content: center;
  align-items: center;
}

.search-result__notice {
  margin-bottom: 1rem;
  font-weight: 600;
  color: var(--primary-darker);
}

#searchResult .student-info {
  background: #fff;
  border-radius: 14px;
  padding: 1rem 1.25rem;
  box-shadow: 0 10px 25px rgba(14, 38, 78, 0.08);
  width: 100%;
}

#searchResult .student-info + .student-info {
  margin-top: 1.5rem;
}

.search-error {
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(239, 68, 68, 0.1);
  color: #b91c1c;
  border-radius: 12px;
  display: none;
}

#searchResult .download-button {
  margin-top: 1rem;
  min-width: auto;
}


/* FAQ Section */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0, 87, 255, 0.12);
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  transition: background 0.3s ease;
}

.faq-question:hover {
  background-color: rgb(242, 242, 242);
}

.faq-question h3 {
  margin: 0;
  color: var(--neutral-900);
}

.faq-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  box-shadow: 0 10px 24px rgba(0, 55, 160, 0.22);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.faq-item.active .faq-toggle {
  transform: scale(0.95);
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-darker, #002a88) 100%);
  box-shadow: 0 6px 16px rgba(0, 55, 160, 0.18);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.3s,
    padding 0.3s;
}

.faq-item.active .faq-answer {
  padding: 1rem 1.5rem 1.5rem 1.5rem;
  max-height: 200px;
}

/* Footer */
.footer {
  background: var(--neutral-900);
  color: white;
  padding: 3rem 0 1.5rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #ffffff;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.65);
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .section-intro {
    margin-bottom: 2.25rem;
  }

  .committee-article {
    padding: 1.5rem;
  }

  .section-intro--collapsible {
    padding: 1.25rem 1.5rem;
  }

  .committee-article__inner {
    border-radius: 20px;
    padding: 1.75rem;
    gap: 2rem;
  }

  .committee-article__takeaways-list {
    grid-template-columns: 1fr;
  }

  .committee-article__agenda-items,
  .committee-article__resources-list {
    grid-template-columns: 1fr;
  }

  .committee-article__close {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }

  .hero-title {
    font-size: 3rem;
  }

  .hero-paragraph {
    font-size: 1.2rem;
    margin-bottom: 30px;
  }

  .button-wrapper,
  .button-wrapper-hero {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .button-wrapper-hero {
    margin-top: 1.7rem;
  }

  .hero-button {
    width: 100%;
    max-width: 300px;
    padding: 14px 24px;
    font-size: 16px;
  }

  .section {
    padding: 40px 0;
  }

  .section-title {
    font-size: 2rem;
  }

  .overview-grid {
    gap: 1.5rem;
  }

  .committees-grid {
    gap: 1.5rem;
  }

  .committee-card {
    width: 100%;
    padding: 1.75rem;
  }

  .schedule-tabs {
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 420px;
    margin: 0 auto 1.5rem;
    gap: 0.75rem;
  }

  .tab-button {
    width: 100%;
  }

  .schedule-item {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.25rem;
    gap: 12px;
  }

  .schedule-time {
    width: auto;
    margin-bottom: 0.5rem;
    font-size: 1rem;
  }

  .schedule-content h3 {
    font-size: 1.05rem;
  }

  .schedule-content p {
    font-size: 0.95rem;
    line-height: 1.5;
  }

}

@media (max-width: 480px) {
  .committee-article {
    padding: 1rem;
  }

  .committee-article__inner {
    padding: 1.5rem;
    border-radius: 16px;
  }

  .committee-article__close {
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-paragraph {
    font-size: 1rem;
    padding: 0 10px;
  }

  .hero-content {
    padding: 0 15px;
  }

  .schedule-tabs {
    max-width: 100%;
    gap: 0.5rem;
  }

  .schedule-item {
    padding: 1rem;
    gap: 10px;
  }

  .portal-content {
    padding: 2rem 1rem;
  }
}

@media (min-width: 1200px) {
  .hero-title {
    font-size: 6.5rem;
  }

  .hero-paragraph {
    font-size: 1.75rem;
  }
}

#committee-assignments-button {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  min-width: 12rem;
  height: 2.75rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 999px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(0, 55, 160, 0.24);
}

#committee-assignments-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.32),
    transparent
  );
  transition: all 0.45s ease;
}

#committee-assignments-button:hover::before {
  left: 100%;
}

#committee-assignments-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(0, 55, 160, 0.3);
}

.green-button {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff;
}

#modalDescription {
  padding-bottom: 20px;
}

#underline-text {
  text-decoration: underline;
}
