/* ===========================
   Theme variables (defaults)
   =========================== */
:root {
  /* WHITE FAMILY BACKGROUND */
  --bg: #ffffff;
  --surface: #f7f8fb;
  --surface-2: #ffffff;

  /* TEXT */
  --text: #0b1220;
  --muted: #6b7280;

  /* BRAND (Equus Red) */
  --brand: #ed2e2e;
  --brand-2: #b61f1f;

  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);

  color-scheme: light;
}

/* Explicit theme overrides */
html[data-theme="dark"] {
  --bg: #0b0f14;
  --surface: #121821;
  --surface-2: #0f141c;
  --text: #e6edf3;
  --muted: #9fb0c3;
  --brand: #ed2e2e;
  --brand-2: #b61f1f;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

html[data-theme="light"] {
  --bg: #ffffff;
  --surface: #f7f8fb;
  --surface-2: #ffffff;
  --text: #0b1220;
  --muted: #6b7280;
  --brand: #ed2e2e;
  --brand-2: #b61f1f;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

/* ===========================
   Base
   =========================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu,
    Cantarell, Noto Sans, Helvetica Neue, Arial, "Apple Color Emoji",
    "Segoe UI Emoji";
  background: linear-gradient(180deg, var(--bg), var(--surface));
  color: var(--text);
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* ===========================
   AOS Animations & Transitions
   =========================== */
[data-aos] {
  transition-property: opacity, transform;
  transition-duration: 0.8s;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Smooth transitions for all interactive elements */
a, button, input, textarea, select {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Smooth transitions for common elements */
section {
  transition: all 0.4s ease;
}

/* Card animations */
[class*="-card"],
[class*="-item"],
[class*="-grid"] > * {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover effects on cards */
[class*="-card"]:hover,
[class*="-item"]:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Text animations */
p, h1, h2, h3, h4, h5, h6, span {
  transition: color 0.3s ease, opacity 0.3s ease;
}

/* Image animations */
img {
  transition: transform 0.4s ease, opacity 0.3s ease;
}

img:hover {
  transform: scale(1.02);
}

/* ===========================
   AOS Animations & Transitions
   =========================== */
[data-aos] {
  transition-property: opacity, transform;
  transition-duration: 0.8s;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Smooth transitions for all interactive elements */
a, button, input, textarea, select {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Smooth transitions for common elements */
section {
  transition: all 0.4s ease;
}

/* Card animations */
[class*="-card"],
[class*="-item"],
[class*="-grid"] > * {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover effects on cards */
[class*="-card"]:hover,
[class*="-item"]:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Text animations */
p, h1, h2, h3, h4, h5, h6, span {
  transition: color 0.3s ease, opacity 0.3s ease;
}

/* Image animations */
img {
  transition: transform 0.4s ease, opacity 0.3s ease;
}

img:hover {
  transform: scale(1.02);
}

/* ===========================
   Header & Navbar - FIXED WITH SCROLL BACKGROUND
   =========================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* SCROLLED STATE - SOLID BACKGROUND */
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  color: var(--text);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(237, 46, 46, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Dark theme scrolled state */
/* Dark theme scrolled state */
html[data-theme="dark"] .site-header.scrolled {
  background: rgba(11, 15, 20, 0.98);
  backdrop-filter: blur(10px);
  color: var(--surface);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(237, 46, 46, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.nav-link.scrolled{
  color: var(--text);
}

/* Light theme explicit override */
html[data-theme="light"] .site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(237, 46, 46, 0.15);
}

.site-header.scrolled .wrap {
  padding: 12px 20px;
}

.site-header.scrolled .brand-logo {
  height: 40px;
}

.site-header.scrolled .nav-link {
  color: var(--text) !important;
  padding: 8px 16px;
  font-size: 0.95rem;
}

.site-header.scrolled .nav-link:hover,
.site-header.scrolled .nav-link:focus-visible {
  color: var(--brand) !important;
}

.site-header.scrolled .btn {
  padding: 12px 24px;
  font-size: 0.9rem;
}

.site-header.scrolled .burger {
  background: var(--surface-2);
  border-color: color-mix(in srgb, var(--brand) 30%, transparent);
  color: var(--text) !important;
}

.site-header.scrolled .burger:hover {
  color: var(--brand) !important;
}

.site-header.scrolled .theme-toggle {
  color: var(--text) !important;
}

.site-header.scrolled .theme-toggle:hover {
  color: var(--brand) !important;
}

.site-header.scrolled .caret {
  stroke: var(--text) !important;
}

.site-header.scrolled .nav-link:hover .caret,
.site-header.scrolled .nav-link:focus-visible .caret {
  stroke: var(--brand) !important;
}
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: padding 0.3s ease;
}

/* ===========================
   Brand / Logo
   =========================== */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.brand:hover {
  transform: translateY(-2px);
}

.brand-logo {
  height: 45px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: all 0.3s ease;
}

/* ===========================
   Navigation
   =========================== */
nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--surface);
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
}

/* Dark mode nav links (not scrolled) - MUST BE WHITE */
html[data-theme="dark"] .nav-link {
  color: #ffffff !important;
}

/* Light mode nav links (not scrolled) - MUST BE WHITE */
html[data-theme="light"] .nav-link {
  color: #ffffff !important;
}
.nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    color-mix(in srgb, var(--brand) 20%, transparent) 0%,
    transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.nav-link:hover::before,
.nav-link:focus-visible::before {
  opacity: 1;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--brand);
  border-color: color-mix(in srgb, var(--brand) 30%, transparent);
  transform: translateY(-2px);
  box-shadow: 0 5px 20px color-mix(in srgb, var(--brand) 15%, transparent);
}

.caret {
  width: 10px;
  height: 10px;
  display: inline-block;
  transform: translateY(1px);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-item[aria-expanded="true"] .caret {
  transform: rotate(180deg);
}

.nav-item[aria-expanded="true"] .nav-link {
  background: color-mix(in srgb, var(--brand) 10%, transparent);
  border-color: color-mix(in srgb, var(--brand) 25%, transparent);
}

/* ===========================
   Dropdowns / Mega panels
   =========================== */
.panel {
  position: absolute;
  left: 0;
  top: calc(100% + 10px);
  min-width: 280px;
  background: var(--surface-2);
  border: 1px solid color-mix(in srgb, var(--muted) 25%, transparent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  display: none;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 1001;
  animation: slideDown 0.3s ease forwards;
}

@keyframes slideDown {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-item[aria-expanded="true"] > .panel {
  display: grid;
  opacity: 1;
  transform: translateY(0);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 12px;
}

.menu-col {
  padding: 8px 6px;
}

.panel a.item {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--text);
  transition: all 0.2s ease;
}

.panel a.item:hover,
.panel a.item:focus-visible {
  background: color-mix(in srgb, var(--brand) 10%, transparent);
  outline: none;
  transform: translateX(5px);
}

.icn {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--brand) 18%, var(--surface));
  font-size: 16px;
  transition: all 0.3s ease;
}

.panel a.item:hover .icn {
  background: var(--brand);
  color: white;
  transform: rotate(10deg) scale(1.1);
}

.label {
  font-weight: 600;
}

.sub {
  font-size: 0.9rem;
  color: var(--muted);
}

/* Simple list-style dropdowns */
.panel ul {
  list-style: none;
  margin: 0;
  padding: 4px;
}

.panel li a {
  display: block;
  padding: 12px 16px;
  border-radius: 10px;
  color: var(--text);
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 500;
  position: relative;
  overflow: hidden;
}

.panel li a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--brand);
  transform: translateX(-10px);
  transition: transform 0.3s ease;
  border-radius: 0 3px 3px 0;
}

.panel li a:hover::before,
.panel li a:focus-visible::before {
  transform: translateX(0);
}

.panel li a:hover,
.panel li a:focus-visible {
  background: color-mix(in srgb, var(--brand) 15%, transparent);
  padding-left: 24px;
}

/* ===========================
   Utilities (Search, Buttons)
   =========================== */
.utils {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-left: 10px;
}

.search {
  position: relative;
  min-width: 220px;
  flex: 1 1 auto;
}

.search input {
  width: 100%;
  background: var(--surface-2);
  border: 1px solid color-mix(in srgb, var(--muted) 25%, transparent);
  color: var(--text);
  padding: 10px 36px 10px 12px;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.search input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 20%, transparent);
}

.search svg {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.6;
}

.btn {
  appearance: none;
  border: none;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: white;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.2), 
    transparent);
  transition: left 0.6s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px color-mix(in srgb, var(--brand) 25%, transparent);
}

.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 35%, transparent);
}

