/* ===================================
   STONEX — PUBLIC SITE STYLES
   =================================== */

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

/* ─── CSS Variables ─── */
:root {
  --color-primary: #f97316;
  --color-primary-dark: #ea580c;
  --color-accent: #dc2626;
  --header-bg: rgba(255, 255, 255, 0.72);
  --dark: rgba(255, 255, 255, 0.88);
  --dark2: rgba(248, 250, 252, 0.85);
  --text: #0f172a;
  --text-muted: #334155;
  --text-dim: #64748b;
  --border: rgba(15, 23, 42, 0.08);
  --surface: rgba(255, 255, 255, 0.9);
  --section-alt: rgba(241, 245, 249, 0.85);
  --radius: 20px;
  --radius-sm: 12px;
  --container-width: 1280px;
  --shadow: 0 10px 40px -10px rgba(15, 23, 42, 0.05);
}

/* ─── 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: 'Inter', 'Outfit', sans-serif;
  background-color: #ffffff;
  background-image: repeating-linear-gradient(45deg, rgba(15, 23, 42, 0.012) 0px, rgba(15, 23, 42, 0.012) 1.2px, transparent 1.2px, transparent 15px);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
body.loaded { opacity: 1; }
a { color: inherit; text-decoration: none; transition: color 0.2s ease; }
img { display: block; max-width: 100%; height: auto; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; outline: none; }
input, select, textarea { font-family: inherit; outline: none; }

/* ─── Utilities ─── */
.container { width: 100%; max-width: var(--container-width); margin: 0 auto; padding: 0 32px; }
.section { padding: 120px 0; }

/* ─── Buttons ─── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 32px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 600; transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1); cursor: pointer; border: 1px solid transparent; white-space: nowrap; letter-spacing: -0.1px; }
.btn-primary { background: linear-gradient(135deg, var(--color-primary), var(--color-accent)); color: #fff; box-shadow: 0 10px 30px -5px rgba(249,115,22,0.3); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 15px 35px -5px rgba(249,115,22,0.4); filter: brightness(1.05); }
.btn-primary:active { transform: translateY(0); }
.btn-outline { background: transparent; border: 1px solid rgba(15, 23, 42, 0.15); color: var(--text); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-outline:hover { border-color: var(--color-primary); color: var(--color-primary); background: rgba(249,115,22,0.02); transform: translateY(-2px); }
.btn-outline:active { transform: translateY(0); }
.btn-secondary { background: rgba(255, 255, 255, 0.12) !important; border: 1px solid rgba(255, 255, 255, 0.18) !important; color: #ffffff !important; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); text-shadow: 0 1px 2px rgba(0,0,0,0.2); }
.btn-secondary:hover { background: rgba(255, 255, 255, 0.22) !important; border-color: rgba(255, 255, 255, 0.35) !important; color: #ffffff !important; transform: translateY(-2px); box-shadow: 0 10px 25px -5px rgba(255, 255, 255, 0.15); }
.btn-secondary:active { transform: translateY(0); }
.btn-lg { padding: 16px 36px; font-size: 15px; }
.btn-outline-sm { background: transparent; border: 1px solid var(--border); color: var(--text-muted); padding: 9px 20px; border-radius: var(--radius-sm); font-size: 13px; font-weight: 500; transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1); }
.btn-outline-sm:hover { border-color: var(--color-primary); color: var(--color-primary); background: rgba(249,115,22,0.02); }
.btn-primary-sm { background: linear-gradient(135deg, var(--color-primary), var(--color-accent)); color: #fff; padding: 9px 20px; border-radius: var(--radius-sm); font-size: 13px; font-weight: 600; box-shadow: 0 6px 16px -4px rgba(249,115,22,0.25); }
.btn-primary-sm:hover { transform: translateY(-1px); box-shadow: 0 10px 20px -4px rgba(249,115,22,0.35); }
.btn-full { width: 100%; }

/* ─── Section Headers ─── */
.section-header { text-align: center; margin-bottom: 72px; }
.section-label { font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--color-primary); margin-bottom: 16px; display: block; font-family: 'Outfit', sans-serif; }
.section-title { font-size: clamp(34px, 4.5vw, 52px); font-weight: 800; line-height: 1.15; color: var(--text); margin-bottom: 20px; letter-spacing: -1px; font-family: 'Outfit', sans-serif; }
.section-title.left { text-align: left; }
.section-desc { font-size: 16px; color: var(--text-muted); max-width: 640px; margin: 0 auto; line-height: 1.75; font-weight: 400; }
.section-desc.light { color: var(--text-muted); }
.section-title.light { color: var(--text); }
.section-label.light { color: var(--color-primary); }

/* ─── Scroll-reveal ─── */
.reveal-on-scroll { 
  opacity: 0; 
  transform: translateY(40px) scale(0.95); 
  filter: blur(10px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); 
}
.reveal-on-scroll.revealed { 
  opacity: 1; 
  transform: translateY(0) scale(1); 
  filter: blur(0);
}

/* ─── Animations ─── */
.animate-fade-up { animation: fluidFadeUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
@keyframes fluidFadeUp {
  from { opacity: 0; transform: translateY(40px) scale(0.95); filter: blur(10px); }
  to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

/* ══════════════════════════════════════
   TOP BAR
══════════════════════════════════════ */
.topbar {
  background: rgba(248, 250, 252, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-dim);
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.topbar-left { display: flex; gap: 24px; align-items: center; }
.topbar-right { display: flex; align-items: center; gap: 24px; }
.social-icons { display: flex; gap: 12px; align-items: center; }
.social-icons a { color: var(--text-dim); transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1); display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid transparent; }
.social-icons a:hover { color: var(--color-primary); border-color: rgba(249,115,22,0.15); background: rgba(249,115,22,0.03); transform: scale(1.08); }

/* ══════════════════════════════════════
   HEADER / NAVBAR
══════════════════════════════════════ */
.site-header { position: sticky; top: 0; z-index: 200; transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1); }
.navbar { background: rgba(255, 255, 255, 0.7); border-bottom: 1px solid rgba(15, 23, 42, 0.05); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1); }
.site-header.scrolled .navbar { background: rgba(255, 255, 255, 0.85); box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.08); border-bottom-color: rgba(15, 23, 42, 0.08); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; height: 80px; transition: height 0.35s cubic-bezier(0.16, 1, 0.3, 1); }
.site-header.scrolled .nav-inner { height: 70px; }

/* Logo */
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-icon { flex-shrink: 0; }
.logo-name {
  font-family: 'Outfit', sans-serif;
  font-size: 21px;
  font-weight: 900;
  letter-spacing: 1.2px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark, #ea580c));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-transform: uppercase;
  transition: all 0.3s ease;
}
.logo:hover .logo-name {
  filter: brightness(1.1);
  transform: translateY(-0.5px);
}
.logo-tagline { display: none; }
.logo-text { display: none; }

