/* ==========================================================
   EMULAR ENERGY SERVICES LIMITED
   Premium Corporate Website
   Author: OpenAI + Chinedum
========================================================== */

/* ===========================
   GOOGLE FONTS
=========================== */

:root {
  --primary: #39a84a;
  --primary-dark: #2d7d3c;

  --secondary: #7b3528;

  --light: #f8faf8;

  --gray: #eef4ef;

  --text: #1f2937;

  --white: #ffffff;

  --shadow: 0 20px 60px rgba(0, 0, 0, 0.08);

  --radius: 18px;
}

/* ===========================
RESET
=========================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;

  background: var(--light);

  color: var(--text);

  overflow-x: hidden;

  line-height: 1.7;
}

img {
  max-width: 100%;

  display: block;
}

a {
  text-decoration: none;
}

/* ===========================
HEADINGS
=========================== */

h1,
h2,
h3,
h4,
h5 {
  font-family: "Poppins", sans-serif;

  font-weight: 700;

  color: white;
}

/* ===========================
SECTION SPACING
=========================== */

section {
  padding: 110px 0;
}

/* ===========================
HEADER
=========================== */

#header {
  transition: 0.4s ease;
}

#header.scrolled {
  background: #fff;

  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
}

#header.scrolled .nav-link {
  color: var(--text);
}

#header.scrolled .fa-search {
  color: var(--text);
}

/* ===========================
NAVIGATION
=========================== */

.nav-link {
  color: white;

  font-weight: 500;

  position: relative;

  transition: 0.3s;
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link::after {
  content: "";

  position: absolute;

  width: 0;

  height: 2px;

  left: 0;

  bottom: -8px;

  background: var(--primary);

  transition: 0.35s;
}

.nav-link:hover::after {
  width: 100%;
}

/* ===========================
BUTTONS
=========================== */

.primary-btn {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  padding: 15px 34px;

  background: var(--primary);

  color: white;

  border-radius: 50px;

  font-weight: 600;

  transition: 0.35s;

  box-shadow: 0 15px 30px rgba(57, 168, 74, 0.25);
}

.primary-btn:hover {
  background: var(--primary-dark);

  transform: translateY(-4px);
}

.secondary-btn {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  padding: 15px 34px;

  border: 2px solid white;

  color: white;

  border-radius: 50px;

  transition: 0.35s;
}

.secondary-btn:hover {
  background: white;

  color: var(--primary-dark);
}

/* ===========================
HERO
=========================== */

.hero-title {
  font-size: clamp(3rem, 5vw, 5.4rem);

  line-height: 1.1;

  font-weight: 800;

  color: white;
}

.hero-text {
  font-size: 1.15rem;

  line-height: 2;

  color: rgba(255, 255, 255, 0.88);

  max-width: 560px;

  margin-top: 28px;
}
/* ===========================
GLASS CARD
=========================== */

.glass-card {
  backdrop-filter: blur(20px);

  background: rgba(255, 255, 255, 0.1);

  border: 1px solid rgba(255, 255, 255, 0.15);

  border-radius: 20px;

  padding: 28px;

  color: white;

  transition: 0.35s;
}

.glass-card:hover {
  transform: translateY(-8px);

  background: rgba(255, 255, 255, 0.16);
}

.glass-card h3 {
  font-size: 1.3rem;

  margin-bottom: 10px;
}

.glass-card p {
  color: rgba(255, 255, 255, 0.8);
}

/* ===========================
SCROLL INDICATOR
=========================== */

.scroll-down {
  width: 32px;

  height: 56px;

  border: 2px solid rgba(255, 255, 255, 0.8);

  border-radius: 30px;

  position: relative;
}

.scroll-down::before {
  content: "";

  position: absolute;

  width: 6px;

  height: 10px;

  background: white;

  left: 50%;

  transform: translateX(-50%);

  top: 10px;

  border-radius: 50px;

  animation: scroll 2s infinite;
}

@keyframes scroll {
  0% {
    opacity: 1;

    top: 10px;
  }

  100% {
    opacity: 0;

    top: 32px;
  }
}

/* ===========================
CUSTOM UTILITIES
=========================== */

.shadow-soft {
  box-shadow: var(--shadow);
}

.rounded-xl2 {
  border-radius: var(--radius);
}

.text-primary {
  color: var(--primary);
}

.bg-primary {
  background: var(--primary);
}

.bg-light {
  background: var(--light);
}

/* ===========================
CUSTOM SCROLLBAR
=========================== */

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #eef4ef;
}

