/* =============================================================
   Startech Labs Brand Overrides
   Primary  : #00ab49  (brand green)
   Hover    : #008438  (dark brand green)
   Tint     : #eef9f2  (soft tint)
   On-green : #FFFFFF
   ============================================================= */

/* ---- CSS Variables ---- */
:root {
  --stl-primary:  #00ab49;
  --stl-hover:    #008438;
  --stl-tint:     #eef9f2;
  --stl-white:    #FFFFFF;
}

/* ---- Hover / Active states: override theme color back to dark purple ---- */
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: #008438 !important;
  border-color: #008438 !important;
}

a:hover,
a:focus {
  color: #008438;
}

.nav-item.active > .nav-link,
.nav-item > .nav-link:hover,
.nav-item > .nav-link:focus {
  color: #00ab49 !important;
}

/* Active nav indicator line */
.nav-item.active .nav-link::after {
  background: #00ab49;
}

/* ---- Soft tint backgrounds ---- */
.services-bg,
.block-6 .icon,
.ftco-section .icon {
  background-color: #eef9f2;
}

/* ---- Subheading / accent text ---- */
.subheading {
  color: #00ab49;
}

/* ---- Quote Card overlay ---- */
.img-overlay {
  background-color: #00ab49 !important;
}

/* ---- Counter border accent ---- */
.text-border {
  border-left: 3px solid #00ab49;
}

/* ---- Section heading underline ---- */
.heading-section h2::after,
.heading-section.text-center h2::after {
  background: #00ab49;
}

/* ---- Footer accent ---- */
.ftco-footer-social a:hover {
  background: #008438;
}

/* ---- Custom link / portfolio ---- */
.custom-btn {
  color: #00ab49;
  border-bottom: 1px solid #00ab49;
}
.custom-btn:hover {
  color: #008438;
  border-color: #008438;
}

/* ---- Instrument image pedestal ---- */
.equip-pedestal {
  background: #F8F9FA;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.equip-pedestal img {
  max-width: 380px;
  height: 250px;
  object-fit: contain;
  width: 100%;
}

/* ---- Accreditation cards ---- */
.accred-card {
  border-top: 3px solid #00ab49;
  background: #eef9f2;
  border-radius: 4px;
  transition: box-shadow 0.2s ease;
}
.accred-card:hover {
  box-shadow: 0 6px 24px rgba(0,171,73,0.18);
}
.accred-card .icon-wrap {
  color: #00ab49;
  font-size: 2.4rem;
  margin-bottom: 12px;
}

.accred-logo-wrap {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  width: 100%;
}

.accred-card-logo {
  max-height: 64px;
  max-width: 140px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.25s ease;
}

.accred-card-logo-nabl {
  max-height: 70px;
  max-width: 85px;
}

.accred-card-logo-fda {
  max-height: 42px;
  max-width: 175px;
}

.accred-card-logo-dca {
  max-height: 56px;
  max-width: 125px;
}

.accred-card-logo-iso {
  max-height: 56px;
  max-width: 68px;
}

.accred-card:hover .accred-card-logo {
  transform: scale(1.05);
}

/* ---- Client logo cards ---- */
.client-card {
  border: 1px solid #dcf3e4;
  border-radius: 4px;
  padding: 24px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  color: #555;
  min-height: 80px;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  letter-spacing: 0.5px;
}
.client-card:hover {
  border-color: #00ab49;
  box-shadow: 0 4px 16px rgba(0,171,73,0.14);
  color: #008438;
}

/* ---- Client Logo Carousel (2 Horizontal Continuous Rows) ---- */
.client-carousel-wrapper {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 0;
}

.client-carousel-viewport {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 12px 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
}

.client-carousel-track {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}

.client-track-row {
  display: flex;
  align-items: center;
  gap: 20px;
  width: max-content;
  will-change: transform;
}

.client-logo-card {
  flex: 0 0 auto;
  width: 210px;
  height: 94px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  user-select: none;
  cursor: default;
}

.client-logo-card:hover {
  transform: translateY(-2px);
  border-color: #00ab49;
  box-shadow: 0 8px 20px rgba(0, 171, 73, 0.14);
}

.client-logo-img {
  max-width: 145px;
  max-height: 50px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.25s ease;
}

.client-logo-card:hover .client-logo-img {
  transform: scale(1.05);
}

/* Carousel Navigation Arrows */
.client-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%) scale(0.9);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #dce2ea;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  color: #1a1a2e;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
  padding: 0;
}

.client-carousel-wrapper:hover .client-carousel-arrow,
.client-carousel-wrapper:focus-within .client-carousel-arrow {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) scale(1);
}

.client-carousel-arrow:hover {
  background: #00ab49;
  border-color: #00ab49;
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(0, 171, 73, 0.3);
  transform: translateY(-50%) scale(1.08);
}

.client-carousel-arrow:active {
  transform: translateY(-50%) scale(0.96);
}

.client-arrow-prev {
  left: 8px;
}

.client-arrow-next {
  right: 8px;
}

@media (max-width: 767.98px) {
  .client-logo-card {
    width: 165px;
    height: 76px;
    padding: 10px 14px;
  }
  .client-logo-img {
    max-width: 115px;
    max-height: 38px;
  }
  .client-track-row {
    gap: 14px;
  }
  .client-carousel-track {
    gap: 14px;
  }
  .client-carousel-arrow {
    width: 38px;
    height: 38px;
    font-size: 13px;
    opacity: 0.85;
    visibility: visible;
    transform: translateY(-50%) scale(1);
  }
  .client-arrow-prev {
    left: 4px;
  }
  .client-arrow-next {
    right: 4px;
  }
}

/* ---- Hero split layout ---- */
.hero-lab-img {
  position: absolute;
  right: 0;
  top: 0;
  width: 50%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

/* ---- Stats counter row ---- */
.stats-row {
  background: #00ab49 !important;
  color: #ffffff !important;
  position: relative;
}

.stat-col {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px 20px;
  width: 100%;
}

.stat-num-wrap {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  margin-bottom: 10px;
  line-height: 1;
}

.stats-row strong.number {
  font-size: clamp(2.4rem, 3.2vw, 3.2rem) !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  line-height: 1 !important;
  letter-spacing: -0.5px;
}

.stat-suffix {
  font-size: clamp(1.8rem, 2.4vw, 2.3rem);
  font-weight: 800;
  color: #ffffff !important;
  margin-left: 3px;
  line-height: 1;
}

.stat-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.90) !important;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  line-height: 1.45;
  margin: 0 auto;
  max-width: 200px;
  padding-left: 0 !important;
}

/* Vertical Separator Dividers */
/* Desktop (>= 992px): 4 items in 1 row -> crisp dividers between columns 1-2, 2-3, 3-4 */
@media (min-width: 992px) {
  .stat-col:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background: rgba(255, 255, 255, 0.32);
  }
}

/* Tablet & Mobile (< 992px): 2 items per row -> divider on right of odd items (col 1 and col 3) */
@media (max-width: 991.98px) {
  .stat-col:nth-child(odd)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background: rgba(255, 255, 255, 0.32);
  }
  .stat-col:nth-child(-n+2) {
    margin-bottom: 24px;
  }
}

@media (max-width: 575.98px) {
  .stat-card {
    padding: 10px 4px;
  }
  .stat-label {
    font-size: 0.76rem;
    letter-spacing: 1px;
  }
}

/* ---- Section: Overview band ---- */
.bg-stl-primary {
  background: #00ab49 !important;
}
.bg-stl-primary * {
  color: #fff !important;
}
.bg-stl-primary h3 {
  color: #fff !important;
}

/* ---- Quote card text ---- */
.quote-card-wrap:not(.quote-unified-card) {
  background: #00ab49;
  color: #fff;
  padding: 40px 32px;
  border-radius: 2px;
}
.quote-card-wrap h3,
.quote-card-wrap label,
.quote-card-wrap .subheading {
  color: #fff !important;
}
.quote-card-wrap .form-control {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
}
.quote-card-wrap .form-control::placeholder {
  color: rgba(255,255,255,0.7);
}
.quote-card-wrap:not(.quote-unified-card) .btn-submit {
  background: #fff;
  color: #00ab49;
  font-weight: 700;
  border: none;
  padding: 10px 24px;
  border-radius: 2px;
  transition: background 0.2s, color 0.2s;
}
.quote-card-wrap:not(.quote-unified-card) .btn-submit:hover {
  background: #eef9f2;
  color: #008438;
}

/* ---- Team card ---- */
.team-card .team-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: top center;
}
.team-card .team-name {
  font-weight: 700;
  color: #333;
  margin-bottom: 2px;
}
.team-card .team-qual {
  font-size: 0.82rem;
  color: #00ab49;
  font-weight: 600;
}
.team-card .team-title {
  font-size: 0.88rem;
  color: #666;
}


