/* =========================================================
   Global Styles & Reset
========================================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  max-width: 100%;
  overflow-x: hidden;
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: #333;
  background: #f9f9f9;
}

a {
  text-decoration: none;
}

h2 {
  font-size: 2rem;
  color: #02c39a;
  margin-bottom: 30px;
  text-align: center;
}

/* ==============================
Sidebar container
============================== */
.social-sidebar {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 999;
}

/* Each social brick */
.social-brick {
  width: 45px;
  height: 45px;
  background: #02c39a;  /* Your brand color */
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 8px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.2);
  transition: background 0.3s ease, transform 0.2s ease;
  font-size: 18px;
}

/* Hover effect */
.social-brick:hover {
  background: #64e5cd;
  transform: scale(1.1);
}

/* ==============================
 Tablet Responsiveness (768px–1024px)
============================== */
@media (min-width: 768px) and (max-width: 1024px) {
  .social-sidebar {
    right: 10px;         /* Add some spacing */
    top: auto;
    bottom: 20px;        /* Move to bottom for tablets */
    transform: none;     /* Reset centering */
    flex-direction: row; /* Horizontal row */
    gap: 12px;
  }

  .social-brick {
    width: 50px;
    height: 50px;
    font-size: 20px;
    border-radius: 50%; /* Round icons on tablet */
  }
}

/* Mobile view (hide sidebar) */
@media (max-width: 576px) {
  .social-sidebar {
    display: none;
  }
}


/* ===========================================
      wave bottom css
===========================================*/

.wave-section {
  position: relative;
  height: 300px;
  /* adjust height */
  background: #fff;
  overflow: hidden;
}

.wave-section svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Floating WhatsApp Icon */
.whatsapp-float {
  position: fixed;
  left: 20px;       /* Left side */
  bottom: 20px;     /* Bottom spacing */
  z-index: 9999;
  display: block;
  cursor: pointer;
  transition: transform 0.3s;
}

.whatsapp-float img {
  width: 60px;      /* Icon size */
  height: 60px;
}

.whatsapp-float:hover {
  transform: scale(1.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .whatsapp-float img {
    width: 50px;
    height: 50px;
  }
}
@media (max-width: 480px) {
  .whatsapp-float {
    left: 15px;
    bottom: 15px;
  }
  .whatsapp-float img {
    width: 52px;
    height: 71px;
}
}
/* ===========================================
   Pop Up Form
=========================================== */

/* Overlay with Blur */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(6px);
  background: rgba(0, 0, 0, 0.4);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1500;
  padding: 20px; /* ✅ adds breathing room on small screens */
}

/* Popup Box */
.popup-content {
  background: #fff;
  padding: 30px 25px;
  border-radius: 14px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
  text-align: center;
  animation: popupScale 0.3s ease;
  position: relative;
}

/* Heading */
.popup-content h2 {
  margin-bottom: 20px;
  font-size: 1.6rem;
  font-weight: 700;
  color: #0072ff;
}

/* Close Button */
.close-btn {
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 28px;
  color: #666;
  cursor: pointer;
  transition: 0.3s;
}
.close-btn:hover {
  color: #000;
}

/* Form Fields */
.form-group {
  margin-bottom: 15px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: #0072ff;
  outline: none;
  box-shadow: 0 0 8px rgba(0, 114, 255, 0.2);
}

/* Submit Button */
.btn-submit {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  background: linear-gradient(135deg, #02c39a, #0072ff);
  color: #fff;
  cursor: pointer;
  transition: 0.3s;
}
.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 114, 255, 0.3);
}

/* Popup Animation */
@keyframes popupScale {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* ===========================================
   Responsive Styling
=========================================== */

/* Tablet (up to 1024px) */
@media (max-width: 1024px) {
  .popup-content {
    max-width: 500px;   /* ✅ a bit wider for tablets */
    padding: 25px 20px;
  }
  .popup-content h2 {
    font-size: 1.4rem;
  }
}

/* Mobile (up to 768px) */
@media (max-width: 768px) {
  .popup-content {
    max-width: 90%;     /* ✅ fits screen nicely */
    padding: 20px 18px;
  }
  .popup-content h2 {
    font-size: 1.2rem;
  }
  .form-group input,
  .form-group textarea,
  .form-group select {
    font-size: 0.9rem;
    padding: 10px 12px;
  }
  .btn-submit {
    font-size: 0.95rem;
    padding: 10px;
  }
}

/* Small Phones (up to 480px) */
@media (max-width: 480px) {
  .popup-overlay {
    padding: 10px; /* ✅ ensures popup doesn’t touch screen edges */
  }
  .popup-content {
    width: 100%;
    max-width: 100%;
    padding: 18px 15px;
    border-radius: 10px;
  }
  .popup-content h2 {
    font-size: 1rem;
  }
  .close-btn {
    font-size: 22px;
    top: 8px;
    right: 12px;
  }
  .btn-submit {
    font-size: 0.9rem;
    padding: 9px;
  }
}


/* =============================================
   Top Bar
================================================= */
.topbar {
  display: flex;
  justify-content: flex-end;
  /* align right */
  padding: 6px 20px;
  background: #fff;
  border-bottom: 1px solid #ddd;
  font-family: Arial, sans-serif;
}

.topbar-inner {
  margin-right: 116px;
  display: flex;
  gap: 10px;
}

/* ============================
   Tablet Responsive (768px–1024px only)
=============================== */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .topbar-inner {
    margin-right: 0;
    justify-content: center;
    width: 100%;
  }

  .topbar {
    justify-content: center;
  }
}

@media screen and (max-width: 768px) {
  /* Hide phone/email */
  .topbar-box {
    display: none !important;
  }

  /* Force center alignment */
  .topbar {
    justify-content: center !important;
  }

  .topbar-inner {
    margin: 0 auto;
    justify-content: center !important;
    width: 100%;
  }

  /* Keep only translator visible */
  .translate-box {
    display: inline-flex !important;
    margin: 0 auto; /* ensures horizontal centering */
  }
}


/* ===== Box style (compact height) ===== */
.topbar-box {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  /* equal width */
  height: 28px;
  /* fixed smaller height */
  border: 1px solid #05668d;
  border-radius: 6px;
  font-size: 12px;
  /* slightly smaller font */
  color: #05668d;
  text-decoration: none;
  font-weight: 500;
  line-height: 1;
  transition: 0.3s;
  padding: 0 8px;
  /* slim horizontal padding */
}

.topbar-box i {
  margin-right: 5px;
  font-size: 12px;
}

/* Hover effect */
.topbar-box:hover {
  background: #05668d;
  color: #fff;
}

/* ===== Language Switcher (Standalone Styling) ===== */
.translate-box {
  padding: 4px 10px;
  border: 1px solid #05668d;
  border-radius: 6px;
  background: #f8f9fa; /* light background */
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
}

/* Make dropdown unique */
.translate-box select.lang-select {
  border: none;
  background: transparent;
  font-size: 13px;
  color: #05668d;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  padding: 4px 6px;
  appearance: none; /* remove default arrow */
}

