/* =========================
   Global Styles & Variables
========================= */
:root {
  --dark-blue: #003B71;
  --accent-blue: #00AEEF;
  --green: #66BB6A;
  --muted: #f5f7fb;
  --container: 1200px;
  --radius: 14px;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Poppins', sans-serif;
  color: #173248;
  background: var(--muted);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: var(--dark-blue);
  transition: all .3s ease;
}

a:hover {
  color: var(--accent-blue);
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3, h4 {
  color: var(--dark-blue);
  font-weight: 700;
  line-height: 1.2;
}

.section {
  padding: 70px 0;
  position: relative;
}

.section-title {
  font-size: 32px;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: var(--accent-blue);
  margin: 12px auto 0;
  border-radius: 3px;
}

/* =========================
   Header
========================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  z-index: 1000;
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
}

.brand img {
  height: 80px;
  width: 200px;
 
}

.main-nav {
  display: flex;
  gap: 16px;
}

.main-nav a {
  padding: 8px 14px;
  border-radius: var(--radius);
  font-weight: 600;
}

.main-nav a:hover {
  background: linear-gradient(90deg, var(--accent-blue), var(--green));
  color: #fff;
}
.qr-box {
  display: flex;
  flex-wrap: wrap;        /* line break allow karega */
  justify-content: center; /* center align */
  gap: 15px;              /* spacing between QR images */
  margin-top: 10px;
}

.qr-box img.qr {
  max-width: 120px;   /* desktop size */
  height: 120px !important;
  border-radius: 10px; /* optional styling */
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: transform 0.3s;
}

.qr-box img.qr:hover {
  transform: scale(1.05);
}

/* ✅ Responsive: smaller QR on phones */
@media (max-width: 768px) {
  .qr-box img.qr {
    max-width: 90px;
  }
  .brand img {
  height: 50px;
  width: 100px;
 
}
}
@media (max-width: 768px) {
.hero-controls{
display: none !important;
}
}


@media (max-width: 480px) {
  .qr-box img.qr {
    max-width: 70px;
  }
}

.mobile-toggle {
  display: none;
  font-size: 20px;
    cursor: pointer;
    color: white;
    background: #0176bc;
    border: none;
    padding: 10px;
    border-radius: 100px;
    width: 47px;
}

.spacer {
  height: 72px;
}

/* =========================
   Hero
========================= */
/* Slideshow container */
.slideshow-container {
  position: relative;
  margin: auto;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.mySlides {
  display: none;
}

.mySlides img {
  width: 100%;
  height: auto;
  border-radius: 0;
}

/* Fade animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: 0.4;}
  to {opacity: 1;}
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  padding: 12px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 24px;
  border-radius: 50%;
  user-select: none;
  background: rgba(0,0,0,0.5);
  transition: 0.3s;
}

.next { right: 10px; }
.prev { left: 10px; }

.prev:hover, .next:hover {
  background: rgba(0,0,0,0.8);
}

/* Dots */
.dot {
  height: 12px;
  width: 12px;
  margin: 0 3px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: 0.6s;
  cursor: pointer;
}
.active, .dot:hover {
  background-color: #717171;
}
/* =========================
   About
========================= */
.grid.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}

.about-image img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.mySlides img {
  width: 100%;
  height: 90vh;          /* Desktop par fixed height */
  object-fit: contain;     /* Image zoom hogi but cut ho kar proper fit hogi */
  border-radius: 0;
}
/* =========================
   Services
========================= */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.service-card {
  perspective: 1000px;
}

.service-inner {
  position: relative;
  width: 100%;
  height: 200px;
  transform-style: preserve-3d;
  transition: transform 0.8s;
}

.service-card:hover .service-inner {
  transform: rotateY(180deg);
}

.service-front, .service-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 15px;
  color: #fff;
}

.service-front {
  background: white;
}

.service-front .icon {
  font-size: 40px;
  margin-bottom: 10px;
}

