/* ═══════════════════════════════════════════════════════════
   TAMIL NADU PRESENTATION — STYLES
   Theme: Royal Blue · Gold · White (South Indian Heritage)
═══════════════════════════════════════════════════════════ */

/* ── CSS Variables ── */
:root {
  --royal-blue:    #0a1f4e;
  --deep-blue:     #122a6b;
  --mid-blue:      #1a3a8f;
  --light-blue:    #2a52be;
  --sky-blue:      #4a7fd4;
  --pale-blue:     #e8f0fc;

  --gold:          #D4AF37;
  --gold-light:    #f0d060;
  --gold-dark:     #a07820;
  --gold-pale:     #fdf6dc;

  --white:         #ffffff;
  --off-white:     #f8f5ee;
  --cream:         #fdf8f0;

  --text-dark:     #0a1428;
  --text-mid:      #2a3a5e;
  --text-light:    #6a7a9e;

  --shadow-sm:     0 2px 8px rgba(10,31,78,0.12);
  --shadow-md:     0 4px 20px rgba(10,31,78,0.18);
  --shadow-lg:     0 8px 40px rgba(10,31,78,0.25);
  --shadow-gold:   0 4px 20px rgba(212,175,55,0.3);

  --radius-sm:     6px;
  --radius-md:     12px;
  --radius-lg:     20px;

  --transition:    all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html, body {
  width: 100%; height: 100%;
  overflow: hidden;
  background: var(--royal-blue);
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text-dark);
}

/* ── Progress Bar ── */
.progress-bar {
  position: fixed; top: 0; left: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  z-index: 1000;
  transition: width 0.5s ease;
  box-shadow: 0 0 8px rgba(212,175,55,0.6);
}

/* ── Slide Counter ── */
.slide-counter {
  position: fixed; top: 16px; right: 70px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px; font-weight: 600;
  color: rgba(255,255,255,0.7);
  z-index: 100; letter-spacing: 1px;
}

/* ── Navigation Dots ── */
.nav-dots {
  position: fixed; right: 16px; top: 50%;
  transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 8px;
  z-index: 100;
}
.nav-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.2);
}
.nav-dot.active {
  background: var(--gold);
  transform: scale(1.4);
  box-shadow: 0 0 6px rgba(212,175,55,0.6);
}
.nav-dot:hover { background: rgba(255,255,255,0.6); }

/* ── Navigation Arrows ── */
.nav-arrow {
  position: fixed; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: white; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  z-index: 100; transition: var(--transition);
  backdrop-filter: blur(8px);
}
.nav-arrow svg { width: 20px; height: 20px; }
.nav-arrow:hover { background: rgba(212,175,55,0.3); border-color: var(--gold); }
.nav-arrow:disabled { opacity: 0.2; cursor: not-allowed; }
.nav-prev { left: 16px; }
.nav-next { right: 36px; }

/* ── Keyboard Hint ── */
.keyboard-hint {
  position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%);
  font-size: 11px; color: rgba(255,255,255,0.35);
  letter-spacing: 1px; z-index: 100;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

/* ═══════════════════════════════════════════════════════════
   SLIDE BASE
═══════════════════════════════════════════════════════════ */
.slide {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  opacity: 0; pointer-events: none;
  transform: translateX(60px);
  transition: opacity 0.55s cubic-bezier(0.4,0,0.2,1),
              transform 0.55s cubic-bezier(0.4,0,0.2,1);
  overflow: hidden;
  background: var(--off-white);
}
.slide.active {
  opacity: 1; pointer-events: all; transform: translateX(0);
}
.slide.exit-left {
  opacity: 0; transform: translateX(-60px);
}

/* ── Shared Slide Header ── */
.slide-header {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 40px 14px;
  background: linear-gradient(135deg, var(--royal-blue) 0%, var(--deep-blue) 100%);
  border-bottom: 2px solid var(--gold);
  flex-shrink: 0;
}
.slide-number-badge {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px; font-weight: 700;
  color: var(--gold); opacity: 0.7;
  line-height: 1; min-width: 40px;
}
.slide-title-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px; font-weight: 700;
  color: var(--white); letter-spacing: 0.5px;
  flex: 1;
}
.header-ornament {
  color: var(--gold); font-size: 10px; letter-spacing: 6px; opacity: 0.6;
}