/* =============================================================
   FIX 1 — Transparent Hero Navbar: white links over dark hero,
            dark links only on .scrolled (sticky white bar)
   ============================================================= */

/* ---- Navbar Brand & Dual Logo (Hero White Text / Scrolled Blue Text) ---- */
.ftco-navbar-light {
  padding-bottom: 20px !important;
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  padding: 0 !important;
  margin-right: 2.5rem;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}
.navbar-logo {
  height: 85px;
  width: auto;
  max-width: none !important;
  object-fit: contain;
  display: block;
  transition: all 0.25s ease;
}

/* Default / Hero section: NO white background, show logo-default (white STARTECH LABS text) */
.ftco-navbar-light .navbar-brand {
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
}
.ftco-navbar-light .navbar-brand:hover {
  box-shadow: none !important;
  transform: none !important;
  opacity: 0.92;
}
.ftco-navbar-light .navbar-brand .logo-default {
  display: block !important;
  height: 85px;
  max-width: none !important;
}
.ftco-navbar-light .navbar-brand .logo-scrolled {
  display: none !important;
}
.ftco-navbar-light .navbar-nav > .nav-item > .nav-link {
  color: #ffffff !important;
  font-size: 16px;
  font-weight: 600;
}
.ftco-navbar-light .navbar-nav > .nav-item > .nav-link:hover,
.ftco-navbar-light .navbar-nav > .nav-item > .nav-link:focus {
  color: #00ab49 !important;
}
/* Active link keeps theme accent even before scroll */
.ftco-navbar-light .navbar-nav > .nav-item.active > .nav-link {
  color: #00ab49 !important;
}

/* Scrolled / sticky white navbar: compact header with 52px logo (desktop) / 46px (mobile) */
.ftco-navbar-light.scrolled {
  z-index: 1050 !important;
  padding-top: 6px !important;
  padding-bottom: 6px !important;
  min-height: 64px !important;
  margin-top: -160px;
}
.ftco-navbar-light.scrolled.awake {
  margin-top: 0px !important;
}
.ftco-navbar-light.scrolled .navbar-brand {
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin-right: 1.5rem;
  transform: none;
}
.ftco-navbar-light.scrolled .navbar-brand .logo-default {
  display: none !important;
}
.ftco-navbar-light.scrolled .navbar-brand .logo-scrolled {
  display: block !important;
  height: 52px !important;
  max-width: none !important;
}
.ftco-navbar-light.scrolled .navbar-nav > .nav-item > .nav-link {
  color: #1E242B !important;
  font-size: 14.5px;
  font-weight: 600;
  padding-top: 6px !important;
  padding-bottom: 6px !important;
  padding-left: 14px !important;
  padding-right: 14px !important;
  line-height: 1.4 !important;
}
.ftco-navbar-light.scrolled .navbar-nav > .nav-item > .nav-link:hover,
.ftco-navbar-light.scrolled .navbar-nav > .nav-item > .nav-link:focus {
  color: #00ab49 !important;
}
.ftco-navbar-light.scrolled .navbar-nav > .nav-item.active > .nav-link {
  color: #00ab49 !important;
}

@media (max-width: 991.98px) {
  .ftco-navbar-light {
    padding-bottom: 20px !important;
  }
  .ftco-navbar-light.scrolled {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
    min-height: 56px !important;
  }
  .ftco-navbar-light .navbar-brand {
    background: transparent !important;
    padding: 0 !important;
    margin: 4px 0;
  }
  .ftco-navbar-light .navbar-brand .navbar-logo {
    height: 52px;
  }
  .ftco-navbar-light .navbar-brand .logo-default {
    display: block !important;
    height: 52px;
  }
  .ftco-navbar-light .navbar-brand .logo-scrolled {
    display: none !important;
  }
  .ftco-navbar-light.scrolled .navbar-brand .logo-default {
    display: none !important;
  }
  .ftco-navbar-light.scrolled .navbar-brand .logo-scrolled {
    display: block !important;
    height: 46px !important;
  }
}


/* =============================================================
   FIX 2 — 4-Column Icon Band: strip the grey/white icon box that
            the base template paints; SVGs handle their own display
   ============================================================= */
.bg-stl-primary .icon,
.services .icon {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  width: auto !important;
  height: auto !important;
  margin-bottom: 16px;
}
.bg-stl-primary .icon svg {
  display: block;
  margin: 0 auto;
}


/* =============================================================
   FIX 3 — Quote Form: solid white inputs with dark text
   ============================================================= */
.quote-card-wrap .form-control,
.quote-card-wrap input.form-control,
.quote-card-wrap textarea.form-control,
.quote-card-wrap select.form-control {
  background: #ffffff !important;
  border: 1px solid rgba(0,171,73,0.3) !important;
  color: #1E242B !important;
}
.quote-card-wrap .form-control::placeholder,
.quote-card-wrap input.form-control::placeholder,
.quote-card-wrap textarea.form-control::placeholder {
  color: #888 !important;
  opacity: 1;
}
/* Fix select option text visibility */
.quote-card-wrap select.form-control option {
  color: #1E242B;
  background: #fff;
}
/* Keep the custom dropdown arrow visible with clean end padding and active up-arrow toggle */
.quote-card-wrap .select-wrap {
  position: relative;
}
.quote-card-wrap select.form-control {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  padding-right: 48px !important;
  cursor: pointer;
}
.quote-card-wrap select.form-control::-ms-expand {
  display: none;
}
.quote-card-wrap .icon-arr {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  color: #00ab49 !important;
  z-index: 2;
}
.quote-card-wrap .icon-arr i {
  color: #00ab49 !important;
  font-size: 13px;
  line-height: 1;
  display: inline-block;
  transform: rotate(0deg);
  transition: transform 0.25s ease;
}

/* Arrow points UP ONLY when dropdown is actively open */
.quote-card-wrap .custom-dropdown-wrap.is-open .icon-arr i,
.quote-card-wrap .select-wrap.is-open .icon-arr i {
  transform: rotate(180deg) !important;
}


/* =============================================================
   FIX 4 — Stats Counter: White numbers & typography fallback
   ============================================================= */
.ftco-counter.stats-row .number,
.stats-row .number {
  color: #ffffff !important;
  font-weight: 800 !important;
}


/* =============================================================
   FIX 5 — Equipment Images: full-bleed cover fill in showcase
   ============================================================= */
.equip-showcase-img {
  display: block;
  width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: center;
  border-radius: 6px;
}
/* Reset the pedestal helper so it doesn't restrict to 380px thumbnail */
.equip-pedestal {
  background: #e4f5eb;
  padding: 0 !important;
  overflow: hidden;
  border-radius: 6px;
}




/* =============================================================
   Right-aligned equipment showcase block (GC-MS / text-md-right)
   - Elevates text column z-index so line is not hidden under the image pedestal
   - Anchors horizontal line inside the frame section of the image
   - Keeps native hover expansion (width: 200px) fully working
   - Keeps bullet dots properly aligned with text
   ============================================================= */
.portfolio-wrap .col-md-7 {
  position: relative;
  z-index: 5;
}

.portfolio-wrap .text {
  position: relative;
  z-index: 5;
}

.portfolio-wrap .text .desc .top:after {
  position: absolute;
  top: -30px;
  left: -150px;
  right: auto !important;
  content: '';
  width: 150px;
  height: 1px !important;
  max-height: 1px !important;
  background: #1E242B !important;
  line-height: 0 !important;
  font-size: 0 !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  margin: 0 !important;
  padding: 0 !important;
  z-index: 10;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transition: width 0.3s ease;
}

.portfolio-wrap .text .desc.line-from-right .top:after,
.portfolio-wrap .text .desc.text-md-right .top:after {
  position: absolute;
  top: -30px;
  left: auto !important;
  right: -150px !important;
  content: '';
  width: 150px;
  height: 1px !important;
  max-height: 1px !important;
  background: #1E242B !important;
  line-height: 0 !important;
  font-size: 0 !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  margin: 0 !important;
  padding: 0 !important;
  z-index: 10;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transition: width 0.3s ease;
}

.portfolio-wrap .text .desc:hover .top:after {
  width: 200px;
}

.portfolio-wrap .text .desc.line-from-right:hover .top:after,
.portfolio-wrap .text .desc.text-md-right:hover .top:after {
  width: 200px;
}

.portfolio-wrap .text .desc.text-md-right ul {
  list-style-position: inside;
  padding-left: 0;
  padding-right: 0;
}

@media (max-width: 767.98px) {
  .portfolio-wrap .text .desc.text-md-right ul {
    list-style-position: outside;
    padding-left: 18px;
  }
}

/* =============================================================
   About Page Enhancements (Mission/Vision, Milestones, Leaders)
   ============================================================= */
