/* ===== CSS RESET & ROOT VARIABLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Global smooth scrolling and transition */
html {
  scroll-behavior: smooth;
}

:root {
  /* Colors */
  --primary: #2d7a5f;
  --secondary: #5ba88d;
  --accent: #f4a460;
  --dark: #1a3a2e;
  --light: #6b7c7a;
  --bg: #f8faf9;
  --white: #ffffff;
  --border: #e0e6e3;
  --success: #27ae60;
  --warning: #f39c12;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
  
  /* Typography */
  --font-main: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  --font-size-base: 1rem;
  --line-height-base: 1.6;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 5px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
  
  /* Transitions */
  --transition: all 0.3s ease;
}

body {
  font-family: var(--font-main);
  line-height: var(--line-height-base);
  color: var(--dark);
  background: var(--bg);
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

/* ===== HEADER & NAVIGATION ===== */
header {
  background: var(--white);
  box-shadow: var(--shadow-md);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  overflow-x: hidden;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 3%;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), 
              text-shadow 0.25s ease;
  position: relative;
}

.nav-links a:hover {
  color: var(--primary);
  text-shadow: 0 2px 8px rgba(45, 122, 95, 0.1);
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
  animation: slideInUnderline 0.3s ease-out;
}

@keyframes slideInUnderline {
  from {
    width: 0;
    left: 50%;
  }
  to {
    width: 100%;
    left: 0;
  }
}

.book-btn {
  background: var(--primary);
  color: var(--white) !important;
  padding: 0.7rem 1.5rem;
  border-radius: 25px;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), 
              box-shadow 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.book-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(45, 122, 95, 0.3);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--dark);
  margin: 3px 0;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), 
              opacity 0.25s ease;
  will-change: transform, opacity;
  transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translateY(11px);
}

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

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-11px);
}

.page {
  display: none;
  padding-top: 80px;
  min-height: 100vh;
  animation: pageSlideIn 0.4s ease-out;
  transition: opacity 0.3s ease;
  opacity: 0;
  pointer-events: none;
}

.page.active {
  display: block;
  opacity: 1;
  pointer-events: auto;
  animation: pageSlideIn 0.4s ease-out;
}

.hero {
  background: linear-gradient(
    135deg,
    rgba(45, 122, 95, 0.95),
    rgba(91, 168, 141, 0.9)
  );
  color: var(--white);
  padding: 100px 5% 80px;
  position: relative;
  overflow: hidden;
}

/* Hero Carousel Styling */
.hero-carousel {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  overflow: hidden;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}

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

.carousel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(45, 122, 95, 0.7);
  z-index: 1;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.3);
  color: white;
  border: none;
  font-size: 2rem;
  padding: 10px 15px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 2;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform, background;
  pointer-events: auto;
  touch-action: manipulation;
}

.carousel-btn:hover {
  background: rgba(255, 255, 255, 0.6);
  transform: translateY(-50%) scale(1.1);
}

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

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

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

/* .carousel-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 2;
} */

/* .indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
} */

/* .indicator.active {
  background: white;
  width: 30px;
  border-radius: 6px;
} */

/* .indicator:hover {
  background: rgba(255, 255, 255, 0.7);
} */

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M30 30c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10-10-4.477-10-10zm-20 0c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10-10-4.477-10-10z" fill="%23ffffff" fill-opacity="0.03"/%3E%3C/svg%3E');
  opacity: 0.5;
}

.hero-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  line-height: 1.2;
  animation: slideInUp 0.8s ease-out;
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.95;
  animation: slideInUp 0.8s ease-out 0.1s backwards;
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
  animation: slideInUp 0.8s ease-out 0.2s backwards;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
}

.hero-feature::before {
  content: "✓";
  background: rgba(255, 255, 255, 0.2);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  background: var(--white);
  color: var(--primary);
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), 
              box-shadow 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), 
              background 0.25s ease;
  border: 2px solid transparent;
  min-height: 48px;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.3px;
  gap: 0.5rem;
  cursor: pointer;
  user-select: none;
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.cta-btn:active {
  transform: scale(0.96);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.cta-btn.secondary {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}

.cta-btn.secondary:hover {
  background: var(--white);
  color: var(--primary);
}

/* Career Counselling CTA */
.cta-btn[href*="career"], .cta-btn[href*="form"] {
  background: linear-gradient(135deg, var(--accent), #ff9a56);
  color: var(--white);
  font-size: 1rem;
  padding: 0.9rem 2.2rem;
  border: 2px solid transparent;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), 
              box-shadow 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), 
              background 0.25s ease;
}

.cta-btn[href*="career"]:hover, .cta-btn[href*="form"]:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(244, 164, 96, 0.3);
  background: linear-gradient(135deg, #ff9a56, var(--accent));
}

/* Ripple Effect for Buttons */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  transform: scale(0);
  animation: rippleAnimation 0.4s ease-out;
  pointer-events: none;
}

@keyframes rippleAnimation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

@media (max-width: 768px) {
  .cta-btn {
    width: 100%;
    padding: 0.95rem 1.5rem;
    font-size: 1rem;
    min-height: 50px;
    box-shadow: 0 4px 15px rgba(45, 122, 95, 0.15);
  }

  .cta-btn:hover {
    box-shadow: 0 6px 20px rgba(45, 122, 95, 0.25);
  }

  .cta-btn:active {
    box-shadow: 0 2px 10px rgba(45, 122, 95, 0.15);
  }
}

.hero-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.stats-bar {
  background: var(--white);
  padding: 3rem 5%;
  margin-top: -40px;
  position: relative;
  z-index: 10;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  display: block;
  line-height: 1;
}

.stat-label {
  color: var(--light);
  font-size: 1rem;
  margin-top: 0.5rem;
}

section {
  padding: 80px 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
  font-weight: 700;
}

.section-subtitle {
  text-align: center;
  color: var(--light);
  margin-bottom: 3rem;
  font-size: 1.1rem;
}

.about-section {
  padding-top: 40px;
}

.about-section section {
  padding: 80px 5%;
}

.services-section {
  padding-top: 40px;
}