/* ═══════════════════════════════════════════════════════════
   SLIDE 1 — TITLE
═══════════════════════════════════════════════════════════ */
.slide-title {
  background: var(--royal-blue);
  justify-content: center; align-items: center;
}
.title-bg-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.title-bg-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    135deg,
    rgba(10,31,78,0.88) 0%,
    rgba(18,42,107,0.82) 50%,
    rgba(10,31,78,0.90) 100%
  );
}
.kolam-border {
  position: absolute; left: 0; right: 0; height: 6px; z-index: 3;
  background: repeating-linear-gradient(
    90deg,
    var(--gold) 0px, var(--gold) 8px,
    transparent 8px, transparent 16px,
    var(--gold-light) 16px, var(--gold-light) 20px,
    transparent 20px, transparent 28px
  );
  opacity: 0.7;
}
.top-border { top: 0; }
.bottom-border { bottom: 0; }

.title-content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  padding: 40px;
  animation: titleEntrance 1.2s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes titleEntrance {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.title-emblem { margin-bottom: 16px; }
.lotus-icon { width: 70px; height: 70px; filter: drop-shadow(0 0 12px rgba(212,175,55,0.5)); }

.title-tamil-text {
  font-family: 'Noto Serif Tamil', serif;
  font-size: 28px; color: var(--gold-light);
  letter-spacing: 4px; margin-bottom: 8px;
  text-shadow: 0 0 20px rgba(212,175,55,0.4);
}
.main-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(52px, 7vw, 80px);
  font-weight: 700; color: var(--white);
  letter-spacing: 4px; line-height: 1;
  text-shadow: 0 4px 20px rgba(0,0,0,0.4);
  margin-bottom: 12px;
}
.title-divider {
  display: flex; align-items: center; gap: 12px;
  margin: 10px 0;
}
.divider-line {
  display: block; width: 80px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.divider-diamond { color: var(--gold); font-size: 12px; }

.main-subtitle {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(16px, 2.2vw, 22px);
  font-weight: 300; color: rgba(255,255,255,0.85);
  letter-spacing: 3px; text-transform: uppercase;
  margin-bottom: 28px;
}
.presenter-info {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(212,175,55,0.3);
  border-radius: var(--radius-md);
  padding: 14px 32px;
  backdrop-filter: blur(8px);
}
.presenter-name {
  font-size: 15px; color: var(--gold-light);
  font-weight: 600; letter-spacing: 1px;
}
.presenter-date {
  font-size: 13px; color: rgba(255,255,255,0.6);
  margin-top: 4px; letter-spacing: 0.5px;
}

/* ═══════════════════════════════════════════════════════════
   SLIDE 2 — INTRODUCTION
═══════════════════════════════════════════════════════════ */
.slide-intro { background: var(--cream); }

.intro-layout {
  display: grid; grid-template-columns: 1fr 1.6fr;
  gap: 24px; padding: 20px 40px 20px;
  flex: 1; overflow: hidden;
}
.intro-left { display: flex; flex-direction: column; gap: 8px; }
.intro-img {
  width: 100%; height: 100%; max-height: 340px;
  object-fit: cover; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--gold);
}
.intro-img-caption {
  text-align: center; font-size: 12px;
  color: var(--text-light); font-style: italic;
}
.intro-right { display: flex; flex-direction: column; gap: 16px; }

.info-cards-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
}
.info-card {
  background: white; border-radius: var(--radius-md);
  padding: 12px 10px; text-align: center;
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--gold);
  transition: var(--transition);
}
.info-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.info-card-icon { font-size: 22px; margin-bottom: 4px; }
.info-card-label { font-size: 10px; color: var(--text-light); text-transform: uppercase; letter-spacing: 1px; }
.info-card-value { font-size: 13px; font-weight: 700; color: var(--royal-blue); margin-top: 2px; }

