/* ============================================================
   ZENVITH LIFESCIENCES — MAIN STYLESHEET
   Design System based on client reference
   Developed by PosWebTech
   ============================================================ */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@300;500;600;700;800&display=swap");

/* ─── ROOT VARIABLES ─── */
:root {
  /* Colors */
  --primary-dark: #001f3f;
  --primary-blue: #003366;
  --primary-light: #f0f4f8;
  --accent-cyan: #00b4d8;
  --accent-hover: #0096b7;
  --text-dark: #0d1117;
  --text-gray: #4a5568;
  --text-light: #718096;
  --bg-light: #f8fafc;
  --bg-section: #f1f5f9;
  --white: #ffffff;
  --border-color: #e2e8f0;
  --success: #10b981;
  --error: #ef4444;
  --footer-bg: #000b18;
  --footer-text: #94a3b8;

  /* Typography */
  --font-body: "Inter", sans-serif;
  --font-heading: "Outfit", sans-serif;
  --fs-xs: 0.8rem;
  --fs-sm: 0.9rem;
  --fs-base: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: 1.25rem;
  --fs-2xl: 1.5rem;
  --fs-3xl: 1.875rem;
  --fs-4xl: 2.25rem;
  --fs-5xl: 3rem;

  /* Spacing */
  --section-py: 100px;
  --container: 1200px;
  --gap-sm: 12px;
  --gap-md: 20px;
  --gap-lg: 32px;

  /* Border Radius */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 15px;
  --r-xl: 20px;
  --r-full: 9999px;

  /* Shadows */
  --sh-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --sh-md: 0 10px 30px rgba(0, 0, 0, 0.08);
  --sh-lg: 0 20px 50px rgba(0, 0, 0, 0.1);
  --sh-xl: 0 25px 60px rgba(0, 0, 0, 0.15);
  --sh-cyan: 0 8px 25px rgba(0, 180, 216, 0.3);
  --sh-blue: 0 8px 25px rgba(0, 51, 102, 0.35);

  /* Transitions */
  --tr-fast: 0.2s ease;
  --tr-base: 0.3s ease;
  --tr-slow: 0.4s ease;

  /* Z-index */
  --z-nav: 1000;
  --z-offcanvas: 1050;
  --z-float: 1040;
  --z-overlay: 1060;
}

/* ─── RESET & BASE ─── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}
body {
  font-family: var(--font-body);
  color: var(--text-gray);
  background: var(--bg-light);
  overflow-x: hidden;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--primary-dark);
}
a {
  text-decoration: none !important;
  transition: var(--tr-base);
}
/* .fw-bold global override removed — was breaking all Bootstrap bold elements */
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
::selection {
  background: var(--accent-cyan);
  color: var(--white);
}

/* ─── SCROLL PROGRESS ─── */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--primary-blue));
  width: 0%;
  z-index: 9999;
  transition: width 0.1s;
}

/* ─── PRELOADER ─── */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--primary-dark);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  transition:
    opacity 0.6s,
    visibility 0.6s;
}
#preloader.done {
  opacity: 0;
  visibility: hidden;
}
.pl-logo {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 2px;
}
.pl-logo span {
  color: var(--accent-cyan);
}
.pl-bar {
  width: 150px;
  height: 3px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--r-full);
  overflow: hidden;
}
.pl-fill {
  height: 100%;
  background: var(--accent-cyan);
  animation: plfill 1.8s ease forwards;
}
@keyframes plfill {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

/* ─── BACK TO TOP ─── */
#back-top {
  position: fixed;
  bottom: 155px;
  right: 30px;
  z-index: var(--z-float);
  width: 52px;
  height: 52px;
  background: var(--primary-blue);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.9rem;
  box-shadow: var(--sh-blue);
  opacity: 0;
  pointer-events: none;
  transition: var(--tr-base);
  display: flex;
  align-items: center;
  justify-content: center;
}
#back-top.show {
  opacity: 1;
  pointer-events: auto;
}
#back-top:hover {
  background: var(--accent-cyan);
  transform: translateY(-3px);
}

/* ─── FLOATING BUTTONS ─── */
.floating-icons {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: var(--z-float);
}
.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--white) !important;
  font-size: 1.3rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transition: var(--tr-base);
}
.float-btn:hover {
  transform: translateY(-4px);
}
.float-wa {
  background: #25d366;
}
.float-wa:hover {
  background: #1ebe57;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.4);
}
.float-phone {
  background: var(--primary-blue);
}
.float-phone:hover {
  background: var(--accent-cyan);
  box-shadow: var(--sh-cyan);
}

