/* ========== Responsive Adjustments ========== */
@media (max-width: 992px) {
  header ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  .hero-content {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }



  .banner {
    height: 400px;
  }

  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }

  footer {
    flex-wrap: wrap;
    gap: 30px;
  }

  .testimonial-card {
    width: 100%;
    max-width: 90%;
  }
}
@media (max-width: 768px) {
  .logo-container {
    display: flex;
    flex-direction: column;
    align-items: left;
    text-align: center;
    width: 100%;
  }

  .logo-text h1 {
    font-size: 20px;
    margin-bottom: 5px;
  }

  .logo-text p {
    font-size: 14px;
    line-height: 1.4;
  }
}


@media (max-width: 768px) {
  .banner {
    height: auto;
    aspect-ratio: 16 / 9;
    position: relative;
  }

  .banner img.mySlides1 {
    position: relative;
    width: 100%;
    height: auto;
    object-fit: contain;
    display: none;
  }

  header ul {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 16px;
  }

  .getappoinment {
    width: auto;
    padding: 10px 20px;
    font-size: 14px;
    height: auto;
    white-space: nowrap;
  }

}

@media (max-width: 576px) {
  .logo-text h1 {
    font-size: 1.5em;
  }

  .logo-text h3,
  .logo-text p {
    font-size: 1em;
  }

  .doctor-right h2 {
    font-size: 18px;
  }

  .descaboutashish h2 {
    font-size: 28px;
    text-align: center;
  }

  .descaboutashish span {
    font-size: 20px;
  }

  .descaboutashish p {
    font-size: 16px;
    padding: 0 10px;
  }

  .section-title21 {
    font-size: 28px;
  }

  .form-group {
    flex-direction: column;
  }

  .consultation-form input,
  .consultation-form textarea {
    font-size: 14px;
  }
  .consultation-form input {
    padding-right: 10px;
  }

  .gallery-grid img {
    max-width: 100%;
  }

  .testimonial-card {
    padding: 20px;
  }

  .blog-title {
    font-size: 1.5em;
  }

  .accordion-btn {
    font-size: 1em;
    padding: 8px;
  }

  .footer-logo img {
    width: 180px;
  }
}
/* Hide toggle button by default */
#menu-toggle {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  color: #1976d2;
}

/* Hide mobile menu by default */
#mobile-menu.hidden {
  display: none;
}

/* Hide desktop menu on mobile, show toggle button */
@media (max-width: 768px) {
  .desktop-menu {
    display: none;
  }

  #menu-toggle {
    display: block;
  }

  #mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: white;
  }

  #mobile-menu ul li {
    border-bottom: 1px solid #1976d2;
  }

  #mobile-menu ul li a {
    display: block;
    padding: 12px 20px;
    color: #1976d2;
    text-decoration: none;
    background-color: aliceblue;
  }
   

  #mobile-menu ul li a:hover {
    background-color: #1976d2;
    color: white;
  }
}
@media (max-width: 768px) {
  /* Float the Get Appointment button */
  .getappoinment {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    background-color: #1976d2;
    color: white;
    border-radius: 50px;
    padding: 12px 20px;
    font-size: 14px;
    width: auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  }

  .social-icons{
    display: flex;
    justify-content: center;
    

  }
  /* Move menu toggle button to right */
  #menu-toggle {
    position: absolute;
    top: 20px;
    right: 20px;
  }

  /* Ensure header is positioned relative for #menu-toggle to align */
  header {
    position: relative;
  }

  /* Hide desktop menu on mobile */
  .desktop-menu {
    display: none;
  }
}
/* Hide by default */
#mobile-menu.hidden {
  display: none !important;
}

/* Show toggle and hide desktop menu in mobile */
@media (max-width: 768px) {
  .desktop-menu {
    display: none;
  }

  #menu-toggle {
    display: block;
    font-size: 24px;
    cursor: pointer;
  }

  #mobile-menu {
    display: block;
  }

  #mobile-menu ul {
    list-style: none;
    background-color: #c3f3e3;
    margin: 0;
    padding: 0;
  }

  #mobile-menu ul li {
    border-bottom: 1px solid #1976d2;
  }

  #mobile-menu ul li a {
    display: block;
    padding: 12px 20px;
    text-decoration: none;
    color: #1976d2;
  }
}
/* Ensure nav is block on mobile */
#mobile-menu {
  width: 100%;
}

@media (max-width: 768px) {
  .desktop-menu {
    display: none;
  }

  #menu-toggle {
    display: block;
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: white;
  }

  #mobile-menu ul {
    background-color: white;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  #mobile-menu ul li {
    border-bottom: 1px solid #1976d2;
  }

  #mobile-menu ul li a {
    display: block;
    padding: 12px 20px;
    color: #1976d2;
    text-decoration: none;
  }
}



   @media (max-width: 768px) {
  .doctor-intro {
    flex-direction: row; /* keep side-by-side layout */
    flex-wrap: wrap;
    align-items: center;
    padding: 30px 20px;
    gap: 20px;
  }




  .about-container {
    flex-direction: column;
    text-align: center;
  }

  .about-text h2 {
    font-size: 28px;
  }

  .about-text p {
    font-size: 16px;
  }

  .about-img img {
    width: 70%;
  }

  .desktop-menu {
    flex-direction: column;
    gap: 10px;
  }
}
/* Default position for desktop */
.whatsapp-float,
.call-float {
  position: fixed;
  width: 50px;
  height: 50px;
  right: 20px;
  color: white;
  border-radius: 50%;
  text-align: center;
  font-size: 24px;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s;
}

.whatsapp-float {
  bottom: 100px;
  background-color: #25d366;
}

.call-float {
  bottom: 40px;
  background-color: #007bff;
}

.whatsapp-float:hover,
.call-float:hover {
  transform: scale(1.1);
}

/* On mobile, shift both slightly higher */
@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 140px;
  }

  .call-float {
    bottom: 80px;
  }
}
@media (max-width: 768px) {
  .logo-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .header-photo {
    margin: 0 0 10px 0;
  }

  .logo-text h1 {
    font-size: 1.5em;
  }

  .logo-text p {
    font-size: 0.95em;
  }

  .desktop-menu {
    display: none; /* hide if you're using a mobile menu toggle */
  }
}
