* {

  box-sizing: border-box;

  margin: 0;

  padding: 0;

  font-family: Arial, Helvetica, sans-serif;

}

.hero-subtitle {
  font-size: 1.5rem;   /* scalable */
  font-weight: 500;    /* optional: makes it more visible */
}

.hidden-card {
  visibility: hidden;
}

.hero-description{
  display: block;
  justify-content: space-around;
  align-items: center;
  padding: 80px 20px;
  background: #f7f7f7;
  text-align: center;
  flex-wrap: wrap;
  background: transparent;
  font-size: 1.2rem;
  
}


.stats-section {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 80px 20px;
  background: #f7f7f7;
  text-align: center;
  flex-wrap: wrap;
}

.stat {
  flex: 1;
  min-width: 200px;
  padding: 20px;
}

.counter {
  font-size: 60px;
  font-weight: 700;
  color: #333;
  margin: 0;
}

.stat p {
  margin-top: 10px;
  font-size: 14px;
  letter-spacing: 2px;
  color: #00a6a6;
}




html {

  scroll-behavior: smooth;

  scroll-padding-top: 120px;  /* 🔥 NEW: Adds 120px padding to prevent header overlap on anchor scrolls */

}

html, body {
  overflow-x: hidden;
}




body {
  margin: 0;
  padding: 0;

  background-color: #f8fbfd;

  color: #333;

  line-height: 1.6;

}
/* about section */

.about {
  background: linear-gradient(to right, #f8fbfc, #eef7f8);
  padding: 80px 0;
}


.about .elementor-heading-title {
  text-transform: none;
  letter-spacing: 1px;
  font-weight: 500;
  color: #1DBFC1;
  font-size: 15px;
}


.about-wrapper {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.about-image {
  flex: 1;
}

.about-image img {
  width: 100%;
  max-width: 400px;
  border-radius: 12px;
}

.about-content {
  flex: 1.5;
}
@media (max-width: 768px) {

  .about-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .about-image img {
    max-width: 280px;
    margin-bottom: 2rem;
  }

}


/*  */



/* ================= Book now button ================= */

/* HERO BOOK BUTTON */

.hero-book-btn {
  display: inline-block;
  padding: 12px 30px;
  border: 2px solid #2c7be5;
  color: #2c7be5;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 500;
  background: transparent;
  transition: all 0.3s ease;
}

/* Hover effect */
.hero-book-btn:hover {
  background: #2c7be5;
  color: #ffffff;
}




/* ================= HEADER & NAVBAR ================= */
.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent;
  z-index: 1000;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  padding: 14px 60px;
}

/* LOGO */
.logo img {
  height: 170px;   /* Fixed professional size */
  width: auto;
  object-fit: contain;
}

/* Logo container */
.logo {
  display: flex;
  align-items: center;
}

/* NAV LINKS */
.nav-links {
  display: flex;
  list-style: none;
  gap: 28px;
  align-items: center;
  margin-left: auto;
}
.logo {
  flex-shrink: 0;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: 0.3s ease;
}

/* Prevent nav from shrinking */
.nav-links li {
  white-space: nowrap;
}

.nav-links a:hover {
  color: #2c7be5;
}

/* NAV BUTTON (Book Appointment / Contact etc) */
.btn-nav {
  background: #2c7be5;
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 25px;
}

/* HAMBURGER MENU */
.menu-toggle {
  display: none;
  font-size: 26px;
  background: none;
  border: none;
  cursor: pointer;
  color: #2c7be5;
}

/* ================= MOBILE NAV ================= */

@media (max-width: 768px) {

  .navbar {
    padding: 12px 20px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    padding: 20px 0;
    display: none;
    box-shadow: 0 6px 12px rgba(0,0,0,0.08);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    font-size: 1.05rem;
  }
}

/* ================= HERO SPACING FIX ================= */

/* ================= HERO SECTION ================= */
.hero {
  width: 100%;
  min-height: 100vh;
  padding-top: 150px;
  padding: 150px 60px 80px 60px; /* keeps your top spacing */
  background: url("images/hero-bg.jpg") no-repeat center center;
  background-size: cover;
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

/* LEFT TEXT */
.hero-text {
  flex: 1;
  z-index: 2;
}

.doctor-name {
  font-size: 2.8rem;
  margin-bottom: 15px;
  color: #222;
}

.doctor-meta {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #555;
}

.hero-tagline {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #444;
}

/* RIGHT IMAGE */
.hero-image {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: flex-end;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  opacity: 0.95;
  padding-top: 10px;
}

/* BUTTONS */
.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;   /* allows stacking */
  margin-top: 90px;
}
/* .hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
} */

/* .hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* allows stacking on mobile */
    /* border: 2px solid #2c7be5; */
    color: #2c7be5;
    text-decoration: none;
    /* border-radius: 30px; */
    font-weight: 500;
    background: transparent;
    transition: all 0.3s ease;
} */



