*,
*::before,
*::after {
  box-sizing: border-box;
}

a:focus,
button:focus,
input:focus {

  outline: 2px solid #2cc6c6;
  outline-offset: 2px;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: #1a1a1a;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.6;
  background: #ffffff;
}

a {
  text-decoration: none;
}

header {
  background: #002A52;

  .logo img {
    height: 110px;
    width: 280px;
    object-fit: cover;
    object-position: center;
    max-width: 100%;
    display: block;
  }
}

.header-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 10px 15px;
}



.hero {
  background:
    linear-gradient(rgba(11, 42, 91, .6), rgba(11, 42, 91, .6)),
    url('../images/IMG_5878.jpeg') center/cover no-repeat;

  background-size: cover;
  padding: 90px 15px 40px;
  min-height: 70vh;
  text-align: center;
  color: #fff
}

.hero h1 {
  font-size: clamp(28px, 6vw, 46px);
}

.hero p {
  font-size: clamp(14px, 3vw, 16px);
  max-width: 90%;
}

.hero p {
  margin-left: auto;
  margin-right: auto;
}

.hero h1 {
  margin-bottom: auto;
}

main {
  flex: 1 0 auto;

}

.section {
  max-width: 1200px;
  margin: auto;
  padding: 80px 20px;
}

.services-section {
  padding: 80px 0;
  background: #ffffff;
}

.section-title {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
}

.section-subtitle {
  text-align: center;
  max-width: 720px;
  margin: 12px auto 48px;
  color: #6b7280;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
}

.service-card {
  background: #ffffff;
  padding: 28px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  text-align: center;
  flex: 1 1 300px;
  max-width: 400px;
}

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

.service-card h3 {
  margin-bottom: 10px;
  color: #1e3a8a;
}

.service-card p {
  font-size: 16px;
  color: #374151;
  line-height: 1.6;
}

/* Icon Styles */
.service-icon {
  font-size: 3rem;
  color: #2EC4C6;
  margin-bottom: 20px;
  display: inline-block;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1);
  color: #1aa8a8;
}

.feature-icon {
  font-size: 2.5rem;
  color: #1e3a8a;
  margin-bottom: 16px;
  display: inline-block;
  transition: all 0.3s ease;
}

.why-grid>div:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
  color: #2EC4C6;
}

.contact-icon {
  font-size: 1.3rem;
  color: #2EC4C6;
  margin-right: 10px;
  vertical-align: middle;
}

.form-label-with-icon {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  font-weight: 500;
  color: #374151;
}

.form-icon {
  font-size: 1rem;
  color: #2EC4C6;
}

.mission-icon {
  font-size: 2.8rem;
  color: #2EC4C6;
  margin-bottom: 16px;
  display: inline-block;
}

/* Responsive icon sizing */
@media (max-width: 768px) {
  .service-icon {
    font-size: 2.5rem;
  }

  .feature-icon {
    font-size: 2rem;
  }

  .mission-icon {
    font-size: 2.3rem;
  }
}

form {
  max-width: 520px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 16px
}

input,
textarea {
  padding: 14px;
  border-radius: 8px;
  border: 1px solid #ccc
}

button {
  background: #2EC4C6;
  border: none;
  padding: 14px;
  border-radius: 8px;
  font-weight: 600
}

footer {
  background: #002A52;
  color: #fff;
  text-align: center;
  padding: 50px 20px;
  flex-shrink: 0;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-link {
  font-size: 14px;
  color: #e5e7eb;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #22d3ee;
}

.site-footer {

  text-align: center;
}

.site-footer a.active {
  color: #22d3ee;
}

.footer-container p {
  margin: 5px 0;
  font-size: 0.9rem;
}

.navbar {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0 auto;
}

.navbar a {

  font-weight: 500;
  color: #fff;
  text-decoration: none;

}

.navbar a:hover {
  color: #22d3ee;
}

.navbar a.active {
  color: #22d3ee;
}

.cta {
  display: inline-block;
  padding: 10px 24px;
  background-color: #2EC4C6;
  color: white;
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(46, 196, 198, 0.2);
  white-space: nowrap;
  margin-left: auto;
}

/* Hover & Focus States */
.cta:hover,
.cta:focus {
  background-color: #0056d2;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 123, 255, 0.35);
  color: white;
}

/* Active/Pressed State */
.cta:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
}