.service-category-title {
  text-align: center;
  color: var(--primary);
  font-size: 1.8rem;
  margin: 3rem 0 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.service-category-title i {
  font-size: 2rem;
  color: var(--secondary);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 4px solid var(--primary);
  animation: fadeInUp 0.6s ease-out;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.15) rotate(5deg);
}

.service-card h3 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.service-card p {
  color: var(--light);
  line-height: 1.7;
}

.doctor-profile {
  background: var(--white);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.doctor-image {
  text-align: center;
}

.doctor-image img {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  object-fit: cover;
  border: 8px solid var(--primary);
  box-shadow: 0 10px 30px rgba(45, 122, 95, 0.2);
}

.doctor-details h3 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.doctor-credentials {
  color: var(--light);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  font-weight: 500;
}

.doctor-bio {
  line-height: 1.8;
  margin-bottom: 2rem;
}

.doctor-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.doctor-stat {
  background: var(--bg);
  padding: 1.5rem;
  border-radius: 10px;
  text-align: center;
}

.doctor-stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}

.doctor-stat-label {
  font-size: 0.9rem;
  color: var(--light);
  margin-top: 0.5rem;
}

/* ===== GALLERY SECTION ===== */
.gallery-section {
  padding: var(--spacing-2xl) 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.gallery-category-title {
  text-align: center;
  color: var(--primary);
  font-size: 1.8rem;
  margin: 3rem 0 1rem;
  font-weight: 600;
}

.gallery-category-subtitle {
  text-align: center;
  color: var(--light);
  margin-bottom: var(--spacing-2xl);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  font-size: 0.95rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-2xl);
}

.gallery-item {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 350px;
  position: relative;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), 
              box-shadow 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: fadeInUp 0.6s ease-out;
  will-change: transform;
}

.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: transform;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
  padding: 3rem 1.5rem 1.5rem;
  color: var(--white);
  font-weight: 600;
  font-size: 1.1rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3rem;
  margin-top: 3rem;
}

.contact-info {
  background: var(--white);
  padding: 3rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.contact-info h3 {
  color: var(--primary);
  margin-bottom: 2rem;
  font-size: 1.5rem;
}

.info-item {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--bg);
  border-radius: 10px;
  border-left: 4px solid var(--primary);
  transition: var(--transition);
}

.info-item:hover {
  box-shadow: var(--shadow-sm);
  transform: translateX(5px);
}

.info-item h4 {
  color: var(--dark);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
}

.info-item p {
  color: var(--light);
  line-height: 1.7;
  margin: 0;
  font-size: 0.95rem;
}

.get-directions-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--white);
  padding: 1rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  margin-top: 1rem;
  text-align: center;
  min-height: 48px;
}

.get-directions-btn:hover {
  background: var(--dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.map-container {
  display: flex;
  flex-direction: column;
  justify-content: stretch;
}

.map {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  height: 500px;
  width: 100%;
}

.map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
  }

  .contact-info {
    padding: 1.5rem;
  }

  .contact-info h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
  }

  .info-item {
    margin-bottom: 1rem;
    padding: 1rem;
  }

  .info-item h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }

  .info-item p {
    font-size: 0.9rem;
  }

  .map {
    height: 350px;
  }

  .get-directions-btn {
    width: 100%;
    padding: 0.95rem 1.5rem;
  }
}

.appointment-form {
  background: var(--white);
  padding: 3rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  max-width: 800px;
  margin: 3rem auto;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--dark);
  font-size: 0.95rem;
}

.required {
  color: #e74c3c;
  margin-left: 0.2rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.9rem;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), 
              box-shadow 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
              background 0.25s ease;
  font-family: var(--font-main);
  will-change: border-color, box-shadow;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(45, 122, 95, 0.1);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 249, 1));
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.submit-btn {
  padding: 1rem 3rem;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), 
              transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), 
              box-shadow 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  margin-top: 1rem;
  width: 100%;
  will-change: transform, background;
}

.submit-btn:hover {
  background: var(--dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.submit-btn:active {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.form-note {
  text-align: center;
  color: var(--light);
  font-size: 0.9rem;
  margin-top: 1rem;
}

.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 2rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  cursor: pointer;
  z-index: 999;
  transition: transform 0.3s;
  text-decoration: none;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
}

footer {
  background: var(--dark);
  color: var(--white);
  padding: var(--spacing-2xl) 5%;
  text-align: center;
}

footer .footer-content h3 {
  color: var(--secondary);
  margin-bottom: var(--spacing-sm);
  font-size: 1.4rem;
}

footer p {
  margin-bottom: var(--spacing-sm);
}

footer .footer-details {
  font-size: 0.95rem;
  margin-bottom: var(--spacing-lg);
}

.footer-links {
  margin: var(--spacing-lg) 0;
  padding: var(--spacing-lg) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links a {
  color: var(--secondary);
  text-decoration: none;
  margin: 0 var(--spacing-md);
  transition: var(--transition);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--white);
  transform: translateY(-2px);
}

.disclaimer {
  margin-top: var(--spacing-lg);
  color: #95a5a6;
  font-size: 0.85rem;
  line-height: 1.7;
}

footer .footer-copyright {
  margin-top: var(--spacing-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--spacing-lg);
  font-size: 0.9rem;
}

/* ===== TESTIMONIALS CAROUSEL ===== */
.testimonials-carousel-container {
  position: relative;
  max-width: 100%;
}

.testimonials-carousel {
  display: flex;
  gap: 2rem;
  overflow: hidden;
  scroll-behavior: smooth;
}

.testimonial-card {
  flex: 0 0 calc(33.333% - 1.5rem);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeInUp 0.6s ease-out;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--primary);
  color: white;
  border: none;
  font-size: 1.5rem;
  padding: 12px 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.carousel-nav:hover {
  background: var(--secondary);
  transform: translateY(-50%) scale(1.1);
}

.carousel-nav.prev {
  left: -30px;
}

.carousel-nav.next {
  right: -30px;
}

/* ===== ANIMATED COUNTER NUMBERS ===== */
.stat-number {
  font-weight: 700;
  font-size: 2.5rem;
  color: var(--primary);
}

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
  position: fixed;
  bottom: 100px;
  right: 35px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--secondary);
  transform: translateY(-5px);
  box-shadow: 0 10px 35px rgba(45, 122, 95, 0.3);
}

