/* ============================================================
   Ortho Edge – Main Stylesheet
   ============================================================ */

/* ---------- Google Font Import ---------- */
@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap");

/* ---------- CSS Custom Properties ---------- */
:root {
  --primary: #115B86;
  --secondary: #30AEC3;
  --accent: #0e8a9e;
  --bg-light: #f0f7fa;
  --text: #111827;
  --text-muted: #64748b;
  --white: #ffffff;
  --border: #d6eaf2;
  --shadow-sm: 0 1px 3px rgba(17, 91, 134, 0.07), 0 1px 2px rgba(17, 91, 134, 0.04);
  --shadow-md: 0 4px 16px rgba(17, 91, 134, 0.11), 0 2px 6px rgba(17, 91, 134, 0.06);
  --shadow-lg: 0 8px 32px rgba(17, 91, 134, 0.16), 0 4px 12px rgba(17, 91, 134, 0.08);
  --radius: 10px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --max-width: 1200px;
  --theme2026: rgba(48, 174, 195, 0.35);
  --theme2026bg: #30AEC3;
}

/* ---------- Reset / Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: "Plus Jakarta Sans", sans-serif;
  letter-spacing: -0.025em;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 80px 0;
}

/* ---------- Typography helpers ---------- */
.section-badge {
  display: inline-block;
  background: rgba(37, 99, 235, 0.08);
  color: var(--secondary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 620px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}

.btn-primary {
  background: var(--secondary);
  color: var(--white);
  border-color: var(--secondary);
}
.btn-primary:hover {
  background: #0d4a6e;
  border-color: #0d4a6e;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(17, 91, 134, 0.35);
  color: var(--white);
}

.btn-Theme2026 {
  background: var(--theme2026bg);
  color: var(--white);
}
.btn-Theme2026:hover {
  background: #2596a8;
  border-color: #2596a8;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(48, 174, 195, 0.40);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-primary {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline-primary:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-accent {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-accent:hover {
  background: #0e7a8a;
  border-color: #0e7a8a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(14, 138, 158, 0.35);
  color: var(--white);
}

.btn-coming {
  position: relative;
  opacity: 0.7;
  cursor: not-allowed;
  pointer-events: none;
  /* disables click */
}

.btn-coming::after {
  content: "Coming Soon";
  position: absolute;
  top: -12px;
  right: -13px;

  background: #ff4757;
  color: #fff;
  font-size: 10px;
  padding: 3px 6px;
  border-radius: 4px;
  font-weight: 600;
}

/* ---------- Cards ---------- */
.card-hover {
  transition: var(--transition);
  border-radius: var(--radius);
}
.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg) !important;
}

/* ============================================================
   NAVBAR
   ============================================================ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition:
    background 0.35s ease,
    box-shadow 0.35s ease,
    padding 0.35s ease;
  padding: 18px 0;
}

#navbar.scrolled {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo .logo-icon {
  width: max-content;
  height: 80px;
  padding: 10px;
  background: var(--secondary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-img {
  width: auto;
  height: 55px;
}

.nav-logo .logo-icon svg {
  fill: var(--white);
}

.nav-logo .logo-text {
  line-height: 1.15;
}
.nav-logo .logo-text span:first-child {
  display: block;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--white);
  transition: color 0.35s;
}
.nav-logo .logo-text span:last-child {
  display: block;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.04em;
  transition: color 0.35s;
}

#navbar.scrolled .nav-logo .logo-text span:first-child {
  color: var(--primary);
}
#navbar.scrolled .nav-logo .logo-text span:last-child {
  color: var(--text-muted);
}

#navbar.scrolled .nav-img {
  content: url("../images/logo.png");
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-menu a {
  padding: 7px 14px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  transition: var(--transition);
}
.nav-menu a:hover,
.nav-menu a.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.15);
}

#navbar.scrolled .nav-menu a {
  color: var(--text);
}
#navbar.scrolled .nav-menu a:hover,
#navbar.scrolled .nav-menu a.active {
  color: var(--primary);
  background: var(--bg-light);
}

.nav-cta .btn {
  padding: 9px 22px;
  font-size: 0.875rem;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
#navbar.scrolled .nav-toggle span {
  background: var(--text);
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.nav-mobile {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--primary);
  z-index: 999;
  padding: 100px 32px 40px;
  gap: 8px;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-mobile.open {
  display: flex;
  transform: translateX(0);
}
.nav-mobile a {
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 600;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}
.nav-mobile a:hover {
  color: var(--secondary);
  padding-left: 8px;
}
.nav-mobile-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  min-height: 100dvh;
  background: linear-gradient(
    150deg,
    #0a3a56 0%,
    var(--primary) 50%,
    #1a6e8c 100%
  );
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.1);
  top: -200px;
  right: -100px;
  animation: floatBlob 8s ease-in-out infinite;
}
.hero::after {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(48, 174, 195, 0.08);
  bottom: -150px;
  left: -80px;
  animation: floatBlob 10s ease-in-out infinite reverse;
}

@keyframes floatBlob {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(20px, -30px) scale(1.05);
  }
  66% {
    transform: translate(-10px, 20px) scale(0.95);
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  padding: 6px 16px 6px 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 24px;
}
.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: #34d399;
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.3);
  }
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero h1 .highlight {
  color: #93c5fd;
}
.hero p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 52px;
  flex-wrap: wrap;
}

.stat-item .num {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat-item .lbl {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.04em;
  margin-top: 4px;
  display: block;
}

/* Hero visual panel */
.hero-visual {
  position: relative;
  z-index: 1;
}
.hero-img-wrap {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
  aspect-ratio: 3/4;
  position: relative;
}
.hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-img-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom right,
    rgba(30, 58, 138, 0.2),
    transparent
  );
}

.hero-card {
  position: absolute;
  background: var(--white);
  border-radius: 14px;
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: floatCard 5s ease-in-out infinite;
}
.hero-card.card-1 {
  bottom: -24px;
  left: -30px;
  min-width: 200px;
}
.hero-card.card-2 {
  top: -20px;
  right: -20px;
}

