@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Noto+Sans+SC:wght@300;400;500;700&display=swap');

/* ==========================================
   DESIGN SYSTEM & VARIABLES
   ========================================== */
:root {
  /* Font Families */
  --font-primary: 'Outfit', 'Noto Sans SC', system-ui, -apple-system, sans-serif;
  
  /* Color Palette - Light Mode */
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-tertiary: #f1f5f9;
  --bg-mesh: radial-gradient(at 0% 0%, rgba(245, 158, 11, 0.08) 0px, transparent 50%),
             radial-gradient(at 50% 0%, rgba(59, 130, 246, 0.06) 0px, transparent 50%),
             radial-gradient(at 100% 0%, rgba(147, 51, 234, 0.05) 0px, transparent 50%);
             
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  
  --accent: #2563eb;
  --accent-rgb: 37, 99, 235;
  --accent-hover: #1d4ed8;
  --accent-light: rgba(37, 99, 235, 0.08);
  
  --gold: #d97706;
  --gold-rgb: 217, 119, 6;
  --gold-light: rgba(217, 119, 6, 0.08);
  
  --red: #ef4444;
  --red-light: rgba(239, 68, 68, 0.08);
  
  --green: #10b981;
  --green-light: rgba(16, 185, 129, 0.08);
  
  --border: #e2e8f0;
  --border-light: rgba(226, 232, 240, 0.6);
  --card-bg: rgba(255, 255, 255, 0.85);
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.6);
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
  /* Color Palette - Dark Mode */
  --bg-primary: #030712;
  --bg-secondary: #0b0f19;
  --bg-tertiary: #111827;
  --bg-mesh: radial-gradient(at 0% 0%, rgba(245, 158, 11, 0.1) 0px, transparent 50%),
             radial-gradient(at 50% 0%, rgba(59, 130, 246, 0.1) 0px, transparent 50%),
             radial-gradient(at 100% 0%, rgba(147, 51, 234, 0.08) 0px, transparent 50%);
             
  --text-primary: #f9fafb;
  --text-secondary: #d1d5db;
  --text-muted: #9ca3af;
  
  --accent: #3b82f6;
  --accent-rgb: 59, 130, 246;
  --accent-hover: #60a5fa;
  --accent-light: rgba(59, 130, 246, 0.15);
  
  --gold: #f59e0b;
  --gold-rgb: 245, 158, 11;
  --gold-light: rgba(245, 158, 11, 0.15);
  
  --red: #f87171;
  --red-light: rgba(248, 113, 113, 0.15);
  
  --green: #34d399;
  --green-light: rgba(52, 211, 153, 0.15);
  
  --border: #1f2937;
  --border-light: rgba(31, 41, 55, 0.6);
  --card-bg: rgba(11, 15, 25, 0.85);
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -2px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -4px rgba(0, 0, 0, 0.4);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.5);
  
  --glass-bg: rgba(11, 15, 25, 0.7);
  --glass-border: rgba(31, 41, 55, 0.8);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  background-color: var(--bg-primary);
  background-image: var(--bg-mesh);
  background-attachment: fixed;
  color: var(--text-secondary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: var(--transition-slow);
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.25;
  transition: var(--transition);
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent-hover);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* ==========================================
   LAYOUT CONTAINERS
   ========================================== */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
  border-bottom: 1px solid var(--border-light);
}

