/* ============================================================
  style.css - Shared styles for both public and admin pages of the Servo Stabilizer website. This file contains common CSS rules, variables, and utility classes that are used across the entire website to maintain a consistent look and feel. It includes styles for typography, layout, buttons, forms, and other UI components that are shared between the public-facing pages and the admin dashboard.
   ============================================================ */

/* ── CSS Custom Properties ── */
.light {
  --mainColor: #3b82f6;
  --hoverColor: #2563eb;
  --accentColor: #06b6d4;
  --accentGlow: rgba(59,130,246,0.28);
  --backgroundColor: #f0f6ff;
  --surfaceColor: rgba(255,255,255,0.72);
  --surfaceBorder: rgba(180,210,255,0.45);
  --darkOne: #0f172a;
  --darkTwo: #1e293b;
  --lightOne: #64748b;
  --lightTwo: #94a3b8;
  --shadowSm: 0 2px 12px rgba(15,23,42,0.08);
  --shadowMd: 0 8px 32px rgba(15,23,42,0.12);
  --shadowLg: 0 20px 60px rgba(15,23,42,0.15);
  --glass: rgba(255,255,255,0.65);
  --glassBorder: rgba(255,255,255,0.5);
  --glassBlur: blur(18px);
  --grad: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
  --gradSoft: linear-gradient(135deg, rgba(59,130,246,0.12) 0%, rgba(6,182,212,0.08) 100%);
}

.dark {
  --mainColor: #60a5fa;
  --hoverColor: #93c5fd;
  --accentColor: #22d3ee;
  --accentGlow: rgba(96,165,250,0.35);
  --backgroundColor: #0c1628;
  --surfaceColor: rgba(17,30,54,0.80);
  --surfaceBorder: rgba(96,165,250,0.18);
  --darkOne: #f1f5f9;
  --darkTwo: #e2e8f0;
  --lightOne: #94a3b8;
  --lightTwo: #64748b;
  --shadowSm: 0 2px 12px rgba(0,0,0,0.4);
  --shadowMd: 0 8px 32px rgba(0,0,0,0.5);
  --shadowLg: 0 20px 60px rgba(0,0,0,0.6);
  --glass: rgba(17,30,54,0.72);
  --glassBorder: rgba(96,165,250,0.2);
  --glassBlur: blur(18px);
  --grad: linear-gradient(135deg, #60a5fa 0%, #22d3ee 100%);
  --gradSoft: linear-gradient(135deg, rgba(96,165,250,0.18) 0%, rgba(34,211,238,0.10) 100%);
}

/* ── Reset & Base ── */
*, *::before, *::after {
  padding: 0; margin: 0; box-sizing: border-box;
}

body {
  font-family: "Nunito", sans-serif;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

.stop-scrolling { height: 100%; overflow: hidden; }
img { width: 100%; }
a { text-decoration: none; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: var(--mainColor);
  border-radius: 99px;
}

/* ── Page Wrapper ── */
.big-wrapper {
  padding: 1.7rem 0 2rem;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  background-color: var(--backgroundColor);
  background-image:
    radial-gradient(ellipse 80% 60% at 10% -10%, rgba(59,130,246,0.12), transparent),
    radial-gradient(ellipse 60% 50% at 90% 110%, rgba(6,182,212,0.09), transparent);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background-color 0.4s ease;
}

.dark .big-wrapper,
.big-wrapper.dark {
  background-image:
    radial-gradient(ellipse 80% 60% at 10% -10%, rgba(96,165,250,0.12), transparent),
    radial-gradient(ellipse 60% 50% at 90% 110%, rgba(34,211,238,0.08), transparent);
}

/* ── Container ── */
.container {
  position: relative;
  max-width: 81rem;
  width: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
  z-index: 10;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex_container {
  display: flex;
  max-width: 81rem;
  width: 100%;
  margin: 0 auto;
  padding: 0 3rem;
  z-index: 10;
}

.left_box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70%;
}

.right_box {
  width: 80%;
  display: flex;
  position: relative;
  right: 50px;
}

.image-box {
  height: 500px !important;
  position: relative;
  right: 12px;
}

.image-box img {
  width: 700px;
  position: relative;
  right: 150px;
  bottom: 100px;
}

/* ── Header / Navbar ── */
header {
  position: relative;
  z-index: 70;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Glass navbar bar */
header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--glass);
  backdrop-filter: var(--glassBlur);
  -webkit-backdrop-filter: var(--glassBlur);
  border-bottom: 1px solid var(--glassBorder);
  z-index: -1;
  border-radius: 0 0 20px 20px;
  box-shadow: var(--shadowSm);
}

.overlay { display: none; }
.mobile-nav-close { display: none; }

/* ── Logo ── */
.logo {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.logo img {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  margin-right: 0.75rem;
  margin-top: -0.4rem;
  box-shadow: 0 4px 14px rgba(59,130,246,0.25);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.logo img:hover {
  transform: rotate(-4deg) scale(1.08);
  box-shadow: 0 8px 24px rgba(59,130,246,0.4);
}

.logo .logo-text {
  color: var(--darkTwo);
  font-family: "Sora", sans-serif;
  font-size: 1.45rem;
  line-height: 1.2;
  font-weight: 700;
}

/* ── Nav Links ── */
.links ul {
  display: flex;
  justify-content: center;
  list-style: none;
  align-items: center;
  padding: 0;
  margin: 0;
}

.links a {
  font-size: 0.92rem;
  font-family: "Nunito", sans-serif;
  font-weight: 600;
  color: var(--lightTwo);
  margin-left: 1.8rem;
  display: inline-block;
  position: relative;
  transition: color 0.25s ease, transform 0.25s ease;
}

.links a::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  border-radius: 99px;
  background: var(--grad);
  transition: width 0.3s ease;
}

.links a:hover { color: var(--mainColor); transform: translateY(-1px); }
.links a:hover::after { width: 100%; }

.mega-item {
  position: static;
}

.mega-trigger i {
  font-size: .65rem;
  margin-left: .35rem;
}

.mega-menu {
  position: absolute;
  left: 50%;
  top: calc(100% - 1px);
  width: min(1180px, calc(100vw - 4rem));
  transform: translate(-50%, 12px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 1.5rem;
  padding: .7rem .95rem;
  background: rgba(255,255,255,.98);
  border: 1px solid rgba(226,232,240,.95);
  border-radius: 0 0 8px 8px;
  box-shadow: 0 22px 48px rgba(15,23,42,.22);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  z-index: 100;
}

.mega-item:hover .mega-menu,
.mega-item:focus-within .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.mega-menu a {
  color: #334155;
  margin: 0;
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: .55rem .8rem;
  border-bottom: 1px solid #e2e8f0;
  font-size: .93rem;
  font-weight: 700;
  line-height: 1.25;
}

.mega-menu a::after { display: none; }

.mega-menu a:hover {
  color: #fff;
  background: #1e1b64;
  transform: none;
}

.big-wrapper.dark .mega-menu {
  background: rgba(15,23,42,.98);
  border-color: rgba(51,65,85,.95);
}

.big-wrapper.dark .mega-menu a {
  color: #e2e8f0;
  border-bottom-color: rgba(71,85,105,.9);
}

.big-wrapper.dark .mega-menu a:hover {
  background: #2563eb;
  color: #fff;
}

/* ── CTA Button ── */
.btn {
  display: inline-block;
  padding: 0.55rem 1.4rem;
  color: #fff !important;
  background: var(--grad);
  border-radius: 999px;
  font-family: "Nunito", sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: capitalize;
  transition: 0.3s ease;
  box-shadow: 0 4px 16px var(--accentGlow);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 8px 28px var(--accentGlow); }
.btn:hover::before { opacity: 1; }

/* ── Hamburger ── */
.hamburger-menu {
  position: relative;
  z-index: 99;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  display: none;
}

.hamburger-menu .bar {
  position: relative;
  width: 100%;
  height: 3px;
  background-color: var(--darkTwo);
  border-radius: 3px;
  transition: 0.5s;
}

.bar::before, .bar::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: var(--darkTwo);
  border-radius: 3px;
  transition: 0.5s;
}

.bar::before { transform: translateY(-8px); }
.bar::after  { transform: translateY(8px); }

.big-wrapper.active .hamburger-menu .bar { background-color: transparent; }
.big-wrapper.active .bar::before { transform: translateY(0) rotate(-45deg); }
.big-wrapper.active .bar::after  { transform: translateY(0) rotate(45deg); }

/* ── Showcase ── */
.showcase-area .container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  justify-content: center;
}

.big-title {
  font-family: "Sora", sans-serif;
  font-size: 1.4rem;
  color: var(--darkOne);
  text-transform: capitalize;
  line-height: 1.4;
}

.text {
  color: var(--lightOne);
  font-size: 1.05rem;
  margin: 1.9rem 0 2.5rem;
  max-width: 600px;
  line-height: 2.3;
}

.showcase-area .btn {
  box-shadow: 0 0 40px 2px rgba(59,130,246,0.12);
}

.person {
  width: 123%;
  transform: translate(15%, 25px);
}

/* ── Dark/Light Toggle ── */
.toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: var(--grad);
  color: #fff;
  outline: none;
  cursor: pointer;
  height: 38px;
  width: 38px;
  border-radius: 50%;
  font-size: 1rem;
  transition: 0.3s ease;
  box-shadow: 0 4px 14px var(--accentGlow);
}

.toggle-btn:hover {
  transform: rotate(20deg) scale(1.1);
  box-shadow: 0 6px 22px var(--accentGlow);
}

.toggle-btn i { line-height: 38px; }

.big-wrapper.light .toggle-btn i:last-child  { display: none; }
.big-wrapper.light .toggle-btn i:first-child { display: block; }
.big-wrapper.dark  .toggle-btn i:last-child  { display: block; }
.big-wrapper.dark  .toggle-btn i:first-child { display: none; }

/* ── Light Theme Mega Menu ── */
.big-wrapper.light .mega-menu {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 22px 48px rgba(15,23,42,.12);
}

.big-wrapper.light .mega-menu a {
  color: #0f172a;
  border-bottom-color: #e2e8f0;
}

.big-wrapper.light .mega-menu a:hover {
  color: #fff;
  background: #3b82f6;
}

/* ── Dark Theme Mega Menu ── */
.big-wrapper.dark .mega-menu {
  background: rgba(30,41,59,.95);
  border: 1px solid rgba(96,165,250,.2);
  box-shadow: 0 22px 48px rgba(0,0,0,.3);
}

.big-wrapper.dark .mega-menu a {
  color: #e2e8f0;
  border-bottom-color: rgba(148,163,184,.22);
}

.big-wrapper.dark .mega-menu a:hover {
  color: #fff;
  background: rgba(96,165,250,.3);
}

/* ── Shape decoration ── */
.shape {
  position: absolute;
  z-index: 0;
  width: 500px;
  bottom: -180px;
  left: -15px;
  opacity: 0.06;
  filter: blur(2px);
}

/* ── Copy animation ── */
.copy {
  position: absolute;
  top: 0; left: 0;
  z-index: 100;
  animation: appear 1s 1 both;
}

@keyframes appear {
  0%   { clip-path: circle(30% at -25% -25%); }
  100% { clip-path: circle(150% at 0 0); }
}

/* ── Fade-in-up scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── Floating animation ── */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-12px); }
}
.float-anim { animation: float 5s ease-in-out infinite; }

/* ── Pulse glow ── */
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 20px var(--accentGlow); }
  50%       { box-shadow: 0 0 40px var(--accentGlow), 0 0 60px rgba(6,182,212,0.15); }
}

/* ── Show-cards (feature cards section) ── */
.show-cards .card {
  border-top: 4px solid var(--mainColor) !important;
  background: var(--glass);
  backdrop-filter: var(--glassBlur);
  -webkit-backdrop-filter: var(--glassBlur);
  border: 1px solid var(--glassBorder) !important;
  border-top: 4px solid var(--mainColor) !important;
  border-radius: 18px !important;
  box-shadow: var(--shadowMd);
  transition: 0.35s ease;
}

.dark .show-cards .card {
  border-top: 4px solid var(--mainColor) !important;
  background: rgba(17,30,54,0.72);
}

.show-cards .card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadowLg);
}

.show-cards p  { color: var(--darkOne); text-align: justify; padding: 0 10px; }
.show-cards h3 { color: var(--mainColor); font-family: "Sora", sans-serif; }

.card-container {
  margin-top: 100px !important;
  border-color: var(--darkTwo);
}