/* ─── NAVBAR ─── */
.navbar {
  transition: var(--tr-slow);
  padding: 16px 0;
  background: transparent;
  z-index: var(--z-nav);
}
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
  padding: 10px 0;
}
.nav-logo-img {
  height: 46px;
  object-fit: contain;
  background: var(--white);
  padding: 4px;
  border-radius: var(--r-sm);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.15);
}
.brand-text-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1;
}
.brand-title {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 2.5px;
  transition: var(--tr-base);
  text-transform: uppercase;
}
.brand-title span {
  color: var(--accent-cyan);
}
.navbar.scrolled .brand-title {
  color: var(--primary-dark);
}
.brand-subtitle {
  font-family: var(--font-heading);
  font-size: 0.62rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 3.5px;
  text-transform: uppercase;
  margin-top: 3px;
  transition: var(--tr-base);
}
.navbar.scrolled .brand-subtitle {
  color: var(--text-light);
}
.navbar-nav .nav-link {
  font-family: var(--font-heading);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82) !important;
  margin: 0 6px;
  font-size: 0.9rem;
  transition: var(--tr-base);
  position: relative;
  padding: 6px 2px !important;
}
.navbar-nav .nav-link:not(.dropdown-toggle)::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-cyan);
  transition: var(--tr-base);
}
.navbar-nav .nav-link:not(.dropdown-toggle):hover::after,
.navbar-nav .nav-link:not(.dropdown-toggle).active::after {
  width: 100%;
}
.navbar.scrolled .nav-link {
  color: var(--text-gray) !important;
}
.navbar.scrolled .nav-link:hover {
  color: var(--accent-cyan) !important;
}
.navbar-toggler {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

/* Services Dropdown */
.dropdown-menu {
  border: none;
  box-shadow: var(--sh-lg);
  border-radius: var(--r-lg);
  padding: 8px;
  min-width: 220px;
}
.dropdown-item {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-gray);
  padding: 10px 16px;
  border-radius: var(--r-md);
  transition: var(--tr-fast);
}
.dropdown-item:hover {
  background: rgba(0, 180, 216, 0.08);
  color: var(--accent-cyan);
}
.dropdown-item.active,
.dropdown-item:active {
  background: rgba(0, 180, 216, 0.1) !important;
  color: var(--accent-cyan) !important;
}
.navbar-nav .dropdown-toggle::after {
  content: "";
  position: static;
  display: inline-block;
  width: auto;
  height: auto;
  background: none !important;
  border-top: 0.3em solid;
  border-right: 0.3em solid transparent;
  border-bottom: 0;
  border-left: 0.3em solid transparent;
  margin-left: 6px;
  vertical-align: 0.2em;
  transition: transform var(--tr-fast);
}
.navbar-nav .dropdown.show .dropdown-toggle::after {
  transform: rotate(180deg);
}
.navbar.scrolled .dropdown-toggle::after {
  border-top-color: var(--text-gray);
}

/* ─── OFFCANVAS ─── */
.offcanvas {
  width: 100% !important;
  max-width: 100%;
}
.offcanvas-header {
  background: var(--primary-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 24px;
}
.offcanvas-header .btn-close {
  filter: invert(1);
  opacity: 0.6;
}
.offcanvas-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.offcanvas-brand .nav-logo-img {
  border: 2px solid rgba(255, 255, 255, 0.15);
}
.offcanvas-brand .brand-title {
  color: var(--white) !important;
  font-size: 1.5rem;
}
.offcanvas-brand .brand-subtitle {
  color: rgba(255, 255, 255, 0.55) !important;
  font-size: 0.6rem;
  letter-spacing: 3px;
}
.offcanvas-body {
  background: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
}
.offcanvas-nav .nav-link {
  color: var(--primary-dark) !important;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  padding: 15px 0 !important;
  border-bottom: 1px solid #f1f5f9;
  font-weight: 600;
  transition: var(--tr-base);
}
.offcanvas-nav .nav-link::after {
  display: none;
}
.offcanvas-nav .nav-link:hover {
  color: var(--accent-cyan) !important;
  padding-left: 10px !important;
}
.offcanvas-footer {
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
}
.offcanvas-footer h6 {
  color: var(--primary-dark);
  font-family: var(--font-heading);
}
.oc-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--text-gray);
  font-size: 0.9rem;
}
.oc-social a {
  width: 34px;
  height: 34px;
  background: var(--bg-section);
  color: var(--primary-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-sm);
  margin-right: 8px;
  border: 1px solid var(--border-color);
  transition: var(--tr-base);
}
.oc-social a:hover {
  background: var(--accent-cyan);
  color: var(--white);
  border-color: var(--accent-cyan);
}

/* ─── BUTTON SYSTEM ─── */
.btn-custom {
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--r-full);
  transition: var(--tr-slow);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-custom-primary {
  background: var(--accent-cyan);
  color: var(--white) !important;
  box-shadow: var(--sh-cyan);
  border-color: var(--accent-cyan);
}
.btn-custom-primary:hover {
  background: var(--primary-blue);
  border-color: var(--primary-blue);
  transform: translateY(-3px);
  box-shadow: var(--sh-blue);
  color: var(--white) !important;
}
.btn-custom-outline {
  border: 2px solid var(--white);
  color: var(--white) !important;
  background: transparent;
}
.btn-custom-outline:hover {
  background: var(--white);
  color: var(--primary-dark) !important;
  transform: translateY(-3px);
  box-shadow: var(--sh-md);
}
.btn-custom-outline-dark {
  border: 2px solid var(--accent-cyan);
  color: var(--accent-cyan) !important;
  background: transparent;
}
.btn-custom-outline-dark:hover {
  background: var(--accent-cyan);
  color: var(--white) !important;
  transform: translateY(-3px);
}
.btn-custom-dark {
  background: var(--primary-blue);
  color: var(--white) !important;
  border-color: var(--primary-blue);
  box-shadow: var(--sh-blue);
}
.btn-custom-dark:hover {
  background: var(--accent-cyan);
  border-color: var(--accent-cyan);
  transform: translateY(-3px);
  box-shadow: var(--sh-cyan);
  color: var(--white) !important;
}

