/*
========================================================================
EKLAVYA SPORTS SHOOTING ACADEMY — WEBSITE DESIGN SYSTEM
Premium Dark Mode, Glassmorphic Surfaces, Glowing Accent Colors,
Tactical Sports Shooting Elements, & Dynamic Micro-interactions.
========================================================================
*/

/* --- Theme Tokens & Variables --- */
:root {
  --primary-hsl: 16, 100%, 60%;      /* Neon Tactical Orange (#FF6B35) */
  --primary: hsl(var(--primary-hsl));
  --primary-glow: hsla(var(--primary-hsl), 0.35);
  --primary-hover: hsl(16, 100%, 50%);

  --secondary-hsl: 206, 100%, 27%;   /* Championship Deep Blue (#004E89) */
  --secondary: hsl(var(--secondary-hsl));
  --secondary-glow: hsla(var(--secondary-hsl), 0.3);
  --secondary-hover: hsl(206, 100%, 22%);

  --accent-hsl: 48, 100%, 62%;       /* Competitive Gold/Yellow (#FFD23F) */
  --accent: hsl(var(--accent-hsl));
  --accent-glow: hsla(var(--accent-hsl), 0.3);

  --bg-dark-hsl: 224, 71%, 4%;       /* Deep Space Obsidian (#020617) */
  --bg-dark: hsl(var(--bg-dark-hsl));
  --bg-dark-90: hsla(var(--bg-dark-hsl), 0.9);
  --bg-dark-95: hsla(var(--bg-dark-hsl), 0.95);

  --card-bg-hsl: 222, 47%, 11%;      /* Deep Slate Card (#0F172A) */
  --card-bg: hsl(var(--card-bg-hsl));
  --card-bg-glow: hsla(var(--card-bg-hsl), 0.85);

  --border-glow: rgba(255, 107, 53, 0.2);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.15);

  --text-light: #f8fafc;
  --text-muted: #94a3b8;
  --text-dark: #0f172a;
}

/* --- Base & Scroll Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  width: 100%;
  overflow-x: hidden;
  font-family: 'Noto Sans Devanagari', 'Outfit', sans-serif;
  background: radial-gradient(circle at 50% 0%, hsl(222, 60%, 10%), var(--bg-dark) 50%, var(--bg-dark));
  color: var(--text-light);
  word-break: break-word;
  overflow-wrap: break-word;
  padding-bottom: 70px;
  padding-top: 70px;
}

@media(min-width: 768px) {
  body {
    padding-bottom: 0;
  }
}

/* Custom Premium Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary-glow);
}

/* Top Progress Indicator */
#prog {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  z-index: 9999;
  width: 0;
  transition: width 0.1s ease-out;
  box-shadow: 0 0 8px var(--primary-glow);
}

/* --- Typography & Headings --- */
h1 {
  font-size: clamp(30px, 6.5vw, 60px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(26px, 4.5vw, 42px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.015em;
}

h3 {
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* --- Premium Layout Wrappers --- */
.wrap {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}
@media(min-width: 640px) { .wrap { padding: 0 32px; } }
@media(min-width: 1024px) { .wrap { padding: 0 48px; } }

/* --- Navigation & Header --- */
.glass-nav {
  background: rgba(2, 6, 23, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
}
.glass-nav.scrolled {
  background: rgba(2, 6, 23, 0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border-bottom-color: rgba(255, 107, 53, 0.15);
}

/* Interactive Navigation Links */
.nav-link-hover {
  position: relative;
  transition: color 0.3s ease;
  white-space: nowrap; /* Prevent vertical wrapping */
}
.nav-link-hover::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width 0.3s ease;
  border-radius: 2px;
}
.nav-link-hover:hover::after {
  width: 100%;
}

/* --- Mobile Menu Drawer --- */
.mob-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(2, 6, 23, 0.98);
  backdrop-filter: blur(24px);
  z-index: 1000;
  display: none;
  flex-direction: column;
  padding: 24px;
  padding-top: 90px;
  overflow-y: auto;
}
.mob-menu.open {
  display: flex;
}
.mob-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  margin: 5px 0;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-light);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
  text-decoration: none;
  cursor: pointer;
}
.mob-link:active, .mob-link:hover {
  background: hsla(var(--primary-hsl), 0.12);
  color: var(--primary);
  border-color: hsla(var(--primary-hsl), 0.3);
  transform: translateX(4px);
}

.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(24px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 998;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0 5px;
  box-shadow: 0 -5px 20px rgba(0,0,0,0.5);
}
.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 10px;
  font-weight: 600;
  gap: 4px;
  width: 60px;
  height: 100%;
}
.nav-item.active {
  color: var(--primary);
}
@media(min-width: 768px) { .bottom-nav { display: none; } }