/* ── Footer ── */
footer {
  background: linear-gradient(135deg, #0c1628 0%, #111827 100%);
  padding: 46px 0;
  text-align: center;
}

.footer-inner {
  display: grid;
  gap: 1.25rem;
  justify-items: center;
}

.footer-brand {
  max-width: 760px;
}

.footer-brand h2 {
  margin: .7rem 0 .35rem;
  color: #fff;
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  font-weight: 900;
}

.footer-contact-grid {
  width: min(900px, 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
}

.footer-contact-grid a,
.footer-contact-grid span {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .78rem .9rem;
  color: #f8fafc;
  text-decoration: none;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  line-height: 1.35;
}

.footer-contact-grid i {
  color: #60a5fa;
  flex: 0 0 auto;
}

.footer-contact-grid .footer-address {
  grid-column: 1 / -1;
}

.social-icons i {
  font-size: 24px;
  margin: 0 10px;
  color: whitesmoke;
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-icons .facebook:hover  { color: #0453a8; transform: scale(1.2) translateY(-3px); }
.social-icons .twitter:hover   { color: #000000; transform: scale(1.2) translateY(-3px); }
.social-icons .instagram:hover { color: #ff2f5c; transform: scale(1.2) translateY(-3px); }
.social-icons .linked-in:hover { color: #007bff; transform: scale(1.2) translateY(-3px); }

.footer-links ul { list-style: none; padding: 0; }
.footer-links ul li { display: inline-block; margin-right: 20px; }
.footer-links ul li a { color: white; text-decoration: none; transition: color 0.3s ease; }
.footer-links ul li a:hover { color: var(--mainColor); }

footer img { width: 40px !important; height: 40px !important; border-radius: 5px; }
footer p   { color: white; }

.footer-legal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
}

.footer-admin-shortcut {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.32);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%;
  font-size: .72rem;
  line-height: 1;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.footer-admin-shortcut:hover,
.footer-admin-shortcut:focus {
  color: #fff;
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.38);
}

.site-footer {
  text-align: left;
  color: #e5e7eb;
  background:
    linear-gradient(135deg, rgba(12,22,40,.98), rgba(17,24,39,.98)),
    radial-gradient(circle at 12% 0%, rgba(59,130,246,.18), transparent 34%);
  padding: 3.4rem 0 1.1rem;
}

.footer-shell { display: grid; gap: 1.35rem; }

.footer-main {
  display: grid;
  grid-template-columns: minmax(280px, 1.2fr) minmax(180px, .75fr) minmax(180px, .75fr) minmax(270px, 1fr);
  gap: 1rem;
  align-items: start;
}

.footer-about,
.footer-column,
.footer-contact { min-width: 0; }

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1rem;
  color: #fff;
}

.footer-logo img {
  width: 54px !important;
  height: 54px !important;
  object-fit: contain;
  padding: .35rem;
  background: #fff;
  border-radius: 8px;
}

.footer-logo span {
  color: #fff;
  font-family: "Sora", sans-serif;
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.2;
}

.site-footer h2 {
  margin: 0 0 1rem;
  color: #fff;
  font-family: "Sora", sans-serif;
  font-size: 1rem;
  font-weight: 900;
  text-transform: uppercase;
}

.footer-about p {
  max-width: 44ch;
  margin: 0;
  color: #cbd5e1;
  font-size: .95rem;
  line-height: 1.75;
}

.footer-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .55rem;
  margin-top: 1rem;
}

.footer-trust span {
  min-width: 0;
  padding: .75rem;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
}

.footer-trust strong,
.footer-trust small { display: block; }

.footer-trust strong {
  color: #fff;
  font-family: "Sora", sans-serif;
  font-size: 1rem;
  font-weight: 900;
}

.footer-trust small {
  color: #a9b8cc;
  font-size: .75rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.footer-column ul {
  display: grid;
  gap: .55rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-column a,
.footer-location-list span {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: #cbd5e1;
  font-size: .94rem;
  font-weight: 800;
  line-height: 1.35;
}

.footer-column a:hover { color: #fff; }
.footer-column i { color: #60a5fa; font-size: .78rem; }
.footer-location-list i { color: #f87171; }

.footer-contact {
  display: grid;
  gap: .7rem;
}

.footer-contact a,
.footer-contact > span {
  min-width: 0;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: .75rem;
    align-items: start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%;
}

.footer-contact span span,
.footer-contact a span {
  min-width: 0;
    display: flex;
    flex-direction: column;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.footer-contact small {
  color: #a9b8cc;
  font-size: .78rem;
  font-weight: 700;
    display: block;
    line-height: 1.35;
  flex-wrap: wrap;
  justify-content: center;
  gap: .55rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(255,255,255,.1);
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-quick-links a {
  padding: .42rem .72rem;
  color: #dbeafe;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 800;
}

.footer-quick-links a:hover {
  color: #fff;
  background: rgba(96,165,250,.16);
}

.site-footer p { color: #cbd5e1; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-bottom p {
  margin: 0;
  color: #a9b8cc;
  font-size: .86rem;
}

.footer-social {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
}

.footer-social a,
.site-footer .footer-admin-shortcut {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e1;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 50%;
  font-size: .9rem;
  line-height: 1;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.footer-social a:hover,
.site-footer .footer-admin-shortcut:hover,
.site-footer .footer-admin-shortcut:focus {
  color: #fff;
  background: rgba(96,165,250,.16);
  border-color: rgba(255,255,255,.3);
}

/* ── Carousel / Slider Box ── */
@media screen and (max-width: 768px) {
  .footer-contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-contact-grid .footer-address {
    grid-column: auto;
  }

  .footer-links ul li {
    margin: .25rem .45rem;
  }

  .site-footer {
    padding: 2.4rem 0 1rem;
    text-align: left;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 1.45rem;
  }

  .footer-about,
  .footer-column,
  .footer-contact {
    padding: 1rem;
    background: rgba(255,255,255,.045);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 8px;
  }

  .footer-logo {
    margin-bottom: .8rem;
  }

  .footer-about p {
    max-width: none;
    font-size: .9rem;
  }

  .footer-trust {
    grid-template-columns: 1fr;
  }

  .footer-column ul {
    grid-template-columns: 1fr 1fr;
    column-gap: .75rem;
  }

  .footer-contact a,
  .footer-contact > span {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: .65rem;
  }

  .footer-contact i {
    width: 38px;
    height: 38px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-quick-links {
    justify-content: flex-start;
  }
}

.carousel-box { width: 75%; }

/* ── About card ── */
.about-card {
  background: var(--glass) !important;
  backdrop-filter: var(--glassBlur);
  -webkit-backdrop-filter: var(--glassBlur);
  border: 1px solid var(--glassBorder) !important;
  border-radius: 24px !important;
  box-shadow: var(--shadowLg);
  transition: 0.35s ease;
}

.about-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 80px rgba(59,130,246,0.18);
}

.about-card p  { color: var(--darkOne); }
.about-card h3 { color: var(--darkOne); font-family: "Sora", sans-serif; }

.icon-hover i:hover {
  transition: all 0.2s ease;
  transform: scale(1.25) rotate(-8deg);
  color: var(--mainColor);
  filter: drop-shadow(0 0 6px var(--accentGlow));
}

/* ── Public-page shared ── */
.public-section { padding: 3.2rem 0; }

.auth-section {
  position: relative;
  padding: 4rem 0 4.4rem;
  overflow: hidden;
}

.auth-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, rgba(255,255,255,.7), transparent 38%),
    repeating-linear-gradient(135deg, rgba(23,79,128,.055) 0 1px, transparent 1px 18px);
}

.auth-section .container {
  position: relative;
  z-index: 1;
}

.auth-heading {
  margin: 0 0 1.05rem;
  text-align: center;
}

.auth-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .55rem;
  padding: .32rem .72rem;
  color: #174f80;
  background: rgba(23,79,128,.08);
  border: 1px solid rgba(23,79,128,.14);
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.auth-heading h1 {
  margin: 0;
  color: var(--darkOne);
  font-family: "Sora", sans-serif;
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  font-weight: 900;
  line-height: 1.12;
}

.auth-heading p {
  max-width: 42ch;
  margin: .65rem auto 0;
  color: var(--lightOne);
  font-size: .98rem;
  font-weight: 700;
  line-height: 1.55;
}

/* Back button shown on auth pages to return to previous page
   Uses CSS variables so it adapts to light/dark themes and admin variant */
.auth-back {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .45rem .7rem;
  border-radius: 8px;
  color: var(--darkTwo);
  background: var(--surfaceColor);
  border: 1px solid var(--surfaceBorder);
  margin-bottom: .9rem;
  font-weight: 800;
  font-size: .95rem;
  transition: background 0.18s ease, transform 0.12s ease, box-shadow 0.12s ease, color 0.12s ease;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}
.auth-back i { font-size: 1.05rem; line-height: 1; }
.auth-back .auth-back-text { display: inline-block; }

/* Light theme hover */
.auth-back:hover { background: var(--gradSoft); color: var(--darkOne); transform: translateY(-2px); }
.auth-back:focus { outline: none; box-shadow: 0 0 0 6px rgba(59,130,246,0.12); }

/* Dark theme: use surface variables for consistency */
.big-wrapper.dark .auth-back {
  background: var(--surfaceColor);
  border-color: var(--surfaceBorder);
  color: var(--darkOne);
}
.big-wrapper.dark .auth-back:hover { background: rgba(96,165,250,0.06); color: var(--darkOne); }

/* Admin variant: subtle red accent to match admin card */
.admin-auth-section .auth-back { border-color: rgba(185,28,28,0.08); }
.admin-auth-section .auth-back:hover { background: linear-gradient(180deg, rgba(185,28,28,0.06), rgba(185,28,28,0.03)); color: #7f1d1d; }

/* Small screens: reduce padding and hide text label to save space */
@media screen and (max-width: 480px) {
  .auth-back { padding: .35rem .45rem; font-size: .92rem; }
  .auth-back .auth-back-text { display: none; }
}

.auth-card {
  padding: 1.45rem;
  background:
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.88)),
    var(--glass);
  border: 1px solid rgba(219,225,234,.95);
  border-top: 4px solid #174f80;
  border-radius: 8px;
  box-shadow: 0 24px 56px rgba(15,23,42,.14);
}

.admin-auth-section .auth-card {
  border-top-color: #b91c1c;
}

.admin-auth-section .auth-kicker {
  color: #991b1b;
  background: rgba(185,28,28,.08);
  border-color: rgba(185,28,28,.16);
}

.auth-field + .auth-field {
  margin-top: 1rem;
}

.auth-card .form-label {
  margin-bottom: .42rem;
  color: #334155;
  font-family: "Sora", sans-serif;
  font-size: .82rem;
  font-weight: 800;
}

.auth-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.auth-input-wrap > i {
  position: absolute;
  left: .9rem;
  z-index: 2;
  color: #64748b;
  font-size: 1rem;
}

.auth-card .form-control {
  min-height: 52px;
  padding: .72rem .95rem .72rem 2.65rem;
  color: #0f172a;
  background: #f8fafc;
  border: 1px solid #dbe1ea;
  border-radius: 8px;
  font-weight: 800;
  box-shadow: none;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.auth-password-wrap .form-control {
  padding-right: 4.55rem;
}

.auth-card .form-control:focus {
  color: #0f172a;
  background: #fff;
  border-color: #174f80;
  box-shadow: 0 0 0 .22rem rgba(23,79,128,.12);
}

.admin-auth-section .auth-card .form-control:focus {
  border-color: #b91c1c;
  box-shadow: 0 0 0 .22rem rgba(185,28,28,.11);
}

.auth-input-wrap:focus-within > i {
  color: #174f80;
}

.admin-auth-section .auth-input-wrap:focus-within > i {
  color: #b91c1c;
}

.auth-card .password-toggle {
  position: absolute;
  right: .42rem;
  z-index: 3;
  min-width: 58px;
  min-height: 38px;
  padding: 0 .7rem;
  color: #174f80;
  background: #fff;
  border: 1px solid #dbe1ea;
  border-radius: 8px;
  font-size: .78rem;
  font-weight: 900;
  line-height: 1;
}

.auth-card .password-toggle:hover,
.auth-card .password-toggle:focus {
  color: #fff;
  background: #174f80;
  border-color: #174f80;
}

.admin-auth-section .auth-card .password-toggle {
  color: #991b1b;
}

.admin-auth-section .auth-card .password-toggle:hover,
.admin-auth-section .auth-card .password-toggle:focus {
  color: #fff;
  background: #b91c1c;
  border-color: #b91c1c;
}

.password-rule {
  display: flex;
  align-items: flex-start;
  gap: .45rem;
  margin: .62rem 0 0;
  color: #475569;
  font-size: .86rem;
  font-weight: 800;
  line-height: 1.4;
}

.password-rule i {
  color: #15803d;
  flex: 0 0 auto;
}

.auth-submit {
  min-height: 52px;
  margin-top: 1.2rem;
  border-radius: 8px;
  font-family: "Sora", sans-serif;
  font-size: .95rem;
  font-weight: 900;
  letter-spacing: 0;
  box-shadow: 0 12px 26px rgba(23,79,128,.22);
}

.admin-auth-section .auth-submit {
  background: linear-gradient(135deg, #b91c1c 0%, #174f80 100%);
  box-shadow: 0 12px 26px rgba(185,28,28,.18);
}

.auth-links,
.auth-footnote {
  margin-top: 1rem;
  color: #64748b;
  font-size: .92rem;
  font-weight: 800;
}

.auth-links {
  display: flex;
  justify-content: space-between;
  gap: .85rem;
}

.auth-links a,
.auth-footnote a {
  color: #174f80;
  font-weight: 900;
  text-decoration: none;
}

.auth-links a:hover,
.auth-footnote a:hover {
  color: #b91c1c;
}

.big-wrapper.dark .auth-section::before {
  background:
    linear-gradient(115deg, rgba(15,23,42,.6), transparent 38%),
    repeating-linear-gradient(135deg, rgba(96,165,250,.07) 0 1px, transparent 1px 18px);
}

.big-wrapper.dark .auth-kicker {
  color: #bfdbfe;
  background: rgba(96,165,250,.14);
  border-color: rgba(96,165,250,.22);
}

.big-wrapper.dark .admin-auth-section .auth-kicker {
  color: #fecaca;
  background: rgba(248,113,113,.12);
  border-color: rgba(248,113,113,.22);
}

.big-wrapper.dark .auth-card {
  background:
    linear-gradient(180deg, rgba(17,24,39,.96), rgba(15,23,42,.92)),
    var(--glass);
  border-color: rgba(148,163,184,.24);
}

.big-wrapper.dark .auth-card .form-label,
.big-wrapper.dark .password-rule {
  color: #cbd5e1;
}

.big-wrapper.dark .auth-card .form-control {
  color: #f8fafc;
  background: #111827;
  border-color: rgba(148,163,184,.26);
}

.big-wrapper.dark .auth-card .form-control:focus {
  background: #0f172a;
}

.big-wrapper.dark .auth-card .password-toggle {
  background: #0f172a;
  border-color: rgba(148,163,184,.3);
}

.big-wrapper.dark .auth-links,
.big-wrapper.dark .auth-footnote {
  color: #cbd5e1;
}

.big-wrapper.dark .auth-links a,
.big-wrapper.dark .auth-footnote a {
  color: #bfdbfe;
}

@media screen and (max-width: 576px) {
  .auth-section {
    padding: 2.2rem 0 3rem;
  }

  .auth-heading {
    text-align: center;
  }

  .auth-heading p {
    margin-left: auto;
    margin-right: auto;
  }

  .auth-card {
    padding: 1rem;
  }

  .auth-links {
    display: grid;
    gap: .55rem;
  }

  .auth-card .form-control {
    min-height: 50px;
  }
}

.section-heading { margin-bottom: 1.8rem; text-align: center; }

.section-heading h1,
.section-heading h2,
.fees-title,
.gallery-title,
.faculty-title {
  color: var(--darkOne);
  font-family: "Sora", sans-serif;
  font-weight: 800;
  line-height: 1.25;
  font-size: clamp(1.5rem, 3.3vw, 2.5rem);
  margin-bottom: 0.65rem;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-heading p,
.fees-subtitle,
.gallery-subtitle,
.faculty-desc {
  color: var(--lightOne);
  font-size: clamp(0.9rem, 1.6vw, 1.02rem);
  line-height: 1.7;
  max-width: 70ch;
  margin-left: auto;
  margin-right: auto;
}

/* ── Hero section ── */
.hero {
  padding: 2.1rem 0 1.2rem;
  color: var(--darkOne);
}

.hero h1 {
  color: var(--darkOne);
  font-family: "Sora", sans-serif;
  font-weight: 800;
  line-height: 1.3;
  font-size: clamp(1.6rem, 3.6vw, 2.6rem);
  margin-bottom: 0.85rem;
}

.hero p {
  color: var(--lightOne);
  font-size: clamp(0.9rem, 1.8vw, 1.04rem);
  line-height: 1.7;
  max-width: 62ch;
}

.hero-img {
  width: 100%;
  max-width: 340px;
  border-radius: 20px;
  box-shadow: var(--shadowLg), 0 0 0 6px var(--glassBorder);
  transition: 0.4s ease;
}

.hero-img:hover {
  transform: perspective(600px) rotateY(-6deg) scale(1.03);
  box-shadow: var(--shadowLg), 0 0 0 6px rgba(59,130,246,0.3);
}

/* ── Glass cards (form, info, fee, faculty) ── */
.form-box,
.info-box,
.fee-card,
.faculty-card {
  background: var(--glass);
  backdrop-filter: var(--glassBlur);
  -webkit-backdrop-filter: var(--glassBlur);
  border: 1px solid var(--glassBorder);
  border-radius: 20px;
  box-shadow: var(--shadowMd);
  transition: 0.35s ease;
}

.big-wrapper.dark .form-box,
.big-wrapper.dark .info-box,
.big-wrapper.dark .fee-card,
.big-wrapper.dark .faculty-card {
  background: rgba(17,30,54,0.78);
  border-color: var(--surfaceBorder);
  box-shadow: var(--shadowMd);
}

.big-wrapper.dark .contact-eyebrow {
  color: #bfdbfe;
  background: rgba(96,165,250,.14);
  border-color: rgba(96,165,250,.22);
}

.big-wrapper.dark .info-item {
  background: rgba(15,23,42,.5);
  border-color: rgba(96,165,250,.2);
}

.contact-section { margin-top: -1.8rem; }

.form-box, .info-box { padding: 1.5rem; }

.form-box h3,
.info-box h4 {
  color: var(--darkOne);
  font-family: "Sora", sans-serif;
  font-size: clamp(1.04rem, 1.9vw, 1.3rem);
}

.contact-info-panel {
  text-align: left;
  overflow: hidden;
}

.contact-eyebrow {
  display: inline-flex;
  margin-bottom: .45rem;
  padding: .32rem .65rem;
  color: #0b4f91;
  background: rgba(59,130,246,.1);
  border: 1px solid rgba(59,130,246,.18);
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 800;
}

.info-item {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  column-gap: .85rem;
  margin-bottom: .85rem;
  padding: .9rem;
  border: 1px solid rgba(59,130,246,.14);
  border-radius: 12px;
  background: rgba(255,255,255,.58);
}

.info-item .title {
  grid-column: 2;
  color: var(--mainColor);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.32rem;
}

.info-item h5 {
  grid-column: 2;
  color: var(--darkOne);
  font-size: 0.92rem;
  margin: 0.18rem 0;
  overflow-wrap: anywhere;
}

.info-item h5 a {
  color: inherit;
  text-decoration: none;
}

.info-item small {
  grid-column: 2;
  color: var(--lightOne);
  font-weight: 700;
}

.contact-symbol {
  grid-row: 1 / span 3;
  color: var(--mainColor);
  font-size: 1.6rem;
  line-height: 1;
  margin: 0;
  filter: drop-shadow(0 2px 6px var(--accentGlow));
}

.contact-section .form-label {
  color: var(--darkTwo);
  font-size: 0.9rem;
  font-weight: 600;
}

.contact-section .form-control {
  background: rgba(255,255,255,0.8);
  border: 1.5px solid rgba(59,130,246,0.2);
  border-radius: 12px;
  min-height: 46px;
  font-size: 0.92rem;
  color: #203247;
  transition: 0.25s ease;
  backdrop-filter: blur(4px);
}

.big-wrapper.dark .contact-section .form-control {
  background: rgba(255,255,255,0.06);
  border-color: rgba(96,165,250,0.22);
  color: #f1f5f9;
}

.big-wrapper.dark .contact-section select.form-control,
.big-wrapper.dark .contact-section select.form-control option {
  background-color: #162130;
  color: #f1f5f9;
}

.contact-section .form-control::placeholder { color: #8ea0b0; }
.big-wrapper.dark .contact-section .form-control::placeholder { color: #94a3b8; }

.contact-section .form-control:focus {
  border-color: var(--mainColor);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.18);
  background: rgba(255,255,255,0.95);
  transform: translateY(-1px);
}

.form-result {
  margin-top: 0.8rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--darkOne);
}

/* ── Submit button ── */
.submit-btn {
  display: inline-block;
  border: none;
  background: var(--grad);
  color: #fff;
  border-radius: 999px;
  padding: 0.7rem 1.8rem;
  font-size: 0.95rem;
  font-weight: 700;
  transition: 0.25s ease;
  box-shadow: 0 6px 20px var(--accentGlow);
  position: relative;
  overflow: hidden;
}

.submit-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  transform: translateX(-100%);
  transition: transform 0.35s ease;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px var(--accentGlow);
  color: #fff;
}

.submit-btn:hover::after { transform: translateX(0); }

/* ── Map ── */
.map iframe {
  border-radius: 18px;
  box-shadow: var(--shadowLg);
}

/* ── Fees / Gallery sections ── */
.fees-section, .gallery-section { padding: 3rem 0; }

/* ── Fee card ── */
.fee-card {
  padding: 2rem 1.5rem;
  text-align: center;
  transition: 0.35s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.fee-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradSoft);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.fee-card:hover { transform: translateY(-10px) scale(1.02); box-shadow: var(--shadowLg); }
.fee-card:hover::before { opacity: 1; }

.fee-icon {
  color: var(--mainColor);
  font-size: 2.4rem;
  margin-bottom: 0.8rem;
  display: block;
  filter: drop-shadow(0 2px 8px var(--accentGlow));
  transition: transform 0.35s ease;
}

.fee-card:hover .fee-icon { transform: scale(1.2) rotate(-8deg); }

.fee-card h4 {
  color: var(--darkOne);
  font-family: "Sora", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.9rem;
}

.fee-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: var(--grad);
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  transition: 0.25s ease;
  box-shadow: 0 4px 14px var(--accentGlow);
}

.fee-btn:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 24px var(--accentGlow);
  color: #fff;
}

/* ── Gallery ── */
.gallery-section { background: transparent; }

.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  cursor: pointer;
  transition: 0.35s ease;
  box-shadow: var(--shadowMd);
  border: 1px solid var(--glassBorder);
}

.gallery-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.gallery-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadowLg), 0 0 0 2px var(--mainColor);
}

.gallery-card:hover img { transform: scale(1.12); }

.gallery-overlay {
  position: absolute;
  inset: auto 0 0 0;
  background: linear-gradient(to top, rgba(15,23,42,0.92), rgba(15,23,42,0));
  padding: 1.2rem 1rem;
  transform: translateY(20px);
  opacity: 0;
  transition: 0.35s ease;
}

.gallery-card:hover .gallery-overlay { transform: translateY(0); opacity: 1; }

.gallery-overlay h5 {
  margin: 0;
  color: #f8fafc;
  font-family: "Sora", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
}

/* ── Faculty card ── */
.faculty-card {
  overflow: hidden;
  transition: 0.35s ease;
}

.faculty-card:hover {
  transform: translateY(-8px) perspective(600px) rotateX(2deg);
  box-shadow: var(--shadowLg);
}

.faculty-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.faculty-card:hover img { transform: scale(1.08); }

.faculty-info { padding: 0.9rem; text-align: center; }

.faculty-info h5 {
  color: var(--darkOne);
  font-family: "Sora", sans-serif;
  font-size: 0.97rem;
  margin-bottom: 0.2rem;
}

.faculty-info p {
  color: var(--lightOne);
  font-size: 0.86rem;
  margin-bottom: 0;
}

/* ── Responsive ── */
@media screen and (max-width: 870px) {
  .hamburger-menu {
    display: flex;
    background: transparent;
    padding: 5px;
    border: 0;
  }

  .links {
    position: fixed;
    top: 0; left: 0;
    max-width: 300px;
    width: 100%;
    height: 100%;
    background: rgba(15,23,42,0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    color: var(--backgroundColor);
    z-index: 95;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(-100%);
    transition: 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    border-right: 1px solid rgba(96,165,250,0.2);
  }

  .links ul { flex-direction: column; padding-bottom: 40px; font-size: 1rem; }
  .links ul li:first-child { margin-top: 70px; }
  .links a { color: #f1f5f9; margin-left: 0; padding: .7rem 0; }
  .links a::after { display: none; }
  .links .btn { background: var(--grad); font-size: 1rem; color: #fff !important; border-radius: 12px; padding: 0.5rem 1.2rem; }

  .mega-item { position: relative; width: 100%; text-align: center; }
  .mega-menu {
    position: static;
    width: 100%;
    max-height: 220px;
    overflow-y: auto;
    transform: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    padding: .25rem .8rem .65rem;
    margin-top: .2rem;
    background: rgba(15,23,42,.65);
    border: 1px solid rgba(148,163,184,.22);
    border-radius: 8px;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .mega-menu a {
    min-height: auto;
    justify-content: center;
    color: #e2e8f0;
    border-bottom-color: rgba(148,163,184,.2);
    padding: .55rem .35rem;
    font-size: .86rem;
  }
  .mega-menu a:hover { background: rgba(37,99,235,.72); color: #fff; }

  .overlay {
    display: block;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0,0,0,0.7);
    opacity: 0;
    pointer-events: none;
    transition: 0.5s;
    backdrop-filter: blur(2px);
  }

  .big-wrapper.active .links { transform: translateX(0); }
  .big-wrapper.active .overlay { pointer-events: all; opacity: 1; }

  /* ── Light Theme Mobile Sidebar ── */
  .big-wrapper.light .links {
    background: rgba(240, 246, 255, 0.95);
    border-right: 1px solid rgba(180, 210, 255, 0.45);
    color: #0f172a;
  }

  .big-wrapper.light .links a {
    color: #1e293b;
  }

  .big-wrapper.light .mega-menu {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(180, 210, 255, 0.45);
  }

  .big-wrapper.light .mega-menu a {
    color: #0f172a;
    border-bottom-color: rgba(180, 210, 255, 0.45);
  }

  .big-wrapper.light .mega-menu a:hover {
    background: #3b82f6;
    color: #fff;
  }

  .big-wrapper.active .overlay { pointer-events: all; opacity: 1; }

  .showcase-area { padding: 2.5rem 0; max-width: 700px; margin: 0 auto; }
  .showcase-area .container { grid-template-columns: 1fr; justify-content: center; grid-gap: 2rem; }

  .big-title  { font-size: 1.1rem; }
  .text       { font-size: 0.95rem; margin: 1.4rem 0 1.5rem; }
  .person     { width: 100%; transform: none; }
  .logo .logo-text    { font-size: 1.2rem; }
  .shape      { bottom: -180px; left: -150px; }
}

@media screen and (max-width: 992px) {
  .public-section, .fees-section, .gallery-section { padding: 2.5rem 0; }
  .contact-section { margin-top: 0; }
  .hero { text-align: center; }
  .hero p { margin-left: auto; margin-right: auto; }
}

@media screen and (max-width: 768px) {
  .section-heading h1, .section-heading h2,
  .fees-title, .gallery-title, .faculty-title { font-size: 1.5rem; }

  .section-heading p, .fees-subtitle, .gallery-subtitle, .faculty-desc,
  .hero p, .fee-card h4, .info-item h5 { font-size: 0.87rem; }

  .form-box, .info-box { padding: 1rem; }
  .gallery-card img { height: 180px; }
  .faculty-card img { height: 210px; }
  .submit-btn { width: 100%; }
}

@media screen and (max-width: 470px) {
  .container { padding: 0 1.5rem; }
  .big-title  { font-size: 0.9rem; }
  .text       { margin: 1.1rem 0 1.5rem; }
  .showcase-area .btn { font-size: 0.8rem; }
  /* Make image fit inside its box on small screens (avoid clipping) */
  .image-box {
    height: auto !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    overflow: hidden;
  }
  .image-box img {
    width: 95%;
    max-width: 320px;
    height: auto;
    object-fit: contain;
    display: block;
    position: static;
    right: 0;
    bottom: 0;
    margin: 0 auto;
  }
  /* Reduce marquee height and item size for mobile so it doesn't dominate viewport */
  .client-marquee-section {
    padding: 0.25rem 0.35rem;
    margin-top: 0.35rem;
    border-radius: 8px;
  }
  .client-marquee-item {
    width: 110px;
    padding: 0.25rem;
  }
  .client-marquee-item img {
    width: 100%;
    max-height: 90px;
    object-fit: contain;
    border-radius: 6px;
  }

  .get-started { height: 400px !important; }
  .carousel-box { width: 90% !important; }
}

/* ============================================================
  Ecommerce and admin extensions
   ============================================================ */
.cart-link {
  position: relative;
}
.cart-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(239, 68, 68, 0.28);
  border: 2px solid var(--glass);
  transform: scale(0);
  transition: transform .2s ease, opacity .2s ease;
  opacity: 0;
}
.cart-badge.is-visible {
  transform: scale(1);
  opacity: 1;
  animation: cart-badge-pop .35s ease;
}
.cart-badge.is-hidden {
  transform: scale(0);
  opacity: 0;
}
@keyframes cart-badge-pop {
  0% { transform: scale(0.5); }
  60% { transform: scale(1.16); }
  100% { transform: scale(1); }
}
.cart-toast-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 8, 23, 0.62);
  backdrop-filter: blur(6px);
  z-index: 2200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  transition: opacity .25s ease;
}
.cart-toast-overlay.is-visible { opacity: 1; }
.cart-toast-modal {
  position: fixed;
  inset: 0;
  z-index: 2201;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity .25s ease, transform .25s ease;
}
.cart-toast-modal.is-visible {
  opacity: 1;
  transform: scale(1);
}
.cart-toast-card {
  width: min(100%, 460px);
  background: var(--glass);
  border: 1px solid var(--glassBorder);
  border-radius: 22px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.26);
  padding: 1.25rem;
  position: relative;
}
.cart-toast-close {
  position: absolute;
  top: .9rem;
  right: .9rem;
  border: 0;
  background: transparent;
  font-size: 1.2rem;
  color: var(--darkOne);
}
.cart-toast-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #16a34a, #22c55e);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: .8rem;
}
.cart-toast-product {
  display: flex;
  gap: .85rem;
  align-items: center;
  background: rgba(255,255,255,.55);
  border-radius: 16px;
  padding: .85rem;
  margin: .9rem 0;
}
.cart-toast-product img {
  width: 78px;
  height: 78px;
  object-fit: cover;
  border-radius: 14px;
  flex-shrink: 0;
}
.cart-toast-name {
  font-weight: 800;
  margin-bottom: .25rem;
}
.cart-toast-price {
  color: var(--mainColor);
  font-weight: 700;
  margin-bottom: 0;
}
.cart-toast-copy {
  margin-bottom: 1rem;
  color: var(--lightOne);
}
.cart-toast-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}
.big-wrapper.dark .cart-toast-card {
  background: rgba(15, 23, 42, 0.96);
  color: #f8fafc;
}
.big-wrapper.dark .cart-toast-product {
  background: rgba(30, 41, 59, 0.85);
}
.big-wrapper.dark .cart-toast-close {
  color: #f8fafc;
}
body {
  background: var(--backgroundColor);
  color: var(--darkOne);
  transition: background-color .3s ease, color .3s ease;
}

.site-main { flex: 1; }
.nav-shell { gap: 1rem; }
.nav-actions { display: flex; align-items: center; gap: .55rem; }
.logo span { color: var(--mainColor); }

.icon-btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--glassBorder);
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--glass);
  color: var(--darkOne);
  box-shadow: var(--shadowSm);
}