/* ===== FAQ ANIMATIONS ===== */
.faq-question {
  transition: all 0.3s ease;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.open {
  max-height: 500px;
  padding: var(--spacing-md) var(--spacing-lg);
}

/* ===== ANIMATIONS ===== */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes scaleUp {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes countUp {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (max-width: 968px) {
  :root {
    --spacing-2xl: 2.5rem;
    --spacing-xl: 2rem;
  }

  nav {
    padding: 0.5rem 3%;
  }

  .nav-links {
    position: fixed;
    left: -100%;
    top: 50px;
    flex-direction: column;
    background: var(--white);
    width: 100%;
    padding: 1rem 0;
    transition: left 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), 
                opacity 0.3s ease;
    box-shadow: var(--shadow-md);
    gap: 0.5rem;
    opacity: 0;
    pointer-events: none;
  }

  .nav-links.active {
    left: 0;
    opacity: 1;
    pointer-events: auto;
  }

  .menu-toggle {
    display: flex;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-text h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  .hero-text p {
    font-size: 1rem;
  }

  .doctor-profile {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .doctor-image img {
    width: 200px;
    height: 200px;
  }

  .doctor-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

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

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

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

  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .gallery-item {
    height: 300px;
  }

  section {
    padding: 60px 4%;
  }

  .section-title {
    font-size: 2rem;
  }

  .service-category-title,
  .gallery-category-title {
    font-size: 1.5rem;
    margin-top: 2rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .floating-whatsapp {
    bottom: 20px;
    right: 20px;
    width: 55px;
    height: 55px;
  }
}

.faq-item {
  background: var(--white);
  border-radius: 12px;
  margin-bottom: 1rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  padding: 1.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  color: var(--primary);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
}

.faq-question:hover {
  background: rgba(45, 122, 95, 0.02);
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 1.5rem;
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"]::after {
  content: "−";
  transform: rotate(0deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 1.5rem 0 1.5rem;
}

.faq-answer.open {
  max-height: 500px;
  padding: 1.5rem 1.5rem 1.5rem 1.5rem;
}


/* ===== COMMUNITY SECTION ===== */
.community-section {
  background: linear-gradient(
    135deg,
    rgba(45, 122, 95, 0.05),
    rgba(91, 168, 141, 0.05)
  );
  padding: var(--spacing-2xl) 5%;
  margin: 0;
}

.community-container {
  max-width: 1400px;
  margin: 0 auto;
}

.community-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-2xl);
}

.community-card {
  background: var(--white);
  padding: var(--spacing-lg);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-align: center;
  border-top: 4px solid var(--primary);
  animation: fadeInUp 0.6s ease-out;
}

.community-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.community-card h3 {
  color: var(--primary);
  margin-bottom: var(--spacing-sm);
  font-size: 1.2rem;
}

.community-card p {
  color: var(--light);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
  background: var(--bg);
  padding: var(--spacing-2xl) 5%;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-2xl);
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.testimonial-card {
  background: var(--white);
  padding: var(--spacing-lg);
  border-radius: 15px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border-left: 5px solid var(--primary);
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.testimonial-stars {
  color: #f39c12;
  font-size: 1.1rem;
  margin-bottom: var(--spacing-sm);
  letter-spacing: 2px;
}

.testimonial-text {
  color: var(--dark);
  font-style: italic;
  line-height: 1.8;
  margin-bottom: var(--spacing-md);
  flex-grow: 1;
}

.testimonial-meta {
  border-top: 1px solid var(--border);
  padding-top: var(--spacing-sm);
  margin-top: auto;
}

.testimonial-name {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: var(--spacing-xs);
}

.testimonial-type {
  color: var(--light);
  font-size: 0.85rem;
  margin: 0;
}

/* ===== EXTRA SMALL DEVICES (600px AND BELOW) ===== */
@media (max-width: 600px) {
  nav {
    padding: 0.4rem 2%;
  }

  header nav {
    padding: 0.4rem 2%;
  }

  .section-title {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
  }

  .section-subtitle {
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
  }

  section {
    padding: 45px 3%;
  }

  .hero {
    padding: 70px 3% 50px;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }

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

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

  .hero-text h1 {
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: 0.75rem;
  }

  .hero-text p {
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
  }

  .hero-features {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }

  .cta-btn {
    padding: 0.85rem 1.2rem;
    font-size: 0.9rem;
    width: 100%;
  }

  .stats-bar {
    padding: 1.5rem 3%;
    margin-top: -25px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .stat-label {
    font-size: 0.75rem;
  }

  .service-card {
    padding: 1.2rem;
  }

  .service-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
  }

  .service-card p {
    font-size: 0.85rem;
    line-height: 1.5;
  }

  .service-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
  }

  .testimonial-card {
    flex: 0 0 100%;
    padding: 1.2rem;
  }

  .back-to-top {
    bottom: 80px;
    right: 15px;
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
  }

  .appointment-form {
    padding: 1.5rem;
    margin: 2rem auto;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 0.8rem;
    font-size: 16px;
  }

  .submit-btn {
    padding: 0.9rem 1.5rem;
    font-size: 0.95rem;
  }

  .faq-question {
    padding: 1.2rem;
    font-size: 0.95rem;
  }

  .faq-answer {
    padding: 0 1.2rem;
  }

  .gallery-item {
    height: 200px;
  }

  .map {
    height: 280px;
  }

  .floating-whatsapp {
    bottom: 70px;
    right: 15px;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }

  footer p {
    font-size: 0.9rem;
  }

  .footer-links a {
    margin: 0 0.5rem;
    font-size: 0.85rem;
  }

  .clinic-logo-img {
    max-width: 70px !important;
  }

  .clinic-tagline {
    font-size: 11px !important;
  }
}



/* logo css */
/* ===== Header & Nav ===== */

/* ===== Clinic Logo ===== */
/* Clinic Logo - Simple */
.clinic-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  gap: 0;
}

.clinic-logo:hover {
  opacity: 0.95;
}

/* Logo Icon */
.logo-icon {
  width: 54px;
  height: 54px;
  /* background: linear-gradient(135deg, #2e7d32, #4caf50); */
  color: #ffffff;
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
  cursor: pointer;
}

/* Logo Text */
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  /* cursor: pointer; */
}

/* Clinic Name */
.clinic-name {
  font-size: 32px;
  font-weight: 700;
  color: #2e7d32;
  letter-spacing: 0.6px;
}
.clinic-tagline a {
  text-decoration: none;
  color: inherit;        
  font-weight: 400;
}

.clinic-tagline a:hover,
.clinic-tagline a:focus,
.clinic-tagline a:active,
.clinic-tagline a:visited {
  text-decoration: none;
  color: inherit;        /* no color change on hover/click */
}

/* Hover Animation */
.clinic-logo:hover .logo-icon {
  transform: scale(1.06);
}

/* ===== Nav Links ===== */
.nav-links {
  list-style: none;
  display: flex;
  gap: 28px;
}

.nav-link {
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  color: #333333;
  position: relative;
  transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #2e7d32;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: #2e7d32;
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  nav {
    padding: 12px 20px;
  }

  .logo-frame {
    padding: 10px 12px;
  }

  .logo-svg,
  .logo-image {
    height: 48px;
  }

  .logo-icon {
    width: 48px;
    height: 48px;
    font-size: 22px;
  }



  .nav-links {
    gap: 16px;
  }
}

.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding-left: 20px;
  border-left: 3px solid var(--secondary);
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
  padding-left: 20px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -11px;
  top: 0;
  width: 20px;
  height: 20px;
  background-color: var(--secondary);
  border-radius: 50%;
  border: 3px solid white;
}

.timeline-date {
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.timeline-content h3 {
  margin-bottom: 0.3rem;
}

.timeline-content p {
  margin-bottom: 0.3rem;
}

.clinic-header {
    display: flex;
    align-items: center;
    gap: 10px; /* space between logo and text */
}

/* Logo Image */
/* .clinic-logo-img {
  max-width: 100px;
  height: auto;
  object-fit: contain;
} */

/* Clinic Tagline */
/* .clinic-tagline {
  font-size: 13px;
  font-weight: 500;
  color: #6b7c7a;
  margin-top: 2px;
} */
   

/* Responsive Fees Grid */
@media (max-width: 1024px) {
  .fees-grid {
    grid-template-columns: 1fr 1fr !important;
  }
}

@media (max-width: 768px) {
  .fees-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
    margin: 2rem 0 !important;
  }
  
  .service-category-title {
    font-size: 1.4rem;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
  }

  .fees-container {
    padding: 0 1rem !important;
    max-width: 100% !important;
  }

  .fee-card {
    max-width: 100% !important;
    padding: 1.5rem !important;
    margin-bottom: 0.5rem;
    background: var(--white) !important;
    border-radius: 12px;
    border-left: 4px solid var(--primary) !important;
  }

  .fee-card h3 {
    font-size: 1.2rem !important;
    margin-bottom: 0.5rem;
  }

  .fee-card:nth-child(2) {
    border-left-color: var(--secondary) !important;
  }

  .fee-card:nth-child(3) {
    border-left-color: var(--accent) !important;
  }

  .service-icon-large {
    width: 50px !important;
    height: 50px !important;
    margin-bottom: 1rem !important;
  }

  .service-icon-large i {
    font-size: 1.5rem !important;
  }

  .fee-card .cta-btn {
    width: 100%;
    margin-top: 1rem;
  }
}

/* Enhanced Service Cards */
.service-card {
  transition: all 0.3s ease;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid rgba(45, 122, 95, 0.1);
}

.service-card:hover {
  box-shadow: 0 10px 30px rgba(45, 122, 95, 0.15);
  transform: translateY(-5px);
}

/* Service Icon Large */
.service-icon-large {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(45, 122, 95, 0.15), rgba(91, 168, 141, 0.15));
  border-radius: 12px;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.service-icon-large i {
  font-size: 1.8rem;
  color: var(--primary);
}

.fee-card:hover .service-icon-large {
  transform: scale(1.1);
  background: linear-gradient(135deg, rgba(45, 122, 95, 0.25), rgba(91, 168, 141, 0.25));
}

/* Fee Card Styling */
.fee-card {
  transition: all 0.3s ease;
}

.fee-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
}