/* --- Premium Buttons --- */
.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  text-decoration: none;
  border: 1px solid transparent;
  outline: none;
  white-space: nowrap; /* Prevent button text from wrapping */
}
@media(min-width: 768px) {
  .btn {
    min-height: 50px;
    padding: 14px 28px;
    font-size: 16px;
    border-radius: 16px;
    gap: 10px;
  }
}
.btn:active {
  transform: scale(0.96);
}

.btn-orange {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--text-dark);
  box-shadow: 0 6px 20px var(--primary-glow);
}
.btn-orange:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px hsla(var(--primary-hsl), 0.5), 0 0 10px hsla(var(--accent-hsl), 0.3);
}

.btn-blue {
  background: linear-gradient(135deg, var(--secondary), #00B4DB);
  color: #fff;
  box-shadow: 0 6px 20px var(--secondary-glow);
}
.btn-blue:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 180, 219, 0.4);
}

.btn-ghost {
  border: 2px solid hsla(var(--primary-hsl), 0.4);
  color: var(--primary);
  background: hsla(var(--primary-hsl), 0.05);
}
.btn-ghost:hover {
  background: hsla(var(--primary-hsl), 0.15);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: rgba(37, 211, 102, 0.1);
  color: #25D366;
  border: 1px solid rgba(37, 211, 102, 0.3);
}
.btn-whatsapp:hover {
  background: #25D366;
  color: #fff;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
  border-color: #25D366;
  transform: translateY(-2px);
}

/* --- Glassmorphism Cards & Panels --- */
.card {
  border-radius: 24px;
  padding: 24px;
  border: 1px solid var(--border-subtle);
  background: linear-gradient(160deg, rgba(30, 41, 59, 0.75), rgba(15, 23, 42, 0.92));
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
@media(min-width: 768px) {
  .card {
    padding: 32px;
  }
}
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}
.card:hover {
  transform: translateY(-6px);
  border-color: hsla(var(--primary-hsl), 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 20px hsla(var(--primary-hsl), 0.15);
}

/* Glowing Border for Highlighted Cards */
.card-featured {
  border: 2px solid var(--primary);
  background: linear-gradient(160deg, rgba(30, 41, 59, 0.85), rgba(15, 23, 42, 0.96));
  box-shadow: 0 10px 30px hsla(var(--primary-hsl), 0.2);
}
.card-featured:hover {
  box-shadow: 0 20px 50px hsla(var(--primary-hsl), 0.35), 0 0 15px hsla(var(--accent-hsl), 0.2);
}

/* Portal Panel Glass Container */
.portal-wrap {
  background: linear-gradient(135deg, rgba(0, 78, 137, 0.15), rgba(0, 180, 219, 0.05));
  border: 1px solid rgba(0, 180, 219, 0.2);
  border-radius: 28px;
  padding: 24px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}
@media(min-width: 768px) {
  .portal-wrap {
    padding: 44px;
  }
}

/* --- Tactical Target Rings Background --- */
.ring-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.target-ring {
  position: absolute;
  border: 1.5px dashed rgba(255, 107, 53, 0.12);
  border-radius: 50%;
  pointer-events: none;
  animation: rotate-ring 40s linear infinite;
  display: flex;
  align-items: center;
  justify-content: center;
}
.target-ring::before {
  content: '';
  position: absolute;
  width: 90%;
  height: 90%;
  border: 1px solid rgba(255, 210, 63, 0.08);
  border-radius: 50%;
}
.target-ring::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--primary);
  border-radius: 50%;
  opacity: 0.15;
  box-shadow: 0 0 12px var(--primary);
  animation: pulse-bullseye 3s ease-in-out infinite alternate;
}

@keyframes rotate-ring {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
@keyframes pulse-bullseye {
  0% { transform: scale(0.8); opacity: 0.1; }
  100% { transform: scale(1.3); opacity: 0.4; }
}

/* Traditional floating animation */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.anim-float {
  animation: float 6s ease-in-out infinite;
}

/* --- Tactical Elements & Badges --- */
.icobox {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin: 0 auto 20px;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--text-dark);
}
@media(min-width: 768px) {
  .icobox {
    width: 64px;
    height: 64px;
    font-size: 26px;
    border-radius: 18px;
  }
}
.card:hover .icobox {
  transform: scale(1.12) rotate(6deg);
  box-shadow: 0 12px 28px hsla(var(--primary-hsl), 0.4);
}

