/* ============================================================
   TRAC 2026 — Global Stylesheet
   Tamil Nadu Chapter RSSDI | 17th Annual Conference
   ============================================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700;800&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  --navy:   #002147;
  --teal:   #008080;
  --teal-light: #00a8a8;
  --teal-dark:  #006060;
  --white:  #ffffff;
  --off-white: #f4f8fb;
  --gray-light: #e8eef4;
  --gray:   #8a9ab0;
  --text:   #1a2a3a;
  --shadow: 0 4px 24px rgba(0,33,71,0.10);
  --shadow-lg: 0 8px 40px rgba(0,33,71,0.16);
  --radius: 12px;
  --transition: 0.28s cubic-bezier(0.4,0,0.2,1);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }
h1,h2,h3,h4 { font-family: 'Playfair Display', serif; line-height: 1.2; }

/* ---------- Utilities ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--navy);
  margin-bottom: 12px;
}
.section-subtitle {
  font-size: 1rem;
  color: var(--gray);
  margin-bottom: 48px;
  max-width: 560px;
}
.accent { color: var(--teal); }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}
.btn-primary:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,128,128,0.32);
}
.btn-outline {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}
.btn-outline:hover {
  background: var(--teal);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-white {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--off-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.tag {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(0,128,128,0.12);
  color: var(--teal);
  margin-bottom: 14px;
}
.divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--teal-light));
  border-radius: 2px;
  margin: 16px 0 40px;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(0,33,71,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.22);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal) 0%, #005f5f 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 1rem;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.2);
  overflow: hidden;
  flex-shrink: 0;
}
.nav-logo img { width: 100%; height: 100%; object-fit: cover; }
.nav-brand-text { display: flex; flex-direction: column; }
.nav-brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
}
.nav-brand-sub {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.04em;
  line-height: 1.2;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  color: rgba(255,255,255,0.82);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 8px 13px;
  border-radius: 8px;
  transition: all var(--transition);
  position: relative;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(0,128,128,0.25);
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--teal-light);
  border-radius: 1px;
}
.nav-links .btn { padding: 9px 20px; font-size: 0.85rem; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================================
   HERO — HOME
   ============================================================ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #001530 0%, #002147 50%, #003060 100%);
  overflow: hidden;
}
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(0,128,128,0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(0,128,128,0.10) 0%, transparent 40%),
    radial-gradient(circle at 60% 80%, rgba(0,33,71,0.8) 0%, transparent 50%);
}
.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,128,128,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,128,128,0.06) 1px, transparent 1px);
  background-size: 50px 50px;
}
.hero-dna {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 320px;
  height: 500px;
  opacity: 0.12;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}
.hero-edition {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,128,128,0.18);
  border: 1px solid rgba(0,128,128,0.35);
  border-radius: 50px;
  padding: 7px 18px;
  color: var(--teal-light);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-edition .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--teal-light);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}
.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  color: var(--white);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 16px;
}
.hero-title .highlight {
  color: var(--teal-light);
  display: block;
}
.hero-theme {
  font-size: clamp(0.95rem, 1.8vw, 1.12rem);
  color: rgba(255,255,255,0.65);
  font-style: italic;
  margin-bottom: 32px;
  padding-left: 16px;
  border-left: 3px solid var(--teal);
  line-height: 1.5;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 40px;
}
.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.85);
  font-size: 0.92rem;
}
.hero-meta-item .icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(0,128,128,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.hero-meta-item strong { display: block; color: var(--white); font-size: 0.95rem; }
.hero-meta-item span { font-size: 0.78rem; color: rgba(255,255,255,0.55); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Countdown */
.countdown-section {
  background: var(--navy);
  padding: 40px 0;
  border-top: 1px solid rgba(0,128,128,0.3);
}
.countdown-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
}
.countdown-label {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.countdown-timer {
  display: flex;
  gap: 16px;
}
.countdown-unit {
  text-align: center;
  min-width: 72px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(0,128,128,0.25);
  border-radius: 10px;
  padding: 12px 8px;
}
.countdown-unit .num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--teal-light);
  line-height: 1;
  display: block;
}
.countdown-unit .lbl {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
  display: block;
}