.mv-card {
  border-top: 4px solid #00ab49;
  background: #ffffff;
  border-radius: 6px;
  padding: 40px 32px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.mv-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 171, 73, 0.14);
}
.mv-card .mv-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #eef9f2;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.mv-card h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: #1E242B;
  margin-bottom: 16px;
}
.mv-card p {
  color: #555555;
  font-size: 0.95rem;
  line-height: 1.7;
}

.milestone-badge {
  background: #eef9f2;
  border-left: 3px solid #00ab49;
  padding: 14px 16px;
  border-radius: 4px;
  text-align: center;
}
.milestone-badge strong {
  color: #008438;
  font-size: 1.05rem;
  display: block;
  font-weight: 800;
}
.milestone-badge span {
  font-size: 0.82rem;
  color: #666;
  display: block;
}

.leader-card {
  background: #ffffff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid #cceed8;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  height: 100%;
}
.leader-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 30px rgba(0, 171, 73, 0.15);
  border-color: #00ab49;
}
.leader-card .leader-img {
  width: 100%;
  height: 290px;
  object-fit: cover;
  object-position: top center;
  display: block;
  background-color: #F8F9FA;
}
.leader-card .leader-info {
  padding: 20px 18px;
}
.leader-card .leader-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: #1E242B;
  margin-bottom: 4px;
}
.leader-card .leader-qual {
  font-size: 0.85rem;
  color: #00ab49;
  font-weight: 700;
  display: block;
  margin-bottom: 4px;
}
.leader-card .leader-title {
  font-size: 0.9rem;
  color: #555555;
  font-weight: 500;
  display: block;
}

/* =============================================================
   LEADERSHIP TEAM CARDS — RESPONSIVE PORTRAIT STYLING (#our-team)
   Mobile (< 992px): Centers cards with clean max-width (290px)
   and responsive portrait ratio so leader photos are never
   stretched, cropped, or zoomed in.
   Desktop (min-width: 992px): Completely untouched as requested.
   ============================================================= */
@media (max-width: 991.98px) {
  #our-team .leader-card,
  .leader-card {
    max-width: 290px !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  #our-team .leader-card .leader-img,
  .leader-card .leader-img {
    width: 100% !important;
    height: 320px !important;
    aspect-ratio: 1 / 1.15 !important;
    object-fit: cover !important;
    object-position: top center !important;
  }
  #our-team .leader-card .leader-info,
  .leader-card .leader-info {
    padding: 16px 14px 18px 14px !important;
    text-align: center !important;
  }
  #our-team .leader-card .leader-name,
  .leader-card .leader-name {
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    color: #1E242B !important;
    margin-bottom: 4px !important;
  }
  #our-team .leader-card .leader-title,
  .leader-card .leader-title {
    font-size: 0.86rem !important;
    color: #555555 !important;
    line-height: 1.4 !important;
  }
}

/* =============================================================
   Subpage Hero Banner Overrides (hero-wrap-2)
   Fixes ArcLab's default 600px height, 0.1 opacity and black text
   Desktop (min-width: 992px): Spaced below absolute navbar
   Mobile (max-width: 991.98px): Compact below relative mobile bar
   ============================================================= */
@media (min-width: 992px) {
  .hero-wrap.hero-wrap-2 {
    min-height: 480px !important;
    height: auto !important;
    position: relative;
  }
  .hero-wrap.hero-wrap-2 .overlay {
    min-height: 100% !important;
    height: 100% !important;
    opacity: 1 !important;
  }
  .hero-wrap.hero-wrap-2 .slider-text {
    min-height: 480px !important;
    height: auto !important;
    align-items: flex-start !important;
    padding-top: 148px !important;
    padding-bottom: 45px !important;
  }
}

@media (max-width: 991.98px) {
  .hero-wrap.hero-wrap-2 {
    min-height: auto !important;
    height: auto !important;
    padding: 0 !important;
  }
  .hero-wrap.hero-wrap-2 .overlay {
    min-height: 100% !important;
    height: 100% !important;
    opacity: 1 !important;
  }
  .hero-wrap.hero-wrap-2 .slider-text {
    min-height: auto !important;
    height: auto !important;
    align-items: flex-start !important;
    padding-top: 24px !important;
    padding-bottom: 20px !important;
  }
  .hero-wrap.hero-wrap-2 .slider-text .ftco-animate,
  .hero-wrap.hero-wrap-2 .slider-text .pb-5 {
    padding-bottom: 0 !important;
  }
}
.hero-wrap.hero-wrap-2 .slider-text h1.bread {
  color: #ffffff !important;
  font-weight: 800 !important;
}
.hero-wrap.hero-wrap-2 .slider-text .breadcrumbs {
  margin-bottom: 12px;
}
.hero-wrap.hero-wrap-2 .slider-text .breadcrumbs span {
  color: rgba(255, 255, 255, 0.75) !important;
}
.hero-wrap.hero-wrap-2 .slider-text .breadcrumbs span a {
  color: rgba(255, 255, 255, 0.75) !important;
}
.hero-wrap.hero-wrap-2 .slider-text .breadcrumbs span a:hover {
  color: #00ab49 !important;
}

/* =============================================================
   Services Page Enhancements (Quick Nav, Checklists, Connector Lines)
   ============================================================= */
html {
  scroll-behavior: smooth;
}

.service-section-wrap {
  scroll-margin-top: 120px;
}

.services-quick-nav {
  background: #ffffff;
  border-bottom: 1px solid #cceed8;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  position: -webkit-sticky;
  position: sticky;
  top: 64px;
  z-index: 990;
}

@media (min-width: 992px) {
  .services-quick-nav {
    top: 64px;
  }
}

/* Quick Nav Wrapper with Scroll Controls */
.quick-nav-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.quick-nav-bar {
  flex: 1 1 auto;
  min-width: 0;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  justify-content: flex-start !important;
  align-items: center !important;
  gap: 10px;
  padding: 10px 4px;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  white-space: nowrap !important;
  -webkit-overflow-scrolling: touch !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  scroll-behavior: smooth !important;
  cursor: grab;
  user-select: none;
}

.quick-nav-bar:active,
.quick-nav-bar.is-dragging {
  cursor: grabbing;
}

.quick-nav-bar::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.quick-nav-pill {
  flex: 0 0 auto !important;
  flex-shrink: 0 !important;
  color: #495057;
  font-size: 0.86rem;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 20px;
  background: #f8f9fa;
  border: 1px solid #e2e8f0;
  transition: all 0.2s ease;
  text-decoration: none !important;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.quick-nav-pill:not(.active):hover,
.quick-nav-pill:not(.active):focus {
  color: #008438 !important;
  background: #eef9f2 !important;
  border-color: #00ab49 !important;
}

.quick-nav-pill.active,
.quick-nav-pill.active:hover,
.quick-nav-pill.active:focus,
.quick-nav-pill.active:active,
.quick-nav-pill.active:visited {
  background: #00ab49 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border-color: #00ab49 !important;
  box-shadow: 0 3px 10px rgba(0, 171, 73, 0.25) !important;
}

.quick-nav-pill.active:hover,
.quick-nav-pill.active:focus {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: #008438 !important;
  border-color: #008438 !important;
}

/* Quick Nav Slide Arrows */
.quick-nav-arrow {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #dce2ea;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  color: #1a1a2e;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: all 0.2s ease;
  padding: 0;
  margin: 0 4px;
}

.quick-nav-arrow:hover {
  background: #00ab49;
  border-color: #00ab49;
  color: #ffffff;
}

.quick-nav-arrow:disabled,
.quick-nav-arrow.is-disabled {
  opacity: 0.35;
  pointer-events: none;
  cursor: default;
}

@media (min-width: 768px) {
  .quick-nav-bar {
    gap: 10px;
    padding: 10px 4px;
  }
  .quick-nav-pill {
    font-size: 0.88rem;
    padding: 8px 18px;
  }
}

@media (max-width: 767.98px) {
  .quick-nav-arrow {
    display: none !important;
  }
}

@media (max-width: 991.98px) {
  .services-quick-nav {
    top: 64px !important;
  }
  .quick-nav-bar {
    padding-top: 18px !important;
    padding-bottom: 10px !important;
  }
}

@media (max-width: 767.98px) {
  .services-quick-nav .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
  }
}

.quick-nav-pill:not(.active):hover,
.quick-nav-pill:not(.active):focus {
  color: #008438 !important;
  background: #eef9f2 !important;
  border-color: #00ab49 !important;
}

/* Service parameter list (2-column checklist) */
.service-param-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-param-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  font-size: 0.92rem;
  color: #495057;
  line-height: 1.5;
}

.service-param-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: #00ab49;
  font-weight: 800;
  font-size: 0.92rem;
}

/* Vertical tags (e.g. 01 / PHARMACEUTICAL TESTING) */
.service-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: #00ab49;
  text-transform: uppercase;
  margin-bottom: 6px;
}