.btn.ghost {
  background: transparent;
  border: 2px solid color-mix(in srgb, var(--brand) 50%, transparent);
  color: var(--brand);
}

.btn.ghost:hover {
  background: color-mix(in srgb, var(--brand) 10%, transparent);
}

.btn.secondary {
  background: var(--surface-2);
  color: var(--text);
  border: 2px solid color-mix(in srgb, var(--muted) 30%, transparent);
}

.btn.secondary:hover {
  border-color: var(--brand);
  color: var(--brand);
}

/* ===========================
   Hero Scroll (General Utility)
   =========================== */
.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.hero-scroll span {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: white;
}

.hero-scroll i {
  font-size: 1.3rem;
  color: var(--brand);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Additional animation keyframes */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Utility animation classes */
.animate-slideup {
  animation: slideInUp 0.6s ease-out;
}

.animate-fadedin {
  animation: fadeIn 0.5s ease-out;
}

.animate-pulse {
  animation: pulse 2s ease-in-out infinite;
}

.animate-scale {
  animation: scaleIn 0.5s ease-out;
}

/* Additional animation keyframes */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Utility animation classes */
.animate-slideup {
  animation: slideInUp 0.6s ease-out;
}

.animate-fadedin {
  animation: fadeIn 0.5s ease-out;
}

.animate-pulse {
  animation: pulse 2s ease-in-out infinite;
}

.animate-scale {
  animation: scaleIn 0.5s ease-out;
}

.hero-scroll:hover i {
  color: var(--brand-2);
}

/* Theme toggle button */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--muted) 30%, transparent);
  background: var(--surface-2);
  color: var(--text);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.theme-toggle:hover {
  border-color: var(--brand);
  transform: rotate(15deg);
  background: color-mix(in srgb, var(--brand) 10%, transparent);
}