/* About & Highlights */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-text p { color: #3a4a5a; margin-bottom: 18px; line-height: 1.75; }
.about-stats {
  display: flex;
  gap: 32px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.stat-card {
  text-align: center;
}
.stat-card .num {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--teal);
}
.stat-card .lbl { font-size: 0.8rem; color: var(--gray); }
.about-visual {
  position: relative;
}
.about-img-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #e8f4f8 0%, #d0e8e8 100%);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--teal);
  font-size: 3rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-img-placeholder::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 40%;
  background: linear-gradient(0deg, rgba(0,128,128,0.12), transparent);
}
.about-img-placeholder p {
  font-size: 0.9rem;
  color: var(--teal-dark);
  margin: 0;
}
.highlights-bg { background: var(--off-white); }
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 0;
}
.highlight-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  border: 1px solid var(--gray-light);
}
.highlight-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0,128,128,0.2);
}
.highlight-icon {
  width: 64px; height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(0,128,128,0.12), rgba(0,128,128,0.06));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 18px;
}
.highlight-card h3 {
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 8px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
}
.highlight-card p { font-size: 0.85rem; color: var(--gray); }

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, #003060 100%);
  padding: 72px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(0,128,128,0.15), transparent 70%);
}
.cta-banner h2 {
  color: var(--white);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 12px;
  position: relative;
}
.cta-banner p {
  color: rgba(255,255,255,0.65);
  margin-bottom: 32px;
  font-size: 1rem;
  position: relative;
}
.cta-banner .btn-group { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ============================================================
   SCIENTIFIC PROGRAM
   ============================================================ */
.program-controls {
  background: var(--off-white);
  padding: 32px 0;
  border-bottom: 1px solid var(--gray-light);
}
.program-controls .container {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.tab-buttons { display: flex; gap: 8px; }
.tab-btn {
  padding: 10px 24px;
  border-radius: 50px;
  border: 2px solid var(--gray-light);
  background: var(--white);
  color: var(--gray);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition);
}
.tab-btn.active, .tab-btn:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
}
.search-box {
  display: flex;
  align-items: center;
  background: var(--white);
  border: 1.5px solid var(--gray-light);
  border-radius: 50px;
  padding: 8px 18px;
  gap: 10px;
  min-width: 260px;
}
.search-box input {
  border: none;
  outline: none;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--text);
  background: none;
  flex: 1;
}
.search-box input::placeholder { color: var(--gray); }
.search-icon { color: var(--gray); font-size: 1rem; }
.program-table-wrap { overflow-x: auto; }
.program-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.program-table th {
  background: var(--navy);
  color: rgba(255,255,255,0.9);
  padding: 16px 20px;
  text-align: left;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.program-table th:first-child { border-radius: 8px 0 0 0; }
.program-table th:last-child { border-radius: 0 8px 0 0; }
.program-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--gray-light);
  vertical-align: middle;
}
.program-table tr:last-child td { border-bottom: none; }
.program-table tr:hover td { background: rgba(0,128,128,0.04); }
.program-table .time-cell {
  font-weight: 600;
  color: var(--teal-dark);
  white-space: nowrap;
  font-size: 0.85rem;
}
.program-table .topic-cell { font-weight: 500; color: var(--navy); }
.program-table .speaker-cell { color: var(--gray); font-size: 0.88rem; }
.session-header td {
  background: linear-gradient(90deg, rgba(0,33,71,0.06), rgba(0,128,128,0.06));
  font-weight: 700;
  color: var(--navy);
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  padding: 12px 20px;
}
.program-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 24px;
}
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ============================================================
   COMMITTEES
   ============================================================ */
.committee-section { padding: 60px 0; }
.committee-section + .committee-section { padding-top: 0; }
.committee-section-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--gray-light);
}
.committee-section-header .icon-badge {
  width: 50px; height: 50px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy), #003060);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.member-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}
.member-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-light);
  transition: all var(--transition);
}
.member-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0,128,128,0.2);
}
.member-photo {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #dce8f0, #c0dce0);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 2rem;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px rgba(0,128,128,0.2);
  overflow: hidden;
}
.member-photo img { width: 100%; height: 100%; object-fit: cover; }
.member-name {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 4px;
}
.member-designation {
  font-size: 0.78rem;
  color: var(--teal-dark);
  font-weight: 500;
  margin-bottom: 4px;
}
.member-institution {
  font-size: 0.75rem;
  color: var(--gray);
  line-height: 1.4;
}
.featured-member {
  grid-column: span 1;
}
.patron-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}
.patron-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(135deg, rgba(0,33,71,0.04), rgba(0,128,128,0.04));
  border: 1px solid rgba(0,33,71,0.1);
  border-radius: var(--radius);
  padding: 18px 20px;
  transition: all var(--transition);
}
.patron-card:hover {
  border-color: rgba(0,128,128,0.3);
  background: linear-gradient(135deg, rgba(0,33,71,0.06), rgba(0,128,128,0.08));
}
.patron-photo {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #dce8f0, #c0dce0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(0,128,128,0.15);
  overflow: hidden;
}
.patron-photo img { width: 100%; height: 100%; object-fit: cover; }
.patron-info .patron-name { font-weight: 700; font-size: 0.92rem; color: var(--navy); }
.patron-info .patron-role { font-size: 0.78rem; color: var(--teal-dark); font-weight: 500; }

