/* ============================================================
   2nd NAO Conclave 2026 — Design System & Styles
   Color: Deep Navy Blue + Gold | Premium Medical Conference
   ============================================================ */

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

/* ==================== CUSTOM PROPERTIES ==================== */
:root {
  /* Primary Indigo-Navy (from the conclave logo "2nd NAO" + dancer) */
  --navy-900: #0b0a24;
  --navy-800: #110f31;
  --navy-700: #191643;
  --navy-600: #221e56;
  --navy-500: #2c2769;
  --navy-400: #3a3484;
  --navy-300: #4d46a0;
  --navy-200: #6a62bf;

  /* Orange-Vermillion — signature accent (from "CONCLAVE" + temple) */
  --orange-600: #b23a12;
  --orange-500: #d6481a;
  --orange-400: #ef5a24;
  --orange-300: #f77f45;
  --orange-200: #ffa173;

  /* Gold-Bronze — secondary accent (from the Konark wheel) */
  --gold-600: #9a7a2e;
  --gold-500: #b8923a;
  --gold-400: #d4ab4e;
  --gold-300: #e3c069;
  --gold-200: #f1d488;
  --gold-100: #f9e9b6;

  /* Neutrals */
  --white: #ffffff;
  --gray-100: #f5f6f8;
  --gray-200: #e2e5ea;
  --gray-300: #c5c9d2;
  --gray-400: #9da3b0;
  --gray-500: #6b7280;
  --gray-600: #4b5563;

  /* Functional */
  --success: #10b981;
  --error: #ef4444;
  --info: #3b82f6;

  /* Surfaces */
  --surface-dark: rgba(17, 15, 49, 0.95);
  --surface-card: rgba(44, 39, 105, 0.45);
  --surface-card-hover: rgba(58, 52, 132, 0.55);
  --surface-glass: rgba(255, 255, 255, 0.04);
  --border-subtle: rgba(212, 171, 78, 0.22);
  --border-gold: rgba(212, 171, 78, 0.5);
  --border-orange: rgba(239, 90, 36, 0.45);
  --border-light: rgba(255, 255, 255, 0.08);

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-alt: 'Outfit', sans-serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 50%;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-gold: 0 4px 20px rgba(239, 90, 36, 0.22);
  --shadow-glow: 0 0 30px rgba(239, 90, 36, 0.14);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;
  --transition-spring: 400ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Layout */
  --max-width: 1280px;
  --nav-height: 88px;
}

/* ==================== RESET & BASE ==================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--navy-800);
  color: var(--gray-200);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: var(--gold-300);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--gold-200);
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
}

::selection {
  background: var(--gold-400);
  color: var(--navy-900);
}

/* ==================== TYPOGRAPHY ==================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--white);
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.4rem); }

.text-gold { color: var(--gold-400); }
.text-gold-light { color: var(--gold-200); }
.text-muted { color: var(--gray-400); }

/* ==================== UTILITIES ==================== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

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

.section-dark {
  background: var(--navy-900);
}

.section-darker {
  background: var(--navy-800);
}

.section-gradient {
  background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 100%);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-header h2 {
  margin-bottom: var(--space-md);
  position: relative;
  display: inline-block;
}

.section-header .section-label {
  font-family: var(--font-alt);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: var(--space-sm);
  display: block;
}

.section-header p {
  max-width: 680px;
  margin: 0 auto;
  color: var(--gray-400);
  font-size: 1.05rem;
}

.gold-divider {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold-400), transparent);
  margin: var(--space-lg) auto;
  border-radius: 2px;
}

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

/* ==================== NAVBAR ==================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: all var(--transition-base);
  padding: 0 var(--space-xl);
}

.navbar.scrolled {
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-shrink: 0;
}

/* Left: Ashwini Group (prominent organising partner) */
.logo-ashwini {
  height: 76px;
  width: auto;
  /* Removed white background for seamless look */
}

/* In dark mode, ensure logos are visible without a box using a strong drop-shadow outline */
[data-theme="dark"] .hero-logo {
  filter: drop-shadow(1px 1px 0 #fff) drop-shadow(-1px -1px 0 #fff) drop-shadow(1px -1px 0 #fff) drop-shadow(-1px 1px 0 #fff) drop-shadow(0 0 10px rgba(255, 255, 255, 0.4));
}

/* Very thin subtle outline for Ashwini logo so it doesn't look like a thick border */
[data-theme="dark"] .logo-ashwini {
  filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.8));
}

/* Ensure no filters in light mode just in case */
[data-theme="light"] .logo-ashwini {
  background: transparent;
  padding: 0;
  box-shadow: none;
  filter: none;
}

.nav-brand-left .brand-tag {
  font-family: var(--font-alt);
  font-size: 0.6rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-400);
  border-left: 1px solid var(--border-subtle);
  padding-left: var(--space-sm);
}

