/* Immediate fixes for header and dropdown */
      .brand-mark {
        display: none !important;
      }

      .header {
        background: rgba(26, 26, 26, 0.8) !important;
        backdrop-filter: blur(20px) saturate(180%) !important;
        border-bottom: 1px solid rgba(0, 108, 53, 0.3) !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
      }

      .nav .dropdown {
        background: rgba(26, 26, 26, 0.95) !important;
        border: 1px solid rgba(0, 108, 53, 0.3) !important;
        border-radius: 8px !important;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4) !important;
      }

      .nav .dropdown a {
        color: #f0f0f0 !important;
        padding: 12px 16px !important;
        border-radius: 6px !important;
        margin-bottom: 2px !important;
        font-size: 0.9rem !important;
      }

      .nav .dropdown a:hover {
        background: rgba(0, 108, 53, 0.2) !important;
        color: #ffffff !important;
        transform: translateX(4px) !important;
        box-shadow: 0 2px 8px rgba(0, 108, 53, 0.3) !important;
      }

      /* Light mode overrides - softer, easier on the eyes */
      [data-theme="light"] .header {
        background: rgba(248, 248, 248, 0.9) !important;
        border-bottom: 1px solid rgba(0, 108, 53, 0.15) !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
      }

      [data-theme="light"] .nav .dropdown {
        background: rgba(248, 248, 248, 0.95) !important;
        border: 1px solid rgba(0, 108, 53, 0.15) !important;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08) !important;
      }

      [data-theme="light"] .nav .dropdown a {
        color: #2a2a2a !important;
      }

      [data-theme="light"] .nav .dropdown a:hover {
        background: rgba(0, 108, 53, 0.08) !important;
        color: #006c35 !important;
      }

      /* Theme toggle button styling */
      .theme-toggle {
        background: rgba(0, 108, 53, 0.1) !important;
        border: 1px solid rgba(0, 108, 53, 0.3) !important;
        border-radius: 8px !important;
        padding: 8px 16px !important;
        font-size: 0.875rem !important;
        font-weight: 500 !important;
        cursor: pointer !important;
        transition: all 0.3s ease !important;
        color: #006c35 !important;
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
      }

      .theme-toggle:hover {
        background: rgba(0, 108, 53, 0.2) !important;
        border-color: rgba(0, 108, 53, 0.5) !important;
        transform: translateY(-1px) !important;
      }

      /* Dark mode theme toggle */
      [data-theme="dark"] .theme-toggle {
        background: rgba(0, 108, 53, 0.2) !important;
        border-color: rgba(0, 108, 53, 0.4) !important;
        color: #4ade80 !important;
      }

      [data-theme="dark"] .theme-toggle:hover {
        background: rgba(0, 108, 53, 0.3) !important;
        border-color: rgba(0, 108, 53, 0.6) !important;
      }

      /* Global light mode - much darker and easier on the eyes */
      [data-theme="light"] body {
        background: #e8e8e8 !important;
        color: #1a1a1a !important;
      }

      [data-theme="light"] .hero {
        background: linear-gradient(
          135deg,
          #d8d8d8 0%,
          #c8c8c8 100%
        ) !important;
      }

      [data-theme="light"] .hero-overlay {
        background: linear-gradient(
          135deg,
          rgba(0, 108, 53, 0.15) 0%,
          rgba(255, 215, 0, 0.08) 50%,
          rgba(0, 0, 0, 0.3) 100%
        ) !important;
      }

      [data-theme="light"] .section-title {
        color: #1a1a1a !important;
        background: linear-gradient(135deg, #006c35, #004d61) !important;
        background-clip: text !important;
        -webkit-background-clip: text !important;
        -webkit-text-fill-color: transparent !important;
      }

      [data-theme="light"] .section-desc {
        color: #444444 !important;
      }

      [data-theme="light"] .program-card {
        background: rgba(240, 240, 240, 0.9) !important;
        border: 1px solid rgba(0, 108, 53, 0.15) !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
      }

      [data-theme="light"] .program-card:hover {
        background: rgba(245, 245, 245, 0.95) !important;
        border-color: rgba(0, 108, 53, 0.25) !important;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) !important;
      }

      [data-theme="light"] .program-card h3 {
        color: #1a1a1a !important;
      }

      [data-theme="light"] .program-card p {
        color: #555555 !important;
      }

      [data-theme="light"] .cta-btn.primary {
        background: linear-gradient(135deg, #006c35, #008a42) !important;
        color: #ffffff !important;
        box-shadow: 0 4px 12px rgba(0, 108, 53, 0.25) !important;
      }

      [data-theme="light"] .cta-btn.secondary {
        background: transparent !important;
        color: #006c35 !important;
        border: 2px solid #006c35 !important;
      }

      [data-theme="light"] .cta-btn.secondary:hover {
        background: rgba(0, 108, 53, 0.12) !important;
        color: #006c35 !important;
      }

      /* Make header even darker in light mode */
      [data-theme="light"] .header {
        background: rgba(220, 220, 220, 0.9) !important;
        border-bottom: 1px solid rgba(0, 108, 53, 0.2) !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
      }

      [data-theme="light"] .nav .dropdown {
        background: rgba(220, 220, 220, 0.95) !important;
        border: 1px solid rgba(0, 108, 53, 0.2) !important;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1) !important;
      }

      [data-theme="light"] .nav .dropdown a {
        color: #1a1a1a !important;
      }

      [data-theme="light"] .nav .dropdown a:hover {
        background: rgba(0, 108, 53, 0.1) !important;
        color: #006c35 !important;
      }

      /* Video Header Styles */
      .hero-video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 1;
        filter: brightness(0.8) contrast(1.1);
        transition: all 0.3s ease;
      }

      .hero-video:hover {
        filter: brightness(0.9) contrast(1.2);
      }

      /* Enhanced overlay for better text readability over video */
      .hero-overlay {
        background: linear-gradient(
          135deg,
          rgba(0, 108, 53, 0.4) 0%,
          rgba(255, 215, 0, 0.15) 30%,
          rgba(0, 0, 0, 0.6) 70%,
          rgba(0, 108, 53, 0.3) 100%
        ) !important;
        z-index: 2;
      }

      /* Video loading state */
      .hero-video::-webkit-media-controls {
        display: none !important;
      }

      .hero-video::-webkit-media-controls-panel {
        display: none !important;
      }

      /* Smooth video transitions */
      .hero-video {
        animation: fadeInVideo 2s ease-in-out;
      }

      @keyframes fadeInVideo {
        from {
          opacity: 0;
          transform: scale(1.05);
        }
        to {
          opacity: 1;
          transform: scale(1);
        }
      }

      /* Enhanced particles over video */
      .hero-particles .particle {
        background: rgba(255, 215, 0, 0.6) !important;
        box-shadow: 0 0 10px rgba(255, 215, 0, 0.4) !important;
        animation: floatParticle 6s ease-in-out infinite !important;
      }

      @keyframes floatParticle {
        0%,
        100% {
          transform: translateY(0px) scale(1);
          opacity: 0.6;
        }
        50% {
          transform: translateY(-20px) scale(1.1);
          opacity: 1;
        }
      }

      /* Video fallback for mobile/slow connections */
      @media (max-width: 768px) {
        .hero-video {
          display: none;
        }
        .hero-image {
          display: block !important;
        }
      }

      /* Reduced motion preference */
      @media (prefers-reduced-motion: reduce) {
        .hero-video {
          animation: none;
        }
        .hero-particles .particle {
          animation: none !important;
        }
      }

      /* Destination card layout normalized globally in _cards.css */