.btn.primary {
  background: #2c7be5;
  color: white;
  padding: 10px 22px;
  border-radius: 25px;
  text-decoration: none;
}

.btn.secondary {
  background: #25D366;
  color: white;
  padding: 10px 22px;
  border-radius: 25px;
  text-decoration: none;
}

/* ================= MOBILE ================= */

@media (max-width: 768px) {

  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .hero-image {
    justify-content: center;
    margin-top: 30px;
  }


  .doctor-name {
    font-size: 2rem;
  }
}




.btn {

  padding: 0.7rem 1.4rem;

  border-radius: 30px;

  text-decoration: none;

  font-size: 0.9rem;

  cursor: pointer;

}



.primary {

  background: #2c7be5;

  color: #fff;

  border: none;

}



.secondary {

  background: #2dbf6c;

  color: #fff;

}



/* section {

  padding: 3rem 1rem;

  max-width: 1200px;

  margin: auto;

} */
section {
  padding: 3rem 0;
  width: 100%;
}
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}




h2 {

  text-align: center;

  margin-bottom: 2rem;

  color: #2c7be5;

}



.about p {

  max-width: 800px;

  margin: auto;

  margin-bottom: 1rem;

  text-align: center;

}
/* SERVICES SECTION */
.services {
  position: relative;
  background:
    linear-gradient(
      rgba(255, 255, 255, 0.92),
      rgba(255, 255, 255, 0.95)
    ),
    url("images/services-background.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 80px 20px;
}


.service-item {
  background: transparent;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.04);
  transition: all 0.3s ease;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  border: 1px solid #edf2f7;
}

.service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(44, 123, 229, 0.1);
}

.service-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px; /* Reduced from 25px 30px */
  cursor: pointer;
}

.service-header h4 {
  font-size: 15px;
  font-weight: 600;
  margin: 0;
  flex: 1;
}

.service-icon {
  width: 35px;
  height: 35px;
  background: transparent;
  /* background: rgba(29,191,193,0.12); */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  /* color: #1DBFC1; */
}
.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Keeps the image from stretching */
}
/* Style for the actual image icon */
.custom-icon {
  width: 100%;          /* Fills the container */
  height: 100%;         /* Fills the container */
  object-fit: contain;  /* Ensures the image doesn't stretch or distort */
  opacity: 0.9;         /* Optional: makes it look more subtle/elegant */
}

.service-toggle i {
  color: #1DBFC1;
  transition: 0.3s ease;
}

.service-item.active .service-toggle i {
  transform: rotate(45deg);
}

/* .service-article {
  padding: 0 20px 20px 20px; /* Reduced from 30px */
  font-size: 14px; /* Slightly smaller for elegance */
  line-height: 1.5;
} */
.service-article {
  display: none; /* Keeps it hidden until clicked */
  padding: 0 20px 20px 20px; /* Tightened padding to reduce length */
  font-size: 14px; /* Slightly smaller for a cleaner look */
  line-height: 1.5;
  color: #444;
  background: #fff;
}

/* This ensures that when it expands, it doesn't push the card too far */
.service-item.expanded .service-article {
  display: block;
}