/* Right: NAO + ANB society crests */
.nav-right {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-shrink: 0;
}

.logo-nao {
  height: 80px;
  width: auto;
}

/* Theme toggle button */
.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-300);
  border: 1px solid var(--border-subtle);
  background: var(--surface-glass);
  transition: all var(--transition-base);
  flex-shrink: 0;
}

.theme-toggle:hover {
  color: var(--gold-200);
  border-color: var(--border-gold);
  transform: rotate(12deg);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
}

/* Show the correct icon per theme */
.theme-toggle .icon-moon { display: none; }
.theme-toggle .icon-sun  { display: block; }
[data-theme="light"] .theme-toggle .icon-moon { display: block; }
[data-theme="light"] .theme-toggle .icon-sun  { display: none; }

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: var(--space-xs);
}

.nav-links a {
  font-family: var(--font-alt);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-300);
  padding: var(--space-sm);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  letter-spacing: 0.2px;
  position: relative;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--orange-300);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--orange-400);
  border-radius: 1px;
}

.nav-cta {
  font-family: var(--font-alt) !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  color: #ffffff !important;
  background: linear-gradient(135deg, var(--orange-500), var(--orange-400));
  padding: var(--space-sm) var(--space-lg) !important;
  border-radius: var(--radius-md) !important;
  transition: all var(--transition-base) !important;
  box-shadow: var(--shadow-gold);
}

.nav-cta:hover {
  background: linear-gradient(135deg, var(--orange-400), var(--orange-300));
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(239, 90, 36, 0.35);
  color: #ffffff !important;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-sm);
  z-index: 1001;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ==================== HERO SECTION ==================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-height);
  background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-700) 40%, var(--navy-600) 100%);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(201, 168, 76, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(36, 59, 106, 0.3) 0%, transparent 50%),
    radial-gradient(ellipse at 60% 80%, rgba(201, 168, 76, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

/* Hero dynamic canvas background */
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--space-xl);
  max-width: 900px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  padding: var(--space-sm) var(--space-lg);
  font-family: var(--font-alt);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gold-300);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: var(--space-xl);
  animation: fadeInDown 0.8s ease-out;
}

.hero-badge .badge-dot {
  width: 8px;
  height: 8px;
  background: var(--orange-400);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

/* Event logo as hero centerpiece */
.hero-logo {
  width: min(560px, 88%);
  height: auto;
  margin: 0 auto var(--space-lg);
  /* Removed white background box */
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* Light mode overrides */
[data-theme="light"] .hero-logo {
  background: transparent;
  padding: 0;
  box-shadow: none;
  filter: none;
}

/* Visually-hidden but accessible to screen readers / SEO */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  margin-bottom: var(--space-md);
  animation: fadeInUp 0.8s ease-out 0.2s both;
  line-height: 1.1;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-200));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 400;
  font-style: italic;
  color: var(--gray-300);
  margin-bottom: var(--space-xl);
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-details {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  flex-wrap: wrap;
  margin-bottom: var(--space-2xl);
  animation: fadeInUp 0.8s ease-out 0.5s both;
}

.hero-detail {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-alt);
  font-size: 1rem;
  color: var(--gray-200);
  font-weight: 500;
}

.hero-detail svg {
  width: 20px;
  height: 20px;
  color: var(--gold-400);
  flex-shrink: 0;
}

/* Countdown Timer */
.countdown {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.countdown-item {
  text-align: center;
  min-width: 80px;
}

.countdown-value {
  font-family: var(--font-alt);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--white);
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-sm) var(--space-md);
  min-width: 80px;
  display: block;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  line-height: 1.3;
}

.countdown-label {
  font-family: var(--font-alt);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-top: var(--space-sm);
  display: block;
}

/* Hero CTA Buttons */
.hero-actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.7s both;
}

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-alt);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  letter-spacing: 0.3px;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--orange-500), var(--orange-400));
  color: #ffffff;
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--orange-400), var(--orange-300));
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(239, 90, 36, 0.4);
  color: #ffffff;
}

.btn-outline {
  background: transparent;
  color: var(--gold-300);
  border: 1.5px solid var(--border-gold);
}

.btn-outline:hover {
  background: rgba(212, 171, 78, 0.1);
  border-color: var(--gold-300);
  transform: translateY(-2px);
  color: var(--gold-200);
}

.btn svg {
  width: 18px;
  height: 18px;
}

/* ==================== ABOUT SECTION ==================== */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.about-text p {
  margin-bottom: var(--space-md);
  font-size: 1.05rem;
  color: var(--gray-300);
}