@media (min-width: 768px) {
  .portfolio-wrap .text .desc.text-md-right .service-param-list li {
    text-align: right;
    padding-left: 0;
    padding-right: 22px;
  }
  .portfolio-wrap .text .desc.text-md-right .service-param-list li::before {
    left: auto;
    right: 0;
  }
}

/* =============================================================
   Equipments Page Enhancements (Filter Bar, Pedestals, Specs)
   ============================================================= */
.equip-filter-nav {
  background: #ffffff;
  border-bottom: 1px solid #cceed8;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  position: -webkit-sticky;
  position: sticky;
  top: 64px;
  z-index: 990;
}

@media (min-width: 992px) {
  .equip-filter-nav {
    top: 64px;
  }
}

.equip-filter-wrap {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  width: 100% !important;
  position: relative;
  background: #ffffff;
}

/* Pinned standalone unclickable filter indicator outside scrollable area */
.filter-bar-lead {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px;
  flex: 0 0 auto !important;
  flex-shrink: 0 !important;
  white-space: nowrap !important;
  padding: 6px 14px 6px 0;
  margin-right: 10px;
  border-right: 1px solid #d8f0e1;
  background: #ffffff;
  z-index: 5;
  user-select: none !important;
  pointer-events: none !important;
  cursor: default !important;
}

.filter-bar-lead .filter-lead-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #eef9f2;
  border: 1px solid #cceed8;
  color: #00ab49;
  flex-shrink: 0;
}

.filter-bar-lead .filter-lead-text {
  color: #1E242B;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.equip-filter-bar {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 8px;
  padding: 10px 0;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  white-space: nowrap !important;
  flex-wrap: nowrap !important;
  -webkit-overflow-scrolling: touch !important;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
}

.equip-filter-bar::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.filter-btn {
  background: #F8F9FA;
  border: 1px solid #d8f0e1;
  color: #495057;
  font-weight: 700;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  font-size: 0.85rem;
  padding: 7px 16px;
  border-radius: 24px;
  cursor: pointer;
  transition: all 0.25s ease;
  outline: none;
  flex: 0 0 auto !important;
  flex-shrink: 0 !important;
  white-space: nowrap !important;
  margin-bottom: 0 !important;
}

@media (min-width: 768px) {
  .equip-filter-bar {
    justify-content: flex-start !important;
    gap: 10px;
    padding: 12px 0;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
  }
  .filter-btn {
    font-size: 0.88rem;
    padding: 8px 18px;
    margin-bottom: 0 !important;
  }
}

@media (max-width: 991.98px) {
  .equip-filter-nav {
    top: 64px !important;
  }
  .equip-filter-bar {
    padding-top: 18px !important;
    padding-bottom: 10px !important;
  }
}

@media (max-width: 767.98px) {
  .equip-filter-nav .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
  }
  .equip-filter-wrap {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}

.filter-btn:hover {
  background: #eef9f2;
  color: #008438;
  border-color: #00ab49;
}

.filter-btn.active {
  background: #00ab49;
  color: #ffffff;
  border-color: #00ab49;
  box-shadow: 0 4px 12px rgba(0, 171, 73, 0.25);
}

.equip-item-row {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.equip-item-row.is-filtered-visible {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

/* Equipment Row & Pedestal Alignment:
   - Sets align-items: stretch so the shaded card pedestal matches text column height
   - Eliminates line floating above the pedestal on tall-text cards
   - Ensures the horizontal line consistently emerges from inside the shaded card part */
.equip-item-row .row,
.service-section-wrap .row {
  align-items: stretch !important;
}

.equip-item-row .equip-page-pedestal,
.service-section-wrap .equip-page-pedestal,
.equip-page-pedestal {
  background: #F8F9FA !important;
  border: 1px solid #cceed8 !important;
  border-radius: 6px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 24px !important;
  min-height: 100% !important;
  height: auto !important;
  overflow: hidden !important;
}

.equip-item-row .text,
.service-section-wrap .text {
  padding-bottom: 3rem !important;
}

/* Anchor the horizontal connector line consistently inside the shaded card across all 24 cards and service rows */
.equip-item-row .text .desc .top:after,
.equip-item-row .text .desc.text-md-right .top:after,
.service-section-wrap .text .desc .top:after,
.service-section-wrap .text .desc.text-md-right .top:after {
  top: -24px !important;
}

.equip-page-pedestal img,
.equip-page-pedestal .equip-showcase-img,
.service-section-wrap .equip-page-pedestal img,
.service-section-wrap .equip-page-pedestal .equip-showcase-img {
  max-width: 100% !important;
  max-height: 300px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  border-radius: 4px !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06) !important;
  transition: transform 0.35s ease !important;
}

.portfolio-wrap:hover .equip-page-pedestal img,
.portfolio-wrap:hover .equip-page-pedestal .equip-showcase-img {
  transform: scale(1.02) !important;
}

/* Equipment Spec List */
.equip-spec-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
}

.equip-spec-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: 0.92rem;
  color: #495057;
  line-height: 1.5;
}

.equip-spec-list li::before {
  content: '▪';
  position: absolute;
  left: 0;
  top: -1px;
  color: #00ab49;
  font-size: 1.1rem;
}

@media (min-width: 768px) {
  .portfolio-wrap .text .desc.text-md-right .equip-spec-list li {
    text-align: right;
    padding-left: 0;
    padding-right: 20px;
  }
  .portfolio-wrap .text .desc.text-md-right .equip-spec-list li::before {
    left: auto;
    right: 0;
  }
}

/* Subheading responsive dash widths on mobile */
@media (max-width: 575.98px) {
  .heading-section .subheading:after {
    width: 30px !important;
    left: -40px !important;
  }
  .heading-section .subheading:before {
    width: 30px !important;
    right: -40px !important;
  }
}

/* About Company Overview Subheading alignment offset */
.about-subheading-wrap {
  text-align: center;
  margin-bottom: 12px;
  transform: translateX(-32px);
}

@media (max-width: 991.98px) {
  .about-subheading-wrap {
    transform: translateX(-16px);
  }
}

@media (max-width: 575.98px) {
  .about-subheading-wrap {
    transform: translateX(0);
  }
}

/* =============================================================
   Showcase Button Groups — Mobile Vertical Column Alignment
   (index.html, services.html, equipments.html)
   ============================================================= */