.section:last-of-type {
  border-bottom: none;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  position: relative;
  display: inline-block;
  padding-bottom: 0.75rem;
  margin-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Glassmorphic Card */
.glass-card {
  background: var(--card-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 1.25rem;
  padding: 2.25rem;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(var(--accent-rgb), 0.2);
}

/* ==========================================
   HEADER / FLOATING NAVBAR
   ========================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.navbar-brand {
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--accent);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active {
  color: var(--accent);
}

.nav-link.active::after {
  width: 100%;
}

/* Theme Switcher Button */
.theme-toggle-btn {
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.theme-toggle-btn:hover {
  background: var(--border);
  color: var(--accent);
}

.theme-toggle-btn .sun-icon {
  display: none;
}

[data-theme="dark"] .theme-toggle-btn .moon-icon {
  display: none;
}

[data-theme="dark"] .theme-toggle-btn .sun-icon {
  display: block;
}

/* Mobile Toggle Hamburger */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--text-primary);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 0 4rem;
  overflow: hidden;
  border-bottom: 1px solid var(--border-light);
}

.hero-mesh {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at 20% 30%, rgba(37, 99, 235, 0.15) 0%, transparent 40%),
                    radial-gradient(circle at 80% 70%, rgba(245, 158, 11, 0.12) 0%, transparent 40%);
  filter: blur(40px);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-flag {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: inline-block;
  animation: pulseFlag 2.5s infinite;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-title span {
  background: linear-gradient(135deg, var(--accent) 30%, var(--gold) 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-badges {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}

.hero-badge svg {
  width: 1.1rem;
  height: 1.1rem;
  color: var(--accent);
}

.hero-badge.badge-gold svg {
  color: var(--gold);
}

.hero-badge.badge-red svg {
  color: var(--red);
}

.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.scroll-mouse {
  width: 1.5rem;
  height: 2.5rem;
  border: 2px solid var(--text-muted);
  border-radius: 20px;
  position: relative;
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background: var(--text-muted);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 1.5s infinite;
}

/* ==========================================
   OVERVIEW SECTION (COLUMNS / CARDS)
   ========================================== */
.overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.overview-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.overview-card-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1.25rem;
}

.overview-card-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-light);
  color: var(--accent);
}

.overview-card-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.overview-card-icon.icon-gold {
  background: var(--gold-light);
  color: var(--gold);
}

.overview-card-icon.icon-red {
  background: var(--red-light);
  color: var(--red);
}

.overview-card-title {
  font-size: 1.25rem;
  font-weight: 700;
}

.overview-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.overview-card-p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.flight-block {
  border-left: 2px solid var(--red);
  padding-left: 1rem;
  margin-bottom: 1rem;
}

.flight-block:last-child {
  margin-bottom: 0;
}

.flight-direction {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--red);
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.flight-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.flight-routes {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.flight-route {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.flight-route-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-muted);
}

.flight-route-dot.active {
  background: var(--red);
  box-shadow: 0 0 0 3px var(--red-light);
}

.hotel-details, .stalford-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.detail-item {
  display: flex;
  gap: 0.75rem;
}

.detail-item svg {
  width: 1.15rem;
  height: 1.15rem;
  color: var(--text-muted);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.detail-item-content {
  font-size: 0.95rem;
}

.detail-item-title {
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.detail-item-desc {
  color: var(--text-secondary);
}

/* ==========================================
   DAILY SCHEDULE SECTION (TIMELINE)
   ========================================== */
.timeline-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 3rem;
  align-items: start;
}

.timeline-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: sticky;
  top: 6rem;
}

.timeline-btn {
  background: none;
  border: none;
  outline: none;
  text-align: left;
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
  font-family: var(--font-primary);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  transition: var(--transition);
  border: 1px solid transparent;
  color: var(--text-secondary);
}

.timeline-btn:hover {
  background: var(--bg-tertiary);
  color: var(--text-primary);
}

.timeline-btn.active {
  background: var(--accent-light);
  color: var(--accent);
  border-color: rgba(var(--accent-rgb), 0.15);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.timeline-btn-day {
  font-size: 1.05rem;
  font-weight: 700;
}

.timeline-btn-title {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.timeline-btn.active .timeline-btn-title {
  color: rgba(var(--accent-rgb), 0.8);
}

/* Timeline Panel Content */
.timeline-panels {
  position: relative;
}

.timeline-panel {
  display: none;
  animation: fadeIn 0.4s ease;
}

.timeline-panel.active {
  display: block;
}

.timeline-panel-header {
  border-bottom: 1px solid var(--border);
  padding-bottom: 1.5rem;
  margin-bottom: 2.25rem;
}

.timeline-panel-day {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.timeline-panel-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-primary);
}

/* Core Timeline Event Graphic Line */
.timeline-events {
  position: relative;
  padding-left: 2.5rem;
}

.timeline-events::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 7px;
  bottom: 8px;
  width: 2px;
  background: var(--border);
}

.timeline-event {
  position: relative;
  margin-bottom: 2.25rem;
}

.timeline-event:last-child {
  margin-bottom: 0;
}

.timeline-event::before {
  content: '';
  position: absolute;
  top: 6px;
  left: -2.5rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 3px solid var(--border);
  z-index: 2;
  transition: var(--transition);
}

.timeline-event:hover::before {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-light);
}

.timeline-event.event-special::before {
  border-color: var(--gold);
}
.timeline-event.event-special:hover::before {
  background: var(--gold);
  box-shadow: 0 0 0 4px var(--gold-light);
}

.timeline-time {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  background: var(--bg-tertiary);
}

.timeline-event-content {
  font-size: 1.05rem;
  color: var(--text-secondary);
}

.timeline-event-content strong {
  color: var(--text-primary);
}