.about-text .welcome-name {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold-300);
  font-weight: 500;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.highlight-card {
  background: var(--surface-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  transition: all var(--transition-base);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.highlight-card:hover {
  border-color: var(--border-subtle);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.highlight-card .icon {
  font-size: 2.2rem;
  margin-bottom: var(--space-md);
  display: block;
}

.highlight-card h4 {
  font-family: var(--font-alt);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.highlight-card p {
  font-size: 0.9rem;
  color: var(--gray-400);
}

/* ==================== COMMITTEE SECTION ==================== */
.committee-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-xl);
  justify-items: center;
}

.committee-grid.organizing {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  max-width: 1000px;
  margin: 0 auto;
}

.member-card {
  background: var(--surface-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  text-align: center;
  transition: all var(--transition-base);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  width: 100%;
  max-width: 280px;
}

.member-card:hover {
  border-color: var(--border-subtle);
  transform: translateY(-6px);
  box-shadow: var(--shadow-gold);
}

.member-card .member-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  margin: 0 0 var(--space-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  background: var(--navy-600);
  display: flex;
  align-items: center;
  justify-content: center;
}

.member-card .member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-card .member-photo .placeholder-avatar {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy-500), var(--navy-400));
  color: var(--gold-300);
  font-size: 2.5rem;
}

.member-card h4 {
  font-family: var(--font-alt);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.member-card .member-role {
  font-family: var(--font-alt);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gold-400);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Featured card for Chairperson — gold-accented frame */
.member-card.featured {
  border-color: var(--border-gold);
  background: linear-gradient(135deg, rgba(212, 171, 78, 0.08), rgba(44, 39, 105, 0.5));
}

.member-card.featured .member-photo {
  border-color: var(--gold-400);
}

/* Sub-committee Tabs */
.subcommittee-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
  margin-bottom: var(--space-2xl);
}

.subcommittee-tabs .tab-btn {
  font-family: var(--font-alt);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-400);
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  background: transparent;
  transition: all var(--transition-base);
}

.subcommittee-tabs .tab-btn:hover {
  color: var(--gold-300);
  border-color: var(--border-subtle);
}

.subcommittee-tabs .tab-btn.active {
  background: linear-gradient(135deg, var(--orange-500), var(--orange-400));
  color: #ffffff;
  border-color: transparent;
  font-weight: 600;
}

.tab-content {
  display: none;
  animation: fadeIn 0.4s ease;
}

.tab-content.active {
  display: block;
}

/* Smaller committee member list (for sub-committees) */
.committee-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: var(--space-lg);
  justify-items: center;
}

.committee-list .member-card {
  max-width: 200px;
  padding: var(--space-md);
}

.committee-list .member-card .member-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  margin-bottom: var(--space-md);
}

.committee-list .member-card h4 {
  font-size: 0.9rem;
}

/* ==================== REGISTRATION SECTION ==================== */
.registration-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

/* Fee Table */
.fee-table-wrapper {
  background: var(--surface-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow: hidden;
}

.fee-table-wrapper h3 {
  margin-bottom: var(--space-lg);
  font-family: var(--font-alt);
}

.fee-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.fee-table thead th {
  font-family: var(--font-alt);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold-400);
  padding: var(--space-md);
  border-bottom: 2px solid var(--border-gold);
  text-align: center;
  white-space: nowrap;
}

.fee-table thead th:first-child {
  text-align: left;
}

.fee-table tbody td {
  padding: var(--space-md);
  border-bottom: 1px solid var(--border-light);
  text-align: center;
  font-family: var(--font-alt);
  font-size: 0.95rem;
  color: var(--gray-200);
}

.fee-table tbody td:first-child {
  text-align: left;
  font-weight: 500;
  color: var(--white);
}

.fee-table tbody tr:hover {
  background: rgba(201, 168, 76, 0.05);
}

.fee-table .price {
  font-weight: 600;
  color: var(--gold-200);
}

.fee-table .highlight-col {
  background: rgba(201, 168, 76, 0.08);
}

/* Bank Details */
.bank-details {
  background: rgba(201, 168, 76, 0.06);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  margin-top: var(--space-xl);
}

.bank-details h4 {
  font-family: var(--font-alt);
  font-size: 1rem;
  margin-bottom: var(--space-md);
  color: var(--gold-300);
}

.bank-details .detail-row {
  display: flex;
  justify-content: space-between;
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.9rem;
}

.bank-details .detail-row:last-child {
  border-bottom: none;
}

.bank-details .detail-row .label {
  color: var(--gray-400);
  font-weight: 500;
}

.bank-details .detail-row .value {
  color: var(--white);
  font-weight: 600;
  font-family: var(--font-alt);
}

.qr-code {
  text-align: center;
  margin-top: var(--space-lg);
}

