/* ============================================
   معرض ليبيا للزهور 2026 — Design System
   Theme: Nature Luxury (Green + Gold)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:wght@400;500;600;700&display=swap');

/* ── CSS Variables ── */
:root {
  /* Primary Palette */
  --primary: #1B4332;
  --primary-light: #2D6A4F;
  --primary-soft: #40916C;
  --primary-pale: #74C69D;
  --primary-ghost: #D8F3DC;

  /* Accent (Gold) */
  --accent: #D4A373;
  --accent-light: #E9C46A;
  --accent-dark: #BC8A5F;
  --accent-glow: rgba(212,163,115,0.3);

  /* Neutrals */
  --bg-primary: #FEFAF6;
  --bg-secondary: #F5F0EB;
  --bg-dark: #0A0F0D;
  --bg-dark-card: #141E1B;
  --white: #FFFFFF;
  --black: #0A0A0A;

  /* Text */
  --text-dark: #1A1A2E;
  --text-body: #4A4A5A;
  --text-muted: #8A8A9A;
  --text-light: #C0C0CC;
  --text-on-dark: #E8E8F0;
  --text-on-dark-muted: #A0A8B0;

  /* Fonts */
  --font-arabic: 'Cairo', sans-serif;
  --font-en: 'Inter', sans-serif;
  --font-display: 'Playfair Display', serif;

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

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(27,67,50,0.06);
  --shadow-md: 0 8px 24px rgba(27,67,50,0.08);
  --shadow-lg: 0 16px 48px rgba(27,67,50,0.12);
  --shadow-xl: 0 24px 64px rgba(27,67,50,0.16);
  --shadow-glow: 0 0 40px rgba(212,163,115,0.2);
  --shadow-inner: inset 0 2px 8px rgba(0,0,0,0.05);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 0.2s;
  --duration-normal: 0.4s;
  --duration-slow: 0.6s;

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

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-arabic);
  background-color: var(--bg-primary);
  color: var(--text-body);
  direction: rtl;
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-arabic);
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.3;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--duration-fast) ease;
}

ul, ol { list-style: none; }

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

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}

/* Scroll to Top Button */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--duration-normal) var(--ease-out);
  z-index: 999;
}

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

.scroll-top:hover {
  background: var(--primary-light);
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.scroll-top svg {
  width: 24px;
  height: 24px;
}

/* ── Utility Classes ── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

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

.section--dark {
  background: var(--bg-dark);
  color: var(--text-on-dark);
}

.section--alt {
  background: var(--bg-secondary);
}

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary-ghost);
  color: var(--primary);
  padding: 0.4rem 1.2rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  letter-spacing: 0.02em;
}

.section--dark .section-tag {
  background: rgba(116,198,157,0.12);
  color: var(--primary-pale);
}

.section-title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.section--dark .section-title {
  color: var(--white);
}

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

.section--dark .section-subtitle {
  color: var(--text-on-dark-muted);
}

/* ── Glass Effect ── */
.glass {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.4);
}

.glass-dark {
  background: rgba(20,30,27,0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
  opacity: 0;
  transition: opacity var(--duration-fast);
}

.btn:hover::after { opacity: 1; }

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(27,67,50,0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(27,67,50,0.4);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: var(--primary);
  box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-accent:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(212,163,115,0.5);
}

.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
}

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