/* Student Prepare Block inside timeline card */
.prep-block {
  margin-top: 2.5rem;
  padding: 1.5rem;
  border-radius: 0.75rem;
  background: var(--bg-tertiary);
  border-left: 4px solid var(--gold);
  display: flex;
  gap: 1rem;
}

.prep-block-icon {
  color: var(--gold);
  flex-shrink: 0;
}

.prep-block-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.prep-block-content {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.prep-block-title {
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

/* ==========================================
   PACKING LIST / CHECKLIST SECTION
   ========================================== */
.checklist-wrapper {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

/* Progress Tracker Bar */
.progress-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-left: 5px solid var(--accent);
  padding: 1.5rem 2.25rem;
  border-radius: 0.75rem;
}

.progress-info {
  flex: 1;
}

.progress-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.progress-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.progress-bar-container {
  width: 300px;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.progress-bar-bg {
  flex: 1;
  height: 8px;
  border-radius: 4px;
  background: var(--bg-tertiary);
  overflow: hidden;
  position: relative;
}

.progress-bar-fill {
  height: 100%;
  width: 0%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--accent), var(--green));
  transition: width 0.4s ease;
}

.progress-percent {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-primary);
  min-width: 3.5rem;
  text-align: right;
}

/* Desktop Grid Layout for Packing List Table */
.packing-grid-container {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--bg-secondary);
}

.packing-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 750px;
}

.packing-table th {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 2px solid var(--border);
}

.packing-table td {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  font-size: 0.95rem;
}

.packing-table tr:last-child td {
  border-bottom: none;
}

/* Category styling columns */
.category-cell {
  font-weight: 700;
  color: var(--text-primary);
  background: var(--bg-primary);
  width: 15%;
}

.item-cell {
  width: 30%;
}

.desc-cell {
  width: 55%;
  color: var(--text-secondary);
}

/* Custom interactive checkbox styling in table */
.packing-item-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  user-select: none;
}

.packing-checkbox-input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.packing-checkbox-custom {
  width: 1.35rem;
  height: 1.35rem;
  border: 2px solid var(--text-muted);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.15rem;
  background: var(--bg-secondary);
  transition: var(--transition);
}

.packing-item-checkbox:hover .packing-checkbox-custom {
  border-color: var(--accent);
}

.packing-checkbox-input:checked ~ .packing-checkbox-custom {
  background-color: var(--green);
  border-color: var(--green);
}

.packing-checkbox-custom svg {
  width: 0.9rem;
  height: 0.9rem;
  color: white;
  display: none;
}

.packing-checkbox-input:checked ~ .packing-checkbox-custom svg {
  display: block;
  animation: checkSpring 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46);
}

.packing-item-text {
  font-weight: 600;
  color: var(--text-primary);
  transition: var(--transition);
}

.packing-checkbox-input:checked ~ .packing-item-text {
  color: var(--text-muted);
  text-decoration: line-through;
}

/* Accordion for Document Checklist */
.accordion-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.accordion-item {
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--bg-secondary);
  overflow: hidden;
  transition: var(--transition);
}

.accordion-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  font-family: var(--font-primary);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  text-align: left;
}

.accordion-header:hover {
  background: var(--bg-tertiary);
}

.accordion-icon {
  transition: var(--transition);
  color: var(--text-muted);
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
  color: var(--accent);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  padding: 0 1.5rem;
}

.accordion-item.active .accordion-content {
  max-height: 1000px;
  transition: max-height 0.5s ease-in-out;
  padding: 0 1.5rem 1.5rem;
  border-top: 1px solid var(--border);
}

.accordion-inner-content {
  padding-top: 1.25rem;
  font-size: 1rem;
  color: var(--text-secondary);
}

.accordion-inner-content ul {
  padding-left: 1.25rem;
}

.accordion-inner-content li {
  margin-bottom: 0.5rem;
}

.badge-required {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  background: var(--red-light);
  color: var(--red);
  margin-left: 0.5rem;
}

.badge-info {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  background: var(--accent-light);
  color: var(--accent);
  margin-left: 0.5rem;
}

/* ==========================================
   SAFETY & DISCIPLINE RULES SECTION
   ========================================== */
.rules-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.rule-card {
  display: flex;
  gap: 1.25rem;
  border-left: 4px solid var(--red);
  padding: 2rem;
}

.rule-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--red-light);
  color: var(--red);
  flex-shrink: 0;
}

.rule-icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.rule-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.rule-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
}

.rule-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* ==========================================
   INTERACTION & CALLS SECTION
   ========================================== */
.interaction-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.interaction-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  border-left: 4px solid var(--accent);
}

