/* ==========================================================================
   DAPIE INDIA - CORE STYLES & DESIGN SYSTEM
   Beyond Trading. Complete Procurement Solutions.
   ========================================================================== */

/* Font family definitions are loaded via HTML <head> with preconnect for zero render blocking */

:root {
  /* Brand Color Palette */
  --color-primary: #081630;
  --color-primary-dark: #050e20;
  --color-primary-light: #102652;
  --color-accent: #F37021;
  --color-accent-hover: #D85C10;
  --color-accent-soft: rgba(243, 112, 33, 0.12);
  --color-accent-glow: rgba(243, 112, 33, 0.35);

  /* Surface & Backgrounds */
  --color-bg-body: #ffffff;
  --color-bg-soft: #f8fafd;
  --color-bg-subtle: #f1f5f9;
  --color-bg-dark: #07132a;
  --color-surface: #ffffff;
  --color-surface-translucent: rgba(255, 255, 255, 0.92);

  /* Typography Colors */
  --color-text-main: #0c1c36;
  --color-text-heading: #071530;
  --color-text-body: #334155;
  --color-text-muted: #64748b;
  --color-text-light: #94a3b8;
  --color-text-inverse: #ffffff;

  /* Borders & Dividers */
  --color-border: #e2e8f0;
  --color-border-light: #edf2f7;
  --color-border-dark: rgba(255, 255, 255, 0.12);

  /* Typography Scales */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(7, 21, 48, 0.04);
  --shadow-md: 0 6px 18px rgba(7, 21, 48, 0.06);
  --shadow-lg: 0 12px 32px rgba(7, 21, 48, 0.08);
  --shadow-xl: 0 20px 48px rgba(7, 21, 48, 0.12);
  --shadow-accent: 0 10px 25px rgba(243, 112, 33, 0.28);

  /* Border Radii */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Container */
  --max-width: 1280px;
  --header-height: 86px;
  --topbar-height: 38px;
}

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

html {
  scroll-behavior: auto;
  font-size: 16px;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-body);
  color: var(--color-text-body);
  line-height: 1.65;
  overflow-x: hidden;
  overflow-x: clip;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

ul,
ol {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 28px;
  padding-right: 28px;
}

/* Typography Helpers & Section Tags */
.section-tag,
.tag-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.35rem;
  font-weight: 700;
  color: var(--color-text-heading);
  line-height: 1.25;
  letter-spacing: -0.5px;
}

.section-title.light {
  color: #ffffff;
}

/* Section Header Wrappers & Centering */
.section-header {
  margin-bottom: 32px;
}

.section-header.text-center,
.section-header-center,
.section-header-centered {
  text-align: center;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 32px;
}

.section-desc,
.section-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  margin-top: 14px;
  line-height: 1.6;
}

.section-header.text-center .section-subtitle,
.section-header.text-center .section-desc,
.section-header-center .section-subtitle,
.section-header-center .section-desc {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Text Alignment Utility Classes */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 13px 28px;
  border-radius: var(--radius-full);
  transition: all var(--transition-smooth);
  text-transform: uppercase;
  white-space: nowrap;
}

.btn-primary-dark {
  background-color: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(8, 22, 48, 0.2);
}

.btn-primary-dark:hover {
  background-color: var(--color-primary-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(8, 22, 48, 0.3);
}

.btn-accent {
  background-color: var(--color-accent);
  color: #ffffff;
  box-shadow: var(--shadow-accent);
}

.btn-accent:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(243, 112, 33, 0.4);
}

.btn-nav-quote {
  background-color: var(--color-accent);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 11px 24px;
  border-radius: var(--radius-xs);
  transition: all var(--transition-fast);
}