.qr-code img {
  max-width: 160px;
  margin: 0 auto;
  border-radius: var(--radius-md);
  border: 2px solid var(--border-subtle);
}

.qr-code p {
  font-size: 0.85rem;
  color: var(--gray-400);
  margin-top: var(--space-sm);
}

/* Registration Form */
.reg-form-wrapper {
  background: var(--surface-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.reg-form-wrapper h3 {
  margin-bottom: var(--space-lg);
  font-family: var(--font-alt);
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  font-family: var(--font-alt);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-300);
  margin-bottom: var(--space-sm);
  letter-spacing: 0.3px;
}

.form-group label .required {
  color: var(--gold-400);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  background: rgba(10, 22, 40, 0.6);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--gold-400);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1);
}

.form-control::placeholder {
  color: var(--gray-500);
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%239da3b0' viewBox='0 0 16 16'%3E%3Cpath d='M4.646 5.646a.5.5 0 0 1 .708 0L8 8.293l2.646-2.647a.5.5 0 0 1 .708.708l-3 3a.5.5 0 0 1-.708 0l-3-3a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

select.form-control option {
  background: var(--navy-700);
  color: var(--white);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.file-upload {
  position: relative;
  border: 2px dashed var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-base);
}

.file-upload:hover {
  border-color: var(--gold-400);
  background: rgba(201, 168, 76, 0.03);
}

.file-upload input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.file-upload .upload-icon {
  font-size: 2rem;
  margin-bottom: var(--space-sm);
  display: block;
}

.file-upload .upload-text {
  font-size: 0.9rem;
  color: var(--gray-400);
}

.file-upload .upload-text strong {
  color: var(--gold-300);
}

.file-upload .file-name {
  font-size: 0.85rem;
  color: var(--gold-200);
  margin-top: var(--space-sm);
  display: none;
}

.form-note {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-top: var(--space-xs);
}

.form-checkbox {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  cursor: pointer;
}

.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--gold-400);
  cursor: pointer;
}

.form-message {
  padding: var(--space-md);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-top: var(--space-md);
  display: none;
}

.form-message.success {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--success);
  display: block;
}

.form-message.error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: var(--error);
  display: block;
}

/* ==================== PROGRAM SECTION ==================== */
.program-coming-soon {
  text-align: center;
  padding: var(--space-3xl);
}

.program-coming-soon .coming-soon-icon {
  font-size: 4rem;
  margin-bottom: var(--space-lg);
  display: block;
  animation: gentleBounce 3s ease-in-out infinite;
}

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

.program-coming-soon h3 {
  font-size: 1.8rem;
  margin-bottom: var(--space-md);
}

.program-coming-soon p {
  color: var(--gray-400);
  font-size: 1.05rem;
  max-width: 500px;
  margin: 0 auto;
}

.program-days {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}

.program-day-card {
  background: var(--surface-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-2xl);
  text-align: center;
  transition: all var(--transition-base);
}

.program-day-card:hover {
  border-color: var(--border-subtle);
  transform: translateY(-4px);
}

.program-day-card .day-num {
  font-family: var(--font-alt);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-400);
}

.program-day-card .day-label {
  font-family: var(--font-alt);
  font-size: 0.85rem;
  color: var(--gray-400);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ==================== SPEAKERS SECTION ==================== */
.speakers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-xl);
  justify-items: center;
}

.speaker-card {
  background: var(--surface-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  transition: all var(--transition-base);
  width: 100%;
  max-width: 300px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.speaker-card:hover {
  border-color: var(--border-subtle);
  transform: translateY(-6px);
  box-shadow: var(--shadow-gold);
}

.speaker-card .speaker-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  margin: 0 0 var(--space-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  background: linear-gradient(135deg, var(--navy-500), var(--navy-400));
  display: flex;
  align-items: center;
  justify-content: center;
}

.speaker-card .speaker-photo svg {
  width: 50px;
  height: 50px;
  color: var(--gold-400);
  opacity: 0.5;
}

.speaker-card h4 {
  font-family: var(--font-alt);
  font-size: 1.05rem;
  margin-bottom: var(--space-xs);
}

.speaker-card .speaker-title {
  font-size: 0.85rem;
  color: var(--gold-400);
  font-weight: 500;
}

.speaker-card .speaker-topic {
  font-size: 0.85rem;
  color: var(--gray-400);
  margin-top: var(--space-sm);
}

/* ==================== VENUE SECTION ==================== */
.venue-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

.venue-info h3 {
  font-family: var(--font-alt);
  margin-bottom: var(--space-lg);
}

.venue-info p {
  color: var(--gray-300);
  margin-bottom: var(--space-md);
  font-size: 1.05rem;
}

.venue-details-list {
  margin-top: var(--space-xl);
}

.venue-detail-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.venue-detail-item .v-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.venue-detail-item h4 {
  font-family: var(--font-alt);
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.venue-detail-item p {
  font-size: 0.9rem;
  color: var(--gray-400);
  margin: 0;
}

.venue-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  height: 100%;
  min-height: 400px;
}

.venue-map iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: none;
}

/* ==================== SPONSORS SECTION ==================== */
.sponsors-tier {
  margin-bottom: var(--space-2xl);
}

.sponsors-tier h3 {
  font-family: var(--font-alt);
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: var(--space-lg);
  color: var(--gold-300);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.sponsors-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-xl);
}