/* Custom arrow */
.translate-box::after {
  content: "▼";
  font-size: 10px;
  color: #05668d;
  margin-left: 6px;
  pointer-events: none;
}

/* Hover effect – different from top bar */
.translate-box:hover {
  background: #05668d;
  border-color: #05668d;
}

.translate-box:hover select.lang-select {
  color: #fff;
}

.translate-box:hover::after {
  color: #fff;
}

/* Flags inside options */
.lang-select option {
  background-repeat: no-repeat;
  background-position: 6px center;
  background-size: 16px auto;
  padding-left: 28px;
  color: #000; /* force visible text */
}

/* Individual country flags */
.lang-select option[value="en"] { background-image: url('https://flagcdn.com/gb.svg'); }
.lang-select option[value="fr"] { background-image: url('https://flagcdn.com/fr.svg'); }
.lang-select option[value="ar"] { background-image: url('https://flagcdn.com/sa.svg'); }
.lang-select option[value="ru"] { background-image: url('https://flagcdn.com/ru.svg'); }
.lang-select option[value="bn"] { background-image: url('https://flagcdn.com/bd.svg'); }
.lang-select option[value="ha"] { background-image: url('https://flagcdn.com/ng.svg'); }
.lang-select option[value="hi"] { background-image: url('https://flagcdn.com/in.svg'); }
.lang-select option[value="ro"] { background-image: url('https://flagcdn.com/ro.svg'); }
.lang-select option[value="es"] { background-image: url('https://flagcdn.com/es.svg'); }
.lang-select option[value="nl"] { background-image: url('https://flagcdn.com/nl.svg'); }
.lang-select option[value="pt"] { background-image: url('https://flagcdn.com/pt.svg'); }


/* =========================================================
   Navbar (base)
========================================================= */
.header-wrapper {
  position: sticky;
  top: 0;
  z-index: 1100;
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  padding: 15px 40px;
  border-radius: 0 0 16px 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  z-index: 2000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

/* ===== Logo Styling ===== */
.logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  max-height: 70px;
  padding: 6px 0;
}

.logo img {
  margin-left: 119px;
  height: auto;
  max-height: 38px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* Nav Links (desktop) */
.nav-links {
  margin-right: 102px;
  margin-top: 10px;
  display: flex;
  gap: 12px;
  list-style: none;
}

.nav-links li {
  position: relative;
  padding-right: 15px;
}

.nav-links li a {
  color: #05668d;
  font-weight: 500;
  font-size: 1rem;
  padding: 6px 0;
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}

/* Hover underline */
.nav-links li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: linear-gradient(135deg, #02c39a, #0072ff);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
  width: 100%;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: #02c39a;
}

/* Contact Us Button (desktop) */
.contact-btn {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(135deg, #02c39a, #0072ff);
  color: #fff;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  margin-left: 20px;
}

.contact-btn:hover {
  background: linear-gradient(135deg, #0072ff, #02c39a);
  transform: scale(1.05);
}

/* =========================================================
   Hamburger Menu Styling
========================================================= */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 20px;
  cursor: pointer;
  z-index: 1200;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: #05668d;
  border-radius: 3px;
  transition: all 0.4s ease;
}

/* Animate hamburger → X */
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* =========================================================
   Overlay
========================================================= */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease;
  z-index: 1000;
}
.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* =========================================================
   Responsive Navbar (Tablet + Mobile)
========================================================= */
@media (max-width: 1024px) {
  .navbar {
    padding: 15px 20px;
  }

  .logo img {
    margin-left: 0;
    max-height: 32px;
  }

  /* Hide desktop nav links */
  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    position: fixed;
    top: 0;
    left: -100%;
    height: 100vh;
    width: 70%;
    max-width: 300px;
    background: #fff;
    padding: 40px 25px;
    box-shadow: 4px 0 20px rgba(0,0,0,0.15);
    transition: left 0.4s ease;
    z-index: 1100;
    gap: 14px;
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links li {
    width: 100%;
    text-align: left;
  }

  .nav-links li a {
    font-size: 1.05rem;
    font-weight: 500;
    color: #05668d;
    opacity: 0;
    transform: translateX(-15px);
    transition: all 0.35s ease;
    padding: 10px 0;
    display: block;
  }

  .nav-links li a:hover {
    color: #02c39a;
    background: rgba(2,195,154,0.08);
  }

  .nav-links.active li a {
    opacity: 1;
    transform: translateX(0);
  }

  .nav-links.active li:nth-child(2) a { transition-delay: 0.1s; }
  .nav-links.active li:nth-child(3) a { transition-delay: 0.2s; }
  .nav-links.active li:nth-child(4) a { transition-delay: 0.3s; }
  .nav-links.active li:nth-child(5) a { transition-delay: 0.4s; }
  .nav-links.active li:nth-child(6) a { transition-delay: 0.5s; }
  .nav-links.active li:nth-child(7) a { transition-delay: 0.6s; }

  /* Mobile Logo inside menu */
  .mobile-logo {
    display: block;
    text-align: center;
    margin-bottom: 20px;
  }
  .mobile-logo img {
    max-height: 40px;
    margin: 0 auto;
    display: block;
  }

  /* Contact Us button inside menu */
  .mobile-contact {
    margin-top: 20px;
    text-align: left;
    width: 100%;
  }
  .mobile-contact .contact-btn {
    padding: 12px 22px;
    font-size: 1rem;
    display: inline-block;
    margin-left: 0;
  }

  /* Show hamburger */
  .menu-toggle {
    display: flex;
  }
}

/* Hide mobile-only items on desktop */
@media (min-width: 1025px) {
  .mobile-logo,
  .mobile-contact {
    display: none;
  }
}



/* =========================================================
   Hero Section
========================================================= */

.hero {
  position: relative;
  background: url('images/healish-health-banner.jpg') center/cover no-repeat;
  color: #fff;
  min-height: 77vh;
  display: flex;
  align-items: center;
  padding: 100px 20px;
  overflow: hidden;
  z-index: 1;
}

/* === Overlay Layer === */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55); /* darker overlay for clarity */
  z-index: 1;
}
.hero-container {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1250px;
  margin: auto;
  gap: 60px;
  flex-wrap: wrap;
}

/* ========================
   Text Section (Left)
======================== */
.hero-text {
  flex: 1;
  max-width: 812px;
}

.hero-text h1 {
  margin-top: 60px;
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 38px;
}