.btn-nav-quote:hover {
  background-color: var(--color-accent-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(243, 112, 33, 0.35);
}

.btn-dark-pill {
  background-color: var(--color-primary);
  color: #ffffff;
  padding: 13px 30px;
  border-radius: var(--radius-xs);
  font-size: 0.88rem;
  letter-spacing: 1px;
}

.btn-dark-pill:hover {
  background-color: var(--color-accent);
  color: #ffffff;
  transform: translateY(-2px);
}

/* ==========================================================================
   TOP BAR
   ========================================================================== */
.topbar {
  background-color: #050d1c;
  color: #cbd5e1;
  font-size: 0.82rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 101;
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--topbar-height);
}

.topbar-info,
.topbar-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #94a3b8;
  white-space: nowrap;
}

.topbar-item svg {
  color: var(--color-accent);
  width: 14px;
  height: 14px;
}

.topbar-item a:hover {
  color: #ffffff;
}

.topbar-social-links a {
  color: var(--color-accent) !important;
  transition: all var(--transition-fast);
}

.topbar-social-links a:hover {
  color: #ffffff !important;
  transform: translateY(-1px);
}

.topbar-tag {
  background: none;
  border: none;
  color: #94a3b8;
  padding: 0;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */
.site-header {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 0 !important;
  left: 0;
  right: 0;
  width: 100%;
  background-color: #ffffff !important;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
  z-index: 1000 !important;
  transition: all var(--transition-fast);
}

.site-header.is-sticky {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.10) !important;
}

/* Modal Open: Lock background scrolling without changing scroll position or resetting height */
html.modal-open,
body.modal-open {
  overflow: hidden !important;
  overscroll-behavior: none !important;
  touch-action: pan-y !important;
}

/* Mobile Drawer Open: Lock background without changing scroll position or position:fixed */
html.drawer-open,
body.drawer-open {
  overflow: hidden !important;
  overscroll-behavior: none !important;
  touch-action: pan-y !important;
}

/* Header & body state when modal is open */
body.modal-open .site-header,
body.modal-open .topbar {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  z-index: -1 !important;
}

/* Modal Backdrop & Card Stacking Assurance */
.modal-backdrop {
  position: fixed !important;
  inset: 0 !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  width: 100% !important;
  height: 100vh !important;
  height: 100% !important;
  height: 100dvh !important;
  background: rgba(4, 11, 24, 0.88) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  z-index: 9999999 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 24px 20px !important;
  overflow: hidden !important;
  overscroll-behavior: contain !important;
  touch-action: pan-y !important;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-fast), visibility var(--transition-fast);
}

.modal-backdrop.active {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.modal-card {
  position: relative !important;
  z-index: 10000000 !important;
  background: #ffffff !important;
  border-radius: var(--radius-lg);
  margin: auto !important;
  width: 100%;
  max-width: 780px;
  max-height: 90vh !important;
  max-height: calc(100dvh - 32px) !important;
  display: flex !important;
  flex-direction: column !important;
  transform: none !important;
  overflow: hidden !important;
  overscroll-behavior: contain !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5) !important;
}

.modal-backdrop.active .modal-card {
  transform: none !important;
}

.modal-body {
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  overscroll-behavior: contain !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
  touch-action: pan-y !important;
}

.rfq-success-box {
  overscroll-behavior: contain !important;
  touch-action: none !important;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  margin-right: 40px;
}

.header-logo-img {
  height: 52px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  transition: transform var(--transition-fast);
}

.header-logo-img:hover {
  transform: scale(1.02);
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: #334155;
  padding: 10px 0;
  position: relative;
  transition: color var(--transition-fast);
}

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

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

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  background-color: var(--color-accent);
  border-radius: 2px;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-wrap {
  display: inline-flex;
  align-items: center;
}

.nav-dropdown-link {
  display: inline-flex;
  align-items: center;
}

.nav-dropdown-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 2px 4px;
  color: inherit;
  transition: color var(--transition-fast);
}

.nav-dropdown-arrow svg {
  width: 14px;
  height: 14px;
  transition: transform var(--transition-fast);
  color: #64748b;
  pointer-events: none;
}