.service-back {
  background: #0096c7;
  transform: rotateY(180deg);
  text-align: center;
}

/* =========================
   Tests / Packages
========================= */
.tests-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.test-card {
  background: #fff;
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: all .3s ease;
}

.test-card:hover {
  transform: translateY(-5px);
}

/* =========================
   Offers
========================= */
.offer-card {
  background: linear-gradient(90deg, #fff, #f7fff7);
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.offer-mini {
  background: #fff;
  padding: 16px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
}

/* =========================
   Gallery
========================= */
/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px;
}
.gallery-item {
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s;
  height: 200px;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.gallery-item:hover img {
  transform: scale(1.1);
}

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 1000;
}
.lightbox.active {
  opacity: 1;
  visibility: visible;
}
.lb-inner img {
  max-width: 90%;
  max-height: 80vh;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0,0,0,0.6);
}

/* Controls */
.lb-close {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 35px;
  color: #fff;
  cursor: pointer;
  transition: 0.3s;
}
.lb-close:hover {
  color: #ff4b4b;
}

.lb-prev, .lb-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.2);
  border: none;
  font-size: 40px;
  color: #fff;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.3s;
}
.lb-prev:hover, .lb-next:hover {
  background: rgba(255,255,255,0.5);
}
.lb-prev { left: 30px; }
.lb-next { right: 30px; }

@media(max-width:768px) {
  .lb-prev, .lb-next {
    font-size: 28px;
    padding: 8px 12px;
  }
  .lb-close {
    font-size: 28px;
  }
  .mySlides img {
  width: 100%;
  height: auto;
  border-radius: 0;
  
}
.mySlides img {
  width: 100%;
  height: 28vh;          /* Desktop par fixed height */
  object-fit: cover !important;     /* Image zoom hogi but cut ho kar proper fit hogi */
  border-radius: 0;
}
.slideshow-container{
    margin-top:60px !important;
}
.mySlides img {
  width: 100%;
  height: 28vh;          /* Desktop par fixed height */
  object-fit: contain !important;     /* Image zoom hogi but cut ho kar proper fit hogi */
  border-radius: 0;
}
}
@media(max-width:1024px) {
    
}
/* =========================
   Testimonials
========================= */
 .testi-title {
      font-size: 2rem;
      text-align: center;
      margin-bottom: 40px;
      color: #111;
    }

    .testi-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 25px;
    }

    .testi-card {
      background: #fff;
      border-radius: 15px;
      padding: 25px 25px 30px;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      position: relative;
    }

    .testi-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
    }

    .testi-card p {
      font-size: 1rem;
      color: #444;
      line-height: 1.6;
      margin-bottom: 20px;
      position: relative;
    }

    /* Stylish quotes */
    .testi-card p::before {
      content: "“";
      font-size: 50px;
      font-weight: bold;
      color: rgba(59, 130, 246, 0.85); /* nice blue shade */
      margin-right: 8px;
      vertical-align: top;
      line-height: 0.6;
      font-family: Georgia, serif;
    }

    .testi-card p::after {
      content: "”";
      font-size: 50px;
      font-weight: bold;
      color: rgba(59, 130, 246, 0.85);
      margin-left: 8px;
      vertical-align: bottom;
      line-height: 0.6;
      font-family: Georgia, serif;
    }

    .testi-meta {
      margin-top: 10px;
      font-size: 0.9rem;
      color: #333;
    }

    .testi-meta strong {
      display: block;
      margin-bottom: 5px;
      font-size: 1rem;
      color: #111;
    }

    .stars {
      color: #fbbf24;
      font-size: 1.1rem;
    }

    /* Responsive text adjustment */
    @media (max-width: 600px) {
      .testi-title {
        font-size: 1.6rem;
      }
      .testi-card {
        padding: 20px 15px;
      }
      .testi-card p::before,
      .testi-card p::after {
        font-size: 36px; /* smaller on mobile */
      }
    }