/* ─── SECTION SYSTEM ─── */
.section-padding {
  padding: var(--section-py) 0;
}
.section-subtitle {
  color: var(--accent-cyan);
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.88rem;
}
.section-title {
  font-size: clamp(var(--fs-3xl), 4vw, var(--fs-5xl));
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 20px;
  line-height: 1.2;
}
.section-desc {
  color: var(--text-gray);
  font-size: var(--fs-lg);
  line-height: 1.8;
}

/* ─── PAGE HERO (inner pages) ─── */
.page-hero {
  background: var(--primary-dark);
  padding: 140px 0 60px;
  position: relative;
  overflow: hidden;
}
/* Background image — now an <img> tag in HTML for dynamic use */
.page-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
  z-index: 0;
}
/* Gradient overlay: dark left, lighter right */
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 31, 63, 0.95) 0%,
    rgba(0, 31, 63, 0.82) 40%,
    rgba(0, 51, 102, 0.45) 100%
  );
  z-index: 1;
}
.hero-legal .page-hero-bg {
  opacity: 0.08;
}
.page-hero-grid {
  position: absolute;
  inset: 0;
  background-size: 50px 50px;
  z-index: 1;
}
.page-hero-inner {
  position: relative;
  z-index: 3;
}
.page-hero-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 14px;
}
.page-hero-title {
  font-size: clamp(var(--fs-3xl), 4vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 14px;
}
.page-hero-title em {
  font-style: italic;
  color: var(--accent-cyan);
}
.page-hero-desc {
  color: rgba(255, 255, 255, 0.62);
  font-size: var(--fs-lg);
  max-width: 560px;
  line-height: 1.75;
}
.breadcrumb-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}
.breadcrumb-wrap a {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.06em;
}
.breadcrumb-wrap a:hover {
  color: var(--accent-cyan);
}
.breadcrumb-wrap .sep {
  color: rgba(255, 255, 255, 0.2);
  font-size: 0.6rem;
}
.breadcrumb-wrap span {
  font-size: var(--fs-sm);
  color: var(--accent-cyan);
}

/* ─── HERO (home) ─── */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 31, 63, 0.9) 0%,
    rgba(0, 51, 102, 0.6) 100%
  );
  z-index: 2;
}
.hero-content {
  position: relative;
  z-index: 3;
  color: var(--white);
  width: 100%;
  padding: 120px 0 80px;
}
.hero-subtitle {
  color: var(--accent-cyan);
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: block;
  font-size: 0.9rem;
}
.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--white);
}
.hero-title span {
  color: var(--accent-cyan);
}
.hero-desc {
  font-size: var(--fs-xl);
  font-weight: 300;
  opacity: 0.9;
  max-width: 580px;
  margin-bottom: 40px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.85);
}

/* ─── TRUST BAR ─── */
.trust-bar {
  position: relative;
  z-index: 10;
  margin-top: -50px;
}
.trust-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--sh-md);
  display: flex;
  align-items: center;
  gap: 18px;
  transition: var(--tr-base);
  height: 100%;
  border-bottom: 3px solid var(--accent-cyan);
}
.trust-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-lg);
}
.trust-icon {
  width: 48px;
  height: 48px;
  background: rgba(0, 180, 216, 0.1);
  color: var(--accent-cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.trust-info h4 {
  font-family: var(--font-heading);
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--primary-dark);
  margin: 0;
}
.trust-info p {
  margin: 0;
  font-size: var(--fs-sm);
  color: var(--text-gray);
}

/* ─── STATS ROW ─── */
.stats-section {
  background: var(--primary-dark);
}
.stat-box {
  padding: 32px 24px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--tr-base);
}
.stat-box:last-child {
  border-right: none;
}
.stat-box:hover {
  background: rgba(255, 255, 255, 0.04);
}
.stat-num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.stat-num sup {
  font-size: 1.2rem;
  color: var(--accent-cyan);
  vertical-align: super;
}
.stat-label {
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.48);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 6px;
  font-weight: 500;
}

/* ─── ABOUT ─── */
.about-image-wrapper {
  position: relative;
  padding-right: 30px;
  padding-bottom: 30px;
}
.about-main-img {
  border-radius: var(--r-xl);
  width: 100%;
  height: 450px;
  object-fit: cover;
  box-shadow: var(--sh-xl);
}
.about-exp-box {
  position: absolute;
  bottom: 0;
  right: 0;
  background: var(--white);
  padding: 24px 32px;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-xl);
  border-left: 5px solid var(--accent-cyan);
}
.about-exp-box h2 {
  font-size: 3rem;
  color: var(--primary-blue);
  margin: 0;
  line-height: 1;
}
.about-exp-box p {
  margin: 0;
  font-weight: 600;
  color: var(--text-gray);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
}
.feature-list li {
  margin-bottom: 14px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.feature-list .icon {
  width: 28px;
  height: 28px;
  background: rgba(0, 180, 216, 0.1);
  color: var(--accent-cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.8rem;
  margin-top: 2px;
}

/* ─── SERVICE BLOCK (home) ─── */
.service-block {
  background: var(--white);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.06);
  transition: var(--tr-slow);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.service-block .service-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.service-block .service-content p {
  flex-grow: 1;
}
.service-block .service-content .link-arrow {
  margin-top: auto;
}
.service-block:hover {
  box-shadow: 0 20px 52px rgba(0, 51, 102, 0.12);
  transform: translateY(-6px);
}
.service-img {
  height: 240px;
  width: 100%;
  overflow: hidden;
  position: relative;
}
.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.service-block:hover .service-img img {
  transform: scale(1.07);
}
.service-content {
  padding: 36px 36px 40px;
}
.service-icon-badge {
  background: var(--bg-light);
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-lg);
  color: var(--primary-blue);
  font-size: 1.6rem;
  margin-bottom: 18px;
  border: 1px solid var(--border-color);
}
.link-arrow {
  color: var(--primary-blue);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--tr-base);
  font-size: 0.9rem;
}
.link-arrow:hover {
  color: var(--accent-cyan);
  gap: 14px;
}