.pop-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--text-dark);
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  white-space: nowrap;
  box-shadow: 0 4px 15px hsla(var(--primary-hsl), 0.4);
}
@media(min-width: 768px) {
  .pop-badge {
    top: -14px;
    padding: 6px 20px;
    font-size: 11px;
  }
}

/* --- Form Fields & Interactive Elements --- */
.form-inp {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-light);
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 15px;
  font-family: inherit;
  transition: all 0.3s ease;
}
@media(min-width: 768px) {
  .form-inp {
    border-radius: 14px;
    padding: 16px 20px;
    font-size: 16px;
  }
}
.form-inp:focus {
  outline: none;
  border-color: var(--primary);
  background: hsla(var(--primary-hsl), 0.06);
  box-shadow: 0 0 12px hsla(var(--primary-hsl), 0.25);
}
select.form-inp option {
  background: #0f172a;
  color: var(--text-light);
}
textarea.form-inp {
  resize: vertical;
  min-height: 110px;
}

/* --- FAQ Accordion --- */
.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 12px;
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.3s ease;
}
.faq-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 107, 53, 0.15);
}
.faq-btn {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  color: var(--text-light);
  cursor: pointer;
  border: none;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  gap: 12px;
  transition: color 0.3s ease;
}
.faq-btn:hover {
  color: var(--primary);
}
.faq-body {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
  font-weight: 500;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
}
.faq-body.open {
  padding: 0 24px 20px;
  max-height: 500px;
}

/* --- Language Toggle Switch --- */
.lang-sw {
  position: relative;
  width: 56px;
  height: 28px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 4px;
  transition: background 0.25s;
}
.lang-sw::after {
  content: 'EN';
  position: absolute;
  left: 4px;
  width: 20px;
  height: 20px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 800;
  color: var(--text-dark);
  transition: left 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}
.lang-sw.hi::after {
  left: 32px;
  content: 'HI';
}
html[lang="en"] [data-hi] { display: none !important; }
html[lang="hi"] [data-en] { display: none !important; }

/* --- Special Testimonial Quote Mark --- */
.t-card {
  position: relative;
  padding: 28px 24px;
}
@media(min-width: 768px) {
  .t-card {
    padding: 36px 32px;
  }
}
.t-card::before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 16px;
  font-size: 64px;
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  color: hsla(var(--primary-hsl), 0.1);
  line-height: 1;
  pointer-events: none;
}

/* --- Floating Helpdesk Widget & Support Drawer --- */
.widget-panel-wrap {
  position: fixed;
  right: 16px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  bottom: 85px;
}
@media (min-width: 768px) {
  .widget-panel-wrap {
    right: 24px;
    bottom: 24px;
  }
}

.helpdesk-drawer {
  margin-bottom: 16px;
  width: 320px;
  background: linear-gradient(160deg, #0b1120, #020617);
  border: 1px solid rgba(255, 107, 53, 0.25);
  border-radius: 20px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.8), 0 0 15px hsla(var(--primary-hsl), 0.1);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}
@media(min-width: 768px) {
  .helpdesk-drawer {
    width: 350px;
  }
}

/* Header inside helpdesk */
.helpdesk-header {
  background: linear-gradient(90deg, var(--primary), var(--accent));
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.helpdesk-header-title {
  color: var(--text-dark);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0;
}

/* Unified Helpdesk Trigger button */
.helpdesk-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--text-dark);
  font-weight: 800;
  border-radius: 30px;
  box-shadow: 0 8px 30px hsla(var(--primary-hsl), 0.4);
  transition: all 0.3s ease;
  border: 2px solid var(--bg-dark);
  z-index: 1000;
  font-size: 13px;
  cursor: pointer;
}
@media (min-width: 768px) {
  .helpdesk-trigger {
    padding: 14px 24px;
    font-size: 14px;
  }
}
.helpdesk-trigger:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 35px hsla(var(--primary-hsl), 0.55);
}

/* --- CSS Micro-utilities for dynamic templates --- */
.gradient-overlay-card {
  position: relative;
}
.gradient-overlay-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(2, 6, 23, 0.95) 90%);
  pointer-events: none;
}

/* Custom badges */
.badge-gold {
  background: rgba(255, 210, 63, 0.15);
  border: 1px solid rgba(255, 210, 63, 0.3);
  color: var(--accent);
}
.badge-orange {
  background: hsla(var(--primary-hsl), 0.15);
  border: 1px solid hsla(var(--primary-hsl), 0.3);
  color: var(--primary);
}
.badge-green {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
}
.badge-red {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
}