.language-menu img { width: 22px; margin-right: .45rem; }
.flag-pill { display: inline-flex; width: 26px; font-size: .75rem; margin-right: .35rem; }

.hero-industrial {
  padding: clamp(2rem, 5vw, 4.5rem) 0 2rem;
}
.hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
  gap: 2rem;
  align-items: center;
}
.hero-kicker {
  color: var(--mainColor);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .78rem;
}
.hero-visual {
  min-height: 340px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(15,23,42,.55), rgba(59,130,246,.12)),
    url("../assets/images/products/front-image.avif") center/contain no-repeat var(--glass);
  box-shadow: var(--shadowLg);
  border: 1px solid var(--glassBorder);
}

.quick-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.btn-outline-soft {
  border: 1px solid var(--surfaceBorder);
  color: var(--darkOne) !important;
  background: var(--glass);
  box-shadow: var(--shadowSm);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .9rem;
}
@media (min-width: 768px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; } }
@media (min-width: 1200px) { .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2rem; } }

.product-card,
.panel-card,
.dashboard-card,
.order-card {
  background: var(--glass);
  border: 1px solid var(--glassBorder);
  border-radius: 8px;
  box-shadow: var(--shadowMd);
  color: var(--darkOne);
}

.home-categories .panel-card {
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background-color .25s ease;
}
.home-categories .panel-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(59,130,246,.14);
  border-color: rgba(59,130,246,.25);
}
.big-wrapper.dark .home-categories .panel-card {
  background: rgba(17,30,54,.94);
  border-color: rgba(96,165,250,.2);
}
.big-wrapper.dark .home-categories .panel-card:hover {
  background: rgba(17,30,54,.98);
  border-color: rgba(96,165,250,.35);
}
.big-wrapper.dark .home-categories .panel-card strong {
  color: #e2e8f0;
}
.product-card {
  overflow: hidden;
  height: 100%;
  transition: transform .25s ease, box-shadow .25s ease;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadowLg); }
.product-image-wrap {
  aspect-ratio: 4 / 3;
  background: var(--gradSoft);
  overflow: hidden;
  position: relative;
}
.product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.product-card:hover img { transform: scale(1.06); }
.discount-badge {
  position: absolute;
  top: .55rem;
  left: .55rem;
  background: #ef4444;
  color: #fff;
  border-radius: 999px;
  font-weight: 800;
  font-size: .72rem;
  padding: .25rem .5rem;
}
.product-body { padding: .85rem; }
.product-title {
  color: var(--darkOne);
  font-size: .95rem;
  line-height: 1.3;
  font-weight: 800;
  min-height: 2.5rem;
}
.product-desc {
  color: var(--lightOne);
  font-size: .82rem;
  line-height: 1.45;
  min-height: 2.4rem;
}
.price-row { display: flex; align-items: center; gap: .45rem; flex-wrap: wrap; }
.sale-price { color: var(--mainColor); font-weight: 900; }
.old-price { color: var(--lightOne); text-decoration: line-through; font-size: .82rem; }
.product-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .45rem;
  margin-top: .8rem;
}
.product-actions .btn,
.product-actions .btn-outline-soft { width: 100%; padding: .52rem .4rem; font-size: .78rem; border-radius: 8px; }
.whatsapp-btn { background: #16a34a !important; color: #fff !important; }

.servo-filter-page {
  background:
    linear-gradient(180deg, rgba(248,250,252,.78), rgba(239,246,255,.68)),
    radial-gradient(circle at 12% 0%, rgba(14,165,233,.14), transparent 34%);
}

.servo-breadcrumb {
  margin-bottom: 1.25rem;
}

.servo-product-layout {
  display: grid;
  grid-template-columns: minmax(280px, .9fr) minmax(320px, 1.1fr);
  gap: 1.2rem;
  align-items: stretch;
}

.servo-product-media,
.servo-product-summary,
.servo-detail-panel,
.servo-spec-section {
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(203,213,225,.84);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(15,23,42,.1);
}

.servo-product-media {
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  overflow: hidden;
}

.servo-product-media img {
  width: min(100%, 560px);
  height: auto;
  max-height: 480px;
  object-fit: contain;
}

.servo-sale-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 1;
  padding: .42rem .7rem;
  color: #fff;
  background: #0f766e;
  border-radius: 6px;
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .02em;
}