@keyframes floatCard {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.hero-card .icon-box {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
}
.hero-card .card-label {
  font-size: 0.7rem;
  color: var(--text-muted);
}
.hero-card .card-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

/* ============================================================
   ABOUT PREVIEW
   ============================================================ */
.about-preview {
  background: var(--bg-light);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
}

.about-img-wrap {
  position: relative;
}
.about-img-main {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
}
.about-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-badge-float {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--primary);
  color: var(--white);
  border-radius: 14px;
  padding: 18px 22px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.about-badge-float .big {
  font-size: 2rem;
  font-weight: 800;
  display: block;
  line-height: 1;
}
.about-badge-float .sm {
  font-size: 0.72rem;
  opacity: 0.8;
  margin-top: 4px;
  display: block;
}

.about-points {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.about-point {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.about-point:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.about-point .point-icon {
  width: 36px;
  height: 36px;
  background: var(--bg-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}
.about-point h4 {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--primary);
}
.about-point p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ============================================================
   ACTIVITIES SECTION
   ============================================================ */
.activities {
  background: var(--white);
}

.activities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.activity-card {
  background: var(--bg-light);
  border-radius: 16px;
  padding: 36px 32px;
  text-align: left;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  cursor: default;
  transition: var(--transition);
}
.activity-card::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transition: transform 0.35s ease;
}
.activity-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  background: var(--white);
}
.activity-card:hover::before {
  transform: scaleX(1);
}

.activity-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  transition: var(--transition);
}
.activity-card:hover .activity-icon {
  transform: scale(1.1) rotate(-5deg);
}

.activity-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}
.activity-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================================
   UPCOMING EVENT BANNER
   ============================================================ */
.upcoming-event {
  background: linear-gradient(135deg, var(--primary) 0%, #1a7a9c 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.upcoming-event::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  top: -200px;
  right: -100px;
}

.upcoming-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
}

.event-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(52, 211, 153, 0.15);
  border: 1px solid rgba(52, 211, 153, 0.3);
  color: #34d399;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 30px;
  margin-bottom: 16px;
}
.event-tag .pulse {
  width: 8px;
  height: 8px;
  background: #34d399;
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

.upcoming-inner h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
}

.event-meta {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.event-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}
.event-meta-item svg {
  color: var(--secondary);
  flex-shrink: 0;
}

.countdown {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}
.countdown-box {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 14px 18px;
  text-align: center;
  min-width: 72px;
}
.countdown-box .num {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.countdown-box .lbl {
  display: block;
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 5px;
}

.upcoming-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-end;
  z-index: 99;
}

/* ============================================================
   PAST EVENTS
   ============================================================ */
.past-events {
  background: var(--bg-light);
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 48px;
}

.event-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.event-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.event-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
}
.event-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.event-card:hover .event-card-img img {
  transform: scale(1.06);
}

.event-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--primary);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.05em;
}

.event-card-body {
  padding: 24px;
}
.event-card-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.event-card-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}
.event-card-meta span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ============================================================
   COMMITTEE PREVIEW
   ============================================================ */
.committee-preview {
  background: var(--white);
}

.committee-grid-preview {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.member-card {
  background: var(--bg-light);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.member-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  background: var(--white);
}

.member-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 18px;
  border: 3px solid var(--border);
  transition: var(--transition);
}
.member-card:hover .member-avatar {
  border-color: var(--secondary);
}
.member-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-card h3 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}
.member-card .role {
  font-size: 0.8rem;
  color: var(--secondary);
  font-weight: 600;
  display: block;
  margin-bottom: 12px;
}
.member-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ============================================================
   PARTNERS CAROUSEL
   ============================================================ */
.partners {
  background: var(--bg-light);
  padding: 60px 0;
}

.carousel-track-wrap {
  overflow: hidden;
  width: 100%;
  position: relative;
  margin-top: 40px;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
  mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
}
.carousel-track-wrap:hover .carousel-track {
  animation-play-state: paused;
}

.carousel-track {
  display: flex;
  gap: 32px;
  width: max-content;
  animation: scrollLeft 28s linear infinite;
}

@keyframes scrollLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.partner-logo {
  flex-shrink: 0;
  width: 160px;
  height: 80px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  filter: grayscale(1);
  opacity: 0.6;
  transition: var(--transition);
}
.partner-logo:hover {
  filter: grayscale(0);
  opacity: 1;
  box-shadow: var(--shadow-md);
}
.partner-logo svg text {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
}

/* ============================================================
   TIMELINE
   ============================================================ */
.timeline-section {
  background: var(--white);
}

.timeline {
  position: relative;
  max-width: 720px;
  margin: 56px auto 0;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
  position: relative;
}
.timeline-item:nth-child(odd) .timeline-content {
  grid-column: 1;
  text-align: right;
}
.timeline-item:nth-child(odd) .timeline-year {
  grid-column: 2;
  padding-left: 52px;
  display: flex;
  align-items: center;
}
.timeline-item:nth-child(even) .timeline-content {
  grid-column: 2;
  text-align: left;
  order: 2;
}
.timeline-item:nth-child(even) .timeline-year {
  grid-column: 1;
  padding-right: 52px;
  justify-content: flex-end;
  display: flex;
  align-items: center;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  background: var(--secondary);
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--secondary);
  z-index: 1;
}

.timeline-year span {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 5px 14px;
  border-radius: 30px;
}

.timeline-content h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}
.timeline-content p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ============================================================
   GALLERY GRID
   ============================================================ */
.gallery-section {
  background: var(--bg-light);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  aspect-ratio: 4/3;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(30, 58, 138, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gallery-item:hover .gallery-overlay {
  opacity: 1;
}
.gallery-overlay span {
  color: var(--white);
  font-size: 2.5rem;
}

/* Lightbox */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
#lightbox.active {
  display: flex;
}
#lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 10px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}
#lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  color: var(--white);
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
  background: none;
  border: none;
  transition: opacity 0.2s;
}
#lightbox-close:hover {
  opacity: 0.7;
}
#lightbox-prev,
#lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
#lightbox-prev:hover,
#lightbox-next:hover {
  background: rgba(255, 255, 255, 0.25);
}
#lightbox-prev {
  left: 24px;
}
#lightbox-next {
  right: 24px;
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-section {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  align-items: start;
}