div.sk_branding,
.sk_branding,
.sk_branding a,
a.tutorial_link {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  height: 0 !important;
  width: 0 !important;
  pointer-events: none !important;
}

.btn {
  background: #2EC4C6;
  color: white;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  display: inline-block;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn:hover {
  background: #1aa8a8;
  transform: translateY(-2px);
}

.contact-section {
  padding: 80px 0;
  background: #ffffff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding: 40px 24px;
}

.contact-form-box {
  background: #ffffff;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.contact-form-box form input,
.contact-form-box form textarea {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
}

.contact-form-box button {
  width: 100%;
  padding: 14px;
  background: #1e3a8a;
  color: #ffffff;
  border-radius: 10px;
  font-weight: 600;
}

.contact-form-box p {
  font-size: 16px;
  color: #374151;
  line-height: 1.6;
}

.clinic-info h2 {
  margin-bottom: 20px;
  color: #374151;
}

.clinic-info p {
  font-size: 16px;
  color: #374151;
  line-height: 1.6;
}

.clinic-info a:hover {
  text-decoration: underline;
  color: #374151;
  transform: translateY(-2px);
}



/* Shared Page Section */
.page-section {
  padding: 80px 20px;
  background: #ffffff;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 1rem;
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}

.section-header h1 {
  font-size: 36px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 12px;
}

.section-header p {
  font-size: 16px;
  color: #6b7280;
  line-height: 1.6;
}

/* Privacy Page */

.privacy-sub-section h3 {
  font-size: 18px;
  font-weight: 600;
  color: #1e3a8a;
  margin-bottom: 12px;
}

.privacy-sub-section p {
  font-size: 16px;
  color: #374151;
  line-height: 1.65;
}

.thank-you a {
  color: #1e3a8a;
  font-weight: 500;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin: 1.5rem 0 1.2rem;
}

.social-icons a {
  color: #e5e7eb;
  font-size: 1.8rem;
  transition: all 0.25s ease;
  line-height: 1;
}

.social-icons a:hover,
.social-icons a:focus {
  color: #22d3ee;
  transform: scale(1.15);
}

.social-icons a:focus {
  outline: 2px solid #22d3ee;
  outline-offset: 4px;
  border-radius: 4px;
}

.social-icons i {
  font-size: 1.8rem;
}

/* LinkedIn link on About Us – matches Instagram style */
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #e5e7eb;
  padding: 12px 24px;
  border-radius: 50px;
  background: rgba(34, 211, 238, 0.1);
  /* subtle teal bg */
  transition: all 0.25s ease;
}

.social-link i {
  font-size: 1.8rem;
  color: #0a66c2;
}

.social-link:hover,
.social-link:focus {
  color: #ffffff;
  background: #0a66c2;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(10, 102, 194, 0.3);
}

.social-link:focus {
  outline: 2px solid #22d3ee;
  outline-offset: 4px;
}

/* Team Section */
.team-section {
  padding: 40px 20px;
  text-align: center;
  background: #ffffff;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.team-card {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.profile-pic {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
}

.certifications {
  list-style-type: disc;
  padding-left: 20px;
  text-align: left;
  font-size: 14px;
}

/* Reviews Section */
.reviews-section {
  background: #f9f9f9;
  padding: 60px 15px;
  text-align: center;
}

.google-reviews-widget {
  max-width: 800px;
  margin: 0 auto;
}

/* Hamburger Menu */
.menu-toggle {
  display: none;
}

/* Hidden checkbox for toggle */
.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 22px;
  z-index: 10;
}

.hamburger span {
  background: #fff;
  height: 3px;
  width: 100%;
  border-radius: 2px;
  transition: all 0.3s;
}


.about-hero {
  padding: 80px 20px;
  text-align: center;
}


.team-section p {
  max-width: 800px;
  margin: 0 auto 32px;
  font-size: 1.1rem;
  color: #6b7280;
}


.hero-image {
  background: #f9fafb;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto 0;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  /* Subtle shadow */
}

.why-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  margin-top: 32px;
  text-align: center;
}

.why-grid>div {
  flex: 1 1 300px;
  max-width: 450px;
  padding: 20px;
}

.mission-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}

