/* =====================================================
   ACE DENTAL PVT. LTD. — FIXED & CLEAN STYLESHEET
   Color Scheme: Soft Teal, Sky Blue, Sage Green
   Fixed: Alignment, Spacing, Responsive, Clean Layout
   ===================================================== */

/* ── CSS Custom Properties ── */
:root {
  /* Professional Dental Color System - Updated Theme */
  --primary:       #ed1b22; /* Red from user input */
  --primary-dark:  #c4161b;
  --primary-light: #ff3d44;
  --primary-soft:  #fff5f5; /* Very light red bg */

  /* SECONDARY COLORS */
  --secondary:     #01a54f; /* Green from user input */
  --secondary-dark:#018a42;
  
  /* ACCENT COLORS */
  --accent:        #01a54f; /* Green */
  --accent-sage:   #01a54f; 
  --accent-blue:   #ed1b22; 

  /* TEXT COLORS */
  --text-primary:  #1F2937;
  --text-body:     #4B5563;
  --text-muted:    #9ca3af;
  --text-light:    #d1d5db;

  /* BACKGROUND COLORS */
  --bg-white:      #FFFFFF;
  --bg-light:      #F9FAFB;
  --bg-secondary:  #f3f4f6;

  /* BORDERS & SHADOWS */
  --border:        #e5e7eb;
  --border-light:  #f3f4f6;
  --shadow-sm:     0 1px 3px rgba(0,0,0,0.05);
  --shadow-md:     0 4px 12px rgba(237, 27, 34, 0.1);
  --shadow-lg:     0 10px 25px rgba(237, 27, 34, 0.12);

  --radius-sm:     8px;
  --radius-md:     12px;
  --radius-lg:     16px;
  --radius-pill:   999px;

  --transition:    all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  /* FONTS */
  --font-heading:  'Sora', sans-serif;
  --font-body:     'Asap', sans-serif;
}

/* ════════════════════════════
   ANIMATIONS & MICRO-INTERACTIONS
════════════════════════════ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.stat-card, .service-card, .doctor-card {
  animation: fadeInUp 0.6s ease-out forwards;
}

/* ════════════════════════════
   RESET & BASE STYLES
════════════════════════════ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-body);
  background: var(--bg-light);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  line-height: 1.2;
  font-weight: 700;
  margin: 0;
}

h1 { font-size: 3.5rem; letter-spacing: -0.02em; }
h2 { font-size: 2.25rem; letter-spacing: -0.01em; }
h3 { font-size: 1.5rem; }

p {
  font-family: var(--font-body);
  color: var(--text-body);
  font-weight: 400;
  margin: 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* ════════════════════════════
   CONTAINER & LAYOUT
════════════════════════════ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
}

.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
}

.section-heading {
  margin-bottom: 16px;
  color: var(--text-primary);
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-body);
  margin: 0;
  line-height: 1.7;
}

/* ════════════════════════════
   BUTTONS (Global)
════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn:hover {
  box-shadow: 0 12px 24px rgba(13, 127, 143, 0.15);
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 14px rgba(13, 127, 143, 0.25);
}

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

.btn-outline {
  background: transparent;
  color: var(--secondary);
  border-color: var(--secondary);
}

.btn-outline:hover {
  background: var(--bg-secondary);
  color: var(--secondary-dark);
  border-color: var(--secondary-dark);
}

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

.btn-secondary:hover {
  background: var(--secondary-dark);
}

.btn-white {
  background: #fff;
  color: var(--primary);
  border: none;
}

.btn-white:hover {
  background: var(--bg-light);
  color: var(--primary-light);
}

.btn-service {
  background: var(--primary);
  color: #fff;
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-align: center;
  width: 100%;
  margin-top: auto;
  transition: var(--transition);
}

.btn-service:hover {
  background: var(--primary-light);
}

.btn-large {
  padding: 14px 36px;
  font-size: 1.05rem;
}

.btn-submit {
  width: 100%;
}

.btn-call {
  width: 100%;
  justify-content: center;
  margin-top: 12px;
}

/* ════════════════════════════
   NAVBAR — FIXED & CLEAN
════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent; /* Initial transparent state */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
  transition: all 0.4s ease;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(15px);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid var(--border-light);
}