.btn-white {
  background: var(--white);
  color: var(--primary);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn-ghost {
  border: 2px solid rgba(255,255,255,0.3);
  color: var(--white);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

/* ── Navigation ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: all var(--duration-normal) var(--ease-out);
  /* Default subtle glass effect for text clarity over video */
  background: rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.navbar.scrolled {
  background: rgba(254,250,246,0.92);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  padding: 0.65rem 0;
  box-shadow: 0 4px 40px rgba(0,0,0,0.1);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 1001;
}

.nav-logo img {
  height: 42px;
  width: auto;
  transition: height var(--duration-normal);
}

.navbar.scrolled .nav-logo img {
  height: 40px;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
}

.nav-logo-text strong {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff; /* Default white for hero */
  line-height: 1.2;
  transition: color var(--duration-normal);
}

.navbar.scrolled .nav-logo-text strong {
  color: var(--primary);
}

.nav-logo-text span {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
  transition: color var(--duration-normal);
}

.navbar.scrolled .nav-logo-text span {
  color: var(--accent-dark);
}

.nav-links {
  display: none;
  gap: 0.1rem; /* Reduced gap since dropdowns are wider */
  align-items: center;
}

@media (min-width: 1024px) {
  .nav-links { display: flex; }
}

.nav-link {
  padding: 0.5rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #ffffff;
  border-radius: var(--radius-full);
  transition: all var(--duration-normal);
  position: relative;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.navbar.scrolled .nav-link {
  color: var(--text-dark);
}

.nav-link:hover,
.nav-link.active {
  color: var(--white) !important;
  background: var(--primary);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.navbar.scrolled .nav-link.active {
  background: var(--primary-ghost);
  color: var(--primary) !important;
  box-shadow: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-right: 1rem;
}

.nav-cta {
  display: none;
}

@media (min-width: 1024px) {
  .nav-cta { display: inline-flex; }
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  padding: 0.5rem;
}

@media (min-width: 1024px) {
  .nav-toggle { display: none; }
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--primary);
  border-radius: 4px;
  transition: all var(--duration-normal) var(--ease-out);
}

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

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

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

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  background: var(--bg-primary);
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: calc(var(--nav-height) + 2rem) 2rem 2rem;
  transform: translateX(100%);
  transition: transform var(--duration-slow) var(--ease-out);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu .nav-link {
  font-size: 1.25rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  color: var(--color-text) !important;
  font-weight: 700;
  white-space: normal;
}

.mobile-menu .nav-link:hover,
.mobile-menu .nav-link.active {
  color: var(--white) !important;
  background: var(--primary);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.mobile-menu .dropdown-content {
  position: static !important;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  padding: 0 !important;
}

.mobile-menu .nav-link,
.mobile-menu .dropdown-content a {
  color: #1e1e1e !important;
  opacity: 1 !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em;
  text-shadow: 0 0 0 rgba(0,0,0,0) !important;
  padding: 0.95rem 0 !important;
  line-height: 1.6 !important;
  border-radius: 0.85rem;
  margin-bottom: 0.35rem !important;
}

.mobile-menu .dropdown-content a {
  border-bottom: 1px solid rgba(30,30,30,0.12) !important;
  padding: 0.85rem 0 !important;
}

.mobile-menu .nav-link, .mobile-menu .dropdown-content a {
  min-height: 54px;
}

.mobile-menu .nav-link:last-child,
.mobile-menu .dropdown-content a:last-child {
  margin-bottom: 0 !important;
}

.mobile-menu .nav-link:hover,
.mobile-menu .nav-link.active,
.mobile-menu .dropdown-content a:hover {
  color: #ffffff !important;
  background: var(--primary) !important;
  border-radius: var(--radius-lg) !important;
}


/* ── Hero Section ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #F0FFF4 0%, #FEFAF6 40%, #FFF8F0 100%);
  padding-top: 0; /* Removed fixed padding to ensure background covers top */
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  container-type: size;
}

.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: black;
}

.hero-bg-video iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* Full coverage logic using container queries */
  width: max(100cqw, 177.78cqh);
  height: max(56.25cqw, 100cqh);
  pointer-events: none;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.15);
  z-index: 1;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.1; /* Reduced opacity not to distract from video */
  animation: float 20s ease-in-out infinite;
}

.hero-shape--1 {
  width: 400px;
  height: 400px;
  background: var(--primary-ghost);
  top: -100px;
  right: -100px;
  animation-delay: 0s;
}

.hero-shape--2 {
  width: 300px;
  height: 300px;
  background: rgba(212,163,115,0.15);
  bottom: -50px;
  left: -50px;
  animation-delay: -7s;
}

.hero-shape--3 {
  width: 200px;
  height: 200px;
  background: rgba(116,198,157,0.2);
  top: 40%;
  left: 20%;
  animation-delay: -14s;
}

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

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 850px;
  margin: 0 auto;
  padding: 3rem 2.5rem;
  margin-top: calc(var(--nav-height) + 2rem); /* Account for navbar spacing */
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 1);
  color: var(--primary-light);
  padding: 0.5rem 1.5rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 800;
  margin-bottom: var(--space-md);
  animation: fadeInUp 0.8s var(--ease-out) both;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.hero-badge svg {
  width: 18px;
  height: 18px;
  stroke: var(--primary-light);
}

.hero-logo {
  width: 220px;
  height: 220px;
  margin: 0 auto 2rem;
  animation: fadeInUp 0.8s var(--ease-out) 0.1s both;
  filter: drop-shadow(0 8px 12px rgba(0,0,0,0.5)) drop-shadow(0 0 10px rgba(255,255,255,0.7));
  position: relative;
  z-index: 2;
}

