
body {
  font-family: 'Segoe UI', sans-serif;
  background: #f7f7f7;
  margin: 0;
}

/*@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* Section spacing */
.section {
  padding: 40px 20px;
  text-align: center;
}

/* Small pill title */
.section-tag {
  display: inline-block;
  padding: 8px 18px;
  background: #ffe9d6;
  color: #ff7a00;
  border-radius: 20px;
  font-size: 14px;
  margin-bottom: 10px;
}

/* Main heading */
.section h2 {
  font-size: 28px;
  margin: 10px 0;
}

.section h2 span {
  color: #ff7a00;
}

/* Description */
.section p {
  color: #666;
  font-size: 15px;
  line-height: 1.6;
}
a {
  text-decoration: none;
  color: inherit;
}
/* Card */
.card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  margin-top: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.card img {
  width: 100%;
  height: auto;
}

.card h3 {
  padding: 15px;
  margin: 0;
}

/* Form styling */
.form-container {
  background: #fff;
  padding: 20px;
  border-radius: 15px;
  margin: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.form-container input,
.form-container select {
  width: 100%;
  padding: 14px;
  margin: 10px 0;
  border-radius: 10px;
  border: 1px solid #ddd;
}

/* Button */
.btn {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 30px;
  background: linear-gradient(90deg, #040bc2, #01053f);
  color: rgb(246, 246, 248);
  font-size: 16px;
  cursor: pointer;
}
#loader {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, #0b2a5b, #0d6efd);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* Center wrapper */
.loader-wrapper {
  text-align: center;
}

/* Logo animation */
.loader-logo {
  width: 130px;
  animation: floatPulse 1.8s ease-in-out infinite;
  filter: drop-shadow(0 0 12px rgba(255,255,255,0.25));
}

/* Brand text */
.loader-text {
  margin-top: 12px;
  font-size: 14px;
  color: #ffffff;
  letter-spacing: 1px;
  opacity: 0.9;
  font-family: Arial, sans-serif;
}

/* Animation */
@keyframes floatPulse {
  0% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-8px) scale(1.05);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

/* Smooth fade out */
#loader.fade-out {
  opacity: 0;
  visibility: hidden;
  transition: 0.6s ease;
}

header { display:flex; justify-content:space-between; align-items:center; padding:20px; background:#fff; }
header,
.booking,
.services,
.grid {
  width: 100%;
  max-width: 100%;
}
/* ===== LOGO STYLING ===== */
.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-container h1 {
  font-size: 18px;
  color: #1e293b;
}
.logo-container img {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
/* =====  ANIMATIONS ===== */

/* Smooth fade + scale */
.fade-up {
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  transition: all 0.7s ease;
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Stagger animation delay */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* button hover */
button {
  transition: all 0.3s ease;
}

button:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* Desktop nav */
.nav {
  display: flex;
  gap: 15px;
}

/* Hamburger hidden on desktop */
.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
}
/* Nav buttons */
.nav-btn {
  border: none;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
}

/* Desktop: keep buttons inline */
@media (min-width: 769px) {
  .nav-btn {
    margin-left: 10px;
  }
}
/* Mobile styles */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    background: #fff;
    margin-top: 10px;
    padding: 10px;
    border-radius: 8px;
  }

  .nav.show {
    display: flex;
  }

  .nav a {
    padding: 10px;
    border-bottom: 1px solid #eee;
  }

  .nav a:last-child {
    border-bottom: none;
  }
}

/* Hamburger */
.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

/* MOBILE MENU ANIMATION */
/* ===== MOBILE MENU CLEAN ===== */
@media (max-width: 768px) {

  .menu-toggle {
    display: block;
  }

  nav {
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    background: #fff;

    display: flex;
    flex-direction: column;
    gap: 10px;

    max-height: 0;
    overflow: hidden;
    opacity: 0;

    transition: all 0.4s ease;
    padding: 0 20px;
  }

  nav.active {
    max-height: 500px;
    opacity: 1;
    padding: 20px;
  }

  nav a,
  .nav-btn {
    width: 100%;
    padding: 12px;
  }

  .nav-btn {
    margin-top: 10px;
  }
}

/* HERO */
.contact-hero {
  background: linear-gradient(135deg, #1d4ed8, #1e3a8a);
  color: white;
  text-align: center;
  padding: 60px 20px;
}

/* SECTION */
.contact-section {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 40px 20px;
}

/* FORM */
.contact-form,
.contact-info {
  background: white;
  padding: 25px;
  
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border-radius: 8px;
  border: 1px solid #ddd;
}

/* DESKTOP */
@media (min-width: 768px) {
  .contact-section {
    flex-direction: row;
  }
}

/* Hero upgrade */
.hero img {
  transition: transform 0.6s ease;
}

.hero img:hover {
  transform: scale(1.05);
}

.box ul{
  padding-left: 20px;
  line-height: 1.8;
  color: #333;
}
/* ===== ABOUT (VISION & MISSION) ===== */
.about {
  padding: 60px 20px;
  background: linear-gradient(135deg, #f8fafc, #e0f2fe);
}

.about-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
/* SECTION */
.why-section {
  padding: 50px 20px;
  background: #f7f7f7;
  text-align: center;
}

/* HEADER */
.why-header h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.why-header p {
  color: #666;
  max-width: 600px;
  margin: auto;
}

/* GRID */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}

/* CARD */
.why-card {
  background: #2378be;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: 0.3s;
}

.why-card:hover {
  transform: translateY(-5px);
}

/* ICON */
.why-icon {
  font-size: 24px;
  background: #f3e8ff;
  padding: 12px;
  border-radius: 12px;
  display: inline-block;
  margin-bottom: 10px;
}

/* TEXT */
.why-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.why-card p {
  font-size: 14px;
  color: #fdfafa;
}

/* 📱 RESPONSIVE */
@media (max-width: 900px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}

/* Cards */
.about-card {
  background: #ffffff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.about-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.about-card h3 {
  margin-bottom: 10px;
  color: #1d4ed8;
}

.about-card p {
  color: #555;
  line-height: 1.6;
}

/* Desktop layout */
@media (min-width: 768px) {
  .about-container {
    flex-direction: row;
  }

  .about-card {
    flex: 1;
  }
}
/* ===== ABOUT SECTION ===== */
.about-section {
  padding: 60px 20px;
  background: #f8fafc;
}

.about-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
}

/* Image */
.about-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* Text */
.about-content {
  max-width: 500px;
}

.about-content h2 {
  margin-bottom: 15px;
  color: #1d4ed8;
}

.about-content p {
  color: #555;
  line-height: 1.6;
  margin-bottom: 15px;
}

.about-content ul {
  margin-top: 10px;
}

.about-content li {
  margin: 8px 0;
}

/* Desktop Layout */
@media (min-width: 992px) {
  .about-wrapper {
    flex-direction: row;
    justify-content: center;
  }

  .about-image,
  .about-content {
    flex: 1;
  }
}
.gallery {
  padding: 50px 20px;
  text-align: center;
  background: #f5f9ff;
}

.gallery h2 {
  color: #0d6efd;
  margin-bottom: 30px;
}

/* Grid layout */
.gallery-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
}