/* =========================
   Enquiry Form
========================= */
.enquiry-form {
  background: #fff;
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.field {
  display: flex;
  flex-direction: column;
  margin-bottom: 12px;
}

label {
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--dark-blue);
}

input, select, textarea {
  padding: 12px;
  border-radius: var(--radius);
  border: 1px solid #ddd;
}

textarea {
  min-height: 120px;
}

/* =========================
   Contact
========================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 20px;
}

.contact-card {
  background: #fff;
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* =========================
   Footer
========================= */
.site-footer {
  background: var(--dark-blue);
  color: #fff;
  padding: 20px;
  text-align: center;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* =========================
   Floating Buttons
========================= */
.whatsapp-float, .top-float {
  position: fixed;
  right: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
  z-index: 1000;
}
.phone-float, .top-float {
  position: fixed;
  right: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
  z-index: 1000;
}
.whatsapp-float {
  bottom: 80px;
  background: #25D366;
}
.phone-float{
    bottom: 20px;
  background: red;
}
.top-float {
  bottom: 140px;
  background: var(--accent-blue);
}

/* =========================
   Responsive
========================= */
@media (max-width: 900px) {
  .grid.two-col {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .hero-content h1 {
    font-size: 28px;
  }
  .gallery-item img {
    height: 140px;
  }
}
/* Section Base */
.tests-section {
  padding: 60px 20px;
  background: linear-gradient(135deg, #f0f7ff, #e6f3ff);
  font-family: "Poppins", sans-serif;
  text-align: center;
}

.tests-section .container {
  max-width: 1200px;
  margin: auto;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a365d;
  margin-bottom: 10px;
  animation: fadeInDown 1s ease-in-out;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 40px;
  animation: fadeIn 1.5s ease-in-out;
}

/* Grid Layout */
.tests-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

/* Cards */
.test-card {
  background: #fff;
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  text-align: left;
  animation: fadeInUp 1.2s ease-in-out;
  position: relative;
  overflow: hidden;
}

.test-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

/* Card Header */
.card-header h3 {
  font-size: 1.4rem;
  color: #0066cc;
  margin-bottom: 15px;
  border-left: 5px solid #0066cc;
  padding-left: 10px;
}

/* List Styling */
.test-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.test-card ul li {
  padding: 8px 0;
  font-size: 0.95rem;
  color: #333;
  border-bottom: 1px dashed #eee;
  transition: color 0.3s;
}

.test-card ul li:hover {
  color: #0066cc;
}

/* Note */
.note {
  margin-top: 40px;
  font-size: 1rem;
  color: #333;
}
.note span {
  color: #0066cc;
  font-weight: 600;
}

/* Animations */
@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}
@keyframes fadeInDown {
  from {opacity: 0; transform: translateY(-20px);}
  to {opacity: 1; transform: translateY(0);}
}
@keyframes fadeInUp {
  from {opacity: 0; transform: translateY(20px);}
  to {opacity: 1; transform: translateY(0);}
}

/* Responsive */
@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
  .test-card {
    padding: 20px;
  }
  .test-card ul li {
    font-size: 0.9rem;
  }
}
/* Section Base */
.offers-section {
  padding: 60px 20px;
  background: linear-gradient(135deg, #fdfbfb, #ebedee);
  font-family: "Poppins", sans-serif;
  text-align: center;
}

.offers-section .container {
  max-width: 1200px;
  margin: auto;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a365d;
  margin-bottom: 10px;
  animation: fadeInDown 1s ease-in-out;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 40px;
  animation: fadeIn 1.5s ease-in-out;
}

/* Main Offer Card */
.offer-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  margin-bottom: 40px;
  text-align: left;
  animation: fadeInUp 1.2s ease-in-out;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.offer-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.offer-card h4 {
  font-size: 1.3rem;
  margin: 15px 0 10px;
  color: #0066cc;
}

.offer-card p {
  font-size: 1rem;
  color: #333;
  margin: 8px 0;
}

.offer-card .contact span {
  font-weight: bold;
  color: #d63384;
}

/* Mini Offers Grid */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.offer-mini {
  background: #f9fcff;
  border-radius: 14px;
  padding: 25px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  animation: fadeInUp 1.5s ease-in-out;
}

.offer-mini:hover {
  background: #ffffff;
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.offer-mini h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #1a365d;
}

.offer-mini p {
  font-size: 0.95rem;
  color: #555;
}

/* Animations */
@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}
@keyframes fadeInDown {
  from {opacity: 0; transform: translateY(-20px);}
  to {opacity: 1; transform: translateY(0);}
}
@keyframes fadeInUp {
  from {opacity: 0; transform: translateY(20px);}
  to {opacity: 1; transform: translateY(0);}
}

/* Responsive */
@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
  .offer-card {
    padding: 20px;
  }
  .offer-mini {
    padding: 20px;
  }
}
/* Section Base */
.gallery-section {
  padding: 60px 20px;
  background: linear-gradient(135deg, #f9fbfd, #eef5ff);
  font-family: "Poppins", sans-serif;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a365d;
  margin-bottom: 10px;
  animation: fadeInDown 1s ease-in-out;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 40px;
  animation: fadeIn 1.2s ease-in-out;
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  animation: fadeInUp 1.5s ease-in-out;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

/* Hover Effect */
.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}

.gallery-item:hover img {
  transform: scale(1.1);
}
/* Lightbox Popup */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(0,0,0,0.9);
  text-align: center;
}
.lightbox-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80vh;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(255,255,255,0.2);
  animation: zoom 0.3s ease;
}
@keyframes zoom {
  from {transform: scale(0.7);}
  to {transform: scale(1);}
}
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}
.close:hover {
  color: #ccc;
}
/* Animations */
@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}
@keyframes fadeInDown {
  from {opacity: 0; transform: translateY(-20px);}
  to {opacity: 1; transform: translateY(0);}
}
@keyframes fadeInUp {
  from {opacity: 0; transform: translateY(20px);}
  to {opacity: 1; transform: translateY(0);}
}