.hero-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.4;
  margin-bottom: var(--space-md);
  animation: fadeInUp 0.8s var(--ease-out) 0.2s both;
  color: var(--white);
  text-shadow: 0 4px 24px rgba(0,0,0,0.8);
}

.hero-title .gradient-text {
  /* Yellow Marker Effect with Transparency */
  background: rgba(255, 204, 0, 0.85); /* var(--accent) with 85% opacity */
  color: var(--text-dark);
  -webkit-background-clip: initial;
  -webkit-text-fill-color: initial;
  padding: 0.2rem 1.2rem;
  border-radius: var(--radius-sm);
  display: inline-block;
  text-shadow: none;
  transform: rotate(-2deg);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  margin-bottom: 0.5rem;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  color: var(--white);
  max-width: 600px;
  margin: 0 auto var(--space-lg);
  line-height: 1.8;
  font-weight: 500;
  animation: fadeInUp 0.8s var(--ease-out) 0.3s both;
  text-shadow: 0 4px 16px rgba(0,0,0,0.8), 0 2px 4px rgba(0,0,0,1);
}

.hero-info-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  background: transparent;
  border: none;
  padding: 0.75rem 2rem;
  margin-bottom: var(--space-lg);
  animation: fadeInUp 0.8s var(--ease-out) 0.4s both;
}

.hero-info-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--white);
  font-weight: 700;
  font-size: 1.05rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.9);
}

.hero-info-item svg {
  width: 20px;
  height: 20px;
  stroke: var(--white);
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.8));
}

.hero-info-divider {
  width: 6px;
  height: 6px;
  background: var(--white);
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

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

/* ── Countdown ── */
.countdown {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-xl);
  padding: 1.5rem 2rem;
  width: 100%;
  max-width: 650px; /* Increased to fill space better */
  margin: 0 auto;
  animation: fadeInUp 0.8s var(--ease-out) 0.6s both;
  box-shadow: 0 16px 32px rgba(0,0,0,0.2);
}

.countdown-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1rem;
  text-align: center;
}

.countdown-grid {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  direction: ltr;
}

.countdown-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.countdown-value {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--primary), var(--primary-light));
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(27,67,50,0.25);
  transition: transform var(--duration-normal) var(--ease-bounce);
}

.countdown-value:hover {
  transform: translateY(-4px) scale(1.05);
}

.countdown-value::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
  border-radius: inherit;
}

.countdown-number {
  font-family: var(--font-en);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--white);
  position: relative;
  z-index: 1;
}

.countdown-unit {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-ghost);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
}

.countdown-date {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ── Scroll Indicator ── */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  animation: bounce 2s infinite;
}

.scroll-indicator svg {
  width: 28px;
  height: 28px;
  color: var(--primary-soft);
  opacity: 0.6;
}

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

/* ── About Section ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .about-grid { grid-template-columns: 1fr 1fr; }
}

.about-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-xl);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image-accent {
  position: absolute;
  bottom: -10px;
  right: -10px;
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  border-radius: var(--radius-lg);
  z-index: -1;
}

.about-text h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: var(--space-sm);
}

.about-text p {
  color: var(--text-body);
  line-height: 1.9;
  margin-bottom: var(--space-md);
  font-size: 1.05rem;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: var(--space-lg);
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  color: var(--text-dark);
}

.feature-item svg {
  width: 22px;
  height: 22px;
  color: var(--primary-soft);
  flex-shrink: 0;
}

/* Stats */
.stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .stats-row { grid-template-columns: repeat(4, 1fr); }
}

.stat-card {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--white);
  border: 1px solid rgba(27,67,50,0.08);
  border-radius: var(--radius-lg);
  transition: all var(--duration-normal) var(--ease-out);
  box-shadow: var(--shadow-sm);
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-pale);
}

.stat-number {
  font-family: var(--font-en);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ── Goals Section ── */
.goals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.goal-card {
  background: var(--white);
  border: 1px solid rgba(27,67,50,0.08);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.goal-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity var(--duration-normal);
}

.goal-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.goal-card:hover::before { opacity: 1; }

.goal-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary-ghost), rgba(116,198,157,0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-sm);
}

.goal-icon svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
}

.goal-card h3 {
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.goal-card p {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.7;
}

/* ── CTA Section ── */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 60%, var(--primary-soft) 100%);
  color: var(--white);
  padding: var(--space-2xl) 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212,163,115,0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.cta-text h2 {
  color: var(--white);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 0.5rem;
}