.theme-toggle:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 35%, transparent);
}

.theme-toggle .mode {
  font-weight: 600;
  font-size: 0.9rem;
}

/* ===========================
   Burger & Drawer (Mobile) - IMPROVED
   =========================== */
.burger {
  display: none;
  margin-left: auto;
  background: transparent;
  border: 1px solid color-mix(in srgb, var(--muted) 30%, transparent);
  color: var(--text);
  padding: 12px 16px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  position: relative;
  z-index: 1002;
}

.burger:hover {
  border-color: var(--brand);
  background: color-mix(in srgb, var(--brand) 10%, transparent);
  transform: scale(1.05);
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: none;
  z-index: 9998;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.drawer-backdrop.open {
  display: block;
  opacity: 1;
}

.drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(92vw, 420px);
  background: var(--surface-2);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow);
  overflow: auto;
  display: flex;
  flex-direction: column;
  z-index: 9999;
}

.drawer.open {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid color-mix(in srgb, var(--muted) 15%, transparent);
  position: sticky;
  top: 0;
  background: var(--surface-2);
  z-index: 1;
}

.drawer-header .brand {
  font-size: 1.2rem;
  font-weight: 700;
}

.drawer-close {
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 24px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.drawer-close:hover {
  background: color-mix(in srgb, var(--brand) 15%, transparent);
  color: var(--brand);
  transform: rotate(90deg);
}

.drawer-content {
  padding: 20px;
  flex: 1;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--muted) transparent;
}

.drawer-content::-webkit-scrollbar {
  width: 6px;
}

.drawer-content::-webkit-scrollbar-track {
  background: transparent;
}

.drawer-content::-webkit-scrollbar-thumb {
  background-color: var(--muted);
  border-radius: 3px;
}

.drawer .section {
  padding: 20px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--muted) 10%, transparent);
}

.drawer .section:last-child {
  border-bottom: none;
}

.drawer .section h4 {
  margin: 0 0 16px;
  font-size: 0.95rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.drawer a {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--text);
  transition: all 0.3s ease;
  margin-bottom: 8px;
  font-weight: 500;
}

.drawer a:hover {
  background: color-mix(in srgb, var(--brand) 10%, transparent);
  transform: translateX(5px);
}

.drawer a:last-child {
  margin-bottom: 0;
}

.drawer .icn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--brand) 15%, transparent);
  color: var(--brand);
  font-size: 18px;
  transition: all 0.3s ease;
}

.drawer a:hover .icn {
  background: var(--brand);
  color: white;
  transform: rotate(10deg);
}

.drawer .section .btn {
  width: 100%;
  margin-top: 10px;
  justify-content: center;
}

/* ===========================
   Responsive - FIXED MEDIA QUERIES
   =========================== */