@media (max-width: 991.98px) {
  .portfolio-wrap .text .desc .showcase-btn-group,
  .portfolio-wrap .text .desc p.showcase-btn-group {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
    margin-top: 1.5rem !important;
  }

  .portfolio-wrap .text .desc .showcase-btn-group .btn {
    margin-right: 0 !important;
    margin-bottom: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 13px 26px !important;
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    width: fit-content !important;
    max-width: 100% !important;
  }

  .portfolio-wrap .text .desc .showcase-btn-group .custom-btn {
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 6px 0 !important;
    white-space: nowrap !important;
    width: fit-content !important;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .portfolio-wrap .text .desc.text-md-right .showcase-btn-group,
  .portfolio-wrap .text .desc.text-md-right p.showcase-btn-group {
    align-items: flex-end !important;
  }
}

/* Specification Showcase CTA Buttons (ALL INSTRUMENTS, VIEW OEM SPECS) */
.spec-showcase-btn {
  font-weight: 700 !important;
  font-size: 0.88rem !important;
  letter-spacing: 0.6px !important;
  padding: 13px 28px !important;
  border-radius: 4px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  white-space: nowrap !important;
  line-height: 1.4 !important;
}

/* =============================================================
   Footer Brand Logo (Matches Navbar Logo Dimensions & Responsiveness)
   ============================================================= */
.footer-logo {
  height: 85px;
  width: auto;
  max-width: none !important;
  object-fit: contain;
  display: block;
  margin-bottom: 20px;
  transition: opacity 0.25s ease;
}

.footer-logo:hover {
  opacity: 0.9;
}

@media (max-width: 991.98px) {
  .footer-logo {
    height: 52px;
    margin-bottom: 16px;
  }
}

/* =============================================================
   Mobile Screen Spacing & Padding Optimization (< 768px / < 576px)
   Normalizes section padding, card spacing, and banner heights
   without touching desktop/large screen layouts.
   ============================================================= */

@media (max-width: 767.98px) {
  /* 1. Global Section Vertical Padding */
  .ftco-section {
    padding: 3rem 0 !important;
  }
  .ftco-section.ftco-no-pt {
    padding-top: 0 !important;
  }
  .ftco-section.ftco-no-pb {
    padding-bottom: 0 !important;
  }
  .ftco-section.py-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }

  /* 2. Subpage Header Banners (about, services, equipments, contact) */
  .hero-wrap.hero-wrap-2 {
    height: auto !important;
    min-height: auto !important;
    padding: 0 !important;
  }
  .hero-wrap.hero-wrap-2 .overlay {
    height: 100% !important;
    min-height: 100% !important;
  }
  .hero-wrap.hero-wrap-2 .slider-text {
    height: auto !important;
    min-height: auto !important;
    padding-top: 24px !important;
    padding-bottom: 20px !important;
  }
  .hero-wrap.hero-wrap-2 .slider-text .pb-5,
  .hero-wrap.hero-wrap-2 .slider-text .ftco-animate {
    padding-bottom: 0 !important;
  }

  /* 3. Homepage Hero Section */
  .hero-wrap:not(.hero-wrap-2) {
    min-height: auto !important;
    height: auto !important;
  }
  .hero-wrap:not(.hero-wrap-2) .container {
    min-height: auto !important;
    display: block !important;
  }
  .hero-wrap:not(.hero-wrap-2) .row.w-100 {
    min-height: auto !important;
    padding: 95px 0 40px 0 !important;
  }

  /* 4. Overview 4-Column Band on index.html */
  .media.block-6.services.px-5.py-5,
  .media.block-6.services {
    padding: 22px 18px !important;
  }

  /* 5. Split Intro + Quote Card on index.html */
  .intro-quote-section .intro-content-col {
    padding: 32px 16px !important;
  }
  .quote-unified-card {
    min-height: auto !important;
    padding: 30px 18px !important;
  }

  /* 6. Equipment & Service Showcase Items */
  .portfolio-wrap {
    margin-bottom: 2.25rem !important;
  }
  .portfolio-wrap .text {
    padding-top: 1rem !important;
    padding-bottom: 0.5rem !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .portfolio-wrap .text .px-4:not(.btn),
  .portfolio-wrap .text .px-lg-5:not(.btn) {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .equip-item-row .text {
    padding-bottom: 0.5rem !important;
  }
  .equip-item-row .equip-page-pedestal,
  .service-section-wrap .equip-page-pedestal {
    padding: 16px 12px !important;
    min-height: auto !important;
  }
  .equip-item-row .equip-page-pedestal img,
  .service-section-wrap .equip-page-pedestal img,
  .service-section-wrap .equip-page-pedestal .equip-showcase-img {
    max-height: 220px !important;
  }
  .equip-spec-list {
    margin-bottom: 16px !important;
  }

  /* Services Page Mobile Optimization (Tight, uniform spacing) */
  .services-quick-nav {
    top: 64px !important;
  }
  .quick-nav-bar {
    padding-top: 10px !important;
    padding-bottom: 8px !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    white-space: nowrap !important;
    flex-wrap: nowrap !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
  }
  .quick-nav-bar::-webkit-scrollbar {
    display: none !important;
  }
  .quick-nav-pill {
    font-size: 0.82rem !important;
    padding: 6px 14px !important;
    flex: 0 0 auto !important;
    flex-shrink: 0 !important;
  }
  .services-quick-nav + .ftco-section,
  .services-quick-nav + .ftco-portfolio {
    padding-top: 1.25rem !important;
    padding-bottom: 1.5rem !important;
  }
  .service-section-wrap {
    margin-bottom: 2rem !important;
    padding-bottom: 1.75rem !important;
    border-bottom: 1px solid #eef9f2;
  }
  .service-section-wrap:last-child {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    border-bottom: none !important;
  }
  .service-section-wrap .equip-page-pedestal {
    padding: 16px 12px !important;
    height: auto !important;
    min-height: auto !important;
    border-radius: 6px !important;
  }
  .service-section-wrap .equip-page-pedestal img,
  .service-section-wrap .equip-showcase-img {
    display: block !important;
    max-width: 100% !important;
    max-height: 220px !important;
    height: auto !important;
    object-fit: contain !important;
    object-position: center !important;
    border-radius: 4px !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08) !important;
  }
  .service-section-wrap .text {
    padding-top: 1rem !important;
    padding-bottom: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .service-section-wrap .text .px-4:not(.btn),
  .service-section-wrap .text .px-lg-5:not(.btn) {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .service-section-wrap .desc {
    text-align: left !important;
  }
  .service-section-wrap .desc.text-md-right {
    text-align: left !important;
  }
  .service-section-wrap .desc .top {
    margin-bottom: 0.4rem !important;
  }
  .service-section-wrap .service-tag {
    font-size: 0.75rem !important;
    margin-bottom: 4px !important;
    letter-spacing: 1.5px !important;
  }
  .service-section-wrap .desc h2 {
    font-size: 1.45rem !important;
    line-height: 1.3 !important;
    margin-bottom: 0.6rem !important;
    text-align: left !important;
  }
  .service-section-wrap .desc p {
    font-size: 0.92rem !important;
    line-height: 1.6 !important;
    margin-bottom: 0.75rem !important;
    text-align: left !important;
  }
  .service-section-wrap .row.mb-4 {
    margin-bottom: 0.5rem !important;
  }
  .service-param-list {
    margin-bottom: 0.4rem !important;
    padding: 0 !important;
  }
  .service-param-list li {
    font-size: 0.88rem !important;
    line-height: 1.45 !important;
    margin-bottom: 6px !important;
    padding-left: 20px !important;
    padding-right: 0 !important;
    text-align: left !important;
  }
  .service-param-list li::before {
    left: 0 !important;
    right: auto !important;
  }
  .service-section-wrap .desc .showcase-btn-group,
  .service-section-wrap .desc p.showcase-btn-group {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
    margin-top: 0.85rem !important;
  }
  .service-section-wrap .showcase-btn-group .btn {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
    padding: 11px 20px !important;
    font-size: 0.9rem !important;
    margin-right: 0 !important;
  }
  .service-section-wrap .showcase-btn-group .custom-btn {
    text-align: center !important;
    justify-content: center !important;
    padding: 8px 0 !important;
    width: 100% !important;
  }

  /* 7. Heading Sections & Row Margins */
  .heading-section {
    margin-bottom: 1rem !important;
  }
  .heading-section h2 {
    font-size: 1.6rem !important;
    line-height: 1.3 !important;
  }
  .row.mb-5:not(.align-items-stretch) {
    margin-bottom: 1.75rem !important;
  }

  /* 8. About Us Sections */
  #overview .wrap-about {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
  }
  #mission-vision {
    margin-top: 0 !important;
  }
  .mv-card {
    padding: 22px 16px !important;
    margin-bottom: 1rem !important;
  }
  .leader-card {
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 1.5rem !important;
  }

  /* 9. Contact Page */
  .contact-section,
  .contact-section.py-5 {
    padding: 2.25rem 0 !important;
  }
  .contact-form.p-4,
  .contact-form.p-md-5 {
    padding: 1.25rem !important;
  }
  .contact-info .py-4 {
    padding-top: 0.35rem !important;
    padding-bottom: 0.35rem !important;
  }
  .contact-info .col-md-4 > div {
    padding: 20px 16px !important;
  }

  /* 10. Footer Section */
  .ftco-footer {
    padding: 3.25rem 0 1.75rem 0 !important;
  }
  .ftco-footer .row.mb-5 {
    margin-bottom: 1.25rem !important;
  }
  .ftco-footer-widget {
    margin-bottom: 1.5rem !important;
  }
  .ftco-footer-widget h2.ftco-heading-2 {
    margin-bottom: 0.75rem !important;
  }
}

@media (max-width: 575.98px) {
  /* Extra tight refinements for small mobile screens (e.g. 360px - 414px) */
  .ftco-section {
    padding: 2.25rem 0 !important;
  }
  .ftco-section.py-5 {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
  }
  .portfolio-wrap {
    margin-bottom: 2rem !important;
  }
  .hero-wrap.hero-wrap-2 {
    min-height: auto !important;
    padding: 0 !important;
  }
  .hero-wrap.hero-wrap-2 .slider-text {
    padding-top: 20px !important;
    padding-bottom: 16px !important;
  }
  .hero-wrap.hero-wrap-2 h1.bread {
    font-size: 1.6rem !important;
    margin-bottom: 0.4rem !important;
  }
  .hero-wrap:not(.hero-wrap-2) .row.w-100 {
    padding: 85px 0 32px 0 !important;
  }
  .quote-unified-card {
    padding: 24px 14px !important;
  }
  .intro-quote-section .intro-content-col {
    padding: 24px 12px !important;
  }
  .equip-item-row .equip-page-pedestal img,
  .service-section-wrap .equip-page-pedestal img,
  .service-section-wrap .equip-showcase-img,
  .equip-pedestal img {
    max-height: 180px !important;
  }
  .ftco-footer {
    padding: 2.75rem 0 1.5rem 0 !important;
  }
}

/* Contact Page Desktop Spacing: Match standard py-5 section padding across the site */
@media (min-width: 768px) {
  .contact-section,
  .contact-section.py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
}

/* =============================================================
   Accreditations Page & Non-Downloadable Certificate Viewer
   ============================================================= */

/* Branch Section Container & Distinct Branch Header Cards */
.branch-block {
  margin-bottom: 4.5rem;
}

.branch-header-card {
  border-radius: 12px;
  padding: 30px 34px;
  margin-bottom: 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Branch 1: Madinaguda (Central Analytical QC & Pharma Headquarters — Emerald Luxury Theme) */
.branch-header-madinaguda {
  background: linear-gradient(135deg, #072314 0%, #0c351f 50%, #154c2d 100%);
  border: 1px solid rgba(0, 210, 92, 0.45);
  border-left: 8px solid #00ab49;
  box-shadow: 0 12px 36px rgba(0, 171, 73, 0.2);
}

/* Branch 2: Nandigaon (Industrial Testing & Environmental Facility — Deep Slate-Cyan Theme) */
.branch-header-nandigaon {
  background: linear-gradient(135deg, #0a1c2e 0%, #112d47 50%, #183e60 100%);
  border: 1px solid rgba(0, 188, 212, 0.45);
  border-left: 8px solid #00bcd4;
  box-shadow: 0 12px 36px rgba(10, 28, 46, 0.28);
}

.branch-header-info {
  flex: 1 1 600px;
}

/* Branch Top Tag Badges */
.branch-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  border-radius: 20px;
  padding: 4px 14px 4px 6px;
}

.branch-tag-madinaguda {
  background: rgba(0, 171, 73, 0.22);
  border: 1px solid rgba(0, 210, 92, 0.45);
  color: #7efcb0;
}

.branch-tag-madinaguda .branch-num-tag {
  background: #00ab49;
  color: #ffffff;
  padding: 3px 9px;
  border-radius: 12px;
  font-size: 0.72rem;
  font-weight: 900;
}

.branch-tag-nandigaon {
  background: rgba(0, 188, 212, 0.2);
  border: 1px solid rgba(0, 188, 212, 0.45);
  color: #80deea;
}

.branch-tag-nandigaon .branch-num-tag {
  background: #00bcd4;
  color: #081a29;
  padding: 3px 9px;
  border-radius: 12px;
  font-size: 0.72rem;
  font-weight: 900;
}

/* Branch Title */
.branch-title-white {
  font-size: 1.65rem;
  font-weight: 800;
  color: #ffffff !important;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  line-height: 1.25;
}

.branch-hero-icon-madinaguda {
  color: #00d25c;
  font-size: 1.6rem;
}

.branch-hero-icon-nandigaon {
  color: #26c6da;
  font-size: 1.6rem;
}

.branch-state-label {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 12px;
  vertical-align: middle;
  letter-spacing: 0.5px;
}

.branch-state-madinaguda {
  background: rgba(0, 171, 73, 0.28);
  color: #a3f7c3;
  border: 1px solid rgba(0, 171, 73, 0.45);
}

.branch-state-nandigaon {
  background: rgba(0, 188, 212, 0.28);
  color: #b2ebf2;
  border: 1px solid rgba(0, 188, 212, 0.45);
}

/* Branch Address */
.branch-address-white {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 12px;
  line-height: 1.5;
}

.branch-address-white strong {
  color: #ffffff;
}

/* Capability Pills Row inside Branch Header */
.branch-caps-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.branch-cap-item {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
}

.branch-cap-item.madinaguda {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(0, 171, 73, 0.4);
  color: #c0f4d3;
}

.branch-cap-item.nandigaon {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(0, 188, 212, 0.4);
  color: #b8eef5;
}

/* Facility Regulatory Status Badges (Clean status without count numbers) */
.facility-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 24px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
  white-space: nowrap;
}

.facility-status-madinaguda {
  background: rgba(0, 171, 73, 0.16);
  border: 1px solid rgba(0, 210, 92, 0.45);
  color: #7efcb0;
  box-shadow: 0 4px 16px rgba(0, 171, 73, 0.12);
}

.facility-status-nandigaon {
  background: rgba(0, 188, 212, 0.16);
  border: 1px solid rgba(0, 188, 212, 0.45);
  color: #80deea;
  box-shadow: 0 4px 16px rgba(0, 188, 212, 0.12);
}

/* Distinct Stat Counter Boxes */
.branch-stat-counter-box {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 16px 22px;
  text-align: center;
  min-width: 175px;
  backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.branch-stat-counter-box.madinaguda {
  border: 1px solid rgba(0, 210, 92, 0.4);
  box-shadow: inset 0 0 16px rgba(0, 171, 73, 0.12);
}

.branch-stat-counter-box.nandigaon {
  border: 1px solid rgba(0, 188, 212, 0.4);
  box-shadow: inset 0 0 16px rgba(0, 188, 212, 0.12);
}

.branch-stat-count {
  font-size: 2.3rem;
  font-weight: 900;
  line-height: 1;
  display: block;
}

.branch-stat-counter-box.madinaguda .branch-stat-count {
  color: #00d25c;
}

.branch-stat-counter-box.nandigaon .branch-stat-count {
  color: #26c6da;
}

.branch-stat-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: rgba(255, 255, 255, 0.88);
  margin-top: 4px;
}

/* Styled Vertical Certificate List */
.cert-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cert-card-item {
  background: #ffffff;
  border: 1px solid #e1eee5;
  border-left: 4px solid #00ab49;
  border-radius: 8px;
  padding: 20px 24px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  transition: all 0.25s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.cert-card-item:hover {
  transform: translateY(-2px);
  border-color: #bfe6cb;
  border-left-color: #008438;
  box-shadow: 0 10px 24px rgba(0, 171, 73, 0.12);
  background: #fcfefd;
}

.cert-card-left {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  flex: 1 1 auto;
  min-width: 0;
}

.cert-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #eef9f2;
  border: 1.5px solid #cceed8;
  color: #00ab49;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.cert-card-item:hover .cert-card-icon {
  background: #00ab49;
  color: #ffffff;
  border-color: #00ab49;
  transform: scale(1.05);
}

.cert-card-body {
  flex: 1 1 auto;
  min-width: 0;
}

.cert-card-authority {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #00ab49;
  margin-bottom: 4px;
  display: block;
}

.cert-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #1E242B;
  margin-bottom: 6px;
  line-height: 1.35;
}

.cert-card-scope {
  font-size: 0.92rem;
  color: #495057;
  line-height: 1.5;
  margin-bottom: 10px;
}

.cert-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}