.mission-grid>div {
  flex: 1 1 300px;
  max-width: 350px;
  background: #f8fafc;
  padding: 32px;
  border-radius: 12px;
  text-align: center;
}

.cta-section {

  background: #002A52;
  color: white;
  text-align: center;

}

.cta-section h2 {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 1.2rem;
  max-width: 680px;
  margin: 0 auto 32px;
}

.cta-section .btn {
  background: white;
  color: #002A52;
  padding: 16px 36px;
  font-size: 1.2rem;
  display: inline-block;
  max-width: 100%;
  box-sizing: border-box;
}

.cta-section .container {
  max-width: 900px;
}

.cta-section h2 {
  font-size: clamp(28px, 6vw, 40px);
}

.cta-section p {
  font-size: clamp(16px, 3vw, 20px);
}

main>section:last-child {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.cta-section p:last-child {
  margin-bottom: 0;
}

@media (min-width: 1025px) {

  .header-inner {
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    padding: 12px 30px;
  }

  .navbar {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0;
  }

  .navbar a {
    border-bottom: none;
    padding: 8px 12px;
    font-weight: 500;
    color: white;
  }

  .hamburger {
    display: none;
  }

  .cta {
    margin-left: 24px;
    order: 2;
  }

  .cta:hover,
  .cta:focus {
    background-color: #1aa8a8;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 16px rgba(46, 196, 198, 0.3);
  }

  .cta:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 2px 8px rgba(46, 196, 198, 0.2);
  }

}

@media (max-width: 1024px) {
  header .logo img {
    height: 80px;
    width: 200px;
  }

  header {
    position: relative;
    z-index: 100;
  }

  .header-inner {
    padding: 10px 16px;
    position: relative;
    align-items: center;
    justify-content: space-between;
  }

  .hamburger {
    display: flex;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
  }

  .navbar {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #002A52;
    z-index: 9;
    padding: 8px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  }

  .navbar a {
    padding: 14px 20px;
    text-align: center;
    color: white;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .navbar a:hover,
  .navbar a.active {
    background: rgba(255, 255, 255, 0.1);
  }

  /* Show menu when checkbox is checked */
  .menu-toggle:checked+.hamburger+.navbar {
    display: flex;
  }

  /* Hamburger cross animation */
  .menu-toggle:checked~.hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }

  .menu-toggle:checked~.hamburger span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle:checked~.hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }

  .cta {
    position: static;
    margin-left: auto;
    /* margin-right: 60px; */
    padding: 8px 18px;
    font-size: 0.9rem;
    /* transform: none; */
  }

  .menu-toggle:checked~.navbar .cta {
    display: block;
    margin: 16px auto;
    text-align: center;
    width: 80%;
    max-width: 280px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 70px 12px 30px;
    min-height: 36vh;
  }

  .hero h1 {
    font-size: 32px
  }

  .site-footer {
    margin-top: 0;
    padding-top: 40px !important;
  }

  /* main > section:not(.hero) {
  margin-top: 20px;
} */
  .about-hero {
    padding: 60px 16px;
  }

  .about-hero h1 {
    font-size: 28px;
  }

  .hero-image {
    margin-top: 32px;
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .why-choose-section {
    padding: 60px 16px;
  }

  .why-choose-section h3 {
    font-size: 20px;
  }

  .why-choose-section p {
    font-size: 16px;
  }

  .cta-section {
    padding: 60px 16px 80px;
  }

  .cta-section .container {
    padding: 0 20px;
  }

  .cta-section .btn {
    padding: 14px 20px;
    font-size: 1rem;
    max-width: calc(100% - 40px);
    word-wrap: break-word;
  }

  .section {
    padding: 60px 16px;
  }

  .section-title {
    font-size: 28px;
  }

  .section-subtitle {
    font-size: 16px;
    margin-bottom: 30px;
  }

  /* Valid Fix using Flexbox for centering orphans */
  .services-grid,
  .why-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
  }

  .service-card,
  .why-grid>div {
    flex: 1 1 280px;
    max-width: 450px;
    width: 100%;
  }

  /* Tighter spacing for mobile */
  @media (max-width: 600px) {

    .section,
    .services-section,
    .contact-section,
    .page-section {
      padding: 40px 16px;
    }

    .hero {
      min-height: 50vh;
      padding: 80px 15px 40px;
    }

    .section-header {
      margin-bottom: 30px;
    }

    .service-card,
    .why-grid>div {
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
      padding: 28px;
    }
  }

}