/* Responsive */
@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
  .gallery-grid {
    gap: 15px;
  }
}


.testi-title {
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 50px;
  color: #111827;
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}


.enquiry-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, #f9fafb, #eef2ff);
  display: flex;
  justify-content: center;
}

.enquiry-section .container {
  width: 100%;
  background: #fff;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  animation: fadeInUp 1s ease;
}

.form-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 30px;
  color: #1f2937;
  font-weight: bold;
}

.enquiry-form .row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

.enquiry-form .field {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 220px; /* ensures fields shrink nicely */
}

.enquiry-form .field.full {
  flex: 100%;
}

.enquiry-form label {
  font-weight: 600;
  margin-bottom: 6px;
  color: #374151;
}

.enquiry-form input,
.enquiry-form select,
.enquiry-form textarea {
  padding: 12px 14px;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: #f9fafb;
  width: 100%; /* full width */
  box-sizing: border-box;
}

.enquiry-form input:focus,
.enquiry-form select:focus,
.enquiry-form textarea:focus {
  border-color: #6366f1;
  background: #fff;
  box-shadow: 0 0 8px rgba(99, 102, 241, 0.3);
  outline: none;
}

.enquiry-form textarea {
  resize: vertical;
  min-height: 100px;
}

.error {
  color: #ef4444;
  font-size: 0.85rem;
  margin-top: 4px;
}

.actions {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap; /* buttons wrap on small screens */
}