.cert-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #495057;
  background: #f4f6f5;
  border: 1px solid #e2e8e4;
  padding: 3px 10px;
  border-radius: 12px;
}

.cert-meta-pill.highlight {
  background: #eef9f2;
  border-color: #cceed8;
  color: #008438;
}

.cert-card-right {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.cert-view-btn {
  background: #ffffff;
  border: 1.5px solid #00ab49;
  color: #00ab49;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 9px 20px;
  border-radius: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.cert-card-item:hover .cert-view-btn,
.cert-view-btn:hover {
  background: #00ab49;
  color: #ffffff;
  border-color: #00ab49;
  box-shadow: 0 4px 12px rgba(0, 171, 73, 0.25);
}

/* Branch Quick-Jump Anchor Bar */
.accred-quick-nav {
  background: #ffffff;
  border-bottom: 1px solid #cceed8;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  position: -webkit-sticky;
  position: sticky;
  top: 64px;
  z-index: 990;
}

.accred-nav-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 12px 0;
}

.accred-nav-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #F8F9FA;
  border: 1px solid #d8f0e1;
  color: #495057;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 8px 22px;
  border-radius: 24px;
  text-decoration: none !important;
  transition: all 0.25s ease;
}

.accred-nav-bullet {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
}

.bullet-madinaguda {
  background: #00ab49;
  color: #ffffff;
}

.bullet-nandigaon {
  background: #00bcd4;
  color: #ffffff;
}

.accred-nav-pill:hover {
  transform: translateY(-1px);
}

.accred-nav-pill.accred-nav-madinaguda:hover,
.accred-nav-pill.accred-nav-madinaguda.active {
  background: #eef9f2;
  color: #008438 !important;
  border-color: #00ab49;
  box-shadow: 0 3px 10px rgba(0, 171, 73, 0.15);
}

.accred-nav-pill.accred-nav-nandigaon:hover,
.accred-nav-pill.accred-nav-nandigaon.active {
  background: #e8f8fb;
  color: #00838f !important;
  border-color: #00bcd4;
  box-shadow: 0 3px 10px rgba(0, 188, 212, 0.15);
}

/* =============================================================
   Interactive Non-Downloadable Certificate Viewer Modal
   ============================================================= */
/* =============================================================
   Full-Screen Borderless Certificate Lightbox
   ============================================================= */
.cert-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  z-index: 999999;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  pointer-events: none !important;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.28s ease;
  overflow: hidden;
}

.cert-modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto !important;
}

/* Translucent dark navy/blue tint backdrop covering entire viewport */
.cert-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  background: rgba(10, 22, 42, 0.88) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  z-index: 1;
  pointer-events: none !important;
}

.cert-modal.active .cert-modal-backdrop {
  pointer-events: auto !important;
}