.intro-bullets { display: flex; flex-direction: column; gap: 8px; }
.bullet-item {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13.5px; color: var(--text-mid); line-height: 1.5;
}
.bullet-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold); flex-shrink: 0; margin-top: 5px;
}
.bullet-dot.gold { background: var(--gold); }

/* ═══════════════════════════════════════════════════════════
   SLIDE 3 — GEOGRAPHY
═══════════════════════════════════════════════════════════ */
.slide-geography { background: var(--pale-blue); }

.geo-layout {
  display: grid; grid-template-columns: 320px 1fr;
  gap: 24px; padding: 16px 40px 16px;
  flex: 1; overflow: hidden;
}
.geo-map-col {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
}
.india-map-container {
  background: white; border-radius: var(--radius-lg);
  padding: 16px; box-shadow: var(--shadow-md);
  border: 2px solid var(--gold);
  width: 100%;
}
.india-map-svg { width: 100%; max-height: 280px; }
.map-legend { display: flex; gap: 16px; justify-content: center; margin-top: 8px; }
.legend-item { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-mid); }
.legend-gold { display: inline-block; width: 14px; height: 14px; background: var(--gold); border-radius: 3px; }
.legend-blue { display: inline-block; width: 14px; height: 14px; background: rgba(26,58,107,0.2); border-radius: 3px; border: 1px solid var(--mid-blue); }