/* Nav links */
.nav-links { 
  display: flex; 
  align-items: center; 
  gap: 4px; 
  margin: 0 auto; 
  background: rgba(248, 250, 252, 0.75);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 9999px;
  padding: 6px;
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.nav-link { 
  padding: 10px 22px; 
  border-radius: 9999px; 
  font-size: 13.5px; 
  font-weight: 700; 
  color: var(--text-muted); 
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); 
  position: relative; 
  letter-spacing: -0.15px;
  font-family: 'Outfit', sans-serif;
  border: 1px solid transparent;
}
.nav-link:hover { 
  color: var(--color-primary); 
  background: rgba(15, 23, 42, 0.035); 
}
.nav-link.active { 
  color: var(--color-primary); 
  background: #ffffff;
  box-shadow: 0 4px 12px -2px rgba(15, 23, 42, 0.06);
  border-color: rgba(15, 23, 42, 0.04);
}
.nav-cta { flex-shrink: 0; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(15, 23, 42, 0.08);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  z-index: 350;
}
.hamburger:hover {
  background: rgba(15, 23, 42, 0.08);
  transform: scale(1.05);
}
.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 4px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: center;
}
/* When open, morph into a sleek 'X' with special timing */
.hamburger.open {
  background: var(--color-primary);
  border-color: var(--color-primary);
}
.hamburger.open span {
  background: #ffffff;
}
.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scale(0) rotate(90deg);
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 340px;
  max-width: 85%;
  height: 100vh;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-left: 1px solid rgba(15, 23, 42, 0.08);
  z-index: 300;
  padding: 90px 32px 40px;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 24px;
  overflow-y: auto;
  box-shadow: none;
}
.mobile-menu.open {
  right: 0;
  box-shadow: -20px 0 80px rgba(15, 23, 42, 0.15);
}
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 24px;
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
}
.mobile-menu-close:hover {
  border-color: var(--color-primary);
  color: #ffffff;
  background: var(--color-primary);
  transform: rotate(90deg);
}
.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mobile-nav-link {
  display: block;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-muted);
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.2px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateX(30px);
  opacity: 0;
}
.mobile-menu.open .mobile-nav-link {
  transform: translateX(0);
  opacity: 1;
}

/* Staggered delay transitions for menu list items */
.mobile-menu.open .mobile-nav-links li:nth-child(1) a { transition-delay: 0.1s; }
.mobile-menu.open .mobile-nav-links li:nth-child(2) a { transition-delay: 0.15s; }
.mobile-menu.open .mobile-nav-links li:nth-child(3) a { transition-delay: 0.2s; }
.mobile-menu.open .mobile-nav-links li:nth-child(4) a { transition-delay: 0.25s; }
.mobile-menu.open .mobile-nav-links li:nth-child(5) a { transition-delay: 0.3s; }
.mobile-menu.open .mobile-nav-links li:nth-child(6) a { transition-delay: 0.35s; }
.mobile-menu.open .mobile-nav-links li:nth-child(7) a { transition-delay: 0.4s; }

.mobile-nav-link:hover {
  background: rgba(15, 23, 42, 0.04);
  color: var(--color-primary);
  transform: translateX(4px);
}

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.hero { position: relative; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-img { width: 100%; height: 130%; top: -15%; object-fit: cover; position: relative; will-change: transform; }
.hero-overlay { position: absolute; inset: 0; background: var(--hero-overlay, linear-gradient(135deg, rgba(255,255,255,0.88) 0%, rgba(255,255,255,0.75) 60%, rgba(255,255,255,0.6) 100%)); transition: background 0.4s ease; }
.hero-content { position: relative; z-index: 1; padding: 120px 24px 80px; max-width: var(--container-width); margin: 0 auto; width: 100%; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(249,115,22,0.12); border: 1px solid rgba(249,115,22,0.3); border-radius: 100px; padding: 6px 16px; font-size: 13px; color: var(--color-primary); font-weight: 500; margin-bottom: 24px; }
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-primary); flex-shrink: 0; animation: pulseDot 2s infinite; }
@keyframes pulseDot { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.8); } }
.hero-title { font-size: clamp(40px, 6vw, 72px); font-weight: 900; line-height: 1.1; letter-spacing: -1px; margin-bottom: 24px; color: var(--text); }
.hero-highlight { background: linear-gradient(135deg, #f97316, #dc2626); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-desc { font-size: clamp(16px, 2vw, 19px); color: var(--text-muted); max-width: 580px; margin-bottom: 36px; line-height: 1.7; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 64px; }

.hero-stats {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 28px;
  padding: 28px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  width: 100%;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.04), inset 0 1px 2px rgba(255, 255, 255, 0.6);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-stats:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.45);
  border-color: rgba(255, 255, 255, 0.75);
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.08), inset 0 1px 2px rgba(255, 255, 255, 0.8);
}
.stat-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.stat-item:hover {
  transform: translateY(-2px);
}
.stat-number {
  font-size: 34px;
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1;
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.5px;
}
.stat-suffix {
  font-size: 22px;
  font-weight: 900;
  color: var(--color-primary);
  margin-left: 1px;
}
.stat-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  line-height: 1.3;
}
.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(15, 23, 42, 0.08);
  flex-shrink: 0;
  transition: opacity 0.3s ease;
}

@media (max-width: 991px) {
  .hero-stats {
    padding: 20px 16px;
    gap: 12px;
  }
  .stat-number {
    font-size: 28px;
  }
  .stat-suffix {
    font-size: 18px;
  }
  .stat-label {
    font-size: 10px;
  }
}

@media (max-width: 575px) {
  .hero-stats {
    padding: 14px 10px;
    gap: 8px;
  }
  .stat-number {
    font-size: 18px;
  }
  .stat-suffix {
    font-size: 13px;
  }
  .stat-label {
    font-size: 8px;
    letter-spacing: 0.5px;
  }
  .stat-divider {
    height: 32px;
  }
}

.hero-scroll-indicator { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--text-muted); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; z-index: 1; cursor: pointer; transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
.hero-scroll-indicator:hover { color: var(--color-primary); transform: translateX(-50%) scale(1.1); text-shadow: 0 0 12px rgba(249,115,22,0.15); }
.hero-scroll-indicator:hover .scroll-arrow { animation: bounce-fast 0.8s infinite; }
@keyframes bounce-fast { 0%,100% { transform: translateY(0); } 50% { transform: translateY(4px); } }
.scroll-arrow { animation: bounce 2s infinite; }
@keyframes bounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* ══════════════════════════════════════
   TICKER
══════════════════════════════════════ */
.ticker-wrap { background: linear-gradient(135deg, var(--color-primary), var(--color-accent)); overflow: hidden; display: flex; align-items: center; height: 44px; }
.ticker-label { flex-shrink: 0; padding: 0 20px; font-size: 11px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: #fff; border-right: 1px solid rgba(255,255,255,0.3); height: 100%; display: flex; align-items: center; background: rgba(0,0,0,0.15); }
.ticker-content { flex: 1; overflow: hidden; display: flex; }
.ticker-items { display: flex; align-items: center; gap: 48px; animation: ticker 40s linear infinite; white-space: nowrap; font-size: 13px; color: rgba(255,255,255,0.9); font-weight: 500; padding: 0 48px; flex-shrink: 0; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }

/* ══════════════════════════════════════
   SERVICES
══════════════════════════════════════ */
.services { position: relative; overflow: hidden; background: var(--dark); }
.services-bg {
  position: absolute;
  top: -15%;
  left: 0;
  width: 100%;
  height: 130%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  will-change: transform;
}
.services-bg.has-image {
  opacity: 0.18;
}
.services .container {
  position: relative;
  z-index: 1;
}

/* Accordion Container */
.services-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px; /* Slightly tighter gap to frame dividers beautifully */
  width: 100%;
  counter-reset: services-counter; /* Dynamic counter for tech numbers */
}