.service-card {
  background: #ffffff;
  padding: 30px 25px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  font-weight: 500;
  font-size: 16px;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.section-subtitle {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 20px;
  color: #1DBFC1;
  padding: 0px 5px 20px
}
/* .services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
} */


.services h2 {
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 60px;
  color: #1a1a1a;
}


.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}



/* testing */

.service-item {

  cursor: pointer;

  transition: all 0.3s ease; /* Smooth expansion */

}



.service-item.expanded {

  /* Optional: Change background or add shadow when expanded */

  background: #f0f8ff; /* Light blue tint for emphasis */

  box-shadow: 0 6px 15px rgba(0,0,0,0.1); /* Deeper shadow */

}



.service-article {
  display: none;
  padding: 0 20px 20px;
  font-size: 14px;
  line-height: 1.5;
  color: #444;
  background: #fff;
}
/* 
.service-item.expanded .service-article {
  display: block;
} */

@media (max-width: 768px) {
  .service-header h4 {
    font-size: 14px;
  }

  .service-article {
    font-size: 0.9rem;
  }
}

.service-article p {
  display: -webkit-box;
  -webkit-line-clamp: 3; /* Shows only 3 lines of text */
  -webkit-box-orient: vertical;  
  overflow: hidden;
  margin-bottom: 10px;
}
/* .service-item.expanded .service-article p {
  display: block;
  overflow: visible;
} */



/* Mobile adjustments */

@media (max-width: 768px) {

  .service-article {

    font-size: 0.85rem;

    padding: 0.8rem;

  }

}

/* testing */

.card {
  /* display: contents; */

  background: #ffffff;

  padding: 0.5rem;

  border-radius: 12px;

  text-align: center;

  box-shadow: 0 4px 10px rgba(0,0,0,0.05);

}

  #videos {
  display: none;
}


.video-grid {

  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));

  gap: 1rem;

}



iframe {

  width: 100%;

  height: 200px;

  border-radius: 12px;

}

.contact {
  text-align: left;
  
}

.contact .section-subtitle {
  text-align: left;
}

.contact p,
.contact .map-link {
  text-align: center;
}

.clinic-images {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .contact p {
    padding: 0 15px;
  }
}



.appointment form {

  max-width: 500px;

  margin: auto;

  display: flex;

  flex-direction: column;

  gap: 0.8rem;

}



input, textarea {

  padding: 0.7rem;

  border-radius: 8px;

  border: 1px solid #ccc;

}



textarea {

  resize: vertical;

  min-height: 100px;

}



.status {

  text-align: center;

  margin-top: 0.5rem;

}



.whatsapp {
  display: none;

  text-align: center;

  background: #f0faf5;

  border-radius: 12px;

}



/* .contact {

  text-align: center;

} */



.disclaimer {

  font-size: 0.85rem;

  color: #666;

  margin-top: 1rem;

}



.footer {

  background: #ffffff;

  text-align: center;

  padding: 1.5rem 1rem;

  font-size: 0.85rem;

  border-top: 1px solid #eee;

}



@media (min-width: 768px) {

  .hero h1 {

    font-size: 2rem;

  }

}



/* Modal Overlay */

.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px); /* premium glass effect */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}


/* Scrollbar Styling */
.modal-content::-webkit-scrollbar {
  width: 6px;
}

/* Close Button */
.close-btn {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 24px;
  color: #666;
  cursor: pointer;
  transition: 0.2s;
}




.modal.active {

  display: flex; /* Show when active */

}



/* Modal Content Container */

/* Modal Box */
.modal-content {
  background: #ffffff;
  width: 100%;
  max-width: 800px;
  max-height: 80vh;
  border-radius: 16px;
  padding: 30px 28px;
  position: relative;

  /* Scroll */
  overflow-y: auto;

  /* Elegant shadow */
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);

  /* Smooth animation */
  animation: modalFade 0.3s ease;
}



/* Close Button (X) */