.hero-text h1 span {
  background: linear-gradient(135deg, #02c39a, #00a8ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-text p {
  margin: 15px 0 30px;
  font-size: 1.2rem;
  color: #f1f1f1;
  line-height: 1.6;
}

/* CTA Button - only inside Hero */
.hero .btn-primary {
  margin-bottom: 29px;
  margin-top: 0px;
  background: linear-gradient(135deg, #02c39a, #00a8ff);
  padding: 14px 28px;
  color: #fff;
  border-radius: 40px;
  font-weight: 700;
  font-size: 1rem;
  /* box-shadow: 0 6px 18px rgba(2, 195, 154, 0.4); */
  transition: all 0.3s ease;
  display: inline-block;
}

.hero .btn-primary:hover {
  background: linear-gradient(135deg, #029e7f, #0072ff);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 114, 255, 0.4);
}

/* ========================
   Floating Form Box (Right)
======================== */
.hero-form-box {
  margin-left: 307px;
  margin-top: 0;
  flex: 0 0 380px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  position: relative;
}

.hero-form-box h3 {
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
  color: #fff;
}

.hero-form-box form {
  display: flex;
  flex-direction: column;
}

.hero-form-box input,
.hero-form-box button {
  width: 100%;
  padding: 14px;
  margin-bottom: 14px;
  border: none;
  border-radius: 10px;
}

.hero-form-box input {
  background: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  color: #000;
}

.hero-form-box button {
  background: linear-gradient(135deg, #02c39a, #0072ff);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
}

.hero-form-box button:hover {
  background: linear-gradient(135deg, #029e7f, #0060d4);
  transform: translateY(-2px);
}

/* Responsive Hero Section */
@media (max-width: 1024px) {
  .hero-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-text h1 {
    font-size: 2.8rem;
    margin-top: 30px;
  }

  .hero-text p {
    font-size: 1.1rem;
  }

  .hero-form-box {
    margin-left: 0;
    margin-top: 0;
    flex: 0 0 auto;
    width: 90%;
    max-width: 400px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 80px 15px;
    min-height: 60vh;
  }

  .hero-text h1 {
    font-size: 2.2rem;
    margin-bottom: 20px;
  }

  .hero-text p {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .hero .btn-primary {
    display: none;
  }

  .hero-form-box {
    padding: 25px;
  }
}


/* =========================================================
   Healism Health Marquee (Looping)
========================================================= */

.healism-marquee {
  /* height: 108%; */
  margin-top: 0px;
  margin-bottom: 0px;
  width: 100%;
  overflow: hidden;
  background: #fff;
  padding: 12px 0;
  color: #000000;
  font-weight: 800;
  position: relative;
}

.healism-marquee-content {
  display: inline-block;
  white-space: nowrap;
  animation: healismScroll 30s linear infinite;
  /* ✅ infinite loop */
  font-size: 1.1rem;
  letter-spacing: 1px;
}

.healism-marquee-content span {
  margin-right: 50px;
  /* spacing between repetitions */
}

/* Keyframes only for Healism marquee */
@keyframes healismScroll {
  from {
    transform: translateX(100%);
  }

  to {
    transform: translateX(-100%);
  }
}

/* Responsive Healism Marquee */
@media (max-width: 768px) {
  .healism-marquee {
    padding: 8px 0;
  }

  .healism-marquee-content {
    font-size: 0.9rem;
    letter-spacing: 0.5px;
  }

  .healism-marquee-content span {
    margin-right: 30px;
  }
}

/* ================================
        Why Choose India
=============================== */
.why {
  position: relative;
  padding: 0;
  background: linear-gradient(135deg, #f9fbfc 0%, #eaf8ff 100%);
}

.why-container {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  min-height: 100vh;
}

.why-left {
  flex: 1 1 50%;
  position: relative;
  min-height: 400px;
}

.why-image {
  height: 100%;
  width: 100%;
  clip-path: polygon(0 0, 100% 0, 90% 100%, 0% 100%);
  overflow: hidden;
}

.why-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.9);
  transition: transform 0.6s ease;
}

.why-image:hover img {
  transform: scale(1.05);
}

.why-right {
  margin-top: 0px;
  flex: 1 1 50%;
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.why-right h2 {
  margin-top: 4px;
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 28px;
  background: linear-gradient(135deg, #02c39a, #0072ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.why-right .why-subtitle {
  color: #555;
  max-width: 600px;
  margin-bottom: 40px;
  font-size: 1rem;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}

.why-item {
  background: #fff;
  padding: 28px 22px;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.why-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 28px rgba(2, 195, 154, 0.25);
}

.why-item i {
  font-size: 1.8rem;
  color: #fff;
  background: linear-gradient(135deg, #02c39a, #0072ff);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto 12px;
  box-shadow: 0 6px 15px rgba(0, 114, 255, 0.25);
  transition: transform 0.3s ease;
}

.why-item:hover i {
  transform: scale(1.15) rotate(10deg);
}

.why-item h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #333;
}

.why-item p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.5;
}

/* ----------------------
   Tablet view
---------------------- */
@media (max-width: 1024px) {
  .why-container {
    flex-direction: column-reverse;
    min-height: auto;
  }

  .why-left {
    min-height: 300px;
    width: 100%;
  }

  .why-image {
    clip-path: none;
  }

  .why-right {
    margin-top: 0;
    padding: 60px 40px;
    text-align: center;
  }

  .why-right h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
  }

  .why-right .why-subtitle {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
  }

  /* Explicit 2 columns for tablets */
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* ----------------------
   Mobile view
---------------------- */
@media (max-width: 768px) {
  .why-right {
    padding: 40px 20px;
  }

  .why-right h2 {
    font-size: 1.8rem;
  }

  .why-right .why-subtitle {
    font-size: 0.9rem;
    margin-bottom: 25px;
  }

  .why-grid {
    grid-template-columns: 1fr; /* Stack items on small screens */
    gap: 15px;
  }

  .why-item {
    padding: 20px 15px;
  }

  .why-item i {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }

  .why-item h3 {
    font-size: 1.1rem;
  }

  .why-item p {
    font-size: 0.85rem;
  }
}




/* ==============================
Treatments Section
============================== */

h2 {
  margin-top: 30px;
  margin-bottom: 1px;
  text-align: center;
  font-weight: 700;
  font-size: 2rem;
  color: #111827;
}

h2 span {
  background: linear-gradient(135deg, #02c39a, #00a8ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text; /* For modern browsers */
  font-weight: 800;
}


p.subtitle {
  margin-top: 1rem;
  text-align: center;
  color: #6b7280;
  font-size: 1rem;
  margin-bottom: 2rem;
  font-weight: 500;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem 3rem;
}

/* Grid Layout */
.treatment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem 2rem;
}

/* Treatment Card */
.treatment-card {
  background: #ffffff;
  border-radius: 0.75rem;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 2px 6px rgb(0 0 0 / 0.05);
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.treatment-card:hover,
.treatment-card:focus-within {
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
  transform: translateY(-4px);
  outline: none;
}

.treatment-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
}

.treatment-info {
  flex-grow: 1;
}

.treatment-title {
  font-weight: 700;
  font-size: 1.125rem;
  color: #111827;
  margin-bottom: 0.175rem;
}

.treatment-desc {
  font-weight: 500;
  font-size: 0.875rem;
  color: #6b7280;
}

/* Bottom Buttons */
.actions {
  max-width: 600px;
  margin: 0 auto;
  margin-top: 3rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.actions button {
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

/* Form Assistance Button */
.actions .btn-assist {
  background-color: #dc2626;
  /* Red */
  color: white;
}

.actions .btn-assist:hover {
  background-color: #b91c1c;
}

/* WhatsApp Chat Button */
.actions .btn-chat {
  background-color: #25D366;
  /* WhatsApp Green */
  color: white;
}

.actions .btn-chat:hover {
  background-color: #20b358;
}

/* Responsive Treatments Section */
@media (max-width: 1024px) {
  .treatment-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.25rem 1.5rem;
  }

  .treatment-card {
    padding: 1rem 1.25rem;
  }

  .treatment-title {
    font-size: 1.05rem;
  }

  .treatment-desc {
    font-size: 0.85rem;
  }

  .actions {
    flex-wrap: wrap;
    gap: 0.8rem;
  }

  .actions button {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
    #treatments {
    margin-top: 60px; /* Adjust as needed */
  }
  h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }

  p.subtitle {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }

  .container {
    padding: 0 0.8rem 2rem;
  }

  /* Stack cards vertically */
  .treatment-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .treatment-card {
    padding: 1rem;
    text-align: center;
  }

  .treatment-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
  }

  .treatment-title {
    font-size: 1rem;
  }

  .treatment-desc {
    font-size: 0.8rem;
  }

  .actions {
    margin-top: 2rem;
    flex-direction: column;
    align-items: center;
  }

  .actions button {
    width: 90%;
    max-width: 250px;
    padding: 0.7rem 1rem;
    font-size: 0.95rem;
  }
}

/* =========================
 Hospitals logo marquee
 ========================= */
:root {
  --icons-marquee-width: 100vw;
  --icons-marquee-height: 20vh;
  --icons-marquee-elements-displayed: 6;
  --icons-marquee-element-width: calc(var(--icons-marquee-width) / var(--icons-marquee-elements-displayed));
}

.icons-marquee {
  width: var(--icons-marquee-width);
  height: var(--icons-marquee-height);
  background-color: #ffffff;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
}

.icons-marquee::before,
.icons-marquee::after {
  position: absolute;
  top: 0;
  width: 8rem;
  height: 100%;
  content: "";
  z-index: 2;
}

/* .icons-marquee::before {
  left: 0;
  background: linear-gradient(to right, #111 0%, transparent 100%);
} */

/* .icons-marquee::after {
  right: 0;
  background: linear-gradient(to left, #111 0%, transparent 100%);
} */

.icons-marquee-content {
  list-style: none;
  height: 100%;
  display: flex;
  align-items: center;
  animation: icons-scrolling 40s linear infinite;
}

@keyframes icons-scrolling {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
  /* shift by half (since we duplicated logos) */
}

.icons-marquee-content li {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  width: var(--icons-marquee-element-width);
  padding: 0 20px;
}

.icons-marquee-content li img {
  width: 100%;
  max-height: 100px;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.icons-marquee-content li img:hover {
  filter: grayscale(0%);
}

/* Responsive Hospitals Logo Marquee */
@media (max-width: 1024px) {
  :root {
    --icons-marquee-elements-displayed: 4;
  }

  .icons-marquee-content li img {
    max-height: 80px;
  }
}

@media (max-width: 768px) {
  :root {
    --icons-marquee-height: 12vh;
    --icons-marquee-elements-displayed: 3;
  }

  .icons-marquee::before,
  .icons-marquee::after {
    width: 3rem;
  }

  .icons-marquee-content li img {
    max-height: 60px;
  }
}

@media (max-width: 480px) {
  :root {
    --icons-marquee-height: 10vh;
    --icons-marquee-elements-displayed: 2;
  }

  .icons-marquee::before,
  .icons-marquee::after {
    width: 2rem;
  }

  .icons-marquee-content li img {
    margin-top: 20px;
    max-height: 86px;
}
}


/* =========================
   Treatment Options Section
========================= */
.departments {
  background: #f2faff;
  padding: 60px 0;
}

.departments .section-title h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2rem;
  font-weight: 700;
  color: #2C2D3F;
}

/* -------- Tabs Nav -------- */
.departments .department-tab .nav {
  margin-bottom: 30px;
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;   /* default */
  border-bottom: none;
  background: #f2faff;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0 8px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none; /* Firefox */
  position: relative;
}

.departments .department-tab .nav::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}

.departments .department-tab .nav li {
  flex: 0 0 auto;
  text-align: center;
  margin: 0 10px;
  scroll-snap-align: start;
  min-width: 90px;
}

.departments .department-tab .nav li a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 6px;
  border: none;
  background: transparent;
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
  text-decoration: none;
  color: #333;
  position: relative;
  overflow: hidden;
}

/* Sliding Underline */
.departments .department-tab .nav li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0%;
  height: 3px;
  background: #05668d;
  transition: all 0.3s ease;
  transform: translateX(-50%);
  border-radius: 2px;
}

.departments .department-tab .nav li a.active::after,
.departments .department-tab .nav li a:hover::after {
  width: 100%;
}

.departments .department-tab .nav li a img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  margin-bottom: 6px;
}

.departments .department-tab .nav li .first {
  font-size: 14px;
  font-weight: 600;
  color: #868686;
  white-space: nowrap;
  line-height: 1.2;
}

.departments .department-tab .nav li a.active .first {
  color: #2C2D3F;
}

/* -------- Tab Content -------- */
.departments .tab-pane .department-left h3 {
  color: #02c39a;
  font-weight: 700;
  font-size: 24px;
  position: relative;
  padding-bottom: 8px;
  margin-bottom: 16px;
}

.departments .tab-pane .department-left h3:before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 40px;
  background: #2C2D3F;
}