.cta-text p {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ── Sponsors/Packages Section ── */
.packages-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .packages-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .packages-grid { grid-template-columns: repeat(4, 1fr); }
}

.package-card {
  background: var(--white);
  border: 1px solid rgba(27,67,50,0.08);
  border-radius: var(--radius-xl);
  padding: 2rem 1.5rem;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all var(--duration-normal) var(--ease-out);
}

.package-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.package-card.featured {
  border-color: var(--accent);
  box-shadow: 0 8px 40px rgba(212,163,115,0.2);
}

.package-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: var(--primary);
  padding: 0.4rem 1.5rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 4px 12px var(--accent-glow);
}

.package-header {
  text-align: center;
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.package-header h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.package-area {
  display: inline-block;
  background: rgba(27,67,50,0.06);
  color: var(--primary);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-weight: 700;
}

.package-features {
  flex: 1;
  margin-bottom: 1.5rem;
}

.package-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.5;
}

.package-features svg {
  width: 18px;
  height: 18px;
  color: var(--primary-soft);
  flex-shrink: 0;
  margin-top: 3px;
}

.package-btn {
  width: 100%;
  padding: 0.85rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  cursor: pointer;
  transition: all var(--duration-fast);
  text-align: center;
}

/* ── Contact Section ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .contact-grid { grid-template-columns: 1fr 1.5fr; }
}

.contact-info h2 {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: var(--space-sm);
}

.contact-info p {
  color: var(--text-body);
  margin-bottom: var(--space-lg);
  line-height: 1.8;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--primary-ghost);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--duration-normal) var(--ease-out);
}

.contact-item:hover .contact-icon {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(27,67,50,0.25);
}

.contact-icon svg {
  width: 22px;
  height: 22px;
}

.contact-detail h4 {
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 0.2rem;
}

.contact-detail p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0;
}

/* Contact Form */
.contact-form-box {
  background: var(--white);
  border: 1px solid rgba(27,67,50,0.08);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.form-title {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: var(--space-md);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 600px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid rgba(27,67,50,0.15);
  border-radius: var(--radius-md);
  font-size: 1rem;
  color: var(--text-dark);
  background: var(--bg-primary);
  transition: all var(--duration-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(27,67,50,0.08);
  background: var(--white);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  width: 100%;
  margin-top: 0.5rem;
}

@media (min-width: 600px) {
  .form-submit { width: auto; }
}

/* Form Messages */
.form-message {
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  animation: fadeInUp 0.3s var(--ease-out);
}

.form-message--success {
  background: rgba(116,198,157,0.15);
  color: var(--primary);
  border: 1px solid rgba(116,198,157,0.3);
}

.form-message--error {
  background: rgba(220,53,69,0.1);
  color: #DC3545;
  border: 1px solid rgba(220,53,69,0.2);
}

/* CAPTCHA */
.captcha-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--white);
  border: 1.5px solid rgba(27,67,50,0.15);
  border-radius: var(--radius-md);
  padding: 0.5rem;
}

.captcha-ques.btn-primary {
  background: var(--primary);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: all var(--duration-normal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-md);
  white-space: nowrap; /* Prevent horizontal button text wrap */
}

.captcha-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0.4rem;
  font-family: var(--font-en);
  text-align: center;
}

.captcha-refresh {
  cursor: pointer;
  padding: 0.25rem;
  font-size: 1.25rem;
  transition: transform var(--duration-normal);
}

.captcha-refresh:hover {
  transform: rotate(180deg);
}

/* ── Footer ── */
.footer {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding-top: var(--space-2xl);
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary-pale));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}

.footer-brand {
  max-width: 400px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-logo img {
  height: 50px;
}

.footer-logo h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin: 0;
}

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

.footer-desc {
  color: var(--text-on-dark-muted);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all var(--duration-normal) var(--ease-out);
}

.social-link:hover {
  background: var(--accent);
  color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(212,163,115,0.25);
}

.social-link svg {
  width: 20px;
  height: 20px;
}

.footer-links h4,
.footer-contact h4 {
  color: var(--accent);
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--text-on-dark-muted);
  transition: all var(--duration-fast);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--accent);
  padding-right: 6px;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-on-dark-muted);
  font-size: 0.95rem;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-on-dark-muted);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-bottom a {
  color: var(--accent);
  transition: color var(--duration-fast);
}

.footer-bottom a:hover {
  color: var(--accent-light);
}