/* Thin, subtle horizontal divider line between accordion items */
.accordion-divider {
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08) 15%, rgba(255, 255, 255, 0.08) 85%, transparent);
  pointer-events: none;
  margin: 2px 0;
}

/* Accordion Item wrapper */
.accordion-item {
  position: relative;
  background: var(--dark2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, box-shadow;
}

/* Beautiful Vertical Accent Line Indicator */
.accordion-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--color-primary);
  transform: scaleY(0);
  transform-origin: center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
}

.accordion-item.active::before {
  transform: scaleY(1);
}

.accordion-item:hover {
  transform: scale(1.01) translateY(-1px);
  border-color: rgba(249, 115, 22, 0.45);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.3);
}

.accordion-item.active {
  background: linear-gradient(95deg, rgba(249, 115, 22, 0.03) 0%, rgba(20, 20, 23, 0) 100%), var(--dark2);
  border-color: var(--color-primary);
  box-shadow: 0 16px 36px rgba(249, 115, 22, 0.08), inset 0 0 12px rgba(249, 115, 22, 0.02);
}

.accordion-item.active:hover {
  transform: scale(1.004) translateY(0); /* Subtle feedback without shifting the active content frame too much */
}

/* Accordion Header clickable bar */
.accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background 0.3s ease;
}

.accordion-header:hover {
  background: rgba(255, 255, 255, 0.015);
}

/* Accordion trigger left elements */
.accordion-trigger-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.accordion-header-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.accordion-header:hover .accordion-header-icon {
  transform: scale(1.06) rotate(4deg);
  border-color: rgba(249, 115, 22, 0.3);
  background: rgba(249, 115, 22, 0.06);
  color: var(--color-primary);
  box-shadow: 0 0 12px rgba(249, 115, 22, 0.15);
}

.accordion-item.active .accordion-header-icon {
  background: rgba(249, 115, 22, 0.12);
  border-color: var(--color-primary);
  color: var(--color-primary);
  box-shadow: 
    0 0 15px rgba(249, 115, 22, 0.4), 
    0 0 30px rgba(249, 115, 22, 0.15),
    inset 0 0 8px rgba(249, 115, 22, 0.2);
  filter: drop-shadow(0 0 4px rgba(249, 115, 22, 0.25));
}

.accordion-header-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin: 0;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
}

/* Industrial CSS counter number index tag */
.accordion-header-title::before {
  counter-increment: services-counter;
  content: "[" "0" counter(services-counter) "]";
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary);
  margin-right: 14px;
  letter-spacing: 0.5px;
  opacity: 0.5;
  transition: all 0.3s ease;
}

.accordion-item.active .accordion-header-title::before {
  opacity: 1;
  text-shadow: 0 0 8px rgba(249, 115, 22, 0.4);
}

.accordion-item.active .accordion-header-title {
  color: var(--color-primary);
}

/* Chevron indicator */
.accordion-chevron {
  width: 24px;
  height: 24px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s;
}

.accordion-item.active .accordion-chevron {
  transform: rotate(180deg);
  color: var(--color-primary);
}

/* Modern CSS grid height transition pattern with custom fluid ease-in-out timing */
.accordion-collapse {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s cubic-bezier(0.65, 0, 0.35, 1);
  overflow: hidden;
}

.accordion-item.active .accordion-collapse {
  grid-template-rows: 1fr;
}

.accordion-content {
  min-height: 0;
  transition: visibility 0.5s;
  visibility: hidden;
}

.accordion-item.active .accordion-content {
  visibility: visible;
}

/* Inner showcase layout adaptation */
.accordion-inner-body {
  padding: 0 32px 32px 32px;
}

.accordion-inner-body .service-showcase {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  align-items: center;
  box-shadow: none;
}

@media (max-width: 991px) {
  .accordion-inner-body .service-showcase {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .accordion-header {
    padding: 16px 20px;
  }
  .accordion-trigger-left {
    gap: 12px;
  }
  .accordion-header-icon {
    width: 36px;
    height: 36px;
  }
  .accordion-header-title {
    font-size: 15px;
  }
  .accordion-inner-body {
    padding: 0 20px 20px 20px;
  }
  /* Optimizing spacing and typography inside expanded panels on smaller screens */
  .service-showcase-content h3 {
    font-size: 20px;
    margin-bottom: 6px;
  }
  .service-showcase-content p {
    font-size: 13.5px;
    line-height: 1.6;
    margin-bottom: 16px;
  }
  .service-showcase-list-wrap {
    padding: 14px 16px;
    margin-bottom: 20px;
  }
  .service-showcase-list-wrap h4 {
    font-size: 11px;
    margin-bottom: 8px;
  }
  .service-list li {
    font-size: 12.5px;
    line-height: 1.5;
  }
}

/* Desktop Vertical Accordion Styles and Adjustments */
@media (min-width: 992px) {
  /* Enhance the vertical accordion inner spacing slightly on larger screens */
  .accordion-inner-body {
    padding: 0 40px 40px 40px;
  }
}

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

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

/* Two-column layout: media showcase on left, core details on right */
.service-showcase {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  align-items: center;
}

@media (max-width: 991px) {
  .service-showcase {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 32px;
  }
}

/* Image/Video frame inside the showcase with dynamic scaling hover and subtle overlay */
.service-showcase-img-wrap {
  position: relative;
  height: 380px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
  /* Initial state: translated slightly left and transparent */
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.accordion-item.active .service-showcase-img-wrap {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.1s;
}

/* High-tech inner framing borders decoration */
.service-showcase-img-wrap::after {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  pointer-events: none;
  transition: all 0.4s ease;
  z-index: 4;
}

.accordion-item.active .service-showcase-img-wrap::after {
  border-color: rgba(249, 115, 22, 0.3);
}

@media (max-width: 768px) {
  .service-showcase-img-wrap {
    height: 240px;
  }
}

.service-showcase-img-wrap img, 
.service-showcase-img-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-showcase:hover .service-showcase-img-wrap img,
.service-showcase:hover .service-showcase-img-wrap video {
  transform: scale(1.04);
}

.service-showcase-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--color-primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 100px;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  text-transform: uppercase;
  z-index: 5;
}

/* Info container block details styling */
.service-showcase-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* Initial state: translated slightly right and transparent */
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.accordion-item.active .service-showcase-content {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.16s;
}

.service-showcase-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.service-showcase-icon {
  width: 56px;
  height: 56px;
  background: rgba(249, 115, 22, 0.1);
  border: 1px solid rgba(249, 115, 22, 0.2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  flex-shrink: 0;
}

.service-showcase-content h3 {
  font-size: 26px;
  font-weight: 800;
  color: var(--text);
  margin: 0;
  line-height: 1.2;
}

.service-showcase-content p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.service-showcase-list-wrap {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin-bottom: 28px;
}

.service-showcase-list-wrap h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-primary);
  margin-bottom: 12px;
  font-weight: 700;
}

.service-showcase-content .service-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 0;
  list-style: none;
}

@media (max-width: 576px) {
  .service-showcase-content .service-list {
    grid-template-columns: 1fr;
  }
}

.service-list li {
  font-size: 13px;
  color: var(--text-dim);
  padding-left: 20px;
  position: relative;
}