.servo-product-summary {
  padding: clamp(1.1rem, 2.5vw, 2rem);
}

.servo-product-summary h1 {
  margin: .45rem 0 .55rem;
  color: #0f172a;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.65rem, 3vw, 2.55rem);
  font-weight: 900;
  line-height: 1.14;
}

.servo-rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .18rem;
  margin: 0 0 .9rem;
  color: #64748b;
  font-weight: 800;
}

.servo-rating i {
  color: #f59e0b;
}

.servo-summary-text {
  color: #475569;
  font-size: 1.02rem;
  line-height: 1.72;
}

.servo-price-box {
  display: grid;
  gap: .25rem;
  margin: 1.15rem 0;
  padding: 1rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}

.servo-price-box span {
  color: #0f766e;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 900;
}

.servo-price-box small {
  color: #64748b;
  font-weight: 700;
  line-height: 1.45;
}

.servo-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin: 1rem 0 1.2rem;
}

.servo-contact-actions .btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  border-radius: 8px;
}

.servo-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .65rem;
  margin: 0;
}

.servo-facts div {
  min-width: 0;
  padding: .78rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}

.servo-facts dt {
  color: #64748b;
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.servo-facts dd {
  margin: .2rem 0 0;
  color: #0f172a;
  font-weight: 900;
  line-height: 1.35;
}

.servo-capacity-filter {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin: 1.2rem 0;
}

.servo-capacity-filter a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .48rem .72rem;
  color: #0f172a;
  background: rgba(255,255,255,.86);
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-weight: 900;
  line-height: 1;
}

.servo-capacity-filter a.active,
.servo-capacity-filter a:hover {
  color: #fff;
  background: #174f80;
  border-color: #174f80;
}

.servo-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  gap: 1rem;
  margin-top: 1rem;
}

.servo-detail-panel,
.servo-spec-section {
  padding: clamp(1rem, 2vw, 1.45rem);
}

.servo-detail-panel h2,
.servo-spec-section h2 {
  margin: 0 0 .85rem;
  color: #0f172a;
  font-family: "Sora", sans-serif;
  font-size: 1.22rem;
  font-weight: 900;
}

.servo-detail-panel p {
  color: #475569;
  line-height: 1.75;
}

.servo-check-list,
.servo-application-list {
  display: grid;
  gap: .62rem;
  padding: 0;
  margin: .9rem 0 0;
  list-style: none;
}

.servo-check-list li,
.servo-application-list li {
  display: flex;
  gap: .55rem;
  align-items: flex-start;
  color: #334155;
  font-weight: 800;
  line-height: 1.45;
}

.servo-check-list i {
  color: #16a34a;
  flex: 0 0 auto;
}

.servo-application-list li {
  padding: .65rem .75rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}

.servo-spec-section {
  margin-top: 1rem;
}

.servo-spec-table-wrap {
  overflow-x: auto;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}

.servo-spec-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.servo-spec-table th,
.servo-spec-table td {
  padding: .82rem .9rem;
  border-bottom: 1px solid #e2e8f0;
  color: #334155;
  line-height: 1.45;
  vertical-align: top;
}

.servo-spec-table th {
  color: #fff;
  background: #174f80;
  font-family: "Sora", sans-serif;
  font-size: .88rem;
}

.servo-spec-table tr:last-child td {
  border-bottom: 0;
}

.big-wrapper.dark .servo-filter-page {
  background:
    linear-gradient(180deg, rgba(15,23,42,.72), rgba(12,22,40,.9)),
    radial-gradient(circle at 10% 0%, rgba(96,165,250,.14), transparent 32%);
}

.big-wrapper.dark .servo-product-media,
.big-wrapper.dark .servo-product-summary,
.big-wrapper.dark .servo-detail-panel,
.big-wrapper.dark .servo-spec-section {
  background: rgba(17,30,54,.92);
  border-color: rgba(148,163,184,.22);
}

.big-wrapper.dark .servo-product-summary h1,
.big-wrapper.dark .servo-facts dd,
.big-wrapper.dark .servo-detail-panel h2,
.big-wrapper.dark .servo-spec-section h2 {
  color: #f8fafc;
}

.big-wrapper.dark .servo-summary-text,
.big-wrapper.dark .servo-detail-panel p,
.big-wrapper.dark .servo-check-list li,
.big-wrapper.dark .servo-application-list li,
.big-wrapper.dark .servo-spec-table td {
  color: #cbd5e1;
}

.big-wrapper.dark .servo-price-box,
.big-wrapper.dark .servo-facts div,
.big-wrapper.dark .servo-application-list li,
.big-wrapper.dark .servo-capacity-filter a {
  background: rgba(15,23,42,.78);
  border-color: rgba(148,163,184,.24);
}

.big-wrapper.dark .servo-capacity-filter a {
  color: #e2e8f0;
}

.big-wrapper.dark .servo-capacity-filter a.active,
.big-wrapper.dark .servo-capacity-filter a:hover {
  color: #fff;
  background: #2563eb;
  border-color: #2563eb;
}

@media screen and (max-width: 992px) {
  .servo-product-layout,
  .servo-detail-grid {
    grid-template-columns: 1fr;
  }

  .servo-product-media {
    min-height: 320px;
  }
}

@media screen and (max-width: 560px) {
  .servo-product-summary,
  .servo-detail-panel,
  .servo-spec-section {
    padding: .9rem;
  }

  .servo-facts {
    grid-template-columns: 1fr;
  }

  .servo-contact-actions .btn {
    width: 100%;
  }

  .servo-capacity-filter {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .servo-capacity-filter a {
    padding: .55rem .35rem;
    font-size: .82rem;
  }
}

.servo-filter-page {
  padding: 2rem 0 2.6rem;
  background: #fff;
}

.big-wrapper.dark .servo-filter-page {
  background: #fff;
}

.servo-filter-page .container {
  max-width: 980px;
}

.servo-filter-page .breadcrumb {
  margin-bottom: 1rem;
  font-size: .88rem;
}

.servo-product-layout {
  grid-template-columns: minmax(240px, .9fr) minmax(300px, 1fr);
  gap: 1.6rem;
  align-items: center;
  margin-bottom: 1.6rem;
}

.servo-product-media,
.servo-product-summary,
.servo-spec-section {
  background: #fff;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.big-wrapper.dark .servo-product-media,
.big-wrapper.dark .servo-product-summary,
.big-wrapper.dark .servo-spec-section {
  background: #fff;
  border: 0;
}

.servo-product-media {
  min-height: 300px;
  padding: .5rem;
}

.servo-product-media img {
  width: min(100%, 430px);
  max-height: 360px;
  object-fit: contain;
}

.servo-product-summary {
  padding: .5rem 0;
  color: #030712;
}

.servo-product-summary h1 {
  max-width: 12ch;
  margin: 0 0 1rem;
  color: #07094b;
  font-family: "Sora", sans-serif;
  font-size: clamp(2rem, 4.4vw, 3.25rem);
  font-weight: 900;
  line-height: 1.02;
  text-transform: uppercase;
}

.big-wrapper.dark .servo-product-summary h1 {
  color: #07094b;
}

.servo-buy-box {
  display: grid;
  grid-template-columns: 76px minmax(180px, 260px);
  gap: .45rem;
  align-items: center;
  margin-bottom: 1.25rem;
}

.servo-buy-box input {
  width: 76px;
  min-height: 38px;
  padding: .35rem .45rem;
  color: #030712;
  background: #fff;
  border: 1px solid #111827;
  border-radius: 4px;
  font-size: 1.05rem;
  font-weight: 700;
  text-align: center;
}

.servo-basket-btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .6rem 1.15rem;
  color: #fff !important;
  background: #a45b9d;
  border: 0;
  border-radius: 4px;
  font-family: "Sora", sans-serif;
  font-size: 1.05rem;
  font-weight: 900;
  text-transform: uppercase;
  text-align: center;
}

.servo-price {
  margin: 0 0 .7rem;
  color: #5a963d;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  font-weight: 500;
}

.servo-shipping,
.servo-payment {
  margin: 0 0 .55rem;
  color: #000;
  font-size: clamp(1rem, 2.2vw, 1.45rem);
  line-height: 1.45;
}

.servo-payment strong {
  font-weight: 900;
}

.servo-select-label {
  display: block;
  margin: .9rem 0 .32rem;
  color: #111827;
  font-size: .88rem;
  font-weight: 900;
}

.servo-capacity-select {
  width: min(100%, 320px);
  min-height: 42px;
  padding: .45rem .7rem;
  color: #111827;
  background: #fff;
  border: 1px solid #111827;
  border-radius: 4px;
  font-weight: 800;
}

.servo-contact-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .7rem;
  margin: 1rem 0 0;
}

.servo-contact-btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .7rem .9rem;
  color: #fff !important;
  border-radius: 6px;
  font-family: "Sora", sans-serif;
  font-size: clamp(.95rem, 2vw, 1.22rem);
  font-weight: 800;
  text-align: center;
}

.servo-whatsapp-btn { background: #158b05; }
.servo-call-btn { background: #377fba; }

.servo-spec-section {
  margin-top: 1rem;
  padding: 0;
}

.servo-product-section {
  margin: 1.4rem 0 1.6rem;
}

.servo-section-heading {
  margin-bottom: .85rem;
}

.servo-section-heading h2 {
  margin: 0;
  color: #000;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.25rem, 2.6vw, 1.8rem);
  font-weight: 900;
}

.servo-section-heading p {
  max-width: 620px;
  margin: .28rem 0 0;
  color: #334155;
  font-size: .94rem;
  line-height: 1.45;
}

.servo-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .85rem;
}

.servo-mini-card {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  min-height: 148px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #d7dee8;
  border-radius: 8px;
}

.servo-mini-card-image {
  position: relative;
  display: block;
  min-height: 148px;
  background: #f8fafc;
}

.servo-mini-card-image span {
  position: absolute;
  top: .45rem;
  left: .45rem;
  z-index: 1;
  padding: .2rem .42rem;
  color: #fff;
  background: #0f766e;
  border-radius: 4px;
  font-size: .66rem;
  font-weight: 900;
  line-height: 1;
}

.servo-mini-card-image img {
  width: 100%;
  height: 100%;
  min-height: 148px;
  object-fit: contain;
  padding: .45rem;
}

.servo-mini-card-body {
  min-width: 0;
  padding: .75rem .78rem;
}

.servo-mini-card h3 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: .9rem;
  font-weight: 850;
  line-height: 1.25;
}

.servo-mini-card h3 a {
  color: #0f172a;
}

.servo-mini-price {
  margin: .45rem 0 .65rem;
  color: #23823a;
  font-family: "Sora", sans-serif;
  font-size: .98rem;
  font-weight: 900;
}

.servo-mini-card form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 72px;
  gap: .4rem;
  align-items: center;
}

.servo-mini-card button,
.servo-mini-card form a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .34rem .5rem;
  border-radius: 4px;
  font-size: .76rem;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
}

.servo-mini-card button {
  color: #fff;
  background: #a45b9d;
  border: 0;
}

.servo-mini-card form a {
  color: #111827;
  background: #fff;
  border: 1px solid #111827;
}

.big-wrapper.dark .servo-product-section,
.big-wrapper.dark .servo-section-heading h2,
.big-wrapper.dark .servo-mini-card h3 a {
  color: #000;
}

.big-wrapper.dark .servo-section-heading p {
  color: #334155;
}

.servo-spec-section h2 {
  margin: 0 0 1rem;
  color: #000;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 900;
}

.big-wrapper.dark .servo-spec-section h2 {
  color: #000;
}

.servo-spec-table-wrap {
  border: 0;
  border-radius: 0;
}

.servo-spec-table {
  min-width: 760px;
  border: 1px solid #000;
}

.servo-spec-table th,
.servo-spec-table td {
  padding: .8rem .7rem;
  color: #000;
  background: #fff;
  border: 1px solid #000;
  font-size: clamp(.9rem, 1.8vw, 1.1rem);
  line-height: 1.35;
  text-align: center;
  vertical-align: top;
  white-space: normal;
}

.servo-spec-table th {
  color: #000;
  background: #fff;
  font-family: "Nunito", sans-serif;
  font-size: clamp(1rem, 2vw, 1.18rem);
  font-weight: 800;
}

.servo-spec-table td:first-child,
.servo-spec-table th:first-child {
  width: 76px;
  font-weight: 900;
}

.servo-spec-table td:nth-child(2),
.servo-spec-table th:nth-child(2) {
  width: 34%;
}

.big-wrapper.dark .servo-spec-table th,
.big-wrapper.dark .servo-spec-table td {
  color: #000;
  background: #fff;
}

@media screen and (max-width: 768px) {
  .servo-filter-page {
    padding-top: 1rem;
  }

  .servo-filter-page .breadcrumb {
    display: none;
  }

  .servo-product-layout {
    grid-template-columns: 1fr 1fr;
    gap: .8rem;
    align-items: center;
  }

  .servo-mini-grid {
    grid-template-columns: 1fr;
  }

  .servo-product-media {
    min-height: 220px;
    align-items: flex-start;
    padding-top: 2.5rem;
  }

  .servo-product-media img {
    max-height: 230px;
  }

  .servo-product-summary h1 {
    font-size: clamp(1.65rem, 7vw, 2.35rem);
  }

  .servo-buy-box {
    grid-template-columns: 76px;
    gap: .25rem;
  }

  .servo-basket-btn {
    width: min(210px, 100%);
    min-height: 30px;
    padding: .45rem .65rem;
    font-size: .78rem;
  }

  .servo-contact-actions {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 140;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .55rem;
    padding: .45rem .55rem;
    margin: 0;
    background: #fff;
    box-shadow: 0 -8px 24px rgba(15,23,42,.16);
  }

  .servo-contact-btn {
    min-height: 60px;
    border-radius: 6px;
    font-size: 1.08rem;
  }

  .servo-spec-table {
    min-width: 510px;
  }

  .servo-spec-table th,
  .servo-spec-table td {
    padding: .68rem .45rem;
    font-size: .94rem;
  }
}

@media screen and (max-width: 520px) {
  .servo-product-layout {
    grid-template-columns: 48% 52%;
    gap: .35rem;
  }

  .servo-product-media {
    min-height: 190px;
    padding-top: 2.2rem;
  }

  .servo-product-summary h1 {
    font-size: clamp(1.25rem, 2vw, 1.75rem);
  }

  .servo-price {
    font-size: 1.35rem;
  }

  .servo-shipping,
  .servo-payment {
    font-size: 1.08rem;
  }

  .servo-capacity-select {
    width: 100%;
  }
}

.home-copy-section {
  padding-top: 4rem;
  padding-bottom: 4rem;
  background:
    linear-gradient(180deg, rgba(255,255,255,.72), rgba(240,246,255,.86)),
    radial-gradient(circle at 15% 12%, rgba(59,130,246,.12), transparent 34%);
}