/* ── Animations ── */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all var(--duration-slow) var(--ease-out);
}

.reveal.visible {
  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; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── Scroll to Top ── */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--duration-normal) var(--ease-out);
  z-index: 999;
  box-shadow: 0 8px 24px rgba(27,67,50,0.3);
}

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

.scroll-top:hover {
  background: var(--primary-light);
  transform: translateY(-4px);
}

.scroll-top svg {
  width: 22px;
  height: 22px;
}

/* ── Visitor Comments ── */
.comments-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 768px) {
  .comments-grid { grid-template-columns: 1fr 1fr; }
}

.comment-form-panel {
  background: var(--white);
  border: 1px solid rgba(27,67,50,0.08);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.comments-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.comment-card {
  background: var(--white);
  border: 1px solid rgba(27,67,50,0.08);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  transition: all var(--duration-normal) var(--ease-out);
}

.comment-card:hover {
  transform: translateX(-4px);
  box-shadow: var(--shadow-md);
}

.comment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.comment-author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.comment-avatar {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.comment-name {
  font-weight: 700;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.comment-date {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.comment-text {
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.7;
  font-style: italic;
}

/* ── Loading & Empty States ── */
.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(27,67,50,0.1);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 2rem auto;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-muted);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .section { padding: var(--space-2xl) 0; }

  .hero-logo {
    width: 110px;
    height: 110px;
    margin-bottom: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
  
  .hero-title .gradient-text {
    padding: 0.1rem 0.75rem;
    font-size: 0.95em;
  }

  .hero-info-bar {
    padding: 0.75rem 1rem;
    gap: 0.75rem;
    border-radius: var(--radius-lg);
  }

  .hero-info-divider { display: none; }

  .countdown {
    padding: 1.25rem 1rem;
    max-width: 100%;
  }

  .countdown-value {
    width: 60px;
    height: 60px;
  }

  .countdown-number { font-size: 1.4rem; }

  .cta-inner {
    text-align: center;
    flex-direction: column;
  }

  .cta-buttons { 
    justify-content: center;
    flex-direction: column;
    gap: 0.75rem;
  }

  .cta-buttons .btn {
    width: 100%;
    max-width: 280px;
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
  }

  .contact-form-box { padding: 1.5rem; }

  .footer-grid { gap: 2rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }

  .hero-title { font-size: 1.8rem; }

  .hero-badge { font-size: 0.8rem; padding: 0.4rem 1rem; }

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

  .countdown-grid { gap: 0.5rem; }

  .countdown-value { width: 56px; height: 56px; }
  .countdown-number { font-size: 1.25rem; }

  .packages-grid { grid-template-columns: 1fr !important; }
}

/* ── Sponsorship Packages ── */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.package-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius-xl);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.package-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-ghost);
}

.package-card--featured {
  border: 2px solid var(--primary);
  background: linear-gradient(165deg, #f0fff4 0%, var(--white) 50%, #fff8f0 100%);
  box-shadow: var(--shadow-lg);
}

.package-card--featured:hover {
  box-shadow: var(--shadow-xl);
}

.package-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 1.25rem;
  border-radius: 0 var(--radius-xl) 0 var(--radius-md);
}

.package-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-ghost);
  color: var(--primary);
  margin-bottom: 1rem;
}

.package-icon svg {
  width: 28px;
  height: 28px;
}

.package-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.package-price {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent-dark);
  background: rgba(212,163,115,0.1);
  padding: 0.3rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
}

.package-features {
  width: 100%;
  text-align: right;
  margin-bottom: 1.5rem;
  flex: 1;
}

.package-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.04);
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.5;
}

.package-features li:last-child {
  border-bottom: none;
}

.package-features li svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--primary-soft);
}

/* ── Comparison Table ── */
.comparison-wrap {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,0,0,0.06);
}

