:root {
  --primary: #1e88e5;
  --primary-light: #e3f2fd;
  --dark: #0f172a;
  --text: #475569;
  --white: #ffffff;
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", system-ui, sans-serif;
  color: var(--text);
}

main {
  padding-top: 97px;
}

@media (max-width: 768px) {
  main {
    padding-top: 97px;
  }
}

/* ACCESSIBILITY (KEYBOARD FOCUS) */
a:focus-visible {
  outline: 2px dashed var(--primary);
  outline-offset: 3px;
}

.container {
  padding-left: 1rem;
  padding-right: 1rem;
}

/* ABOUT PAGE */
/* ================= ABOUT HERO ================= */
.about-hero-full {
  position: relative;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* background image */
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* dark overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(15, 23, 42, 0.55),
    rgba(15, 23, 42, 0.2)
  );
  z-index: 2;
}

/* text */
.hero-content {
  position: relative;
  z-index: 3;
  line-height: 1;
  color: #fff;
  max-width: 650px;
  opacity: 0.95;
}

/* tag */
.hero-tag {
  padding: 4px;
  color: #38bdf8;
  font-size: 26px;
  display: inline-block;
  margin-bottom: 5px;
}

/* heading */
.hero-content h1 {
  font-size: 58px;
  line-height: 1.1;
}

.hero-content h1 span {
  color: #38bdf8;
}

/* text */
.hero-content p {
  margin: 20px 0 30px;
  font-size: 18px;
  line-height: 1.5;
  color: #e5e7eb;
}

/* buttons */
.hero-actions {
  display: flex;
  gap: 18px;
}

.btn-primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1e90ff, #38bdf8);
  color: #fff;
  font-size: 17px;
  padding: 14px 36px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 10px rgba(56, 189, 248, 0.6),
    0 0 25px rgba(56, 189, 248, 0.5),
    0 0 50px rgba(30, 144, 255, 0.4);
}

.btn-outline {
  position: relative;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.35);
  color: #fff;
  font-size: 17px;
  padding: 14px 36px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}
.btn-outline:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 8px rgba(255, 255, 255, 0.4),
    0 0 20px rgba(255, 255, 255, 0.25);
}

@media (max-width: 768px) {
  .about-hero-full {
    height: auto;
    min-height: 90vh;
    padding: 80px 0;
  }

  .about-hero-full::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(to top, #0f172a, transparent);
  }

  .hero-content {
    max-height: 80vh;
    max-width: 85%;
    margin: auto;
    background: rgba(15, 23, 42, 0.35);
    backdrop-filter: blur(5px);
    padding: 28px 22px;
    border-radius: 18px;
    box-shadow:
      0 12px 25px rgba(0, 0, 0, 0.35),
      inset 0 1px 0 rgba(255, 255, 255, 0.05);
    animation: slideUp 0.8s ease forwards;
  }

  @keyframes slideUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
  }

  .hero-overlay {
    background: linear-gradient(
      to bottom,
      rgba(15, 23, 42, 0.5),
      rgba(15, 23, 42, 0.2)
    );
  }

  .hero-content h1 {
    font-size: 33px;
    line-height: 1.2;
  }

  .hero-content p {
    font-size: 14px;
    line-height: 1.7;
  }

  .hero-tag {
    font-size: 14px;
    padding: 5px 4px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }

  .btn-primary,
  .btn-outline {
    text-align: center;
    text-decoration: none;
    width: 55%;
    padding: 12px;
    font-size: 14px;
  }
}

/* ================= ABOUT – WHO WE ARE ================= */

.about-section {
  padding: 100px 0;
  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(14, 165, 233, 0.08),
      transparent 40%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(56, 189, 248, 0.06),
      transparent 40%
    ),
    #fff;
}

/* layout */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 70px;
  align-items: center;
}

/* tag */
.section-tag {
  display: inline-block;
  background: #e0f2fe;
  color: #0284c7;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 15px;
}

.about-text {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  padding: 50px;
  border-radius: 24px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
  border-left: 4px solid #0ea5e9;
}