.gallery-container img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s ease;
}

.gallery-container img:hover {
  transform: scale(1.05);
}

/* Lightbox */
#lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

#lightbox img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 10px;
}

#close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 35px;
  color: white;
  cursor: pointer;
}
/* Gradient text (premium look) */
.gradient-text {
  background: linear-gradient(135deg, #2563eb, #1e40af);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
h1 { font-size:20px; }
button { padding:10px 15px; border:none; cursor:pointer; border-radius:6px; }
.btn-primary { background:#2563eb; color:#fff; }
.btn-white { background:#fff; color:#2563eb; }
.btn-green { background:green; color:#fff; }
.btn-yellow { background:gold; }
.hero { text-align:center; padding:40px 20px; }
.hero img { width:100%; max-height:300px; object-fit:cover; border-radius:10px; margin-bottom:15px; }
.booking {
  display: flex;
  flex-direction: column; /* mobile first */
  gap: 20px;
  padding: 20px;
}
.form-container input,
.form-container select {
  width: 100%;
  padding: 10px;
  margin: 8px 0;
  border-radius: 6px;
  border: 1px solid #ddd;
}

.btn-submit {
  background: #2563eb;
  color: white;
  padding: 12px;
  border: none;
  width: 100%;
  border-radius: 8px;
  cursor: pointer;
}
.booking-left {
  background: linear-gradient(135deg, #1a4ebc, #1e40af);
  color: #eeeef4;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.booking-left ul li {
  margin: 10px 0;
  font-size: 16px;
  color: #fdfafa;
}

.booking-left.show {
  opacity: 1;
  transform: translateY(0);
}
/* Prevent horizontal scrolling */
body {
  overflow-x: hidden;
}

/* Make all elements behave properly */
* {
  box-sizing: border-box;
}





/* Large screens */
@media (min-width: 992px) {
  .booking {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .booking-left {
    flex: 1;
  }

  .form-container {
    flex: 1;
  }
}

.services { padding:40px 20px; }
.grid {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}
.test-list-section {
  padding: 60px 20px;
  background: #f8fafc;
  text-align: center;
}

.test-list-section h2 {
  font-size: 32px;
  color: #1e3a8a;
  margin-bottom: 10px;
}

.test-list-section p {
  color: #555;
  margin-bottom: 30px;
}

.test-list {
  max-width: 800px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.test-item {
  background: #ffffff;
  padding: 15px 18px;
  border-radius: 10px;
  border-left: 5px solid #2563eb;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  text-align: left;
  font-size: 16px;
  transition: all 0.3s ease;
  cursor: default;
}

.test-item:hover {
  transform: translateX(6px);
  background: #eef4ff;
}
.services-wrapper {
  padding: 60px 20px;
  background: #f8fafc;
  text-align: center;
}

.section-title {
  font-size: 32px;
  color: #1e3a8a;
  margin-bottom: 20px;
}

#serviceSearch {
  width: 100%;
  max-width: 500px;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #ddd;
  margin-bottom: 30px;
  outline: none;
}

.test-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: auto;
}

.test-card {
  background: #fff;
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.05);
  transition: 0.3s ease;
  text-align: center;
}

.test-card:hover {
  transform: translateY(-5px);
  background: #eef4ff;
}

.test-card h3 {
  margin: 10px 0;
  color: #1e3a8a;
}

.test-card button {
  margin-top: 10px;
  padding: 10px;
  width: 100%;
  border: none;
  border-radius: 8px;
  background: #2563eb;
  color: white;
  cursor: pointer;
  transition: 0.3s;
}

.test-card button:hover {
  background: #1e40af;
}
.card {
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,0.9);
  padding:20px;
  border-radius:12px;
  text-align:center;
  flex: 1 1 100%;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
}


.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.card.show {
  opacity: 1;
  transform: translateY(0);
}

/* Medium screens */
@media (min-width: 600px) {
  .card {
    flex: 1 1 calc(50% - 15px);
  }
}

/* Large screens */
@media (min-width: 992px) {
  .card {
    flex: 1 1 calc(33.333% - 15px);
  }
}

/* Medium screens */

.card img {
  width: 100%;
  height: 400px; /* reduced size */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
}
.cta { text-align:center; background:#2563eb; color:#fff; padding:40px 20px; }
.team {
  padding: 50px 20px;
  text-align: center;
}

.team h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.team p {
  color: #555;
  margin-bottom: 30px;
}

.team-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.team-container img {
  width: 100%;
  max-width: 500px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.team-text {
  max-width: 500px;
  text-align: left;
}

.team-text ul {
  margin-top: 15px;
}

.team-text li {
  margin: 8px 0;
}

/* Large screens */
@media (min-width: 992px) {
  .team-container {
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }

  .team-container img {
    flex: 1;
  }

  .team-text {
    flex: 1;
  }
}
/* ===== HEADER UPGRADE ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

/* ===== NAV LINKS ===== */
nav {
  display: flex;
  gap: 25px; /* spacing between links */
  transition: all 0.3s ease;
}

nav a {
  text-decoration: none; /* remove underline */
  font-weight: 500;
  color: #1e293b;
  position: relative;
  transition: all 0.3s ease;
}

/* Hover effect */
nav a:hover {
  color: #1d4ed8;
}

/* Underline animation */
nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0%;
  height: 2px;
  background: #1d4ed8;
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}
.logo-container img {
  width: 55px;
  height: 55px;
  object-fit: contain;
  border-radius: 50%;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.5s ease;
}

.logo-container img:hover {
  transform: rotate(5deg) scale(1.1);
}

/* ===== MOBILE STYLES ===== */
@media (max-width: 768px) {

  .menu-toggle {
    display: block;
  }

  nav {
    position: absolute;
    top: 70px;
    right: 0;
    background: #ffffff;
    width: 200px;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    gap: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);

    display: none; /* hidden by default */
  }

  nav.active {
    display: flex;
  }

  nav a {
    width: 100%;
  }
}

.action-buttons {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* Buttons styling */
.btn-primary,
.btn-secondary {
  padding: 10px 14px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

/* Mobile fix */
@media (max-width: 768px) {
  .action-buttons {
    width: 100%;
    flex-direction: column;
    margin-top: 10px;
  }

  .action-buttons button {
    width: 100%;
  }
}
@media (max-width: 768px) {
  nav {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
}
.locations { text-align:center; padding:40px 20px; }
.footer {
  background: #0b0f1a;
  color: #ccc;
  padding: 50px 20px 20px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

/* BRAND */
.brand h2 {
  color: #fff;
  margin-bottom: 10px;
}

.brand p {
  font-size: 14px;
  line-height: 1.6;
}

/* HEADINGS */
.footer-col h3 {
  color: #fff;
  margin-bottom: 15px;
  font-size: 16px;
}

/* LISTS */
.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
  font-size: 14px;
}

/* LINKS */
.footer-col ul li a {
  color: #ccc;
  text-decoration: none;
  transition: 0.3s;
  position: relative;
}

/* HOVER UNDERLINE ANIMATION */
.footer-col ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0%;
  height: 2px;
  background: #6c63ff;
  transition: 0.3s;
}

.footer-col ul li a:hover {
  color: #fff;
}

.footer-col ul li a:hover::after {
  width: 100%;
}

/* CONTACT ICONS */
.contact-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* SOCIALS */
.socials {
  margin-top: 15px;
}

.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-right: 10px;
  border-radius: 50%;
  background: #1a1f2e;
  color: #fff;
  transition: 0.3s;
}

/* SOCIAL HOVER */
.socials a:hover {
  background: linear-gradient(90deg, #ff7a00, #a000ff);
  transform: translateY(-3px);
}

/* BOTTOM */
.footer-bottom {
  text-align: center;
  margin-top: 40px;
  border-top: 1px solid #222;
  padding-top: 15px;
  font-size: 13px;
  color: #777;
}

/* 📱 RESPONSIVE */
@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .footer-container {
    grid-template-columns: 1fr;
  }
}
/* HERO */
.services-hero {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
              url('../images/lab.jpeg') center/cover;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.hero-content h1 {
  font-size: 36px;
}

.hero-content p {
  margin: 10px 0 20px;
}

/* GRID */
.services-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  padding: 50px 20px;
  max-width: 1200px;
  margin: auto;
}

/* CARD */
.service-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0,0,0,0.05);
  transition: 0.3s;
}

.service-card:hover {
  transform: translateY(-8px);
}

/* IMAGE */
.service-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

/* CONTENT */
.card-content {
  padding: 20px;
  text-align: center;
}

.card-content i {
  font-size: 24px;
  color: #6c63ff;
  margin-bottom: 10px;
}

.card-content h3 {
  margin-bottom: 8px;
}

.card-content p {
  font-size: 14px;
  color: #666;
}

/* BUTTON */
.card-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 18px;
  border-radius: 25px;
  background: linear-gradient(90deg, #ff7a00, #a000ff);
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

.card-btn:hover {
  transform: scale(1.05);
}

/* CTA */
.services-cta {
  text-align: center;
  padding: 60px 20px;
  background: #f7f7f7;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .services-section {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .services-section {
    grid-template-columns: 1fr;
  }
}