.geo-info-col { display: flex; flex-direction: column; gap: 14px; overflow-y: auto; }
.geo-section { background: white; border-radius: var(--radius-md); padding: 14px 16px; box-shadow: var(--shadow-sm); }
.geo-section-title { font-size: 14px; font-weight: 700; color: var(--royal-blue); margin-bottom: 10px; }
.geo-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.geo-tag {
  background: var(--pale-blue); color: var(--mid-blue);
  border: 1px solid var(--sky-blue); border-radius: 20px;
  padding: 4px 12px; font-size: 12px; font-weight: 600;
}
.location-cards { display: flex; flex-direction: column; gap: 8px; }
.location-card {
  display: flex; align-items: center; gap: 12px;
  background: var(--gold-pale); border-radius: var(--radius-sm);
  padding: 8px 12px; border-left: 3px solid var(--gold);
}
.loc-icon { font-size: 20px; }
.loc-name { font-size: 13px; font-weight: 700; color: var(--royal-blue); }
.loc-desc { font-size: 11px; color: var(--text-light); }
.geo-borders { background: var(--royal-blue); border-radius: var(--radius-md); padding: 12px 16px; }
.geo-borders .geo-section-title { color: var(--gold); }
.border-list { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.border-list span { font-size: 12px; color: rgba(255,255,255,0.8); }
.border-sep { color: var(--gold); font-size: 10px; }

/* ═══════════════════════════════════════════════════════════
   SLIDE 4 — HISTORY
═══════════════════════════════════════════════════════════ */
.slide-history { background: var(--cream); }

.history-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 24px; padding: 16px 40px 16px;
  flex: 1; overflow: hidden;
}
.timeline-col { overflow-y: auto; }
.timeline { position: relative; padding-left: 24px; }
.timeline::before {
  content: ''; position: absolute; left: 8px; top: 0; bottom: 0;
  width: 2px; background: linear-gradient(180deg, var(--gold), var(--mid-blue));
}
.timeline-item { position: relative; margin-bottom: 20px; }
.timeline-dot {
  position: absolute; left: -20px; top: 6px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--gold); border: 2px solid white;
  box-shadow: 0 0 0 3px rgba(212,175,55,0.3);
}
.timeline-content {
  background: white; border-radius: var(--radius-md);
  padding: 14px 16px; box-shadow: var(--shadow-sm);
  border-left: 3px solid var(--gold);
}
.timeline-era { font-size: 11px; color: var(--gold-dark); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.timeline-title { font-size: 15px; font-weight: 700; color: var(--royal-blue); margin: 4px 0; }
.timeline-desc { font-size: 12.5px; color: var(--text-mid); line-height: 1.5; }

.history-right-col { display: flex; flex-direction: column; gap: 16px; overflow-y: auto; }
.dynasty-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.dynasty-card {
  border-radius: var(--radius-md); padding: 16px 12px;
  text-align: center; box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.dynasty-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.dynasty-card.chola { background: linear-gradient(135deg, var(--royal-blue), var(--deep-blue)); color: white; }
.dynasty-card.chera { background: linear-gradient(135deg, #1a5c3a, #2d8a5a); color: white; }
.dynasty-card.pandya { background: linear-gradient(135deg, #6b1a1a, #a02828); color: white; }
.dynasty-symbol { font-size: 28px; margin-bottom: 8px; }
.dynasty-name { font-family: 'Cormorant Garamond', serif; font-size: 18px; font-weight: 700; color: var(--gold-light); }
.dynasty-desc { font-size: 11px; opacity: 0.8; margin-top: 4px; line-height: 1.4; }

.sangam-box {
  background: linear-gradient(135deg, var(--royal-blue), var(--deep-blue));
  border-radius: var(--radius-lg); padding: 20px;
  display: flex; gap: 16px; align-items: flex-start;
  border: 1px solid rgba(212,175,55,0.3);
}
.sangam-icon { font-size: 36px; flex-shrink: 0; }
.sangam-title { font-family: 'Cormorant Garamond', serif; font-size: 20px; font-weight: 700; color: var(--gold); margin-bottom: 10px; }
.sangam-bullets { display: flex; flex-direction: column; gap: 7px; }
.sangam-bullets .bullet-item { color: rgba(255,255,255,0.85); font-size: 13px; }

/* ═══════════════════════════════════════════════════════════
   SLIDE 5 — CULTURE
═══════════════════════════════════════════════════════════ */
.slide-culture { background: var(--cream); }

.culture-layout {
  display: grid; grid-template-columns: 1fr 280px 1fr;
  gap: 16px; padding: 14px 32px 14px;
  flex: 1; overflow: hidden;
}
.culture-col { display: flex; flex-direction: column; gap: 12px; overflow-y: auto; }
.culture-section-card {
  background: white; border-radius: var(--radius-md);
  padding: 14px 16px; box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--mid-blue);
}
.culture-section-card.highlight-card { border-top-color: var(--gold); }
.culture-card-header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.culture-icon { font-size: 22px; }
.culture-card-header h3 { font-size: 15px; font-weight: 700; color: var(--royal-blue); }
.culture-bullets { display: flex; flex-direction: column; gap: 7px; }
.culture-bullets .bullet-item { font-size: 12.5px; }

.culture-center { display: flex; flex-direction: column; gap: 10px; }
.culture-center-img {
  width: 100%; height: 200px; object-fit: cover;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  border: 3px solid var(--gold);
}
.festival-strip {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.festival-item {
  background: linear-gradient(135deg, var(--royal-blue), var(--deep-blue));
  border-radius: var(--radius-sm); padding: 10px 8px;
  text-align: center; border: 1px solid rgba(212,175,55,0.3);
}
.festival-icon { font-size: 20px; }
.festival-name { font-size: 11px; font-weight: 700; color: var(--gold-light); margin-top: 4px; }
.festival-desc { font-size: 10px; color: rgba(255,255,255,0.6); }

.kolam-showcase {
  background: linear-gradient(135deg, var(--royal-blue), var(--deep-blue));
  border-radius: var(--radius-md); padding: 14px;
  text-align: center; border: 1px solid rgba(212,175,55,0.3);
  flex: 1;
}
.kolam-title { font-size: 14px; font-weight: 700; color: var(--gold); margin-bottom: 6px; }
.kolam-desc { font-size: 11px; color: rgba(255,255,255,0.7); line-height: 1.5; margin-bottom: 10px; }
.kolam-svg { width: 80px; height: 80px; }

/* ═══════════════════════════════════════════════════════════
   SLIDE 6 — ART & DANCE
═══════════════════════════════════════════════════════════ */
.slide-art { background: var(--royal-blue); }
.slide-art .slide-header { background: rgba(0,0,0,0.3); }

.art-layout {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; padding: 16px 32px 10px;
  flex: 1; overflow: hidden;
}
.art-card {
  border-radius: var(--radius-lg); overflow: hidden;
  position: relative; box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column;
  transition: var(--transition);
}
.art-card:hover { transform: translateY(-6px); box-shadow: 0 16px 50px rgba(0,0,0,0.4); }
.art-card-img-wrap { position: relative; height: 200px; overflow: hidden; }
.art-card-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.art-card:hover .art-card-img { transform: scale(1.08); }
.art-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(10,31,78,0.7) 100%);
}
.art-card-content {
  background: linear-gradient(135deg, var(--deep-blue), var(--royal-blue));
  padding: 16px; flex: 1;
  border-top: 2px solid var(--gold);
}
.art-card-icon { font-size: 24px; margin-bottom: 6px; }
.art-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px; font-weight: 700; color: var(--gold);
  margin-bottom: 10px;
}
.art-card-bullets { display: flex; flex-direction: column; gap: 6px; }
.art-card-bullets .bullet-item { font-size: 12px; color: rgba(255,255,255,0.85); }

.other-arts-strip {
  display: flex; justify-content: center; gap: 24px;
  padding: 10px 32px 14px;
  background: rgba(0,0,0,0.2);
  flex-shrink: 0;
}
.other-art-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 12.5px; color: rgba(255,255,255,0.75);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(212,175,55,0.2);
  border-radius: 20px; padding: 6px 14px;
}

/* ═══════════════════════════════════════════════════════════
   SLIDE 7 — TEMPLES
═══════════════════════════════════════════════════════════ */
.slide-temples {
  background: linear-gradient(135deg, #1a0a00, #2d1500, #1a0a00);
}
.light-header { background: rgba(0,0,0,0.5) !important; }
.dark-badge { color: var(--gold) !important; }
.dark-title { color: var(--gold-light) !important; }
.dark-ornament { color: var(--gold) !important; }

.temples-layout {
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: 16px; padding: 14px 32px 14px;
  flex: 1; overflow: hidden;
}
.temple-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.main-temple { height: 100%; }
.temple-img { width: 100%; height: 100%; object-fit: cover; }
.temple-card-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.5) 60%, transparent 100%);
  padding: 20px;
}
.temple-badge {
  display: inline-block; background: var(--gold);
  color: var(--royal-blue); font-size: 11px; font-weight: 700;
  padding: 3px 10px; border-radius: 20px; margin-bottom: 8px;
}
.temple-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px; font-weight: 700; color: white; margin-bottom: 4px;
}
.temple-location { font-size: 12px; color: rgba(255,255,255,0.7); margin-bottom: 8px; }
.temple-facts { display: flex; flex-direction: column; gap: 4px; }
.temple-fact { font-size: 12px; color: rgba(255,255,255,0.85); display: flex; align-items: center; gap: 6px; }
.fact-icon { font-size: 14px; }

