/* =========================================================
   I LAB - Industrial Instrumentation
   Main Stylesheet
   ========================================================= */

:root {
  --primary: #005AA9;
  --secondary: #0A74DA;
  --accent: #2CADE4;
  --dark: #1F2937;
  --light: #F8FAFC;
  --white: #FFFFFF;
  --muted: #6B7280;
  --border: #E5E7EB;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);
  --shadow-md: 0 6px 20px rgba(15, 23, 42, .08);
  --shadow-lg: 0 20px 45px rgba(15, 23, 42, .12);
  --radius: 12px;
  --transition: all .3s ease;
}

/* ------------------ Base ------------------ */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 14px;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6,
.display-1,
.display-2,
.display-3,
.display-4,
.display-5 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -.01em;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.15;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  line-height: 1.2;
}

p {
  color: #4B5563;
}

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

a:hover {
  color: var(--primary);
}

img {
  max-width: 100%;
  height: auto;
}

section {
  padding: 90px 0;
}

.section-tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: #FCE8E8;
  color: #C42B26;
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-title {
  margin-bottom: 14px;
}

.section-subtitle {
  color: var(--muted);
  max-width: 680px;
  margin: 0 auto 40px;
}



/* ------------------ Buttons ------------------ */
.btn {
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 8px;
  transition: var(--transition);
}

.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-accent {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.btn-accent:hover {
  background: #009e91;
  border-color: #009e91;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline-light:hover {
  color: var(--primary);
}

.btn-outline-primary {
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline-primary:hover {
  background: var(--primary);
  color: #fff;
}

/* ------------------ Top Contact Bar ------------------ */
.top-bar {
  background: var(--dark);
  color: #d1d5db;
  font-size: .85rem;
  padding: 8px 0;
}

.top-bar a {
  color: #d1d5db;
  margin-right: 18px;
}

.top-bar a:hover {
  color: var(--accent);
}

.top-bar i {
  color: var(--accent);
  margin-right: 6px;
}

.top-bar .btn-quote {
  background: var(--accent);
  color: #fff;
  padding: 4px 14px;
  border-radius: 6px;
  font-weight: 600;
  font-size: .8rem;
}

.top-bar .btn-quote:hover {
  background: #fff;
  color: var(--primary);
}

/* ------------------ Navbar ------------------ */
.navbar {
  background: #fff;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  padding: 10px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  padding: 8px 0;
  box-shadow: var(--shadow-md);
}

/* Full width container */
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: 50px;
  flex-shrink: 0;
  flex: 0 0 auto;
}

.navbar-brand img {
  height: 45px;
  width: auto;
  display: block;
}

.logo-content h4 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: #C42B26;
  line-height: 1;
}

.logo-content p {
  margin: 3px 0 0;
  font-size: 11px;
  font-weight: 600;
  color: #3E7637;
  line-height: 1.3;
}

/* Push menu to right */
.navbar-collapse {
  flex-grow: 1;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
}

/* Menu */
.navbar-nav {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.navbar-nav .nav-link {
  color: var(--dark);
  font-weight: 600;
  font-size: 14px;
  padding: 8px 8px !important;
  position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary);
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 3px;
  height: 2px;
  background: #2CADE4;
  transform: scaleX(0);
  transform-origin: left;
  transition: .3s;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  transform: scaleX(1);
}

/* Search Box */

.search-box {
  display: flex;
  align-items: center;
  position: relative;

}

.search-input {
  width: 150px;
  height: 35px;
  border: 2px solid #2A5C93;
  border-radius: 30px;
  padding: 0 45px 0 18px;
  font-size: 10px;
  outline: none;
}

.search-input:focus {
  border-color: #1694D0;
  box-shadow: none;
}

.search-btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border: none;
  background: transparent;
  color: #2A5C93;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  box-shadow: none;
}

.search-btn i {
  font-size: 16px;
  color: #2A5C93;
}

.search-btn:hover {
  background: #1694D0;
}

/* Contact Button */

.contact-btn {
  min-width: 120px;
  height: 35px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 500;
  padding: 0 28px;
  margin-left: 0px;
}



/* ==========================================
   PRODUCTS DROPDOWN ARROW
========================================== */


.navbar .mega-dropdown {
    position: relative !important;
}

.navbar .mega-dropdown .dropdown-toggle::after {
    display: none !important;
}