/* Hero section optimization for mobile landscape and small devices */
@media (max-height: 450px) and (orientation: landscape) {
  .hero {
    padding: 40px 12px 20px;
    min-height: auto;
  }

  .hero h1 {
    font-size: 24px;
    margin-bottom: 8px;
  }

  .hero p {
    font-size: 14px;
    margin-bottom: 16px;
  }

  .hero .btn {
    padding: 10px 24px;
    font-size: 0.95rem;
  }
}

/* ============================================
   Clinic Image Slider Styles
   ============================================ */

.clinic-slider {
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 15px;
}

.slider-container {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  background: #f8fafc;
}

.slider-track {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #f1f5f9;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
  pointer-events: none;
  overflow: hidden;
  /* Ensure blurred partials don't leak */
}

.slide.active {
  opacity: 1;
  pointer-events: auto;
}

.slide-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: blur(20px) brightness(0.7);
  transform: scale(1.1);
  /* Hide blurred edges */
  z-index: 1;
}

.slide img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  z-index: 2;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 42, 82, 0.95) 0%, rgba(0, 42, 82, 0.7) 50%, transparent 100%);
  color: white;
  padding: 50px 20px 20px;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.3px;
}

/* Navigation Buttons */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.95);
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.slider-btn:hover {
  background: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transform: translateY(-50%) scale(1.1);
}

.slider-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.slider-btn.prev {
  left: 20px;
}

.slider-btn.next {
  right: 20px;
}

.slider-btn i {
  color: #002A52;
  font-size: 1.2rem;
}

/* Dots Navigation */
.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
  background: rgba(0, 0, 0, 0.2);
  padding: 8px 16px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  border: 2px solid white;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.dot.active {
  background: #4FD1C5;
  transform: scale(1.3);
  box-shadow: 0 0 8px rgba(79, 209, 197, 0.6);
}

.dot:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: scale(1.2);
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .clinic-slider {
    margin: 30px auto;
  }

  .slider-btn {
    width: 40px;
    height: 40px;
  }

  .slider-btn.prev {
    left: 10px;
  }

  .slider-btn.next {
    right: 10px;
  }

  .slider-btn i {
    font-size: 1rem;
  }

  .slide-caption {
    font-size: 0.95rem;
    padding: 40px 15px 15px;
  }

  .slider-dots {
    bottom: 15px;
    padding: 6px 12px;
  }

  .dot {
    width: 10px;
    height: 10px;
  }
}

@media (max-width: 480px) {
  .slider-track {
    aspect-ratio: 4 / 3;
  }

  .slide-caption {
    font-size: 0.85rem;
    padding: 30px 12px 12px;
  }

  .slider-btn {
    width: 36px;
    height: 36px;
  }
}

/* Doctor Bio Section - About Us Page */
.doctor-bio-section {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 48px;
  max-width: 1100px;
  margin: 0 auto 80px;
  background: #ffffff;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.bio-photo img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.bio-content {
  display: flex;
  flex-direction: column;
}

.credentials-section {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 24px;
}

.credential-item {
  background: #f8fafc;
  padding: 24px;
  border-radius: 12px;
  text-align: left;
}

.credential-item ul li {
  margin-bottom: 8px;
  color: #374151;
}

/* Doctor Bio Preview - Homepage */
.doctor-preview-section {
  padding: 80px 20px;
  background: #f8fafc;
  text-align: center;
}

.doctor-preview-content {
  max-width: 700px;
  margin: 0 auto;
}

.doctor-preview-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #0d9488;
  margin: 0 auto 24px;
  display: block;
  box-shadow: 0 8px 24px rgba(13, 148, 136, 0.2);
}

.doctor-preview-section h2 {
  color: #1e3a8a;
  font-size: 2rem;
  margin-bottom: 8px;
}

.doctor-preview-section .subtitle {
  color: #6b7280;
  font-size: 1.2rem;
  margin-bottom: 24px;
}

.doctor-preview-section p {
  color: #374151;
  line-height: 1.7;
  margin-bottom: 32px;
  font-size: 1.05rem;
}