.btn {
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn.primary {
  background: #6366f1;
  color: #fff;
}

.btn.primary:hover {
  background: #4f46e5;
  transform: translateY(-2px);
}

.btn.ghost {
  background: #f3f4f6;
  color: #374151;
}

.btn.ghost:hover {
  background: #e5e7eb;
  transform: translateY(-2px);
}

.form-note {
  margin-top: 20px;
  font-size: 0.9rem;
  text-align: center;
  color: #6b7280;
}

.form-note a {
  color: #2563eb;
  font-weight: 600;
  text-decoration: none;
}

.form-note a:hover {
  text-decoration: underline;
}

/* Animation */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 1024px) {
  .enquiry-section {
    padding: 60px 15px;
  }
}

@media (max-width: 768px) {
  .enquiry-form .row {
    flex-direction: column;
    gap: 15px;
  }

  .enquiry-section .container {
    padding: 30px 20px;
  }

  .form-title {
    font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
  .btn {
    width: 100%; /* buttons full width on small screens */
    text-align: center;
  }
}
.contact-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, #f9fafb, #eef2ff);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: auto;
}

.contact-card {
  background: #fff;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.12);
}

.contact-card h3 {
  font-size: 1.6rem;
  margin-bottom: 15px;
  color: #1f2937;
}

.contact-card p {
  margin-bottom: 12px;
  line-height: 1.6;
  color: #374151;
}

.contact-card a {
  color: #6366f1;
  text-decoration: none;
  font-weight: 600;
}

.contact-card a:hover {
  text-decoration: underline;
}

.map-link {
  display: inline-block;
  margin-left: 6px;
  font-size: 0.9rem;
  color: #2563eb;
}

.socials {
  margin-top: 20px;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.socials a {
  background: #f3f4f6;
  padding: 8px 14px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.socials a:hover {
  background: #6366f1;
  color: #fff;
}

.qr-box {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px;
  background: #f9fafb;
  border-radius: 16px;
}

.qr {
  max-width: 180px;
  border-radius: 12px;
  transition: transform 0.3s ease;
  height: 150px;
}

.qr:hover {
  transform: scale(1.05);
}

/* Animations */
.animate {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s forwards;
}

.animate.delay {
  animation-delay: 0.3s;
}

@keyframes fadeInUp {
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
  .contact-section {
    padding: 50px 15px;
  }
  .contact-card {
    padding: 20px;
  }
  .contact-card h3 {
    font-size: 1.3rem;
  }
}
/* Section */
.tests-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, #eef2ff, #f9fafb);
}

.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 40px;
  animation: fadeInDown 0.8s ease;
}

/* Grid Layout */
.tests-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

/* Card */
.test-card {
  background: #fff;
  padding: 30px 20px;
  text-align: center;
  border-radius: 18px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  cursor: pointer;
  animation: fadeInUp 0.8s ease;
}

.test-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.12);
}

.test-card .icon {
  font-size: 40px;
  margin-bottom: 15px;
}

.test-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #111827;
}

.test-card p {
  font-size: 0.95rem;
  color: #6b7280;
}