/* heading */
.about-text h2 {
  color: #0ea5e9;
  font-size: 42px;
  margin-bottom: 20px;
  line-height: 1.2;
}

/* text */
.about-text p {
  color: #475569;
  line-height: 1.8;
  margin-bottom: 16px;
}

/* bullet points */
.about-points {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.about-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-weight: 500;
  background: #f1f5f9;
  padding: 12px 18px;
  border-radius: 12px;
  transition: 0.3s;
}

.about-points li:hover {
  background: #e0f2fe;
  transform: translateX(6px);
}

.about-points i {
  color: #0ea5e9;
}

/* image */
.about-image img {
  position: relative;
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 26px;
  box-shadow: 0 20px 40px rgba(14, 165, 233, 0.15);
  transition: 0.5s ease;
}

.about-image:hover img {
  transform: scale(1.05);
}

.about-image::after {
  content: "ISO Certified Lab";
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(14, 165, 233, 0.9);
  color: #fff;
  padding: 8px 14px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}

.about-text,
.about-image {
  opacity: 0;
  text-align: justify;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease forwards;
}

.about-image {
  animation-delay: 0.2s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .about-text {
    padding: 30px 24px;
  }

  .about-text h2 {
    font-size: 28px;
  }

  .about-points {
    text-align: left;
    display: inline-block;
  }

  .about-image img {
    height: 260px;
    border-radius: 18px;
  }
}

/* VISION & MISSION SECTION */
.vm-section {
  padding: 80px 0;
  background: linear-gradient(180deg, #eef7ff, #ffffff);
}

.vm-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

/* Card */
.vm-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  border-left: 5px solid #1e90ff;
  transition: 0.3s;
}

.vm-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 45px rgba(30, 144, 255, 0.25);
}

.vm-card h3 {
  font-size: 26px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 15px;
}

.vm-card p {
  font-size: 16px;
  line-height: 1.7;
  color: #475569;
}

/* ================= MOBILE FIX ================= */
@media (max-width: 768px) {
  .vm-grid {
    grid-template-columns: 1fr; /* stack cards */
    gap: 25px;
  }

  .vm-card {
    padding: 30px 25px;
  }

  .vm-card h3 {
    font-size: 22px;
  }

  .vm-card p {
    font-size: 15px;
  }
}

/* WHY SECTION */
.why-section {
  padding: 100px 0;
  background: linear-gradient(180deg, #f0f9ff, #ffffff);
}

/* HEADER */
.why-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 70px;
}

.why-header h2 {
  font-size: 40px;
  font-weight: 700;
  color: #0f172a;
  position: relative;
  display: inline-block;
}

.why-header h2::after {
  content: "";
  width: 60px;
  height: 4px;
  background: #1e90ff;
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 10px;
}

.why-header p {
  margin-top: 28px;
  font-size: 18px;
  color: #64748b;
  line-height: 1.7;
}

/* GRID */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

/* CARD */
.why-card {
  background: #fff;
  padding: 45px 35px;
  border-radius: 22px;
  text-align: center;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #e7f2fd, #97dffe);
  opacity: 0;
  transition: 0.35s;
}

.why-card:hover::before {
  opacity: 0.05;
}

.why-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 18px 45px rgba(127, 190, 253, 0.422);
}

/* ICON */
.why-icon {
  width: 70px;
  height: 70px;
  background: #e0f2fe;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
}

.why-icon i {
  font-size: 30px;
  color: #1e90ff;
}

/* TEXT */
.why-card h4 {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
}