.sponsor-card {
  background: var(--surface-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: var(--space-xl) var(--space-2xl);
  min-width: 180px;
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
}

.sponsor-card:hover {
  border-color: var(--border-subtle);
  transform: translateY(-3px);
}

.sponsor-card .sponsor-placeholder {
  font-family: var(--font-alt);
  font-size: 0.9rem;
  color: var(--gray-500);
  text-align: center;
}

.sponsor-cta {
  text-align: center;
  margin-top: var(--space-2xl);
}

.sponsor-cta p {
  color: var(--gray-400);
  margin-bottom: var(--space-lg);
  font-size: 1.05rem;
}

/* ==================== CONTACT SECTION ==================== */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(auto, 600px);
  justify-content: center;
  gap: var(--space-2xl);
}

.contact-card {
  background: var(--surface-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.contact-card h3 {
  font-family: var(--font-alt);
  font-size: 1.1rem;
  margin-bottom: var(--space-lg);
  color: var(--gold-300);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.contact-item .c-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: rgba(201, 168, 76, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.contact-item h4 {
  font-family: var(--font-alt);
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.contact-item p {
  font-size: 0.9rem;
  color: var(--gray-400);
  margin: 0;
}

.contact-item a {
  color: var(--gold-300);
}

/* ==================== FOOTER ==================== */
.footer {
  background: var(--navy-900);
  border-top: 1px solid var(--border-light);
  padding: var(--space-2xl) 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-copyright {
  font-size: 0.85rem;
  color: var(--gray-500);
}

.footer-links {
  display: flex;
  gap: var(--space-lg);
}

.footer-links a {
  font-family: var(--font-alt);
  font-size: 0.85rem;
  color: var(--gray-400);
}

.footer-links a:hover {
  color: var(--gold-300);
}

/* ==================== BACK TO TOP ==================== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--orange-500), var(--orange-400));
  color: #ffffff;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-gold);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-base);
  z-index: 999;
  cursor: pointer;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(201, 168, 76, 0.4);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1200px) {
  .about-content,
  .registration-wrapper,
  .venue-content {
    grid-template-columns: 1fr;
  }

  .committee-grid.organizing {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  /* Collapse nav into a drawer below 1200px so the header never crowds */
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    max-width: 85vw;
    height: 100vh;
    flex: none;
    background: rgba(10, 22, 40, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: calc(var(--nav-height) + var(--space-xl)) var(--space-xl);
    gap: var(--space-xs);
    transition: right var(--transition-base);
    border-left: 1px solid var(--border-subtle);
    z-index: 999;
    overflow-y: auto;
  }

  .nav-links.open { right: 0; }

  .nav-links a {
    font-size: 1rem;
    padding: var(--space-md);
    width: 100%;
  }

  .nav-toggle { display: flex; }

  [data-theme="light"] .nav-links { background: rgba(255, 255, 255, 0.98); }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 72px;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(10, 22, 40, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    padding: calc(var(--nav-height) + var(--space-xl)) var(--space-xl);
    gap: var(--space-xs);
    transition: right var(--transition-base);
    border-left: 1px solid var(--border-subtle);
    z-index: 999;
    overflow-y: auto;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    font-size: 1rem;
    padding: var(--space-md);
    width: 100%;
  }

  .nav-toggle {
    display: flex;
  }

  .hero h1 {
    font-size: clamp(2rem, 7vw, 3rem);
  }

  .hero-details {
    flex-direction: column;
    gap: var(--space-md);
  }

  .countdown {
    gap: var(--space-md);
  }

  .countdown-value {
    font-size: 1.8rem;
    min-width: 60px;
    padding: var(--space-sm);
  }

  .about-highlights {
    grid-template-columns: 1fr;
  }

  .committee-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: var(--space-md);
  }

  .committee-list {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: var(--space-md);
  }

  .subcommittee-tabs {
    gap: var(--space-xs);
  }

  .subcommittee-tabs .tab-btn {
    font-size: 0.75rem;
    padding: var(--space-xs) var(--space-md);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .program-days {
    flex-direction: column;
    align-items: center;
  }

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

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .section {
    padding: var(--space-3xl) 0;
  }

  .speakers-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-md);
  }

  .hero-content {
    padding: var(--space-md);
  }

  .countdown {
    gap: var(--space-sm);
  }

  .countdown-value {
    font-size: 1.5rem;
    min-width: 50px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .committee-grid,
  .committee-grid.organizing {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
  }

  .member-card {
    max-width: 100%;
    padding: var(--space-sm);
  }

  .member-card h4 {
    font-size: 0.85rem;
  }

  .member-card .member-role {
    font-size: 0.7rem;
  }

  .fee-table-wrapper {
    padding: var(--space-xs);
  }

  .fee-table thead th,
  .fee-table tbody td {
    padding: 6px 3px;
    font-size: 0.75rem;
    white-space: normal !important;
    word-break: break-word;
  }

  .fee-table thead th {
    font-size: 0.6rem;
    letter-spacing: 0;
  }

  .fee-table tbody td:first-child {
    font-size: 0.7rem;
    line-height: 1.2;
  }
  
  .fee-table .price {
    font-size: 0.75rem;
  }

  .perks-table-wrapper {
    padding: var(--space-xs);
  }

  .perks-table {
    min-width: 0 !important;
  }

  .perks-table thead th,
  .perks-table tbody td {
    padding: 6px 3px;
    font-size: 0.75rem;
    white-space: normal !important;
    word-break: break-word;
  }

  .perks-table thead th {
    font-size: 0.6rem;
    letter-spacing: 0;
  }

  .perks-table tbody td:first-child {
    font-size: 0.7rem;
    line-height: 1.2;
  }
}


/* ==================== PLACES TO VISIT PAGE ==================== */
.places-hero {
  padding: calc(var(--nav-height) + var(--space-3xl)) 0 var(--space-3xl);
  background: linear-gradient(160deg, var(--navy-900), var(--navy-700));
  text-align: center;
}

.places-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-xl);
}

.place-card {
  background: var(--surface-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
}

.place-card:hover {
  border-color: var(--border-subtle);
  transform: translateY(-6px);
  box-shadow: var(--shadow-gold);
}

.place-card .place-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 2px solid var(--border-subtle);
}

.place-card .place-content {
  padding: var(--space-xl);
}

.place-card h3 {
  font-family: var(--font-alt);
  font-size: 1.2rem;
  margin-bottom: var(--space-sm);
}

.place-card p {
  color: var(--gray-400);
  font-size: 0.95rem;
  line-height: 1.6;
}

.place-card .place-distance {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.8rem;
  color: var(--gold-400);
  margin-top: var(--space-md);
  font-family: var(--font-alt);
  font-weight: 500;
}

/* Mobile overlay for nav */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Loading spinner for form */
.btn-loading {
  position: relative;
  pointer-events: none;
  opacity: 0.7;
}

.btn-loading::after {
  content: '';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border: 2px solid transparent;
  border-top-color: var(--navy-900);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to { transform: translateY(-50%) rotate(360deg); }
}

/* ==================== ABOUT COLLAGE ==================== */
.about-collage {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 200px);
  gap: var(--space-md);
}

.about-collage .collage-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-base);
}