.clinic-logo-img {
    height: 50px; /* adjust size as needed */
    width: auto;
}

/* Section CTA Button Styling */
.services-section > div[style*="text-align: center"] {
  animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile Service Category Button Enhancement */
@media (max-width: 768px) {
  .services-section > div[style*="text-align: center"] {
    padding: 1.5rem 1rem !important;
    background: linear-gradient(135deg, rgba(45, 122, 95, 0.02), rgba(91, 168, 141, 0.02));
    border-radius: 12px;
    margin: 0 1rem !important;
  }

  .services-section > div[style*="text-align: center"] .cta-btn {
    box-shadow: 0 4px 15px rgba(45, 122, 95, 0.15);
    min-height: 50px;
    font-size: 1.05rem;
  }

  .services-section > div[style*="text-align: center"] .cta-btn:hover {
    box-shadow: 0 6px 20px rgba(45, 122, 95, 0.25);
  }
}

/* ===== COMPREHENSIVE MOBILE RESPONSIVENESS ===== */

/* Mobile - Button Optimization */
.cta-btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .cta-btn {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }
  
  /* Services Grid - Stack Vertically */
  .services-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }
  
  .service-card {
    padding: 1.5rem;
  }
  
  .service-card h3 {
    font-size: 1.1rem;
  }
  
  .service-card p {
    font-size: 0.9rem;
  }
  
  /* Service Icon */
  .service-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
  
  /* Fees Section */
  .fees-container {
    padding: 0 1.5rem !important;
  }
  
  .fee-card {
    padding: 1.5rem !important;
    margin-bottom: 1rem;
  }
  
  .fee-card h3 {
    font-size: 1.15rem;
  }
  
  .service-icon-large {
    width: 50px;
    height: 50px;
    margin-bottom: 1rem;
  }
  
  .service-icon-large i {
    font-size: 1.5rem;
  }
  
  /* Gallery */
  .gallery-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }
  
  .gallery-item {
    margin-bottom: 1rem;
  }
  
  .gallery-caption {
    font-size: 0.9rem;
    padding: 0.8rem;
  }
  
  /* Section Titles */
  .section-title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
  }
  
  .section-subtitle {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }
  
  /* Contact Info Items */
  .info-item {
    margin-bottom: 1.5rem;
  }
  
  .info-item h4 {
    font-size: 1rem;
  }
  
  /* Header */
  nav {
    padding: 0.5rem 3% !important;
  }
  
  .clinic-logo-img {
    max-width: 80px !important;
  }
  
  .clinic-tagline {
    font-size: 11px !important;
  }
}