.home-copy-panel {
  max-width: 1120px;
  margin: 0 auto;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: .75rem;
  padding: .34rem .72rem;
  color: #0b4f91;
  background: rgba(59,130,246,.1);
  border: 1px solid rgba(59,130,246,.18);
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.home-copy-panel h2,
.compact-heading h2 {
  margin-bottom: .9rem;
  color: var(--darkOne);
  font-family: "Sora", sans-serif;
  font-size: 2rem;
  line-height: 1.25;
  font-weight: 900;
  text-align: center;
}

.home-copy-panel h2 {
  text-align: left;
}

.home-copy-lead {
  max-width: 940px;
  margin-bottom: 1.5rem;
  color: var(--lightOne);
  font-size: 1.05rem;
  line-height: 1.8;
}

.home-copy-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: 1.25rem;
  align-items: stretch;
}

.home-copy-main {
  padding: 1.35rem;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(180,210,255,.45);
  border-radius: 8px;
  box-shadow: var(--shadowSm);
}

.home-copy-main p {
  margin-bottom: .9rem;
  color: var(--darkOne);
  font-size: 1rem;
  line-height: 1.85;
}

.home-copy-main p:last-child {
  margin-bottom: 0;
}

.home-support-card {
  padding: 1.35rem;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(23,79,128,.96), rgba(30,27,100,.92)),
    url("../assets/images/products/4.avif") center/cover no-repeat;
  border-radius: 8px;
  box-shadow: var(--shadowMd);
}

.home-support-card span {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: #fff;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%;
  font-size: 1.25rem;
}

.home-support-card h3 {
  margin-bottom: .7rem;
  color: #fff;
  font-family: "Sora", sans-serif;
  font-size: 1.2rem;
  font-weight: 900;
}

.home-support-card p {
  color: rgba(255,255,255,.88);
  line-height: 1.7;
}

.home-faq-section {
  padding-top: 4rem;
  padding-bottom: 4rem;
  background: #fff;
}

.compact-heading {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.home-faq-list {
  max-width: 1120px;
  margin: 1.5rem auto 0;
  border-top: 2px solid #111827;
}

.home-faq-item {
  border-bottom: 2px solid #111827;
}

.home-faq-question {
  width: 100%;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  color: #0f172a;
  background: transparent;
  border: 0;
  text-align: left;
  font-family: "Sora", sans-serif;
  font-size: 1.08rem;
  font-weight: 900;
}

.home-faq-question i {
  flex: 0 0 auto;
  font-size: 1.45rem;
  transition: transform .2s ease;
}

.home-faq-question:not(.collapsed) i {
  transform: rotate(45deg);
}

.home-faq-answer {
  padding: 0 1.15rem 1.2rem;
  color: #334155;
  font-size: 1rem;
  line-height: 1.75;
}

.home-testimonial-section {
  background: #111827;
}

.home-testimonial-slide {
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 4.5rem;
  background-position: center;
  background-size: cover;
}

.home-testimonial-content {
  max-width: 860px;
  margin: 0 auto;
  color: #fff;
  text-align: center;
}

.home-testimonial-logo {
  width: 94px;
  height: 94px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  background: #fff;
  border: 3px solid rgba(255,255,255,.8);
  border-radius: 50%;
  box-shadow: 0 20px 44px rgba(0,0,0,.32);
  overflow: hidden;
}

.home-testimonial-logo img {
  width: 70px;
  height: 70px;
  object-fit: contain;
}

.home-testimonial-content blockquote {
  margin: 0 auto 1rem;
  color: rgba(255,255,255,.92);
  font-family: "Sora", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.8;
}

.home-testimonial-content strong {
  color: #fff;
  font-size: .92rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.home-testimonial-section .carousel-indicators {
  bottom: 1.6rem;
  margin-bottom: 0;
}

.home-testimonial-section .carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 50%;
  background-color: #fb7185;
  opacity: .55;
}

.home-testimonial-section .carousel-indicators .active {
  opacity: 1;
}

.client-strip-section {
  padding-top: 2.8rem;
  padding-bottom: 1.2rem;
  background: #fff;
}

.home-client-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: .65rem;
  align-items: center;
}

.home-client-strip span {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .65rem;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
}

.home-client-strip img {
  max-width: 100%;
  max-height: 74px;
  object-fit: contain;
}

.big-wrapper.dark .home-copy-section,
.big-wrapper.dark .home-faq-section,
.big-wrapper.dark .client-strip-section {
  background: #0c1628;
}

.big-wrapper.dark .home-copy-main,
.big-wrapper.dark .home-client-strip span {
  background: rgba(17,30,54,.88);
  border-color: rgba(148,163,184,.24);
}

.big-wrapper.dark .home-copy-panel h2,
.big-wrapper.dark .compact-heading h2,
.big-wrapper.dark .home-copy-main p {
  color: #e5e7eb;
}

.big-wrapper.dark .home-faq-list,
.big-wrapper.dark .home-faq-item {
  border-color: rgba(226,232,240,.8);
}

.big-wrapper.dark .home-faq-question,
.big-wrapper.dark .home-faq-answer {
  color: #f8fafc;
}

.client-marquee-section {
  width: 95%;
  margin: .8rem auto 0;
  padding: .7rem .8rem;
  background:
    linear-gradient(135deg, rgba(15,49,88,.96), rgba(23,79,128,.94)),
    radial-gradient(circle at 10% 20%, rgba(255,255,255,.18), transparent 28%);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 10px;
  box-shadow: 0 16px 34px rgba(15,23,42,.16);
  overflow: hidden;
}

.client-marquee-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  margin-bottom: .6rem;
  color: #fff;
  font-family: "Sora", sans-serif;
  font-weight: 900;
}

.client-marquee-heading span {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
}

.client-marquee-heading i {
  color: #ffc928;
}

.client-marquee-heading a {
  flex: 0 0 auto;
  color: #0f3158;
  background: #fff;
  border-radius: 999px;
  padding: .34rem .8rem;
  text-decoration: none;
  font-size: .78rem;
  font-weight: 900;
}

.client-marquee-track {
  display: block;
  width: 100%;
  color: inherit;
  text-decoration: none;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.client-marquee-row {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  gap: .8rem;
  white-space: nowrap;
  will-change: transform;
  animation: clientMarquee 18s linear infinite;
}

.client-marquee-track:hover .client-marquee-row {
  animation-play-state: paused;
}

.client-marquee-item {
  width: 150px;
  flex: 0 0 auto;
  display: grid;
  gap: .35rem;
  padding: .45rem;
  color: #f8fafc;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
  overflow: hidden;
}

.client-marquee-item img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 2;
  object-fit: cover;
  border-radius: 7px;
  background: #fff;
}

.client-marquee-item small {
  color: #e0f2fe;
  font-size: .72rem;
  font-weight: 800;
  text-align: center;
}

@keyframes clientMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.client-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.client-gallery-card {
  overflow: hidden;
  background: var(--glass);
  border: 1px solid var(--glassBorder);
  border-radius: 8px;
  box-shadow: var(--shadowMd);
}

.client-gallery-card img {
  width: 100%;
  aspect-ratio: 4 / 2;
  object-fit: cover;
  background: #fff;
}

.client-gallery-card div {
  padding: .95rem;
}

.client-gallery-card span {
  color: var(--mainColor);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.client-gallery-card h2 {
  margin: .25rem 0 .35rem;
  color: var(--darkOne);
  font-size: 1rem;
  font-weight: 900;
}

.client-gallery-card p {
  margin: 0;
  color: var(--lightOne);
  font-size: .86rem;
  line-height: 1.5;
}

.filter-bar {
  background: var(--glass);
  border: 1px solid var(--glassBorder);
  border-radius: 8px;
  padding: .9rem;
  box-shadow: var(--shadowSm);
  margin-bottom: 1rem;
}
.form-control,
.form-select {
  border-radius: 8px;
  border-color: var(--surfaceBorder);
  background-color: rgba(255,255,255,.8);
  color: #172033;
}
.dark .form-control,
.dark .form-select {
  background-color: rgba(255,255,255,.06);
  color: #f8fafc;
  border-color: var(--surfaceBorder);
}
.dark .form-select option,
.dark .form-select optgroup {
  background: var(--surfaceColor);
  color: var(--darkOne);
}

.product-detail-hero {
  justify-content: center;
}

.detail-gallery {
  width: min(95vw, 100%);
  margin: 0 auto;
  display: grid;
  gap: .85rem;
}

.detail-gallery img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
  border: 1px solid var(--glassBorder);
  box-shadow: var(--shadowMd);
}
@media (min-width: 992px) {
  .product-detail-hero .detail-gallery {
    max-width: 760px;
  }
  .product-detail-hero .detail-gallery img {
    max-height: 420px;
  }
}
.product-thumb { cursor: zoom-in; transition: transform .25s ease; }
.product-thumb:hover { transform: scale(1.02); }
.spec-list { columns: 2; color: var(--lightOne); }

.mobile-bottom-nav {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  background: var(--glass);
  backdrop-filter: var(--glassBlur);
  border-top: 1px solid var(--glassBorder);
  box-shadow: var(--shadowLg);
}
.mobile-bottom-nav a {
  color: var(--darkOne);
  min-height: 58px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: .72rem;
  font-weight: 700;
}
.mobile-bottom-nav i { font-size: 1.15rem; }
.floating-message {
  position: fixed;
  left: 22px;
  bottom: 92px;
  z-index: 89;
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(145deg, #2563eb, #0f4f8f);
  border: 3px solid #fff;
  border-radius: 50%;
  font-size: 1.35rem;
  text-decoration: none;
  box-shadow: 0 16px 32px rgba(15,23,42,.24);
  transition: transform .25s ease, box-shadow .25s ease;
}

.floating-message:hover {
  color: #fff;
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 20px 38px rgba(15,23,42,.3);
}

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 88px;
  min-width: 286px;
  min-height: 74px;
  padding: .58rem 1.55rem .58rem 4.2rem;
  border-radius: 999px 10px 10px 999px;
  background: linear-gradient(135deg, #2d5d93 0%, #214a78 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-decoration: none;
  z-index: 89;
  box-shadow: 0 18px 38px rgba(15,23,42,.28);
  overflow: visible;
  transition: transform .25s ease, box-shadow .25s ease;
}

.floating-whatsapp::after {
  content: "";
  position: absolute;
  right: -28px;
  top: 0;
  width: 60px;
  height: 100%;
  background: inherit;
  transform: skewX(-22deg);
  transform-origin: left center;
  border-radius: 0 10px 10px 0;
  z-index: -1;
}

.floating-whatsapp:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 24px 46px rgba(15,23,42,.34);
}

.floating-whatsapp-icon {
  position: absolute;
  left: -6px;
  top: 50%;
  width: 78px;
  height: 78px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #35c84b;
  border: 6px solid #fff;
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(22,163,74,.34);
  transform: translateY(-50%);
  font-size: 2.35rem;
}

.floating-whatsapp-text {
  display: grid;
  line-height: 1;
}

.floating-whatsapp-text small {
  color: #f8fafc;
  font-family: "Sora", sans-serif;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: .01em;
}

.floating-whatsapp-text strong {
  color: #ffc928;
  font-family: "Sora", sans-serif;
  font-size: 1.92rem;
  font-weight: 900;
  letter-spacing: .01em;
}

.auth-page .floating-message,
.auth-page .floating-whatsapp {
  bottom: 18px;
}

.auth-standalone-page .big-wrapper {
  padding: 0;
  justify-content: center;
}