/* ─── MANUFACTURING DARK SECTION ─── */
.mfg-section {
  background: var(--primary-dark);
  color: var(--white);
  position: relative;
}
.mfg-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(0, 180, 216, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(0, 51, 102, 0.08) 0%, transparent 50%);
  pointer-events: none;
}
.mfg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
  margin-top: 36px;
}
.mfg-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 28px 18px;
  border-radius: var(--r-lg);
  text-align: center;
  transition: var(--tr-base);
  backdrop-filter: blur(4px);
}
.mfg-item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-cyan);
  transform: translateY(-5px);
}
.mfg-item i {
  font-size: 2.2rem;
  color: var(--accent-cyan);
  margin-bottom: 14px;
  display: block;
}
.mfg-item h5 {
  font-size: 0.95rem;
  color: var(--white);
  margin: 0;
}

/* ─── WHY CARDS ─── */
.why-card {
  background: var(--white);
  padding: 32px;
  border-radius: var(--r-xl);
  height: 100%;
  border: 1px solid var(--border-color);
  transition: var(--tr-base);
  box-shadow: var(--sh-sm);
  display: flex;
  flex-direction: column;
}
.why-card:hover {
  border-color: var(--accent-cyan);
  box-shadow: 0 14px 32px rgba(0, 180, 216, 0.1);
  transform: translateY(-4px);
}
.why-card p:last-child {
  margin-top: auto;
}
.why-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-md);
  font-size: 1.4rem;
  margin-bottom: 18px;
  flex-shrink: 0;
}

/* ─── TESTIMONIALS ─── */
.testimonial-card {
  background: var(--white);
  padding: 36px;
  border-radius: var(--r-xl);
  position: relative;
  box-shadow: 0 8px 36px rgba(0, 0, 0, 0.06);
  border-top: 4px solid var(--accent-cyan);
  height: 100%;
  transition: var(--tr-base);
  display: flex;
  flex-direction: column;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-lg);
}
.quote-icon {
  position: absolute;
  top: 28px;
  right: 28px;
  font-size: 2.8rem;
  color: #f1f5f9;
}
.testi-text {
  font-size: var(--fs-sm);
  color: var(--text-gray);
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
  flex-grow: 1;
}
.client-info {
  display: flex;
  align-items: center;
  gap: 14px;
}
.client-avatar {
  width: 48px;
  height: 48px;
  background: var(--bg-section);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-blue);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  border: 2px solid var(--accent-cyan);
}

/* ─── TESTIMONIAL SLIDER ─── */
.testimonial-slider {
  padding-bottom: 52px;
}
.testimonial-slider .swiper-slide {
  height: auto;
}
.testimonial-slider .testimonial-card {
  height: 100%;
  margin: 4px;
}
.testimonial-slider .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: var(--border-color);
  opacity: 1;
}
.testimonial-slider .swiper-pagination-bullet-active {
  background: var(--accent-cyan);
  width: 28px;
  border-radius: var(--r-full);
}

/* ─── PDF VIEWER ENHANCED ─── */
.pdf-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.06);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.pdf-controls button {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.7);
  border-radius: var(--r-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: var(--tr-fast);
}
.pdf-controls button:hover {
  background: rgba(0, 180, 216, 0.2);
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
}
.pdf-controls button:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.pdf-page-info {
  font-family: monospace;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  padding: 0 8px;
  min-width: 80px;
  text-align: center;
}
.pdf-zoom-level {
  font-family: monospace;
  font-size: 0.7rem;
  color: var(--accent-cyan);
  padding: 2px 8px;
  background: rgba(0, 180, 216, 0.1);
  border-radius: var(--r-sm);
  min-width: 40px;
  text-align: center;
}
.pdf-canvas-wrap {
  width: 100%;
  min-height: 300px;
  max-height: 680px;
  overflow: auto;
  background: #525659;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 8px;
}
.pdf-canvas-wrap canvas {
  display: block;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

/* ─── FAQ ─── */
.faq-accordion .accordion-item {
  border: none;
  border-bottom: 1px solid var(--border-color);
  background: transparent;
}
.faq-accordion .accordion-button {
  background: transparent;
  padding: 20px 0;
  font-weight: 700;
  font-size: var(--fs-base);
  color: var(--primary-dark);
  box-shadow: none;
  font-family: var(--font-heading);
}
.faq-accordion .accordion-button:not(.collapsed) {
  color: var(--accent-cyan);
  background: transparent;
}
.faq-accordion .accordion-button::after {
  filter: none;
}
.faq-accordion .accordion-body {
  padding: 0 0 20px 0;
  color: var(--text-gray);
  line-height: 1.75;
  font-size: var(--fs-sm);
}

/* ─── CONTACT BOX ─── */
.contact-info-box {
  background: var(--primary-blue);
  color: var(--white);
  padding: 56px 48px;
  border-radius: var(--r-xl);
  height: 100%;
  position: relative;
  overflow: hidden;
}
.contact-info-box::after {
  content: "";
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: rgba(0, 180, 216, 0.18);
  border-radius: 50%;
}
.info-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}
.info-icon {
  width: 46px;
  height: 46px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  color: var(--accent-cyan);
}
/* Contact info headings on dark background */
.contact-info-box h6 {
  color: var(--white);
  font-family: var(--font-heading);
}
.contact-info-box .fw-bold {
  color: var(--white);
}
.contact-form-box {
  background: var(--white);
  padding: 48px;
  border-radius: var(--r-xl);
  box-shadow: var(--sh-xl);
  border: 1px solid var(--border-color);
  margin-left: -48px;
  position: relative;
  z-index: 2;
}
.form-control,
.form-select {
  padding: 14px 18px;
  border-radius: var(--r-md);
  border: 1px solid var(--border-color);
  background: var(--bg-light);
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  transition: var(--tr-base);
  box-shadow: none;
}
.form-control:focus,
.form-select:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 4px rgba(0, 180, 216, 0.1);
  background: var(--white);
  outline: none;
}
.form-control::placeholder {
  color: var(--text-light);
}
.form-label {
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--text-gray);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 7px;
}

