/*Header*/
 /* ===========================
   MOBILE & TABLET RESPONSIVE STYLES
=========================== */
/* Hide .header-top on mobile */
@media screen and (max-width: 1024px) {
  .header-top {
    display: none;
  }
  .header-inner {
    padding: 1.5rem 0px;
}

  /* Show hamburger button only on mobile */
  #nav-toggle {
    display: block; 
    left: 10px;
  }

  
button#nav-toggle.active span.bar {
  background: #fff;
}

  /* Hide the menu by default on mobile */
  .site-nav .menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(0 0 0 / 50%);
    flex-direction: column;
    padding-top: 4rem;
    transform: translateX(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 9999;
}

.site-nav .menu::before {
    content: "";
    position: absolute;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    left: 0;
    width: 85%; /* Width of the overlay */
    height: 100%; /* Full height */
    z-index: 9980; /* Overlay should be behind the menu */
}

.site-nav .menu.active {
    transform: translateX(0); /* Slide the menu in */
    opacity: 1; /* Make the menu visible */
    pointer-events: auto; /* Enable interaction */
}

  /* When menu is open, slide it in */
  .site-nav .menu.open {
    transform: translateX(0);
    opacity: 1;
    text-align: center;
    pointer-events: auto;
  }

  .menu a {
    padding: 0;
    font-size: 15px;
    text-align: center;
  }

  /* Hide Appointment Button */
  .appBtn {
    display: none;
  }

  /* Show Appointments link */
  li.appointments_b a {
    display: block;
    margin-left: 0px;
    text-align: center;
}
}


/* ===========================
   FULLSCREEN MENU FIX
=========================== */

  /*Slider*/
   
  /* Responsive */
  @media (max-width: 820px) {
    #hero-slider,.slide-bg img {
      height: 400px;
    }
    .slide-content-wrapper {
      left: 50%;
      transform: translate(-50%, -50%);
      text-align: center;
      width: 100%;
    }
    .slide-content{
      max-width: 100%;
      padding: 0px 90px;
    }
    .slide-title {
      font-size: 1.6rem;
    }
    .slide-desc {
      font-size: 0.9rem;
    }
    .swiper-button-next,
    .swiper-button-prev {
      width: 30px;
      height: 30px;
    }
  }
  /* Responsive: align arrows with container on mobile */
 @media (max-width: 500px) {
    .slide-content {
        max-width: 100%;
        color: #fff;
        opacity: 0;
        padding: 10px 40px;
      }

.nav-direction .swiper-button-prev,
.nav-direction .swiper-button-next {
  margin: 0px;
}
 }
 
/* Tablet */
@media (max-width: 992px) {

  .swiper-button-prev {
    left: 30px !important;
  }

  .swiper-button-next {
    right: 30px !important;
  }

}

/* Mobile */
@media (max-width: 768px) {

  .swiper-button-prev {
    left: 15px !important;
  }

  .swiper-button-next {
    right: 15px !important;
  }

}
  
@media (max-width: 500px) {

  .swiper-button-prev {
    left: 1px !important;
  }

  .swiper-button-next {
    right: 1px !important;
  }

}
 /*Footer*/
  /* RESPONSIVE */
  @media(min-width:720px){
    .cards-grid{grid-template-columns:repeat(2,1fr)}
    .hero{grid-template-columns:1fr 1fr}
  }
  @media(min-width:1100px){
    .cards-grid{grid-template-columns:repeat(4,1fr)}
  }
  

  @media(max-width:1024px) {
    .about-us-grid {
      grid-template-columns: 1fr;
      gap: 10px;
  }
  .about-us{
    padding: 50px;
  }
  }


/* Responsive */
@media (max-width: 504px) {
  .about-us {
      padding: 10px;
      margin-top: 20px;
  }
  .about-us-text h2 {
    font-size: 2rem;
}
#about-us-home {
  padding: 0px;
}
}
  /* Responsive */

@media (max-width: 640px) {
  .services-slider {
    padding-bottom: 2rem;
  }
  .about-services .section-header h2 {
    font-size: 1.8rem;
  }
}

/*Steps*/
@media (max-width: 1024px) {
  .step-1 {
    left: 0%;
  }
  .step-2 {
    left: -1%;
}
.step-3 {
  right: 69%;
}
.step-4 {
  left: 69%;
}
.step-5 {
  bottom: 50%;
  left: 72%;
}
}
@media (max-width: 820px) {
.process-center {
  transform: translate(-72%, -2%);
  width: 520px;
  height: 520px;
}
}
@media (max-width: 500px) {
  .process-center {
      transform: translate(-61%, -2%);
      width: 320px;
      height: 320px;
  }
  .pulse-ring {
    width: 350px;
      height: 350px;
  }
  .pulse-rings {
    width: 380px;
    height: 380px;
  }
}
@media (max-width: 380px) {
  .process-center {
      transform: translate(-56%, -2%);
  }
}
@media (max-width: 330px) {
  .process-center {
      transform: translate(-51%, -2%);
      width: 300px;
      height: 300px;
  }
}