::-webkit-scrollbar-thumb {
  background: var(--primary);

  border-radius: 30px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

/* ===========================
RESPONSIVE
=========================== */

@media (max-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }

  section {
    padding: 90px 0;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.4rem;
  }

  .hero-text {
    font-size: 1rem;
  }

  .primary-btn,
  .secondary-btn {
    width: 100%;
  }

  .glass-card {
    margin-top: 20px;
  }
}

.mobile-link {
  display: block;

  padding: 16px 0;

  font-size: 18px;

  font-weight: 600;

  color: #1f2937;

  border-bottom: 1px solid #f1f1f1;

  transition: 0.3s;
}

.mobile-link:hover {
  color: var(--primary);

  padding-left: 10px;
}

#progress-bar {
  position: fixed;

  top: 0;

  left: 0;

  height: 4px;

  width: 0;

  background: linear-gradient(90deg, #39a84a, #7b3528);

  z-index: 99999;
}

/*=====================================
CLIENT LOGO MARQUEE
=====================================*/

.logo-slider {
  display: flex;

  align-items: center;

  gap: 90px;

  width: max-content;

  animation: marquee 35s linear infinite;
}

.logo-slider img {
  height: 55px;

  opacity: 0.45;

  transition: 0.4s;

  filter: grayscale(100%);
}

.logo-slider img:hover {
  opacity: 1;

  filter: grayscale(0);

  transform: scale(1.08);
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.hero-image {
  width: 520px;

  height: 620px;

  object-fit: cover;

  border-radius: 32px;

  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.25);

  position: relative;

  z-index: 2;
}

.floating-card {
  position: absolute;

  display: flex;

  align-items: center;

  gap: 18px;

  padding: 18px 22px;

  background: rgba(255, 255, 255, 0.18);

  backdrop-filter: blur(25px);

  -webkit-backdrop-filter: blur(25px);

  border: 1px solid rgba(255, 255, 255, 0.3);

  border-radius: 18px;

  color: white;

  min-width: 260px;

  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);

  z-index: 5;

  animation: float 5s ease-in-out infinite;
}

.floating-card h4 {
  font-size: 18px;

  margin-bottom: 4px;
}

.floating-card p {
  font-size: 14px;

  opacity: 0.9;
}

.card-icon {
  width: 54px;

  height: 54px;

  border-radius: 50%;

  background: #39a84a;

  display: flex;

  align-items: center;

  justify-content: center;

  font-size: 22px;

  flex-shrink: 0;
}

.card-top {
  top: -35px;

  right: -50px;
}

.card-left {
  left: -70px;

  top: 45%;

  transform: translateY(-50%);
}

.card-bottom {
  bottom: -30px;

  right: -40px;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

/*=====================================
HERO BUTTON
=====================================*/

.hero-btn {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  padding: 18px 38px;

  background: linear-gradient(135deg, #39a84a, #2d7d3c);

  color: #fff;

  font-weight: 600;

  font-size: 16px;

  border-radius: 60px;

  box-shadow: 0 20px 45px rgba(57, 168, 74, 0.35);

  transition: 0.4s ease;
}

.hero-btn:hover {
  transform: translateY(-6px);

  box-shadow: 0 28px 55px rgba(57, 168, 74, 0.45);
}

.hero-btn i {
  transition: 0.35s;
}

.hero-btn:hover i {
  transform: translateX(6px);
}

/*=====================================
HERO CTA
=====================================*/

.hero-cta {
  margin-top: 10px;

  padding: 18px 38px;

  font-size: 16px;

  box-shadow: 0 20px 45px rgba(57, 168, 74, 0.35);
}

.hero-cta i {
  margin-left: 12px;

  transition: 0.35s;
}

.hero-cta:hover i {
  transform: translateX(6px);
}

/* .hero-cta {
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative;
  z-index: 999;
} */

/*==================================================
SECTION HEADINGS
==================================================*/

.section-tag {
  color: var(--primary);

  font-weight: 700;

  letter-spacing: 4px;

  text-transform: uppercase;

  margin-bottom: 18px;
}

.section-title {
  font-size: clamp(2.4rem, 4vw, 4rem);

  color: var(--text);

  font-family: "Poppins", sans-serif;

  line-height: 1.15;

  margin-bottom: 24px;
}

.section-description {
  max-width: 760px;

  margin: auto;

  font-size: 1.1rem;

  color: #6b7280;

  line-height: 1.9;
}

/*==================================================
SERVICES
==================================================*/

.services-grid {
  display: grid;

  gap: 32px;

  margin-top: 70px;
}

.service-card {
  position: relative;

  display: block;

  height: 430px;

  overflow: hidden;

  border-radius: 28px;

  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);

  transition: 0.45s;
}

.service-card img {
  width: 100%;

  height: 100%;

  object-fit: cover;

  transition: transform 0.8s ease;
}

.service-overlay {
  position: absolute;

  inset: 0;

  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.78),
    rgba(0, 0, 0, 0.45),
    rgba(45, 125, 60, 0.35)
  );
}