.close-btn {

  position: absolute;

  top: 10px;

  right: 15px;

  font-size: 2rem;

  color: #666;

  cursor: pointer;

  background: none;

  border: none;

  z-index: 10;

}
.modal-content p {
  line-height: 1.7;
  color: #444;
  margin-bottom: 10px;
}

/* Animation */
@keyframes modalFade {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}



.close-btn:hover {
  color: #000;
}
/* Typography inside modal */
.modal-content h3 {
  margin-bottom: 12px;
  color: #0A58CA;
}

.modal-content ul {
  padding-left: 18px;
  margin-bottom: 15px;
}

.modal-content li {
  margin-bottom: 6px;
}





/* Iframe for Article */

.modal-iframe {

  width: 100%;

  height: 450px; /* Adjustable height */

  border: none;

  border-radius: 0 0 12px 12px;

}



/* WhatsApp Link in Modal */

.modal-whatsapp {

  padding: 1rem;

  text-align: center;

  background: #f0faf5;

  border-top: 1px solid #e0e0e0;

}



.modal-whatsapp a {

  color: #2dbf6c;

  text-decoration: none;

  font-weight: bold;

}



.modal-whatsapp a:hover {

  /* text-decoration: underline; */

  margin: 0; /* Remove default margin */

}



/* Mobile Adjustments */

@media (max-width: 768px) {

  .modal-content {

    width: 95%;

    max-height: 90vh;

  }



  .modal-iframe {

    height: 300px;

  }



  .close-btn {

    font-size: 1.5rem;

  }


}
/* ================= CLINIC IMAGES ================= */

.clinic-images {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin: 20px auto;
  max-width: 900px;
}

.clinic-images img {
  width: 320px;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: transform 0.25s ease;
}

.clinic-images img:hover {
  transform: scale(1.05);
}

/* MOBILE VIEW */
@media (max-width: 768px) {
  .clinic-images {
    flex-direction: column;
  }

  .clinic-images img {
    width: 95%;
    height: 220px;
  }
}
.map-link {
  text-align: center;
  margin: 20px auto 10px;
}

.map-link a {
  display: inline-block;
  background: #f0f8ff;
  color: #2c7be5;
  padding: 10px 22px;
  border-radius: 30px;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid #cfe2ff;
  transition: all 0.25s ease;
}

.map-link a:hover {
  background: #2c7be5;
  color: #ffffff;
}
.schedule-btn {
  display: block;
  width: 100%;
  max-width: 720px;
  margin: 20px auto;
  padding: 16px 20px;

  background-color: #0a67b3;
  color: #ffffff;

  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;

  border-radius: 50px;
  border: none;
  cursor: pointer;

  box-shadow: 0 6px 18px rgba(10, 103, 179, 0.25);
  transition: all 0.25s ease;
}



/* Hover effect */
.schedule-btn:hover {
  background-color: #084f8a;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(10, 103, 179, 0.35);
}

/* Active (click) */
.schedule-btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(10, 103, 179, 0.25);
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .schedule-btn {
    font-size: 1rem;
    padding: 14px 18px;
    max-width: 90%;
  }
}

.hero-tagline {
  max-width: 700px;
  margin: 20px auto 0;
  line-height: 1.6;
}


.hero-text {
  text-align: center;
  max-width: 820px;
  margin: 45 auto;
  padding: 100px 20px 100px;
}

.doctor-name {
  font-size: 2.6rem;
  font-weight: 700;
  color: #1e3a8a;
  margin-bottom: 10px;
}

.doctor-meta {
  font-size: 1.05rem;
  color: #555;
  margin-bottom: 12px;
}

.doctor-meta .divider {
  margin: 0 8px;
  color: #bbb;
}

.divider {
  margin: 0 10px;
  opacity: 0.5;
}


.clinic-name {
  color: #2c7be5;
  font-weight: 600;
}

.hero-tagline {
  max-width: 720px;          /* controls line length */
  margin: 22px auto 0;       /* balanced spacing from meta line */
  font-size: 18px;
  line-height: 1.6;
  color: #333;
  text-align: center;
}