.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(31, 41, 55, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1400;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
  position: relative;
  z-index: 1600;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: var(--transition);
}

.nav-logo:hover { opacity: 0.9; }

.logo-icon {
  width: 48px;
  height: 48px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.logo-main {
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff; /* White by default on transparent navbar */
  line-height: 1.1;
  letter-spacing: -0.5px;
  transition: var(--transition);
}

.navbar.scrolled .logo-main {
  color: var(--text-primary);
}

.logo-sub {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.1;
  transition: var(--transition);
}

.navbar.scrolled .logo-sub {
  color: var(--primary);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 35px;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: #ffffff; /* White by default */
  position: relative;
  white-space: nowrap;
  transition: var(--transition);
}

.navbar.scrolled .nav-link {
  color: var(--text-body);
}

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

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active { color: var(--primary); }

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

.navbar.scrolled .nav-link::after {
  background: var(--primary);
}

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

.nav-cta { 
  margin-left: 20px; 
}

/* Hamburger (Mobile) */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  z-index: 2100;
}

.navbar.scrolled .hamburger {
  border-color: var(--border-light);
}

.hamburger:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.hamburger:hover span { background: #fff; }

.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: #ffffff; /* White by default */
  border-radius: 2px;
  transition: all 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
  position: absolute;
  left: 10px;
  top: 20.75px;
}

.navbar.scrolled .hamburger span {
  background: var(--primary);
}

.navbar.scrolled .hamburger:hover span {
  background: #ffffff;
}

.hamburger span:nth-child(1) { transform: translateY(-8px); }
.hamburger span:nth-child(2) { transform: translateY(0); }
.hamburger span:nth-child(3) { transform: translateY(8px); }

.hamburger.active {
  background: var(--primary);
  border-color: var(--primary);
  transform: rotate(180deg);
}

.hamburger.active span { 
  background: #ffffff !important; /* Force white for 'X' visibility */
}

.hamburger.active span:nth-child(1) { transform: translateY(0) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: translateX(-20px); }
.hamburger.active span:nth-child(3) { transform: translateY(0) rotate(-45deg); }

/* ── NAVBAR RESPONSIVE ── */
@media (max-width: 1024px) {
  .navbar { 
    position: fixed; /* Restore fixed position for scroll behavior */
    padding: 12px 0; 
    background: transparent;
    box-shadow: none;
    border-bottom: none;
  }

  /* Restore white background on scroll or menu open */
  .navbar.scrolled,
  .navbar.menu-open {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid var(--border-light);
  }

  .logo-main {
    color: #ffffff;
  }

  .navbar.scrolled .logo-main,
  .navbar.menu-open .logo-main {
    color: var(--text-primary);
  }

  .logo-sub {
    color: rgba(255, 255, 255, 0.8);
  }

  .navbar.scrolled .logo-sub,
  .navbar.menu-open .logo-sub {
    color: var(--primary);
  }

  .hamburger {
    display: flex;
    border-color: rgba(255, 255, 255, 0.2);
  }

  .navbar.scrolled .hamburger,
  .navbar.menu-open .hamburger {
    border-color: var(--border-light);
  }

  .hamburger span {
    background: #ffffff;
  }

  .navbar.scrolled .hamburger span,
  .navbar.menu-open .hamburger span {
    background: var(--primary);
  }

  /* Ensure active 'X' is always white */
  .hamburger.active span {
    background: #ffffff !important;
  }

  .nav-container { padding: 0 20px; }
  .nav-list, .nav-cta { display: none; }
  .hamburger { 
    display: flex; 
    border-color: var(--border-light);
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100vh;
    background: var(--bg-white);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 30px 40px;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1500;
    gap: 0;
    overflow-y: auto;
  }

  .nav-menu.open { right: 0; }

  .nav-list {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0;
  }

  .nav-link {
    display: block;
    width: 100%;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 1.1rem;
    color: var(--text-primary);
  }

  .nav-link:hover,
  .nav-link.active { padding-left: 10px; color: var(--primary); }
  .nav-link::after { display: none; }

  .nav-cta {
    display: inline-flex;
    margin: 30px 0 0;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .nav-container { padding: 0 16px; }
}

/* ════════════════════════════
   HERO SECTION — BOLD ASYMMETRY
════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center; /* Center content horizontally */
  overflow: hidden;
  padding: 120px 0 80px;
  background: url('herobaground.jpg') no-repeat center center/cover;
  text-align: center; /* Center text by default */
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6)); /* Darker gradient for white text contrast */
  z-index: 1;
}