.service-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  top: 1px;
  font-size: 11px;
  font-weight: 700;
  color: var(--color-primary);
  opacity: 0.9;
  text-shadow: 0 0 4px rgba(249, 115, 22, 0.4);
}

.service-showcase-content .btn {
  align-self: flex-start;
}

/* ══════════════════════════════════════
   ABOUT
══════════════════════════════════════ */
.about { background: var(--dark2); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-image-wrap { position: relative; }
.about-img { width: 100%; border-radius: var(--radius); object-fit: cover; aspect-ratio: 1/1; }
.about-badge-card { position: absolute; bottom: -20px; left: -20px; background: var(--dark); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 20px; display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow); }
.about-badge-icon { font-size: 28px; }
.about-badge-card strong { display: block; font-size: 14px; font-weight: 700; }
.about-badge-card span { font-size: 12px; color: var(--text-muted); }
.about-experience-tag { position: absolute; top: -20px; right: -20px; background: linear-gradient(135deg, var(--color-primary), var(--color-accent)); border-radius: var(--radius); padding: 20px 24px; text-align: center; box-shadow: 0 8px 24px rgba(249,115,22,0.3); }
.exp-number { display: block; font-size: 36px; font-weight: 900; color: #fff; line-height: 1; }
.exp-text { font-size: 12px; color: rgba(255,255,255,0.8); }
.about-desc { font-size: 16px; color: var(--text-muted); margin-bottom: 16px; line-height: 1.75; }
.about-features { display: flex; flex-direction: column; gap: 16px; margin: 28px 0 36px; }
.about-feature { display: flex; gap: 14px; align-items: flex-start; }
.feature-check { width: 26px; height: 26px; border-radius: 50%; background: rgba(249,115,22,0.12); color: var(--color-primary); font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.about-feature strong { display: block; font-size: 15px; font-weight: 600; margin-bottom: 2px; }
.about-feature p { font-size: 13px; color: var(--text-muted); }

/* ══════════════════════════════════════
   PRODUCTS / TABS
══════════════════════════════════════ */
.products { background: var(--dark); }
.products-tabs { display: flex; gap: 8px; margin-bottom: 36px; flex-wrap: wrap; justify-content: center; }
.tab-btn { padding: 10px 24px; border-radius: 100px; font-size: 14px; font-weight: 600; background: var(--surface); border: 1px solid var(--border); color: var(--text-muted); cursor: pointer; transition: all 0.25s; }
.tab-btn:hover { border-color: var(--color-primary); color: var(--text); }
.tab-btn.active { background: var(--color-primary); border-color: var(--color-primary); color: #fff; box-shadow: 0 4px 16px rgba(249,115,22,0.3); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeIn 0.35s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.product-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.product-card { 
  background: var(--dark2); 
  border: 1px solid var(--border); 
  border-radius: 50%; 
  aspect-ratio: 1 / 1; 
  display: flex; 
  flex-direction: column; 
  justify-content: center; 
  align-items: center; 
  padding: 28px; 
  text-align: center; 
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); 
  cursor: pointer; 
  overflow: hidden; 
  position: relative;
  box-shadow: inset 0 0 0 1px transparent;
}
.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249,115,22,0.03) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.product-card:hover { 
  border-color: var(--color-primary); 
  transform: translateY(-4px) scale(1.03); 
  box-shadow: 0 15px 35px -5px rgba(249,115,22,0.12), inset 0 0 0 1px rgba(249,115,22,0.1); 
}
.product-card:hover::before {
  opacity: 1;
}
.product-icon { 
  font-size: 34px; 
  margin-bottom: 12px; 
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.05));
}
.product-card:hover .product-icon {
  transform: scale(1.1) translateY(-2px);
}
.product-card h4 { 
  font-size: 13.5px; 
  font-weight: 700; 
  color: var(--text);
  margin-bottom: 6px; 
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.2px;
  line-height: 1.25;
}
.product-card p { 
  font-size: 11px; 
  color: var(--text-dim); 
  line-height: 1.4; 
  max-width: 90%;
  margin: 0 auto;
}

/* ══════════════════════════════════════
   WHY US
══════════════════════════════════════ */
.why-us { position: relative; overflow: hidden; background: var(--dark2); }
.why-us-bg { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 0%, rgba(249,115,22,0.06) 0%, transparent 60%); pointer-events: none; }
.why-grid { 
  display: grid; 
  grid-template-columns: repeat(3, 1fr); 
  gap: 24px; 
  position: relative; 
  z-index: 1; 
}
.why-card { background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px 28px; transition: all 0.3s; }
.why-card:hover { border-color: var(--color-primary); background: rgba(249,115,22,0.04); transform: translateY(-4px); }
.why-icon { width: 56px; height: 56px; background: rgba(249,115,22,0.1); border: 1px solid rgba(249,115,22,0.2); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; color: var(--color-primary); margin-bottom: 20px; }
.why-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.why-card p { font-size: 14px; color: var(--text-muted); line-height: 1.65; }

