
/* Global Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

/* Floating contact buttons */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  cursor: pointer;
  width: 60px;
  height: 60px;
}

.whatsapp-float img {
  width: 100%;
  height: auto;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.whatsapp-float img:hover {
  transform: scale(1.1);
}

/* Call now button - visible only on mobile */
.call-now-btn {
  display: none;
  position: fixed;
  bottom: 20px;
  left: 20px;
  background-color: #EE7825;
  color: white;
  padding: 12px 20px;
  border-radius: 30px;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 999;
  text-decoration: none;
  transition: all 0.3s ease;
}

.call-now-btn:hover {
  background-color: #d5671f;
  transform: translateY(-3px);
}

.call-now-btn i {
  margin-right: 8px;
}

body {
  font-family: Arial, sans-serif;
  background-color: #ffffff;
  color: #333;
  padding-top: 120px;
}

/* Header Styles */
header {
  background-color: #ffffff;
  border-bottom: 2px solid #e0e0e0;
  padding: 15px 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 0.8rem 1.5rem;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.logo img {
  height: 50px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  text-decoration: none;
  color: #0193C9;
  font-weight: 500;
  border-bottom: 2px solid transparent;
  transition: all 0.3s;
}

.nav-links a:hover {
  color: #FFA726;
  border-bottom: 2px solid #FFCC80;
}

.dropdown-menu {
  max-height: 0;
  overflow: hidden;
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  padding: 0 0;
  border-radius: 10px;
  min-width: 180px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transition: max-height 0.3s ease, padding 0.3s ease;
  z-index: 99;
}

.dropdown:hover .dropdown-menu {
  max-height: 500px; /* large enough to show all items */
  padding: 10px 0;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li {
  padding: 10px 20px;
  transition: background 0.3s ease;
}

.dropdown-menu li:hover {
  background-color: #f9f9f9;
}

.dropdown-menu a {
  color: #333;
  font-weight: 500;
  text-decoration: none;
  display: block;
}

.dropdown-menu a:hover {
  color: #EE7825;
}
.dots-menu {
  display: none;
  flex-direction: column;
  gap: 8px;
  cursor: pointer;
  padding: 5px;
}

.dots-menu span {
  width: 8px;
  height: 8px;
  background: #0193C9;
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.dots-menu:hover span {
  background-color: #FFA726;
}

.sidebar {
  position: fixed;
  top: 70px;
  right: -260px;
  width: 240px;
  background: #fff;
  height: calc(100% - 70px);
  overflow-y: auto;
  box-shadow: -2px 0 8px rgba(0,0,0,0.1);
  transition: right 0.4s ease;
  z-index: 11000; /* increased to be above header */
}

.sidebar.open {
  right: 0;
}

.sidebar-links {
  list-style: none;
  padding: 1rem;
  margin: 0;
}

.sidebar-links li {
  margin: 10px 0;
  font-size: 16px;
  cursor: pointer;
}

.sidebar-links a {
  text-decoration: none;
  color: #000;
  font-weight: 500;
  padding: 8px 10px;
  display: block;
  border-bottom: 2px solid transparent;
}

.sidebar-links a:hover {
  color: #ff9900;
  border-bottom: 2px solid #fcae5a;
}

.submenu {
  display: none;
  padding-left: 15px;
}

.submenu.open {
  display: block;
}

.submenu li {
  margin: 8px 0;
}

/* Responsive */
@media (max-width: 991px) {
  .nav-links,
  .appointment-btn {
    display: none !important;
    display: none;
  }

  .dots-menu {
    display: flex;
  }
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 11000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(5px);
  justify-content: center;
  align-items: center;
  padding: 15px;
}

.modal-content {
  background-color: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  border-radius: 12px;
  padding: 30px;
  max-width: 500px;
  width: 100%;
  position: relative;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  margin: 0 auto;
  overflow-y: auto;
  max-height: 90vh;
}

.close-btn {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 24px;
  color: #EE7825;
  cursor: pointer;
}


/* Right-aligned appointment button */
.appointment-btn {
  background-color: #179FC5;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 20px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
  white-space: nowrap;
  text-align: center;
  display: inline-block;
}

.appointment-btn:hover {
  background-color: #127fa0;
}

/* Close Button */
.close-btn {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 24px;
  color: #EE7825;
  cursor: pointer;
}

/* Form Styling */
.appointment-box h2 {
  margin-bottom: 20px;
  color: #179FC5;
  text-align: center;
}

.appointment-box form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.appointment-box label {
  font-weight: bold;
  color: #4F8525;
}

.appointment-box input {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
}

.appointment-box span {
  color: red;
}

/* Submit Button */
.appointment-box button[type="submit"] {
  background-color: #EE7825;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 25px;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.appointment-box button[type="submit"]:hover {
  background-color: #cf661e;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #ddf7ff 0%, #fbbb73 100%);
  padding: 60px 20px;
}

.hero-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hero-content {
  flex: 1;
  min-width: 300px;
}

.hero-content h1 {
  font-size: 2.5rem;
  font-weight: bold;
  color: #179FC5;
  margin-bottom: 20px;
  line-height: 1.4;
}

.hero-content .highlight {
  color: #EE7825;
}

.hero-content p {
  font-size: 1.125rem;
  color: #333;
  margin-bottom: 30px;
  line-height: 1.6;
}

.hero-content .appointment-btn {
  background-color: #EE7825;
  color: #fff;
  padding: 12px 28px;
  font-size: 16px;
  border: none;
  border-radius: 30px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: inline-block;
}

.hero-content .appointment-btn:hover {
  background-color: #d5671f;
}

/* Slideshow Styling */
.hero-slideshow {
  flex: 1;
  max-width: 500px;
  width: 100%;
  aspect-ratio: 16 / 10;  /* Makes it auto-adjust height */
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  border: 6px solid #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}
/* Services Section*/

.services {
  background-color: #fff7f1;
  padding: 60px 20px;
  text-align: center;
}

.services h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #179FC5;
}

.services-subtext {
  font-size: 1.125rem;
  margin-bottom: 40px;
  color: #555;
  padding: 0 10px;
}

.service-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

.service-cards .card {
  background-color: #ffffff;
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 25px 20px;
  width: 220px;
  transition: all 0.3s ease;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  flex: 0 0 auto;
  min-width: 220px;
  max-width: 100%;
}

.service-cards .card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.service-cards .card i {
  font-size: 38px;
  color: #EE7825;
  margin-bottom: 16px;
}

.service-cards .card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: #333;
}

.service-cards .card p {
  font-size: 0.875rem;
  color: #666;
  line-height: 1.4;
}
.services {
  position: relative;
  padding: 80px 20px;
  background-color: #f5f5f5;
  overflow: hidden;
  text-align: center;
  z-index: 1;
}

.services::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  max-width: 800px;
  background-image: url('images/ct.jpg'); /* ✅ Correct relative path */
  background-repeat: no-repeat;
  background-size: contain;
  background-position: left center;
  opacity: 0.08;
  z-index: 0;
}


/* Why Choose Us */
.why-choose {
  background: linear-gradient(to right, #179FC5, #127fa0);
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
}

.why-choose h2 {
  font-size: 36px;
  margin-bottom: 40px;
}

.why-choose .highlight-text {
  color: #fbc27c;
}

.why-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 769px) and (max-width: 1024px) {
  .why-choose h2 {
    font-size: 32px;
    margin-bottom: 30px;
  }
  
  .why-cards {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
  }
}

.why-card {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 30px 20px;
  border-radius: 12px;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.why-card:hover {
  transform: translateY(-8px);
  background-color: rgba(255, 255, 255, 0.1);
}

.why-card i {
  font-size: 36px;
  margin-bottom: 15px;
  color: #fbc27c;
}

.why-card h4 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #ffffff;
}

.why-card p {
  font-size: 14px;
  color: #f0f0f0;
  line-height: 1.6;
}
/* Testimonials Section */
/* Testimonials Auto Carousel */
.testimonials {
  background-color: #f5f8fa;
  padding: 60px 20px;
  text-align: center;
  overflow: hidden;
}

.testimonials h2 {
  font-size: 2rem;
  color: #179FC5;
  margin-bottom: 30px;
}

.testimonial-scroll {
  overflow: hidden;
  position: relative;
  margin: 0 auto;
  max-width: 100%;
}

.testimonial-track {
  display: flex;
  gap: 24px;
  animation: scrollTestimonials 60s linear infinite;
}

.testimonial-card {
  flex: 0 0 300px;
  background-color: #ffffff;
  padding: 20px;
  border-radius: 16px;
  border-left: 5px solid #EE7825;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  font-style: normal;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.testimonial-card p {
  font-size: 16px;
  color: #333;
  line-height: 1.6;
  margin-bottom: 10px;
}

.testimonial-card h4 {
  margin: 0;
  font-weight: 600;
  color: #444;
}

.stars {
  font-size: 18px;
  margin-bottom: 8px;
  color: #f4b400; /* Gold */
}

/* Keyframes for scroll */
@keyframes scrollTestimonials {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* Responsive fallback */
@media (max-width: 768px) {
  .testimonial-card {
    flex: 0 0 280px;
  }
  
  .testimonial-scroll {
    width: 100%;
  }
}
/* doctor section  */
.doctor-highlight {
  background-color: #f77f00; /* Orange background */
  padding: 4rem 1rem;
}

.doctor-wrapper {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
}

.doctor-text {
  flex: 1 1 50%;
  color: white;
  padding: 0 15px;
}

.doctor-text h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.doctor-text h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #fffbea;
}

.doctor-text p {
  font-size: 1rem;
  line-height: 1.7;
}

.doctor-image-box {
  flex: 1 1 40%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
}

.doctor-image-box img {
  width: 100%;
  max-width: 400px;
  border-radius: 10px;
  display: block;
  height: auto;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.image-line {
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 4px;
  background-color: white;
  border-radius: 4px;
  z-index: 1;
}

.doctor-image-box img {
  z-index: 2;
  position: relative;
}

@media (min-width: 769px) and (max-width: 1024px) {
  .doctor-highlight {
    padding: 3rem 1rem;
  }
  
  .doctor-wrapper {
    gap: 1.5rem;
  }
  
  .doctor-text h2 {
    font-size: 1.75rem;
  }
  
  .doctor-text h4 {
    font-size: 1.1rem;
  }
  
  .doctor-text p {
    font-size: 0.95rem;
  }
}

/* Gallery Section */
.gallery {
  padding: 60px 20px;
  background-color: #f2f2f2;
  text-align: center;
}

.gallery h2 {
  font-size: 2rem;
  color: #179FC5;
  margin-bottom: 30px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 15px;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-grid img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
  backface-visibility: hidden;
}

.gallery-grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Add loading attribute for better image performance - This should be added directly to HTML elements */
.gallery-grid img,
.hero-slideshow img,
.doctor-image-box img {
  /* Remove loading property as it's not valid CSS */
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 10px;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
  object-fit: contain;
}


/* flex for moble */
/* Responsive Adjustments - Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
  body {
    padding-top: 100px;
  }
  
  .nav-wrapper {
    padding: 0 15px;
  }
  
  .logo img {
    max-width: 280px;
  }
  
  .nav-container {
    gap: 15px;
  }
  
  .nav-container a {
    font-size: 14px;
  }
  
  .hero-content h1 {
    font-size: 2.2rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .service-cards .card {
    width: 180px;
  }
  
  .doctor-text h2 {
    font-size: 1.8rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
  
  .gallery-grid img {
    height: 160px;
  }
}

/* Responsive Adjustments - Mobile */
@media (max-width: 768px) {
  body {
    padding-top: 90px;
  }
  
  .nav-wrapper {
    flex-direction: column;
    gap: 10px;
  }

  .nav-container {
    width: 100%;
    display: none;
    flex-direction: column;
    background-color: white;
    padding: 10px;
  }

  .hero-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero-content,
  .hero-slideshow {
    flex: 1 1 100%;
    max-width: 100%;
  }
  
  .hero-slideshow {
    max-width: 90%;
    margin: 0 auto;
  }

  .doctor-wrapper {
    flex-direction: column-reverse;
    text-align: center;
  }

  .doctor-text,
  .doctor-image-box {
    flex: 1 1 100%;
  }
  
  .image-line {
    display: none;
  }

  .service-cards {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .service-cards .card {
    width: 45%;
    min-width: 140px;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }
  
  .social-icons {
    justify-content: center;
  }

  .hero-content h1 {
    font-size: 2rem;
    line-height: 1.3;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .appointment-btn {
    padding: 8px 18px;
    font-size: 15px;
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
    display: block;
  }

  .modal-content {
    width: 90%;
    padding: 25px 15px;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
  }
  
  .gallery-grid img {
    height: 140px;
  }

  .testimonial-track {
    animation: scrollTestimonials 30s linear infinite;
    gap: 15px;
  }
  
  .testimonial-card {
    flex: 0 0 260px;
  }

  .why-cards {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
  }
  
  /* Display call button on mobile only */
  .call-now-btn {
    display: flex;
    align-items: center;
  }
}
/* Hamburger Styling */
.hamburger {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: #EE7825;
  padding: 5px 10px;
}

/* Responsive Menu */
@media (max-width: 768px) {
  .nav-wrapper {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .hamburger {
    display: flex;
    align-items: center;
  }
  
  .hamburger i {
    font-size: 28px;
  }

  .nav-container {
    flex-direction: column;
    display: none;
    width: 100%;
    background-color: white;
    padding: 10px 0;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    margin-top: 10px;
  }

  .nav-container.active {
    display: flex;
  }

  .nav-container a {
    padding: 12px 0;
    font-size: 16px;
    border-bottom: 1px solid #f0f0f0;
    width: 100%;
    text-align: center;
  }
  
  .nav-container a:last-child {
    border-bottom: none;
  }

  .dropdown-content {
    position: static;
    box-shadow: none;
    background-color: #f9f9f9;
    padding: 0;
    width: 100%;
  }
  
  .dropdown-content a {
    padding-left: 20px;
    font-size: 14px;
    border-bottom: 1px solid #eaeaea;
  }

  .appointment-btn {
    margin: 15px auto;
    width: 90%;
    text-align: center;
    display: block;
  }
}


@media (max-width: 768px) {
  body {
    padding-top: 90px;
  }

  .nav-wrapper,
  .hero-inner,
  .doctor-wrapper,
  .ct-container,
  .footer-container,
  .gallery-grid,
  .contact-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .nav-container {
    flex-direction: column;
    width: 100%;
    display: none;  /* Toggled by hamburger menu */
  }

  .hamburger {
    display: block;
  }

  .hero-content,
  .hero-slideshow,
  .doctor-text,
  .doctor-image-box {
    flex: 1 1 100%;
    max-width: 100%;
  }
  
  .service-cards .card {
    flex: 0 0 45%;
    min-width: 150px;
  }
  
  .package-card {
    flex: 1 1 100%;
    max-width: 100%;
    margin-bottom: 20px;
  }

  .appointment-btn {
    width: auto;
    max-width: 250px;
    margin: 10px auto;
    font-size: 1rem;
    display: block;
  }

  img {
    max-width: 100%;
    height: auto;
  }

  .package-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-links,
  .footer-contact {
    text-align: center;
    width: 100%;
  }

  .hero-content h1 {
    font-size: 2rem;
    line-height: 1.3;
  }

  .hero-content p,
  .about-text p {
    font-size: 1rem;
    line-height: 1.5;
  }
}


/* Hero */
.ct-hero {
  background: linear-gradient(135deg, #def8ff, #ffe4c9);
  text-align: center;
  padding: 100px 20px;
}

.ct-hero-inner h1 {
  font-size: 42px;
  color: #179FC5;
}

.ct-hero-inner p {
  font-size: 18px;
  max-width: 800px;
  margin: 20px auto;
}

.highlight {
  color: #EE7825;
}

/* Sections */
.ct-section {
  padding: 80px 20px;
}

.ct-section.light {
  background: #f9f9f9;
}

.ct-section.dark {
  background: #ffffff;
}

.ct-container {
  display: flex;
  max-width: 1300px;
  margin: 0 auto;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap;
}

.ct-container.reverse {
  flex-direction: row-reverse;
}

.ct-text, .ct-image {
  flex: 1 1 45%;
  min-width: 300px;
}

.ct-text h2 {
  font-size: 28px;
  color: #179FC5;
  margin-bottom: 10px;
}

.ct-text p {
  font-size: 16px;
  margin-bottom: 12px;
}

.ct-text ul {
  list-style: none;
  padding-left: 0;
}

.ct-text ul li {
  margin-bottom: 10px;
  font-size: 16px;
}

.ct-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

/* Responsive */
@media (max-width: 768px) {
  .ct-container {
    flex-direction: column;
  }

  .ct-container.reverse {
    flex-direction: column;
  }
}


/* Book Now CTA */
.book-now {
  background-color: #127fa0;
  color: white;
  padding: 40px 20px;
  text-align: center;
}

.book-now h2 {
  margin-bottom: 10px;
  font-size: 1.75rem;
}

.book-now p {
  margin-bottom: 20px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.book-now .appointment-btn {
  background-color: #EE7825;
  display: inline-block;
  margin: 0 auto;
  max-width: 250px;
}

/* Hero */
.ct-hero {
  background: linear-gradient(135deg, #def8ff, #ffe4c9);
  text-align: center;
  padding: 100px 20px;
}

.ct-hero-inner h1 {
  font-size: 42px;
  color: #179FC5;
}

.ct-hero-inner p {
  font-size: 18px;
  max-width: 800px;
  margin: 20px auto;
}

.highlight {
  color: #EE7825;
}

/* Sections */
.ct-section {
  padding: 80px 20px;
}

.ct-section.light {
  background: #f9f9f9;
}

.ct-section.dark {
  background: #ffffff;
}

.ct-container {
  display: flex;
  max-width: 1300px;
  margin: 0 auto;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap;
}

.ct-container.reverse {
  flex-direction: row-reverse;
}

.ct-text, .ct-image {
  flex: 1 1 45%;
  min-width: 300px;
}

.ct-text h2 {
  font-size: 28px;
  color: #179FC5;
  margin-bottom: 10px;
}

.ct-text p {
  font-size: 16px;
  margin-bottom: 12px;
}

.ct-text ul {
  list-style: none;
  padding-left: 0;
}

.ct-text ul li {
  margin-bottom: 10px;
  font-size: 16px;
}

.ct-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

/* Responsive */
@media (max-width: 768px) {
  .ct-container {
    flex-direction: column;
  }

  .ct-container.reverse {
    flex-direction: column;
  }
}

/* Health Packages */
.health-packages {
  background-color: #fff8f0;
  padding: 4rem 2rem;
  font-family: Arial, sans-serif;
}

.health-packages .container {
  max-width: 1200px;
  margin: auto;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-title span {
  color: #ff6600;
}

.section-description {
  text-align: center;
  color: #555;
  margin-bottom: 2.5rem;
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.package-card {
  background: #ffffff;
  border: 2px solid #ff6600;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.package-card:hover {
  transform: translateY(-5px);
}

.package-card h3 {
  font-size: 1.4rem;
  color: #ff6600;
  margin-bottom: 1rem;
}

.package-card ul {
  list-style: none;
  padding-left: 1rem;
  color: #333;
}

.package-card ul li {
  position: relative;
  margin-bottom: 0.5rem;
  padding-left: 1rem;
}

.package-card ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #ff6600;
}



/*  about Styles */
.about-hero, .about-slide, .about-slide-alt {
  padding: 80px 20px;
}

.about-hero {
  background: linear-gradient(135deg, #ddf7ff 0%, #fbbb73 100%);
}

.about-slide {
  background: linear-gradient(135deg, #fef6f0 0%, #d8f2ff 100%);
}

.about-slide-alt {
  background: linear-gradient(135deg, #fff 0%, #e8f9ff 100%);
}

.hero-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hero-inner.reverse {
  flex-direction: row-reverse;
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-text h1,
.about-text h2 {
  font-size: 36px;
  font-weight: bold;
  color: #179FC5;
  margin-bottom: 20px;
}

.about-text .highlight {
  color: #EE7825;
}

.about-text p {
  font-size: 18px;
  color: #333;
}

.about-text ul {
  font-size: 18px;
  padding-left: 20px;
  list-style: none;
}

.about-text ul li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.about-text ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #EE7825;
  font-weight: bold;
}

.about-image {
  flex: 1;
  text-align: center;
}

.about-image img {
  max-width: 500px;
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Animation Styles */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate {
  opacity: 0;
  transition: opacity 0.5s ease-out;
}

.fade-up.in-view {
  animation: fadeInUp 1s forwards ease-out;
}

.fade-left.in-view {
  animation: fadeInLeft 1s forwards ease-out;
}

.fade-right.in-view {
  animation: fadeInRight 1s forwards ease-out;
}
img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

a {
  text-decoration: none;
}

/* Hero Section */
.hero-section {
  display: flex;
  flex-wrap: wrap;
  padding: 60px 5%;
  align-items: center;
  background: linear-gradient(135deg, #ddf7ff 0%, #fbbb73 100%);
  animation: fadeIn 1s ease-in;
}

.hero-text {
  flex: 1;
  padding-right: 30px;
}

.hero-text h1 { 
  font-size: 42px;
  color: #179fc5;
  margin-bottom: 20px;
}

.hero-text p {
  font-size: 18px;
  margin-bottom: 25px;
}

.book-btn {
  background: #ee7825;
  padding: 10px 20px;
  color: #fff;
  border-radius: 8px;
  transition: 0.3s;
}

.book-btn:hover {
  background: #d5671d;
}

.hero-img {
  flex: 1;
  text-align: center;
}
/* x- ray*/

.xray-hero {
  text-align: center;
  margin-bottom: 2rem;
}

.hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.scan-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin: 3rem 0;
}

.scan-text {
  flex: 1 1 45%;
  padding: 1rem;
}

.scan-img {
  flex: 1 1 45%;
  text-align: center;
}

.scan-img img {
  width: 480px;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
}


.slide-left {
  animation: slideInLeft 0.8s ease;
}

.slide-right {
  animation: slideInRight 0.8s ease;
}

@keyframes slideInLeft {
  from { transform: translateX(-50px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes slideInRight {
  from { transform: translateX(50px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}



/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 1s ease forwards;
}

.slide-left {
  animation: slideUp 1s ease-in-out;
}

.slide-right {
  animation: slideUp 1s ease-in-out;
}

/* Lab Section */
.lab-hero {
  padding: 80px 20px;
  background: linear-gradient(135deg, #ddf7ff 0%, #fbbb73 100%);
  position: relative;
  overflow: hidden;
}

.lab-hero::before {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 10%, transparent 11%);
  background-size: 50px 50px;
  animation: moveBackground 30s linear infinite;
  top: -50%;
  left: -50%;
  z-index: 0;
}

@keyframes moveBackground {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(50px, 50px);
  }
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.lab-text {
  flex: 1;
  min-width: 300px;
}

.lab-text h1 {
  font-size: 36px;
  font-weight: bold;
  color: #179FC5;
  margin-bottom: 20px;
}

.lab-text .highlight {
  color: #EE7825;
}

.lab-text p {
  font-size: 18px;
  color: #333;
}

.lab-image {
  flex: 1;
  text-align: center;
}

.lab-image img {
  max-width: 500px;
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Services Section */
.lab-section {
  padding: 60px 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.lab-service {
  margin-bottom: 40px;
}

.lab-service h2 {
  font-size: 28px;
  color: #179FC5;
  margin-bottom: 10px;
}

.lab-service p {
  font-size: 17px;
  color: #444;
}

/* Animation Styles */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate {
  opacity: 0;
  transition: opacity 0.5s ease-out;
}

.fade-up.in-view {
  animation: fadeInUp 1s forwards ease-out;
}

.fade-left.in-view {
  animation: fadeInLeft 1s forwards ease-out;
}

.fade-right.in-view {
  animation: fadeInRight 1s forwards ease-out;
}



/*  health check up */
.hp-hero-section {
  text-align: center;
  padding: 100px 20px;
  background: linear-gradient(135deg, #ddf7ff 0%, #fbbb73 100%);
  position: relative;
  overflow: hidden;
}

.hp-animated-bg::before {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -50%;
  background-image: radial-gradient(circle, rgba(255,255,255,0.3) 20%, transparent 70%);
  animation: bg-bubble 30s infinite linear;
  z-index: 0;
}

@keyframes bg-bubble {
  from { transform: translate(0, 0); }
  to { transform: translate(80px, 80px); }
}

.hp-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.hp-hero-content h1 {
  font-size: 40px;
  margin-bottom: 20px;
  color: #179FC5;
}

.hp-highlight {
  color: #EE7825;
}

.hp-hero-content p {
  font-size: 18px;
}

/* Section Layout */
.hp-section {
  padding: 80px 20px;
}

.hp-section-light {
  background: #f9f9f9;
}

.hp-section-dark {
  background: #ffffff;
}

.hp-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.hp-layout-left .hp-image-wrapper {
  order: 1;
}
.hp-layout-left .hp-text-wrapper {
  order: 2;
}

.hp-layout-right .hp-image-wrapper {
  order: 2;
}
.hp-layout-right .hp-text-wrapper {
  order: 1;
}

.hp-image-wrapper, .hp-text-wrapper {
  flex: 1 1 45%;
  min-width: 300px;
}

.hp-image-wrapper img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.hp-text-wrapper h2 {
  font-size: 28px;
  color: #179FC5;
  margin-bottom: 10px;
}

.hp-text-wrapper p {
  font-size: 16px;
  margin-bottom: 10px;
  color: #444;
}

/* Scroll Animations */
.hp-fade-left, .hp-fade-right {
  opacity: 0;
  transform: translateX(60px);
  transition: all 1s ease;
}

.hp-fade-left.in-view {
  opacity: 1;
  transform: translateX(0);
}

.hp-fade-right {
  transform: translateX(-60px);
}

.hp-fade-right.in-view {
  opacity: 1;
  transform: translateX(0);
}

/* Responsive */
@media (max-width: 768px) {
  .hp-container {
    flex-direction: column;
  }

  .hp-layout-right .hp-image-wrapper,
  .hp-layout-right .hp-text-wrapper,
  .hp-layout-left .hp-image-wrapper,
  .hp-layout-left .hp-text-wrapper {
    order: unset;
  }
}
/* contact page*/
/* Hero Section */
.contact-hero {
  background: linear-gradient(135deg, #f9e9d2, #fbbb73);
  text-align: center;
  padding: 80px 20px;
}

.hero-content h1 {
  font-size: 40px;
  color: #333;
}

.hero-content .highlight {
  color: #EE7825;
}

.appointment-btn {
  margin-top: 20px;
  background-color: #179FC5;
  color: #fff;
  border: none;
  padding: 12px 25px;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
}

/* Contact Section */
/* Hero Section */
.contact-hero {
  background: linear-gradient(135deg, #f9e9d2, #fbbb73);
  text-align: center;
  padding: 80px 20px;
}

.hero-content h1 {
  font-size: 40px;
  color: #333;
}

.hero-content .highlight {
  color: #EE7825;
}

.appointment-btn {
  margin-top: 20px;
  background-color: #179FC5;
  color: #fff;
  border: none;
  padding: 12px 25px;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
}

/* Contact Section */
.contact-hero {
  background: linear-gradient(135deg, #f9e9d2, #fbbb73);
  text-align: center;
  padding: 80px 20px;
}

.hero-content h1 {
  font-size: 40px;
  color: #333;
}

.hero-content .highlight {
  color: #EE7825;
}

.appointment-btn {
  margin-top: 20px;
  background-color: #179FC5;
  color: #fff;
  border: none;
  padding: 12px 25px;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 60px 20px;
  background-color: #fff5e6;
  gap: 40px;
}

.contact-details {
  flex: 1;
  min-width: 280px;
}

.contact-details h2 {
  font-size: 28px;
  color: #179FC5;
  margin-bottom: 15px;
}

.contact-details p {
  font-size: 18px;
  margin-bottom: 10px;
  color: #444;
}

.contact-details a {
  color: #179FC5;
  text-decoration: none;
}

.social-icons {
  margin-top: 20px;
}

.social-icons a {
  font-size: 24px;
  margin-right: 15px;
  color: #EE7825;
  transition: 0.3s;
}

.social-icons a:hover {
  color: #179FC5;
}

.map-container {
  flex: 1;
  min-width: 300px;
  height: 350px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  border: 0;
}

@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
  }
  
  .contact-details, .map-container {
    width: 100%;
  }
  
  .map-container {
    height: 250px;
    margin-top: 20px;
  }
}

/* Contact Map and Get in Touch Section */

@media (min-width: 769px) and (max-width: 1024px) {
  .contact-container {
    gap: 20px;
  }
}
/* script*/
@media (max-width: 768px) {
  .dropdown-content {
    display: none;
  }

  .dropdown-content.show-dropdown {
    display: block;
  }
}



/* Footer Styles */
footer {
  background-color: #179FC5;
  color: #ffffff;
  padding: 40px 20px 10px;
  font-size: 14px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 30px;
}

.footer-left {
  flex: 1;
  min-width: 200px;
}

.footer-left img {
  margin-bottom: 15px;
  max-width: 100%;
  height: auto;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.social-icons a {
  font-size: 20px;
  color: white;
  transition: transform 0.3s, color 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}

.social-icons a:hover {
  color: #EE7825;
  transform: scale(1.2);
}

.footer-links {
  flex: 1;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links h4 {
  margin-bottom: 10px;
  font-size: 16px;
  color: #ffffff;
}

.footer-links a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s;
  padding: 4px 0;
}

.footer-links a:hover {
  color: #EE7825;
  text-decoration: underline;
}

.footer-contact {
  flex: 1;
  min-width: 200px;
}

.footer-contact h4 {
  margin-bottom: 10px;
  font-size: 16px;
}

.footer-contact p {
  line-height: 1.6;
  margin-bottom: 8px;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 13px;
  color: #ffffff;
}


/* Enhanced Appointment Button Styles */

.appointment-btn {
  background: linear-gradient(135deg, #179FC5, #127fa0);
  box-shadow: 0 4px 14px rgba(23, 159, 197, 0.4);
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
}
.appointment-btn:hover {
  background: linear-gradient(135deg, #127fa0, #0d5f7a);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}