/* ─── ALERTS ─── */
.alert-zv {
  border-radius: var(--r-md);
  padding: 14px 18px;
  font-size: var(--fs-sm);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: none;
}
.alert-success-zv {
  background: rgba(16, 185, 129, 0.08);
  color: #065f46;
  border-left: 3px solid var(--success);
}
.alert-error-zv {
  background: rgba(239, 68, 68, 0.07);
  color: #7f1d1d;
  border-left: 3px solid var(--error);
}

/* ─── FILE UPLOAD ─── */
.file-zone {
  border: 2px dashed var(--border-color);
  border-radius: var(--r-lg);
  padding: 28px;
  text-align: center;
  cursor: pointer;
  transition: var(--tr-base);
  background: var(--bg-section);
  position: relative;
}
.file-zone:hover,
.file-zone.drag {
  border-color: var(--accent-cyan);
  background: rgba(0, 180, 216, 0.04);
}
.file-zone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
}
.file-zone-icon {
  font-size: 2rem;
  color: var(--text-light);
  margin-bottom: 8px;
}
.file-zone-text {
  font-size: var(--fs-sm);
  color: var(--text-gray);
}
.file-zone-hint {
  font-size: var(--fs-xs);
  color: var(--text-light);
  margin-top: 4px;
}

/* ─── PRODUCTS GRID ─── */
.product-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--r-xl);
  padding: 28px 22px;
  text-align: center;
  transition: var(--tr-base);
  position: relative;
  overflow: hidden;
  height: 100%;
}
.product-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--primary-blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--tr-base);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-lg);
  border-color: rgba(0, 180, 216, 0.2);
}
.product-card:hover::after {
  transform: scaleX(1);
}
.product-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(0, 180, 216, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.8rem;
  color: var(--primary-blue);
  transition: var(--tr-base);
}
.product-card:hover .product-icon {
  background: var(--primary-blue);
  color: var(--white);
  transform: scale(1.08);
}
.product-card h5 {
  font-family: var(--font-heading);
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 6px;
}
.product-card p {
  font-size: var(--fs-xs);
  color: var(--text-light);
  margin: 0;
}

/* ─── PROCESS STEPS ─── */
.process-step {
  padding: 0 16px;
  text-align: center;
  position: relative;
}
.step-num {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--accent-cyan);
  transition: var(--tr-base);
  box-shadow: var(--sh-sm);
}
.process-step:hover .step-num {
  background: var(--accent-cyan);
  color: var(--white);
  border-color: var(--accent-cyan);
  transform: scale(1.1);
}
.step-title {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 6px;
}
.step-desc {
  font-size: var(--fs-xs);
  color: var(--text-light);
  line-height: 1.6;
}

/* ─── TEAM CARD ─── */
.team-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: var(--tr-base);
  text-align: center;
}
.team-card:hover {
  box-shadow: var(--sh-md);
  transform: translateY(-5px);
}
.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  margin: 32px auto 18px;
}
.team-name {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 4px;
}
.team-role {
  font-size: var(--fs-xs);
  color: var(--accent-cyan);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.team-bio {
  font-size: var(--fs-sm);
  color: var(--text-light);
  padding: 0 22px 28px;
  line-height: 1.65;
}

/* ─── JOB CARDS ─── */
.job-card {
  border: 1px solid var(--border-color);
  border-radius: var(--r-lg);
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  transition: var(--tr-base);
  background: var(--white);
}
.job-card:hover {
  border-color: var(--accent-cyan);
  box-shadow: var(--sh-sm);
  transform: translateX(4px);
}
.job-icon {
  width: 42px;
  height: 42px;
  background: rgba(0, 180, 216, 0.08);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-blue);
  font-size: 1rem;
  flex-shrink: 0;
}
.job-title {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary-dark);
  font-size: 0.92rem;
  margin-bottom: 4px;
}
.job-meta {
  font-size: var(--fs-xs);
  color: var(--text-light);
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.job-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}
.job-tag {
  background: rgba(0, 180, 216, 0.1);
  color: var(--accent-cyan);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--r-full);
  margin-left: auto;
  white-space: nowrap;
  border: 1px solid rgba(0, 180, 216, 0.2);
}