/* ══════════════════════════════════════
   PROCESS
══════════════════════════════════════ */
.process { background: var(--dark); }
.process-header {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 72px;
}
.process-badge-wrapper {
  display: flex;
  justify-content: flex-start;
}
.process-badge-pill {
  background: #fbbf24;
  color: #000000;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  padding: 10px 24px;
  border-radius: 9999px;
  display: inline-block;
  box-shadow: 0 4px 14px rgba(251, 191, 36, 0.2);
  font-family: 'Outfit', sans-serif;
}
.process-header-desc {
  font-size: 19px;
  font-weight: 500;
  line-height: 1.65;
  color: var(--text-muted);
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.2px;
}
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--surface, #ffffff);
  border: 1px solid var(--border);
  border-radius: 40px; /* Highly curved box as requested */
  padding: 16px 48px;
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.04);
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle at top right, rgba(251, 191, 36, 0.04), transparent 70%);
  border-radius: 0 40px 0 100%;
  pointer-events: none;
}
.process-steps::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle at bottom left, rgba(251, 191, 36, 0.02), transparent 70%);
  border-radius: 100% 0 40px 0;
  pointer-events: none;
}
.process-step {
  display: grid;
  grid-template-columns: 180px 380px 1fr;
  gap: 40px;
  align-items: start;
  padding: 40px 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  background: transparent;
}
.process-step:last-child {
  border-bottom: none;
}
.process-step:hover {
  background: rgba(251, 191, 36, 0.015);
  padding-left: 12px;
  padding-right: 12px;
  border-radius: 16px;
}
.step-num-col {
  display: flex;
  flex-direction: column;
  position: relative;
}
.step-huge-num {
  font-size: 64px;
  font-weight: 800;
  color: #fbbf24;
  font-family: 'Outfit', sans-serif;
  line-height: 1;
  letter-spacing: -2px;
  display: inline-block;
  position: relative;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
/* The curved accent below the huge step number */
.step-curve {
  width: 24px;
  height: 24px;
  border-left: 2px solid #fbbf24;
  border-bottom: 2px solid #fbbf24;
  border-bottom-left-radius: 12px;
  margin-top: 12px;
  opacity: 0.8;
  position: relative;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
/* A small tech glow indicator at the end of the curve */
.step-curve::after {
  content: '';
  position: absolute;
  bottom: -3px;
  right: -3px;
  width: 6px;
  height: 6px;
  background: #fbbf24;
  border-radius: 50%;
  box-shadow: 0 0 8px #fbbf24;
}

/* Hover dynamic adjustments */
.process-step:hover .step-curve {
  transform: scale(1.15) rotate(5deg);
  border-color: #fbbf24;
  opacity: 1;
  box-shadow: -2px 2px 8px rgba(251, 191, 36, 0.15);
}
.process-step:hover .step-huge-num {
  transform: translateY(-4px) scale(1.05);
  color: #f59e0b;
}

.step-title-col {
  display: flex;
  align-items: flex-start;
}
.step-row-title {
  font-size: 21px;
  font-weight: 800;
  color: var(--text);
  font-family: 'Outfit', sans-serif;
  line-height: 1.3;
  letter-spacing: -0.5px;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.process-step:hover .step-row-title {
  color: var(--color-primary);
}
.step-desc-col {
  display: flex;
}
.step-row-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  font-weight: 400;
}
.process-arrow { display: none; }

/* --- Staggered Scroll-reveal animations for process section --- */
.process-step .step-huge-num {
  opacity: 0;
  transform: translateY(24px) scale(0.9);
}
.process-step .step-curve {
  opacity: 0;
  transform: scale(0.5) rotate(-20deg);
}
.process-step .step-row-title {
  opacity: 0;
  transform: translateX(-24px);
}
.process-step .step-row-desc {
  opacity: 0;
  transform: translateY(16px);
}

.process-step.revealed .step-huge-num {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.process-step.revealed .step-curve {
  opacity: 0.8;
  transform: scale(1) rotate(0deg);
}
.process-step.revealed .step-row-title {
  opacity: 1;
  transform: translateX(0);
}
.process-step.revealed .step-row-desc {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════════════
   CONTACT
══════════════════════════════════════ */
.contact { background: var(--dark2); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; align-items: start; }
.contact-desc { font-size: 16px; color: var(--text-muted); margin-bottom: 32px; line-height: 1.7; }
.contact-details { display: flex; flex-direction: column; gap: 18px; margin-bottom: 32px; }
.contact-detail-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-detail-icon { font-size: 22px; width: 44px; height: 44px; background: rgba(249,115,22,0.1); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-detail-item strong { display: block; font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.contact-detail-item a, .contact-detail-item span { font-size: 14px; color: var(--text-muted); }
.contact-detail-item a:hover { color: var(--color-primary); }
.contact-social { display: flex; gap: 12px; }
.contact-social-btn { width: 42px; height: 42px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; color: var(--text-muted); transition: all 0.2s; }
.contact-social-btn:hover { border-color: var(--color-primary); color: var(--color-primary); background: rgba(249,115,22,0.08); }

/* Contact Form & Floating Menu Styles with Curves */
.quote-section-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}
.quote-menu-wrapper {
  display: flex;
  justify-content: flex-start;
  overflow-x: auto;
  scrollbar-width: none; /* Hide scrollbar for standard browsers */
  position: relative;
  z-index: 5;
  padding: 4px;
  margin-bottom: -6px;
}
.quote-menu-wrapper::-webkit-scrollbar {
  display: none; /* Hide scrollbar for Webkit */
}
.quote-menu {
  display: flex;
  background: rgba(248, 250, 252, 0.85);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 9999px;
  padding: 6px;
  box-shadow: 0 10px 25px -8px rgba(15, 23, 42, 0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  gap: 4px;
}
.quote-menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 9999px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-dim);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  letter-spacing: -0.15px;
  font-family: 'Outfit', sans-serif;
  border: 1px solid transparent;
  white-space: nowrap;
  background: transparent;
}
.quote-menu-btn .btn-indicator {
  width: 6px;
  height: 6px;
  background: var(--text-dim);
  border-radius: 50%;
  opacity: 0.4;
  transition: all 0.4s ease;
}
.quote-menu-btn:hover {
  color: var(--color-primary);
  background: rgba(15, 23, 42, 0.035);
}
.quote-menu-btn:hover .btn-indicator {
  background: var(--color-primary);
  opacity: 0.8;
  transform: scale(1.3);
}
.quote-menu-btn.active {
  color: var(--color-primary);
  background: #ffffff;
  box-shadow: 0 4px 12px -2px rgba(15, 23, 42, 0.06);
  border-color: rgba(15, 23, 42, 0.04);
}
.quote-menu-btn.active .btn-indicator {
  background: var(--color-primary);
  opacity: 1;
  transform: scale(1.4);
  box-shadow: 0 0 6px var(--color-primary);
}

.contact-form-wrap {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 40px; /* Highly curved box as requested */
  padding: 48px;
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.04);
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Background Curve accents inside the box where content appeared */
.contact-form-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle at top right, rgba(249, 115, 22, 0.04), transparent 70%);
  border-radius: 0 40px 0 100%;
  pointer-events: none;
}
.contact-form-wrap::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle at bottom left, rgba(220, 38, 38, 0.02), transparent 70%);
  border-radius: 100% 0 40px 0;
  pointer-events: none;
}

/* Physical curved SVG overlay or divider inside the box */
.quote-box-curve-element {
  position: absolute;
  top: 24px;
  right: 24px;
  opacity: 0.6;
  pointer-events: none;
}
.form-header-wrap {
  margin-bottom: 24px;
}
.form-subtitle-service {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 4px;
  font-family: 'Outfit', sans-serif;
}
.highlight-service {
  color: var(--color-primary);
  font-weight: 700;
  background: rgba(249, 115, 22, 0.08);
  padding: 2px 10px;
  border-radius: 100px;
  display: inline-block;
  margin-left: 4px;
}

/* Curved divider line between header and form fields */
.curved-divider-line {
  margin-bottom: 32px;
  opacity: 0.8;
}
.divider-svg {
  width: 100%;
  max-width: 400px;
  height: 8px;
}