/* Marquee speed optimization */
.marquee-track {
  display: flex;
  overflow: hidden;
  width: 100%;
  position: relative;
}
.marquee-content {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-around;
  min-width: 100%;
  gap: 50px;
  animation: marquee-scroll 25s linear infinite;
  white-space: nowrap;
}
.marquee-track:hover .marquee-content {
  animation-play-state: paused;
}
@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* General Gradients */
.text-gradient-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-gradient-secondary {
  background: linear-gradient(135deg, var(--secondary), #00B4DB);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Responsive constraints */
.clamp-1 { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* 🚀 Mobile-First Image & Layout Optimizations */
img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

/* Responsive Table container (Enables smooth swipe-scrolling on Mobile/Tablet) */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1.5rem;
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  background: rgba(15, 23, 42, 0.4);
}

.table-responsive table {
  width: 100%;
  border-collapse: collapse;
  white-space: nowrap; /* Prevents cell texts from breaking */
}

/* Custom premium scrollbar for horizontal mobile scroll areas */
.table-responsive::-webkit-scrollbar {
  height: 5px;
}
.table-responsive::-webkit-scrollbar-track {
  background: rgba(2, 6, 23, 0.5);
}
.table-responsive::-webkit-scrollbar-thumb {
  background: rgba(255, 107, 53, 0.3);
  border-radius: 10px;
}
.table-responsive::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* General spacing constraints for compact mobile viewports */
@media (max-width: 639px) {
  .wrap {
    padding: 0 16px !important;
  }
  .card {
    padding: 18px !important;
    border-radius: 18px !important;
  }
  h1 {
    font-size: 28px !important;
  }
  h2 {
    font-size: 24px !important;
  }
}

/* --- Tailwind CSS Utility Layout Fallbacks (Resiliency Engine) --- */
.flex {
  display: flex !important;
}
.hidden {
  display: none !important;
}
.items-center {
  align-items: center !important;
}
.justify-between {
  justify-content: space-between !important;
}
.flex-nowrap {
  flex-wrap: nowrap !important;
}
.flex-shrink-0 {
  flex-shrink: 0 !important;
}
.gap-4 {
  gap: 16px !important;
}
.gap-3 {
  gap: 12px !important;
}
.gap-2 {
  gap: 8px !important;
}

@media(min-width: 1200px) {
  .xl\:flex {
    display: flex !important;
    align-items: center !important;
  }
  .xl\:hidden {
    display: none !important;
  }
}
@media(max-width: 1199px) {
  .xl\:flex {
    display: none !important;
  }
  .xl\:hidden {
    display: block !important;
  }
}

/* Fallback for logo icon container if Tailwind fails */
.logo-icon-container {
  width: 44px !important;
  height: 44px !important;
  border-radius: 14px !important;
  background: linear-gradient(135deg, #FF6B35, #FFD23F) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3) !important;
}
.logo-icon-container i {
  color: #0f172a !important;
  font-size: 1.1rem !important;
}

/* Fallback for logo text formatting */
.logo-title {
  color: #fff !important;
  font-weight: 900 !important;
  font-size: 1.1rem !important;
  margin: 0 !important;
  line-height: 1.1 !important;
}
.logo-subtitle {
  color: #94a3b8 !important;
  font-weight: 700 !important;
  font-size: 0.65rem !important;
  text-transform: uppercase !important;
  letter-spacing: 1.5px !important;
  margin: 4px 0 0 0 !important;
  line-height: 1.1 !important;
}

/* Fallback for language toggle wrapper */
.nav-lang-wrap {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: rgba(30, 41, 59, 0.8) !important;
  border-radius: 9999px !important;
  padding: 6px 10px !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  flex-shrink: 0 !important;
}
.nav-lang-wrap span {
  font-size: 10px !important;
  font-weight: 700 !important;
  color: #94a3b8 !important;
}

/* --- Navigation Dropdowns Redesign --- */
.nav-dropdown-wrapper {
  position: relative;
  display: inline-block;
  padding: 10px 0;
}

.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  outline: none;
}

.nav-dropdown-trigger i.chevron {
  font-size: 8px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-dropdown-wrapper:hover .nav-dropdown-trigger i.chevron {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 220px;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 100;
}

.nav-dropdown-wrapper:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  color: var(--text-muted) !important;
  text-decoration: none !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  border-radius: 10px;
  transition: all 0.2s ease;
}

.nav-dropdown-item:hover {
  background: hsla(var(--primary-hsl), 0.1) !important;
  color: var(--text-light) !important;
  transform: translateX(4px);
}

.nav-dropdown-item i.item-icon {
  width: 16px;
  text-align: center;
  font-size: 14px;
  color: var(--primary) !important;
  transition: transform 0.2s ease;
}

.nav-dropdown-item:hover i.item-icon {
  transform: scale(1.1);
  color: var(--accent) !important;
}