/* ─── CTA BANNER ─── */
.cta-banner {
  background: linear-gradient(
    135deg,
    var(--primary-dark) 0%,
    var(--primary-blue) 100%
  );
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 80%, rgba(0, 180, 216, 0.08) 0%, transparent 50%);
}

/* ─── FOOTER ─── */
footer.footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 80px 0 0;
  font-size: 0.92rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.footer-brand .brand-title {
  color: var(--white) !important;
  font-size: 1.9rem;
}
footer.footer h5 {
  font-family: var(--font-heading);
  color: var(--white);
  font-weight: 700;
  margin-bottom: 22px;
  font-size: var(--fs-base);
}
/* footer.footer a {
  color: var(--footer-text);
  transition: var(--tr-base);
} */
footer.footer .col-6 a {
  color: var(--footer-text);
  transition: var(--tr-base);
}
footer.footer .col-6 a:hover {
  color: var(--accent-cyan);
  padding-left: 4px;
}
footer.footer ul li {
  margin-bottom: 10px;
}
.footer-social a {
  width: 38px;
  height: 38px;
  background: var(--white);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  margin-right: 8px;
  color: var(--primary-blue);
  font-size: 0.85rem;
  transition: var(--tr-base);
}
.footer-social a:hover {
  background: var(--accent-cyan);
  color: var(--white);
  transform: translateY(-3px);
}
.footer-bottom {
  padding: 20px 0;
  margin-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-ci {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}
.footer-ci i {
  color: var(--accent-cyan);
  margin-top: 3px;
  flex-shrink: 0;
  font-size: 0.85rem;
}
.footer-ci span {
  font-size: 0.85rem;
  color: var(--footer-text);
  line-height: 1.6;
}

/* ─── CONTENT SECTIONS ─── */
.content-sec {
  padding: 80px 0;
}
.content-sec.alt {
  background: var(--bg-section);
}

/* ─── LEGAL ─── */
.legal-body {
  padding: 72px 0;
}
.legal-body h2 {
  font-family: var(--font-heading);
  font-size: var(--fs-2xl);
  font-weight: 700;
  color: var(--primary-dark);
  margin: 36px 0 12px;
}
.legal-body p,
.legal-body li {
  font-size: 0.93rem;
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 12px;
}
.legal-body ul {
  list-style: disc;
  padding-left: 22px;
  margin-bottom: 12px;
}

/* ─── PDF VIEWER ─── */
.tpm-pdf-wrap {
  position: sticky;
  top: 90px;
}
.pdf-shell {
  background: #1e1e1e;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-xl);
}
.pdf-toolbar {
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  padding: 11px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pdf-dots {
  display: flex;
  gap: 5px;
}
.pdf-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.pdf-title {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.4);
  font-family: monospace;
  letter-spacing: 0.06em;
}
.pdf-frame {
  width: 100%;
  height: 640px;
  background: #525659;
}
.pdf-frame iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
.pdf-placeholder {
  width: 100%;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  color: rgba(255, 255, 255, 0.25);
}
.pdf-placeholder i {
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.1);
}

/* ─── UTILITIES ─── */
.text-cyan {
  color: var(--accent-cyan) !important;
}
.bg-dark-navy {
  background: var(--primary-dark) !important;
}
.fw-outfit {
  font-family: var(--font-heading);
}
.hover-lift {
  transition: var(--tr-base);
}
.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
}
.green-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-cyan);
  display: inline-block;
  animation: gdot 2s infinite;
}
@keyframes gdot {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(0, 180, 216, 0.4);
  }
  50% {
    box-shadow: 0 0 0 5px rgba(0, 180, 216, 0);
  }
}