.departments .tab-pane .department-left .p1 {
  color: #05668d;
  font-weight: 500;
  margin-bottom: 12px;
  font-size: 1rem;
}

.departments .tab-pane .department-left .list {
  padding-left: 0;
  margin: 0;
  list-style: none;
}

.departments .tab-pane .department-left .list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 6px;
  font-size: 0.95rem;
  line-height: 1.4;
}

.departments .tab-pane .department-left .list li i {
  position: absolute;
  left: 0;
  top: 4px;
  height: 15px;
  width: 15px;
  line-height: 15px;
  color: #fff;
  background: #02c39a;
  text-align: center;
  border-radius: 100%;
  font-size: 8px;
}

.departments .department-right {
  margin-top: 20px;
}

.departments .department-right img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

/* -------- Responsive -------- */
@media (max-width: 1024px) and (min-width: 769px) {
  /* Tablet specific */
  .departments .department-tab .nav {
    justify-content: flex-start;
    padding: 0 12px;
  }
  .departments .department-tab .nav li {
    min-width: 100px; /* slightly larger tabs for tablets */
    margin: 0 12px;
  }
  .departments .department-tab .nav li a img {
    width: 48px;
    height: 48px;
  }

  .departments .tab-pane .row {
    flex-direction: row; /* keep left/right side by side */
    align-items: center;
  }

  .departments .tab-pane .department-left h3 {
    font-size: 22px;
  }

  .departments .tab-pane .department-left .list li {
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .departments .department-tab .nav {
    justify-content: flex-start;
  }
  .departments .tab-pane .row {
    flex-direction: column;
  }
  .departments .tab-pane .department-right {
    order: 1;
    margin-bottom: 12px;
  }
  .departments .tab-pane .department-left {
    order: 2;
    text-align: center;
  }
  .departments .tab-pane .department-left h3:before {
    left: 50%;
    transform: translateX(-50%);
  }
  .departments .tab-pane .department-left .list li {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .departments .department-tab .nav li a img {
    width: 34px;
    height: 34px;
  }
  .departments .tab-pane .department-left h3 {
    font-size: 18px;
  }
  .departments .tab-pane .department-left .p1 {
    font-size: 0.85rem;
  }
  .departments .tab-pane .department-left .list li {
    font-size: 0.8rem;
  }
}

/* -------- Center Align Tabs on Desktop -------- */
@media (min-width: 1025px) {
  .departments .department-tab .nav {
    justify-content: center;
  }
}


/* =========================================================
   Healing Made Easy (Unique Classes with Parallax)
========================================================= */
.healing-steps {
  background: url("images/fun-bg.jpg") no-repeat center center/cover;
  background-attachment: fixed; /* Parallax effect */
  padding: 80px 20px;
  text-align: center;
  position: relative;
  z-index: 1;
}

/* Overlay for readability */
.healing-steps::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(230, 244, 251, 0.5);
  z-index: -1;
}

/* Header */
.healing-header h2 {
  margin-top: -49px;
  font-size: 2rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 10px;
}

.healing-header p {
  font-size: 1.1rem;
  color: #000;
  margin-bottom: 50px;
}

/* Grid - Desktop default */
.healing-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* Desktop: 5 cards */
  gap: 25px;
  max-width: 1300px;
  margin: auto;
  position: relative;
  z-index: 2;
}