.nav-dropdown:hover .nav-dropdown-link,
.nav-dropdown:hover .nav-dropdown-arrow,
.nav-dropdown:hover .nav-dropdown-arrow svg {
  color: var(--color-accent);
}

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

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: -20px;
  background: #ffffff;
  min-width: 250px;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-md);
  padding: 12px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-fast);
  border: 1px solid var(--color-border);
  z-index: 1000;
}

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

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 20px;
  font-size: 0.88rem;
  color: var(--color-text-body);
  font-weight: 500;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.dropdown-item:hover {
  background-color: var(--color-bg-subtle);
  color: var(--color-accent);
}

.header-actions {
  display: flex;
  align-items: center;
  margin-left: 24px;
}

.header-quote-btn {
  padding: 10px 22px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(243, 112, 33, 0.3);
  transition: all var(--transition-fast);
  text-transform: uppercase;
}

.header-quote-btn:hover {
  background-color: var(--color-accent-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(243, 112, 33, 0.45);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  border-radius: 6px;
  border: 1px solid var(--color-border);
  padding: 6px;
  background: #ffffff;
  margin-left: auto;
  cursor: pointer;
}

.mobile-toggle span {
  display: block;
  height: 2.5px;
  width: 100%;
  background: var(--color-primary);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 680px;
  background:
    linear-gradient(90deg,
      rgba(5, 13, 28, 0.48) 0%,
      rgba(5, 13, 28, 0.30) 40%,
      rgba(5, 13, 28, 0.08) 70%,
      rgba(5, 13, 28, 0) 100%),
    url('../assets/images/new_bg.webp') center right / cover no-repeat;
  display: flex;
  align-items: center;
  color: #ffffff;
  overflow: hidden;
}

.hero-overlay {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 84px 0 90px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.6rem;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  margin-bottom: 22px;
  color: #ffffff;
  text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.95),
    0 4px 14px rgba(0, 0, 0, 0.9),
    0 8px 30px rgba(0, 0, 0, 0.85);
}

.hero-title .highlight {
  color: #ffffff;
  display: block;
  text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.95),
    0 4px 14px rgba(0, 0, 0, 0.9),
    0 8px 30px rgba(0, 0, 0, 0.85);
}

.hero-subtitle {
  font-size: 1.18rem;
  line-height: 1.6;
  color: #ffffff;
  font-weight: 500;
  margin-bottom: 38px;
  max-width: 640px;
  text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.95),
    0 4px 12px rgba(0, 0, 0, 0.85);
}

/* Hero Feature Pillars */
.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  margin-bottom: 32px;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(3, 8, 20, 0.62);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  padding: 10px 18px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  transition: all var(--transition-fast);
}

.hero-feature-item:hover {
  background: rgba(3, 8, 20, 0.8);
  border-color: var(--color-accent);
  transform: translateY(-2px);
}

.feature-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(243, 112, 33, 0.45);
}

.feature-icon-wrap svg {
  width: 18px;
  height: 18px;
  stroke: #ffffff;
  stroke-width: 2.2;
}

.feature-text {
  display: flex;
  flex-direction: column;
}

.feature-primary {
  font-family: var(--font-heading);
  font-size: 0.94rem;
  font-weight: 700;
  color: #ffffff;
}

.feature-secondary {
  font-size: 0.8rem;
  font-weight: 500;
  color: #cbd5e1;
}

/* ==========================================================================
   GENERIC SECTION UTILITIES
   ========================================================================== */
.section {
  padding: 50px 0;
  position: relative;
}

.section.bg-light {
  background-color: var(--color-bg-soft);
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about-section {
  padding: 50px 0;
  background-color: #ffffff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 70px;
  align-items: center;
}

.about-text .section-title {
  margin-bottom: 24px;
}

.about-p {
  font-size: 1.02rem;
  color: var(--color-text-body);
  line-height: 1.75;
  margin-bottom: 20px;
}

.about-cta-wrap {
  margin-top: 36px;
}

/* 4-Quadrant Image Collage with Overlap Badge */
.about-collage {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 460px;
  margin: 0 auto;
}

.collage-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3.3;
  position: relative;
}