/* ─── 404 ERROR PAGE ─── */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 16px 80px;
  background: var(--bg-light);
  position: relative;
  overflow: hidden;
}
.error-page::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.06) 0%, transparent 70%);
  border-radius: 50%;
}
.error-page::after {
  content: "";
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 51, 102, 0.04) 0%, transparent 70%);
  border-radius: 50%;
}
.error-content {
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 520px;
}
.error-code {
  font-family: var(--font-heading);
  font-size: clamp(7rem, 20vw, 12rem);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
  letter-spacing: -2px;
}
.error-divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--primary-blue));
  border-radius: var(--r-full);
  margin: 16px auto 24px;
}
.error-title {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--primary-dark);
  font-weight: 700;
  margin-bottom: 12px;
}
.error-desc {
  font-size: var(--fs-base);
  color: var(--text-gray);
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

/* ─── RESPONSIVE ─── */

/* Tablet & below */
@media (max-width: 991px) {
  :root {
    --section-py: 64px;
  }

  /* Navbar — always visible, fixed, no shift */
  .navbar {
    background: rgba(0, 31, 63, 0.97) !important;
    backdrop-filter: blur(10px);
    padding: 10px 0 !important;
    position: fixed !important;
    top: 0 !important;
    left: 0;
    right: 0;
    width: 100%;
  }
  .navbar .brand-title {
    color: var(--white) !important;
  }
  .navbar-toggler .fa-bars {
    color: var(--white) !important;
  }
  .navbar.scrolled {
    background: rgba(255, 255, 255, 0.97) !important;
  }
  .navbar.scrolled .brand-title {
    color: var(--primary-dark) !important;
  }
  .navbar.scrolled .navbar-toggler .fa-bars {
    color: var(--primary-dark) !important;
  }

  /* Hero */
  .hero-section {
    padding-top: 70px;
    min-height: auto;
  }
  .hero-content {
    padding: 40px 16px 60px;
  }
  .hero-title {
    font-size: 2.4rem;
  }
  .hero-desc {
    font-size: var(--fs-base);
    max-width: 100%;
  }

  /* Trust Bar */
  .trust-bar {
    margin-top: 28px;
  }
  .trust-card {
    padding: 18px 16px;
    gap: 12px;
  }

  /* Stats */
  .stat-box {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 16px;
  }
  .stat-num {
    font-size: 2rem;
  }

  /* About */
  .about-image-wrapper {
    padding: 0;
    margin-bottom: 32px;
  }
  .about-main-img {
    height: 300px;
  }
  .about-exp-box {
    position: relative;
    bottom: auto;
    right: auto;
    margin: -20px 16px 0;
    border-left: none;
    border-top: 5px solid var(--accent-cyan);
  }

  /* Contact */
  .contact-form-box {
    margin-left: 0 !important;
    margin-top: 28px;
    padding: 32px 24px;
  }
  .contact-info-box {
    padding: 36px 28px;
  }

  /* PDF */
  .tpm-pdf-wrap {
    position: relative;
    top: 0;
    margin-top: 40px;
  }
  .pdf-frame {
    height: 420px;
  }

  /* Page Hero */
  .page-hero {
    padding: 120px 0 48px;
  }

  /* Content sections */
  .content-sec {
    padding: 60px 0;
  }

  /* Service blocks */
  .service-content {
    padding: 28px 24px 32px;
  }

  /* Manufacturing grid */
  .mfg-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
  }
  .mfg-item {
    padding: 20px 12px;
  }
  .mfg-item i {
    font-size: 1.6rem;
    margin-bottom: 10px;
  }
  .mfg-item h5 {
    font-size: 0.82rem;
  }

  /* Job cards */
  .job-card {
    flex-wrap: wrap;
    gap: 12px;
    padding: 18px;
  }
  .job-tag {
    margin-left: 0;
    margin-top: 8px;
  }

  /* Footer */
  footer.footer {
    padding: 60px 0 0;
  }
}

/* Medium devices — tablets */
@media (max-width: 768px) {
  :root {
    --section-py: 52px;
  }

  /* Hero */
  .hero-title {
    font-size: 2rem;
  }
  .hero-desc {
    font-size: var(--fs-sm);
    margin-bottom: 28px;
  }

  /* Headings */
  .section-title {
    font-size: var(--fs-3xl);
  }

  /* About */
  .about-main-img {
    height: 240px;
  }

  /* Service blocks */
  .service-img {
    height: 200px;
  }
  .service-content {
    padding: 22px 18px 26px;
  }

  /* Contact */
  .contact-info-box {
    padding: 32px 22px;
  }
  .contact-form-box {
    padding: 24px 18px;
  }

  /* Page Hero */
  .page-hero {
    padding: 110px 0 40px;
  }

  /* PDF */
  .pdf-frame {
    height: 350px;
  }

  /* Floating buttons */
  .floating-icons {
    bottom: 16px;
    right: 14px;
    gap: 10px;
  }
  .float-btn {
    width: 44px;
    height: 44px;
    font-size: 1.05rem;
  }
  #back-top {
    right: 14px;
    bottom: 130px;
    width: 44px;
    height: 44px;
    font-size: 0.85rem;
  }

  /* Why cards */
  .why-card {
    padding: 24px 20px;
  }

  /* Testimonials */
  .testimonial-card {
    padding: 24px 20px;
  }
  .quote-icon {
    font-size: 2rem;
    top: 18px;
    right: 18px;
  }

  /* Legal */
  .legal-body {
    padding: 48px 0;
  }

  /* Buttons */
  .btn-custom {
    padding: 10px 22px;
    font-size: 0.82rem;
  }
}