/* Card */
.healing-card {
  background: #fff;
  padding: 30px 20px;
  border: 2px dashed #05668d;
  border-radius: 10px;
  transition: 0.3s;
}

.healing-card:hover {
  background: #b2efe2;
  transform: translateY(-5px);
}

.healing-icon {
  font-size: 2.5rem;
  color: #05668d;
  margin-bottom: 15px;
}

.healing-card p {
  font-size: 1rem;
  font-weight: 600;
  color: #000;
  line-height: 1.5;
}

/* ----------------------
   Large Tablet View (1200px - 1025px)
---------------------- */
@media (max-width: 1200px) {
  .healing-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
  }
}

/* ----------------------
   Tablet View (1024px - 769px)
   3 cards per row, leftover centered
---------------------- */
@media (max-width: 1024px) and (min-width: 769px) {
  .healing-steps {
    padding: 60px 20px;
  }

  .healing-header h2 {
    font-size: 2.2rem;
    margin-top: -30px;
  }

  .healing-header p {
    font-size: 1rem;
    margin-bottom: 40px;
  }

  /* Flex grid for centering leftover cards */
  .healing-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* center items in each row */
    gap: 20px;
  }

  .healing-card {
    flex: 0 0 calc(33.333% - 13.33px); /* 3 per row with gap */
    max-width: 33.333%;
    padding: 25px 15px;
  }

  .healing-icon {
    font-size: 2.2rem;
    margin-bottom: 10px;
  }

  .healing-card p {
    font-size: 0.9rem;
  }
}

/* ----------------------
   Small Tablets / Mobile (768px - 481px)
---------------------- */
@media (max-width: 768px) {
  .healing-steps {
    padding: 40px 10px;
  }

  .healing-header h2 {
    font-size: 1.8rem;
    margin-top: -20px;
  }

  .healing-header p {
    font-size: 0.9rem;
    margin-bottom: 30px;
  }

  .healing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
  }

  .healing-card {
    padding: 20px 10px;
  }

  .healing-icon {
    font-size: 2rem;
  }

  .healing-card p {
    font-size: 0.8rem;
  }
}

/* ----------------------
   Mobile Phones (480px and below)
---------------------- */
@media (max-width: 480px) {
  .healing-grid {
    grid-template-columns: 1fr; /* Single column */
    gap: 20px; /* More spacing between cards */
  }

  .healing-card {
    padding: 25px 20px;
    text-align: center;
    border: 2px dashed #05668d;
    border-radius: 12px;
  }

  .healing-icon {
    font-size: 2.2rem;
    margin-bottom: 15px;
    display: block;
  }

  .healing-card p {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.6;
    color: #000;
    margin: 0;
  }

  .healing-card p strong {
    display: block; /* Make heading bold and on its own line */
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 5px;
  }
}

/* ==============================
   Hospitals Section
============================== */
.hospitals {
  background: #fff;
  padding: 80px 20px;
  text-align: center;
}

.hospitals h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 30px;
  color: #1d1d1d;
}

/* Grid Layout */
.hospital-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 0 auto;
  max-width: 1100px;
}

/* Hospital Cards */
.hospital-card {
  position: relative;
  height: 220px;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  background-size: cover;
  background-position: center;
  transition: transform 0.4s, box-shadow 0.4s;
}

.hospital-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.2); /* lighter than before */
  transition: background 0.3s;
}

.hospital-card span {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  color: #ffffff; /* pure white */
  font-size: 1.2rem;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0,0,0,0.6); /* softer shadow for readability */
}

/* Hover Effect */
.hospital-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}

.hospital-card:hover::after {
  background: rgba(0,0,0,0.15); /* even lighter on hover */
}

/* Action Buttons */
.actions {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.btn-assist, .btn-chat {
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: 0.3s;
}

.btn-assist {
  background: #05668d;
  color: #fff;
}

.btn-assist:hover {
  background: #024f6b;
}

.btn-chat {
  background: #25D366;
  color: #fff;
}

.btn-chat:hover {
  background: #1da851;
}

/* ==============================
   Hospital Modal
============================== */
.hospital-modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
}

.hospital-modal-content {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  position: relative;
}

.hospital-modal-content img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 20px;
}

.hospital-modal-content h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.hospital-modal-content p {
  font-size: 1rem;
  margin-bottom: 20px;
  color: #555;
}

.hospital-modal-content .modal-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.hospital-modal-content .close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 24px;
  font-weight: 700;
  color: #333;
  cursor: pointer;
}

/* ==============================
   Responsive
============================== */
@media (max-width: 1024px) {
  .hospital-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .hospital-card { height: 200px; }
}

@media (max-width: 768px) {
  .hospital-grid { grid-template-columns: 1fr; gap: 15px; }
  .hospital-card { height: 180px; }
  .actions { flex-direction: column; gap: 10px; }
  .btn-assist, .btn-chat { width: 100%; font-size: 0.95rem; padding: 10px 15px; }
}

/* =========================================
   Premium Doctors Section (With Popup)
========================================= */
.doctors {
  padding: 80px 20px;
  background: #fdfdfd;
  text-align: center;
  font-family: 'Poppins', sans-serif;
}

.doctors h2 {
  font-size: 2.4rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 50px;
}

.doctor-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.doctor-card {
  position: relative;
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.doctor-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 45px rgba(0,0,0,0.15);
}

/* Doctor Image */
.doctor-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  transition: transform 0.5s ease;
}