.auth-standalone-page .site-main {
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-page .site-main > .container.mt-3 {
  position: fixed;
  top: max(14px, env(safe-area-inset-top));
  left: 50%;
  z-index: 1080;
  width: min(92vw, 480px);
  margin: 0 !important;
  padding: 0 .75rem;
  transform: translateX(-50%);
  pointer-events: none;
}

.auth-page .site-main > .container.mt-3 .alert {
  display: flex;
  align-items: center;
  gap: .75rem;
  min-height: 54px;
  margin: 0;
  padding: .78rem 3rem .78rem 1rem;
  color: #7f1d1d;
  background: rgba(255, 241, 242, .96);
  border: 1px solid rgba(248, 113, 113, .32);
  border-left: 4px solid #dc2626;
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(15, 23, 42, .2);
  font-family: "Sora", sans-serif;
  font-size: .9rem;
  font-weight: 800;
  line-height: 1.35;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  pointer-events: auto;
}

.auth-page .site-main > .container.mt-3 .alert::before {
  content: "!";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  color: #fff;
  background: #dc2626;
  border-radius: 50%;
  font-size: .95rem;
  font-weight: 900;
  line-height: 1;
}

.auth-page .site-main > .container.mt-3 .btn-close {
  top: 50%;
  right: .9rem;
  width: .8rem;
  height: .8rem;
  padding: .45rem;
  transform: translateY(-50%);
  opacity: .68;
}

.auth-page .site-main > .container.mt-3 .btn-close:focus {
  box-shadow: 0 0 0 .18rem rgba(220, 38, 38, .16);
}

.auth-page.dark .site-main > .container.mt-3 .alert,
.auth-page .big-wrapper.dark .site-main > .container.mt-3 .alert {
  color: #fecaca;
  background: rgba(69, 10, 10, .88);
  border-color: rgba(248, 113, 113, .28);
  border-left-color: #ef4444;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .38);
}

.auth-standalone-page .auth-section {
  width: 100%;
  padding: 2rem 0;
}

@media screen and (max-width: 576px) {
  .auth-page .site-main > .container.mt-3 {
    top: max(10px, env(safe-area-inset-top));
    width: 100%;
    padding: 0 .9rem;
  }

  .auth-page .site-main > .container.mt-3 .alert {
    min-height: 50px;
    padding: .68rem 2.75rem .68rem .75rem;
    font-size: .82rem;
  }

  .auth-page .site-main > .container.mt-3 .alert::before {
    flex-basis: 26px;
    width: 26px;
    height: 26px;
    font-size: .82rem;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .floating-message {
    left: 16px;
    bottom: 84px;
    width: 48px;
    height: 48px;
    font-size: 1.18rem;
  }

  .floating-whatsapp {
    right: 18px;
    bottom: 82px;
    min-width: 238px;
    min-height: 64px;
    padding-left: 3.65rem;
    padding-right: 1.1rem;
  }

  .floating-whatsapp::after {
    right: -22px;
    width: 48px;
  }

  .floating-whatsapp-icon {
    width: 68px;
    height: 68px;
    border-width: 5px;
    font-size: 2rem;
  }

  .floating-whatsapp-text small {
    font-size: .92rem;
  }

  .floating-whatsapp-text strong {
    font-size: 1.52rem;
  }
}

.admin-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); min-height: 100vh; }
.admin-sidebar { background: #0f172a; color: #fff; padding: 1rem; }
.admin-sidebar a {
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem;
  border-radius: 8px;
}
.admin-sidebar a i {
  flex: 0 0 auto;
  font-size: 1rem;
  line-height: 1;
}
.admin-sidebar a:hover, .admin-sidebar a.active { color: #fff; background: rgba(255,255,255,.1); }
.admin-content { padding: 1rem; background: var(--backgroundColor); }
.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.admin-topbar-actions {
  display: flex;
  align-items: center;
  gap: .55rem;
}
.admin-layout.light .toggle-btn i:last-child { display: none; }
.admin-layout.light .toggle-btn i:first-child { display: block; }
.admin-layout.dark .toggle-btn i:last-child { display: block; }
.admin-layout.dark .toggle-btn i:first-child { display: none; }
.admin-layout.dark .admin-content {
  background: #0c1628;
  color: #e5e7eb;
}
.admin-layout.dark .admin-topbar h1,
.admin-layout.dark .panel-card,
.admin-layout.dark .dashboard-card,
.admin-layout.dark .form-label,
.admin-layout.dark label,
.admin-layout.dark h1,
.admin-layout.dark h2,
.admin-layout.dark h3,
.admin-layout.dark h4,
.admin-layout.dark h5,
.admin-layout.dark h6,
.admin-layout.dark p,
.admin-layout.dark small {
  color: #e5e7eb;
}
.admin-layout.dark .panel-card,
.admin-layout.dark .dashboard-card,
.admin-layout.dark .filter-bar {
  background: rgba(17,30,54,.88);
  border-color: rgba(148,163,184,.24);
  box-shadow: 0 16px 34px rgba(0,0,0,.28);
}
.admin-layout.dark .text-muted {
  color: #a9b8cc !important;
}
.admin-layout.dark .table {
  --bs-table-bg: transparent;
  --bs-table-color: #e5e7eb;
  --bs-table-border-color: rgba(148,163,184,.22);
  --bs-table-striped-color: #e5e7eb;
  --bs-table-hover-color: #fff;
  color: #e5e7eb;
}
.admin-layout.dark .table th,
.admin-layout.dark .table td {
  color: #e5e7eb;
  border-color: rgba(148,163,184,.22);
}
.admin-layout.dark .table strong {
  color: #f8fafc;
}
.admin-layout.dark .form-control,
.admin-layout.dark .form-select {
  background-color: rgba(15,23,42,.78);
  border-color: rgba(148,163,184,.3);
  color: #f8fafc;
}
.admin-layout.dark .form-control::placeholder {
  color: #94a3b8;
}
.admin-layout.dark .form-select option {
  color: #f8fafc;
  background: #111827;
}
.admin-layout.dark .icon-btn,
.admin-layout.dark .toggle-btn {
  background: rgba(15,23,42,.82);
  border-color: rgba(148,163,184,.28);
  color: #e0f2fe;
  box-shadow: none;
}
.admin-layout.dark .icon-btn:hover,
.admin-layout.dark .toggle-btn:hover {
  background: rgba(96,165,250,.16);
  color: #fff;
}
.admin-layout.dark .dropdown-menu {
  background: #111827;
  border-color: rgba(148,163,184,.28);
  box-shadow: 0 18px 38px rgba(0,0,0,.35);
}
.admin-layout.dark .dropdown-item {
  color: #e5e7eb;
}
.admin-layout.dark .dropdown-item:hover,
.admin-layout.dark .dropdown-item:focus {
  background: rgba(96,165,250,.16);
  color: #fff;
}
.admin-layout.dark .btn-outline-soft {
  background: rgba(15,23,42,.7);
  border-color: rgba(148,163,184,.3);
  color: #f8fafc !important;
}
.dashboard-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.dashboard-card {
  position: relative;
  overflow: hidden;
  padding: 1rem;
}
.dashboard-card-icon {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #2563eb;
  background: rgba(37,99,235,.1);
  border: 1px solid rgba(37,99,235,.12);
  border-radius: 8px;
  font-size: 1rem;
  line-height: 1;
}
.dashboard-card .metric { font-size: 1.75rem; font-weight: 900; color: var(--mainColor); }
.table-responsive { border-radius: 8px; box-shadow: var(--shadowSm); }

[dir="rtl"] .links a { margin-left: 0; margin-right: 1.8rem; }
[dir="rtl"] .discount-badge { left: auto; right: .55rem; }

@media (max-width: 991px) {
  .hero-panel { grid-template-columns: 1fr; }
  .hero-visual { min-height: 240px; }
  .home-copy-grid { grid-template-columns: 1fr; }
  .home-client-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .client-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { position: sticky; top: 0; z-index: 80; display: flex; gap: .35rem; overflow-x: auto; }
  .admin-sidebar a { white-space: nowrap; }
  .dashboard-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  body.admin-page {
    padding-top: calc(64px + env(safe-area-inset-top));
    padding-bottom: 0;
    background: #f4f7fb;
    font-size: .88rem;
  }

  .admin-layout {
    display: block;
    min-height: 100vh;
    background:
      linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%);
  }

  .admin-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1200;
    height: calc(64px + env(safe-area-inset-top));
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(48px, 1fr);
    gap: .16rem;
    align-items: center;
    padding: calc(.3rem + env(safe-area-inset-top)) .42rem .32rem;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    background:
      linear-gradient(180deg, rgba(9,15,29,.98), rgba(15,23,42,.98));
    border-bottom: 1px solid rgba(148,163,184,.24);
    box-shadow: 0 10px 24px rgba(15,23,42,.22);
  }

  .admin-sidebar::-webkit-scrollbar {
    display: none;
  }

  .admin-sidebar a {
    width: 100%;
    min-width: 48px;
    height: 52px;
    display: grid;
    grid-template-rows: 27px 10px;
    justify-items: center;
    align-content: center;
    gap: .08rem;
    padding: .28rem .18rem;
    color: #cbd5e1;
    border: 1px solid transparent;
    border-radius: 12px;
    white-space: nowrap;
    line-height: 1;
    transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
  }

  .admin-sidebar a i {
    width: 27px;
    height: 27px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.08rem;
    color: inherit;
    border-radius: 10px;
  }

  .admin-sidebar a span {
    display: block;
    max-width: 100%;
    overflow: hidden;
    color: inherit;
    font-family: "Sora", sans-serif;
    font-size: .46rem;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: 0;
    text-overflow: ellipsis;
    opacity: .82;
  }

  .admin-sidebar a:hover,
  .admin-sidebar a:focus,
  .admin-sidebar a.active {
    color: #fff;
    background: rgba(255,255,255,.1);
    border-color: rgba(255,255,255,.16);
  }

  .admin-sidebar a.active {
    color: #fff;
    background: linear-gradient(180deg, #2563eb, #0f8fc9);
    border-color: rgba(255,255,255,.2);
    box-shadow: 0 8px 16px rgba(37,99,235,.28);
  }

  .admin-sidebar a.active span {
    opacity: 1;
  }

  .admin-content {
    min-height: calc(100vh - 64px);
    padding: .72rem .68rem 1rem;
  }

  .admin-topbar {
    position: sticky;
    top: calc(64px + env(safe-area-inset-top));
    z-index: 70;
    margin: -.72rem -.68rem .78rem;
    padding: .54rem .68rem;
    background: rgba(248,250,252,.94);
    border-bottom: 1px solid rgba(203,213,225,.72);
    box-shadow: 0 8px 18px rgba(15,23,42,.07);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }

  .admin-topbar h1 {
    min-width: 0;
    overflow: hidden;
    color: #0f172a;
    font-size: .98rem;
    line-height: 1.2;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .admin-topbar-actions {
    flex: 0 0 auto;
    gap: .34rem;
  }

  .admin-topbar-actions .icon-btn,
  .admin-topbar-actions .toggle-btn {
    width: 32px;
    height: 32px;
    font-size: .86rem;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(15,23,42,.08);
  }

  .admin-topbar-actions .dropdown-toggle::after {
    display: none;
  }

  .admin-content .alert {
    margin-bottom: .7rem;
    padding: .58rem .7rem;
    border-radius: 8px;
    font-size: .78rem;
    line-height: 1.35;
  }

  .admin-content .row {
    --bs-gutter-x: .65rem;
    --bs-gutter-y: .65rem;
  }

  .dashboard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .62rem;
    margin-bottom: .75rem !important;
  }

  .dashboard-card {
    position: relative;
    min-height: 88px;
    display: grid;
    align-content: space-between;
    gap: .35rem;
    padding: .72rem;
    overflow: hidden;
    background: rgba(255,255,255,.9);
    border-color: rgba(203,213,225,.78);
    box-shadow: 0 10px 22px rgba(15,23,42,.08);
  }

  .dashboard-card::before {
    display: none;
  }

  .dashboard-card-icon {
    top: .62rem;
    right: .62rem;
    width: 28px;
    height: 28px;
    color: #174f80;
    background: linear-gradient(180deg, rgba(37,99,235,.14), rgba(14,165,233,.1));
    border-color: rgba(37,99,235,.14);
    border-radius: 10px;
    font-size: .9rem;
  }

  .dashboard-card .text-muted {
    max-width: calc(100% - 34px);
    color: #64748b !important;
    font-family: "Sora", sans-serif;
    font-size: .62rem;
    font-weight: 900;
    line-height: 1.15;
    text-transform: uppercase;
  }

  .dashboard-card .metric {
    min-width: 0;
    color: #174f80;
    font-size: clamp(1.05rem, 6vw, 1.45rem);
    line-height: 1.05;
    overflow-wrap: anywhere;
  }

  .panel-card {
    padding: .75rem !important;
    background: rgba(255,255,255,.92);
    border-color: rgba(203,213,225,.78);
    box-shadow: 0 10px 24px rgba(15,23,42,.08);
  }

  .panel-card h2,
  .panel-card h3,
  .panel-card .h5 {
    margin-bottom: .58rem;
    color: #0f172a;
    font-size: .9rem;
    line-height: 1.2;
    font-weight: 900;
  }

  .admin-content .table-responsive {
    margin: 0 -.2rem;
    border-radius: 8px;
    box-shadow: none;
  }

  .admin-content .table {
    margin-bottom: 0;
    font-size: .75rem;
    line-height: 1.25;
  }

  .admin-content .table th,
  .admin-content .table td {
    padding: .52rem .45rem;
    vertical-align: middle;
    white-space: nowrap;
  }

  .admin-content .table td:first-child,
  .admin-content .table th:first-child {
    padding-left: .25rem;
  }

  .admin-content small {
    font-size: .68rem;
    line-height: 1.25;
  }

  .admin-content .form-label,
  .admin-content label {
    margin-bottom: .28rem;
    color: #334155;
    font-size: .7rem;
    line-height: 1.2;
    font-weight: 900;
  }

  .admin-content .form-control,
  .admin-content .form-select {
    min-height: 40px;
    border-radius: 8px;
    font-size: .82rem;
  }

  .admin-content textarea.form-control {
    min-height: 92px;
  }

  .admin-content .btn,
  .admin-content .btn-outline-soft,
  .admin-content .btn-outline-danger {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .25rem;
    padding: .44rem .62rem;
    border-radius: 8px;
    font-size: .72rem;
    line-height: 1.1;
    font-weight: 900;
  }

  body.admin-page.dark {
    background: #0c1628;
  }

  .admin-layout.dark {
    background: linear-gradient(180deg, #0c1628 0%, #111827 100%);
  }

  .admin-layout.dark .admin-topbar {
    background: rgba(12,22,40,.94);
    border-bottom-color: rgba(148,163,184,.22);
    box-shadow: 0 8px 20px rgba(0,0,0,.22);
  }

  .admin-layout.dark .dashboard-card,
  .admin-layout.dark .panel-card {
    background: rgba(17,30,54,.9);
  }

  .admin-layout.dark .dashboard-card .metric {
    color: #93c5fd;
  }

  .admin-layout.dark .dashboard-card-icon {
    color: #bfdbfe;
    background: rgba(96,165,250,.12);
    border-color: rgba(147,197,253,.16);
  }
}

@media (max-width: 380px) {
  body.admin-page {
    font-size: .84rem;
  }

  .admin-sidebar {
    grid-auto-columns: minmax(45px, 1fr);
    gap: .12rem;
    padding-left: .32rem;
    padding-right: .32rem;
  }

  .admin-sidebar a {
    min-width: 45px;
    padding-left: .12rem;
    padding-right: .12rem;
  }

  .admin-sidebar a i {
    font-size: 1rem;
  }

  .admin-sidebar a span {
    font-size: .42rem;
  }

  .dashboard-grid {
    gap: .5rem;
  }

  .dashboard-card {
    min-height: 82px;
    padding: .62rem;
  }

  .dashboard-card .metric {
    font-size: 1.08rem;
  }
}

@media (max-width: 768px) {
  body { padding-bottom: 62px; }
  .mobile-bottom-nav { display: grid; grid-template-columns: repeat(4, 1fr); }
  .home-copy-section,
  .home-faq-section {
    padding-top: 2.2rem;
    padding-bottom: 2.2rem;
  }
  .home-copy-panel h2,
  .compact-heading h2 {
    font-size: 1.45rem;
    text-align: center;
  }
  .home-copy-lead,
  .home-copy-main p,
  .home-faq-answer {
    font-size: .94rem;
    line-height: 1.7;
  }
  .home-copy-main,
  .home-support-card {
    padding: 1rem;
  }
  .home-faq-question {
    min-height: 64px;
    padding: .85rem .45rem;
    font-size: .95rem;
  }
  .home-faq-question i {
    font-size: 1.15rem;
  }
  .home-faq-answer {
    padding: 0 .45rem 1rem;
  }
  .home-testimonial-slide {
    min-height: 330px;
    padding: 2rem 2.8rem 3.6rem;
  }
  .home-testimonial-logo {
    width: 78px;
    height: 78px;
  }
  .home-testimonial-logo img {
    width: 56px;
    height: 56px;
  }
  .home-testimonial-content blockquote {
    font-size: .95rem;
    line-height: 1.65;
  }
  .home-client-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-client-strip span {
    min-height: 82px;
  }
  .client-marquee-section {
    margin-top: .5rem;
    padding: .48rem .5rem;
    border-radius: 8px;
  }
  .client-marquee-heading {
    margin-bottom: .45rem;
    font-size: .78rem;
  }
  .client-marquee-heading a {
    padding: .28rem .55rem;
    font-size: .68rem;
  }
  .client-marquee-row {
    gap: .5rem;
    animation-duration: 14s;
  }
  .client-marquee-item {
    width: 112px;
    padding: .34rem;
  }
  .client-marquee-item small {
    font-size: .62rem;
  }
  .client-gallery-grid { grid-template-columns: 1fr; }
  .product-title { font-size: .86rem; }
  .product-desc { font-size: .76rem; }
  .product-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .42rem;
  }
  .product-actions form {
    min-width: 0;
  }
  .product-actions .btn,
  .product-actions .btn-outline-soft {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .28rem;
    padding: .48rem .28rem;
    font-size: clamp(.68rem, 3.2vw, .78rem);
    line-height: 1.12;
    white-space: normal;
    text-align: center;
  }
  .product-actions .whatsapp-btn,
  .product-actions a[href^="tel:"] {
    font-size: .95rem;
  }
  .spec-list { columns: 1; }
  body:not(.admin-page) .dashboard-grid { grid-template-columns: 1fr; }
}

/* N.N.K Power System business header */
.big-wrapper { padding-top: 0; }

.site-header {
  background: #fff;
  box-shadow: 0 8px 28px rgba(15,23,42,.08);
}

.site-header::after { display: none; }
.site-header .container {
  width: 95%;
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.header-top-strip {
  background: #f5f7fa;
  border-bottom: 1px solid #e5e7eb;
}

.header-top-inner,
.brand-band-inner,
.main-nav-bar .nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-top-inner {
  min-height: 44px;
  gap: 1rem;
}

.header-top-inner p {
  margin: 0;
  color: #071a33;
  font-family: "Sora", sans-serif;
  font-size: 1rem;
  font-weight: 800;
  text-shadow:
    0 1px 0 rgba(255,255,255,.9),
    0 2px 7px rgba(15,49,88,.16);
  letter-spacing: .01em;
}

.mobile-welcome-logo {
  display: none;
}

.header-gstin {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-left: auto;
  padding: .35rem .75rem;
  color: #0f3f68;
  background: #e8f1fb;
  border: 1px solid #cfe0f3;
  border-radius: 999px;
  font-size: .84rem;
  font-weight: 900;
  white-space: nowrap;
}

.social-follow {
  display: flex;
  align-items: center;
  gap: .15rem;
  color: #111827;
  font-weight: 800;
  white-space: nowrap;
}

.social-follow a {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #15508a;
  border-left: 1px solid #d1d5db;
  transition: background .2s ease, color .2s ease;
}

.social-follow a:hover {
  background: #e8f1fb;
  color: #0b4f91;
}

.brand-band { background: #fff; }

.brand-band-inner {
  min-height: 148px;
  gap: clamp(.75rem, 1.5vw, 1.2rem);
}

.brand-band .logo {
  min-width: 300px;
  gap: .8rem;
}

.brand-band .logo img {
  width: 106px;
  height: 106px;
  margin: 0;
  border-radius: 22px;
  object-fit: contain;
  padding: .35rem;
  background:
    linear-gradient(145deg, rgba(255,255,255,.96), rgba(226,232,240,.92));
  border: 1px solid rgba(148,163,184,.28);
  box-shadow:
    0 18px 30px rgba(15,23,42,.18),
    inset 0 1px 0 rgba(255,255,255,.95),
    inset 0 -10px 18px rgba(15,23,42,.06);
  transform: perspective(650px) rotateX(4deg) rotateY(-8deg);
  transition: transform .28s ease, box-shadow .28s ease;
}

.brand-band .logo:hover img {
  transform: perspective(650px) rotateX(0deg) rotateY(0deg) translateY(-3px);
  box-shadow:
    0 24px 42px rgba(15,23,42,.22),
    inset 0 1px 0 rgba(255,255,255,.95),
    inset 0 -10px 18px rgba(15,23,42,.06);
}

.brand-band .logo .logo-text {
  margin: 0;
  color: #172554;
  font-size: 1.45rem;
  line-height: 1.05;
  letter-spacing: .02em;
}

.brand-band .logo .logo-text span {
  color: #dc2626;
  font-size: 1.05rem;
}

.header-business-panel {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: .75rem;
}

.header-contact-grid {
  display: grid;
  grid-template-columns: minmax(390px, .95fr) minmax(360px, 1.05fr);
  gap: clamp(.8rem, 2vw, 1.35rem);
  align-items: center;
}

.header-contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
  padding: .85rem;
  color: #111827;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
}

.header-contact-card:hover { color: #0b4f91; }

.header-contact-card span:last-child {
  display: grid;
  gap: .2rem;
  min-width: 0;
}

.header-connect-card .header-connect-lines {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .7rem;
  align-items: center;
}

.header-connect-lines a {
  min-width: 0;
  display: grid;
  gap: .16rem;
  color: inherit;
  text-decoration: none;
}

.header-connect-lines a + a {
  padding-left: .7rem;
  border-left: 1px solid #dbe1ea;
}

.header-contact-card strong {
  font-size: 1rem;
  font-weight: 900;
  overflow-wrap: break-word;
  word-break: normal;
}

.header-contact-card small {
  color: #334155;
  font-size: .92rem;
  font-weight: 700;
}

.header-contact-icon {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 58px;
  color: #ef4444;
  border: 1px solid #dbe1ea;
  transform: rotate(45deg);
  background: #fff;
}

.header-contact-icon i {
  transform: rotate(-45deg);
  font-size: 1.25rem;
}

.brand-band .nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .45rem;
}

.brand-band .icon-btn,
.brand-band .toggle-btn {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #164e83;
  box-shadow: none;
}

.big-wrapper.dark .site-header {
  background: #0f172a;
  box-shadow: 0 8px 28px rgba(0,0,0,.38);
}

.big-wrapper.dark .header-top-strip {
  background: #111827;
  border-bottom-color: rgba(96,165,250,.18);
}

.big-wrapper.dark .header-top-inner p,
.big-wrapper.dark .social-follow {
  color: #f8fafc;
}

.big-wrapper.dark .header-top-inner p {
  color: #f8fbff;
  text-shadow:
    0 1px 0 rgba(0,0,0,.7),
    0 0 12px rgba(96,165,250,.32);
}

.big-wrapper.dark .header-gstin {
  color: #dbeafe;
  background: rgba(96,165,250,.14);
  border-color: rgba(96,165,250,.22);
}

.big-wrapper.dark .social-follow a {
  color: #bfdbfe;
  border-left-color: rgba(148,163,184,.24);
}

.big-wrapper.dark .social-follow a:hover {
  background: rgba(96,165,250,.14);
  color: #fff;
}

.big-wrapper.dark .brand-band {
  background: #0f172a;
}

.big-wrapper.dark .brand-band .logo img {
  background:
    linear-gradient(145deg, rgba(30,41,59,.96), rgba(15,23,42,.94));
  border: 1px solid rgba(148,163,184,.22);
  box-shadow:
    0 18px 34px rgba(0,0,0,.42),
    inset 0 1px 0 rgba(255,255,255,.1),
    inset 0 -10px 18px rgba(0,0,0,.24);
}

.big-wrapper.dark .brand-band .logo .logo-text {
  color: #f8fafc;
}

.big-wrapper.dark .brand-band .logo .logo-text span {
  color: #fca5a5;
}

.big-wrapper.dark .header-contact-card {
  color: #f8fafc;
  background: #111827;
  border-color: rgba(148,163,184,.24);
}

.big-wrapper.dark .header-contact-card:hover {
  color: #bfdbfe;
}

.big-wrapper.dark .header-contact-card small {
  color: #cbd5e1;
}

.big-wrapper.dark .header-connect-lines a + a {
  border-left-color: rgba(148,163,184,.28);
}

.big-wrapper.dark .header-contact-icon {
  color: #f87171;
  background: #111827;
  border-color: rgba(148,163,184,.28);
}

.big-wrapper.dark .brand-band .icon-btn,
.big-wrapper.dark .brand-band .toggle-btn {
  background: rgba(15,23,42,.82);
  border-color: rgba(148,163,184,.28);
  color: #e0f2fe;
}

.big-wrapper.dark .brand-band .icon-btn:hover,
.big-wrapper.dark .brand-band .toggle-btn:hover {
  background: rgba(96,165,250,.16);
  color: #fff;
}

.big-wrapper.dark .brand-band .dropdown-menu {
  background: #111827;
  border-color: rgba(148,163,184,.28);
  box-shadow: 0 18px 38px rgba(0,0,0,.35);
}

.big-wrapper.dark .brand-band .dropdown-item {
  color: #e5e7eb;
}

.big-wrapper.dark .brand-band .dropdown-item:hover,
.big-wrapper.dark .brand-band .dropdown-item:focus {
  background: rgba(96,165,250,.16);
  color: #fff;
}

.big-wrapper.dark .main-nav-bar {
  background: #0b3b63;
}

.big-wrapper.dark .main-nav-bar .links li {
  border-left-color: rgba(255,255,255,.22);
}

.big-wrapper.dark .main-nav-bar .links li:last-child {
  border-right-color: rgba(255,255,255,.22);
}

.big-wrapper.dark .main-nav-bar .links > ul > li:hover > a,
.big-wrapper.dark .main-nav-bar .links > ul > li.open > a {
  background: #172554;
}

.main-nav-bar { background: #174f80; }
.main-nav-bar .nav-shell { min-height: 58px; }
.main-nav-bar .links { width: 100%; }
.main-nav-bar .links ul {
  display: flex;
  align-items: stretch;
  justify-content: space-evenly;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}
.main-nav-bar .links li {
  display: flex;
  flex: 1 1 0;
  border-left: 1px solid rgba(255,255,255,.38);
}
.main-nav-bar .links li:last-child { border-right: 1px solid rgba(255,255,255,.38); }

.main-nav-bar .links a {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  margin: 0;
  padding: 0 1.05rem;
  color: #fff;
  font-family: "Sora", sans-serif;
  font-size: .88rem;
  font-weight: 800;
  white-space: nowrap;
  text-align: center;
}

.main-nav-bar .links a::after { display: none; }

.main-nav-bar .links > ul > li:hover > a,
.main-nav-bar .links > ul > li.open > a {
  color: #fff;
  background: #1e1b64;
  transform: none;
}

.main-nav-bar .mega-menu {
  top: 100%;
  width: min(1120px, calc(100vw - 2rem));
}

[dir="rtl"] .main-nav-bar .links a {
  margin-right: 0;
}

@media screen and (max-width: 1040px) {
  .brand-band-inner {
    min-height: auto;
    padding-top: 1rem;
    padding-bottom: 1rem;
    align-items: stretch;
    flex-wrap: wrap;
  }

  .brand-band .logo {
    min-width: 250px;
  }

  .header-business-panel {
    flex-basis: 100%;
  }

  .header-contact-grid {
    width: 100%;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: .8rem;
  }

  .header-contact-icon {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }
}

@media screen and (max-width: 870px) {
  .site-header .container {
    width: 95%;
    padding: 0;
  }
  .header-top-inner {
    min-height: 30px;
    flex-wrap: wrap;
    gap: .28rem;
    padding-top: .12rem;
    padding-bottom: .16rem;
  }
  .header-top-inner p {
    font-size: .57rem;
    line-height: 1.08;
  }
  .header-gstin {
    order: 3;
    width: 100%;
    justify-content: center;
    margin-left: 0;
    padding: .24rem .5rem;
    border-radius: 7px;
    font-size: .68rem;
    line-height: 1.15;
  }
  .mobile-welcome-logo {
    display: inline-block;
    width: 24px;
    height: 24px;
    margin-right: .32rem;
    object-fit: contain;
    vertical-align: middle;
  }
  .social-follow span { display: none; }
  .social-follow a {
    width: 30px;
    height: 30px;
    font-size: .92rem;
  }

  .brand-band-inner {
    display: block;
    padding-top: .34rem;
    padding-bottom: .42rem;
  }

  .header-business-panel {
    width: 100%;
    gap: .38rem;
  }

  .brand-band .logo { display: none; }
  .brand-band .logo img { width: 64px; height: 64px; }
  .brand-band .logo .logo-text { display: none; }
  .brand-band .logo .logo-text span { font-size: .82rem; }
  .brand-band .nav-actions {
    display: grid;
    grid-template-columns: 1fr repeat(5, 31px);
    width: 100%;
    justify-content: stretch;
    align-items: center;
  }
  .brand-band .icon-btn,
  .brand-band .toggle-btn {
    width: 31px;
    height: 31px;
    font-size: .86rem;
  }
  .brand-band .dropdown {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }
  .brand-band .js-theme-toggle {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
  }
  .brand-band .hamburger-menu {
    grid-column: 6;
    grid-row: 1;
    justify-self: end;
    width: 38px;
    height: 28px;
  }

  .brand-band .hamburger-menu .bar {
    width: 30px;
    height: 2.5px;
  }

  .brand-band .hamburger-menu .bar::before { transform: translateY(-7px); }
  .brand-band .hamburger-menu .bar::after { transform: translateY(7px); }
  .brand-band .cart-link {
    grid-column: 5;
    grid-row: 1;
    justify-self: end;
  }
  .brand-band .nav-actions > .icon-btn:not(.cart-link) {
    grid-column: 4;
    grid-row: 1;
    justify-self: end;
  }
  .brand-band .nav-actions.guest-actions {
    grid-template-columns: 2fr repeat(4, 31px);
  }
  .brand-band .nav-actions.guest-actions .hamburger-menu {
    grid-column: 5;
  }

  .header-contact-grid {
    grid-template-columns: 1fr;
    width: 100%;
    gap: .30rem;
    margin-top: .30rem;
  }

  .header-contact-card {
    width: 100%;
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: .52rem;
    min-width: 0;
    padding: .42rem .52rem;
    align-items: center;
    border-radius: 9px;
  }

  .big-wrapper.dark .header-contact-card {
    background: #111827;
    border-color: rgba(148,163,184,.24);
  }

  .header-contact-icon {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
  }

  .header-contact-icon i { font-size: .72rem; }

  .header-contact-card strong,
  .header-contact-card small {
    font-size: .72rem;
    line-height: 1.15;
  }

  .header-connect-card .header-connect-lines {
    grid-template-columns: 1fr 1fr;
    gap: .32rem;
  }

  .header-connect-lines a + a {
    padding-left: .32rem;
  }

  .header-address-card strong,
  .header-address-card small {
    font-size: .7rem;
  }

  .main-nav-bar .nav-shell {
    min-height: 0;
    padding: 0;
  }

  .main-nav-bar .links {
    top: 0;
    left: 0;
    right: auto;
    width: min(360px, 100vw);
    max-width: 100vw;
    z-index: 160;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 4.75rem .8rem 1.25rem;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }


  .main-nav-bar .links ul {
    width: 100%;
    align-items: stretch;
    padding-bottom: 0;
  }

  .main-nav-bar .links ul > li {
    width: 100%;
    display: block;
  }

  .main-nav-bar .links ul li:first-child { margin-top: 0; }

  .main-nav-bar .links li,
  .main-nav-bar .links li:last-child {
    border: 0;
  }

  .main-nav-bar .mega-item {
    width: 100%;
  }

  .main-nav-bar .links a {
    display: flex;
    width: 100%;
    min-height: 44px;
    justify-content: space-between;
    align-items: center;
    padding: .75rem .9rem;
    border-radius: 10px;
    white-space: normal;
    overflow-wrap: normal;
    word-break: normal;
    line-height: 1.25;
    text-align: left;
    background: rgba(255,255,255,.04);
    margin: 0 0 .4rem;
  }

  .main-nav-bar .mega-menu {
    display: none;
    position: static;
    left: 0;
    right: auto;
    width: 100%;
    min-width: 0;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    grid-template-columns: 1fr;
    gap: .35rem;
    max-height: none;
    overflow: visible;
    margin: .35rem 0 .65rem 0;
    padding: .45rem;
    background: rgba(15,23,42,.72);
    border: 1px solid rgba(148,163,184,.26);
    border-radius: 10px;
  }

  .main-nav-bar .mega-item.open .mega-menu {
    display: contents;
  }

  .main-nav-bar .mega-menu a {
    width: 100%;
    min-height: auto;
    display: block;
    padding: .68rem .78rem;
    color: #f8fafc;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(148,163,184,.2);
    border-radius: 8px;
    font-size: .76rem;
    line-height: 1.3;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    overflow-wrap: normal;
    word-break: normal;
    text-align: left;
    margin: 0 0 .35rem;
  }

  .main-nav-bar .mega-menu a:hover {
    background: rgba(37,99,235,.72);
  }
}

@media screen and (max-width: 520px) {
  .header-contact-grid { grid-template-columns: 1fr; }
  .header-top-inner {
    gap: .22rem;
    justify-content: center;
  }
  .brand-band .nav-actions {
    padding-right: 0.8rem;
    grid-template-columns: 1fr repeat(5, 30px);
  }
  .brand-band .nav-actions.guest-actions {
    grid-template-columns: 1fr repeat(4, 30px);
  }
  .brand-band .icon-btn,
  .brand-band .toggle-btn {
    width: 30px;
    height: 30px;
  }

  .header-top-inner p {
    max-width: calc(100% - 116px);
    line-height: 1.08;
  }

  .mobile-welcome-logo {
    width: 22px;
    height: 22px;
    margin-right: .25rem;
  }

  .main-nav-bar .mega-menu a {
    padding: .58rem .62rem;
    font-size: .74rem;
    line-height: 1.28;
  }

  .header-contact-card {
    grid-template-columns: 28px minmax(0, 1fr);
    padding: .4rem .48rem;
  }

  .header-connect-card .header-connect-lines {
    grid-template-columns: 1fr 1fr;
    gap: .25rem;
  }

  .header-connect-lines a + a {
    padding-left: .25rem;
    padding-top: 0;
    border-left: 1px solid #dbe1ea;
    border-top: 0;
  }

  .big-wrapper.dark .header-connect-lines a + a {
    border-left-color: rgba(148,163,184,.28);
  }

  .header-contact-card strong,
  .header-contact-card small {
    font-size: .66rem;
    line-height: 1.13;
  }

  .header-address-card strong,
  .header-address-card small {
    font-size: .65rem;
  }
}

.mobile-hero-offer,
.mobile-online-popup,
.mobile-contact-bubble,
.mobile-contact-actions {
  display: none;
}

.promo-banner-overlay {
  display: none;
}

.home-seo-section {
  padding-top: 2.2rem;
}

.home-seo-shell {
  display: grid;
  gap: 1.35rem;
  color: #334155;
}

.home-seo-shell h2,
.home-seo-shell h3 {
  color: #0f172a;
}

.home-seo-shell h2 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1.18;
  font-weight: 900;
}

.home-seo-shell h3 {
  margin: 1.1rem 0 .55rem;
  font-size: 1.05rem;
  font-weight: 900;
}

.home-seo-shell p {
  margin: 0 0 .85rem;
  line-height: 1.78;
}

.home-seo-shell a {
  color: #0f6ea3;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.home-seo-lead {
  max-width: 980px;
  font-size: 1.04rem;
}

.home-seo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: 1rem;
  align-items: start;
}

.home-seo-copy,
.home-seo-highlight,
.home-seo-columns > div {
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(203,213,225,.72);
  border-radius: 8px;
  padding: 1.35rem;
  box-shadow: 0 10px 26px rgba(15,23,42,.06);
}

.home-seo-highlight {
  position: sticky;
  top: 1rem;
}

.home-seo-highlight ul {
  display: grid;
  gap: .55rem;
  padding: 0;
  margin: .75rem 0 1rem;
  list-style: none;
}

.home-seo-highlight li {
  position: relative;
  padding-left: 1.2rem;
  line-height: 1.5;
}

.home-seo-highlight li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: .42rem;
  height: .42rem;
  border-radius: 50%;
  background: #16a34a;
}