/* Why */
@media (max-width: 500px) {
  .why-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .why-item {
    justify-content: center;
    text-align: left;
  }
  .why-image{
    overflow: hidden;
    height: 380px;

  }
  .why-image img{
    object-fit: cover;
  }
  .why-header h2 {
font-size: 29px;
}
}

/*Whatsapp*/
@media (max-width: 1024px) {
.whatsapp-chat, .whatsapp-chat.open {
  max-width: 300px;
}
}

@media (max-width: 500px) {
.whatsapp-widget {
  right: -18px;
}
}
@media (max-width: 400px) {
  .whatsapp-widget {
    right: -20px;
  }
  .whatsapp-chat.open {
    right: 30px;
}
.whatsapp-chat, .whatsapp-chat.open {
  max-width: 250px;
}
  }

/*Partner*/
@media (max-width: 500px) {
.swiper-button-next, .swiper-button-prev {
        margin-top: calc(0px - var(--swiper-navigation-size) / 2);
        top: var(--swiper-navigation-top-offset, 102%);
    }
}
/*Home Appointment*/
@media (max-width: 500px) {
  .appointment-info,.appointment-form {
    padding: 20px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
  }

  /*Call Section*/
@media (max-width: 980px) {
  .call-form {
    padding: 50px;
}
  }

  @media (max-width: 992px) {
    .call-wrapper {
      grid-template-columns: 1fr;
      gap: 10px;
    }
  }

@media (max-width: 450px) {
  .call-form,.call-info {
    padding: 20px;
}
.call-info h2 {
  font-size: 30px;
}
  }
  @media (max-width: 824px) {
    .testimonials::before {
      content: "";
      position: absolute;
      inset: 0;
      background: #005678;
      background: linear-gradient(90deg, rgba(0, 50, 69, 0.881) 50%, rgba(1, 1, 16, 0.851) 100%);
      z-index: -1;
  }
    .section-testimonial{
      text-align: center;
      width: 100%;
      padding: 20px;
    }
    .section-testimonial h2{
      text-align: center;
    }
    .section-testimonial p{
      text-align: center;
    }
  .testimonial-slider {
    width: 100%;
    float: left;
}
  }
  @media (max-width: 500px) {
  .swiper-backface-hidden .swiper-slide{
    padding: 0;
  }
    .section-testimonial {
        padding: 10px;
    }
    .section-testimonial h2{
      text-align: center;
      font-size: 1.4rem;
    }
}

@media (max-width: 408px) {

  .swiper-button-next,
  .swiper-button-prev {
    top: auto !important;
    bottom: 100px !important;   /* move below slider */
  }

}
/*faq*/
@media (max-width: 768px) {
.faq-intro p {
  color: #555;
  max-width: 100%;
}
}
@media (max-width: 568px) {
  .faq-intro h2 {
    font-size: 1.7rem;
    margin-bottom: 16px;
}
  }
/*Breadcrumb*/
@media (max-width: 820px) {
  .page-hero h1 {
    font-size: 2rem;
  }
  }
/*About Us*/
@media (max-width: 820px) {
  .about-history h1 {
    padding: 10px;
}
  }

  @media (max-width: 500px) {
    .about-history {
      padding: 0px;
  }
  .about-mission-vision .grid .vision {
    padding: 0px;
}
.vision ul{
  padding: 10px;
}
    }
 
/*Contact*/
@media (max-width: 500px) {
  .contact-info-box, .contact-form-box{
  padding: 10px;
}
}

/*health-plan-banner*/
@media screen and (max-width: 500px) {
  .health-plan-banner {
    margin: 4px;
}
}

/*Services*/
@media screen and (max-width: 820px) {
.gh-service-icon {
  font-size: 4.8rem;
  color: #007BFF;
  margin-right: 10px;
}
}

/*Support*/
@media screen and (max-width: 500px) {
  .support-box small{
    font-size: 1.5rem;
    margin-bottom: 40px;
  }
  .support-box span{
    display: none;
  }

.support-box strong a {
  display: block;
        font-weight: 500;
  font-size: 1rem;
}
.appointment-info h2 {
  font-size: 29px;
}
}
/*subscribe-modal*/

@media screen and (max-width: 820px) {
  .newsletter-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .newsletter-text {
    width: 100%;
    max-width: 500px;
    margin-bottom: 20px;
  }

  .newsletter-image {
    display: none;
  }

  .newsletter-image img {
    transform: translateY(0); /* Remove floating effect on smaller screens */
  }
}
@media screen and (max-width: 500px) {
  .newsletter-content{
    height: auto;
    padding: 20px;
  }
  .newsletter-text h2 {
    font-size: 2rem;
  }
  .newsletter-form {
    display: block;
    width: 100%;
    gap: 10px;
}
.newsletter-form .btn {
  width: 100%;
  margin-top: 10px;
}
}
@media screen and (max-width: 400px) {

.newsletter-text h2 {
  font-size: 1.5rem;
}
.newsletter-text p {
  font-size: 1rem;
}
}
/*Footer*/
/* Tablet */
@media (max-width: 992px) {
  .footer-inner {
      grid-template-columns: repeat(2, 1fr);
      padding: 20px;
  }
}

/* Mobile */
@media (max-width: 576px) {
  .footer-inner {
      grid-template-columns: 1fr;

  }
}