/* Products link */
.navbar .products-link {
    display: flex !important;
    align-items: center;
    gap: 7px;
}


.products-arrow {
    display: inline-block;
    font-size: 12px;
    transform: rotate(0deg);
    transition: transform 0.3s ease;
}
.navbar .mega-dropdown:hover .products-arrow,
.navbar .mega-dropdown.show .products-arrow {
    transform: rotate(180deg);
}

@media (min-width: 992px) {

    .navbar .mega-dropdown:hover > .mega-menu,
    .navbar .mega-dropdown:focus-within > .mega-menu,
    .navbar .mega-dropdown.show > .mega-menu {
        display: block !important;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .navbar .mega-menu {
        position: absolute !important;
        top: 100% !important;
        left: 50% !important;
        width: 1050px !important;
        max-width: calc(100vw - 40px);
        transform: translateX(-50%);
        z-index: 9999;
        margin-top: 0 !important;
    }

    /* Hover bridge */
    .navbar .mega-menu::before {
        content: "";
        position: absolute;
        top: -12px;
        left: 0;
        width: 100%;
        height: 12px;
    }
}


.navbar .mega-menu {
    position: absolute !important;
    top: 100% !important;
    left: 50% !important;
    right: auto !important;

    width: 1050px;
    max-width: calc(100vw - 40px);

    transform: translateX(-50%);
    margin-top: 8px !important;

    padding: 16px 25px;

    background: #ffffff;
    border: 1px solid #e3eaf3;
    border-radius: 14px;

    box-shadow: 0 12px 35px rgba(25, 65, 110, 0.14);
}


.mega-item {
    display: flex;
    align-items: center;
    gap: 12px;

    padding: 5px 0;
    margin-bottom: 4px;

    color: #263d59;
    text-decoration: none;

    font-size: 14px;
    font-weight: 600;

    line-height: 1.3;
    transition: all 0.3s ease;
}

.mega-item:hover {
    color: #0875d1;
    transform: translateX(4px);
}

.mega-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #eaf3ff;
    color: #0875d1;

    border-radius: 10px;
    font-size: 18px;

    transition: all 0.3s ease;
}

.mega-item:hover .mega-icon {
    background: #0875d1;
    color: #ffffff;
}


.catalogue-card {
    height: 100%;
    min-height: 205px;

    padding: 18px;

    border-radius: 13px;

    background: linear-gradient(
        135deg,
        #edf5ff,
        #dceaff
    );

    border: 1px solid #d5e5f8;
}

.catalogue-label {
    color: #0875d1;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.3px;
}

.catalogue-card h3 {
    color: #173b67;
    font-size: 18px;
    font-weight: 750;
    line-height: 1.35;
    margin: 11px 0 8px;
}

.catalogue-card p {
    color: #61748c;
    font-size: 12px;
    line-height: 1.5;
    margin-bottom: 10px;
}

.catalogue-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 10px 14px;

    background: #0875d1;
    color: #ffffff;

    border-radius: 8px;
    text-decoration: none;

    font-size: 12px;
    font-weight: 600;

    transition: 0.3s ease;
}

.catalogue-btn:hover {
    background: #07569c;
    color: #ffffff;
    transform: translateY(-2px);
}



/* ------------------ Hero ------------------ */

:root {
    --ilab-blue: #0756A5;
    --ilab-blue-dark: #06366A;
    --ilab-green: #159447;
    --ilab-red: #D93636;
    --ilab-white: #ffffff;
}


.ilab-hero-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-top: 0 !important;
    padding-top: 0 !important;
     margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.ilab-hero-carousel .carousel-inner {
    width: 100%;
    
}

.ilab-hero-carousel .carousel-item {
    position: relative;
}


.ilab-hero-carousel .hero-slide {
    position: relative;

    width: 100%;
    height: 75vh;
    min-height: 600px;
    max-height: 760px;

    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    display: flex;
    align-items: center;
}

.instruments-slide {
    background-position: center center;
}

.calibration-slide {
    background-position: center center;
}

.validation-slide {
    background-position: center center;
}

.services-slide {
    background-position: center center;
}

.ilab-hero-carousel .hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;

    background: linear-gradient(
        90deg,
        rgba(4, 30, 62, 0.90) 0%,
        rgba(4, 30, 62, 0.76) 38%,
        rgba(4, 30, 62, 0.38) 70%,
        rgba(4, 30, 62, 0.15) 100%
    );
}