/* ============================================================
   ABSTRACT
   ============================================================ */
.abstract-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: start;
}
.guidelines-card {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 36px 32px;
  border: 1px solid var(--gray-light);
}
.guidelines-card h3 {
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.guideline-item {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
  align-items: flex-start;
}
.guideline-item .g-icon {
  width: 28px; height: 28px;
  border-radius: 6px;
  background: rgba(0,128,128,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
  color: var(--teal);
}
.guideline-item .g-text strong { display: block; font-size: 0.88rem; color: var(--navy); margin-bottom: 2px; }
.guideline-item .g-text span { font-size: 0.82rem; color: var(--gray); }
.themes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 28px;
}
.theme-pill {
  background: rgba(0,33,71,0.06);
  border: 1px solid rgba(0,33,71,0.1);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 0.78rem;
  color: var(--navy);
  font-weight: 500;
  text-align: center;
  line-height: 1.3;
}
.submission-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 36px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-light);
}
.form-group { margin-bottom: 22px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}
.form-group label span { color: var(--teal); }
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-light);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--text);
  background: var(--white);
  transition: all var(--transition);
  outline: none;
}
.form-control:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0,128,128,0.12);
}
.form-control::placeholder { color: var(--gray); }
textarea.form-control { resize: vertical; min-height: 100px; }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238a9ab0' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.file-upload {
  border: 2px dashed var(--gray-light);
  border-radius: 8px;
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  background: var(--off-white);
}
.file-upload:hover {
  border-color: var(--teal);
  background: rgba(0,128,128,0.04);
}
.file-upload .upload-icon { font-size: 2.2rem; margin-bottom: 10px; color: var(--teal); }
.file-upload p { font-size: 0.85rem; color: var(--gray); }
.file-upload strong { color: var(--teal); }
.file-upload input[type="file"] { display: none; }
.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
}
.form-note { font-size: 0.78rem; color: var(--gray); }

/* ============================================================
   REGISTRATION
   ============================================================ */
.pricing-section { background: var(--off-white); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.pricing-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 2px solid transparent;
  transition: all var(--transition);
}
.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.pricing-card.featured {
  border-color: var(--teal);
  position: relative;
}
.pricing-card.featured::before {
  content: '⭐ Most Popular';
  position: absolute;
  top: 16px;
  right: -30px;
  background: var(--teal);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 5px 40px;
  transform: rotate(45deg);
  letter-spacing: 0.05em;
}
.pricing-header {
  background: linear-gradient(135deg, var(--navy), #003060);
  padding: 28px 28px 24px;
  color: var(--white);
}
.pricing-card.featured .pricing-header {
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
}
.pricing-category { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.7; margin-bottom: 6px; }
.pricing-title { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700; margin-bottom: 4px; }
.pricing-desc { font-size: 0.82rem; opacity: 0.7; }
.pricing-phases { padding: 28px; }
.phase-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-light);
}
.phase-row:last-child { border-bottom: none; }
.phase-name { font-size: 0.88rem; color: var(--navy); font-weight: 500; }
.phase-dates { font-size: 0.75rem; color: var(--gray); margin-top: 2px; }
.phase-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--teal);
}
.phase-price small { font-family: 'DM Sans', sans-serif; font-size: 0.75rem; color: var(--gray); font-weight: 400; }
.pricing-footer { padding: 0 28px 28px; }
.pricing-footer .btn { width: 100%; justify-content: center; }
.includes-section { padding: 60px 0; }
.includes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 32px;
}
.include-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: 10px;
  padding: 16px;
}
.include-item .inc-icon { font-size: 1.4rem; }
.include-item .inc-text { font-size: 0.88rem; color: var(--navy); font-weight: 500; }