.temple-side-cards { display: flex; flex-direction: column; gap: 10px; }
.side-temple { height: 160px; }
.side-temple .temple-name { font-size: 16px; }

.more-temples-box {
  background: rgba(212,175,55,0.1);
  border: 1px solid rgba(212,175,55,0.3);
  border-radius: var(--radius-md); padding: 14px;
}
.more-temples-title { font-size: 13px; font-weight: 700; color: var(--gold); margin-bottom: 10px; }
.more-temples-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.more-temple-item { font-size: 12px; color: rgba(255,255,255,0.8); }

/* ═══════════════════════════════════════════════════════════
   SLIDE 8 — FOOD
═══════════════════════════════════════════════════════════ */
.slide-food { background: #fdf6ee; }

.food-layout {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 20px; padding: 14px 32px 10px;
  flex: 1; overflow: hidden;
}
.food-hero { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.food-hero-img { width: 100%; height: 100%; object-fit: cover; }
.food-hero-label {
  position: absolute; bottom: 40px; left: 0; right: 0;
  text-align: center; font-size: 13px; color: white;
  font-weight: 600; text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}
.banana-leaf-badge {
  position: absolute; top: 14px; left: 14px;
  background: rgba(34,100,34,0.85); color: white;
  font-size: 12px; font-weight: 700; padding: 6px 12px;
  border-radius: 20px; backdrop-filter: blur(4px);
}

.food-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 10px; overflow-y: auto;
}
.food-item-card {
  background: white; border-radius: var(--radius-md);
  padding: 14px 12px; box-shadow: var(--shadow-sm);
  border-bottom: 3px solid var(--gold);
  transition: var(--transition); text-align: center;
}
.food-item-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.food-emoji { font-size: 30px; margin-bottom: 6px; }
.food-name { font-size: 13px; font-weight: 700; color: var(--royal-blue); margin-bottom: 4px; }
.food-desc { font-size: 11px; color: var(--text-light); line-height: 1.5; }

.food-tradition-bar {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 10px 32px;
  background: linear-gradient(135deg, var(--royal-blue), var(--deep-blue));
  flex-shrink: 0;
}
.tradition-icon { font-size: 18px; }
.tradition-text { font-size: 13px; color: rgba(255,255,255,0.85); font-style: italic; }

/* ═══════════════════════════════════════════════════════════
   SLIDE 9 — ECONOMY
═══════════════════════════════════════════════════════════ */
.slide-economy { background: var(--pale-blue); }

.economy-layout {
  display: flex; flex-direction: column;
  gap: 14px; padding: 14px 32px 14px;
  flex: 1; overflow: hidden;
}
.economy-highlight-box {
  display: flex; align-items: center; gap: 24px;
  background: linear-gradient(135deg, var(--royal-blue), var(--deep-blue));
  border-radius: var(--radius-lg); padding: 16px 24px;
  border: 1px solid rgba(212,175,55,0.3);
  flex-shrink: 0;
}
.economy-rank { text-align: center; }
.rank-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px; font-weight: 700; color: var(--gold); line-height: 1;
}
.rank-label { font-size: 12px; color: rgba(255,255,255,0.7); max-width: 120px; }
.economy-gdp { text-align: center; }
.gdp-value { font-size: 22px; font-weight: 700; color: var(--gold-light); }
.gdp-label { font-size: 12px; color: rgba(255,255,255,0.6); }
.detroit-badge {
  margin-left: auto; background: var(--gold);
  color: var(--royal-blue); font-size: 14px; font-weight: 700;
  padding: 10px 20px; border-radius: var(--radius-md);
}