.interaction-card.card-gold {
  border-left-color: var(--gold);
}

.interaction-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.interaction-card-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-light);
  color: var(--accent);
}

.interaction-card.card-gold .interaction-card-icon {
  background: var(--gold-light);
  color: var(--gold);
}

.interaction-card-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.interaction-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
}

.interaction-card-body {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.time-highlight-box {
  margin-top: 1rem;
  background: var(--accent-light);
  border: 1px dashed var(--accent);
  padding: 1rem;
  border-radius: 6px;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--accent);
}

.interaction-card.card-gold .time-highlight-box {
  background: var(--gold-light);
  border-color: var(--gold);
  color: var(--gold);
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 4rem 0 3rem;
  text-align: center;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.footer-logo {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-primary);
}

.footer-logo span {
  color: var(--accent);
}

.footer-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-link {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer-link:hover {
  color: var(--accent);
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-light);
  width: 100%;
  padding-top: 1.5rem;
  margin-top: 1.5rem;
}

/* ==========================================
   ANIMATIONS & KEYFRAMES
   ========================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes scrollWheel {
  0% {
    top: 6px;
    opacity: 1;
  }
  50% {
    top: 16px;
    opacity: 0.1;
  }
  100% {
    top: 6px;
    opacity: 1;
  }
}

@keyframes pulseFlag {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes checkSpring {
  0% {
    transform: scale(0.6);
  }
  80% {
    transform: scale(1.15);
  }
  100% {
    transform: scale(1);
  }
}

/* ==========================================
   RESPONSIVE MEDIA QUERIES
   ========================================== */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.75rem;
  }
  .overview-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .overview-card:last-child {
    grid-column: span 2;
  }
  .timeline-layout {
    grid-template-columns: 200px 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  /* Layout adjustments */
  .section {
    padding: 3.5rem 0;
  }
  .section-header {
    margin-bottom: 2rem;
  }
  .section-title {
    font-size: 1.75rem;
  }
  
  /* Hero adjustments */
  .hero {
    min-height: auto;
    padding: 7rem 0 3.5rem;
  }
  .hero-title {
    font-size: 2.25rem;
  }
  .hero-subtitle {
    font-size: 1.2rem;
  }
  .hero-badges {
    margin-bottom: 2.5rem;
  }
  
  /* Floating Nav adjustments */
  .navbar-links {
    display: none; /* Hide desktop links on mobile */
  }
  
  /* Overview Cards adjustments */
  .overview-grid {
    grid-template-columns: 1fr;
  }
  .overview-card:last-child {
    grid-column: auto;
  }
  .glass-card {
    padding: 1.5rem;
  }
  
  /* Timeline adjustments */
  .timeline-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .timeline-nav {
    position: relative;
    top: 0;
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    mask-image: linear-gradient(to right, transparent, white 20px, white 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, white 20px, white 90%, transparent);
  }
  .timeline-btn {
    flex-shrink: 0;
    padding: 0.6rem 1rem;
    text-align: center;
  }
  .timeline-btn-title {
    display: none; /* Hide date on horizontal mobile nav */
  }
  .timeline-events {
    padding-left: 1.75rem;
  }
  .timeline-events::before {
    left: 4px;
  }
  .timeline-event::before {
    left: -1.75rem;
    width: 12px;
    height: 12px;
    top: 8px;
  }
  .prep-block {
    margin-top: 1.75rem;
    padding: 1rem;
  }
  
  /* Rules Grid adjustments */
  .rules-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .rule-card {
    padding: 1.25rem;
  }
  
  /* Interaction Cards adjustments */
  .interaction-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .interaction-card {
    padding: 1.25rem;
  }
  
  /* Checklist / Table adjustments on mobile */
  .progress-card {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 1.25rem;
  }
  .progress-bar-container {
    width: 100%;
  }
  
  /* Stack tables on mobile */
  .packing-grid-container {
    border: none;
    background: transparent;
  }
  .packing-table {
    display: block;
    min-width: auto;
  }
  .packing-table thead {
    display: none; /* Hide table header */
  }
  .packing-table tbody {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
  }
  .packing-table tr {
    display: block;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
  }
  .packing-table td {
    display: block;
    padding: 0;
    width: 100% !important;
    border: none;
  }
  .category-cell {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent);
    background: transparent !important;
    margin-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-light) !important;
    padding-bottom: 0.5rem !important;
  }
  .item-cell {
    margin-bottom: 0.5rem;
  }
  .desc-cell {
    font-size: 0.85rem;
    color: var(--text-muted);
    padding-left: 2rem; /* Indent description relative to checkbox */
  }
}