.contact-info h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 14px;
}
.contact-info p {
  color: var(--text-muted);
  margin-bottom: 36px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.contact-detail-item .icon {
  width: 44px;
  height: 44px;
  background: var(--bg-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}
.contact-detail-item h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 3px;
}
.contact-detail-item p {
  font-size: 0.92rem;
  color: var(--text);
}

.contact-form-wrap {
  background: var(--bg-light);
  border-radius: 20px;
  padding: 40px;
  border: 1px solid var(--border);
}

.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 7px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.92rem;
  color: var(--text);
  background: var(--white);
  outline: none;
  box-sizing: border-box;
  min-height: 46px;
  line-height: 1.5;
  transition:
    border-color 0.25s,
    box-shadow 0.25s;
}
.form-group select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.success-msg {
  display: none;
  background: #d1fae5;
  color: #065f46;
  padding: 14px 20px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 16px;
  align-items: center;
  gap: 8px;
}
.success-msg.show {
  display: flex;
}

.error-msg {
  display: none;
  background: #fee2e2;
  color: #991b1b;
  padding: 14px 20px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 16px;
  border: 1px solid #fca5a5;
}
.error-msg.show {
  display: block;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.8);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand .logo-text {
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 800;
  margin: 14px 0 10px;
}
.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: 0.04em;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col ul a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
  transition: var(--transition);
}
.footer-col ul a:hover {
  color: var(--white);
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

.social-links {
  display: flex;
  gap: 10px;
}
.social-link {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
  font-size: 0.9rem;
}
.social-link:hover {
  background: var(--secondary);
  color: var(--white);
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in {
  opacity: 0;
  transition: opacity 0.65s ease;
}
.fade-in.visible {
  opacity: 1;
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, #243f98 100%);
  padding: 120px 0 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  top: -150px;
  right: -80px;
}
.page-hero h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
}
.page-hero p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 560px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}
.breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s;
}
.breadcrumb a:hover {
  color: var(--white);
}
.breadcrumb span {
  color: rgba(255, 255, 255, 0.4);
}

/* ============================================================
   EVENT DETAIL PAGE
   ============================================================ */
.event-hero {
  min-height: 70vh;
  background: linear-gradient(
    135deg,
    #0f2261 0%,
    var(--primary) 50%,
    #2d4ea3 100%
  );
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}
.event-hero::before {
  content: "";
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.08);
  top: -300px;
  right: -150px;
}

.event-hero-content .event-tag {
  margin-bottom: 20px;
}
.event-hero-content h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.15;
}

.event-info-pills {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.info-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
  padding: 8px 16px;
  border-radius: 30px;
}

.program-day {
  background: var(--bg-light);
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 24px;
  border: 1px solid var(--border);
}
.program-day h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
}

.schedule-item {
  display: flex;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.schedule-item:last-child {
  border-bottom: none;
}
.schedule-time {
  min-width: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--secondary);
  padding-top: 2px;
}
.schedule-topic {
  font-size: 0.92rem;
  color: var(--text);
  font-weight: 500;
}
.schedule-speaker {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 3px;
}
.schedule-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--primary);
  color: #fff;
  padding: 9px 16px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  margin: 6px 0;
  border-bottom: none !important;
}
.schedule-banner .schedule-time {
  color: rgba(255, 255, 255, 0.75);
  min-width: auto;
}
.schedule-sub {
  padding: 7px 0 7px 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
}
.schedule-sub .schedule-time {
  min-width: 36px;
  font-size: 0.75rem;
  color: var(--text-muted);
}
.schedule-sub .schedule-topic {
  font-size: 0.875rem;
  font-weight: 400;
}
.schedule-sub .schedule-topic strong {
  font-weight: 700;
}

/* Faculty cards */
/* ── Improved session card block (used in Day 2) ─────────── */
.sched-block {
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: 0 12px 12px 0;
  overflow: hidden;
  margin: 10px 0 4px;
  background: var(--white);
  box-shadow: 0 1px 4px rgba(30, 58, 138, 0.05);
}
.sched-block-header {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 11px 16px;
  background: rgba(30, 58, 138, 0.05);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.sched-block-time {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--secondary);
  white-space: nowrap;
  flex-shrink: 0;
}
.sched-block-title {
  font-size: 0.93rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.3;
}
.sched-block-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-style: italic;
  width: 100%;
  margin-top: 2px;
}
.sched-rows {
  padding: 2px 0;
}
.sched-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  font-size: 0.875rem;
  color: var(--text);
  line-height: 1.4;
}
.sched-row:last-child {
  border-bottom: none;
}
.sched-row.sched-summary {
  background: rgba(30, 58, 138, 0.04);
  font-weight: 700;
  color: var(--primary);
}
.sched-dur {
  flex-shrink: 0;
  background: rgba(30, 58, 138, 0.1);
  color: var(--primary);
  font-size: 0.68rem;
  font-weight: 800;
  border-radius: 5px;
  padding: 3px 7px;
  min-width: 30px;
  text-align: center;
  margin-top: 1px;
  letter-spacing: 0.02em;
}
.sched-row.sched-summary .sched-dur {
  background: var(--primary);
  color: #fff;
}
.sched-standalone {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: rgba(246, 134, 59, 0.06);
  border: 1px solid rgba(246, 134, 59, 0.25);
  border-left: 4px solid var(--secondary);
  border-radius: 0 10px 10px 0;
  margin: 10px 0;
}
.sched-standalone-time {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--secondary);
  white-space: nowrap;
  flex-shrink: 0;
}
.sched-standalone-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}
.sched-banner-gold {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(90deg, #92400e, #b45309);
  color: #fff;
  padding: 9px 16px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  margin: 10px 0 6px;
}

/* ── SCH-* SCHEDULE DESIGN SYSTEM ─────────────────────────── */
.sch-day {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 28px rgba(30, 58, 138, 0.11);
  overflow: hidden;
  margin-bottom: 36px;
  border: 1px solid rgba(30, 58, 138, 0.08);
}
.sch-day-hd {
  position: relative;
  background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 55%, #2563eb 100%);
  padding: 30px 36px 26px;
  overflow: hidden;
}
.sch-day-hd::before {
  content: attr(data-day);
  position: absolute;
  right: 20px;
  top: -12px;
  font-size: 9rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.07);
  line-height: 1;
  font-family: "Plus Jakarta Sans", sans-serif;
  pointer-events: none;
  user-select: none;
}
.sch-day-hd-num {
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.sch-day-hd-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  font-family: "Plus Jakarta Sans", sans-serif;
}
.sch-day-hd-sub {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 7px;
  font-weight: 500;
}
.sch-day-body {
  padding: 0 0 24px;
}