.why-card p {
  font-size: 15px;
  color: #64748b;
  line-height: 1.6;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 576px) {
  .why-section {
    padding: 70px 0;
  }

  .why-header h2 {
    font-size: 28px;
  }

  .why-header p {
    font-size: 15px;
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .why-card {
    padding: 32px 24px;
  }
}

/* ================= STATS / CERTIFICATIONS ================= */
.stats-section {
  padding: 90px 0;
  background: linear-gradient(180deg, #eef8ff, #ffffff);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 35px;
}

.stat-card {
  background: #fff;
  border-radius: 20px;
  padding: 45px 25px;
  text-align: center;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
  transition: 0.35s;
  position: relative;
}

.stat-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 45px rgba(30, 144, 255, 0.25);
}

.stat-card i {
  font-size: 36px;
  color: #1e90ff;
  margin-bottom: 18px;
}

.stat-card h3 {
  font-size: 42px;
  color: #1e90ff;
  font-weight: 700;
}

.stat-card p {
  margin-top: 8px;
  font-size: 16px;
  color: #475569;
}

/* Responsive */
@media (max-width: 992px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

/* CLIENTS & PARTNERS */

.clients-section {
  padding: 90px 5%;
  background: linear-gradient(180deg, #f4faff, #ffffff);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.section-header span {
  color: #1e90ff;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.section-header h2 {
  font-size: 38px;
  margin: 10px 0;
  color: #0f172a;
}

.section-header p {
  color: #64748b;
  font-size: 16px;
  line-height: 1.6;
}

/* GRID */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
  align-items: center;
}

/* CARD */
.client-card {
  background: #fff;
  padding: 30px;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.3s ease;
}

.client-card img {
  max-width: 120px;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: 0.3s ease;
}

/* HOVER */
.client-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(30, 144, 255, 0.15);
}

.client-card:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* MOBILE */
@media (max-width: 768px) {
  .clients-section {
    padding: 60px 20px;
  }

  .section-header h2 {
    font-size: 28px;
  }

  .client-card img {
    max-width: 90px;
  }
}

/* FIXED CTA BUTTON */
.fixed-cta {
  position: fixed;
  right: 0;
  bottom: 40%;
  padding: 14px 17px 14px 26px;
  border-radius: 30px 0 0 30px;
  font-weight: 600;
  text-decoration: none;
  z-index: 999;
  color: #fff;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  box-shadow: 0 10px 30px rgba(14, 165, 233, 0.45);
  transition: all 0.3s ease;
}

/* ANIMATED BACKGROUND */
.animated-btn {
  background: linear-gradient(270deg, #0ea5e9, #38bdf8, #0284c7, #0ea5e9);
  background-size: 600% 600%;
  animation: btnGradient 6s ease infinite;
}

/* Hover */
.fixed-cta:hover {
  transform: translateX(-8px);
  box-shadow: 0 16px 40px rgba(14, 165, 233, 0.6);
}

/* Active */
.fixed-cta:active {
  transform: scale(0.95);
}

/* Gradient animation */
@keyframes btnGradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .fixed-cta {
    bottom: 20px;
    right: 10px;
    border-radius: 30px;
    padding: 12px 18px;
    font-size: 14px;
  }
}

/* MODAL OVERLAY */
.quote-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: 0.4s;
}

/* ACTIVE */
.quote-modal.active {
  opacity: 1;
  pointer-events: auto;
}

/* MODAL BOX */
.modal-box {
  background: #fff;
  width: 90%;
  max-width: 550px;
  padding: 35px;
  border-radius: 18px;
  text-align: center;
  position: relative;
  animation: scaleUp 0.4s ease;
}

/* CLOSE */
.close-modal {
  position: absolute;
  top: 12px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
}

/* TEXT */
.modal-box h2 {
  color: #0284c7;
  margin-bottom: 10px;
}

.modal-box p {
  font-size: 14px;
  color: #666;
  margin-bottom: 25px;
}

/* FORM */
.modal-box input,
.modal-box textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 15px;
  font-size: 14px;
}

.form-row {
  display: flex;
  gap: 12px;
}

.form-row input {
  flex: 1;
}

/* BUTTON */
.modal-btn {
  width: 100%;
  padding: 14px;
  border: none;
  color: #fff;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;

  background: linear-gradient(270deg, #0ea5e9, #38bdf8, #0284c7, #0ea5e9);
  background-size: 600% 600%;
  animation: btnGradient 6s ease infinite;
}

/* MOBILE */
@media (max-width: 600px) {
  .form-row {
    flex-direction: column;
  }
}

/* ANIMATION */
@keyframes scaleUp {
  from {
    transform: scale(0.7);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