.doctor-card:hover img {
  transform: scale(1.05);
}

/* Card Content */
.doctor-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #05668d;
  margin: 15px 20px 5px;
}

.doctor-card p {
  font-size: 0.95rem;
  color: #555;
  margin: 0 20px 15px;
  line-height: 1.4;
}

/* WhatsApp Button */
.doctor-card .chat-btn {
  display: block;
  margin: 0 20px 20px;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  padding: 12px;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  transition: background 0.3s, transform 0.3s;
}

.doctor-card .chat-btn i {
  margin-right: 8px;
}

.doctor-card .chat-btn:hover {
  background: #1ebe5b;
  transform: translateY(-2px);
}

/* ===========================
   Doctor Popup Modal
=========================== */
.doctor-popup {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(0,0,0,0.6);
  padding: 50px 20px;
  box-sizing: border-box;
}

.popup-content {
  background: #fff;
  margin: 0 auto;
  max-width: 450px;
  padding: 30px 20px;
  border-radius: 16px;
  text-align: center;
  position: relative;
  box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.popup-content img {
  width: 100%;       /* Full width of popup */
  height: auto;      /* Keep original aspect ratio */
  object-fit: cover; /* Preserve image content */
  margin-bottom: 20px;
  border-radius: 0;  /* No rounding, keep original shape */
}

.popup-content h3 {
  font-size: 1.5rem;
  color: #05668d;
  margin-bottom: 15px;
}

.popup-content p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 20px;
  line-height: 1.4;
}

.popup-content .chat-btn {
  display: inline-block;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.3s, transform 0.3s;
}

.popup-content .chat-btn:hover {
  background: #1ebe5b;
  transform: translateY(-2px);
}

/* Close button */
.close-btn {
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 28px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
}

.close-btn:hover {
  color: #05668d;
}

/* =======================
   Responsive
======================= */
@media (max-width: 1024px) {
  .doctor-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .doctor-card img {
    height: 280px;
  }
}

@media (max-width: 768px) {
  .doctor-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .doctor-card img {
    height: 300px;
  }

  .doctor-card .chat-btn,
  .popup-content .chat-btn {
    padding: 10px;
    font-size: 0.95rem;
  }
}




/* =========================================================
   Cost Comparison
========================================================= */
/* General section styling */
.cost {
  margin-top: -52px;
  margin-bottom: -101px;
  background: #ffffff;
  padding: 60px 20px;
  text-align: center;
}

.cost .container {
    max-width: 923px;
    margin: 0px auto 0;
}
.section-title {
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 10px;
  color: #222;
}

.section-subtitle {
  font-size: 1rem;
  color: #666;
  margin-bottom: 30px;
}