.sch-section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 32px;
  background: #f8fafc;
  border-top: 1px solid rgba(30, 58, 138, 0.07);
  border-bottom: 1px solid rgba(30, 58, 138, 0.07);
  margin: 20px 0 2px;
}
.sch-section-label::before {
  content: "";
  display: block;
  width: 4px;
  height: 22px;
  border-radius: 3px;
  background: var(--primary);
  flex-shrink: 0;
}
.sch-section-label.teal::before {
  background: #0d9488;
}
.sch-section-label.indigo::before {
  background: #4f46e5;
}
.sch-section-label.orange::before {
  background: #ea580c;
}
.sch-section-label-title {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
}
.sch-section-label.teal .sch-section-label-title {
  color: #0d9488;
}
.sch-section-label.indigo .sch-section-label-title {
  color: #4f46e5;
}
.sch-section-label.orange .sch-section-label-title {
  color: #ea580c;
}

.sch-sess {
  display: grid;
  grid-template-columns: 136px 1fr;
  border-bottom: 1px solid rgba(30, 58, 138, 0.06);
}
.sch-sess:last-child {
  border-bottom: none;
}
.sch-sess-time {
  padding: 18px 14px 16px 32px;
  background: #f8fafc;
  border-right: 1px solid rgba(30, 58, 138, 0.08);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
}
.sch-sess-body {
  padding: 16px 28px 14px;
}
.sch-sess-title {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.35;
  margin-bottom: 4px;
}
.sch-sess-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  font-style: italic;
}

.sch-items {
  border: 1px solid rgba(30, 58, 138, 0.1);
  border-radius: 10px;
  overflow: hidden;
  margin-top: 10px;
}
.sch-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 14px;
  border-bottom: 1px solid rgba(30, 58, 138, 0.06);
  font-size: 0.855rem;
  color: var(--text);
  line-height: 1.45;
}
.sch-item:last-child {
  border-bottom: none;
}
.sch-item--sum {
  background: rgba(30, 58, 138, 0.05);
  font-weight: 700;
  color: var(--primary);
}
.sch-dur {
  flex-shrink: 0;
  background: rgba(30, 58, 138, 0.1);
  color: var(--primary);
  font-size: 0.64rem;
  font-weight: 800;
  border-radius: 5px;
  padding: 3px 7px;
  min-width: 28px;
  text-align: center;
  margin-top: 2px;
  letter-spacing: 0.02em;
}
.sch-item--sum .sch-dur {
  background: var(--primary);
  color: #fff;
}

.sch-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 32px;
  font-size: 0.88rem;
  font-weight: 700;
  border-bottom: 1px solid rgba(30, 58, 138, 0.06);
}
.sch-row-time {
  font-size: 0.74rem;
  color: rgba(0, 0, 0, 0.4);
  font-weight: 600;
  flex-shrink: 0;
  min-width: 100px;
}
.sch-row--lunch {
  background: rgba(251, 191, 36, 0.1);
  color: #92400e;
  border-left: 4px solid #f59e0b;
  padding-left: 28px;
}
.sch-row--lunch .sch-row-time {
  color: #b45309;
}
.sch-row--chay {
  background: rgba(79, 70, 229, 0.07);
  color: #3730a3;
  border-left: 4px solid #6366f1;
  padding-left: 28px;
}
.sch-row--chay .sch-row-time {
  color: #4338ca;
}
.sch-row--inaug {
  background: linear-gradient(
    90deg,
    rgba(30, 58, 138, 0.09) 0%,
    rgba(37, 99, 235, 0.04) 100%
  );
  color: var(--primary);
  border-left: 4px solid var(--primary);
  padding-left: 28px;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
}
.sch-row--inaug .sch-row-time {
  color: var(--secondary);
}
.sch-row--gold {
  background: linear-gradient(90deg, #92400e 0%, #b45309 100%);
  color: #fff;
  border-radius: 10px;
  margin: 10px 24px 6px;
  padding: 13px 24px;
}
.sch-row--gold .sch-row-time {
  color: rgba(255, 255, 255, 0.7);
}
.sch-row--pg {
  background: rgba(234, 88, 12, 0.08);
  color: #9a3412;
  border-left: 4px solid #ea580c;
  padding-left: 28px;
  font-size: 0.95rem;
}
.sch-row--pg .sch-row-time {
  color: #c2410c;
}
.sch-row--valed {
  background: rgba(30, 58, 138, 0.05);
  color: var(--primary);
  border-top: 2px solid var(--primary);
  padding-left: 32px;
  font-size: 0.95rem;
}
.sch-row--valed .sch-row-time {
  color: var(--secondary);
}

@media (max-width: 600px) {
  .sch-day-hd {
    padding: 20px 20px 18px;
  }
  .sch-day-hd-title {
    font-size: 1.15rem;
  }
  .sch-sess {
    grid-template-columns: 1fr;
  }
  .sch-sess-time {
    padding: 10px 16px 4px 20px;
    background: none;
    border-right: none;
    font-size: 0.7rem;
  }
  .sch-sess-body {
    padding: 4px 16px 12px;
  }
  .sch-section-label {
    padding: 12px 16px;
  }
  .sch-row {
    padding: 10px 16px;
  }
  .sch-row--gold {
    margin: 8px 12px 4px;
  }
  .sch-row--lunch,
  .sch-row--chay,
  .sch-row--inaug,
  .sch-row--pg,
  .sch-row--valed {
    padding-left: 16px;
  }
}

.faculty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 48px;
  justify-content: center;
}
.faculty-card {
  background: var(--white);
  border-radius: 14px;
  padding: 28px 20px;
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.faculty-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.faculty-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 14px;
  border: 2px solid var(--border);
}
.faculty-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.faculty-card h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 5px;
}
.faculty-card .spec {
  font-size: 0.78rem;
  color: var(--secondary);
  font-weight: 600;
}
.faculty-card .hosp {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Sponsors */
.sponsor-tier {
  margin-bottom: 48px;
}
.sponsor-tier h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.sponsor-tier h3::before,
.sponsor-tier h3::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}
.sponsor-logos {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}
.sponsor-logo-box {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  min-width: 140px;
}
.sponsor-logo-box:hover {
  box-shadow: var(--shadow-md);
  background: var(--white);
}