/* Responsive Design */
@media (max-width: 768px) {
  .doctor-bio-section {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 24px;
  }

  .bio-photo img {
    height: 300px;
  }

  .credentials-section {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .doctor-preview-section h2 {
    font-size: 1.6rem;
  }

  .doctor-preview-section .subtitle {
    font-size: 1rem;
  }
}

/* Improved Responsive Design for Doctor Bio Sections */

/* Tablets and small laptops (1024px and below) */
@media (max-width: 1024px) {
  .doctor-bio-section {
    grid-template-columns: 350px 1fr;
    gap: 32px;
    padding: 32px;
  }

  .bio-photo img {
    height: 350px;
    object-fit: cover;
  }
}

/* iPad/Tablet Portrait (820x1180 and similar) */
@media (max-width: 900px) {
  .doctor-bio-section {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 28px;
    margin: 0 auto 40px;
  }

  .bio-photo img {
    height: 450px;
    max-width: 450px;
    width: 100%;
    margin: 0 auto;
    display: block;
    object-fit: cover;
  }

  .credentials-section {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* Landscape mobile (844x390 and similar) */
@media (max-width: 844px) {
  .doctor-bio-section {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px;
    margin: 0 auto 40px;
  }

  .bio-photo img {
    height: 400px;
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
    display: block;
    object-fit: cover;
  }

  .credentials-section {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .credential-item {
    padding: 20px;
  }

  .doctor-preview-section {
    padding: 60px 20px;
  }

  .doctor-preview-section h2 {
    font-size: 1.5rem;
  }

  .doctor-preview-section .subtitle {
    font-size: 1rem;
  }
}

/* Portrait mobile - iPhone XR/11 (414x896 and similar) */
@media (max-width: 480px) {
  .doctor-bio-section {
    padding: 20px;
    gap: 20px;
  }

  .bio-photo img {
    height: 330px;
    max-width: 350px;
    width: 100%;
    margin: 0 auto;
    display: block;
    object-fit: cover;
  }

  .bio-content h3 {
    font-size: 1.5rem !important;
  }

  .bio-content p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .credential-item {
    padding: 18px;
  }

  .credential-item h4 {
    font-size: 1.05rem;
  }

  .credential-item ul {
    font-size: 0.9rem;
  }

  .doctor-preview-section {
    padding: 50px 20px;
  }

  .doctor-preview-photo {
    width: 130px;
    height: 130px;
  }

  .doctor-preview-section h2 {
    font-size: 1.4rem;
  }

  .doctor-preview-section p {
    font-size: 1rem;
  }
}

/* Small mobile - iPhone SE (375x667 and similar) */
@media (max-width: 414px) {
  .doctor-bio-section {
    padding: 16px;
    gap: 18px;
  }

  .bio-photo img {
    height: 316px;
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    display: block;
    object-fit: cover;
  }

  .bio-content h3 {
    font-size: 1.35rem !important;
  }

  .bio-content p {
    font-size: 0.93rem;
  }

  .credential-item {
    padding: 16px;
  }

  .credential-item h4 {
    font-size: 1rem;
  }

  .credential-item ul {
    font-size: 0.88rem;
  }

  .doctor-preview-section {
    padding: 40px 16px;
  }

  .doctor-preview-photo {
    width: 120px;
    height: 120px;
  }

  .doctor-preview-section h2 {
    font-size: 1.3rem;
  }

  .doctor-preview-section .subtitle {
    font-size: 0.95rem;
  }

  .doctor-preview-section p {
    font-size: 0.95rem;
  }
}

/* Very small mobile (375x667 exactly) */
@media (max-width: 375px) {
  .bio-photo img {
    height: 290px;
  }

  .bio-content h3 {
    font-size: 1.25rem !important;
  }

  .credential-item ul li {
    font-size: 0.85rem;
  }
}

/* ============================================
   WhatsApp Floating Button
   ============================================ */

.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: all 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  background: #20BA5A;
  transform: scale(1.15);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-float:active {
  transform: scale(1.05);
}

.whatsapp-float i {
  line-height: 1;
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .whatsapp-float {
    bottom: 16px;
    right: 16px;
    width: 52px;
    height: 52px;
    font-size: 26px;
  }
}