/* Table Wrapper */
.table-wrapper {
  overflow-x: auto;
  margin-bottom: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Table Styling */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

.comparison-table th,
.comparison-table td {
  padding: 16px 20px;
  text-align: center;
  border-bottom: 1px solid #eaeaea;
}

.comparison-table thead th {
  background: #E63734;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
}

.comparison-table tbody tr:nth-child(even) {
  background: #f4f6f8;
}

.comparison-table tbody td {
  color: #333;
  font-size: 1rem;
}

/* Hover Effect */
.comparison-table tbody tr:hover {
  background: #ffecec;
  transform: scale(1.01);
  transition: 0.3s ease;
}


/* Cancer Types Marquee */
.marquee {
  width: 100%;
  background: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  padding: 15px 0;
  display: flex;
}

.marquee-content {
  display: flex;
  gap: 60px;
  /* space between each cancer type */
  flex-shrink: 0;
  animation: scroll 40s linear infinite;
}

.marquee-content span {
  font-size: 5rem;
  font-family: Verdana, sans-serif;
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

/* Icon adjustments */
.marquee-content img {
  width: 157px;
  height: 130px;
  object-fit: contain;
  flex-shrink: 0;
}

/* Filled text */
.filled {
  font-weight: 700;
  color: #02c39a;
}

/* Outlined text */
.outlined {
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 2px #05668d;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-100%);
  }
}

/* Responsive Cost Comparison Section */
@media (max-width: 1024px) {
  .cost {
    padding: 50px 15px;
  }

  .cost .container {
    margin-top: -40px;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .section-subtitle {
    font-size: 0.9rem;
    margin-bottom: 25px;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 12px 15px;
    font-size: 0.95rem;
  }

  .comparison-table thead th {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .cost {
    padding: 40px 10px;
    margin-bottom: -80px;
  }

  .cost .container {
    margin-top: -30px;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .section-subtitle {
    font-size: 0.85rem;
    margin-bottom: 20px;
  }

  .comparison-table {
    min-width: 450px;
    /* Allow horizontal scroll on smaller screens */
  }

  .comparison-table th,
  .comparison-table td {
    padding: 10px 12px;
    font-size: 0.85rem;
  }

  .comparison-table thead th {
    font-size: 0.9rem;
  }

  .marquee {
    padding: 10px 0;
  }

  .marquee-content {
    gap: 40px;
  }

  .marquee-content span {
    font-size: 3rem;
  }

  .marquee-content img {
    width: 100px;
    height: 80px;
  }
}

@media (max-width: 480px) {
  .marquee-content {
    gap: 20px;
  }

  .marquee-content span {
    font-size: 2rem;
  }

  .marquee-content img {
    width: 70px;
    height: 60px;
  }
}


/* =========================================================
   Testimonials
========================================================= */
.heading {
  position: relative;
}

.testimonials {
  background: url("images/testimonial\ bg\ 1.jpg") center center no-repeat;
  background-size: cover;
  background-attachment: fixed;
  padding: 130px 0 150px;
  color: #ffffff;
  position: relative;
}

.testimonials:before {
  content: "";
  background: rgba(0, 0, 0, 0.5);
  width: 100%;
  height: 100%;
  top: 0;
  position: absolute;
  left: 0;
}

.testimonials .heading h2 {
  margin-bottom: 90px;
  margin-top: -86px;
  font-size: 40px;
  font-weight: 500;
  color: #ffffff;
}

.testimonials .heading h2 span {
  color: #02c39a;
  font-weight: 800;
}

/* ✅ Subheading Style */
.testimonials .heading .subheading {
  font-size: 18px;
  font-weight: 400;
  color: #f1f1f1;
  margin-top: -65px;
  margin-bottom: 70px;
  line-height: 1.6;
  font-style: italic;
  letter-spacing: 0.5px;
}

/* Testimonial Paragraph */
.testimonials p {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  color: #d1e5e7;
  margin: 20px 0;
  padding: 0;
}

/* Image */
.testimonials .carousel-inner .carousel-item .team {
  width: 100px;
  height: 100px;
  border: 2px solid #02c39a;
  border-radius: 100%;
  padding: 5px;
  margin: 50px 0 15px;
}

.testimonials .carousel-inner .carousel-item h3 {
  font-size: 20px;
  color: #ffffff;
  font-weight: 600;
}

.testimonials .carousel-inner .carousel-item h4 {
  font-size: 14px;
  font-weight: 300;
  color: #e2e1e1;
  margin-bottom: 20px;
}

.testimonials .carousel-indicators {
  bottom: -30px;
}

.testimonials .carousel-indicators li {
  background-color: #b8b7b7;
  border-radius: 30px;
  height: 4px;
  width: 40px;
}

.testimonials .carousel-indicators .active {
  background-color: #02c39a;
}

.testimonials .control span {
  cursor: pointer;
}

.testimonials .icon {
  height: 40px;
  width: 40px;
  background-size: 100%, 100%;
  border-radius: 50%;
  font-size: 30px;
  background-image: none;
  color: #ffffff;
}

/* =========================
   Responsive Testimonials Section
========================= */
@media (max-width: 1024px) {
  .testimonials {
    padding: 100px 0 120px;
  }

  .testimonials .heading h2 {
    font-size: 34px;
    margin-top: -60px;
    margin-bottom: 70px;
  }

  .testimonials .heading .subheading {
    font-size: 16px;
    margin-top: -50px;
    margin-bottom: 50px;
  }

  .testimonials p {
    font-size: 14px;
  }

  .testimonials .carousel-inner .carousel-item .team {
    width: 80px;
    height: 80px;
    margin: 40px 0 10px;
  }

  .testimonials .carousel-inner .carousel-item h3 {
    font-size: 18px;
  }

  .testimonials .carousel-inner .carousel-item h4 {
    font-size: 13px;
  }
}

@media (max-width: 768px) {
  .testimonials {
    padding: 80px 0 100px;
  }

  .testimonials .heading h2 {
    font-size: 28px;
    margin-top: -40px;
    margin-bottom: 50px;
  }

  .testimonials .heading .subheading {
    font-size: 14px;
    margin-top: -35px;
    margin-bottom: 40px;
  }

  .testimonials p {
    font-size: 13px;
    line-height: 1.6;
  }

  .testimonials .carousel-inner .carousel-item .team {
    width: 70px;
    height: 70px;
    margin: 30px 0 8px;
  }

  .testimonials .carousel-inner .carousel-item h3 {
    font-size: 16px;
  }

  .testimonials .carousel-inner .carousel-item h4 {
    font-size: 12px;
  }

  .testimonials .carousel-indicators {
    bottom: -20px;
  }

  .testimonials .carousel-indicators li {
    width: 30px;
  }

  /* ✅ Hide arrows on mobile */
  .testimonials .carousel-control-prev,
  .testimonials .carousel-control-next {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .testimonials .heading h2 {
    font-size: 24px;
    margin-bottom: 40px;
  }

  .testimonials .heading .subheading {
    font-size: 13px;
    margin-bottom: 30px;
  }

  .testimonials p {
    font-size: 12px;
  }
}



/* =========================================================
   How We Help Section
========================================================= */
.help {
  margin-top: -48px;
  margin-bottom: -80px;
  padding: 100px 20px 80px; /* increased top padding */
  background: linear-gradient(135deg, #02c39a, #0072ff);
  text-align: center;
}

.help h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 50px;
  color: #ffffff;
}

/* Layout: Left - Center Image - Right */
.help-layout {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: center;
  max-width: 1200px;
  margin: auto;
}

/* Columns */
.help-column {
  display: flex;
  flex-direction: column;
  gap: 40px;
  text-align: left;
}

/* Help Item */
.help-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.help-item i {
  font-size: 28px;
  color: #ffffff;
  min-width: 40px;
  margin-top: 4px;
}

.help-text h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: #ffffff;
}

.help-text p {
  font-size: 0.95rem;
  color: #ffffff;
  line-height: 1.5;
}

/* Doctor Image */
.help-image img {
  max-width: 250px;
  height: auto;
  display: block;
  margin: auto;
}

/* Responsive How We Help Section */
@media (max-width: 1024px) {
  .help {
    padding: 80px 15px 60px; /* more top padding */
    margin-bottom: -60px;
  }

  .help h2 {
    font-size: 1.8rem;
    margin-bottom: 40px;
  }

  .help-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .help-column {
    gap: 25px;
  }

  .help-item i {
    font-size: 24px;
    min-width: 35px;
  }

  .help-text h3 {
    font-size: 1rem;
  }

  .help-text p {
    font-size: 0.9rem;
  }

  /* REMOVE image order -1 so image stays after columns */
  .help-image {
    order: 2; /* push image to bottom */
  }

  .help-image img {
    max-width: 200px;
  }
}

@media (max-width: 768px) {
  .help {
    padding: 70px 10px 40px; /* extra space at top */
    margin-bottom: -40px;
  }

  .help h2 {
    font-size: 1.6rem;
    margin-bottom: 30px;
  }

  .help-layout {
    gap: 20px;
  }

  .help-column {
    gap: 20px;
  }

  .help-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
  }

  .help-item i {
    font-size: 22px;
    min-width: auto;
    margin-top: 0;
  }

  .help-text h3 {
    font-size: 0.95rem;
  }

  .help-text p {
    font-size: 0.85rem;
  }

  .help-image {
    order: 2; /* keep image at bottom in mobile */
  }

  .help-image img {
    margin-bottom: 11px;
    max-width: 180px;
}
}


/* =========================================================
   FAQ Section
========================================================= */
/* =========  Reset + Layout  ========= */
.x-faq {
  width: 100%;
  background: #f9fafc;
  padding: 72px 16px;
}

.x-wrap {
  max-width: 1000px;
  margin: 0 auto;
}

.x-title {
  text-align: center;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  margin: 0 0 28px;
  color: #222;
}

/* =========  Items  ========= */
details.x-faq-item {
  border-bottom: 1px solid #e6e6e6;
  background: #fff;
}

/* Remove default marker */
details.x-faq-item summary::-webkit-details-marker {
  display: none;
}

details.x-faq-item summary {
  list-style: none;
}

/* Question row */
.x-q {
  background: #f9fafb;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 8px;
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  color: #333;
  transition: color .25s ease;
}

details.x-faq-item:hover .x-q {
  color: #02c39a;
}

/* Plus icon that turns into × */
.x-icon {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  /* border: 1px solid #e8e8e8; */
  font-size: 18px;
  line-height: 1;
  user-select: none;
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
}

.x-icon::before {
  content: "+";
  transform: translateY(-1px);
}

details[open] .x-icon {
  transform: rotate(45deg);
  background: #fff;
  border-color: #ddd;
}

/* Smooth slide container (no JS height math) */
.x-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s ease;
  background: #f9fafb;
}

details[open] .x-answer {
  max-height: 500px;
  /* enough for the longest answer */
}


/* Inner wrapper actually clips content */
.x-answer-inner {
  overflow: hidden;
}

.x-answer-inner>div {
  padding: 0 8px 16px 8px;
  color: #455065;
  line-height: 1.6;
  font-size: 15px;
}


.faq-item.active .faq-answer {
  max-height: 500px;
  /* enough for content */
  padding: 15px 18px;
}

/* Layout grid */
.faq-block {
  width: 100%;
  background: #f9fafc;
  padding: 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
  gap: 20px;
}

/* Left FAQ (no change to your existing FAQ styles) */
.faq-left {
  overflow-y: auto;
  /* scroll if too tall */
  max-height: 100%;
  /* don't push the grid */
}

/* Right doctor image */
.faq-right {
  text-align: center;
}

.faq-doctor-img {
    margin-left: 127px;
    max-width: 82%;
    height: auto;
    border-radius: 16px;
    object-fit: cover;
}

/* Responsive FAQ Section */
@media (max-width: 1024px) {
  .x-faq {
    padding: 50px 15px;
  }

  .x-title {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .faq-grid {
    grid-template-columns: 1fr;
    /* Stack columns */
    gap: 30px;
  }

  .faq-left {
    max-height: none;
    /* Allow content to expand */
  }

  .faq-doctor-img {
    margin-left: auto;
    margin-right: auto;
    max-width: 60%;
    /* Adjust image size */
  }
}

@media (max-width: 768px) {
  .x-faq {
    padding: 40px 10px;
  }

  .x-title {
    font-size: 24px;
    margin-bottom: 15px;
  }

  .x-q {
    padding: 15px 6px;
    font-size: 15px;
  }

  .x-icon {
    width: 24px;
    height: 24px;
    font-size: 16px;
  }

  .x-answer-inner>div {
    padding: 0 6px 12px 6px;
    font-size: 14px;
  }

  .faq-doctor-img {
    max-width: 80%;
  }
}

@media (max-width: 480px) {
  .x-q {
    font-size: 14px;
    gap: 10px;
  }

  .x-icon {
    width: 20px;
    height: 20px;
    font-size: 14px;
  }

  .x-answer-inner>div {
    font-size: 13px;
  }

  .faq-doctor-img {
    max-width: 90%;
  }
}


/* =========================================================
   CTA Section
========================================================= */

.bg-teal-400 {
  background-color: #02c39a !important;
}

.text-teal-400 {
  color: #02c39a !important;
}

.border-teal-400 {
  border-color: #02c39a !important;
}

.focus\:border-teal-400:focus {
  border-color: #02c39a !important;
}

.focus\:ring-teal-400:focus {
  --tw-ring-color: #02c39a !important;
}


/* Custom font stylings for italic */
.italic-first {
  font-style: italic;
}

.italic-appointment {
  font-family: serif;
  font-style: italic;
  font-weight: 400;
  text-align: left;
  /* centers across full panel */
  line-height: 1.2;
  margin: 1rem 0;
  color: #1e293b;
  font-size: clamp(1.75rem, 3vw + 1rem, 2.5rem);
}

/* Inputs and Select Styling */
.form-input,
.form-select {
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  color: #4b5563;
  width: 100%;
  transition: all 0.2s ease;
}

.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: #14b8a6;
  box-shadow: 0 0 0 2px rgba(20, 184, 166, 0.4);
}

/* Custom scrollbar removal for date input */
input::-webkit-calendar-picker-indicator {
  cursor: pointer;
}

/* Scroll-to-top Button */
#scrollTopBtn {
  background: #282c4b;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  bottom: 12px;
  right: 12px;
  box-shadow: 0 2px 10px rgb(0 0 0 / 0.1);
  cursor: pointer;
  transition: background 0.3s ease;
  z-index: 100;
}

#scrollTopBtn svg {
  width: 20px;
  height: 20px;
  stroke: white;
  stroke-width: 2.5;
}