/* Fullscreen borderless dialog with NO white window card */
.cert-modal-dialog {
  position: relative;
  z-index: 2;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  min-height: 100vh !important;
  min-height: 100dvh !important;
  max-width: 100vw !important;
  max-height: 100vh !important;
  max-height: 100dvh !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  overflow: hidden;
  transform: scale(0.98);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.cert-modal.active .cert-modal-dialog {
  pointer-events: auto !important;
  transform: scale(1);
}

/* Close Button (×): Clean, translucent circular button in top-right corner of screen */
.cert-modal-close {
  position: fixed !important;
  top: 20px !important;
  right: 24px !important;
  z-index: 100 !important;
  background: rgba(10, 22, 42, 0.88) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  color: #FFFFFF !important;
  font-size: 26px !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  line-height: 1;
  flex-shrink: 0;
  outline: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
}

.cert-modal-close:hover {
  background: rgba(255, 255, 255, 0.25) !important;
  border-color: rgba(255, 255, 255, 0.45) !important;
  color: #FFFFFF !important;
  transform: rotate(90deg) scale(1.06);
}

.cert-modal-close:active {
  transform: rotate(90deg) scale(0.95);
}

.cert-viewer-pane {
  position: relative;
  background: transparent !important;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Full-Screen Lightbox Viewport: Absolute scroll container allowing 2D pan */
.cert-modal-body {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  min-height: 100vh !important;
  min-height: 100dvh !important;
  box-sizing: border-box !important;
  overflow: auto !important;
  -webkit-overflow-scrolling: touch !important;
  touch-action: pan-x pan-y !important;
  background: transparent !important;
  user-select: none !important;
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.25) transparent;
  padding: 28px 24px 85px 24px !important;
}

.cert-modal-body::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
.cert-modal-body::-webkit-scrollbar-track {
  background: transparent;
}
.cert-modal-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.22);
  border-radius: 4px;
}
.cert-modal-body::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.45);
}

/* Canvas Wrapper: Keeps certificate anchored to the top and centered horizontally */
.cert-modal-canvas {
  display: flex !important;
  justify-content: center !important;
  align-items: flex-start !important;
  min-width: 100% !important;
  width: max-content !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

/* Certificate Sheet: Smooth width transition anchored to the top */
.cert-img-wrapper {
  position: relative !important;
  display: block !important;
  margin: 0 auto !important;
  background: #ffffff !important;
  border-radius: 4px !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55) !important;
  border: none !important;
  line-height: 0 !important;
  overflow: hidden !important;
  max-width: none !important;
  max-height: none !important;
  transition: width 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease !important;
  will-change: width;
}

.cert-img-wrapper img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: visible !important;
  pointer-events: none !important;
  user-select: none !important;
  -webkit-user-select: none !important;
  -webkit-touch-callout: none !important;
}

/* Transparent security shield on top */
.cert-security-shield {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  background: rgba(255, 255, 255, 0.001);
  cursor: inherit;
  user-select: none !important;
  -webkit-user-select: none !important;
  touch-action: pan-x pan-y !important;
}

/* Floating Translucent Zoom Controls directly over dark blue background */
.cert-zoom-controls {
  position: fixed !important;
  bottom: 24px !important;
  right: 28px !important;
  z-index: 100 !important;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(10, 22, 42, 0.90) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  border-radius: 30px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.55);
  user-select: none;
}

.cert-zoom-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
  padding: 0;
}

.cert-zoom-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  transform: scale(1.08);
}

.cert-zoom-btn:active:not(:disabled) {
  background: rgba(255, 255, 255, 0.35);
  transform: scale(0.94);
}

.cert-zoom-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.cert-zoom-level {
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 0 6px;
  min-width: 48px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.cert-zoom-reset-btn {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
}

/* White footer bar stripped away */
.cert-modal-footer {
  display: none !important;
}

.cert-modal-security-note {
  font-size: 0.82rem;
  color: #555566;
  display: flex;
  align-items: center;
  gap: 6px;
}

.cert-modal-security-note i {
  color: #00ab49;
  font-size: 0.95rem;
}

@media (max-width: 767.98px) {
  .branch-header-card {
    padding: 20px 18px;
    gap: 16px;
  }
  .branch-title-white {
    font-size: 1.22rem;
    gap: 8px;
  }
  .branch-hero-icon-madinaguda,
  .branch-hero-icon-nandigaon {
    font-size: 1.3rem;
  }
  .branch-address-white {
    font-size: 0.88rem;
  }
  .branch-caps-tags {
    gap: 6px;
  }
  .branch-cap-item {
    font-size: 0.72rem;
    padding: 3px 9px;
  }
  .branch-stat-counter-box {
    width: 100%;
    min-width: unset;
    padding: 12px 18px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border-radius: 8px;
  }
  .branch-stat-count {
    font-size: 1.8rem;
  }
  .branch-stat-label {
    margin-top: 0;
    font-size: 0.75rem;
    text-align: right;
  }
  .facility-status-badge {
    width: 100%;
    justify-content: center;
    padding: 8px 16px;
    font-size: 0.76rem;
  }
  .accred-nav-bar {
    flex-direction: column;
    gap: 8px;
    padding: 10px 0;
  }
  .accred-nav-pill {
    width: 100%;
    justify-content: center;
    padding: 8px 16px;
    font-size: 0.84rem;
  }
  .cert-card-item {
    padding: 16px;
    flex-direction: column;
    align-items: stretch;
  }
  .cert-card-left {
    gap: 14px;
  }
  .cert-card-icon {
    width: 44px;
    height: 44px;
    font-size: 1.15rem;
  }
  .cert-card-title {
    font-size: 1.05rem;
  }
  .cert-card-right {
    width: 100%;
    margin-top: 10px;
  }
  .cert-view-btn {
    width: 100%;
    justify-content: center;
    padding: 10px;
  }
  .cert-modal-dialog {
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    max-width: 100vw !important;
    max-height: 100vh !important;
    max-height: 100dvh !important;
    border-radius: 0 !important;
  }
  .cert-modal-close {
    position: fixed !important;
    top: 14px !important;
    right: 14px !important;
    width: 38px !important;
    height: 38px !important;
    font-size: 22px !important;
    background: rgba(10, 22, 42, 0.88) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    z-index: 100 !important;
  }
  .cert-modal-body {
    display: flex !important;
    flex-direction: column !important;
    padding: 24px 16px !important;
    min-height: 100vh !important;
    min-height: 100dvh !important;
    box-sizing: border-box !important;
  }
  /* Certificate centered in the middle of the mobile screen at 100% zoom */
  .cert-modal-canvas {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    min-width: 100% !important;
    width: max-content !important;
    margin: auto !important;
    transition: margin 0.28s ease !important;
  }
  /* When zoomed in on mobile, switch to scrollable top anchor with padding for controls */
  .cert-modal.is-zoomed .cert-modal-body {
    display: block !important;
    padding: 24px 16px 85px 16px !important;
  }
  .cert-modal.is-zoomed .cert-modal-canvas {
    display: flex !important;
    justify-content: center !important;
    align-items: flex-start !important;
    margin: 0 auto !important;
  }
  .cert-img-wrapper {
    max-width: none !important;
    max-height: none !important;
  }
  .cert-img-wrapper img {
    max-width: none !important;
    max-height: none !important;
    width: 100% !important;
    height: auto !important;
  }
  .cert-zoom-controls {
    position: fixed !important;
    bottom: 16px !important;
    right: 16px !important;
    background: rgba(10, 22, 42, 0.92) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    padding: 5px 10px !important;
    gap: 5px !important;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.6) !important;
    z-index: 100 !important;
  }
  .cert-zoom-btn {
    width: 30px !important;
    height: 30px !important;
    font-size: 12px !important;
  }
  .cert-zoom-level {
    font-size: 0.75rem !important;
    min-width: 42px !important;
    padding: 0 4px !important;
  }
  .cert-modal-footer {
    padding: 10px 16px;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .cert-modal-security-note {
    justify-content: center;
  }
}

@media (max-width: 575.98px) {
  .branch-header-card {
    padding: 16px 14px;
    margin-bottom: 18px;
  }
  .branch-title-white {
    font-size: 1.12rem;
    gap: 6px;
  }
  .branch-tag-pill {
    font-size: 0.68rem;
    padding: 3px 10px 3px 5px;
  }
  .branch-address-white {
    font-size: 0.82rem;
    line-height: 1.4;
  }
  .branch-caps-tags {
    gap: 5px;
  }
  .branch-cap-item {
    font-size: 0.7rem;
    padding: 2px 8px;
  }
  .facility-status-badge {
    font-size: 0.72rem;
    padding: 7px 12px;
  }
  .cert-card-item {
    padding: 14px 12px;
  }
  .cert-card-icon {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }
  .cert-card-title {
    font-size: 0.98rem;
  }
  .cert-card-scope {
    font-size: 0.84rem;
    line-height: 1.45;
  }
  .cert-meta-pill {
    font-size: 0.7rem;
    padding: 2px 7px;
  }
}

/* ============================================================
   CONTACT PAGE: TWO FACILITY CARDS & MAPS LAYOUT
============================================================ */
.facility-contact-card {
  border-radius: 8px;
  padding: 30px 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}

.facility-contact-card:hover {
  transform: translateY(-3px);
}

/* Facility 1: Madinaguda (Emerald Luxury Theme from Accreditations) */
.facility-contact-card.facility-card-madinaguda {
  background: linear-gradient(135deg, #072314 0%, #0c351f 50%, #154c2d 100%) !important;
  border: 1px solid rgba(0, 210, 92, 0.45) !important;
  border-left: 8px solid #00ab49 !important;
  box-shadow: 0 12px 36px rgba(0, 171, 73, 0.22) !important;
  color: #ffffff !important;
}

.facility-contact-card.facility-card-madinaguda:hover {
  box-shadow: 0 16px 42px rgba(0, 171, 73, 0.35) !important;
}

/* Facility 2: Nandigaon (Deep Slate-Cyan Luxury Theme from Accreditations) */
.facility-contact-card.facility-card-nandigaon {
  background: linear-gradient(135deg, #0a1c2e 0%, #112d47 50%, #183e60 100%) !important;
  border: 1px solid rgba(0, 188, 212, 0.45) !important;
  border-left: 8px solid #00bcd4 !important;
  box-shadow: 0 12px 36px rgba(10, 28, 46, 0.32) !important;
  color: #ffffff !important;
}

.facility-contact-card.facility-card-nandigaon:hover {
  box-shadow: 0 16px 42px rgba(0, 188, 212, 0.35) !important;
}

/* Facility Header Badges */
.facility-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  border-radius: 24px;
  padding: 6px 16px 6px 6px;
  width: fit-content;
  max-width: 100%;
}

.facility-card-badge.madinaguda {
  background: rgba(0, 171, 73, 0.22) !important;
  border: 1px solid rgba(0, 210, 92, 0.45) !important;
}

.facility-card-badge.madinaguda .badge-num {
  background: #00ab49 !important;
  color: #ffffff !important;
  padding: 4px 12px;
  border-radius: 16px;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.6px;
  flex-shrink: 0;
}

.facility-card-badge.madinaguda .badge-facility-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff !important;
  margin: 0;
  line-height: 1.3;
  display: inline-flex;
  align-items: center;
}

.facility-card-badge.nandigaon {
  background: rgba(0, 188, 212, 0.2) !important;
  border: 1px solid rgba(0, 188, 212, 0.45) !important;
}

.facility-card-badge.nandigaon .badge-num {
  background: #00bcd4 !important;
  color: #081a29 !important;
  padding: 4px 12px;
  border-radius: 16px;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.6px;
  flex-shrink: 0;
}

.facility-card-badge.nandigaon .badge-facility-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff !important;
  margin: 0;
  line-height: 1.3;
  display: inline-flex;
  align-items: center;
}