.about-collage .collage-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-gold);
}

.about-collage .collage-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-collage .collage-tall {
  grid-row: span 2;
}

/* ==================== HEADER RESPONSIVE ==================== */
/* The "Organising Partner" tag only shows on wide screens where there's room */
@media (max-width: 1300px) {
  .nav-brand-left .brand-tag { display: none; }
}

@media (max-width: 768px) {
  .logo-ashwini { height: 42px; padding: 4px 7px; }
  .logo-nao { height: 44px; }
  .nav-right { gap: var(--space-sm); }
  .theme-toggle { width: 36px; height: 36px; }
}

@media (max-width: 400px) {
  .logo-ashwini { height: 34px; }
  .logo-nao { height: 36px; }
}

/* ==================== LIGHT THEME ==================== */
[data-theme="light"] {
  /* Remap navy scale to light surfaces (used widely as backgrounds) */
  --navy-900: #ffffff;
  --navy-800: #eef1f6;
  --navy-700: #e7ebf2;
  --navy-600: #dfe4ec;
  --navy-500: #d6dce6;
  --navy-400: #c8d0de;
  --navy-300: #b9c3d4;
  --navy-200: #a9b5cb;

  /* Text (these vars are used for headings/body text) */
  --white: #0a1628;
  --gray-200: #1c2738;
  --gray-300: #33405a;
  --gray-400: #57637a;
  --gray-500: #6b7280;

  /* Gold darkened for contrast on light backgrounds */
  --gold-400: #785a0c;
  --gold-300: #624908;
  --gold-200: #4c3805;
  --gold-100: #362803;

  /* Surfaces & borders */
  --surface-dark: rgba(255, 255, 255, 0.96);
  --surface-card: rgba(255, 255, 255, 0.75);
  --surface-card-hover: rgba(255, 255, 255, 0.95);
  --surface-glass: rgba(10, 22, 40, 0.03);
  --border-subtle: rgba(120, 90, 12, 0.35);
  --border-gold: rgba(120, 90, 12, 0.6);
  --border-light: rgba(10, 22, 40, 0.1);

  /* Softer shadows on light */
  --shadow-sm: 0 2px 8px rgba(20, 40, 80, 0.08);
  --shadow-md: 0 4px 16px rgba(20, 40, 80, 0.1);
  --shadow-lg: 0 8px 32px rgba(20, 40, 80, 0.12);
  --shadow-gold: 0 4px 20px rgba(239, 90, 36, 0.2);
  --shadow-glow: 0 0 30px rgba(239, 90, 36, 0.12);
}