.service-content {
  position: absolute;

  left: 50px;

  bottom: 50px;

  color: white;

  max-width: 520px;

  z-index: 2;
}

.service-number {
  display: inline-block;

  margin-bottom: 18px;

  font-size: 14px;

  font-weight: 700;

  color: #7ee787;

  letter-spacing: 3px;
}

.service-content h3 {
  font-size: 2rem;

  margin-bottom: 18px;

  line-height: 1.2;
}

.service-content p {
  font-size: 1rem;

  color: rgba(255, 255, 255, 0.85);

  line-height: 1.8;
}

.service-arrow {
  margin-top: 28px;

  width: 56px;

  height: 56px;

  border-radius: 50%;

  background: rgba(255, 255, 255, 0.15);

  display: flex;

  align-items: center;

  justify-content: center;

  backdrop-filter: blur(12px);

  transition: 0.35s;
}

.service-card:hover img {
  transform: scale(1.08);
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-card:hover .service-arrow {
  background: var(--primary);

  transform: translateX(8px);
}

/*==================================================
SERVICES SECTION
==================================================*/

.services-section {
  position: relative;

  padding: 120px 0;

  background: linear-gradient(180deg, #ffffff 0%, #f5f8f6 100%);

  overflow: hidden;

  isolation: isolate;
}

.services-showcase {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: center;
  margin-top: 80px;
}

/*=============================
LEFT COLUMN
=============================*/

.services-list {
  display: flex;
  flex-direction: column;
}

.service-item {
  display: grid;
  grid-template-columns: 80px 1fr 60px;
  align-items: center;
  gap: 25px;
  padding: 32px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: 0.45s ease;
  position: relative;
}

/* Green Accent */

.service-item::before {
  content: "";

  position: absolute;

  left: -35px;

  top: 50%;

  transform: translateY(-50%);

  width: 5px;

  height: 0;

  background: #39a84a;

  border-radius: 50px;

  transition: 0.45s;
}

.service-item:hover::before,
.service-item.active::before {
  height: 70%;
}

.service-number {
  font-size: 48px;

  font-weight: 700;

  color: #cfcfcf;

  transition: 0.4s;

  line-height: 1;
}

.service-item:hover .service-number,
.service-item.active .service-number {
  color: #39a84a;

  transform: scale(1.08);
}

.service-category {
  display: inline-block;

  margin-bottom: 12px;

  font-size: 12px;

  font-weight: 700;

  letter-spacing: 3px;

  color: #39a84a;
}

.service-info h3 {
  font-size: 30px;

  color: #1c1c1c;

  margin-bottom: 14px;

  transition: 0.4s;

  line-height: 1.25;
}

.service-info p {
  color: #666;

  line-height: 1.8;

  max-width: 520px;
}

.service-item:hover h3,
.service-item.active h3 {
  color: #39a84a;
}

.service-arrow {
  width: 52px;

  height: 52px;

  border-radius: 50%;

  background: #f2f2f2;

  display: flex;

  align-items: center;

  justify-content: center;

  transition: 0.4s;

  font-size: 18px;
}

.service-item:hover .service-arrow,
.service-item.active .service-arrow {
  background: #39a84a;

  color: #fff;

  transform: translateX(8px);
}

/*=============================
RIGHT COLUMN
=============================*/

.services-preview {
  position: sticky;

  top: 120px;
}

.preview-image {
  position: relative;
  overflow: hidden;
  border-radius: 36px;
  box-shadow:
    0 35px 90px rgba(0, 0, 0, 0.18),
    0 10px 25px rgba(57, 168, 74, 0.08);
}

.preview-image img {
  width: 100%;
  height: 800px;
  object-fit: cover;
  object-position: center;
  transition:
    opacity 0.45s ease,
    transform 0.8s ease;
}

.preview-image:hover img {
  transform: scale(1.05);
}

/* Overlay */

.preview-image::after {
  content: "";

  position: absolute;

  inset: 0;

  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.35));
}