/* Venue map placeholder */
.venue-map {
  width: 100%;
  height: 300px;
  background: var(--bg-light);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  gap: 10px;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-mission {
  background: var(--white);
}
.mission-card {
  background: linear-gradient(135deg, var(--primary), #2d4ea3);
  color: var(--white);
  border-radius: 20px;
  padding: 48px;
  text-align: center;
}
.mission-card h3 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 16px;
}
.mission-card p {
  font-size: 1.05rem;
  opacity: 0.85;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.value-card {
  background: var(--bg-light);
  border-radius: 14px;
  padding: 32px 24px;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.value-card .icon {
  font-size: 2rem;
  margin-bottom: 14px;
}
.value-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}
.value-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================================
   UTILITY
   ============================================================ */
.text-center {
  text-align: center;
}
.text-left {
  text-align: left;
}
.mt-4 {
  margin-top: 16px;
}
.mt-6 {
  margin-top: 24px;
}
.mt-8 {
  margin-top: 32px;
}
.mt-12 {
  margin-top: 48px;
}
.mb-4 {
  margin-bottom: 16px;
}
.d-flex {
  display: flex;
}
.align-center {
  align-items: center;
}
.gap-3 {
  gap: 12px;
}
.bg-light {
  background: var(--bg-light);
}
.bg-white {
  background: var(--white);
}

.divider {
  height: 1px;
  background: var(--border);
  margin: 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .activities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .committee-grid-preview {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

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

  .nav-menu,
  .nav-cta {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-visual {
    display: none;
  }
  .hero {
    padding: 100px 0 60px;
  }
  .hero-stats {
    gap: 24px;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-badge-float {
    right: 0;
    bottom: -10px;
  }

  .activities-grid {
    grid-template-columns: 1fr 1fr;
  }

  .upcoming-inner {
    grid-template-columns: 1fr;
  }
  .upcoming-actions {
    align-items: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
  }

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

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

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

  .timeline::before {
    left: 16px;
  }
  .timeline-item {
    grid-template-columns: 1fr;
    padding-left: 48px;
  }
  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    grid-column: 1;
    text-align: left;
    order: 2;
  }
  .timeline-item:nth-child(odd) .timeline-year,
  .timeline-item:nth-child(even) .timeline-year {
    grid-column: 1;
    padding: 0;
    justify-content: flex-start;
    order: 1;
  }
  .timeline-dot {
    left: 16px;
    top: 8px;
    transform: translateX(-50%);
  }

  .form-row {
    grid-template-columns: 1fr;
  }
  .contact-form-wrap {
    padding: 28px 20px;
  }

  .countdown {
    gap: 10px;
  }
  .countdown-box {
    padding: 10px 12px;
    min-width: 60px;
  }
  .countdown-box .num {
    font-size: 1.4rem;
  }

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

@media (max-width: 480px) {
  .activities-grid {
    grid-template-columns: 1fr;
  }
  .committee-grid-preview {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .faculty-grid {
    grid-template-columns: 1fr;
  }
  .hero-btns {
    flex-direction: column;
  }
  .hero-badge {
    font-size: 0.75rem;
  }
}

/* ============================================================
   NAVBAR DROPDOWN
   ============================================================ */
.has-dropdown {
  position: relative;
}

.has-dropdown > a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.dropdown-arrow {
  transition: transform 0.25s ease;
  flex-shrink: 0;
  opacity: 0.7;
}
.has-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
  opacity: 1;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  width: 290px;
  background: var(--white);
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.13);
  padding: 22px 8px 8px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s;
  z-index: 200;
}
/* arrow tip */
.nav-dropdown::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: var(--white);
  border-left: 1px solid var(--border);
  border-top: 1px solid var(--border);
  border-radius: 2px 0 0 0;
}
.has-dropdown:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.dropdown-section-label {
  display: block;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 8px 12px 3px;
}
.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 8px;
  transition: background 0.15s ease;
  color: var(--text) !important;
  background: transparent !important;
  font-size: 0.9rem !important;
  font-weight: 400 !important;
}
.dropdown-item:hover {
  background: var(--bg-light) !important;
}

.di-year {
  min-width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
}
.di-year.upcoming {
  background: #eff6ff;
  color: var(--primary);
}
.di-year.past {
  background: #f0fdf4;
  color: #059669;
}

.di-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
}
.di-sub {
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-top: 1px;
}

.dropdown-divider {
  height: 1px;
  background: var(--border);
  margin: 6px 4px;
}

/* Scrolled navbar refinements */
#navbar.scrolled {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

/* ============================================================
  MOBILE NAV – EVENTS ACCORDION
============================================================ */
.nav-events-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  padding: 12px 0;
  cursor: pointer;
  text-align: left;
}
.nav-events-toggle svg {
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.nav-events-toggle.open svg {
  transform: rotate(180deg);
}

.nav-mobile-submenu {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease;
  display: flex;
  flex-direction: column;
  background: rgba(0, 0, 0, 0.18);
  border-radius: 10px;
  margin: 2px 0 6px;
}
.nav-mobile-submenu.open {
  max-height: 500px;
}
.nav-mobile-submenu a {
  display: block !important;
  padding: 13px 16px 13px 22px !important;
  font-size: 1rem !important;
  font-weight: 500 !important;
  line-height: 1.45 !important;
  white-space: normal !important;
  color: rgba(255, 255, 255, 0.82) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
  border-left: 3px solid transparent !important;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s,
    padding-left 0.2s !important;
}
.nav-mobile-submenu a:last-child {
  border-bottom: none !important;
}
.nav-mobile-submenu a:hover {
  color: var(--white) !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border-left-color: var(--secondary) !important;
  padding-left: 26px !important;
}

/* ============================================================
  BROCHURE DOWNLOAD BUTTONS
============================================================ */
.brochure-strip {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-brochure {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
}
.btn-brochure:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-brochure-sidebar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1.5px solid var(--border);
  color: var(--primary);
  background: var(--bg-light);
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  justify-content: center;
  margin-top: 10px;
}
.btn-brochure-sidebar:hover {
  border-color: var(--secondary);
  background: #eff6ff;
  color: var(--secondary);
}

/* ============================================================
   UI REFINEMENTS
   ============================================================ */
/* Better section badge */
.section-badge {
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.12),
    rgba(109, 91, 208, 0.1)
  );
  color: var(--primary);
  border: 1px solid rgba(59, 130, 246, 0.18);
}