/* Orange action elements keep white text in light mode too */
[data-theme="light"] .btn-primary,
[data-theme="light"] .back-to-top,
[data-theme="light"] .subcommittee-tabs .tab-btn.active { color: #ffffff; }
[data-theme="light"] .nav-cta,
[data-theme="light"] .nav-cta:hover { color: #ffffff !important; }
[data-theme="light"] ::selection { background: var(--orange-400); color: #ffffff; }

/* Translucent bars need a light backdrop */
[data-theme="light"] .navbar.scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: rgba(10, 22, 40, 0.08);
}

/* Form fields */
[data-theme="light"] .form-control {
  background: #ffffff;
  border-color: rgba(10, 22, 40, 0.15);
  color: #1c2738;
}
[data-theme="light"] select.form-control option { background: #ffffff; color: #1c2738; }

@media (max-width: 768px) {
  [data-theme="light"] .nav-links { background: rgba(255, 255, 255, 0.98); }
}

/* ==================== SPONSOR MODAL ==================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  padding: var(--space-lg);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--navy-800);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: fadeInUp 0.4s ease-out;
}

[data-theme="light"] .modal-content {
  background: #ffffff;
  border-color: rgba(10, 22, 40, 0.12);
}

.modal-close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  border: 1px solid var(--border-light);
  background: var(--surface-glass);
  transition: all var(--transition-fast);
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
}

.modal-close:hover {
  color: var(--gold-300);
  border-color: var(--border-subtle);
}

.modal-content h3 {
  font-family: var(--font-alt);
  color: var(--gold-300);
  margin-bottom: var(--space-sm);
}

.modal-content .modal-subtitle {
  font-size: 0.9rem;
  color: var(--gray-400);
  margin-bottom: var(--space-xl);
}

.modal-content .form-group {
  margin-bottom: var(--space-lg);
}

#sponsorFormMessage {
  padding: var(--space-md);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-top: var(--space-md);
  display: none;
}

#sponsorFormMessage.success {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--success);
  display: block;
}

#sponsorFormMessage.error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: var(--error);
  display: block;
}

/* ==================== PERKS TABLE ==================== */
.perks-section {
  margin-top: var(--space-2xl);
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.5s ease, opacity 0.4s ease, margin 0.4s ease;
}

.perks-section.expanded {
  max-height: 2000px;
  opacity: 1;
}

.perks-table-wrapper {
  background: var(--surface-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow-x: auto;
}

.perks-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 500px;
}

.perks-table thead th {
  font-family: var(--font-alt);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold-400);
  padding: var(--space-md);
  border-bottom: 2px solid var(--border-gold);
  text-align: center;
  white-space: nowrap;
}

.perks-table thead th:first-child {
  text-align: left;
}

.perks-table tbody td {
  padding: var(--space-md);
  border-bottom: 1px solid var(--border-light);
  text-align: center;
  font-family: var(--font-alt);
  font-size: 0.9rem;
  color: var(--gray-300);
}

.perks-table tbody td:first-child {
  text-align: left;
  font-weight: 500;
  color: var(--white);
}

.perks-table tbody tr:hover {
  background: rgba(201, 168, 76, 0.05);
}

.perks-table .perk-check {
  color: var(--success);
  font-size: 1.1rem;
}

.perks-table .perk-dash {
  color: var(--gray-500);
}

.btn-perks-toggle {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-alt);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold-300);
  border: 1.5px solid var(--border-gold);
  background: transparent;
  padding: 10px 24px;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  cursor: pointer;
  margin-top: var(--space-md);
}

.btn-perks-toggle:hover {
  background: rgba(212, 171, 78, 0.1);
  border-color: var(--gold-300);
  transform: translateY(-2px);
}

.btn-perks-toggle svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-base);
}

.btn-perks-toggle.expanded svg {
  transform: rotate(180deg);
}