/* Smooth Transition of content on switching tabs */
.contact-form .form-row, 
.contact-form .form-group, 
.contact-form button, 
.contact-form .form-note,
.form-header-wrap {
  animation: quoteContentAppear 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes quoteContentAppear {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.form-title { font-size: 22px; font-weight: 700; margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; font-weight: 500; color: var(--text-muted); margin-bottom: 8px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; background: var(--dark2); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 12px 16px; color: var(--text); font-size: 15px; outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(249,115,22,0.1);
}
.form-group select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748b' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }
.form-group select option { background: #1a1d27; }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 12px; color: var(--text-dim); text-align: center; margin-top: 12px; }
.btn-icon { display: inline-flex; align-items: center; gap: 8px; }
.form-success { text-align: center; padding: 40px 20px; }
.success-icon { font-size: 48px; margin-bottom: 16px; }
.form-success h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.form-success p { color: var(--text-muted); }

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.footer {
  background: #f8fafc; /* Beautiful soft off-white background as shown in image */
  padding: 80px 0 40px;
}

.footer-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 60px 50px 40px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.03);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-brand-logo-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.footer-logo-box {
  width: 54px;
  height: 54px;
  background: #f97316; /* Orange background as in the image */
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo-letter {
  color: #ffffff;
  font-size: 28px;
  font-weight: 800;
  font-family: var(--font-sans), sans-serif;
  line-height: 1;
}

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

.footer-logo-text .company-name {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #0f172a;
  line-height: 1.1;
}

.footer-logo-text .logo-subtitle {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #64748b;
  text-transform: uppercase;
  margin-top: 2px;
}

.footer-brand-desc {
  font-size: 14.5px;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 32px;
  font-weight: 400;
  max-width: 340px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social-btn {
  width: 44px;
  height: 44px;
  border: 1.5px solid #e2e8f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  transition: all 0.25s ease;
  background: transparent;
}

.footer-social-btn:hover {
  border-color: #f97316;
  color: #f97316;
  background: rgba(249, 115, 22, 0.05);
  transform: translateY(-2px);
}

.footer-links-title {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #0f172a;
  text-transform: uppercase;
  margin-bottom: 24px;
  border-left: 3px solid #f97316; /* The orange pipe in the image */
  padding-left: 12px;
  line-height: 1.2;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-links a {
  font-size: 14.5px;
  color: #475569;
  transition: all 0.2s ease;
  font-weight: 500;
}

.footer-links a:hover {
  color: #f97316;
  padding-left: 4px;
}

.footer-hq-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hq-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #0f172a;
}

.hq-address {
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
}

.hq-contact {
  font-size: 14px;
  color: #475569;
}

.hq-contact strong {
  color: #0f172a;
}

.hq-contact a {
  color: #475569;
  transition: color 0.2s;
  font-weight: 500;
}

.hq-contact a:hover {
  color: #f97316;
}

.footer-bottom {
  border-top: 1px solid #f1f5f9;
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-copyright-text {
  font-size: 13.5px;
  color: #64748b;
  font-weight: 400;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-bottom-links a {
  font-size: 13.5px;
  color: #64748b;
  font-weight: 500;
  transition: color 0.2s;
}

.footer-bottom-links a:hover {
  color: #f97316;
}

.footer-dot {
  color: #cbd5e1;
  font-size: 12px;
}

/* ══════════════════════════════════════
   FLOAT BUTTONS
══════════════════════════════════════ */
.whatsapp-float {
  position: fixed; bottom: 88px; right: 24px; z-index: 500;
  width: 56px; height: 56px; background: #25d366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform 0.3s, box-shadow 0.3s;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 8px 28px rgba(37,211,102,0.5); }
.whatsapp-tooltip {
  position: absolute; right: 64px; background: var(--dark2); color: var(--text);
  font-size: 12px; white-space: nowrap; padding: 6px 12px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); opacity: 0; pointer-events: none;
  transition: opacity 0.2s; box-shadow: var(--shadow);
}
.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; }

.tracking-float {
  position: fixed; bottom: 24px; left: 24px; z-index: 500;
  height: 48px; padding: 0 20px; background: #ffffff; border: 2px solid var(--color-primary);
  border-radius: 24px; display: flex; align-items: center; justify-content: center; gap: 8px;
  color: var(--color-primary); font-size: 13px; font-weight: 700; box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s, color 0.3s;
  cursor: pointer;
}
.tracking-float:hover {
  transform: translateY(-2px);
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 8px 24px rgba(249,115,22,0.3);
}

.back-to-top {
  position: fixed; bottom: 24px; right: 24px; z-index: 500;
  width: 44px; height: 44px; background: var(--dark2); border: 1px solid var(--border);
  border-radius: 50%; color: var(--text-muted); display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: all 0.3s; cursor: pointer;
  box-shadow: var(--shadow);
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { border-color: var(--color-primary); color: var(--color-primary); transform: translateY(-2px); }

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1200px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  
  .about-content { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-experience-tag { top: -10px; right: -10px; }
  .about-badge-card { left: -10px; bottom: -10px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .process-header { grid-template-columns: 1fr; gap: 20px; margin-bottom: 48px; }
  .process-steps { padding: 16px 32px; border-radius: 32px; }
  .process-step { grid-template-columns: 1fr; gap: 16px; padding: 32px 0; }
}
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .process-steps { padding: 12px 20px; border-radius: 24px; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .footer-top-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-card { padding: 40px 24px 30px; border-radius: 20px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-bottom-links { flex-wrap: wrap; gap: 10px 16px; }
  .footer-dot { display: none; }
  .footer-brand-desc { max-width: 100%; }
  .topbar-left { display: none; }
  .topbar-right { margin: 0 auto; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap {
    padding: 32px 20px;
    border-radius: 24px;
  }
  .quote-menu-wrapper {
    justify-content: center;
    width: 100%;
    margin-bottom: 8px;
  }
  .quote-menu {
    display: flex;
    flex-wrap: wrap;
    border-radius: 16px;
    padding: 6px;
    gap: 6px;
    justify-content: center;
    width: 100%;
    background: rgba(248, 250, 252, 0.9);
  }
  .quote-menu-btn {
    padding: 10px 12px;
    font-size: 12.5px;
    border-radius: 10px;
    flex: 1 1 calc(50% - 6px);
    text-align: center;
    justify-content: center;
    min-width: 120px;
  }
  .tracking-float {
    bottom: 20px;
    left: 20px;
    height: 48px;
    width: 48px;
    padding: 0;
    border-radius: 50%;
  }
  .tracking-float span {
    display: none;
  }
  .tracking-float svg {
    margin-right: 0 !important;
  }
}
@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn-lg { text-align: center; justify-content: center; }
  .quote-menu-btn {
    flex: 1 1 100%;
  }
}

.page-transition {
  animation: fluidFadeUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; filter: blur(0px);
  opacity: 0;
  transform: translateY(20px);
}

/* ══════════════════════════════════════
   CUSTOM CHATBOT
══════════════════════════════════════ */
.chatbot-container {
  position: fixed;
  bottom: 100px;
  right: 24px;
  width: 320px;
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  z-index: 501;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: translateY(20px);
  opacity: 0;
  animation: fluidFadeUp 0.4s forwards cubic-bezier(0.2, 0.8, 0.2, 1);
}
.chatbot-header {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  color: #fff;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.chatbot-header h4 { font-size: 16px; font-weight: 600; margin: 0; }
.chatbot-close { color: #fff; font-size: 24px; line-height: 1; cursor: pointer; transition: opacity 0.2s; }
.chatbot-close:hover { opacity: 0.8; }
.chatbot-body { padding: 20px; }
.chatbot-greeting { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; line-height: 1.5; }
#chatbot-form { display: flex; flex-direction: column; gap: 12px; }
#chatbot-form input {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}
#chatbot-form input:focus { border-color: var(--color-primary); }
.custom-chat-float { background: var(--color-primary); }
.custom-chat-float:hover { box-shadow: 0 8px 28px rgba(249,115,22,0.5); }

/* ══════════════════════════════════════
   HERO ADAPTIVE OVERLAYS & SLIDERS
   ══════════════════════════════════════ */
.hero.hero-dark-overlay .hero-title {
  color: #ffffff;
}
.hero.hero-dark-overlay .hero-desc {
  color: #f1f5f9;
}
.hero.hero-dark-overlay .stat-label {
  color: #94a3b8;
}
.hero.hero-dark-overlay .stat-icon-wrapper {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: #fb923c;
}
.hero.hero-dark-overlay .stat-item:hover .stat-icon-wrapper {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}
.hero.hero-dark-overlay .hero-scroll-indicator {
  color: #cbd5e1;
}
.hero.hero-dark-overlay .hero-stats {
  background: rgba(15, 23, 42, 0.45);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.08);
}
.hero.hero-dark-overlay .hero-stats:hover {
  background: rgba(15, 23, 42, 0.55);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.12);
}
.hero.hero-dark-overlay .stat-item:hover {
  background: rgba(255, 255, 255, 0.08);
}
.hero.hero-dark-overlay .stat-divider {
  background: rgba(255, 255, 255, 0.12);
}
.hero.hero-dark-overlay .hero-badge {
  background: rgba(249, 115, 22, 0.2);
  border-color: rgba(249, 115, 22, 0.4);
  color: #ff9d5c;
}

/* ══════════════════════════════════════
   PREMIUM PRELOADER ANIMATIONS
   ══════════════════════════════════════ */
@keyframes preloader-pulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 2px rgba(249, 115, 22, 0.1)); opacity: 0.95; }
  50% { transform: scale(1.05); filter: drop-shadow(0 0 20px rgba(249, 115, 22, 0.35)); opacity: 1; }
}
@keyframes preloader-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
@keyframes preloader-glow {
  0%, 100% { filter: drop-shadow(0 0 8px rgba(249, 115, 22, 0.25)); opacity: 0.85; }
  50% { filter: drop-shadow(0 0 30px rgba(249, 115, 22, 0.75)); opacity: 1; }
}
@keyframes preloader-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes spin-circle {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.anim-pulse-slow {
  animation: preloader-pulse 2s infinite ease-in-out !important;
}
.anim-spin-slow {
  animation: preloader-pulse 2s infinite ease-in-out !important;
}
.anim-spin-slow svg {
  animation: preloader-spin 4s infinite linear !important;
}
.anim-glow-pulse {
  animation: preloader-glow 1.5s infinite ease-in-out !important;
}
.anim-bounce {
  animation: preloader-bounce 1s infinite ease-in-out !important;
}

/* ─── Premium Modern Black Preloader Styles ─── */
.preloader-overlay {
  position: fixed;
  inset: 0;
  background: #000000;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}
.preloader-overlay.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}
.preloader-logo-wrap {
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.preloader-logo-wrap img, .preloader-logo-wrap svg {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.preloader-indicator-container {
  width: 180px;
  height: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
}
/* Linear Bar Indicator */
.preloader-bar {
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}
.preloader-bar-fill {
  height: 100%;
  width: 40%;
  background: linear-gradient(90deg, var(--color-primary, #F97316), var(--color-accent, #DC2626));
  border-radius: 10px;
  position: absolute;
  left: -40%;
  animation: preloader-loading-bar 1.5s infinite ease-in-out;
}
@keyframes preloader-loading-bar {
  0% { left: -40%; }
  100% { left: 100%; }
}

/* Circular Spinner Ring */
.preloader-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(255, 255, 255, 0.08);
  border-top-color: var(--color-primary, #F97316);
  border-radius: 50%;
  animation: spin-circle 1s infinite linear;
}

/* Animations for Preloader Logos */
.preloader-logo-pulse {
  animation: preloader-pulse 2s infinite ease-in-out !important;
}
.preloader-logo-spin {
  animation: preloader-spin 8s infinite linear !important;
}
.preloader-logo-glow {
  animation: preloader-glow 1.5s infinite ease-in-out !important;
}
.preloader-logo-bounce {
  animation: preloader-bounce 1s infinite ease-in-out !important;
}
@keyframes preloader-flip {
  0% { transform: perspective(400px) rotateY(0deg); }
  50% { transform: perspective(400px) rotateY(180deg); }
  100% { transform: perspective(400px) rotateY(360deg); }
}
.preloader-logo-flip {
  animation: preloader-flip 2.2s infinite ease-in-out !important;
  transform-style: preserve-3d;
}

/* White background themes for preloader overlay */
.preloader-overlay.theme-white {
  background: #ffffff !important;
}
.preloader-overlay.theme-white .preloader-bar {
  background: rgba(15, 23, 42, 0.06) !important;
}
.preloader-overlay.theme-white .preloader-spinner {
  border: 3px solid rgba(15, 23, 42, 0.06) !important;
  border-top-color: var(--color-primary, #F97316) !important;
}

/* ─── Service-based Background Floating Decorative Animations ─── */
.site-bg-decorations {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.floating-decor {
  position: absolute;
  color: rgba(249, 115, 22, 0.025);
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
  pointer-events: none;
  user-select: none;
}
.floating-decor.gear-1 {
  top: 15%;
  left: -40px;
  width: 180px;
  height: 180px;
  animation: bg-spin 60s infinite linear;
}
.floating-decor.gear-2 {
  bottom: 25%;
  right: -50px;
  width: 220px;
  height: 220px;
  animation: bg-spin-reverse 80s infinite linear;
}
.floating-decor.hex-1 {
  top: 45%;
  left: 6%;
  width: 70px;
  height: 70px;
  animation: bg-drift 25s infinite ease-in-out;
}
.floating-decor.hex-2 {
  top: 75%;
  right: 8%;
  width: 110px;
  height: 110px;
  animation: bg-drift-reverse 30s infinite ease-in-out;
}

@keyframes bg-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
@keyframes bg-spin-reverse {
  0% { transform: rotate(360deg); }
  100% { transform: rotate(0deg); }
}
@keyframes bg-drift {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-35px) rotate(15deg); }
}
@keyframes bg-drift-reverse {
  0%, 100% { transform: translateY(0) rotate(45deg); }
  50% { transform: translateY(35px) rotate(20deg); }
}

/* ─── Premium Glassmorphism Overrides ─── */
body.glass-sections {
  /* Dynamic backdrop shadows */
}

/* Glass Light Theme Sections: Frost White Translucent */
body.glass-sections .service-card.glass-light,
body.glass-sections .why-card.glass-light,
body.glass-sections .product-card.glass-light,
body.glass-sections .process-step.glass-light,
body.glass-sections .hero-stats.glass-light,
body.glass-sections .about-badge-card.glass-light,
body.glass-sections .contact-form-wrap.glass-light {
  background: rgba(255, 255, 255, 0.42) !important;
  backdrop-filter: blur(24px) saturate(190%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(190%) !important;
  border: 1px solid rgba(255, 255, 255, 0.55) !important;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04), inset 0 1px 2px rgba(255, 255, 255, 0.6) !important;
}

body.glass-sections .service-card.glass-light:hover,
body.glass-sections .why-card.glass-light:hover,
body.glass-sections .product-card.glass-light:hover,
body.glass-sections .process-step.glass-light:hover,
body.glass-sections .hero-stats.glass-light:hover,
body.glass-sections .about-badge-card.glass-light:hover,
body.glass-sections .contact-form-wrap.glass-light:hover {
  background: rgba(255, 255, 255, 0.55) !important;
  border-color: rgba(255, 255, 255, 0.75) !important;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08), inset 0 1px 2px rgba(255, 255, 255, 0.8) !important;
}

/* Glass Dark Theme Sections: Dark Obsidian Translucent */
body.glass-sections .service-card.glass-dark,
body.glass-sections .why-card.glass-dark,
body.glass-sections .product-card.glass-dark,
body.glass-sections .process-step.glass-dark,
body.glass-sections .hero-stats.glass-dark,
body.glass-sections .about-badge-card.glass-dark,
body.glass-sections .contact-form-wrap.glass-dark {
  background: rgba(15, 23, 42, 0.42) !important;
  backdrop-filter: blur(24px) saturate(190%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(190%) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.05) !important;
}

body.glass-sections .service-card.glass-dark:hover,
body.glass-sections .why-card.glass-dark:hover,
body.glass-sections .product-card.glass-dark:hover,
body.glass-sections .process-step.glass-dark:hover,
body.glass-sections .hero-stats.glass-dark:hover,
body.glass-sections .about-badge-card.glass-dark:hover,
body.glass-sections .contact-form-wrap.glass-dark:hover {
  background: rgba(15, 23, 42, 0.55) !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.1) !important;
}

/* Also map glass classes to .accordion-item for services */
body.glass-sections .accordion-item.glass-light {
  background: rgba(255, 255, 255, 0.42) !important;
  backdrop-filter: blur(24px) saturate(190%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(190%) !important;
  border: 1px solid rgba(255, 255, 255, 0.55) !important;
}
body.glass-sections .accordion-item.glass-light:hover {
  background: rgba(255, 255, 255, 0.55) !important;
  border-color: rgba(255, 255, 255, 0.75) !important;
}
body.glass-sections .accordion-item.glass-dark {
  background: rgba(15, 23, 42, 0.42) !important;
  backdrop-filter: blur(24px) saturate(190%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(190%) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}
body.glass-sections .accordion-item.glass-dark:hover {
  background: rgba(15, 23, 42, 0.55) !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
}

/* ─── High-Contrast Contrast Protection for Dynamic Theme Contexts ─── */

/* 1. SERVICES (What We Offer) */
.theme-dark .accordion-item {
  background: rgba(255, 255, 255, 0.03) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}
.theme-dark .accordion-item.active {
  background: linear-gradient(95deg, rgba(249, 115, 22, 0.04) 0%, rgba(20, 20, 23, 0) 100%), rgba(255, 255, 255, 0.05) !important;
  border-color: var(--color-primary) !important;
}
.theme-dark .accordion-header:hover {
  background: rgba(255, 255, 255, 0.015) !important;
}
.theme-dark .accordion-header-icon {
  background: rgba(255, 255, 255, 0.02) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  color: rgba(255, 255, 255, 0.6) !important;
}
.theme-dark .accordion-item.active .accordion-header-icon {
  background: rgba(249, 115, 22, 0.12) !important;
  border-color: var(--color-primary) !important;
  color: var(--color-primary) !important;
}
.theme-dark .accordion-header-title {
  color: rgba(255, 255, 255, 0.95) !important;
}
.theme-dark .accordion-item.active .accordion-header-title {
  color: var(--color-primary) !important;
}
.theme-dark .accordion-chevron {
  color: rgba(255, 255, 255, 0.4) !important;
}
.theme-dark .accordion-item.active .accordion-chevron {
  color: var(--color-primary) !important;
}
.theme-dark .service-showcase-content h3 {
  color: #ffffff !important;
}
.theme-dark .service-showcase-content p {
  color: rgba(255, 255, 255, 0.7) !important;
}
.theme-dark .service-showcase-list-wrap {
  background: rgba(255, 255, 255, 0.02) !important;
  border-color: rgba(255, 255, 255, 0.06) !important;
}
.theme-dark .service-list li {
  color: rgba(255, 255, 255, 0.8) !important;
}
.theme-dark .service-list li svg {
  color: var(--color-primary) !important;
}

/* 2. PROCESS (How It Works) */
.theme-dark .process-steps {
  background: rgba(15, 23, 42, 0.45) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.3) !important;
}
.theme-dark .process-step {
  border-color: rgba(255, 255, 255, 0.05) !important;
}
.theme-dark .process-step-num {
  background: rgba(255, 255, 255, 0.03) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}
.theme-dark .process-step-title {
  color: #ffffff !important;
}
.theme-dark .process-step-desc {
  color: rgba(255, 255, 255, 0.7) !important;
}

/* 3. PRODUCTS (Product Range) */
.theme-dark .product-card {
  background: rgba(255, 255, 255, 0.03) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}
.theme-dark .product-card:hover {
  background: rgba(249, 115, 22, 0.04) !important;
  border-color: var(--color-primary) !important;
}
.theme-dark .product-card h4 {
  color: #ffffff !important;
}
.theme-dark .product-card p {
  color: rgba(255, 255, 255, 0.65) !important;
}

/* 4. WHY US (Why Choose Us) */
.theme-dark .why-card {
  background: rgba(255, 255, 255, 0.03) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}
.theme-dark .why-card:hover {
  background: rgba(249, 115, 22, 0.04) !important;
  border-color: var(--color-primary) !important;
}
.theme-dark .why-card h3 {
  color: #ffffff !important;
}
.theme-dark .why-card p {
  color: rgba(255, 255, 255, 0.7) !important;
}

/* 5. ABOUT COMPANY */
.theme-dark .about-badge-card {
  background: rgba(15, 23, 42, 0.45) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}
.theme-dark .about-badge-card .stat-num {
  color: var(--color-primary) !important;
}
.theme-dark .about-badge-card .stat-label {
  color: rgba(255, 255, 255, 0.8) !important;
}

/* 6. CONTACT US */
.theme-dark .contact-form-wrap {
  background: rgba(15, 23, 42, 0.45) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}
.theme-dark .contact-info-card {
  background: rgba(255, 255, 255, 0.02) !important;
  border-color: rgba(255, 255, 255, 0.06) !important;
}

/* 7. HERO SECTION */
.theme-dark .hero-badge {
  background: rgba(249, 115, 22, 0.15) !important;
  border-color: rgba(249, 115, 22, 0.4) !important;
  color: var(--color-primary) !important;
}
.theme-dark .hero-title {
  color: #ffffff !important;
}
.theme-dark .hero-desc {
  color: rgba(255, 255, 255, 0.75) !important;
}
.theme-dark .hero-stats {
  background: rgba(255, 255, 255, 0.04) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.05) !important;
}
.theme-dark .hero-stats:hover {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.08) !important;
}
.theme-dark .stat-label {
  color: rgba(255, 255, 255, 0.6) !important;
}
.theme-dark .stat-divider {
  background: rgba(255, 255, 255, 0.12) !important;
}

/* ══════════════════════════════════════
   MOBILE CRITICAL FIXES (Layout, Logo, Video)
   ══════════════════════════════════════ */

/* 1. Prevent Layout Shift & Horizontal Overflow */
html, body {
  overflow-x: hidden !important;
  width: 100% !important;
  max-width: 100% !important;
  position: relative;
  -webkit-overflow-scrolling: touch;
}

/* Ensure all elements calculate their width properly without breaking the layout boundary */
*, *::before, *::after {
  box-sizing: border-box !important;
}

/* Restrict container-level children to prevent horizontal scroll leakage */
.section, .hero, .site-header, .topbar, footer {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

/* Decrease padding of layout container on smaller mobile viewports to prevent squishing */
@media (max-width: 768px) {
  .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}

/* 2. Perfectly Stable & Responsive Header SVG Logo */
.logo {
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
  flex-shrink: 0 !important;
  text-decoration: none !important;
  max-width: 100%;
}

.logo-icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

.logo-icon svg {
  display: block !important;
  max-width: 100% !important;
}

.logo-icon img {
  display: block !important;
  max-width: 100% !important;
  object-fit: contain !important;
}

/* 3. HTML5 Video Background Fallbacks */
.hero-bg, .services-bg {
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-color: #0c0f1d !important; /* Elegant deep dark slate fallback */
}

/* Keep video properly positioned and scaled */
.hero-video, .services-bg video {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  pointer-events: none !important;
  z-index: 0 !important;
}