/* Subtle left-border accent on timeline content */
.timeline-content {
  position: relative;
}

/* Better card hover — thin gradient top border */
.activity-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  border-radius: 16px 16px 0 0;
  transform: scaleX(0);
  transition: transform 0.35s ease;
}
.activity-card:hover::after {
  transform: scaleX(1);
}

/* Keep ::before (bottom bar) off so we don't double-border */
.activity-card::before {
  display: none;
}

/* Slightly warmer button shadows */
.btn-primary {
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.28);
}
.btn-primary:hover {
  box-shadow: 0 6px 20px rgba(30, 58, 138, 0.35);
}

/* Slightly warmer button shadows */
.btn-Theme2026 {
  box-shadow: 0 4px 14px rgba(246, 149, 59, 0.28);
}

.btn-Theme2026:hover {
  box-shadow: 0 6px 20px rgba(246, 149, 59, 0.28);
}

/* Better member card avatar ring */
.member-card:hover .member-avatar {
  border-color: var(--secondary);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}

/* Event card image zoom smoother */
.event-card:hover .event-card-img img {
  transform: translateY(-2px);
}

/* Improve footer brand area */
.footer-brand .logo-text {
  color: var(--white);
}

/* Better page-hero with subtle grid pattern */
.page-hero {
  background-image:
    linear-gradient(135deg, var(--primary) 0%, #243f98 100%),
    radial-gradient(
      circle at 20% 80%,
      rgba(109, 91, 208, 0.15) 0%,
      transparent 50%
    );
}

/* Stat item divider on hero */
.hero-stats .stat-item + .stat-item {
  padding-left: 32px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
  .hero-stats .stat-item + .stat-item {
    border-left: none;
    padding-left: 0;
  }
  .brochure-strip {
    margin-top: 16px;
    padding-top: 16px;
  }
  .has-dropdown:hover .nav-dropdown {
    display: none;
  }
}


.event-hero2026 {
  min-height: 70vh;
background: linear-gradient(135deg, #105d75 0%, var(--theme2026) 50%, #126177 100%), url(../images/agusicon-bg.jpg);
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;

  background-size: cover;
}

.event-hero2026::before {
  content: "";
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: rgb(15 89 125 / 20%);
  top: -300px;
  right: -150px;
}

/* ============================================================
   SCROLL-TO-TOP BUTTON WITH PROGRESS RING
============================================================ */
#scrollTopBtn {
  position: fixed;
  right: 20px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition:
    bottom 0.35s ease,
    opacity 0.3s,
    visibility 0.3s,
    transform 0.3s,
    box-shadow 0.2s;
}
#scrollTopBtn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
#scrollTopBtn.above-bar {
  bottom: 88px;
}
#scrollTopBtn:hover {
  box-shadow: 0 6px 24px rgba(30, 58, 138, 0.22);
}
.scroll-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  border-radius: 50%;
}
.scroll-track {
  fill: none;
  stroke: rgba(30, 58, 138, 0.1);
  stroke-width: 3;
}
.scroll-ring {
  fill: none;
  stroke: var(--primary);
  stroke-width: 3;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.12s linear;
}
.scroll-chevron {
  position: relative;
  z-index: 1;
  color: var(--primary);
  display: flex;
}

/* ============================================================
   EVENT BOTTOM BAR
============================================================ */
#eventBottomBar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1050;
  background: linear-gradient(100deg, #0f2460 0%, #1d4ed8 60%, #1e40af 100%);
  color: #fff;
  transform: translateY(100%);
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.22);
}
#eventBottomBar.ebar-visible {
  transform: translateY(0);
}
.ebar-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 20px 10px 20px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: nowrap;
}
.ebar-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  flex: 1;
}
.ebar-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}
.ebar-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ebar-countdown {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}
.ebc {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 7px;
  padding: 4px 8px;
  min-width: 40px;
}
.ebc span {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.ebc em {
  font-style: normal;
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.65);
}
.ebar-cta {
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  border-radius: 8px;
  background: var(--secondary);
  color: #fff !important;
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  transition: filter 0.2s;
}
.ebar-cta:hover {
  filter: brightness(1.1);
}
.ebar-cta::after {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.35),
    transparent
  );
  animation: ebarGlow 2.2s ease-in-out infinite;
}
@keyframes ebarGlow {
  0% {
    left: -80%;
  }
  100% {
    left: 140%;
  }
}
#eBarClose {
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: rgba(255, 255, 255, 0.85);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s,
    color 0.2s;
}
#eBarClose:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}
@media (max-width: 640px) {
  .ebar-inner {
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 14px;
  }
  .ebar-info {
    flex: 1 1 calc(100% - 40px);
    order: 0;
  }
  #eBarClose {
    order: 1;
    margin-left: auto;
  }
  .ebar-countdown {
    order: 2;
    flex: 1;
    justify-content: center;
  }
  .ebar-cta {
    order: 3;
    flex: 1;
    justify-content: center;
  }
  .ebc {
    min-width: 36px;
    flex: 1;
  }
}

/* Sticky sidebar for registration on large screens */
.event-detail-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  align-items: start;
}
.event-sidebar {
  position: sticky;
  top: 90px;
}
.reg-card {
  background: var(--white);
  border-radius: 18px;
  padding: 32px 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
.reg-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
}
.reg-card .reg-fee {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 20px;
}
.reg-card .reg-fee span {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 400;
}
.reg-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text);
  margin-bottom: 12px;
}
.reg-feature svg {
  color: #059669;
  flex-shrink: 0;
}