.collage-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.collage-item:hover img {
  transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.8rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

@media (min-width: 769px) and (max-width: 1199px) {
  .nav-menu {
    gap: 16px !important;
  }
  .logo {
    margin-right: 16px !important;
  }
  .header-actions {
    margin-left: 12px !important;
  }
  .header-quote-btn {
    padding: 8px 14px !important;
    font-size: 0.78rem !important;
  }
}

/* Hide mobile-only drawer components on desktop */
.nav-drawer-header,
.nav-drawer-footer {
  display: none;
}

@media (max-width: 768px) {
  :root {
    --header-height: 58px;
  }

  /* Make sure site-header and drawer stack cleanly above the dimming backdrop */
  .site-header {
    z-index: 10005 !important;
    transform: none !important;
    -webkit-transform: none !important;
    will-change: auto !important;
  }

  .topbar {
    display: none !important;
  }

  .site-header .container {
    height: 58px;
    padding-top: 0;
    padding-bottom: 0;
    align-items: center;
  }

  .header-logo-img {
    height: 40px;
    width: auto;
    margin: 0;
  }

  .header-quote-btn {
    display: none !important;
  }

  .mobile-toggle {
    display: flex;
    margin-left: auto;
    width: 38px;
    height: 38px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    border-radius: 6px;
    padding: 7px;
    flex-direction: column;
    justify-content: space-around;
    cursor: pointer;
    z-index: 10001;
  }

  .mobile-toggle span {
    display: block;
    height: 2.5px;
    width: 100%;
    background: #002961;
    border-radius: 2px;
    transition: all 0.25s ease;
  }

  /* Drawer Container - 100% white, crisp shadow, pure contrast */
  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 82%;
    max-width: 320px;
    height: 100vh;
    background: #ffffff !important;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 18px 18px 24px 18px;
    gap: 6px;
    box-shadow: none !important;
    border-left: none;
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.32s ease;
    z-index: 10010 !important;
    overflow-y: auto;
    overscroll-behavior: contain !important;
    -webkit-overflow-scrolling: touch;
  }

  .nav-menu.open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
    border-left: 1px solid #e2e8f0;
    box-shadow: -10px 0 35px rgba(8, 22, 48, 0.28) !important;
  }

  /* Drawer Top Header (Close Button) */
  .nav-drawer-header {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-bottom: 10px;
    margin-bottom: 8px;
    border-bottom: 1px solid #f1f5f9;
    width: 100%;
  }

  .nav-drawer-close {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    border-radius: 50%;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #475569;
    cursor: pointer;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1 !important;
    transition: all 0.2s ease;
    flex-shrink: 0;
  }

  .nav-drawer-close svg {
    display: block !important;
    width: 18px !important;
    height: 18px !important;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: none;
    margin: auto !important;
  }

  .nav-drawer-close:hover,
  .nav-drawer-close:active {
    background: #e2e8f0;
    color: #f37021;
    transform: rotate(90deg);
  }

  /* Navigation Links inside Drawer */
  .nav-menu .nav-link {
    font-size: 1.05rem;
    font-weight: 600;
    color: #0f172a !important; /* Deep navy/slate, 100% visible on white */
    padding: 11px 14px;
    width: 100%;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    transition: all 0.18s ease;
  }

  .nav-menu .nav-link:hover,
  .nav-menu .nav-link:active {
    color: #f37021 !important;
    background: #fff7ed;
  }

  .nav-menu .nav-link.active {
    color: #f37021 !important;
    background: #fff7ed;
    font-weight: 700;
    border-left: 3.5px solid #f37021;
    border-radius: 4px 8px 8px 4px;
  }

  .nav-menu .nav-link.active::after {
    display: none !important;
  }

  /* Dropdown Accordion on Mobile */
  .nav-menu .nav-dropdown {
    width: 100%;
    position: relative;
    display: block;
  }

  .nav-menu .nav-dropdown-wrap {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 8px;
    transition: all 0.18s ease;
  }

  .nav-menu .nav-dropdown-wrap:hover {
    background: #fff7ed;
  }

  .nav-menu .nav-dropdown.active > .nav-dropdown-wrap {
    background: #fff7ed;
  }

  .nav-menu .nav-dropdown-wrap .nav-link,
  .nav-menu .nav-dropdown-link {
    flex: 1;
    font-size: 1.05rem;
    font-weight: 600;
    color: #0f172a !important;
    padding: 11px 14px;
    border-radius: 8px 0 0 8px;
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.18s ease;
    border-left: none !important;
  }

  .nav-menu .nav-dropdown-link:hover,
  .nav-menu .nav-dropdown-link:active,
  .nav-menu .nav-dropdown.active .nav-dropdown-link {
    color: #f37021 !important;
  }

  .nav-menu .nav-dropdown-wrap.has-active,
  .nav-menu .nav-dropdown-wrap:has(.nav-dropdown-link.active) {
    background: #fff7ed;
    border-left: 3.5px solid #f37021;
    border-radius: 4px 8px 8px 4px;
  }

  .nav-menu .nav-dropdown-wrap.has-active .nav-dropdown-link,
  .nav-menu .nav-dropdown-wrap:has(.nav-dropdown-link.active) .nav-dropdown-link {
    color: #f37021 !important;
    font-weight: 700;
    background: transparent !important;
  }

  .nav-menu .nav-dropdown-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-right: 4px;
    border-radius: 6px;
    color: #64748b;
    transition: transform 0.25s ease, color 0.2s ease, background 0.2s ease;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
  }

  .nav-menu .nav-dropdown-arrow svg {
    width: 18px;
    height: 18px;
    transition: transform 0.25s ease;
    pointer-events: none;
  }

  .nav-menu .nav-dropdown-arrow:hover,
  .nav-menu .nav-dropdown-arrow:active {
    background: rgba(243, 112, 33, 0.15);
    color: #f37021;
  }

  .nav-menu .nav-dropdown.active .nav-dropdown-arrow {
    color: #f37021;
  }

  .nav-menu .nav-dropdown.active .nav-dropdown-arrow svg {
    transform: rotate(180deg);
  }

  .nav-menu .dropdown-menu {
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-left: 2.5px solid #fdba74;
    margin: 4px 0 8px 10px;
    padding: 4px 0 4px 8px;
    background: #f8fafc;
    border-radius: 6px;
    min-width: unset;
    width: calc(100% - 10px);
  }

  .nav-menu .nav-dropdown.active .dropdown-menu {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .nav-menu .dropdown-item {
    display: flex;
    align-items: center;
    padding: 9px 12px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #334155;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.15s ease;
  }

  .nav-menu .dropdown-item:hover,
  .nav-menu .dropdown-item:active,
  .nav-menu .dropdown-item.active {
    background: #fff7ed;
    color: #f37021;
    font-weight: 600;
  }

  /* Drawer Footer CTA */
  .nav-drawer-footer {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
    width: 100%;
  }

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

  .section-title {
    font-size: 1.65rem !important;
    line-height: 1.25 !important;
  }

  .hero-features {
    gap: 20px;
  }
}

/* Mobile Side Drawer Backdrop */
.nav-drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(8, 22, 48, 0.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
  overscroll-behavior: contain !important;
  touch-action: none !important;
}

.nav-drawer-backdrop.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* ==========================================================================
   PERFORMANCE & SMOOTH RENDERING OPTIMIZATIONS
   ========================================================================== */
html {
  scroll-behavior: auto;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* Offscreen Section Rendering Optimization (skips layout calculation until near viewport) */
.home-categories,
.catalog-section,
.brands-section,
.why-choose-us,
.site-footer,
.section-contact-map {
  content-visibility: auto;
  contain-intrinsic-size: 700px;
}

/* High performance image rendering */
img {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}