.home-seo-highlight .btn {
  text-decoration: none;
}

.home-seo-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.big-wrapper.dark .home-seo-shell {
  color: #cbd5e1;
}

.big-wrapper.dark .home-seo-shell h2,
.big-wrapper.dark .home-seo-shell h3 {
  color: #f8fafc;
}

.big-wrapper.dark .home-seo-copy,
.big-wrapper.dark .home-seo-highlight,
.big-wrapper.dark .home-seo-columns > div {
  background: rgba(17,30,54,.88);
  border-color: rgba(96,165,250,.18);
}

.big-wrapper.dark .home-seo-shell a {
  color: #93c5fd;
}

.public-section,
.home-copy-section,
.home-faq-section,
.client-strip-section {
  content-visibility: auto;
  contain-intrinsic-size: 1px 680px;
}

.product-image-wrap img,
.client-marquee-item img,
.home-client-strip img {
  /* aspect-ratio: 4 / 2; */
  aspect-ratio: 1/1;
  object-fit: contain;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }

  .client-marquee-row {
    animation-duration: 18s !important;
    animation-iteration-count: infinite !important;
    animation-play-state: running !important;
  }
}

@media screen and (max-width: 768px) {
  body {
    padding-bottom: 92px;
  }

  .home-seo-grid,
  .home-seo-columns {
    grid-template-columns: 1fr;
  }

  .home-seo-copy,
  .home-seo-highlight,
  .home-seo-columns > div {
    padding: 1rem;
  }

  .home-seo-highlight {
    position: static;
  }

  .home-copy-main-mobile-hidden {
    display: none;
  }

  .product-range-row {
    gap: .35rem 0.35rem;
    margin: 0 auto;
    max-width: 100%;
  }

  .product-range-col {
    padding: 0px;
  }

  .product-range-pill {
    display: inline-flex;
    width: fit-content;
    min-height: auto;
    padding: .5rem .7rem !important;
    font-size: 1rem;
    line-height: 1.2;
    white-space: nowrap;
  }

  .product-range-copy {
    font-size: .9rem;
  }

  .mobile-bottom-nav,
  .floating-message,
  .floating-whatsapp {
    display: none !important;
  }

  .hero-industrial {
    padding: .75rem 0 1rem;
    background: #fff;
  }

  .promo-banner-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(4, 14, 24, 0.64);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }

  .promo-banner-overlay.is-hidden {
    display: none !important;
  }

  .promo-banner {
    position: relative;
    width: min(100%, 440px);
    padding: 1.15rem;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,.24);
    background: linear-gradient(145deg, rgba(255,255,255,.95), rgba(232,244,254,.9));
    box-shadow: 0 22px 50px rgba(3, 12, 24, .28);
    overflow: hidden;
  }

  .promo-banner::before {
    content: "";
    position: absolute;
    inset: auto -20% -34% auto;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(21,158,211,.2), transparent 70%);
    pointer-events: none;
  }

  .promo-banner-close {
    position: absolute;
    top: .7rem;
    right: .7rem;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: rgba(4, 14, 24, .08);
    color: #07233a;
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1;
    z-index: 2;
  }

  .promo-banner-copy {
    position: relative;
    z-index: 1;
    display: grid;
    gap: .6rem;
  }

  .promo-banner-copy .promo-eyebrow {
    display: inline-flex;
    width: fit-content;
    padding: .3rem .6rem;
    border-radius: 999px;
    background: rgba(21,158,211,.12);
    color: #0b5d84;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
  }

  .promo-banner-copy h2 {
    margin: 0;
    font-size: clamp(1.15rem, 4.2vw, 1.45rem);
    line-height: 1.2;
    color: #071a2b;
  }

  .promo-banner-copy p {
    margin: 0;
    color: #334155;
    font-size: .94rem;
    line-height: 1.55;
  }

  .promo-banner-actions {
    display: flex;
    margin-top: .2rem;
  }

  .promo-banner-btn {
    min-height: 44px;
    padding: .7rem 1rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #0f6ea3, #159ed3);
    color: #fff;
    box-shadow: 0 10px 22px rgba(15,110,163,.22);
  }

  .promo-banner-visual {
    display: none;
  }

  .mobile-hero-offer {
    display: none !important;
  }

  body.banner-open {
    overflow: hidden;
  }

  .hero-panel {
    display: block;
  }

  .hero-panel > div > .hero-kicker,
  .hero-panel > div > h1,
  .hero-panel > div > p,
  .hero-panel > div > .quick-actions,
  .hero-visual {
    display: none;
  }

  .mobile-hero-offer {
    display: grid;
    gap: .6rem;
    position: relative;
    padding: 1rem .9rem 1.05rem;
    min-height: auto;
    align-content: start;
    text-align: left;
    color: #fff;
    background:
      linear-gradient(135deg, rgba(10, 31, 58, .98), rgba(17, 81, 132, .95) 55%, rgba(22, 136, 194, .96)),
      radial-gradient(circle at top right, rgba(255,255,255,.24), transparent 32%);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 18px;
    box-shadow: 0 16px 38px rgba(4, 24, 41, .24);
    overflow: hidden;
  }

  .mobile-hero-offer::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255,255,255,.14), transparent 32%, rgba(255,255,255,.08));
    pointer-events: none;
  }

  .mobile-hero-offer p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #f3fbff;
    font-family: "Sora", sans-serif;
    font-size: clamp(.88rem, 3.6vw, 1rem);
    line-height: 1.45;
    font-weight: 700;
  }

  .mobile-hero-offer p:first-child {
    font-size: clamp(.72rem, 3vw, .86rem);
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: .18em;
    opacity: .95;
  }

  .mobile-hero-offer .mobile-offer-title {
    position: relative;
    z-index: 1;
    display: inline-block;
    width: fit-content;
    padding: .35rem .6rem;
    color: #fff;
    font-family: "Sora", sans-serif;
    font-size: clamp(1rem, 4.3vw, 1.14rem);
    font-weight: 800;
    line-height: 1.25;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 999px;
    backdrop-filter: blur(8px);
  }

  .mobile-hero-offer .mobile-offer-title span {
    display: block;
    font-size: .86em;
    color: #d8f3ff;
  }

  .mobile-hero-offer h1 {
    position: relative;
    z-index: 1;
    margin: .12rem 0 0;
    color: #fff;
    font-family: "Sora", sans-serif;
    font-size: clamp(1.45rem, 7vw, 1.95rem);
    line-height: 1.08;
    font-weight: 800;
  }

  .mobile-hero-offer h1 span {
    display: block;
    font-size: .95em;
  }

  .mobile-hero-offer a {
    position: relative;
    z-index: 1;
    justify-self: start;
    min-width: 120px;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: .1rem;
    padding: .5rem .9rem;
    color: #07131f;
    background: linear-gradient(135deg, #fff8d8, #ffd46b);
    border: 0;
    font-family: "Sora", sans-serif;
    font-size: .95rem;
    font-weight: 900;
    border-radius: 999px;
    box-shadow: 0 10px 22px rgba(0,0,0,.16);
  }

  .mobile-online-popup {
    position: fixed;
    right: 72px;
    bottom: 76px;
    z-index: 121;
    display: flex;
    align-items: center;
    min-width: min(258px, calc(100vw - 120px));
    min-height: 58px;
    padding: .58rem .8rem;
    color: #111827;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(15,23,42,.18);
  }

  .mobile-online-popup::after {
    content: "";
    position: absolute;
    right: -8px;
    top: 22px;
    border-width: 8px 0 8px 8px;
    border-style: solid;
    border-color: transparent transparent transparent #fff;
  }

  .mobile-online-popup.is-hidden {
    display: none;
  }

  .mobile-online-close {
    position: absolute;
    left: -10px;
    top: -10px;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: #000;
    border: 0;
    border-radius: 50%;
    font-size: 1rem;
    line-height: 1;
    font-weight: 900;
  }

  .mobile-online-popup strong,
  .mobile-online-popup span {
    display: block;
  }

  .mobile-online-popup strong {
    font-size: .84rem;
    font-weight: 800;
  }

  .mobile-online-popup span {
    color: #6b7280;
    font-size: .92rem;
    font-weight: 700;
  }

  .mobile-contact-bubble {
    position: fixed;
    right: 16px;
    bottom: 77px;
    z-index: 122;
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: #0868ce;
    border-radius: 50%;
    font-size: 1.22rem;
    box-shadow: 0 14px 34px rgba(8,47,73,.28);
  }

  .mobile-contact-actions {
    position: fixed;
    left: 50%;
    right: auto;
    bottom: 0;
    z-index: 120;
    display: grid;
    grid-template-columns: repeat(2, 45%);
    justify-content: center;
    gap: 5%;
    width: 95%;
    transform: translateX(-50%);
    padding: .48rem 0 .58rem;
    background: rgba(255,255,255,.96);
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 -12px 30px rgba(15,23,42,.12);
  }

  .mobile-contact-actions a {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .32rem;
    color: #fff;
    border-radius: 6px;
    font-family: "Sora", sans-serif;
    font-size: clamp(.78rem, 3.9vw, .98rem);
    font-weight: 900;
    text-align: center;
    line-height: 1.15;
  }

  .mobile-contact-actions i {
    font-size: .95rem;
  }

  .mobile-action-whatsapp { background: #168a0b; }
  .mobile-action-call { background: #357fbb; }
  .mobile-action-message { background: #174f80; }
}

@media screen and (max-width: 520px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .65rem;
  }

  .product-body {
    padding: .7rem;
  }

  .product-title {
    font-size: .82rem;
    line-height: 1.25;
  }

  .product-desc {
    font-size: .74rem;
    line-height: 1.35;
  }

  .product-actions {
    gap: .38rem;
  }

  .product-actions .btn,
  .product-actions .btn-outline-soft {
    min-height: 38px;
    padding: .42rem .35rem;
    font-size: .7rem;
  }

  .quick-actions .btn {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

@media screen and (max-width: 381px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 430px) {
  .footer-column ul {
    grid-template-columns: 1fr;
  }

  .footer-logo span {
    font-size: .98rem;
  }

  .footer-quick-links a {
    font-size: .78rem;
    padding: .38rem .58rem;
  }

  .footer-bottom p {
    font-size: .78rem;
  }

  .mobile-hero-offer {
    padding: .78rem .72rem;
    gap: .45rem;
  }

  .mobile-online-popup {
    right: 63px;
    bottom: 72px;
    min-width: min(218px, calc(100vw - 104px));
    min-height: 54px;
    padding: .5rem .68rem;
  }

  .mobile-online-popup strong {
    font-size: .78rem;
  }

  .mobile-online-popup span {
    font-size: .84rem;
  }

  .mobile-contact-bubble {
    right: 12px;
    bottom: 73px;
    width: 48px;
    height: 48px;
    font-size: 1.08rem;
  }

  .mobile-contact-actions {
    grid-template-columns: repeat(2, 45%);
    gap: 5%;
    width: 95%;
    padding-top: .42rem;
    padding-bottom: .5rem;
  }

  .mobile-contact-actions a {
    min-height: 44px;
    gap: .25rem;
    font-size: .82rem;
  }

  .mobile-contact-actions i {
    font-size: .82rem;
  }
}


/* Mobile Sidebar Modern Styles */
@media (max-width: 870px) {
    .nav-shell .links {
        position: fixed;
        top: 2.5%;
        left: -100%;
        right: auto;
        width: 80% !important;
        height: 95% !important;
        background: var(--bg-card);
        z-index: 1000;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-radius: 0 20px 20px 0;
        box-shadow: 10px 0 30px rgba(0,0,0,0.1);
        display: flex;
        flex-direction: column;
        padding: 2rem 1.5rem;
        overflow-y: auto;
    }

    .big-wrapper.active .nav-shell .links {
        left: 0;
        right: auto;
    }

    /* Dropdown style for mobile nav links */
    .nav-shell .links ul {
        flex-direction: column;
        width: 100%;
    }

    .nav-shell .links ul li {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }
}

/* ── Enhanced Responsive Styles for CNC & Product Pages ── */

/* Panel Card Responsive */
.panel-card {
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(203,213,225,.72);
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.panel-card:hover {
  box-shadow: 0 12px 40px rgba(59,130,246,.12);
}

.panel-card p {
  margin-bottom: 1rem;
  color: #475569;
  line-height: 1.7;
}

.panel-card ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.panel-card ul li {
  margin: 0.6rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: #334155;
  line-height: 1.6;
}

.panel-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #16a34a;
  font-weight: 900;
}

.hero-kicker {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  background: rgba(59,130,246,.12);
  color: #3b82f6;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.cnc-usage-section {
  padding: 3rem 0;
}

.cnc-usage-section h2 {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  color: #0f172a;
  font-size: 1.5rem;
  font-weight: 900;
}

.cnc-usage-section h3 {
  margin-top: 1.25rem;
  margin-bottom: 0.75rem;
  color: #1e293b;
  font-weight: 800;
}

.cnc-usage-section h4 {
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  color: #334155;
  font-weight: 700;
}

.cnc-usage-section img {
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cnc-usage-section img:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(59,130,246,.15);
}

/* Responsive adjustments */
@media screen and (max-width: 992px) {
  .panel-card {
    padding: 1.5rem;
  }

  .cnc-usage-section {
    padding: 2rem 0;
  }

  .cnc-usage-section h2 {
    font-size: 1.3rem;
  }
}

@media screen and (max-width: 768px) {
  .panel-card {
    padding: 1.2rem;
  }

  .hero-kicker {
    padding: 0.35rem 0.7rem;
    font-size: 0.75rem;
  }

  .cnc-usage-section {
    padding: 1.5rem 0;
  }

  .cnc-usage-section h2 {
    font-size: 1.1rem;
    margin-top: 1rem;
  }

  .cnc-usage-section h3 {
    font-size: 1rem;
  }

  .cnc-usage-section h4 {
    font-size: 0.95rem;
  }

  .cnc-usage-section .row.g-4 {
    gap: 1rem !important;
  }

  .big-wrapper.dark .panel-card {
    background: rgba(17,30,54,.92);
    border-color: rgba(96,165,250,.18);
    color: #e2e8f0;
  }

  .big-wrapper.dark .panel-card ul li {
    color: #cbd5e1;
  }
}

@media screen and (max-width: 576px) {
  .panel-card {
    padding: 1rem;
  }

  .hero-kicker {
    display: block;
    margin-bottom: 0.75rem;
  }

  .cnc-usage-section {
    padding: 1rem 0;
  }

  .cnc-usage-section h1 {
    font-size: 1.5rem;
  }

  .cnc-usage-section h2 {
    font-size: 1.1rem;
    margin-top: 0.8rem;
    margin-bottom: 0.6rem;
  }

  .cnc-usage-section h3 {
    font-size: 0.95rem;
    margin-top: 0.8rem;
  }

  .cnc-usage-section h4 {
    font-size: 0.9rem;
    margin-top: 0.6rem;
  }

  .cnc-usage-section p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .cnc-usage-section ul li {
    font-size: 0.9rem;
    margin: 0.5rem 0;
    padding-left: 1.2rem;
  }

  .panel-card ul li::before {
    font-size: 0.8rem;
  }

  .row.g-4 {
    gap: 0.75rem !important;
  }

  .col-lg-6 {
    margin-bottom: 0.5rem;
  }

  .rounded-3 {
    border-radius: 8px !important;
  }
}

@media screen and (max-width: 480px) {
  .panel-card {
    padding: 0.9rem;
    margin-bottom: 1rem;
  }

  .cnc-usage-section h1 {
    font-size: 1.3rem;
  }

  .cnc-usage-section h2 {
    font-size: 1rem;
  }

  .cnc-usage-section h3 {
    font-size: 0.9rem;
  }

  .cnc-usage-section p {
    font-size: 0.9rem;
  }

    .mobile-online-popup.is-menu-hidden {
        display: none !important;
    }
}