.tab-nav {
  display: flex;
  gap: 4px;
  background: var(--bg-light);
  border-radius: 10px;
  padding: 4px;
  margin-bottom: 32px;
}
.tab-btn {
  flex: 1;
  text-align: center;
  padding: 9px 16px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  background: none;
  border: none;
  transition: var(--transition);
}
.tab-btn.active {
  background: var(--white);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.registration-shell {
  max-width: 820px;
  margin: 0 auto;
}
.registration-stepper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}
.stepper-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 18px;
  border: 1.5px solid var(--border);
  background: var(--white);
  transition: var(--transition);
}
.stepper-item.active {
  border-color: #93c5fd;
  background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%);
  box-shadow: var(--shadow-sm);
}
.stepper-item.complete {
  border-color: #86efac;
  background: linear-gradient(135deg, #ecfdf5 0%, #f8fafc 100%);
}
.stepper-dot {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-muted);
  background: var(--bg-light);
  flex-shrink: 0;
  transition: var(--transition);
}
.stepper-item.active .stepper-dot,
.stepper-item.complete .stepper-dot {
  color: #fff;
  background: var(--secondary);
}
.stepper-copy strong {
  display: block;
  color: var(--primary);
  font-size: 0.95rem;
  margin-bottom: 3px;
}
.stepper-copy span {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.reg-step-panel {
  display: none;
}
.reg-step-panel.active {
  display: block;
}
.step-note {
  margin-bottom: 22px;
  padding: 14px 18px;
  border-radius: 12px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e40af;
  font-size: 0.88rem;
  line-height: 1.6;
}
.registration-review {
  display: none;
  margin-bottom: 24px;
  padding: 20px 22px;
  border-radius: 16px;
  background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
  border: 1px solid #d7eafe;
}
.registration-review.show {
  display: block;
}
.registration-review h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
}
.registration-review-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 18px;
}
.review-item {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(191, 219, 254, 0.9);
}
.review-item .lbl {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.review-item .val {
  display: block;
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.5;
  word-break: break-word;
}
.fee-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 18px;
}
.fee-choice {
  position: relative;
}
.fee-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.fee-choice label {
  display: block;
  height: 100%;
  padding: 18px 18px 16px;
  border-radius: 16px;
  border: 1.5px solid var(--border);
  background: var(--white);
  cursor: pointer;
  transition: var(--transition);
}
.fee-choice label:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.fee-choice input:checked + label {
  border-color: #60a5fa;
  background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%);
  box-shadow: 0 12px 28px rgba(59, 130, 246, 0.12);
}
.fee-choice-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}
.fee-choice-price {
  font-size: 1.28rem;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1;
}
.fee-choice-copy {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.55;
}
.addon-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
  padding: 18px 20px;
  border-radius: 16px;
  border: 1.5px solid var(--border);
  background: var(--white);
}
.addon-card input {
  width: auto;
  margin-top: 3px;
}
input[type="checkbox"] {
  width: 20px !important;
  height: 20px !important;
  min-width: 20px;
  min-height: 20px !important;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: var(--primary);
  padding: 0 !important;
  -webkit-appearance: checkbox;
  appearance: checkbox;
}
.addon-card strong {
  display: block;
  color: var(--primary);
  font-size: 0.95rem;
  margin-bottom: 4px;
}
.addon-card span {
  display: block;
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.55;
}
.fee-summary {
  margin-bottom: 24px;
  padding: 22px;
  border-radius: 18px;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.fee-summary h3 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 14px;
}
.fee-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 10px;
}
.fee-summary-row:last-child {
  margin-bottom: 0;
}
.fee-summary-row.total {
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
}
.payment-step-grid {
  display: grid;

  gap: 20px;
  align-items: start;
  margin-bottom: 24px;
}

.qr-card {
  padding: 20px;
  /* border-radius: 18px; */
  /* border: 1.5px solid var(--border); */
  /* background: var(--white); */
  text-align: center;
  /* box-shadow: var(--shadow-sm); */
  display: flex;
  flex-direction: column;
  justify-self: center;
  gap: 25px;
  align-items: center;
  text-align: start;
  width: fit-content;
}

@media screen and (min-width: 768px) {
  .qr-card {
  }
}

.qr-card img {
  width: 100%;
  max-width: 210px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--border);
}
.qr-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}
.payment-info-card {
  padding: 24px;
  border-radius: 18px;
  border: 1.5px solid #c7d2fe;
  background: linear-gradient(135deg, #eef2ff 0%, #f8fafc 100%);
}
.payment-info-card h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}
.payment-info-card p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 14px;
}
.payment-info-list {
  display: grid;
  gap: 10px;
}
.payment-info-list .bank-row {
  margin-bottom: 0;
  font-size: 0.84rem;
}
.payment-proof-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg-light);
}
.payment-proof-preview[hidden] {
  display: none;
}
.payment-proof-thumb {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  background: #e2e8f0;
  border: 1px solid var(--border);
}
.payment-proof-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.payment-proof-copy {
  min-width: 0;
  flex: 1;
}
.payment-proof-copy strong {
  display: block;
  font-size: 0.86rem;
  color: var(--primary);
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.payment-proof-copy span {
  display: block;
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 4px;
}
.payment-proof-remove {
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 999px;
  background: #fee2e2;
  color: #b91c1c;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}
.payment-proof-remove:hover {
  background: #fecaca;
  transform: translateY(-2px);
}
.payment-form-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

@media (max-width: 900px) {
  .event-detail-layout {
    grid-template-columns: 1fr;
  }
  .event-sidebar {
    position: static;
  }
}

/* ── Early Bird Banner ── */
.early-bird-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #fffbeb, #fef3c7);
  border: 1.5px solid #fcd34d;
  border-radius: 10px;
  padding: 12px 20px;
  margin-bottom: 32px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #92400e;
}

/* ── Sponsorship Category Header ── */
.sp-cat-header {
  margin: 40px 0 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
}
.sp-cat-header h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 3px;
}
.sp-cat-header p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ── Core Sponsor Cards ── */
.core-sp-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}
.sp-card {
  border-radius: 16px;
  border: 2px solid var(--border);
  padding: 22px 18px;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  background: var(--white);
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.sp-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.sp-card.platinum {
  border-color: #cbd5e1;
  background: linear-gradient(160deg, #f8faff 0%, #eef2ff 100%);
}
.sp-card.platinum:hover {
  border-color: #3b82f6;
}
.sp-card.gold {
  border-color: #d97706;
  background: linear-gradient(160deg, #fffbeb 0%, #fef3c7 100%);
}
.sp-card.gold:hover {
  border-color: #b45309;
}
.sp-card.silver {
  border-color: #9ca3af;
  background: linear-gradient(160deg, #f9fafb 0%, #f3f4f6 100%);
}
.sp-card.silver:hover {
  border-color: #6b7280;
}
.sp-card.core-custom {
  background: linear-gradient(160deg, #ffffff 0%, #f8fafc 100%);
}
.sp-card.core-custom:hover {
  border-color: var(--secondary);
}

.sp-tier-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 30px;
  margin-bottom: 14px;
}
.sp-card.platinum .sp-tier-label {
  background: #1e3a8a;
  color: #fff;
}
.sp-card.gold .sp-tier-label {
  background: #d97706;
  color: #fff;
}
.sp-card.silver .sp-tier-label {
  background: #6b7280;
  color: #fff;
}
.sp-card.core-custom .sp-tier-label {
  background: #0f4c81;
  color: #fff;
}
.sp-title {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.35;
  margin-bottom: 12px;
}

.sp-price {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--primary);
  font-family: "Plus Jakarta Sans", sans-serif;
  line-height: 1;
}
.sp-gst {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
  margin-bottom: 16px;
}
.sp-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}
.sp-fact {
  padding: 9px 8px;
  border-radius: 12px;
  background: rgba(15, 76, 129, 0.06);
  border: 1px solid rgba(148, 163, 184, 0.22);
  min-width: 0;
}
.sp-fact-label {
  display: block;
  font-size: 0.63rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.sp-fact-value {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.sp-benefits {
  list-style: none;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1;
  min-width: 0;
}
.sp-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text);
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.sp-benefits li::before {
  content: "✓";
  width: 17px;
  height: 17px;
  background: #d1fae5;
  color: #059669;
  border-radius: 50%;
  font-size: 0.65rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.sp-details-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--secondary);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  transition: gap 0.2s;
  margin-top: auto;
}
.sp-card:hover .sp-details-btn {
  gap: 9px;
}

/* ── Specific Sponsor Grid ── */
.specific-sp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}
.specific-sp-card {
  background: var(--bg-light);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 20px 18px;
  cursor: pointer;
  transition: var(--transition);
  min-width: 0;
}
.specific-sp-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  background: var(--white);
  border-color: var(--secondary);
}
.ssp-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  margin-bottom: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}
.ssp-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 5px;
  line-height: 1.3;
}
.ssp-price {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--secondary);
  font-family: "Plus Jakarta Sans", sans-serif;
}
.ssp-gst {
  font-size: 0.72rem;
  color: var(--text-muted);
}
.ssp-hint {
  font-size: 0.73rem;
  color: var(--text-muted);
  margin-top: 7px;
  font-style: italic;
}