.comparison-title {
  font-size: 1.3rem;
  color: var(--primary);
  text-align: center;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

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

.comparison-table thead th {
  background: var(--primary);
  color: var(--white);
  padding: 0.85rem 1rem;
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
}

.comparison-table thead th:first-child {
  border-radius: 0 var(--radius-sm) 0 0;
  text-align: right;
}

.comparison-table thead th:last-child {
  border-radius: var(--radius-sm) 0 0 0;
}

.comparison-table tbody td {
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  text-align: center;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  white-space: nowrap;
}

.comparison-table tbody td:first-child {
  text-align: right;
  font-weight: 600;
  color: var(--text-dark);
}

.comparison-table tbody tr:hover {
  background: rgba(27,67,50,0.02);
}

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

.check-yes {
  color: var(--primary-soft);
  font-weight: 700;
}

.check-no {
  color: var(--text-muted);
  opacity: 0.5;
}

@media (max-width: 768px) {
  .packages-grid {
    grid-template-columns: 1fr 1fr;
  }

  .comparison-wrap {
    padding: 1rem;
  }
}

@media (max-width: 600px) {
  .packages-grid {
    grid-template-columns: 1fr;
  }
}

/* ── CTA Banner ── */
.cta-banner {
  padding: 4rem 0;
}

.cta-banner-inner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: var(--radius-xl);
  padding: 4rem 2rem;
  text-align: center;
  color: var(--white);
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.cta-banner-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(212,163,115,0.2), transparent 50%);
  pointer-events: none;
}

.cta-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-inline: auto;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-buttons .btn-primary {
  background: var(--accent);
  color: var(--black);
}

.cta-buttons .btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.cta-buttons .btn-outline {
  border-color: rgba(255, 255, 255, 0.4);
}

.cta-buttons .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

/* ══════════════════════════════════════════════════════════════════════════
   FLOOR PLAN SECTION
   ══════════════════════════════════════════════════════════════════════════ */
.floorplan-card {
  background: var(--white);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0,0,0,0.05);
  transition: transform var(--duration-normal);
  margin-top: 2rem;
}

@media (min-width: 992px) {
  .floorplan-card {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.floorplan-info {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
}

.floorplan-info h3 {
  font-size: 1.75rem;
  color: var(--primary);
  margin: 0;
  font-weight: 800;
}

.floorplan-info p {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.floorplan-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

.floorplan-visual {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem;
  position: relative;
  overflow: hidden;
  min-height: 300px;
}

.floorplan-mock {
  width: 180px;
  height: 240px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--white);
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
  transform: rotate(-5deg);
  transition: all var(--duration-normal);
  z-index: 2;
}

.floorplan-card:hover .floorplan-mock {
  transform: rotate(0deg) scale(1.08);
}

.floorplan-mock svg {
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

.floorplan-mock span {
  font-weight: 800;
  letter-spacing: 2px;
  font-size: 0.8rem;
  opacity: 0.9;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .floorplan-info { padding: 2rem; text-align: center; }
  .floorplan-actions { 
    justify-content: center;
    flex-direction: column;
    gap: 0.75rem;
  }
  .floorplan-actions .btn {
    width: 100%;
    max-width: 280px;
  }
  .floorplan-visual { padding: 3rem; }
}

/* ══════════════════════════════════════════════════════════════════════════
   EXHIBITORS DIRECTORY PAGE
   ══════════════════════════════════════════════════════════════════════════ */
.directory-hero {
  background: linear-gradient(rgba(45, 11, 14, 0.94), rgba(45, 11, 14, 0.98)), url('../images/pattern.png');
  background-color: #450c11; /* Maroon depth */
  padding: 10rem 0 6rem;
  color: var(--white);
  border-bottom: 4px solid var(--accent);
  position: relative;
  z-index: 1;
}

.directory-title {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
  color: var(--white) !important;
}

.directory-subtitle {
  font-size: 1.25rem;
  opacity: 0.9;
  max-width: 700px;
  margin: 0 auto;
}

.directory-controls {
  margin-top: -3.5rem;
  padding-bottom: 5rem;
  position: relative;
  z-index: 10; /* Ensure search bar is above hero */
}

.filter-bar {
  background: var(--white);
  border-radius: var(--radius-2xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  border: 1px solid rgba(0,0,0,0.05);
}

@media (min-width: 992px) {
  .filter-bar {
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
  }
}

.search-box {
  position: relative;
  flex: 1;
  max-width: 500px;
}

.search-icon {
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--text-muted);
}

#directorySearch {
  width: 100%;
  padding: 0.85rem 3.5rem 0.85rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0,0,0,0.08);
  background: #f8faf9;
  font-size: 0.95rem;
  transition: all var(--duration-fast);
}

#directorySearch:focus {
  background: var(--white);
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(27,67,50,0.05);
  outline: none;
}