/* Small devices — mobile */
@media (max-width: 576px) {
  /* Hero */
  .hero-section {
    padding-top: 60px;
  }
  .hero-content {
    padding: 30px 12px 48px;
  }
  .hero-title {
    font-size: 1.8rem;
    margin-bottom: 16px;
  }
  .hero-subtitle {
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
  }
  .hero-desc {
    font-size: var(--fs-sm);
    line-height: 1.65;
    margin-bottom: 24px;
  }

  /* Headings */
  .section-title {
    font-size: var(--fs-2xl);
  }
  .section-subtitle {
    font-size: 0.78rem;
  }
  .section-desc {
    font-size: var(--fs-sm);
  }

  /* Page hero */
  .page-hero {
    padding: 100px 0 36px;
  }
  .page-hero-title {
    font-size: var(--fs-2xl);
  }
  .page-hero-desc {
    font-size: var(--fs-sm);
  }

  /* Navbar brand */
  .brand-title {
    font-size: 1.3rem;
  }
  .brand-subtitle {
    font-size: 0.52rem;
    letter-spacing: 2px;
  }
  .nav-logo-img {
    height: 34px;
  }

  /* Trust bar */
  .trust-card {
    padding: 16px 14px;
    gap: 10px;
  }
  .trust-icon {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }
  .trust-info h4 {
    font-size: var(--fs-sm);
  }
  .trust-info p {
    font-size: var(--fs-xs);
  }

  /* Stats */
  .stat-num {
    font-size: 1.8rem;
  }
  .stat-label {
    font-size: 0.65rem;
  }
  .stat-box {
    padding: 18px 12px;
  }

  /* About */
  .about-main-img {
    height: 200px;
  }
  .about-exp-box {
    padding: 16px 20px;
    margin: -16px 12px 0;
  }
  .about-exp-box h2 {
    font-size: 2rem;
  }

  /* Service blocks */
  .service-img {
    height: 180px;
  }
  .service-content {
    padding: 20px 16px 24px;
  }
  .service-icon-badge {
    width: 46px;
    height: 46px;
    font-size: 1.3rem;
    margin-bottom: 14px;
  }

  /* Contact */
  .contact-info-box {
    padding: 24px 16px;
  }
  .contact-form-box {
    padding: 20px 16px;
  }
  .info-item {
    gap: 12px;
    margin-bottom: 20px;
  }
  .info-icon {
    width: 38px;
    height: 38px;
    font-size: 0.9rem;
  }

  /* Why cards */
  .why-card {
    padding: 20px 16px;
  }
  .why-icon {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
    margin-bottom: 14px;
  }

  /* Testimonials */
  .testimonial-card {
    padding: 22px 16px;
  }

  /* Job cards */
  .job-card {
    padding: 14px 12px;
    gap: 10px;
  }
  .job-icon {
    width: 36px;
    height: 36px;
    font-size: 0.85rem;
  }
  .job-title {
    font-size: 0.85rem;
  }
  .job-meta {
    font-size: 0.68rem;
    gap: 8px;
  }
  .job-tag {
    font-size: 0.6rem;
    padding: 3px 8px;
  }

  /* File upload */
  .file-zone {
    padding: 20px 14px;
  }

  /* Manufacturing */
  .mfg-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .mfg-item {
    padding: 16px 10px;
  }
  .mfg-item i {
    font-size: 1.4rem;
    margin-bottom: 8px;
  }
  .mfg-item h5 {
    font-size: 0.78rem;
  }

  /* PDF viewer */
  .pdf-frame {
    height: 300px;
  }
  .pdf-canvas-wrap {
    min-height: 200px;
    max-height: 520px;
    padding: 4px;
  }
  .pdf-controls {
    gap: 4px;
    padding: 8px 10px;
    flex-wrap: nowrap;
    justify-content: center;
  }
  .pdf-controls button {
    width: 30px;
    height: 30px;
    font-size: 0.72rem;
  }
  .pdf-page-info {
    font-size: 0.68rem;
    min-width: 56px;
  }
  .pdf-zoom-level {
    font-size: 0.62rem;
    padding: 2px 5px;
  }
  .pdf-placeholder {
    height: 280px;
    gap: 12px;
  }
  .pdf-placeholder i {
    font-size: 2rem;
  }

  /* Content sections */
  .content-sec {
    padding: 48px 0;
  }

  /* Buttons */
  .btn-custom {
    padding: 10px 20px;
    font-size: 0.8rem;
    gap: 6px;
    letter-spacing: 0.5px;
  }

  /* Floating buttons */
  .floating-icons {
    bottom: 12px;
    right: 12px;
    gap: 8px;
  }
  .float-btn {
    width: 42px;
    height: 42px;
    font-size: 1rem;
  }
  #back-top {
    right: 12px;
    bottom: 118px;
    width: 42px;
    height: 42px;
    font-size: 0.8rem;
  }

  /* Footer */
  footer.footer {
    padding: 48px 0 0;
  }
  .footer-brand .brand-title {
    font-size: 1.4rem !important;
  }
  .footer-bottom {
    margin-top: 32px;
    padding: 16px 0;
  }
  .footer-social a {
    width: 34px;
    height: 34px;
    font-size: 0.78rem;
    margin-right: 6px;
  }

  /* Legal */
  .legal-body {
    padding: 36px 0;
  }
  .legal-body h2 {
    font-size: var(--fs-xl);
    margin: 28px 0 10px;
  }

  /* FAQ */
  .faq-accordion .accordion-button {
    font-size: var(--fs-sm);
    padding: 16px 0;
  }
  .faq-accordion .accordion-body {
    font-size: var(--fs-xs);
  }

  /* Breadcrumb */
  .breadcrumb-wrap {
    gap: 6px;
    margin-bottom: 14px;
  }
  .breadcrumb-wrap a,
  .breadcrumb-wrap span {
    font-size: var(--fs-xs);
  }
  .page-hero-tag {
    font-size: 0.68rem;
    letter-spacing: 1.5px;
  }
}

/* Extra small — very small phones */
@media (max-width: 375px) {
  .hero-title {
    font-size: 1.6rem;
  }
  .section-title {
    font-size: var(--fs-xl);
  }
  .page-hero-title {
    font-size: var(--fs-xl);
  }
  .brand-title {
    font-size: 1.1rem;
  }
  .brand-subtitle {
    font-size: 0.48rem;
  }
  .nav-logo-img {
    height: 30px;
  }
  .stat-num {
    font-size: 1.5rem;
  }
  .about-main-img {
    height: 180px;
  }
  .btn-custom {
    padding: 9px 16px;
    font-size: 0.75rem;
  }
}