/* Modal */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--white);
  border-radius: 20px;
  padding: 40px;
  width: 100%;
  max-width: 520px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  position: relative;
  animation: modalIn 0.3s cubic-bezier(0.4,0,0.2,1);
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--gray-light);
  background: none;
  font-size: 1.1rem;
  color: var(--gray);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.modal-close:hover { background: var(--gray-light); color: var(--navy); }
.modal h3 { font-size: 1.5rem; color: var(--navy); margin-bottom: 8px; }
.modal p { font-size: 0.88rem; color: var(--gray); margin-bottom: 28px; }

/* ============================================================
   QUIZ
   ============================================================ */
.quiz-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #003060 60%, var(--teal-dark) 100%);
  padding: 90px 0 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.quiz-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(0,128,128,0.2), transparent 40%),
    radial-gradient(circle at 80% 30%, rgba(255,255,255,0.04), transparent 40%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23008080' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.quiz-hero-content { position: relative; z-index: 2; }
.quiz-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,215,0,0.15);
  border: 1px solid rgba(255,215,0,0.3);
  border-radius: 50px;
  padding: 7px 18px;
  color: #ffd700;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.quiz-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: var(--white);
  margin-bottom: 16px;
}
.quiz-hero .subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 40px;
  max-width: 580px;
  margin-left: auto; margin-right: auto;
}
.quiz-cta-group { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.quiz-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.quiz-info-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-light);
  transition: all var(--transition);
}
.quiz-info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0,128,128,0.2);
}
.quiz-info-card .card-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 18px;
}
.quiz-info-card h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 12px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
}
.quiz-info-card ul { padding-left: 0; }
.quiz-info-card ul li {
  font-size: 0.88rem;
  color: var(--gray);
  padding: 6px 0;
  border-bottom: 1px solid var(--gray-light);
  display: flex;
  align-items: center;
  gap: 8px;
}
.quiz-info-card ul li:last-child { border-bottom: none; }
.quiz-info-card ul li::before {
  content: '✓';
  color: var(--teal);
  font-weight: 700;
  flex-shrink: 0;
}
.prizes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 0;
}
.prize-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 2px solid var(--gray-light);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.prize-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
}
.prize-card.gold::before { background: linear-gradient(90deg, #c8a000, #ffd700); }
.prize-card.silver::before { background: linear-gradient(90deg, #8a8a8a, #c0c0c0); }
.prize-card.bronze::before { background: linear-gradient(90deg, #8c4a00, #cd7f32); }
.prize-card.gold { border-color: rgba(255,215,0,0.3); }
.prize-card.silver { border-color: rgba(192,192,192,0.4); }
.prize-card.bronze { border-color: rgba(205,127,50,0.3); }
.prize-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.prize-medal { font-size: 3rem; margin-bottom: 12px; display: block; }
.prize-position { font-size: 0.8rem; color: var(--gray); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 6px; }
.prize-amount {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 6px;
}
.prize-plus { font-size: 0.82rem; color: var(--teal); font-weight: 500; }
.quiz-timeline {
  position: relative;
  padding-left: 32px;
  margin-top: 32px;
}
.quiz-timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--teal), transparent);
}
.timeline-item {
  position: relative;
  margin-bottom: 28px;
  padding-left: 24px;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -28px;
  top: 5px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--teal);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 2px var(--teal);
}
.timeline-item .t-date { font-size: 0.78rem; color: var(--teal); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.timeline-item .t-title { font-size: 0.95rem; font-weight: 600; color: var(--navy); margin-top: 2px; }
.timeline-item .t-desc { font-size: 0.82rem; color: var(--gray); margin-top: 2px; }
.quiz-register-section {
  background: linear-gradient(135deg, var(--navy) 0%, #003060 100%);
  padding: 72px 0;
  text-align: center;
}
.quiz-register-section h2 { color: var(--white); margin-bottom: 12px; }
.quiz-register-section p { color: rgba(255,255,255,0.65); margin-bottom: 32px; }

/* ============================================================
   SPONSORSHIP
   ============================================================ */
.sponsor-tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.sponsor-tier {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 2px solid transparent;
  transition: all var(--transition);
}
.sponsor-tier:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.tier-header { padding: 24px 28px; }
.tier-header .tier-icon { font-size: 2.2rem; margin-bottom: 10px; }
.tier-header .tier-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 4px;
}
.tier-header .tier-amount { font-size: 1rem; color: rgba(255,255,255,0.75); }
.platinum .tier-header { background: linear-gradient(135deg, #3a3a5c, #5a5a8a); }
.gold-tier .tier-header { background: linear-gradient(135deg, #7a5800, #c8a000); }
.silver-tier .tier-header { background: linear-gradient(135deg, #4a4a4a, #888); }
.bronze-tier .tier-header { background: linear-gradient(135deg, #6a3a00, #b07030); }
.platinum { border-color: rgba(138,138,180,0.4); }
.gold-tier { border-color: rgba(200,160,0,0.4); }
.silver-tier { border-color: rgba(136,136,136,0.4); }
.bronze-tier { border-color: rgba(176,112,48,0.4); }
.tier-benefits { padding: 24px 28px; background: var(--white); }
.tier-benefits li {
  font-size: 0.85rem;
  color: var(--text);
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-light);
  display: flex; align-items: center; gap: 8px;
}
.tier-benefits li:last-child { border-bottom: none; }
.tier-benefits li::before { content: '✓'; color: var(--teal); font-weight: 700; flex-shrink: 0; }
.tier-footer { padding: 16px 28px 24px; background: var(--white); }
.sponsor-cta {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 48px;
  text-align: center;
  border: 1px solid var(--gray-light);
  margin-top: 48px;
}

/* ============================================================
   PAGE HEADER (inner pages)
   ============================================================ */
.page-header {
  background: linear-gradient(135deg, var(--navy) 0%, #003060 100%);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 50%, rgba(0,128,128,0.15), transparent 50%),
    url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23008080' fill-opacity='0.05' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
}
.page-header-content { position: relative; z-index: 2; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 0.82rem;
  margin-bottom: 16px;
}
.breadcrumb a { color: rgba(255,255,255,0.5); }
.breadcrumb a:hover { color: var(--teal-light); }
.breadcrumb span { color: rgba(255,255,255,0.8); }
.page-header h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--white);
  margin-bottom: 10px;
}
.page-header p { color: rgba(255,255,255,0.65); font-size: 1rem; max-width: 580px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .logo-area {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.footer-brand .logo-circle {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(0,128,128,0.3);
  border: 2px solid rgba(0,128,128,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--teal-light);
  font-weight: 700;
}
.footer-brand-name { color: var(--white); font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700; }
.footer-brand-sub { color: rgba(255,255,255,0.45); font-size: 0.7rem; line-height: 1.3; }
.footer-brand p { color: rgba(255,255,255,0.55); font-size: 0.85rem; line-height: 1.75; margin-bottom: 20px; }
.social-links { display: flex; gap: 10px; }
.social-link {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: all var(--transition);
}
.social-link:hover { background: var(--teal); border-color: var(--teal); color: var(--white); }
.footer-col h4 {
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  color: rgba(255,255,255,0.55);
  font-size: 0.85rem;
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-col ul li a::before { content: '→'; opacity: 0; transition: all var(--transition); margin-left: -12px; }
.footer-col ul li a:hover { color: var(--teal-light); }
.footer-col ul li a:hover::before { opacity: 1; margin-left: 0; }
.address-item {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  align-items: flex-start;
}
.address-item .addr-icon { color: var(--teal-light); flex-shrink: 0; margin-top: 2px; }
.address-item .addr-text { color: rgba(255,255,255,0.55); font-size: 0.82rem; line-height: 1.55; }
.footer-bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { color: rgba(255,255,255,0.35); font-size: 0.78rem; }
.footer-bottom a { color: rgba(255,255,255,0.45); }
.footer-bottom a:hover { color: var(--teal-light); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .abstract-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: rgba(0,33,71,0.98); padding: 20px; gap: 4px; border-top: 1px solid rgba(0,128,128,0.2); z-index: 999; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 16px; border-radius: 8px; }
  .hamburger { display: flex; }
  .hero { min-height: auto; padding: 80px 0 60px; }
  .hero-dna { display: none; }
  .hero-meta { gap: 16px; }
  .about-stats { gap: 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .pricing-card.featured::before { display: none; }
  .program-controls .container { flex-direction: column; align-items: flex-start; }
  .search-box { width: 100%; }
  .quiz-hero { padding: 60px 0 50px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-actions { flex-direction: column; }
  .countdown-timer { gap: 8px; }
  .countdown-unit { min-width: 60px; }
  .countdown-unit .num { font-size: 1.5rem; }
  .modal { padding: 28px 20px; }
  .submission-form { padding: 28px 20px; }
  .guidelines-card { padding: 24px 20px; }
  .themes-grid { grid-template-columns: 1fr; }
  .prizes-grid { grid-template-columns: 1fr; }
}

/* Fade in animation for page elements */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