@media (max-width: 1023px) {
  /* Header */
  .wrap {
    padding: 15px 20px;
    gap: 10px;
  }
  
  /* Hide desktop nav */
  nav,
  .utils {
    display: none;
  }
  
  /* Show burger menu */
  .burger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    background: var(--surface-2);
    border: 1px solid color-mix(in srgb, var(--muted) 20%, transparent);
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
  }
  
  /* Logo size */
  .brand-logo {
    height: 40px;
  }
  
  /* Mobile scrolled state */
  .site-header.scrolled .burger {
    color: var(--text) !important;
    background: var(--surface-2);
  }
  
  .site-header.scrolled .burger:hover {
    color: var(--brand) !important;
  }
  
  /* Contact button in drawer */
  .drawer .section .btn {
    width: 100%;
    padding: 14px;
    margin-top: 15px;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .wrap {
    padding: 12px 15px;
  }
    .site-header.scrolled .burger {
    color: var(--text) !important;
  }
  .brand-logo {
    height: 36px;
  }
  
  .burger {
    padding: 8px 14px;
    font-size: 0.9rem;
  }
  
  .site-header.scrolled .wrap {
    padding: 8px 15px;
  }
  
  .site-header.scrolled .brand-logo {
    height: 32px;
  }
  
  .site-header.scrolled .burger {
    padding: 6px 12px;
    font-size: 0.85rem;
  }

  /* Hero scroll on tablet */
  .hero-scroll {
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
  }

  .hero-scroll span {
    font-size: 0.85rem;
    font-weight: 700;
    color:white;
  }

  .hero-scroll i {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .wrap {
    padding: 12px;
  }
  
  .brand-logo {
    height: 34px;
  }
  
  .site-header.scrolled .wrap {
    padding: 8px 12px;
  }
  
  .site-header.scrolled .brand-logo {
    height: 30px;
  }
  
  .burger {
    padding: 10px 14px;
    font-size: 0.9rem;
  }
  
  .site-header.scrolled .burger {
    padding: 8px 12px;
    font-size: 0.85rem;
  }
  
  .drawer {
    width: 85vw;
  }

  /* Hero scroll on mobile */
  .hero-scroll {
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0 10px;
  }

  .hero-scroll span {
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    font-weight: 700;
    color: white;
  }

  .hero-scroll i {
    font-size: 1.1rem;
  }
}

/* Desktop specific styles (1024px and above) */
/* ===========================
   Desktop & Large Tablet Responsive
   =========================== */

/* Large Desktop (1400px and above) */
@media (min-width: 1400px) {
  .wrap {
    max-width: 1600px;
    padding: 22px 50px;
  }
  
  .nav-list {
    gap: 8px;
  }
  
  .nav-link {
    padding: 12px 20px;
    font-size: 1rem;
  }
}

/* Standard Desktop (1200px - 1399px) */
@media (min-width: 1200px) and (max-width: 1399px) {
  .wrap {
    max-width: 1200px;
    padding: 20px 30px;
  }
  
  .nav-list {
    gap: 4px;
  }
  
  .nav-link {
    padding: 10px 14px;
    font-size: 0.9rem;
  }
  
  .brand-logo {
    height: 42px;
  }
  
  .utils .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  .theme-toggle {
    padding: 8px 14px;
  }
  
  .theme-toggle .mode {
    font-size: 0.85rem;
  }
}

/* Small Desktop / Large Tablet (1024px - 1199px) */
@media (min-width: 1024px) and (max-width: 1199px) {
  .wrap {
    max-width: 100%;
    padding: 15px 25px;
  }
  
  .brand-logo {
    height: 38px;
  }
  
  .nav-list {
    gap: 2px;
  }
  
  .nav-link {
    padding: 8px 10px;
    font-size: 0.8rem;
    gap: 4px;
  }
  
  .nav-link .caret {
    width: 8px;
    height: 8px;
  }
  
  .utils {
    gap: 8px;
    margin-left: 5px;
  }
  
  .utils .btn {
    padding: 8px 16px;
    font-size: 0.8rem;
    white-space: nowrap;
  }
  
  .theme-toggle {
    padding: 8px 12px;
    gap: 6px;
  }
  
  .theme-toggle .mode {
    font-size: 0.8rem;
  }
  
  .site-header.scrolled .wrap {
    padding: 10px 25px;
  }
  
  .site-header.scrolled .brand-logo {
    height: 34px;
  }
  
  .site-header.scrolled .nav-link {
    padding: 6px 10px;
    font-size: 0.8rem;
  }
  
  .site-header.scrolled .btn {
    padding: 8px 16px;
    font-size: 0.8rem;
  }
}

/* Desktop fallback (min-width: 1024px) - catches any sizes not covered above */
@media (min-width: 1024px) {
  /* Hero scroll responsive */
  .hero-scroll {
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
  }
}