.destinations-filter {
  max-width: 1024px;
  margin: 3rem auto 1.5rem;
  padding: 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.destinations-filter .filter-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
  padding: 0.9rem 1rem;
  border-radius: 14px;
  backdrop-filter: blur(12px);
}

[data-theme="light"] .destinations-filter .filter-inner {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 108, 53, 0.08);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.destinations-filter .material-symbols-rounded {
  color: var(--saudi-green, #00a86b);
  font-size: 26px;
}

.destinations-filter input[type="search"] {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: inherit;
  font-size: 1rem;
}

.destinations-filter .filter-hint {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

[data-theme="light"] .destinations-filter .filter-hint {
  color: #3a3a3a;
}

.destinations-empty-state {
  max-width: 1024px;
  margin: 1rem auto 2rem;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: 14px;
  border: 1px dashed rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.04);
}

#destinations-empty-state {
  display: none !important;
}

[data-theme="light"] .destinations-empty-state {
  background: rgba(0, 108, 53, 0.04);
  border-color: rgba(0, 108, 53, 0.25);
}

.destinations-empty-state .material-symbols-rounded {
  font-size: 28px;
  color: var(--saudi-green, #00a86b);
}

.destinations-empty-state .empty-copy {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.destinations-empty-state h3 {
  margin: 0;
  font-size: 1.05rem;
}

.destinations-empty-state p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

[data-theme="light"] .destinations-empty-state p {
  color: #3a3a3a;
}

.event-search-results {
  max-width: 1024px;
  margin: 0.5rem auto 2rem;
  padding: 0 1.25rem;
  display: grid;
  gap: 0.75rem;
}

.event-result-card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.event-result-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 108, 53, 0.3);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

[data-theme="light"] .event-result-card {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(0, 108, 53, 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.event-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.event-meta .material-symbols-rounded {
  color: var(--saudi-green, #00a86b);
}

.event-city {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
}

[data-theme="light"] .event-city {
  color: #444;
}

.event-title {
  margin: 0.1rem 0 0;
  font-size: 1.1rem;
}

.event-desc {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
}

[data-theme="light"] .event-desc {
  color: #2a2a2a;
}

.event-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  color: var(--saudi-green, #00a86b);
}

@media (max-width: 768px) {
  .destinations-filter {
    margin: 2rem 1rem 1rem;
  }

  .destinations-empty-state {
    margin: 1rem;
    align-items: flex-start;
  }
}