@media (max-width: 600px) {
  /* Extra Small Screens */
  .cta-btn {
    padding: 0.9rem 1.2rem;
    font-size: 0.95rem;
  }
  
  .section-title {
    font-size: 1.3rem;
  }
  
  .service-card {
    padding: 1.2rem;
  }
  
  .fee-card {
    padding: 1.2rem !important;
  }
  
  .service-icon-large {
    width: 45px;
    height: 45px;
    margin-bottom: 0.8rem;
  }
  
  .service-icon-large i {
    font-size: 1.3rem;
  }
  
  nav {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  
  .clinic-logo-img {
    max-width: 70px !important;
  }
  
  .hero-text h1 {
    font-size: 1.8rem;
  }
  
  .hero-text p {
    font-size: 1rem;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem;
  }
  
  .stat-number {
    font-size: 1.8rem;
  }
  
  .stat-label {
    font-size: 0.75rem;
  }
}

/* Ultra Small Mobile Devices (320px - 360px) */
@media (max-width: 360px) {
  html {
    font-size: 13px;
  }

  nav {
    padding: 0.3rem 2%;
    gap: 0.3rem;
  }

  .clinic-logo-img {
    max-width: 50px !important;
    height: auto;
  }

  .clinic-tagline {
    font-size: 8px !important;
    margin-top: 0 !important;
    line-height: 1;
  }

  .nav-links {
    gap: 0.8rem;
    font-size: 0.75rem;
  }

  .section-title {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
  }

  .section-subtitle {
    font-size: 0.7rem;
    margin-bottom: 0.8rem;
  }

  .cta-btn {
    padding: 0.6rem 0.9rem;
    font-size: 0.8rem;
    width: 100%;
    min-height: 44px;
  }

  .hero {
    padding: 50px 2% 30px;
  }

  .hero-text h1 {
    font-size: 1.1rem;
    line-height: 1.2;
    margin-bottom: 0.4rem;
  }

  .hero-text p {
    font-size: 0.75rem;
    margin-bottom: 0.8rem;
  }

  .hero-buttons {
    gap: 0.3rem;
  }

  .hero-buttons .cta-btn {
    padding: 0.5rem 0.8rem;
    font-size: 0.75rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.4rem;
  }

  .stat-box {
    padding: 0.5rem;
  }

  .stat-number {
    font-size: 1.1rem;
  }

  .stat-label {
    font-size: 0.55rem;
  }

  .service-card {
    padding: 0.9rem;
    margin-bottom: 0.2rem;
  }

  .service-card h3 {
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
  }

  .service-card p {
    font-size: 0.7rem;
    line-height: 1.3;
  }

  .service-icon {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }

  .fee-card {
    padding: 0.9rem !important;
    margin-bottom: 0.2rem;
    border-left-width: 3px !important;
  }

  .fee-card h3 {
    font-size: 0.95rem !important;
    margin-bottom: 0.3rem;
  }

  .fee-card p {
    font-size: 0.7rem !important;
  }

  .service-icon-large {
    width: 35px !important;
    height: 35px !important;
    margin-bottom: 0.5rem !important;
  }

  .service-icon-large i {
    font-size: 1rem !important;
  }

  .testimonial {
    padding: 0.8rem;
  }

  .testimonial p {
    font-size: 0.7rem;
  }

  .gallery-item {
    height: 180px !important;
  }

  .gallery-caption {
    font-size: 0.65rem;
    padding: 0.3rem;
  }

  .form-group {
    margin-bottom: 0.7rem;
  }

  input, textarea, select {
    font-size: 16px !important;
    padding: 0.6rem !important;
  }

  label {
    font-size: 0.8rem;
    margin-bottom: 0.2rem;
  }

  .info-item {
    margin-bottom: 0.9rem;
    padding: 0.7rem;
  }

  .info-item h4 {
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
  }

  .info-item p {
    font-size: 0.7rem;
  }

  footer {
    padding: 1rem !important;
    font-size: 0.75rem;
  }

  .back-to-top {
    width: 38px;
    height: 38px;
    font-size: 0.9rem;
    bottom: 70px;
  }

  .floating-whatsapp {
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
  }

  .map {
    height: 220px;
  }

  .carousel-btn {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }

  .get-directions-btn {
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
  }
}

/* Extra Small Mobile Devices (320px - 480px) */
@media (max-width: 480px) {
  nav {
    padding: 0.35rem 2%;
    gap: 0.5rem;
  }

  .clinic-logo-img {
    max-width: 60px !important;
    height: auto;
  }

  .clinic-tagline {
    font-size: 9px !important;
    margin-top: 0.5px !important;
  }

  .nav-links {
    gap: 1rem;
    font-size: 0.8rem;
  }

  .section-title {
    font-size: 1.4rem;
    margin-bottom: 0.4rem;
  }

  .section-subtitle {
    font-size: 0.8rem;
    margin-bottom: 1rem;
  }

  .cta-btn {
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    width: 100%;
    min-height: 46px;
  }

  .hero {
    padding: 60px 2% 40px;
  }

  .hero-text h1 {
    font-size: 1.3rem;
    line-height: 1.2;
    margin-bottom: 0.5rem;
  }

  .hero-text p {
    font-size: 0.8rem;
    margin-bottom: 1rem;
  }

  .hero-buttons {
    gap: 0.4rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.6rem;
  }

  .stat-number {
    font-size: 1.3rem;
  }

  .stat-label {
    font-size: 0.6rem;
  }

  .service-card {
    padding: 1rem;
    margin-bottom: 0.3rem;
  }

  .service-card h3 {
    font-size: 0.95rem;
    margin-bottom: 0.4rem;
  }

  .service-card p {
    font-size: 0.8rem;
    line-height: 1.4;
  }

  .service-icon {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }

  .fee-card {
    padding: 1rem !important;
    margin-bottom: 0.3rem;
  }

  .fee-card h3 {
    font-size: 1rem !important;
  }

  .service-icon-large {
    width: 40px !important;
    height: 40px !important;
    margin-bottom: 0.6rem !important;
  }

  .service-icon-large i {
    font-size: 1.1rem !important;
  }

  .testimonial {
    padding: 0.9rem;
  }

  .testimonial p {
    font-size: 0.8rem;
  }

  .gallery-caption {
    font-size: 0.75rem;
    padding: 0.4rem;
  }

  .form-group {
    margin-bottom: 0.8rem;
  }

  input, textarea, select {
    font-size: 16px !important;
    padding: 0.7rem !important;
  }

  label {
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
  }

  .info-item {
    margin-bottom: 1rem;
    padding: 0.8rem;
  }

  .info-item h4 {
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
  }

  .info-item p {
    font-size: 0.8rem;
  }

  footer {
    padding: 1.2rem !important;
  }

  .back-to-top {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    bottom: 70px;
  }

  .floating-whatsapp {
    width: 48px;
    height: 48px;
    font-size: 1.3rem;
  }

  .contact-info {
    padding: 1rem;
  }

  .contact-info h3 {
    font-size: 1.1rem;
  }

  .appointment-form {
    padding: 1.2rem;
    margin: 1.5rem auto;
  }

  .submit-btn {
    padding: 0.8rem 1rem;
    font-size: 0.85rem;
    min-height: 46px;
  }

  .map {
    height: 250px;
  }

  .carousel-btn {
    width: 36px;
    height: 36px;
    font-size: 1.2rem;
  }

  .carousel-nav {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
}

/* Mobile Menu Toggle (if exists) */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex !important;
  }
  
  .nav-links {
    flex-direction: column;
    gap: 0.5rem;
    display: none;
    width: 100%;
    padding: 1rem 0;
  }
  
  .nav-links.active {
    display: flex;
  }
}