.filter-pills {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.filter-pill {
  padding: 0.6rem 1.5rem;
  border-radius: var(--radius-full);
  background: var(--white);
  color: var(--text-dark);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all var(--duration-fast);
  border: 1px solid rgba(0,0,0,0.1);
}

.filter-pill:hover {
  background: var(--primary-ghost);
  border-color: var(--primary-soft);
  color: var(--primary);
}

.filter-pill.active {
  background: var(--primary); 
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 4px 15px rgba(27, 67, 50, 0.25);
}

/* Exhibitor Grid */
.exhibitor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.exhibitor-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  position: relative;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,0,0,0.05);
  transition: all var(--duration-normal);
  display: flex;
  flex-direction: column;
  min-height: 280px;
}

.exhibitor-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-ghost);
}

.exhibitor-tag {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem; /* Moved to left to avoid icon on right */
  font-size: 0.75rem;
  font-weight: 700;
  color: #D4A373;
  background: rgba(212,163,115,0.1);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-sm);
  z-index: 5;
}

.exhibitor-header {
  display: flex;
  justify-content: flex-end; /* Keep icon on the right */
  align-items: flex-start;
  margin-bottom: 2rem;
  padding-top: 1rem; /* Add space for tag overlap prevention if any */
}

.initial-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  box-shadow: var(--shadow-sm);
  border: 2px solid rgba(255,255,255,0.1);
}

.exhibitor-body {
  flex: 1;
}

.exhibitor-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
}

.exhibitor-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.exhibitor-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0,0,0,0.05);
}

.booth-number {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.exhibitor-link {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.exhibitor-link:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .directory-title { font-size: 2.25rem; }
  .exhibitor-grid { grid-template-columns: 1fr; }
}

/* ═══════ Accessibility Widget ═══════ */
.a11y-widget {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 2000;
}

.a11y-toggle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-xl);
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out);
  border: 2px solid var(--white);
}

.a11y-toggle:hover {
  transform: scale(1.1) rotate(5deg);
  background: var(--primary-light);
}

.a11y-toggle svg {
  width: 26px;
  height: 26px;
}

.a11y-panel {
  position: absolute;
  bottom: 60px;
  left: 0; /* Changed from right: 0 */
  width: 320px;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(0,0,0,0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  transform-origin: bottom left; /* Changed from bottom right */
  transition: all var(--duration-normal) var(--ease-out);
  overflow: hidden;
}

.a11y-panel[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.a11y-header {
  background: var(--primary-ghost);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.a11y-header h3 {
  color: var(--primary);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
}

.a11y-close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.25rem;
  border-radius: var(--radius-sm);
  transition: color var(--duration-fast);
}

.a11y-close:hover {
  color: var(--danger);
  background: rgba(0,0,0,0.05);
}

.a11y-close svg {
  width: 20px;
  height: 20px;
}

.a11y-body {
  padding: 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.a11y-btn {
  background: var(--site-bg);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: var(--radius-md);
  padding: 1rem 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-dark);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--duration-fast);
  text-align: center;
}

.a11y-btn svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
  transition: transform var(--duration-fast);
}