/* Facility New Tag Indicator */
.badge-new-pill {
  background: #00bcd4 !important;
  color: #081a29 !important;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(0, 188, 212, 0.45);
  vertical-align: middle;
  flex-shrink: 0;
  margin-left: 4px;
}

.badge-new-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #081a29;
  display: inline-block;
  animation: pulse-new-dot 1.8s infinite ease-in-out;
}

@keyframes pulse-new-dot {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.35;
    transform: scale(0.7);
  }
}

.facility-info-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.88) !important;
  line-height: 1.55;
}

.facility-info-row.facility-address-row {
  align-items: flex-start;
}

.facility-info-row strong {
  color: #ffffff !important;
}

.facility-info-icon {
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  margin-top: 0;
  flex-shrink: 0;
}

.facility-info-row.facility-address-row .facility-info-icon {
  margin-top: 3px;
}

.facility-card-madinaguda .facility-info-icon {
  background: rgba(0, 171, 73, 0.25) !important;
  color: #00d25c !important;
  border: 1px solid rgba(0, 210, 92, 0.45);
}

.facility-card-nandigaon .facility-info-icon {
  background: rgba(0, 188, 212, 0.22) !important;
  color: #26c6da !important;
  border: 1px solid rgba(0, 188, 212, 0.45);
}

.facility-card-madinaguda .facility-info-row a {
  color: #7efcb0 !important;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease;
}

.facility-card-madinaguda .facility-info-row a:hover {
  color: #ffffff !important;
  text-decoration: underline !important;
}

.facility-card-nandigaon .facility-info-row a {
  color: #80deea !important;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease;
}

.facility-card-nandigaon .facility-info-row a:hover {
  color: #ffffff !important;
  text-decoration: underline !important;
}

.facility-map-container {
  border-radius: 6px;
  overflow: hidden;
  margin-top: auto;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

.facility-card-madinaguda .facility-map-container {
  border: 1px solid rgba(0, 210, 92, 0.45);
}

.facility-card-nandigaon .facility-map-container {
  border: 1px solid rgba(0, 188, 212, 0.45);
}

.facility-card-cta {
  margin-top: 16px;
}

.facility-card-cta .btn {
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: 0.5px;
  padding: 12px 18px;
  border-radius: 4px;
  text-transform: uppercase;
  transition: all 0.25s ease;
}

.facility-card-cta .btn-madinaguda {
  background: #00ab49 !important;
  color: #ffffff !important;
  border: 1.5px solid #00ab49 !important;
  box-shadow: 0 4px 14px rgba(0, 171, 73, 0.35);
}

.facility-card-cta .btn-madinaguda:hover {
  background: #00d25c !important;
  border-color: #00d25c !important;
  color: #ffffff !important;
  box-shadow: 0 6px 18px rgba(0, 210, 92, 0.5);
}

.facility-card-cta .btn-nandigaon {
  background: #00bcd4 !important;
  color: #081a29 !important;
  border: 1.5px solid #00bcd4 !important;
  box-shadow: 0 4px 14px rgba(0, 188, 212, 0.35);
}

.facility-card-cta .btn-nandigaon:hover {
  background: #26c6da !important;
  border-color: #26c6da !important;
  color: #081a29 !important;
  box-shadow: 0 6px 18px rgba(0, 188, 212, 0.5);
}

@media (max-width: 767.98px) {
  .facility-contact-card {
    padding: 22px 18px;
    margin-bottom: 24px;
  }
  .facility-card-badge {
    padding: 6px 14px 6px 6px;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 8px;
  }
  .badge-facility-name {
    font-size: 1.05rem;
  }
  .facility-map-container iframe {
    height: 240px !important;
  }
}





/* ==========================================================================
   GLOBAL FOOTER COLUMN 4 CONTACT LIST BULLETPROOF ALIGNMENT
   ========================================================================== */
.footer-contact-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.65) !important;
  font-size: 0.86rem !important;
}

.footer-contact-item-facility,
.ftco-footer .footer-contact-item-facility,
.block-23 ul li.footer-contact-item-facility {
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  line-height: 1.45 !important;
  margin-bottom: 14px !important;
}

.footer-contact-pin-emerald {
  color: #00ab49 !important;
  font-size: 1rem !important;
  min-width: 16px !important;
  margin-top: 3px !important;
  display: inline-block !important;
  text-align: center !important;
}

.footer-contact-pin-cyan {
  color: #00bcd4 !important;
  font-size: 1rem !important;
  min-width: 16px !important;
  margin-top: 3px !important;
  display: inline-block !important;
  text-align: center !important;
}

.footer-facility-title {
  color: #ffffff !important;
  font-size: 0.88rem !important;
  display: block !important;
  margin-bottom: 2px !important;
}

.footer-contact-item-interactive,
.ftco-footer .footer-contact-item-interactive,
.block-23 ul li.footer-contact-item-interactive {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin-bottom: 10px !important;
}

.footer-contact-icon {
  color: #00ab49 !important;
  font-size: 0.95rem !important;
  min-width: 16px !important;
  display: inline-block !important;
  text-align: center !important;
}

.footer-contact-link {
  color: rgba(255, 255, 255, 0.75) !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

.footer-contact-link:hover {
  color: #ffffff !important;
  text-decoration: underline !important;
}

/* ==========================================================================
   SUBPAGE HERO BANNER BACKGROUND IMAGE GUARANTEE
   ========================================================================== */
.hero-wrap.hero-wrap-2,
.hero-wrap-subpage-banner {
  background-image: url('../images/hero-lab.jpg') !important;
  background-position: center center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  position: relative !important;
}

.hero-wrap-subpage-overlay {
  background: linear-gradient(135deg, rgba(5, 5, 10, 0.92) 0%, rgba(8, 26, 16, 0.88) 100%) !important;
  opacity: 1 !important;
}