/* Prevent horizontal scrolling and ensure 100vw doesn't overflow */
html {
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  max-width: 100vw;
}

/* Ensure images don't overflow */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Ensure grid containers don't cause overflow */
.gallery-grid,
.services-grid,
.fees-grid {
  overflow: hidden;
}

/* Button Mobile Optimization - Ensure touch targets are at least 44x44px */
button,
.cta-btn,
a.cta-btn,
input[type="button"],
input[type="submit"] {
  min-height: 44px;
  min-width: 44px;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
}

/* Link Touch Target */
a {
  -webkit-tap-highlight-color: transparent;
}

/* Form Inputs Mobile Optimization */
input,
textarea,
select {
  font-size: 1rem; /* Prevents iOS auto-zoom on focus */
  padding: 0.75rem !important;
  border-radius: 4px;
  border: 1px solid var(--border);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

/* Hero Section Responsive */
.hero-section {
  padding: 4rem 2% !important;
}

@media (max-width: 768px) {
  .hero-section {
    padding: 2.5rem 2% !important;
  }
}

/* Contact Section Responsive */
.contact-section {
  padding: 2.5rem 2% !important;
}

@media (max-width: 768px) {
  .contact-section {
    padding: 1.5rem 2% !important;
  }
}

/* Services Section Responsive */
.services-section {
  padding: 2.5rem 2% !important;
}

@media (max-width: 768px) {
  .services-section {
    padding: 1.5rem 2% !important;
  }
}

/* Testimonials Responsive */
.testimonials-container {
  padding: 0 1rem !important;
}

@media (max-width: 768px) {
  .testimonials-container {
    padding: 0 0.5rem !important;
  }
}

/* Mobile-Specific Typography Adjustments */
@media (max-width: 768px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.1rem; }
  h4 { font-size: 1rem; }
  p { line-height: 1.6; }
}

/* Ensure consistent spacing on containers */
section {
  margin: 0 auto;
  max-width: 100%;
  width: 100%;
}

/* Make all page divs responsive */
.page {
  width: 100%;
  padding-top: 80px; /* Account for fixed header */
}

@media (max-width: 768px) {
  .page {
    padding-top: 60px;
  }
}