.industry-cards {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 12px; flex: 1; overflow-y: auto;
}
.industry-card {
  background: white; border-radius: var(--radius-md);
  padding: 14px; box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--mid-blue);
  transition: var(--transition);
}
.industry-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.industry-icon { font-size: 28px; margin-bottom: 6px; }
.industry-name { font-size: 14px; font-weight: 700; color: var(--royal-blue); margin-bottom: 8px; }
.industry-stats { margin-bottom: 6px; }
.stat-bar { height: 6px; background: var(--pale-blue); border-radius: 3px; overflow: hidden; margin-bottom: 4px; }
.stat-fill { height: 100%; background: linear-gradient(90deg, var(--mid-blue), var(--gold)); border-radius: 3px; }
.stat-label { font-size: 11px; color: var(--gold-dark); font-weight: 600; }
.industry-desc { font-size: 11.5px; color: var(--text-light); line-height: 1.5; }

/* ═══════════════════════════════════════════════════════════
   SLIDE 10 — TOURISM
═══════════════════════════════════════════════════════════ */
.slide-tourism { background: var(--cream); }

.tourism-layout {
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: 16px; padding: 14px 32px 10px;
  flex: 1; overflow: hidden;
}
.tourism-main-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.tourism-main-img { width: 100%; height: 100%; object-fit: cover; }
.tourism-main-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(0deg, rgba(10,31,78,0.95) 0%, transparent 100%);
  padding: 24px;
}
.tourism-main-badge {
  display: inline-block; background: var(--gold);
  color: var(--royal-blue); font-size: 11px; font-weight: 700;
  padding: 4px 12px; border-radius: 20px; margin-bottom: 8px;
}
.tourism-main-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px; font-weight: 700; color: white; margin-bottom: 6px;
}
.tourism-main-desc { font-size: 13px; color: rgba(255,255,255,0.8); line-height: 1.5; }