/* ==================== REGISTRATION TYPE SELECTOR ==================== */
.reg-type-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.reg-type-card {
  position: relative;
  background: var(--surface-glass);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: var(--space-lg) var(--space-md);
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-base);
}

.reg-type-card:hover {
  border-color: var(--border-subtle);
}

.reg-type-card.selected {
  border-color: var(--gold-400);
  background: rgba(212, 171, 78, 0.08);
}

.reg-type-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.reg-type-card .reg-type-icon {
  font-size: 1.6rem;
  margin-bottom: var(--space-sm);
  display: block;
}

.reg-type-card .reg-type-title {
  font-family: var(--font-alt);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  display: block;
  margin-bottom: 4px;
}

.reg-type-card .reg-type-dates {
  font-size: 0.75rem;
  color: var(--gray-400);
  display: block;
}

.free-workshop-note {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-sm);
  padding: var(--space-md);
  font-size: 0.85rem;
  color: var(--success);
  margin-bottom: var(--space-lg);
  display: none;
}

.free-workshop-note.visible {
  display: block;
}

/* Payment section hidden when free */
.payment-section.hidden {
  display: none;
}

@media (max-width: 600px) {
  .reg-type-cards {
    grid-template-columns: 1fr;
  }
  
  .modal-content {
    padding: var(--space-xl);
  }
}

/* ==================== REDUCED MOTION ==================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   WORKSHOP LANDING PAGE — subdomain-specific additions
   ============================================================ */

/* Topic pills in hero */
.ws-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-2xl);
  animation: fadeInUp 0.8s ease-out 0.55s both;
}

.ws-tag {
  font-family: var(--font-alt);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gold-200);
  background: rgba(212, 171, 78, 0.08);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 6px 16px;
  letter-spacing: 0.3px;
}

/* "Back to conclave" nav link gets a subtle chevron treatment */
.nav-links a.nav-back { color: var(--gold-300); }
.nav-links a.nav-back:hover { color: var(--gold-200); }

/* Two-column info grid (About / Who / Format) */
.ws-about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

.ws-panel {
  background: var(--surface-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.ws-panel h3 {
  font-family: var(--font-alt);
  font-size: 1.15rem;
  color: var(--gold-300);
  margin-bottom: var(--space-md);
}

.ws-list li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: var(--space-sm);
  color: var(--gray-300);
  font-size: 0.98rem;
}

.ws-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange-400);
}

.ws-format {
  margin-top: var(--space-xl);
  background: rgba(212, 171, 78, 0.06);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
}

.ws-format h4 {
  font-family: var(--font-alt);
  font-size: 1rem;
  color: var(--gold-300);
  margin-bottom: var(--space-sm);
}

.ws-format p { color: var(--gray-300); font-size: 0.95rem; margin: 0; }

/* Curriculum: hands-on + didactic cards */
.ws-curriculum {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.ws-curric-card {
  background: var(--surface-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all var(--transition-base);
}

.ws-curric-card:hover {
  border-color: var(--border-subtle);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.ws-curric-card .ws-curric-head {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.ws-curric-card .ws-badge {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.ws-curric-card .ws-badge.hands { background: rgba(239, 90, 36, 0.14); border: 1px solid var(--border-orange); }
.ws-curric-card .ws-badge.didactic { background: rgba(16, 185, 129, 0.12); border: 1px solid rgba(16,185,129,0.35); }

.ws-curric-card h3 {
  font-family: var(--font-alt);
  font-size: 1.2rem;
  margin: 0;
}

.ws-curric-card .ws-curric-sub {
  font-size: 0.82rem;
  color: var(--gray-400);
  display: block;
  margin-top: 2px;
}

/* Case galleries callout */
.ws-case-gallery {
  margin-top: var(--space-xl);
  background: linear-gradient(135deg, rgba(212, 171, 78, 0.08), var(--surface-card));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
}

.ws-case-gallery h3 { font-family: var(--font-alt); color: var(--gold-300); margin-bottom: var(--space-sm); }
.ws-case-gallery p { color: var(--gray-300); max-width: 720px; margin: 0 auto; }

/* Faculty bio text on speaker cards */
.speaker-card .ws-bio {
  font-size: 0.82rem;
  color: var(--gray-400);
  margin-top: var(--space-sm);
  line-height: 1.55;
  text-align: left;
}

/* Registration note band */
.ws-reg-note {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
  color: var(--success);
  font-size: 0.9rem;
  margin-top: var(--space-lg);
  text-align: center;
}

.ws-reg-cta { text-align: center; margin-top: var(--space-xl); }
.ws-reg-cta p { color: var(--gray-400); margin-bottom: var(--space-md); }

@media (max-width: 900px) {
  .ws-about-grid,
  .ws-curriculum { grid-template-columns: 1fr; }
}