/* ===== MOBILE SERVICE CARDS SLIDING ===== */
@media (max-width: 768px) {
  .services-grid {
    display: flex !important;
    /* flex-direction: column; */
    gap: 1.5rem;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    padding: 0 1rem;
  }

  .service-card {
    scroll-snap-align: start;
    animation: slideUp 0.6s ease-out;
    background: var(--white);
    border: 1px solid rgba(45, 122, 95, 0.1);
    border-radius: 14px;
    padding: 1.5rem !important;
  }

  .service-card:nth-child(1) {
    animation-delay: 0s;
  }

  .service-card:nth-child(2) {
    animation-delay: 0.1s;
  }

  .service-card:nth-child(3) {
    animation-delay: 0.2s;
  }

  .service-card:nth-child(4) {
    animation-delay: 0.3s;
  }

  .service-card:nth-child(5) {
    animation-delay: 0.4s;
  }

  .service-card:nth-child(6) {
    animation-delay: 0.5s;
  }

  /* Bounce effect on hover for mobile */
  .service-card {
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  .service-card:active {
    transform: scale(0.98) translateY(-2px);
  }
}

/* Slide up animation */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Page transition smooth entry */
@keyframes pageSlideIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Content fade-in animation */
@keyframes contentFadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Smooth card slide up */
@keyframes cardSlideUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Ripple animation */
@keyframes rippleAnimation {
  0% {
    transform: scale(0);
    opacity: 1;
  }
  100% {
    transform: scale(4);
    opacity: 0;
  }
}

/* Apply animations to page transitions */
.page {
  animation: pageSlideIn 0.4s ease-out !important;
}

.page:not(.active) {
  display: none !important;
}

/* Section entrance animations */
section {
  animation: contentFadeIn 0.5s ease-out;
}

/* Staggered service card animations */
.service-card {
  animation: cardSlideUp 0.5s ease-out backwards;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }

/* Fee card entrance animations */
.fee-card {
  animation: cardSlideUp 0.6s ease-out backwards;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fee-card:nth-child(1) { animation-delay: 0.2s; }
.fee-card:nth-child(2) { animation-delay: 0.35s; }
.fee-card:nth-child(3) { animation-delay: 0.5s; }

/* Enhanced fee card hover effect */
.fee-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
}

/* Testimonial card animations */
.testimonial-card {
  animation: cardSlideUp 0.6s ease-out backwards;
}

.testimonial-card:nth-child(1) { animation-delay: 0.1s; }
.testimonial-card:nth-child(2) { animation-delay: 0.2s; }
.testimonial-card:nth-child(3) { animation-delay: 0.3s; }
.testimonial-card:nth-child(4) { animation-delay: 0.4s; }
.testimonial-card:nth-child(5) { animation-delay: 0.5s; }

/* Gallery item staggered animations */
.gallery-item {
  animation: contentFadeIn 0.6s ease-out backwards;
}

.gallery-item:nth-child(1) { animation-delay: 0.1s; }
.gallery-item:nth-child(2) { animation-delay: 0.15s; }
.gallery-item:nth-child(3) { animation-delay: 0.2s; }
.gallery-item:nth-child(4) { animation-delay: 0.25s; }
.gallery-item:nth-child(5) { animation-delay: 0.3s; }
.gallery-item:nth-child(6) { animation-delay: 0.35s; }
.gallery-item:nth-child(7) { animation-delay: 0.4s; }
.gallery-item:nth-child(8) { animation-delay: 0.45s; }
.gallery-item:nth-child(9) { animation-delay: 0.5s; }

@media (max-width: 768px) {
  .stats-bar {
    padding: 1.5rem 2% !important;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.8rem !important;
  }

  .stat-item {
    padding: 0.8rem !important;
    text-align: center;
  }

  .stat-number {
    font-size: 1.3rem !important;
  }

  .stat-label {
    font-size: 0.65rem !important;
  }

  .testimonials-carousel-container {
    padding: 1rem 0 !important;
  }

  .testimonials-carousel {
    gap: 0.8rem !important;
  }

  .testimonial-card {
    padding: 1.2rem !important;
    min-height: 240px !important;
  }

  .testimonial-card p {
    font-size: 0.85rem !important;
  }

  .carousel-nav {
    width: 40px !important;
    height: 40px !important;
    font-size: 0.9rem !important;
  }
}
@media (max-width: 768px) {
  header {
    min-height: auto;
  }

  nav {
    padding: 0.4rem 3%;
    gap: 0.8rem;
  }

  .clinic-logo-img {
    max-width: 65px !important;
  }

  .clinic-tagline {
    font-size: 10px !important;
    line-height: 1.2;
  }

  .page {
    padding-top: 65px !important;
  }

  section {
    padding: 40px 3% !important;
  }

  .section-title {
    font-size: 1.6rem !important;
    margin-bottom: 0.8rem !important;
  }

  .section-subtitle {
    font-size: 0.9rem !important;
    margin-bottom: 1.5rem !important;
  }

  .hero {
    padding: 60px 3% 40px !important;
  }

  .service-category-title {
    font-size: 1.3rem !important;
    margin: 2rem 0 1rem !important;
  }

  /* Reduce vertical spacing for less scrolling */
  .community-grid {
    gap: 1.2rem !important;
  }

  .community-card {
    padding: 1rem !important;
  }

  /* Contact section optimization */
  .contact-section {
    padding: 30px 3% !important;
  }

  .info-item {
    padding: 0.8rem !important;
    margin-bottom: 1rem !important;
  }

  .map {
    height: 300px !important;
    margin: 1.5rem 0 !important;
  }

  /* Form optimization */
  .appointment-form {
    padding: 1.2rem !important;
    margin: 1rem auto !important;
  }

  .form-group {
    margin-bottom: 0.9rem !important;
  }

  input, textarea, select {
    padding: 0.8rem !important;
  }

  .submit-btn {
    padding: 0.9rem 1.5rem !important;
    margin-top: 0.8rem !important;
    min-height: 44px !important;
    font-size: 1rem !important;
  }

  /* Mobile CTA button optimization */
  .cta-btn {
    padding: 0.9rem 1.5rem !important;
    min-height: 44px !important;
    font-size: 0.95rem !important;
    width: 100%;
    display: block;
    margin: 0.8rem 0;
  }

  .fee-card .cta-btn {
    width: auto;
    display: inline-block;
  }

  /* Reduce excessive spacing between sections */
  .services-section {
    padding-bottom: 30px !important;
  }

  .gallery-section {
    padding-top: 30px !important;
    padding-bottom: 30px !important;
  }

  .fees-section {
    padding-top: 30px !important;
    padding-bottom: 30px !important;
  }

  /* Link styling for mobile */
  a {
    -webkit-tap-highlight-color: rgba(45, 122, 95, 0.1);
  }

  /* Ensure no horizontal scroll */
  html, body {
    overflow-x: hidden;
  }

  /* Typography improvements for mobile readability */
  .section-title {
    line-height: 1.3 !important;
    word-spacing: 0.1em;
  }

  .section-subtitle {
    line-height: 1.5 !important;
  }

  .service-category-title {
    line-height: 1.3 !important;
  }

  /* Improve list item spacing */
  .service-card p {
    line-height: 1.6 !important;
  }

  /* Compact testimonials for mobile */
  .testimonial-text {
    line-height: 1.5 !important;
    font-size: 0.9rem !important;
}
}

/* Services Slider on Mobile */
@media (max-width: 768px) {
  .services-slider {
    display: flex !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 1rem;
    padding: 0 1rem;
    -webkit-overflow-scrolling: touch;
    grid-template-columns: unset !important;
  }

  .services-slider::-webkit-scrollbar {
    display: none;
  }

  .services-slider .service-card {
    flex: 0 0 calc(100vw - 2rem);
    max-width: calc(100vw - 2rem);
    height: auto;
    min-height: 240px;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .slider-indicators {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
  }

  .slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(45, 122, 95, 0.3);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  .slider-dot.active {
    width: 24px;
    background: var(--primary);
    border-radius: 4px;
  }

  .gallery-slider {
    display: flex !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 0.8rem;
    padding: 0 0.8rem;
    -webkit-overflow-scrolling: touch;
    grid-template-columns: unset !important;
  }

  .gallery-slider::-webkit-scrollbar {
    display: none;
  }

  .gallery-slider .gallery-item {
    flex: 0 0 calc(100vw - 1.6rem);
    max-width: calc(100vw - 1.6rem);
    height: 320px;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  /* Testimonials Slider on Mobile */
  .testimonials-slider {
    display: flex !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 1rem;
    padding: 0 1rem;
    -webkit-overflow-scrolling: touch;
    grid-template-columns: unset !important;
  }

  .testimonials-slider::-webkit-scrollbar {
    display: none;
  }

  .testimonials-slider .testimonial-card {
    flex: 0 0 calc(100vw - 2rem);
    max-width: calc(100vw - 2rem);
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  /* Fees Slider on Mobile */
  .fees-slider {
    display: flex !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 1.5rem !important;
    padding: 0 1rem !important;
    -webkit-overflow-scrolling: touch;
    grid-template-columns: unset !important;
    margin: 3rem 0 !important;
  }

  .fees-slider::-webkit-scrollbar {
    display: none;
  }

  .fees-slider .fee-card {
    flex: 0 0 calc(100vw - 2rem);
    max-width: calc(100vw - 2rem);
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
}

/* Desktop - Restore Grid Layout */
@media (min-width: 769px) {
  .services-slider {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
    gap: var(--spacing-lg) !important;
    padding: 0 !important;
    overflow-x: auto !important;
    scroll-snap-type: unset !important;
  }

  .services-slider .service-card {
    flex: unset !important;
    max-width: unset !important;
    scroll-snap-align: unset !important;
  }

  .slider-indicators {
    display: none !important;
  }

  .gallery-slider {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
    gap: var(--spacing-lg) !important;
    padding: 0 !important;
    overflow-x: auto !important;
  }

  .gallery-slider .gallery-item {
    flex: unset !important;
    max-width: unset !important;
    height: 350px !important;
    scroll-snap-align: unset !important;
  }

  /* Testimonials Grid on Desktop */
  .testimonials-slider {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
    gap: var(--spacing-lg) !important;
    padding: 0 !important;
    overflow-x: auto !important;
    scroll-snap-type: unset !important;
  }

  .testimonials-slider .testimonial-card {
    flex: unset !important;
    max-width: unset !important;
    scroll-snap-align: unset !important;
  }

  /* Fees Grid on Desktop */
  .fees-slider {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
    gap: var(--spacing-lg) !important;
    padding: 0 !important;
    overflow-x: auto !important;
    scroll-snap-type: unset !important;
  }

  .fees-slider .fee-card {
    flex: unset !important;
    max-width: unset !important;
    scroll-snap-align: unset !important;
  }
}

/* Stats Bar and Fees Mobile Optimization */
@media (max-width: 768px) {
  .stats-bar {
    padding: 1.5rem 2% !important;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.8rem !important;
  }

  .stat-item {
    padding: 0.8rem !important;
    text-align: center;
  }

  .stat-number {
    font-size: 1.3rem !important;
  }

  .stat-label {
    font-size: 0.65rem !important;
  }

  /* Gallery section mobile optimization */
  .gallery-section h2 {
    font-size: 1.5rem !important;
    margin-bottom: 0.6rem !important;
  }

  .gallery-section p {
    font-size: 0.9rem !important;
    margin-bottom: 1rem !important;
  }

  /* Fees section mobile optimization */
  .fees-grid h3 {
    font-size: 1.1rem !important;
  }

  .fee-card {
    padding: 1.2rem !important;
  }

  .fee-card .fee-amount {
    font-size: 1.8rem !important;
  }
}

@media (max-width: 768px) {
  .service-card {
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 1rem !important;
    margin-bottom: 0.5rem;
    background: var(--white);
  }

  .service-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
    color: var(--primary);
  }

  .service-card p {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--light);
  }

  .service-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 0.8rem;
  }

  .service-icon i {
    font-size: 1.2rem;
  }

  /* Smooth scroll spacing */
  .service-card:last-child {
    margin-bottom: 2rem;
  }
}

/* Ripple Effect for Buttons */
.cta-btn {
  position: relative;
  overflow: hidden;
}

.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  transform: scale(0);
  animation: rippleAnimation 0.6s ease-out;
  pointer-events: none;
}

@keyframes rippleAnimation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* CTA Button enhanced styling for mobile */
.cta-btn {
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  letter-spacing: 0.3px;
  font-weight: 600;
}

.cta-btn:active {
  transform: scale(0.95);
}

@media (max-width: 768px) {
  .cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(45, 122, 95, 0.2);
  }

  .cta-btn:hover {
    box-shadow: 0 6px 20px rgba(45, 122, 95, 0.3);
  }

  .cta-btn:active {
    box-shadow: 0 2px 10px rgba(45, 122, 95, 0.15);
  }
}

/* Service category title mobile enhancement */
@media (max-width: 768px) {
  .service-category-title {
    font-size: 1.4rem !important;
    margin-top: 2.5rem !important;
    margin-bottom: 1.5rem !important;
    text-align: center;
    padding: 0 1rem;
  }

  .service-category-title i {
    margin-right: 0.5rem;
  }
}

/* Ensure smooth scrolling on mobile */
@media (max-width: 768px) {
  html {
    scroll-behavior: smooth;
  }

  body {
    scroll-behavior: smooth;
  }
}