.icon.whatsapp { color: #25d366; }
.icon.phone { color: #2563eb; }
.icon.book { color: #f59e0b; }

/* Modal */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(3px);
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.5s ease;
}

.modal-content {
  background: #fff;
  padding: 30px;
  border-radius: 20px;
  max-width: 600px;
  width: 95%;
  animation: slideUp 0.6s ease;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.close {
  font-size: 24px;
  float: right;
  cursor: pointer;
  color: #374151;
}

.close:hover { color: #ef4444; }

/* Form */
.enquiry-form .row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 18px;
}

.enquiry-form .field {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.enquiry-form .field.full { flex: 100%; }

.enquiry-form label {
  font-weight: 600;
  margin-bottom: 6px;
  color: #374151;
}

.enquiry-form input,
.enquiry-form select {
  padding: 12px 14px;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  font-size: 1rem;
  background: #f9fafb;
  transition: all 0.3s ease;
}

.enquiry-form input:focus,
.enquiry-form select:focus {
  border-color: #6366f1;
  background: #fff;
  box-shadow: 0 0 8px rgba(99,102,241,0.3);
  outline: none;
}

.actions {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.btn {
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

.btn.primary {
  background: #6366f1;
  color: #fff;
}
.btn.primary:hover { background: #4f46e5; transform: translateY(-2px); }

.btn.ghost {
  background: #f3f4f6;
  color: #374151;
}
.btn.ghost:hover { background: #e5e7eb; transform: translateY(-2px); }

.form-note {
  margin-top: 15px;
  font-size: 0.9rem;
  text-align: center;
  color: #6b7280;
}

.form-note a {
  color: #2563eb;
  font-weight: 600;
  text-decoration: none;
}
.form-note a:hover { text-decoration: underline; }

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(25px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slideUp {
  from { transform: translateY(60px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Responsive */
@media (max-width: 600px) {
  .enquiry-form .row { flex-direction: column; }
  .test-card { padding: 20px; }
}
/* Container */
.about-section {
  padding: 20px 20px;
  background: linear-gradient(to bottom right, #f9f9f9, #eef3f8);
}
.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  max-width: 1200px;
  margin: auto;
}

/* Image */
.about-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.about-image img:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}

/* Text */
.about-text h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: #222;
}
.about-text h2 span {
  color: #0077cc;
}
.about-text p {
  margin-bottom: 15px;
  line-height: 1.7;
  color: #444;
  font-size: 1rem;
}

/* Animation Styles */
[data-animate] {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}
[data-animate].active {
  opacity: 1;
  transform: translateY(0);
}
[data-animate="fade-left"] {
  transform: translateX(60px);
}
[data-animate="fade-left"].active {
  transform: translateX(0);
}
[data-animate="fade-right"] {
  transform: translateX(-60px);
}
[data-animate="fade-right"].active {
  transform: translateX(0);
}

/* Responsive */
@media (max-width: 900px) {
  .about-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .about-image {
    order: -1;
  }
}
#imgimg{
    height: 430px;
}
@media(max-width: 768px) {
  #imgimg{
    height: 250px;
  }
}
.why-choose-section {
  padding: 80px 20px;
  background: #f9fafb;
  text-align: center;
}

.why-choose-section .section-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #222;
}

.why-choose-section .section-title span {
  color: #0077ff;
}

.why-choose-section .section-subtitle {
  font-size: 1rem;
  color: #555;
  margin-bottom: 50px;
}

.choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 25px;
}

.choose-card {
  background: #fff;
  padding: 25px 20px;
  border-radius: 16px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  cursor: default;
}

.choose-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 22px rgba(0,0,0,0.12);
}

.choose-card .icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 15px;
}

.choose-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
}


/* Logo */
.popup-logo {
  width: 120px;
  margin-bottom: 15px;
}


/* Animations */
@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

@keyframes slideUp {
  from {transform: translateY(40px); opacity: 0;}
  to {transform: translateY(0); opacity: 1;}
}
  .popup-overlay {
    position: fixed;
    top:0; left:0; right:0; bottom:0;
    background: rgba(0,0,0,0.7);
    display: none;  /* default hidden */
    justify-content: center;
    align-items: center;
    z-index:1000;
  }
  .popup-content {
    background:#fff;
    padding:30px;
    border-radius:12px;
    text-align:center;
    max-width:400px;
    width: calc(100% - 40px);
    box-shadow:0 6px 20px rgba(0,0,0,0.2);
  }
  .popup-content h2 {
    color: #28a745;
    margin-bottom:10px;
  }
  .popup-content button {
    margin-top:15px;
    padding:8px 20px;
    border:none;
    background:#007bff;
    color:#fff;
    border-radius:8px;
    cursor:pointer;
  }

  .error {
    color: #d00000;
    font-size: 13px;
    margin-top: 4px;
    display: block;
  }
  .error:empty { display: none; } /* khali error text ko hide rakhe */
  .field input.invalid,
  .field select.invalid,
  .field textarea.invalid {
    border-color: #d00000;
    outline: none;
  }