.ilab-hero-carousel .hero-container {
    position: relative;
    z-index: 2;
}

.ilab-hero-carousel .hero-content {
    max-width: 720px;
    padding: 75px 0;

    color: var(--ilab-white);

    animation: ilabHeroFade 0.8s ease both;
}



.ilab-hero-carousel .badge-strip {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 10px 18px;
    margin-bottom: 25px;

    background: rgba(255, 255, 255, 0.13);

    border: 1px solid rgba(255, 255, 255, 0.35);
    border-left: 4px solid var(--ilab-green);

    border-radius: 3px;

    color: var(--ilab-white);

    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.4px;
}

.ilab-hero-carousel .badge-strip i {
    font-size: 18px;
    color: var(--ilab-green);
}


.ilab-hero-carousel .hero-content h1 {
    font-family: 'Poppins', sans-serif;

    font-size: clamp(38px, 4.5vw, 60px);
    font-weight: 700;

    line-height: 1.22;

    color: var(--ilab-white);

    margin: 0 0 22px;
}

.ilab-hero-carousel .hero-content h1 span {
    display: block;
    color: var(--ilab-green);
}



.ilab-hero-carousel .carousel-item:nth-child(1)
.hero-content h1 span {
    color: var(--ilab-blue);
}


.ilab-hero-carousel .carousel-item:nth-child(2)
.hero-content h1 span {
    color: var(--ilab-green);
}


.ilab-hero-carousel .carousel-item:nth-child(3)
.hero-content h1 span {
    color: var(--ilab-red);
}


.ilab-hero-carousel .carousel-item:nth-child(4)
.hero-content h1 span {
    color: var(--ilab-blue);
}



.ilab-hero-carousel .hero-content p {
    max-width: 620px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.90);
    margin-bottom: 32px;
}



.ilab-hero-carousel .hero-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
}


.ilab-hero-carousel .hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 15px 27px;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}


.ilab-hero-carousel .primary-btn {
    background: var(--ilab-blue);
    border: 1px solid var(--ilab-blue);

    color: var(--ilab-white);
}

.ilab-hero-carousel .primary-btn i {
    transition: transform 0.3s ease;
}

.ilab-hero-carousel .primary-btn:hover {
    background: var(--ilab-green);
    border-color: var(--ilab-green);
    color: var(--ilab-white);
    transform: translateY(-3px);
}

.ilab-hero-carousel .primary-btn:hover i {
    transform: translateX(5px);
}


.ilab-hero-carousel .secondary-btn {
    background: transparent;

    border: 1px solid rgba(255, 255, 255, 0.85);

    color: var(--ilab-white);
}

.ilab-hero-carousel .secondary-btn:hover {
    background: var(--ilab-red);
    border-color: var(--ilab-red);

    color: var(--ilab-white);

    transform: translateY(-3px);
}


.ilab-hero-carousel .carousel-control-prev,
.ilab-hero-carousel .carousel-control-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.65);
    background: rgba(5, 30, 60, 0.35);
    opacity: 0.85;
    transition: all 0.3s ease;
    z-index: 5;
}

.ilab-hero-carousel .carousel-control-prev {
    left: 30px;
}

.ilab-hero-carousel .carousel-control-next {
    right: 30px;
}

.ilab-hero-carousel .carousel-control-prev:hover,
.ilab-hero-carousel .carousel-control-next:hover {
    background: var(--ilab-blue);
    border-color: var(--ilab-blue);

    opacity: 1;
}

.ilab-hero-carousel .carousel-control-prev-icon,
.ilab-hero-carousel .carousel-control-next-icon {
    width: 20px;
    height: 20px;
}



.ilab-hero-carousel .carousel-indicators {
    position: absolute;
    bottom: 12px;
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 9px;
    margin-bottom: 22px;
}

.ilab-hero-carousel .carousel-indicators button {
    width: 32px;
    height: 4px;
    margin: 0;
    border: none;
    border-radius: 5px;
    background: var(--ilab-white);
    opacity: 0.55;
    transition: all 0.3s ease;
}

.ilab-hero-carousel .carousel-indicators button.active {
    width: 55px;
    background: var(--ilab-green);
    opacity: 1;
}



@keyframes ilabHeroFade {

    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* ------------------ Page Hero (inner pages) ------------------ */
.page-hero {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  padding: 120px 0 70px;
  position: relative;
  overflow: hidden;
}

.page-hero h1 {
  color: #fff;
  margin-bottom: 10px;
}

.page-hero .breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
}

.page-hero .breadcrumb-item,
.page-hero .breadcrumb-item a {
  color: rgba(255, 255, 255, .85);
}

.page-hero .breadcrumb-item.active {
  color: var(--accent);
}

.page-hero .breadcrumb-item+.breadcrumb-item::before {
  color: rgba(255, 255, 255, .6);
}

/* ------------------ About block ------------------ */
.about-img-wrap {
  position: relative;
}

.about-img-wrap img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.about-img-wrap .exp-badge {
  position: absolute;
  top: -20px;
  left: -20px;
  background: var(--accent);
  color: #fff;
  padding: 20px 26px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.about-img-wrap .exp-badge h3 {
  color: #fff;
  margin: 0;
  font-size: 2rem;
}

.about-img-wrap .exp-badge span {
  font-size: .85rem;
}

.about-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--dark);
}

.about-features i {
  color: var(--accent);
  margin-top: 4px;
}


.certification-section {
  padding: 90px 0;
  background: #fff;
}

.certification-section .section-title {
  color: #1a1a1a;
}

.section-subtitle {
  max-width: 760px;
  margin: 15px auto 0;
  color: #666;
  line-height: 1.8;
  font-size: 16px;
}

/* Card */

.cert-card {
  background: #fff;
  border-radius: 16px;
  padding: 35px 25px;
  text-align: center;
  height: 100%;
  border: 1px solid #e9eef5;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .06);
  transition: .35s;
}

.cert-card:hover {
  transform: translateY(-8px);
  border-color: #0056b3;
  box-shadow: 0 15px 40px rgba(0, 86, 179, .15);
}

/* Icon */

.cert-icon {
  width: 75px;
  height: 75px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: #eaf3ff;
  color: #0056b3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  transition: .3s;
}

.cert-card:hover .cert-icon {
  background: #0056b3;
  color: #fff;
}

/* Heading */

.cert-card h4 {
  font-size: 22px;
  font-weight: 700;
  color: #222;
  margin-bottom: 12px;
}

/* Badge */

.cert-badge {
  display: inline-block;
  background: #0056b3;
  color: #fff;
  padding: 6px 18px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .5px;
  margin-bottom: 18px;
}

/* Description */

.cert-card p {
  color: #666;
  line-height: 1.8;
  font-size: 14px;
  margin-bottom: 0;
}


/* Clients */

.clients-section {
    background: #fff;
    overflow: hidden;
    padding-bottom: 50px;
}

.client-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.client-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: scrollClients 25s linear infinite;
}

.client-slider:hover .client-track {
    animation-play-state: paused;
}

.client-box {
    flex: 0 0 260px;
    height: 120px;
    margin: 0 14px;
    padding: 20px;
    border: 1px solid #e4e7ee;
    border-radius: 22px;
    background: #fff;

    display: flex;
    justify-content: center;
    align-items: center;

    transition: transform .3s ease, box-shadow .3s ease;
}

.client-box img {
    max-width: 100%;
    max-height: 75px;
    width: auto;
    height: auto;
    object-fit: contain;

    filter: none;
    opacity: 1;
    transition: transform .3s ease;
}

.client-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .08);
}

.client-box:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

@keyframes scrollClients {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}



/* Floating Contact Buttons */

.floating-contact {
  position: fixed;
  right: 25px;
  bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  z-index: 9999;
}

/* Common Button */

.float-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #fff;
  font-size: 30px;
  transition: .3s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .18);
}

.float-btn:hover {
  transform: translateY(-3px);
  color: #fff;
}

.whatsapp {
  background: #3E7638;
}

.phone {
  background: #2CADE3;
}



.email {
  background: #C42B26;
}


.top-btn {
  background: #255C90;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

.top-btn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Icon Size */

.float-btn i {
  font-size: 20px;
}


.branches-section {
  padding: 75px 0;
  background: #f7f9fc;
}

.branches-heading {
  max-width: 700px;
  margin: 0 auto 42px;
}

.branches-tag {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #0d6efd;
}

.branches-title {
  margin: 0 0 12px;
  font-family: "Poppins", sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: #172033;
}

.branches-subtitle {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: #6b7280;
}


/* Location Card */

.branch-location-card {
  height: 100%;
  padding: 28px 20px;
  text-align: center;
  background: #ffffff;
  border: 1px solid #e6eaf0;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.branch-location-card:hover {
  transform: translateY(-5px);
  border-color: #0d6efd;
  box-shadow: 0 12px 30px rgba(20, 35, 60, 0.10);
}


/* Location Icon */

.branch-location-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eef5ff;
  color: #0d6efd;
  border-radius: 50%;
  font-size: 20px;
}

.branch-location-card h3 {
  margin: 0 0 5px;
  font-family: "Poppins", sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #172033;
}

.branch-location-card span {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  color: #7b8494;
}




/* ------------------ Product Category Cards ------------------ */
.category-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  height: 100%;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.category-card:hover::before {
  transform: scaleX(1);
}

.category-card .icon-box {
  width: 60px;
  height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 90, 169, .08);
  color: var(--primary);
  border-radius: 12px;
  font-size: 1.6rem;
  margin-bottom: 16px;
  transition: var(--transition);
}

.category-card:hover .icon-box {
  background: var(--primary);
  color: #fff;
}

.category-card h5 {
  margin-bottom: 8px;
}

.category-card p {
  font-size: .92rem;
  margin-bottom: 14px;
}

.category-card .learn-link {
  color: var(--primary);
  font-weight: 600;
  font-size: .9rem;
}

.category-card .learn-link i {
  transition: var(--transition);
}

.category-card:hover .learn-link i {
  transform: translateX(4px);
}

/* ------------------ Product Cards ------------------ */


.product-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.product-card .img-wrap {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-card .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .5s ease;
}

.product-card:hover .img-wrap img {
  transform: scale(1.06);
}

.product-card .body {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-card h5 {
  margin: 6px 0 8px;
  font-size: 14px;
}

.product-card p {
  font-size: .88rem;
  flex-grow: 1;
}

.product-card .btn {
  margin-top: 10px;
}


.featured-products-heading {
  margin-bottom: 45px;
}

.featured-products-heading .section-tag {
  margin-bottom: 8px;
  display: inline-block;
}

.featured-products-heading .section-title {
  margin-bottom: 14px;
}

.featured-products-heading .section-subtitle {
  margin-bottom: 0;
}

.featured-products-button {
  margin-top: 45px;
}

.featured-products .product-card .img-wrap {
  width: 100%;
  height: 240px;
  overflow: hidden;
  padding: 0;
  margin: 0;
  display: block;
}

.featured-products .product-card .img-wrap img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}


/* FEATURED PRODUCTS - HORIZONTAL CAROUSEL */

.featured-products-track {
    display: flex;
    flex-wrap: nowrap;
    overflow: hidden;
    width: 100%;
    scroll-behavior: smooth;
    gap: 0;
}

.featured-products-track > div {
    flex: 0 0 25%;
    max-width: 25%;
    padding: 0 12px;
    box-sizing: border-box;
}

.featured-products-track .product-card {
    height: 100%;
}

.featured-products-track .img-wrap img {
    max-width: 100%;
    object-fit: contain;
}



.products-section {
  padding: 70px 0;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 245px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  margin-top: 38px;
}

/* LEFT CATEGORY SIDEBAR */

.catalog-sidebar {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 16px;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 105px;
}

.catalog-sidebar h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 17px;
  margin: 0 0 14px;
  padding: 0 4px 14px;
  border-bottom: 1px solid var(--border);
}

.catalog-sidebar h3 i {
  color: var(--primary);
  margin-right: 7px;
}

.catalog-category-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.catalog-category-list .catalog-filter-btn {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #4b5563;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.catalog-category-list .catalog-filter-btn:hover {
  background: #eef5fb;
  color: var(--primary);
}

.catalog-category-list .catalog-filter-btn.active {
  background: var(--primary);
  color: #fff;
}

/* PRODUCT AREA */

.catalog-products {
  min-width: 0;
}

.catalog-results-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 13px;
}

.catalog-results-bar label {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.catalog-results-bar select {
  width: 76px;
}

/* THREE-COLUMN PRODUCT GRID */

#productGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
}

#productGrid > .product-item {
  width: 100%;
  padding: 0;
  min-width: 0;
}

.catalog-products .product-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.catalog-products .product-card .body {
  flex: 1;
}

/* PAGINATION */

.product-pagination {
  margin-top: 30px;
}

.product-pagination .page-link {
  color: var(--primary);
  border-color: var(--border);
  min-width: 38px;
  cursor: pointer;
}

.product-pagination .page-item.active .page-link {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.product-pagination .page-item.disabled .page-link {
  color: #9ca3af;
  cursor: not-allowed;
}
/* ------------------ Industries ------------------ */
.industry-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 30px 20px;
  text-align: center;
  transition: var(--transition);
  height: 100%;
}

.industry-card:hover {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.industry-card:hover h6,
.industry-card:hover p {
  color: #fff;
}

.industry-card i {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 14px;
  transition: var(--transition);
}

.industry-card:hover i {
  color: var(--accent);
}

.industry-card h6 {
  font-weight: 700;
  margin: 0;
}



/* ------------------ Why Choose Us ------------------ */
.why-section {
  background: var(--light);

}

.feature-item {
  background: #fff;
  padding: 30px 24px;
  border-radius: var(--radius);
  height: 100%;
  transition: var(--transition);
  border-bottom: 3px solid transparent;
}

.feature-item:hover {
  border-bottom-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-item .icon {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  border-radius: 12px;
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.feature-item h5 {
  margin-bottom: 8px;
}

.why-section .text-center {
  margin-bottom: 45px;
}

.why-section .section-title {
  margin-bottom: 14px;
}

.why-section .section-subtitle {
  margin-bottom: 0;
}







/* ------------------ CTA Banner ------------------ */
.cta-section {
  padding: 50px 0;
  background: #f8fafc;
}

.cta-box {
  background: #fff;
  border: 1px solid #dbe8f4;
  border-radius: 35px;
  padding: 40px 30px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, .05);

}

.cta-box h2 {
  font-size: 25px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 25px;

}

.cta-box p {
  max-width: 760px;
  margin: auto;
  font-size: 16px;
  color: #6b7280;
  line-height: 1.8;

}

.cta-buttons {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;

}

/* Blue Button */

.btn-primary-custom {
  background: linear-gradient(90deg, #0056b3, #1796d2);
  color: #fff;
  border: none;
  padding: 16px 38px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: .3s;

}

.btn-primary-custom:hover {

  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(0, 86, 179, .30);
}

/* White Button */

.btn-outline-custom {
  background: #fff;
  color: #24324b;
  border: 1px solid #d8dee8;
  padding: 18px 42px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .08);
  transition: .3s;

}

.btn-outline-custom:hover {
  background: #0056b3;
  color: #fff;
  border-color: #0056b3;

}

/* ------------------ Contact ------------------ */
.contact-section {
  padding: 80px 0;
  background: #ffffff;

}

.company-box,
.quote-box {
  background: #fff;
  border: 1px solid #dce3ec;
  border-radius: 24px;
  padding: 40px;
  height: 100%;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.company-box {
  display: flex;
  flex-direction: column;
}

.contact-title,
.quote-box h2 {
  font-size: 30px;
  font-weight: 700;
  color: #24324a;
  margin-bottom: 15px;
}

.quote-text {
  color: #6b7280;
  font-size: 14px;
  margin-bottom: 30px;
  line-height: 1.7;
}

.info-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px;
  border: 1px solid #dce3ec;
  border-radius: 18px;
  background: #fff;
  margin-bottom: 18px;
  transition: all .3s ease;
}

.info-card:last-child {
  margin-bottom: 0;
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
}

.info-icon {
  width: 58px;
  height: 58px;
  min-width: 58px;
  border-radius: 16px;
  background: #eaf4ff;
  color: #0078c8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.info-card h6 {
  margin-bottom: 6px;
  font-size: 15px;
  font-weight: 600;
  color: #24324a;
}

.info-card p {
  margin: 0;
  font-size: 14px;
  color: #6b7280;
  line-height: 1.7;
}

.info-card a {
  color: #6b7280;
  text-decoration: none;
}

.info-card a:hover {
  color: #0078c8;
}

.quote-box label {
  font-size: 15px;
  font-weight: 600;
  color: #24324a;
  margin-bottom: 8px;
}

.quote-box .form-control {
  height: 52px;
}

.quote-box .form-control,
.quote-box textarea {
  width: 100%;
  border: 1px solid #dce3ec;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 14px;
  box-shadow: none;
  transition: .3s;
}

.quote-box textarea {
  height: 160px;
  resize: none;
  margin-bottom: 30px;
}

.quote-box .form-control:focus,
.quote-box textarea:focus {

  border-color: #0078c8;
  box-shadow: 0 0 0 0.2rem rgba(0, 120, 200, .15);
}

.quote-box .btn {
  background: #0078c8;
  border: none;
  color: #fff;
  padding: 14px 34px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 600;
  transition: .3s;

}

.quote-box .btn:hover {

  background: #005fa3;
  transform: translateY(-2px);

}


.contact-faq-section {
  padding: 50px 0;
  background: #f8f9fb;
}

.faq-tag {
  color: #008fd5;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.faq-title {
  font-size: 35px;
  font-weight: 700;
  line-height: 1.1;
  color: #17233b;
  margin-top: 25px;
}


.faq-item {
  border-bottom: 1px solid #dfe3ea;
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;

  font-size: 14px;
  font-weight: 600;
  color: #17233b;
  cursor: pointer;
  text-align: left;
}

.faq-question span {
  font-size: 16px;
  color: #687282;
}


.faq-answer {
  display: none;
  padding: 0 0 16px;
  color: #697386;
  font-size: 14px;
  line-height: 1.7;
}


.faq-item.active .faq-answer {
  display: block;
}



.company-box {
  animation: contactSlideLeft 1s ease-out forwards;
}

.quote-box {
  animation: contactSlideRight 1s ease-out 0.15s forwards;
  opacity: 0;
}


.contact-faq-section .faq-tag,
.contact-faq-section .faq-title {
  animation: faqSlideLeft 3s ease-out forwards;
}

.contact-faq-section .faq-item {
  animation: faqSlideRight 3s ease-out 0.15s forwards;
  opacity: 0;
}


@keyframes contactSlideLeft {
  from {
    opacity: 0;
    transform: translateX(-80px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}


@keyframes contactSlideRight {
  from {
    opacity: 0;
    transform: translateX(80px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}


@keyframes faqSlideLeft {
  from {
    opacity: 0;
    transform: translateX(-70px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}


@keyframes faqSlideRight {
  from {
    opacity: 0;
    transform: translateX(70px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ------------------ Downloads ------------------ */

.resource-header {
  margin-bottom: 60px;
}

.resource-header .section-tag {
  margin-bottom: 12px;
  display: inline-block;
}

.resource-header .section-title {
  margin-bottom: 18px;
}

.resource-header .section-subtitle {
  margin-bottom: 0px;
  font-size: 17px;
  color: #6B7280;
}

.download-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  transition: var(--transition);
}

.download-item:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.download-item .file-icon {
  width: 50px;
  height: 50px;
  background: rgba(239, 68, 68, .1);
  color: #ef4444;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.download-item h6 {
  margin: 0 0 4px;
}

.download-item small {
  color: var(--muted);
}


/* ------------------ Service Cards ------------------ */
.service-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  min-height: 450px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.service-card:hover {
  border-bottom-color: var(--accent);
  transform: translateY(-px);
  box-shadow: var(--shadow-md);
}

/* Service Image */

.service-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: var(--transition);
}

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

/* Content */

.service-content {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-content h5 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 15px;
}

.service-content p {
  font-size: 12px;
  color: #6B7280;
  line-height: 1.7;
  margin-bottom: 0;
}

.service-details-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  margin-top: auto;
  padding: 9px 80px;

  border: 1px solid var(--primary);
  border-radius: 8px;

  background: transparent;
  color: var(--primary);

  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;

  cursor: pointer;
  transition: var(--transition);
  align-self: center;
}

.service-details-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}




/* =========================================================
   SERVICE DETAIL MODAL
   ========================================================= */

.service-detail-modal .modal-dialog {
  max-width: 850px;
}

.service-detail-modal .modal-content {
  border: none;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}

.service-detail-modal .modal-header {
  padding: 24px 28px;
  border-bottom: 1px solid #e9ecef;
  background: #f8fafc;
}

.service-detail-modal .modal-title {
  margin: 4px 0 0;
  font-family: 'Poppins', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #172033;
}


.service-detail-modal .modal-body {
  padding: 28px;
}

.modal-intro {
  margin-bottom: 24px;
  color: #5f6b7a;
  font-size: 15px;
  line-height: 1.8;
}

.service-detail-modal h6 {
  margin-bottom: 15px;
  font-family: 'Poppins', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #172033;
}


/* =========================================================
   DETAIL LIST
   ========================================================= */

.detail-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 25px;
}

.detail-list div {
  display: flex;
  align-items: flex-start;
  gap: 9px;

  padding: 7px 0;

  color: #4e5968;
  font-size: 14px;
  line-height: 1.5;
}

.detail-list i {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--primary-color, #0d6efd);
  font-size: 14px;
}


/* =========================================================
   MODAL BULLET LIST
   ========================================================= */

.modal-bullet-list {
  margin: 0;
  padding-left: 20px;
  color: #4e5968;
}

.modal-bullet-list li {
  margin-bottom: 9px;
  font-size: 14px;
  line-height: 1.6;
}


/* =========================================================
   SERVICE INFO BOX
   ========================================================= */

.service-info-box {
  display: flex;
  align-items: flex-start;
  gap: 14px;

  padding: 16px 18px;

  border-radius: 8px;
  background: #f5f8fc;
}

.service-info-box i {
  flex-shrink: 0;
  color: var(--primary-color, #0d6efd);
  font-size: 20px;
}

.service-info-box p {
  margin: 0;
  color: #596575;
  font-size: 14px;
  line-height: 1.7;
}


/* =========================================================
   PURE STEAM TESTS
   ========================================================= */

.steam-test {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.steam-test-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;

  padding: 16px;

  border: 1px solid #e8edf3;
  border-radius: 9px;
  background: #fff;
}

.steam-number {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 40px;
  height: 40px;

  flex-shrink: 0;

  border-radius: 50%;
  background: var(--primary-color, #0d6efd);
  color: #fff;

  font-size: 12px;
  font-weight: 700;
}

.steam-test-item h5 {
  margin: 0 0 5px;

  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #172033;
}

.steam-test-item p {
  margin: 0;

  color: #657181;
  font-size: 13px;
  line-height: 1.6;
}


/* =========================================================
   THERMOGRAPHY HIGHLIGHT
   ========================================================= */

.service-highlight {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-bottom: 25px;
}

.service-highlight>div {
  padding: 18px;
  border-radius: 9px;
  background: #f5f8fc;
  text-align: center;
}

.service-highlight strong {
  display: block;
  margin-bottom: 4px;

  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 700;

  color: var(--primary-color, #0d6efd);
}

.service-highlight span {
  display: block;
  color: #657181;
  font-size: 13px;
}


/* =========================================================
   MODAL FOOTER
   ========================================================= */

.service-detail-modal .modal-footer {
  padding: 18px 28px;
  border-top: 1px solid #e9ecef;
  background: #fafbfc;
}

.service-detail-modal .modal-footer .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}



/* ------------------ Product Details ------------------ */
.product-gallery .main-img {
  border-radius: var(--radius);
  background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
  aspect-ratio: 4/3;
  overflow: hidden;
}

.product-gallery .main-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-gallery .thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.product-gallery .thumbs .thumb {
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  background: #f1f5f9;
  cursor: pointer;
  border: 2px solid transparent;
}

.product-gallery .thumbs .thumb.active {
  border-color: var(--primary);
}

.product-gallery .thumbs .thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.product-info .price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 10px 0 18px;
}

.product-info .price-row .price {
  color: var(--primary);
  font-size: 1.6rem;
  font-weight: 700;
}

.spec-table th {
  background: var(--light);
  font-weight: 600;
  width: 40%;
}

/* ------------------ Footer ------------------ */
.footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 70px 0 0;
  margin-top: 50px;
}

.footer h6 {
  color: #fff;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  font-size: .9rem;
  letter-spacing: .06em;

}

.footer a {
  color: #cbd5e1;
  display: inline-block;
  margin-bottom: 8px;
}

.footer a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer .brand-line {
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.footer .brand-line span {
  color: var(--accent);
}

.footer p {
  color: #94a3b8;
}

.footer .social a {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, .06);
  color: #fff;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  margin-bottom: 0;
}

.footer .social a:hover {
  background: var(--accent);
  padding-left: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  margin-top: 50px;
  padding: 22px 0;
  color: #94a3b8;
  font-size: .88rem;
}

.footer-logo img {
    max-width: 80px;
    height: auto;
    display: block;
    margin-bottom: 15px;
}

/* ------------------ Utilities ------------------ */
.text-primary-brand {
  color: var(--primary) !important;
}

.bg-light-brand {
  background: var(--light) !important;
}

.divider {
  height: 3px;
  width: 60px;
  background: var(--accent);
  border-radius: 2px;
  margin: 10px 0 18px;
}