.hero-bg {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 900px;
  width: 100%;
}

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  color: #ffffff; /* White text as per reference */
}

.hero-heading {
  font-size: clamp(2.5rem, 8vw, 5rem); /* Larger heading like reference */
  font-weight: 700;
  line-height: 1.1;
  color: #ffffff;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* .hero-heading span span {
  font-size: 0.3em;
  font-weight: 500;
  display: inline-block;
  vertical-align: middle;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.8;
  margin-left: 10px;
} */

.hero-para {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  max-width: 700px;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding-top: 30px;
}

.btn-hero-primary {
  background: var(--primary); /* Use theme red */
  color: #ffffff;
  padding: 16px 32px;
  border-radius: 50px; /* Pill shape */
  font-size: 1.1rem;
  font-weight: 600;
  box-shadow: 0 10px 20px rgba(237, 27, 34, 0.3);
  transition: var(--transition);
}

.btn-hero-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 15px 25px rgba(237, 27, 34, 0.4);
}

.btn-hero-outline {
  background: var(--secondary); /* Use theme green */
  color: #ffffff;
  border: 2px solid var(--secondary);
  padding: 14px 30px;
  border-radius: 50px; /* Pill shape */
  font-size: 1.1rem;
  font-weight: 600;
  transition: var(--transition);
}

.btn-hero-outline:hover {
  background: var(--secondary-dark);
  border-color: var(--secondary-dark);
  color: #ffffff;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-body);
  font-size: 0.85rem;
  animation: bounce 3s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-10px); }
}

/* ── HERO RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero .container { gap: 40px; }
}

@media (max-width: 768px) {
  .hero {
    padding: 100px 0 60px;
    margin-top: 0; /* Changed from 60px to 0 as navbar is now absolute */
    min-height: auto;
  }

  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text { 
    align-items: center; 
    display: flex;
    flex-direction: column;
    padding: 0 20px;
  }

  .hero-actions {
    margin-bottom: 30px;
    justify-content: center;
    width: 100%;
    flex-direction: column;
    gap: 16px;
  }

  .hero-actions .btn-hero-primary,
  .hero-actions .btn-hero-outline { 
    width: fit-content; /* Make width small/compact */
    min-width: 240px;
    padding: 12px 24px;
    font-size: 1rem;
  }

  .hero-heading {
    font-size: 2.8rem;
    margin-bottom: 10px;
  }

  .hero-para { 
    margin: 0 auto 24px; 
    font-size: 1.1rem;
  }

  .hero-image-wrap {
    display: none;
  }

  .hero-bg { width: 100%; opacity: 0.1; }
  .section-heading { font-size: clamp(1.75rem, 5vw, 2.5rem); }
}

@media (max-width: 480px) {
  .hero { padding: 100px 0 40px; margin-top: 0; }
  .hero-heading { font-size: 2rem; }
  .hero-para { font-size: 1rem; }
  .hero-stats { gap: 20px; }
  .hero-stat-divider { display: none; }
  .hero-scroll-hint { display: none; }
}