.a11y-btn:hover {
  background: var(--white);
  border-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.a11y-btn:hover svg {
  transform: scale(1.1);
}

.a11y-btn[aria-pressed="true"] {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

.a11y-btn[aria-pressed="true"] svg {
  color: var(--white);
}

/* Wide Button Reset */
.a11y-btn-reset {
  grid-column: span 2;
  flex-direction: row;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.75rem;
  color: var(--danger);
  border-color: rgba(220, 53, 69, 0.2);
  background: rgba(220, 53, 69, 0.05);
}
.a11y-btn-reset svg {
  color: var(--danger);
}
.a11y-btn-reset:hover {
  background: var(--danger);
  color: var(--white);
}
.a11y-btn-reset:hover svg {
  color: var(--white);
}

/* ═══════ Accessibility Active States ═══════ */
/* Large Text */
body.a11y-large-text {
  font-size: 115%;
}
body.a11y-large-text h1 { font-size: 120%; }
body.a11y-large-text h2 { font-size: 120%; }
body.a11y-large-text h3 { font-size: 120%; }

/* Grayscale */
body.a11y-grayscale > *:not(.a11y-widget):not(.scroll-top) {
  filter: grayscale(100%) !important;
}

/* High Contrast */
body.a11y-high-contrast {
  --site-bg: #000000;
  --white: #111111;
  --text-dark: #ffffff;
  --text-body: #eeeeee;
  --primary: #ffff00;
  --primary-light: #ffffaa;
  --accent: #ffcc00;
}
body.a11y-high-contrast > *:not(.a11y-widget):not(.scroll-top) {
  filter: contrast(150%);
}
body.a11y-high-contrast section { background: #000000 !important; }
body.a11y-high-contrast .goal-card,
body.a11y-high-contrast .package-card,
body.a11y-high-contrast .comparison-wrap,
body.a11y-high-contrast .navbar {
  background: #000000 !important;
  border-bottom: 2px solid #ffff00 !important;
}
body.a11y-high-contrast .nav-link {
  color: #ffff00 !important;
  font-weight: 700;
}
body.a11y-high-contrast .nav-link.active {
  background: #ffff00 !important;
  color: #000000 !important;
}
body.a11y-high-contrast .nav-logo-text strong { color: #ffff00 !important; }
body.a11y-high-contrast .nav-logo-text span { color: #ffffff !important; }

body.a11y-high-contrast .btn-primary {
  background: #ffff00 !important;
  color: #000000 !important;
  border: 2px solid #ffff00;
  font-weight: 800;
  padding: 0.5rem 1.25rem !important;
}
body.a11y-high-contrast h1, 
body.a11y-high-contrast h2, 
body.a11y-high-contrast h3, 
body.a11y-high-contrast p, 
body.a11y-high-contrast span {
  color: #ffffff !important;
}
body.a11y-high-contrast svg { color: #ffff00 !important; }

/* Fix A11y toggle icon blending with background in high contrast */
body.a11y-high-contrast .a11y-toggle {
  background: #ffff00 !important;
  border-color: #ffffff !important;
}
body.a11y-high-contrast .a11y-toggle svg {
  color: #000000 !important;
}
body.a11y-high-contrast .a11y-btn[aria-pressed="true"] svg {
  color: #000000 !important; /* Make pressed icon visible against yellow background */
}

/* Highlight Links */
body.a11y-highlight-links a, 
body.a11y-highlight-links button {
  text-decoration: underline !important;
  text-decoration-thickness: 3px !important;
  text-underline-offset: 4px !important;
  outline: 3px solid #ffcc00 !important;
  outline-offset: 2px !important;
}

/* Screen Narrator Visuals */
body.a11y-narrator-active * {
  cursor: help !important; /* Visual indicator that narrator is active */
}
body.a11y-narrator-active .speaking {
  outline: 4px dashed var(--accent) !important;
  outline-offset: 4px !important;
  background-color: var(--primary-ghost) !important;
  color: var(--text-dark) !important;
  transition: all 0.2s;
}

/* ══════════════════════════════════════════════════════════════════════════
   MEDIA CENTER DROPDOWN
   ══════════════════════════════════════════════════════════════════════════ */
.nav-dropdown {
  position: relative;
  padding: 0.5rem 0;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  min-width: 220px;
  box-shadow: var(--shadow-2xl);
  border-radius: var(--radius-xl);
  padding: 1rem 0;
  z-index: 1000;
  border: 1px solid rgba(0,0,0,0.05);
  animation: dropdownFade 0.4s var(--ease-out);
}

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

.nav-dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content a {
  display: block;
  padding: 0.75rem 1.75rem;
  color: var(--text-dark) !important;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.3s;
  text-align: right;
  border-bottom: 1px solid rgba(0,0,0,0.03);
}

.dropdown-content a:last-child {
  border-bottom: none;
}

.dropdown-content a:hover {
  background: var(--primary-ghost);
  color: var(--primary) !important;
  padding-right: 2.25rem;
}

/* Caret for dropdowns */
.nav-link svg.caret {
  width: 10px;
  height: 10px;
  transition: transform 0.3s;
}

.nav-dropdown:hover .nav-link svg.caret {
  transform: rotate(180deg);
}

@media (max-width: 1023px) {
  .nav-dropdown {
    padding: 0;
  }
  .nav-dropdown .dropdown-content {
    position: static;
    display: none;
    box-shadow: none;
    background: transparent;
    padding-right: 1.5rem;
    border: none;
    animation: none;
    margin-top: 0.5rem;
  }
  .nav-dropdown.open .dropdown-content {
    display: block;
  }
  .dropdown-content a {
    color: var(--color-text) !important;
    opacity: 1 !important;
    border-bottom: 1px solid rgba(0,0,0,0.08) !important;
    padding: 0.6rem 1rem !important;
    background: rgba(255,255,255,0.95);
    border-radius: var(--radius-md) !important;
    margin-bottom: 0.25rem !important;
  }
  .nav-link svg.caret {
    display: inline-block;
    transition: transform .3s ease;
    margin-left: 0.5rem;
  }
  .nav-dropdown.open > .nav-link svg.caret {
    transform: rotate(180deg);
  }
}