/* ── Payment / Bank Details ── */
.payment-section {
  margin-top: 44px;
  padding-top: 32px;
  border-top: 2px dashed var(--border);
}
.payment-section > h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 5px;
}
.payment-section > p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 22px;
}
.payment-grid {
  display: grid;
  gap: 20px;
}
.payment-card {
  border-radius: 16px;
  padding: 26px;
  border: 2px solid;
}
.bank-card {
  border-color: #bfdbfe;
  background: #eff6ff;
}
.secretariat-card {
  border-color: #a8dde8;
  background: #f0f9fc;
}
.payment-card h4 {
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.bank-card h4 {
  color: var(--primary);
}
.secretariat-card h4 {
  color: var(--accent);
}
.bank-row {
  display: flex;
  gap: 10px;
  font-size: 0.855rem;
  margin-bottom: 9px;
  align-items: flex-start;
}
.bank-row .lbl {
  font-weight: 600;
  color: var(--text);
  min-width: 110px;
  flex-shrink: 0;
}
.bank-row .val {
  color: var(--text-muted);
}
.contact-row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.855rem;
  margin-bottom: 8px;
  color: var(--text);
}
.contact-row svg {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── Sponsor Modal ── */
.sp-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 22, 60, 0.55);
  backdrop-filter: blur(5px);
  z-index: 9000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.sp-modal-overlay.active {
  display: flex;
}
.sp-modal-box {
  background: var(--white);
  border-radius: 20px;
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.22);
  animation: spModalIn 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes spModalIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(12px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
.sp-modal-header {
  padding: 26px 26px 18px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  position: sticky;
  top: 0;
  background: var(--white);
  border-radius: 20px 20px 0 0;
  z-index: 1;
}
.sp-modal-close {
  background: var(--bg-light);
  border: none;
  border-radius: 8px;
  width: 34px;
  height: 34px;
  cursor: pointer;
  font-size: 1.3rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}
.sp-modal-close:hover {
  background: var(--border);
  color: var(--text);
}
.sp-modal-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  margin-top: 8px;
}
.sp-modal-price {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--secondary);
  font-family: "Plus Jakarta Sans", sans-serif;
  line-height: 1;
  margin-top: 6px;
}
.sp-modal-gst {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2px;
}
.sp-modal-body {
  padding: 22px 26px 26px;
}
.sp-modal-benefits-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.sp-modal-benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 26px;
}
.sp-modal-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text);
}
.sp-modal-benefits li .chk {
  width: 20px;
  height: 20px;
  background: #d1fae5;
  color: #059669;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.sp-modal-cta {
  display: flex;
  gap: 11px;
  flex-wrap: wrap;
}
.sp-modal-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

@media (max-width: 1260px) {
  .core-sp-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 980px) {
  .core-sp-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 768px) {
  .core-sp-grid {
    grid-template-columns: 1fr;
  }
  .payment-grid {
    grid-template-columns: 1fr;
  }
  .specific-sp-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .registration-stepper {
    grid-template-columns: 1fr;
  }
  .registration-review-grid,
  .fee-choice-grid,
  .payment-step-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  .sp-facts {
    grid-template-columns: 1fr;
  }
  .specific-sp-grid {
    grid-template-columns: 1fr;
  }
  .stepper-item,
  .addon-card,
  .payment-info-card,
  .qr-card,
  .fee-summary {
    padding: 16px;
  }
  .payment-form-actions .btn,
  .payment-form-actions .btn-outline-primary {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================================
   CTA SECTION (replaces inline purple gradient)
   ============================================================ */
.cta-section {
  background: var(--primary);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 75% 40%, rgba(48, 174, 195, 0.30) 0%, transparent 60%),
    radial-gradient(circle at 20% 70%, rgba(17, 91, 134, 0.40) 0%, transparent 50%);
  pointer-events: none;
}
.cta-section .container {
  position: relative;
  z-index: 1;
}

/* Button press feedback */
.btn:active {
  transform: translateY(1px) scale(0.98) !important;
  transition: transform 0.1s ease !important;
}