/* ════════════════════════════
   WHY US SECTION
════════════════════════════ */
.section-label-white {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.section-heading-white { color: #fff !important; }
.section-sub-white { color: rgba(255, 255, 255, 0.8) !important; }

.why-us {
  background: var(--bg-light);
  color: var(--text-body);
}

.why-us-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.why-us-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.why-item {
  display: flex;
  gap: 20px;
}

.why-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: var(--primary-soft);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.5rem;
}

.why-text strong {
  display: block;
  font-size: 1.05rem;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.why-text p {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.6;
}

.why-us-image { position: relative; }

.why-us-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.why-us-card {
  position: absolute;
  bottom: 30px;
  right: 30px;
  /* background: var(--bg-white);    */
  /* border: 1px solid var(--border-light); */
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-lg);
}

.why-us-card-icon {
  width: 50px;
  height: 50px;
  background: yellow;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000000;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.why-us-card strong {
  display: block;
  font-size: 1.1rem;
  color: #000000; /* Changed to black */
}

.why-us-card span {
  font-size: 0.85rem;
  color: #333333; /* Darker/Black for better visibility */
}

/* ── WHY US RESPONSIVE ── */
@media (max-width: 1024px) {
  .why-us-inner { 
    display: flex;
    flex-direction: column;
    gap: 40px; 
  }
  .why-us-image {
    order: -1; /* Image appears before text on mobile/tablet */
    margin-bottom: 20px;
  }
  .why-us-card { bottom: 20px; right: 20px; }
}

@media (max-width: 480px) {
  .why-us-image img { height: 320px; }
  .why-us-card { 
    position: absolute; 
    bottom: 15px; 
    right: 10px; 
    padding: 8px 8px; /* Smaller padding */
    gap: 6px; /* Smaller gap */
    border-radius: var(--radius-md); /* Slightly smaller radius */
  }
  .why-us-card-icon {
    width: 32px; /* Smaller icon container */
    height: 32px;
    font-size: 1rem;
  }
  .why-us-card strong { font-size: 0.85rem; } /* Smaller font */
  .why-us-card span { font-size: 0.65rem; } /* Smaller font */
}

/* ════════════════════════════
   ABOUT SECTION — CLEAN & COMPACT
════════════════════════════ */
.about { background: var(--bg-white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-images { position: relative; }

.about-img-main {
  width: 100%;
  height: 450px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-badge-float {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-lg);
  z-index: 10;
}

.about-badge-float i {
  font-size: 1.8rem;
  color: var(--accent-sage);
}

.about-badge-float strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.about-badge-float span {
  font-size: 0.8rem;
  color: var(--text-body);
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-para {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-body);
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 10px 0;
}

.about-feature {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.about-feature-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  /* background: var(--primary-light); */
  /* border-radius: var(--radius-md); */
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.3rem;
}

.about-feature strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.about-feature p {
  font-size: 0.85rem;
  color: var(--text-body);
  line-height: 1.5;
}

/* ── ABOUT RESPONSIVE ── */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 50px; }
  .about-img-main { height: 400px; }
  .about-features { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .about-features { grid-template-columns: 1fr; gap: 16px; }
  .about-img-main { height: 350px; }
  .about-badge-float { left: 0; bottom: -15px; }
}

@media (max-width: 480px) {
  .about-img-main { height: 280px; }
  .about-badge-float { padding: 12px 16px; left: 10px; }
  .about-features { gap: 14px; }
}

/* ════════════════════════════
   SERVICES SECTION
════════════════════════════ */
.services { background: var(--bg-white); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px; /* Reduced from 24px */
}

.service-card {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  background: var(--bg-white);
}

.service-img-wrap {
  width: 100%;
  height: 140px; /* Reduced from 180px */
  overflow: hidden;
  position: relative;
}

.service-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: var(--transition);
}

.service-card-content {
  padding: 16px; /* Reduced from 20px */
  display: flex;
  flex-direction: column;
  gap: 10px; /* Reduced from 12px */
  flex-grow: 1;
}

.service-icon {
  width: 36px; /* Reduced from 44px */
  height: 36px;
  background: var(--primary-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem; /* Reduced from 1.4rem */
  color: var(--primary);
  margin-bottom: 2px;
}

.service-card h3 {
  font-size: 1rem; /* Reduced from 1.15rem */
  color: var(--text-primary);
  margin: 0;
}

.service-card p {
  font-size: 0.85rem; /* Reduced from 0.9rem */
  color: var(--text-body);
  line-height: 1.4; /* Reduced from 1.5 */
  margin: 0;
  flex-grow: 1;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.95rem;
  margin-top: auto;
}

.service-link:hover { gap: 12px; }

/* ── SERVICES RESPONSIVE ── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ════════════════════════════
   DOCTORS SECTION — DRAG SCROLL
════════════════════════════ */
/* ════════════════════════════════════════════════════
   DOCTORS SECTION — FULLY RESPONSIVE FIX
   Fixed: Mobile layout, card sizing, container overflow
════════════════════════════════════════════════════ */

.doctors {
  background: var(--bg-white);
  padding: 80px 0;
}

/* OUTER CONTAINER */
.doctors-slider-outer {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* SCROLL CONTAINER */
.doctors-slider-container {
  overflow-x: auto;
  overflow-y: hidden;
  padding: 10px 0 30px;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scrollbar-width: none;
  cursor: grab;
  -ms-overflow-style: none; /* Hide scrollbar for IE/Edge */
}

/* Hide scrollbar for Chrome/Safari/Firefox */
.doctors-slider-container::-webkit-scrollbar {
  display: none;
}

.doctors-slider-container:active {
  cursor: grabbing;
}

/* TRACK (Flex Container) */
.doctors-slider-track {
  display: flex;
  gap: 24px;
  width: max-content;
  scroll-snap-type: x mandatory;
  padding: 0 20px;
}

/* ════════════════════════════
   MOBILE (320px - 767px)
════════════════════════════ */

.doctor-card {
  flex: 0 0 85vw; /* Mobile: 85% of viewport width */
  max-width: 320px; /* Maximum width */
  background: #fff;
  border: 1px solid #e0e5e5;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  text-align: center;
  scroll-snap-align: center;
  scroll-snap-stop: always;
}

.doctor-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  border-color: #00a8a8;
}

/* DOCTOR IMAGE */
.doctor-img-wrap {
  height: 240px;
  overflow: hidden;
  background: #f0f4f4;
  position: relative;
}

.doctor-img-wrap::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.05), transparent);
}

.doctor-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.doctor-card:hover .doctor-img-wrap img {
  transform: scale(1.08);
}

/* DOCTOR INFO */
.doctor-info {
  padding: 20px 16px;
}

.doctor-info h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: #1a1a2e;
  font-weight: 600;
  line-height: 1.2;
}

.doctor-info span {
  display: block;
  color: #00a8a8;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.doctor-info p {
  font-size: 0.85rem;
  line-height: 1.5;
  color: #666;
  margin-bottom: 16px;
}

/* BOOK APPOINTMENT BUTTON */
.bookappointment {
  margin-top: 8px;
}

.book-btn {
  display: block;
  width: 100%;
  padding: 10px 16px;
  background: var(--secondary); /* Green */
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  border: 2px solid var(--secondary);
  cursor: pointer;
  text-align: center;
}

.book-btn:hover {
  background: var(--secondary-dark);
  border-color: var(--secondary-dark);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(1, 165, 79, 0.3);
  transform: translateY(-2px);
}

.book-btn:active {
  transform: translateY(0);
}

/* HIDE SLIDER BUTTONS */
.slider-btn {
  display: none !important;
}

/* ════════════════════════════
   SMALL MOBILE (320px - 420px)
════════════════════════════ */

@media (max-width: 420px) {
  .doctors {
    padding: 60px 0;
  }

  .doctors-slider-track {
    padding: 0 12px;
    gap: 16px;
  }

  .doctor-card {
    flex: 0 0 88vw;
    max-width: 300px;
  }

  .doctor-img-wrap {
    height: 200px;
  }

  .doctor-info {
    padding: 16px 12px;
  }

  .doctor-info h3 {
    font-size: 0.95rem;
    margin-bottom: 6px;
  }

  .doctor-info span {
    font-size: 0.75rem;
    margin-bottom: 8px;
  }

  .doctor-info p {
    font-size: 0.8rem;
    line-height: 1.4;
    margin-bottom: 12px;
  }

  .book-btn {
    padding: 8px 12px;
    font-size: 0.8rem;
    border-radius: 6px;
  }
}

/* ════════════════════════════
   MEDIUM MOBILE (421px - 600px)
════════════════════════════ */

@media (min-width: 421px) and (max-width: 600px) {
  .doctors-slider-track {
    padding: 0 16px;
    gap: 20px;
  }

  .doctor-card {
    flex: 0 0 82vw;
    max-width: 320px;
  }

  .doctor-img-wrap {
    height: 220px;
  }

  .doctor-info {
    padding: 18px 14px;
  }

  .doctor-info h3 {
    font-size: 1rem;
  }

  .doctor-info span {
    font-size: 0.8rem;
  }

  .doctor-info p {
    font-size: 0.85rem;
  }

  .book-btn {
    padding: 9px 14px;
    font-size: 0.82rem;
  }
}

/* ════════════════════════════
   TABLET (601px - 1023px)
════════════════════════════ */

@media (min-width: 601px) and (max-width: 1023px) {
  .doctors {
    padding: 70px 0;
  }

  .doctors-slider-track {
    padding: 0 24px;
    gap: 24px;
  }

  .doctor-card {
    flex: 0 0 45vw; /* Show ~2 cards */
    max-width: 400px;
  }

  .doctor-img-wrap {
    height: 260px;
  }

  .doctor-info {
    padding: 24px 20px;
  }

  .doctor-info h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
  }

  .doctor-info span {
    font-size: 0.85rem;
    margin-bottom: 12px;
  }

  .doctor-info p {
    font-size: 0.9rem;
    margin-bottom: 18px;
  }

  .book-btn {
    padding: 11px 20px;
    font-size: 0.9rem;
  }
}

/* ════════════════════════════
   DESKTOP (1024px+)
════════════════════════════ */

@media (min-width: 1024px) {
  .doctors {
    padding: 80px 0;
  }

  .doctors-slider-track {
    padding: 0 20px;
    gap: 24px;
  }

  .doctor-card {
    flex: 0 0 320px; /* Fixed width */
  }

  .doctor-img-wrap {
    height: 260px;
  }

  .doctor-info {
    padding: 28px 24px;
  }

  .doctor-info h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
  }

  .doctor-info span {
    font-size: 0.9rem;
    margin-bottom: 14px;
  }

  .doctor-info p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 24px;
  }

  .book-btn {
    padding: 12px 28px;
    font-size: 0.95rem;
  }

  .book-btn:hover {
    box-shadow: 0 12px 30px rgba(0, 168, 168, 0.35);
    transform: translateY(-3px);
  }
}

/* ════════════════════════════
   EXTRA LARGE DESKTOP (1440px+)
════════════════════════════ */

@media (min-width: 1440px) {
  .doctor-card {
    flex: 0 0 340px;
  }

  .doctor-img-wrap {
    height: 280px;
  }

  .doctor-info {
    padding: 32px 28px;
  }

  .doctor-info h3 {
    font-size: 1.3rem;
  }
}

/* ════════════════════════════
   ACCESSIBILITY
════════════════════════════ */

.doctor-card:focus-visible {
  outline: 3px solid #00a8a8;
  outline-offset: 2px;
}

.book-btn:focus-visible {
  outline: 2px solid #00a8a8;
  outline-offset: 2px;
}

/* ════════════════════════════
   TOUCH DEVICE IMPROVEMENTS
════════════════════════════ */

@media (hover: none) and (pointer: coarse) {
  .doctor-card:active {
    transform: scale(0.98);
  }

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

/* ════════════════════════════
   GALLERY SECTION
════════════════════════════ */
.gallery { background: var(--bg-light); }

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

.gallery-item {
  position: relative;
  height: 220px; /* Reduced from 280px */
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-overlay {
  display: none;
}

.gallery-overlay span {
  color: #fff;
  font-weight: 600;
  font-size: 1.1rem;
}

.gallery-large { grid-column: span 2; }
.gallery-wide { grid-column: span 2; }

/* ── GALLERY RESPONSIVE ── */
@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
  .gallery-large, .gallery-wide { grid-column: span 2; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-large, .gallery-wide { grid-column: span 1; }
  .gallery-item { height: 240px; }
}

/* ════════════════════════════
   CTA BANNER SECTION
════════════════════════════ */
.cta-banner {
  background: var(--primary);
  padding: 80px 0;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 2px 2px, rgba(255,255,255,0.05) 1px, transparent 0);
  background-size: 24px 24px;
  pointer-events: none;
}

.cta-banner-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
  margin: 0 auto;
}

.cta-banner h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  color: #fff;
  margin-bottom: 24px;
}

.cta-banner p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
}

.cta-banner .btn-white {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.cta-banner .btn-white:hover {
  background: var(--bg-light);
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* ════════════════════════════
   TESTIMONIALS SECTION
════════════════════════════ */
.testimonials { background: var(--bg-white); }

.testimonials-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  background: var(--bg-white);
}

.testi-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.testi-stars {
  display: flex;
  gap: 4px;
  color: var(--accent-peach);
  font-size: 1.2rem;
}

.testi-quote {
  color: var(--primary-light);
  font-size: 1.5rem;
  opacity: 0.5;
}

.testi-text {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.7;
  font-style: italic;
}

.testi-user {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

.testi-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
}

.testi-info strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.testi-info span {
  font-size: 0.85rem;
  color: var(--text-body);
}

/* ── TESTIMONIALS RESPONSIVE ── */
@media (max-width: 768px) {
  .testimonials-track { grid-template-columns: 1fr; }
}

/* ════════════════════════════
   CONTACT SECTION
════════════════════════════ */
.contact { background: var(--bg-white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-form-wrap {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

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

.form-group label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 12px 16px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--bg-white);
  color: var(--text-primary);
  transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(78, 205, 196, 0.1);
}

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

.form-error {
  font-size: 0.85rem;
  color: #dc2626;
  display: none;
}

.form-error.visible { display: block; }

.form-success {
  display: none;
  background: rgba(159, 187, 149, 0.1);
  border: 1px solid var(--accent-sage);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
  color: var(--accent-sage);
  font-weight: 600;
}

.form-success.visible {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.form-success i { font-size: 1.3rem; }

.contact-info-wrap {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-info-card {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-card h3 {
  font-size: 1.3rem;
  color: var(--text-primary);
}

.contact-detail {
  display: flex;
  gap: 16px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.3rem;
}

.contact-detail strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.contact-detail span {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.6;
}

.contact-detail a {
  color: var(--primary);
  font-weight: 600;
}

.contact-detail a:hover { text-decoration: underline; }

.map-wrap {
  width: 100%;
  height: 350px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

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

/* ── CONTACT RESPONSIVE ── */
@media (max-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap, .contact-info-card { padding: 24px; }
}

/* ════════════════════════════
   FOOTER
════════════════════════════ */
.footer {
  background: #1F2937;
  color: rgba(255, 255, 255, 0.8);
  padding: 60px 0 30px;
}

.footer-top-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  text-decoration: none;
}

.footer-logo .logo-icon {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.2);
}

.footer-logo .logo-main { color: #fff; }
.footer-logo .logo-sub { color: var(--primary); }

.footer-brand p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.social-link:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-links-col h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.footer-links-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-col a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links-col a:hover { color: var(--primary); }

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.9rem;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-contact-list i {
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: center;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.footer-bottom-links {
  display: flex;
  gap: 30px;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  transition: var(--transition);
}

.footer-bottom-links a:hover { color: var(--primary); }

/* ── FOOTER RESPONSIVE ── */
@media (max-width: 1024px) {
  .footer-top-inner { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .footer-bottom { grid-template-columns: 1fr; gap: 16px; }
  .footer-bottom-inner { flex-direction: column; gap: 16px; align-items: flex-start; }
  .footer-bottom-links { flex-direction: column; gap: 12px; }
  .footer-top-inner { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .footer-top-inner { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom-inner { font-size: 0.85rem; }
}

/* ════════════════════════════
   BACK TO TOP BUTTON
════════════════════════════ */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: #557472;
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(85, 116, 114, 0.2);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
}

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

.back-to-top:hover {
  background: #3f5654;
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(85, 116, 114, 0.4);
}

@media (max-width: 480px) {
  .back-to-top {
    width: 44px;
    height: 44px;
    bottom: 20px;
    right: 20px;
    font-size: 1.2rem;
  }
}

/* ════════════════════════════
   WHATSAPP FLOATING BUTTON
════════════════════════════ */
.whatsapp-float {
  position: fixed;
  bottom: 100px;
  right: 30px;
  /* background: #25D366; */
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
  z-index: 2000;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none;
  border: 2px solid #0dff00;
}

.whatsapp-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

@keyframes whatsapp-pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.4);
}

.whatsapp-float:hover .whatsapp-icon-wrap {
  animation-play-state: paused;
}
/* mobile css for whasapp logo */
@media (max-width: 768px) {
  .whatsapp-float {
    width: 55px;
    height: 55px;
    right: 15px;
    bottom: 90px;
  }

  .whatsapp-float img {
    width: 100%;
    height: auto;
  }
}

/* ════════════════════════════
   GLOBAL RESPONSIVE (Container, Section)
════════════════════════════ */
@media (max-width: 1024px) {
  .container { padding: 0 24px; }
  .section { padding: 60px 0; }
}

@media (max-width: 768px) {
  .section-heading { font-size: clamp(1.75rem, 5vw, 2.5rem); }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section { padding: 50px 0; }
  .section-header { margin-bottom: 40px; }
}

/* ════════════════════════════
   MINIMAL SCROLL ANIMATIONS
════════════════════════════ */
[data-aos] {
  opacity: 0;
  transform: translateY(20px);
  transition-property: opacity, transform;
  transition-duration: 0.8s;
  transition-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1);
  pointer-events: none;
}

[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Staggered delay classes */
[data-aos][data-aos-delay="100"] { transition-delay: 100ms; }
[data-aos][data-aos-delay="200"] { transition-delay: 200ms; }
[data-aos][data-aos-delay="300"] { transition-delay: 300ms; }
[data-aos][data-aos-delay="400"] { transition-delay: 400ms; }
[data-aos][data-aos-delay="500"] { transition-delay: 500ms; }

/* Subtle card hover elevation */
.service-card, .doctor-card, .testimonial-card, .why-item {
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), 
              box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.service-card:hover, .doctor-card:hover, .testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(13, 127, 143, 0.12);
}

/* Button ripple-like hover */
.btn {
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn:active {
  transform: translateY(0);
}

/* ── Branch labels (multi-location) ── */
.contact-branch-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--primary, #1a73e8);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 6px;
}

.footer-branch-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--primary, #1a73e8);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    pointer-events: none;
}