.tourism-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tourism-card { position: relative; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-md); transition: var(--transition); }
.tourism-card:hover { transform: scale(1.03); }
.tourism-card-img { width: 100%; height: 130px; object-fit: cover; }
.tourism-card-info {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(0deg, rgba(10,31,78,0.92) 0%, transparent 100%);
  padding: 12px 10px 10px;
  display: flex; align-items: flex-end; gap: 8px;
}
.tourism-card-icon { font-size: 18px; }
.tourism-card-name { font-size: 13px; font-weight: 700; color: white; }
.tourism-card-desc { font-size: 10px; color: rgba(255,255,255,0.7); }

.tourism-stats-bar {
  display: flex; align-items: center; justify-content: center; gap: 20px;
  padding: 10px 32px;
  background: linear-gradient(135deg, var(--royal-blue), var(--deep-blue));
  flex-shrink: 0;
}
.tourism-stat { text-align: center; }
.t-stat-num { display: block; font-size: 18px; font-weight: 700; color: var(--gold); }
.t-stat-label { font-size: 11px; color: rgba(255,255,255,0.7); }
.tourism-divider { color: rgba(212,175,55,0.4); font-size: 20px; }

/* ═══════════════════════════════════════════════════════════
   SLIDE 11 — ACHIEVEMENTS
═══════════════════════════════════════════════════════════ */
.slide-achievements { background: var(--cream); }

.achievements-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 20px; padding: 14px 32px 14px;
  flex: 1; overflow: hidden;
}
.achievements-left { display: flex; flex-direction: column; gap: 12px; overflow-y: auto; }
.achievement-category {
  background: white; border-radius: var(--radius-md);
  padding: 14px 16px; box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--gold);
}
.ach-cat-header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.ach-cat-icon { font-size: 22px; }
.ach-cat-header h3 { font-size: 15px; font-weight: 700; color: var(--royal-blue); }
.ach-items { display: flex; flex-direction: column; gap: 7px; }
.ach-item { display: flex; align-items: flex-start; gap: 8px; font-size: 12.5px; color: var(--text-mid); line-height: 1.5; }
.ach-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex-shrink: 0; margin-top: 6px; }

.achievements-right { display: flex; flex-direction: column; gap: 14px; overflow-y: auto; }
.education-section { background: white; border-radius: var(--radius-md); padding: 16px; box-shadow: var(--shadow-sm); }
.edu-title { font-size: 15px; font-weight: 700; color: var(--royal-blue); margin-bottom: 12px; }
.edu-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.edu-card {
  background: var(--pale-blue); border-radius: var(--radius-sm);
  padding: 10px 8px; text-align: center;
  border-top: 2px solid var(--mid-blue);
  transition: var(--transition);
}
.edu-card:hover { transform: translateY(-2px); background: var(--royal-blue); }
.edu-card:hover .edu-name, .edu-card:hover .edu-desc { color: white; }
.edu-rank { font-size: 11px; font-weight: 700; color: var(--gold-dark); text-transform: uppercase; letter-spacing: 1px; }
.edu-name { font-size: 12px; font-weight: 700; color: var(--royal-blue); margin: 3px 0; }
.edu-desc { font-size: 10px; color: var(--text-light); }

.literacy-box {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.literacy-stat {
  background: linear-gradient(135deg, var(--royal-blue), var(--deep-blue));
  border-radius: var(--radius-md); padding: 16px;
  text-align: center; border: 1px solid rgba(212,175,55,0.3);
}
.lit-number { font-family: 'Cormorant Garamond', serif; font-size: 36px; font-weight: 700; color: var(--gold); }
.lit-label { font-size: 13px; font-weight: 600; color: white; margin: 4px 0; }
.lit-sub { font-size: 11px; color: rgba(255,255,255,0.6); }

/* ═══════════════════════════════════════════════════════════
   SLIDE 12 — CONCLUSION
═══════════════════════════════════════════════════════════ */
.slide-conclusion {
  background: var(--royal-blue);
  justify-content: center; align-items: center;
}
.conclusion-bg-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.conclusion-bg-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(135deg, rgba(10,31,78,0.92) 0%, rgba(18,42,107,0.88) 100%);
}
.conclusion-content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  padding: 30px 60px; gap: 20px;
  max-width: 900px;
}
.conclusion-emblem { margin-bottom: 4px; }
.conclusion-lotus { width: 80px; height: 80px; filter: drop-shadow(0 0 16px rgba(212,175,55,0.5)); }