#scrollTopBtn:hover {
  background: #1e2140;
}

/* ================================
Trusted Patients section
=============================== */
.trusted-section {
  text-align: center;
  padding: 50px 20px;
  background: #f9fafc;
}

.trusted-section h2 {
  font-size: 35px;
  font-weight: 600;
  margin-bottom: 30px;
}

/* Unique marquee container */
.flag-marquee {
  position: relative;
  overflow: hidden;
  max-width: 1000px;
  /* control width */
  margin: auto;
  /* center align */
}

/* Unique marquee inner */
.flag-marquee-inner {
  display: flex;
  width: max-content;
  animation: flag-scroll 25s linear infinite;
}

.flag-item {
  text-align: center;
  min-width: 120px;
  margin: 0 20px;
}

.flag-item img {
  width: 116px;
  height: 84px;
  object-fit: cover;
  border: 1px solid #ffffff;
  border-radius: 0px;
}

.flag-item p {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 500;
}

/* Unique keyframes */
@keyframes flag-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* Responsive Trusted Patients Section */
@media (max-width: 1024px) {
  .trusted-section {
    padding: 40px 15px;
  }

  .trusted-section h2 {
    font-size: 30px;
    margin-bottom: 25px;
  }

  .flag-marquee {
    max-width: 800px;
  }

  .flag-item {
    min-width: 100px;
    margin: 0 15px;
  }

  .flag-item img {
    width: 90px;
    height: 65px;
  }

  .flag-item p {
    font-size: 13px;
  }
}

@media (max-width: 768px) {
  .trusted-section {
    padding: 30px 10px;
  }

  .trusted-section h2 {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .flag-marquee {
    max-width: 100%;
    /* Allow full width on mobile */
  }

  .flag-item {
    min-width: 80px;
    margin: 0 10px;
  }

  .flag-item img {
    width: 70px;
    height: 50px;
  }

  .flag-item p {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .trusted-section h2 {
    font-size: 20px;
  }

  .flag-item {
    min-width: 60px;
    margin: 0 8px;
  }

  .flag-item img {
    width: 50px;
    height: 35px;
  }

  .flag-item p {
    font-size: 10px;
  }
}


/* =========================================================
   Footer
========================================================= */
footer {
  background: #05668d;
  color: #fff;
  text-align: center;
  padding: 40px 20px 20px;
  font-family: "Segoe UI", sans-serif;
}

.footer-container {
  max-width: 1100px;
  margin: auto;
}

.footer-links {
  margin-bottom: 18px;
}

.footer-links a {
  color: #bbb;
  margin: 0 12px;
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #02c39a;
}

/* Social icons */
.footer-social {
  margin-bottom: 18px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0 6px;
  background: #ffffff;
  border-radius: 50%;
  font-size: 18px;
  color: #05668d;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: #02c39a;
  transform: translateY(-4px);
}

/* Copyright */
footer p {
  font-size: 0.9rem;
  color: #aaa;
  margin-top: 10px;
}

/* Responsive Footer */
@media (max-width: 768px) {
  footer {
    padding: 30px 15px 15px;
  }

  .footer-links {
    margin-bottom: 15px;
  }

  .footer-links a {
    margin: 0 8px;
    font-size: 0.85rem;
  }

  .footer-social {
    margin-bottom: 15px;
  }

  .footer-social a {
    width: 35px;
    height: 35px;
    font-size: 16px;
    margin: 0 4px;
  }

  footer p {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px 10px;
    /* Adjust gap for wrapped links */
  }

  .footer-links a {
    margin: 0;
    /* Remove individual margins when wrapped */
  }
}


/* =========================================================
   Modals
========================================================= */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
}