/*=============================
FLOATING BADGE
=============================*/

.preview-badge {
  position: absolute;

  left: 35px;

  bottom: 35px;

  background: rgba(255, 255, 255, 0.16);

  backdrop-filter: blur(20px);

  -webkit-backdrop-filter: blur(20px);

  border: 1px solid rgba(255, 255, 255, 0.3);

  padding: 30px;

  border-radius: 24px;

  color: white;

  width: 340px;

  z-index: 5;
}

.preview-badge span {
  font-size: 12px;

  letter-spacing: 3px;

  font-weight: 700;

  color: #a8f1b4;
}

.preview-badge h4 {
  margin-top: 10px;

  font-size: 22px;

  line-height: 1.4;

  font-weight: 600;
}

/*=============================
IMAGE TRANSITION
=============================*/

.preview-image img.fade-out {
  opacity: 0;

  transform: scale(0.96);
}

.preview-image img.fade-in {
  opacity: 1;

  transform: scale(1);
}

/*==================================================
TABLET
==================================================*/

@media (max-width: 1100px) {
  .services-showcase {
    grid-template-columns: 1fr;
  }

  .services-preview {
    position: relative;

    top: 0;

    order: -1;

    margin-bottom: 60px;
  }

  .preview-image img {
    height: 520px;
  }
}

/*==================================================
MOBILE
==================================================*/

@media (max-width: 768px) {
  .services-section {
    padding: 90px 0;
  }

  .service-item {
    grid-template-columns: 60px 1fr;

    padding: 24px 0;
  }

  .service-arrow {
    display: none;
  }

  .service-number {
    font-size: 34px;
  }

  .service-info h3 {
    font-size: 24px;
  }

  .preview-image img {
    height: 380px;
  }

  .preview-badge {
    width: 240px;

    padding: 18px;

    left: 20px;

    bottom: 20px;
  }
}

.service-item.active {
  padding-left: 20px;
}

.service-item {
  transition:
    padding 0.35s ease,
    background 0.35s ease,
    transform 0.35s ease;
}

.service-item.active {
  background: #ffffff;

  border-radius: 18px;

  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
}

.section-header {
  margin-bottom: 90px;
}

.section-title {
  max-width: 760px;

  margin: 0 auto 24px;

  text-align: center;
}

.section-description {
  max-width: 720px;

  margin: 0 auto;

  text-align: center;

  line-height: 1.9;
}

.services-list {
  padding-left: 20px;
}

.services-bg {
  position: absolute;

  inset: 0;

  pointer-events: none;

  z-index: -1;
}

.services-glow-green {
  position: absolute;

  width: 650px;

  height: 650px;

  right: -180px;

  top: -120px;

  border-radius: 50%;

  background: rgba(57, 168, 74, 0.14);

  filter: blur(140px);
}

.services-glow-brown {
  position: absolute;

  width: 520px;

  height: 520px;

  left: -180px;

  bottom: -150px;

  border-radius: 50%;

  background: rgba(123, 53, 40, 0.1);

  filter: blur(130px);
}

.services-grid-pattern {
  position: absolute;

  inset: 0;

  opacity: 0.03;

  background-image:
    linear-gradient(rgba(0, 0, 0, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.15) 1px, transparent 1px);

  background-size: 70px 70px;
}

.services-dots {
  position: absolute;

  width: 420px;

  height: 420px;

  right: 8%;

  bottom: 8%;

  opacity: 0.08;

  background-image: radial-gradient(#39a84a 1.2px, transparent 1.2px);

  background-size: 24px 24px;
}

.services-section .container,
.services-section .max-w-\[1400px\] {
  position: relative;

  z-index: 2;
}

@keyframes drift {
  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(20px, -15px);
  }
}

.services-glow {
  animation: drift 16s ease-in-out infinite;
}

.services-glow-brown {
  animation-delay: 8s;
}

/*==================================================
LABORATORY CAPABILITIES
==================================================*/

.capabilities-section {
  position: relative;

  padding: 140px 0;

  background: linear-gradient(180deg, #f5f8f6 0%, #ffffff 100%);

  overflow: hidden;

  isolation: isolate;
}

/*============================
BACKGROUND
============================*/

.capabilities-bg {
  position: absolute;

  inset: 0;

  pointer-events: none;

  z-index: -1;
}

.capabilities-glow {
  position: absolute;

  border-radius: 50%;

  filter: blur(150px);
}

.capabilities-green {
  width: 650px;

  height: 650px;

  right: -180px;

  top: -120px;

  background: rgba(57, 168, 74, 0.12);
}

.capabilities-brown {
  width: 500px;

  height: 500px;

  left: -150px;

  bottom: -120px;

  background: rgba(123, 53, 40, 0.08);
}

/*============================
LAYOUT
============================*/

.capabilities-layout {
  display: grid;

  grid-template-columns: 420px 1fr;

  gap: 70px;

  margin-top: 80px;

  align-items: start;
}

/*============================
FEATURE PANEL
============================*/

.lab-feature {
  position: sticky;

  top: 120px;

  padding: 45px;

  border-radius: 30px;

  background: rgba(255, 255, 255, 0.75);

  backdrop-filter: blur(18px);

  -webkit-backdrop-filter: blur(18px);

  border: 1px solid rgba(255, 255, 255, 0.5);

  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.08);
}

.feature-tag {
  display: inline-block;

  margin-bottom: 18px;

  color: var(--primary);

  font-size: 12px;

  font-weight: 700;

  letter-spacing: 3px;
}

.lab-feature h3 {
  font-size: 42px;

  line-height: 1.2;

  margin-bottom: 24px;

  color: #1c1c1c;
}

.lab-feature p {
  line-height: 1.9;

  color: #666;

  margin-bottom: 35px;
}

.feature-list {
  list-style: none;

  padding: 0;

  margin: 0;
}

.feature-list li {
  display: flex;

  align-items: center;

  gap: 14px;

  margin-bottom: 18px;

  color: #444;

  font-weight: 500;
}

.feature-list i {
  color: var(--primary);

  font-size: 18px;
}

/*============================
RIGHT SIDE
============================*/

.capability-groups {
  display: grid;

  gap: 28px;
}

.capability-group {
  background: white;

  border-radius: 24px;

  padding: 32px;

  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.06);

  transition: 0.35s;
}

.capability-group:hover {
  transform: translateY(-8px);

  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.1);
}

.capability-group h4 {
  display: flex;

  align-items: center;

  gap: 14px;

  margin-bottom: 22px;

  font-size: 24px;

  color: #1c1c1c;
}

.capability-group h4 i {
  color: var(--primary);
}

/*============================
CAPABILITY CHIPS
============================*/

.capability-tags {
  display: flex;

  flex-wrap: wrap;

  gap: 14px;
}

.capability-tags span {
  padding: 12px 18px;

  border-radius: 999px;

  background: #f4f7f5;

  border: 1px solid #e5ece6;

  font-size: 14px;

  font-weight: 500;

  color: #555;

  transition: 0.35s;

  cursor: default;
}

.capability-tags span:hover {
  background: var(--primary);

  color: #fff;

  border-color: var(--primary);

  transform: translateY(-4px);

  box-shadow: 0 10px 25px rgba(57, 168, 74, 0.25);
}

/*==================================================
TABLET
==================================================*/

@media (max-width: 1100px) {
  .capabilities-layout {
    grid-template-columns: 1fr;
  }

  .lab-feature {
    position: relative;

    top: 0;

    margin-bottom: 20px;
  }
}

/*==================================================
MOBILE
==================================================*/

@media (max-width: 768px) {
  .capabilities-section {
    padding: 90px 0;
  }

  .lab-feature {
    padding: 32px;
  }

  .lab-feature h3 {
    font-size: 32px;
  }

  .capability-group {
    padding: 24px;
  }

  .capability-group h4 {
    font-size: 20px;
  }

  .capability-tags {
    gap: 10px;
  }

  .capability-tags span {
    font-size: 13px;

    padding: 10px 14px;
  }
}

/*==================================================
LABORATORY STATISTICS
==================================================*/

.lab-stats {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 28px;

  margin: 70px 0 90px;
}

.lab-stat {
  padding: 32px;

  border-radius: 24px;

  background: rgba(255, 255, 255, 0.75);

  backdrop-filter: blur(18px);

  -webkit-backdrop-filter: blur(18px);

  border: 1px solid rgba(255, 255, 255, 0.4);

  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);

  transition: 0.35s;
}

.lab-stat:hover {
  transform: translateY(-8px);

  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.1);
}

.lab-stat-top {
  display: flex;

  align-items: center;

  gap: 18px;

  margin-bottom: 22px;
}

.lab-stat-icon {
  width: 62px;

  height: 62px;

  border-radius: 18px;

  display: flex;

  align-items: center;

  justify-content: center;

  background: rgba(57, 168, 74, 0.1);

  color: var(--primary);

  font-size: 26px;

  transition: 0.35s;

  flex-shrink: 0;
}

.lab-stat:hover .lab-stat-icon {
  background: var(--primary);

  color: white;

  transform: rotate(8deg);
}

.lab-stat-number {
  font-size: 1.8rem;

  font-weight: 700;

  color: #1c1c1c;

  line-height: 1.2;
}

.lab-stat-label {
  padding-left: 80px;

  font-size: 0.92rem;

  letter-spacing: 1px;

  text-transform: uppercase;

  color: #666;
}

@media (max-width: 992px) {
  .lab-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .lab-stats {
    grid-template-columns: 1fr;
  }

  .lab-stat {
    padding: 24px;
  }

  .lab-stat-label {
    padding-left: 80px;
  }

  .lab-stat-number {
    font-size: 1.5rem;
  }
}

/*==================================================
INDUSTRY SOLUTIONS
==================================================*/

.industries-section {
  position: relative;

  padding: 140px 0;

  background: linear-gradient(135deg, #081016 0%, #0b1720 55%, #10241a 100%);

  overflow: hidden;

  isolation: isolate;
}

/*============================
BACKGROUND
============================*/

.industries-bg {
  position: absolute;

  inset: 0;

  z-index: -1;

  overflow: hidden;
}

.industry-glow {
  position: absolute;

  width: 650px;

  height: 650px;

  top: -180px;

  right: -180px;

  border-radius: 50%;

  background: rgba(57, 168, 74, 0.12);

  filter: blur(150px);

  animation: industryFloat 18s ease-in-out infinite;
}

.industry-pattern {
  position: absolute;

  inset: 0;

  opacity: 0.04;

  background-image: radial-gradient(#39a84a 1px, transparent 1px);

  background-size: 30px 30px;
}

@keyframes industryFloat {
  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(-30px, 20px);
  }
}

/*============================
GRID
============================*/

.industry-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  grid-auto-rows: 260px;

  gap: 28px;

  margin-top: 90px;
}

.industry-large {
  grid-column: span 2;

  grid-row: span 2;
}

.industry-wide {
  grid-column: span 3;
}

/*============================
CARD
============================*/

.industry-card {
  position: relative;

  overflow: hidden;

  border-radius: 32px;

  border: 1px solid rgba(255, 255, 255, 0.08);

  text-decoration: none;

  color: #fff;

  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);

  transition:
    transform 0.45s ease,
    box-shadow 0.45s ease;
}

.industry-card img {
  width: 100%;

  height: 100%;

  object-fit: cover;

  transition: transform 0.9s ease;
}

.industry-card:hover {
  transform: translateY(-10px);

  box-shadow:
    0 35px 80px rgba(0, 0, 0, 0.3),
    0 0 40px rgba(57, 168, 74, 0.1);
}

.industry-overlay {
  position: absolute;

  inset: 0;

  overflow: hidden;

  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.82) 0%,
    rgba(0, 0, 0, 0.42) 45%,
    rgba(0, 0, 0, 0.18) 100%
  );

  transition: 0.45s;
}

.industry-overlay::before {
  content: "";

  position: absolute;

  width: 320px;

  height: 320px;

  right: -120px;

  top: -120px;

  border-radius: 50%;

  background: rgba(57, 168, 74, 0.08);

  filter: blur(70px);

  transition: 0.6s;
}

.industry-overlay::after {
  content: "";

  position: absolute;

  width: 260px;

  height: 260px;

  left: -90px;

  bottom: -90px;

  border-radius: 50%;

  background: rgba(123, 53, 40, 0.08);

  filter: blur(70px);

  transition: 0.6s;
}

/*============================
CONTENT
============================*/

.industry-content {
  position: absolute;

  left: 40px;

  right: 40px;

  bottom: 40px;

  z-index: 3;
}

.industry-content span {
  display: inline-flex;

  align-items: center;

  gap: 8px;

  padding: 8px 16px;

  margin-bottom: 18px;

  border-radius: 999px;

  background: rgba(255, 255, 255, 0.1);

  backdrop-filter: blur(10px);

  -webkit-backdrop-filter: blur(10px);

  border: 1px solid rgba(255, 255, 255, 0.15);

  color: #7be28b;

  font-size: 11px;

  font-weight: 700;

  letter-spacing: 2px;

  text-transform: uppercase;
}

.industry-content h3 {
  font-size: 34px;

  line-height: 1.2;

  margin-bottom: 16px;

  transition: 0.35s;
}

.industry-card:not(.industry-large):not(.industry-wide) h3 {
  font-size: 26px;

  margin-bottom: 0;
}

.industry-content p {
  color: rgba(255, 255, 255, 0.82);

  line-height: 1.8;

  max-width: 520px;
}

.industry-link {
  margin-top: 28px;

  display: inline-flex;

  align-items: center;

  gap: 12px;

  color: #fff;

  font-weight: 600;

  transition: 0.35s;
}

.industry-link i {
  transition: 0.35s;
}

/*============================
GREEN ACCENT
============================*/

.industry-card::before {
  content: "";

  position: absolute;

  left: 0;

  bottom: 0;

  width: 0;

  height: 5px;

  background: #39a84a;

  z-index: 4;

  transition: 0.45s;
}

/*============================
HOVER
============================*/

.industry-card:hover {
  transform: translateY(-10px);

  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.3);
}

.industry-card:hover img {
  transform: scale(1.1);
}

.industry-card:hover::before {
  width: 100%;
}

.industry-card:hover h3 {
  color: #39a84a;
}

.industry-card:hover .industry-link i {
  transform: translateX(8px);
}

.industry-card:hover .industry-overlay {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.88) 0%,
    rgba(0, 0, 0, 0.48) 45%,
    rgba(0, 0, 0, 0.15) 100%
  );
}

.industry-card:hover .industry-overlay::before {
  transform: scale(1.2);

  opacity: 1;
}

.industry-card:hover .industry-overlay::after {
  transform: scale(1.2);

  opacity: 1;
}

/*==================================================
TABLET
==================================================*/

@media (max-width: 1100px) {
  .industry-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .industry-large {
    grid-column: span 2;
  }

  .industry-wide {
    grid-column: span 2;
  }
}

/*==================================================
MOBILE
==================================================*/

@media (max-width: 768px) {
  .industries-section {
    padding: 90px 0;
  }

  .industry-grid {
    grid-template-columns: 1fr;

    grid-auto-rows: 320px;

    gap: 20px;
  }

  .industry-large,
  .industry-wide {
    grid-column: span 1;

    grid-row: span 1;
  }

  .industry-content {
    left: 25px;

    right: 25px;

    bottom: 25px;
  }

  .industry-content h3 {
    font-size: 26px;
  }

  .industry-content p {
    font-size: 15px;
  }
}