.conclusion-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 4vw, 42px); font-weight: 700;
  color: var(--gold-light); letter-spacing: 2px;
}
.conclusion-pillars {
  display: flex; align-items: center; gap: 16px;
  flex-wrap: wrap; justify-content: center;
}
.pillar-item { display: flex; align-items: center; gap: 8px; font-size: 14px; color: rgba(255,255,255,0.85); }
.pillar-icon { font-size: 18px; }
.pillar-sep { color: var(--gold); font-size: 10px; }

.conclusion-text {
  font-size: 14px; color: rgba(255,255,255,0.75);
  line-height: 1.8; max-width: 680px;
  font-style: italic;
}

.thankyou-section { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.thankyou-divider { display: flex; align-items: center; gap: 12px; width: 300px; }
.thankyou-divider .divider-line { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.thankyou-divider .divider-diamond { color: var(--gold); font-size: 12px; }

.thankyou-tamil {
  font-family: 'Noto Serif Tamil', serif;
  font-size: 22px; color: var(--gold-light);
  letter-spacing: 3px;
}
.thankyou-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(40px, 6vw, 64px); font-weight: 700;
  color: white; letter-spacing: 6px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
.thankyou-sub {
  font-size: 14px; color: rgba(255,255,255,0.6);
  letter-spacing: 2px; text-transform: uppercase;
}
.presenter-footer {
  display: flex; align-items: center; gap: 12px;
  font-size: 12px; color: rgba(255,255,255,0.5);
  margin-top: 8px;
}
.footer-sep { color: var(--gold); opacity: 0.5; }

/* ═══════════════════════════════════════════════════════════
   ENTRANCE ANIMATIONS
═══════════════════════════════════════════════════════════ */
.slide.active .slide-header { animation: slideDown 0.5s ease forwards; }
.slide.active .info-card,
.slide.active .timeline-item,
.slide.active .dynasty-card,
.slide.active .art-card,
.slide.active .food-item-card,
.slide.active .industry-card,
.slide.active .tourism-card,
.slide.active .achievement-category,
.slide.active .edu-card {
  animation: fadeUp 0.5s ease forwards;
}
.slide.active .info-card:nth-child(1) { animation-delay: 0.1s; }
.slide.active .info-card:nth-child(2) { animation-delay: 0.15s; }
.slide.active .info-card:nth-child(3) { animation-delay: 0.2s; }
.slide.active .info-card:nth-child(4) { animation-delay: 0.25s; }
.slide.active .info-card:nth-child(5) { animation-delay: 0.3s; }
.slide.active .info-card:nth-child(6) { animation-delay: 0.35s; }
.slide.active .art-card:nth-child(1) { animation-delay: 0.1s; }
.slide.active .art-card:nth-child(2) { animation-delay: 0.2s; }
.slide.active .art-card:nth-child(3) { animation-delay: 0.3s; }
.slide.active .industry-card:nth-child(1) { animation-delay: 0.05s; }
.slide.active .industry-card:nth-child(2) { animation-delay: 0.1s; }
.slide.active .industry-card:nth-child(3) { animation-delay: 0.15s; }
.slide.active .industry-card:nth-child(4) { animation-delay: 0.2s; }
.slide.active .industry-card:nth-child(5) { animation-delay: 0.25s; }
.slide.active .industry-card:nth-child(6) { animation-delay: 0.3s; }

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

/* ═══════════════════════════════════════════════════════════
   SCROLLBAR STYLING
═══════════════════════════════════════════════════════════ */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(212,175,55,0.4); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }