/* ==========================================================================
   Dr. Saab Pediatric Clinic - Modern Aesthetic Stylesheet
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* Primary Color Palette (Calm Teal & Ocean Cyan) */
  --primary: #0284c7;
  --primary-hover: #0369a1;
  --primary-light: #e0f2fe;
  --primary-glow: rgba(2, 132, 199, 0.35);

  /* Secondary Accent (Warm Coral & Sun Gold) */
  --accent-coral: #f97316;
  --accent-coral-hover: #ea580c;
  --accent-yellow: #fbbf24;
  --accent-green: #10b981;
  --accent-purple: #8b5cf6;

  /* Neutral Tones */
  --bg-gradient: linear-gradient(135deg, #f0f9ff 0%, #f8fafc 40%, #eff6ff 100%);
  --surface-card: #ffffff;
  --surface-glass: rgba(255, 255, 255, 0.85);
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #64748b;
  --border-light: #e2e8f0;

  /* Shadows & Elevation */
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 16px 36px rgba(15, 23, 42, 0.12);
  --shadow-glow: 0 10px 25px rgba(2, 132, 199, 0.25);

  /* Fonts & Radius */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Box Sizing */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

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

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

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

button {
  font-family: var(--font-body);
  border: none;
  outline: none;
  cursor: pointer;
}

/* Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ==========================================================================
   TOP CTA BAR & NAVIGATION HEADER
   ========================================================================== */
.top-action-bar {
  background: linear-gradient(90deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  padding: 0.6rem 0;
  font-size: 0.95rem;
  box-shadow: 0 2px 10px rgba(2, 132, 199, 0.2);
  position: relative;
  z-index: 1001;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.top-bar-notice {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  letter-spacing: 0.2px;
}

.top-bar-notice .pulse-dot {
  width: 10px;
  height: 10px;
  background-color: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
  animation: pulse-ring 1.8s infinite;
}

.top-cta-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Prominent Top Action Buttons */
.btn-top-action {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.9rem;
  transition: var(--transition-fast);
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-top-book {
  background: #ffffff;
  color: var(--primary);
}

.btn-top-book:hover {
  background: #f0f9ff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255, 255, 255, 0.4);
}

.btn-top-call {
  background: #f97316;
  color: #ffffff;
  animation: subtle-bounce 3s infinite;
}

.btn-top-call:hover {
  background: #ea580c;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(249, 115, 22, 0.4);
}

.btn-top-call svg {
  animation: phone-shake 2s infinite ease-in-out;
}

/* Main Navigation Bar */
.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-icon-box {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary) 0%, #38bdf8 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);
}

.brand-text-content {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1rem, 3.8vw, 1.4rem);
  color: var(--text-main);
  line-height: 1.15;
}

.brand-tagline {
  font-size: clamp(0.68rem, 2.2vw, 0.75rem);
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  line-height: 1.25;
  white-space: normal;
}

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

.nav-link-item a {
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.95rem;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link-item a:hover {
  color: var(--primary);
}

.nav-link-item a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  background: var(--primary);
  border-radius: var(--radius-pill);
  transition: width 0.3s ease;
}

.nav-link-item a:hover::after {
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  font-size: 1.75rem;
  color: var(--text-main);
  padding: 0.25rem;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding: 4rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 3.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #e0f2fe;
  color: var(--primary-hover);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 1.5rem;
  border: 1px solid #bae6fd;
}

.hero-title {
  font-family: var(--font-heading);
  margin-bottom: 1.25rem;
  letter-spacing: -0.5px;
}

.hero-heading-top {
  display: block;
  font-size: clamp(1.75rem, 5.2vw, 3.1rem);
  font-weight: 800;
  line-height: 1.2;
  word-wrap: break-word;
  overflow-wrap: break-word;
  background: linear-gradient(135deg, var(--primary) 0%, #06b6d4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-heading-bottom {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-main);
  -webkit-text-fill-color: var(--text-main);
  line-height: 1.35;
  margin-top: 0.35rem;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 540px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, var(--primary) 0%, #0369a1 100%);
  color: #ffffff;
  padding: 0.9rem 2rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: var(--shadow-glow);
  transition: var(--transition-smooth);
}

.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(2, 132, 199, 0.4);
}

.btn-hero-call {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: #ffffff;
  color: var(--text-main);
  padding: 0.9rem 1.75rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 1.05rem;
  border: 2px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.btn-hero-call:hover {
  border-color: var(--accent-coral);
  color: var(--accent-coral);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* Stats Counter Grid */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(226, 232, 240, 0.8);
}

.stat-item h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-item p {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 600;
}

/* Hero Visual Canvas */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-img-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #ffffff;
  border: 6px solid #ffffff;
}

.hero-img-wrapper img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  transition: transform 0.5s ease;
}

.hero-img-wrapper:hover img {
  transform: scale(1.02);
}

/* Floating Badges */
.floating-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.8);
  animation: float-slow 4s ease-in-out infinite;
  z-index: 10;
}

.badge-top-left {
  top: 10%;
  left: -8%;
}

.badge-bottom-right {
  bottom: 8%;
  right: -5%;
  animation-delay: 2s;
}

.floating-icon {
  width: 40px;
  height: 40px;
  background: #f0f9ff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.floating-text h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
}

.floating-text p {
  font-size: 0.75rem;
  color: var(--text-light);
}

/* ==========================================================================
   DOCTOR BIO & ABOUT SECTION
   ========================================================================== */
.section-padding {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.section-badge {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary-hover);
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
}

.doctor-card-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 3.5rem;
  align-items: center;
  background: var(--surface-card);
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.doctor-avatar-wrapper {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.doctor-avatar-wrapper img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.doctor-info-content h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.doctor-title-sub {
  font-size: 1.05rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.doctor-qualifications {
  display: inline-block;
  background: #f1f5f9;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.doctor-bio-text {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.highlights-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.highlight-icon {
  width: 32px;
  height: 32px;
  background: #dcfce7;
  color: #15803d;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex-shrink: 0;
  font-size: 0.9rem;
}

.highlight-text h5 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-main);
}

.highlight-text p {
  font-size: 0.88rem;
  color: var(--text-light);
}

/* ==========================================================================
   SERVICES & SPECIALIZATIONS
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1.75rem;
}

.service-card {
  background: var(--surface-card);
  padding: 2.25rem 1.75rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), #38bdf8);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: #bae6fd;
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon-box {
  width: 56px;
  height: 56px;
  background: #f0f9ff;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
  transition: transform 0.3s ease;
}

.service-card:hover .service-icon-box {
  transform: scale(1.1) rotate(-5deg);
  background: var(--primary-light);
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   VACCINATION CALCULATOR INTERACTIVE TOOL
   ========================================================================== */
.vaccine-section {
  background: linear-gradient(180deg, #ffffff 0%, #f0f9ff 100%);
  border-radius: var(--radius-lg);
  padding: 4rem 2rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}

.age-selector-pills {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.age-pill-btn {
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-pill);
  background: #ffffff;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.92rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.age-pill-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.age-pill-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}

.vaccine-card-display {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  max-width: 800px;
  margin: 0 auto;
}

.vaccine-card-display h4 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.vaccine-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.vaccine-tag {
  background: #e0f2fe;
  color: #0369a1;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.vaccine-note-box {
  background: #fffbeb;
  border-left: 4px solid var(--accent-yellow);
  padding: 1rem 1.25rem;
  border-radius: 0 8px 8px 0;
  font-size: 0.92rem;
  color: #92400e;
  font-weight: 500;
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: var(--surface-card);
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-smooth);
}

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

.rating-stars {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.testimonial-quote {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-author h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
}

.testimonial-author p {
  font-size: 0.82rem;
  color: var(--text-light);
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--surface-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  text-align: left;
  background: transparent;
}

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

.faq-icon {
  font-size: 1.25rem;
  transition: transform 0.3s ease;
  color: var(--primary);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1), padding 0.35s ease;
  padding: 0 1.5rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 1.5rem 1.5rem;
  transition: max-height 0.5s ease-in-out, padding 0.3s ease;
}

/* ==========================================================================
   CONTACT & LOCATION CARD
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  background: var(--surface-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
}

.contact-info-panel {
  padding: 3rem;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
}

.contact-info-panel h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.contact-detail-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-detail-icon {
  font-size: 1.4rem;
  background: rgba(255, 255, 255, 0.2);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-text h5 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.85;
}

.contact-detail-text p {
  font-size: 1.05rem;
  font-weight: 600;
}

.action-card-panel {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
}

.action-card-box {
  background: #f0f9ff;
  border: 1px dashed var(--primary);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
}

.action-card-box h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.action-card-box p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 4rem 0 2rem;
  font-size: 0.9rem;
}

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

.footer-brand h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: #ffffff;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  line-height: 1.6;
  max-width: 320px;
}

.footer-col h4 {
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
}

/* ==========================================================================
   ANIMATIONS & REVEAL EFFECTS
   ========================================================================== */
@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
  }

  70% {
    box-shadow: 0 0 0 8px rgba(74, 222, 128, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0);
  }
}

@keyframes subtle-bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-2px);
  }
}

@keyframes phone-shake {

  0%,
  100% {
    transform: rotate(0deg);
  }

  10%,
  30%,
  50%,
  70% {
    transform: rotate(-8deg);
  }

  20%,
  40%,
  60% {
    transform: rotate(8deg);
  }

  80% {
    transform: rotate(0deg);
  }
}

@keyframes float-slow {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* Intersection Observer Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (FULL MULTI-DEVICE SUPPORT)
   ========================================================================== */

/* 1. Large Tablets & Small Laptops (<= 992px) */
@media (max-width: 992px) {
  .hero-section {
    padding: 3rem 0 4rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .hero-subtitle {
    margin: 0 auto 2rem;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
    max-width: 500px;
    margin: 0 auto;
  }

  .hero-visual {
    max-width: 520px;
    margin: 0 auto;
  }

  .badge-top-left {
    left: 10px;
    top: 15px;
  }

  .badge-bottom-right {
    right: 10px;
    bottom: 15px;
  }

  .doctor-card-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 2.5rem;
  }

  .doctor-avatar-wrapper {
    max-width: 360px;
    margin: 0 auto;
    width: 100%;
  }

  .doctor-avatar-wrapper img {
    height: 320px;
  }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

/* 2. Tablets & Mobile Navigation Breakpoint (<= 860px) */
@media (max-width: 860px) {
  .nav-container {
    height: 68px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.15);
    border-bottom: 2px solid var(--primary-light);
    gap: 0.5rem;
    z-index: 1002;
  }

  .nav-links.active {
    display: flex;
    animation: menu-slide-down 0.25s ease forwards;
  }

  @keyframes menu-slide-down {
    from {
      opacity: 0;
      transform: translateY(-8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .nav-link-item {
    width: 100%;
  }

  .nav-link-item a {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    color: var(--text-main);
  }

  .nav-link-item a:hover {
    background: var(--primary-light);
    color: var(--primary);
  }

  .nav-link-item a::after {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: #f0f9ff;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    font-size: 1.4rem;
    color: var(--primary);
    cursor: pointer;
    transition: var(--transition-fast);
  }

  .mobile-menu-toggle:hover {
    background: var(--primary-light);
  }
}

/* 3. Mobile Devices (<= 768px) */
@media (max-width: 768px) {
  .section-padding {
    padding: 3.5rem 0;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  .section-title {
    font-size: clamp(1.6rem, 5vw, 2rem);
  }

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

  .hero-heading-top {
    font-size: clamp(1.6rem, 6vw, 2.3rem);
  }

  .hero-heading-bottom {
    font-size: 1.25rem;
  }

  .doctor-card-grid {
    padding: 1.75rem 1.25rem;
    gap: 1.75rem;
  }

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

  .doctor-title-sub {
    font-size: 1rem;
  }

  .vaccine-section {
    padding: 2.5rem 1.25rem;
    border-radius: var(--radius-md);
  }

  .vaccine-card-display {
    padding: 1.5rem 1.25rem;
  }

  .contact-info-panel {
    padding: 2.25rem 1.5rem;
  }

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

  .action-card-panel {
    padding: 2rem 1.25rem;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }
}

/* 4. Small Mobile Phones (<= 540px) */
@media (max-width: 540px) {
  .container {
    width: 100%;
    padding: 0 0.85rem;
  }

  .nav-container {
    height: 64px;
  }

  .brand-logo {
    gap: 0.5rem;
    max-width: calc(100% - 50px);
  }

  .brand-icon-box {
    width: 36px;
    height: 36px;
    font-size: 1.15rem;
    border-radius: 8px;
    flex-shrink: 0;
  }

  .brand-name {
    font-size: clamp(0.95rem, 3.8vw, 1.15rem);
    line-height: 1.15;
  }

  .brand-tagline {
    font-size: clamp(0.62rem, 2.2vw, 0.72rem);
    line-height: 1.2;
    white-space: normal;
    max-width: none;
    overflow: visible;
  }

  .hero-section {
    padding: 2.25rem 0 3.25rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .btn-hero-primary,
  .btn-hero-call {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1.25rem;
    font-size: 0.95rem;
  }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.4rem;
    padding-top: 1.25rem;
  }

  .stat-item h3 {
    font-size: clamp(1.15rem, 4vw, 1.4rem);
  }

  .stat-item p {
    font-size: clamp(0.68rem, 2.2vw, 0.75rem);
    line-height: 1.2;
  }

  .floating-badge {
    padding: 0.4rem 0.65rem;
    gap: 0.45rem;
  }

  .badge-top-left {
    top: 6px;
    left: 6px;
  }

  .badge-bottom-right {
    bottom: 6px;
    right: 6px;
  }

  .floating-icon {
    width: 28px;
    height: 28px;
    font-size: 0.88rem;
  }

  .floating-text h4 {
    font-size: 0.72rem;
  }

  .floating-text p {
    font-size: 0.62rem;
  }

  .service-card {
    padding: 1.25rem 1rem;
  }

  .age-pill-btn {
    padding: 0.45rem 0.8rem;
    font-size: 0.8rem;
  }

  .faq-question {
    padding: 0.9rem 1rem;
    font-size: 0.92rem;
  }

  .faq-answer {
    font-size: 0.88rem;
  }

  .contact-detail-item {
    gap: 0.75rem;
  }

  .contact-detail-icon {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
  }

  .contact-detail-text p {
    font-size: 0.9rem;
    word-break: break-word;
  }
}

/* 5. Ultra-compact devices (<= 380px) */
@media (max-width: 380px) {
  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.25rem;
  }

  .stat-item h3 {
    font-size: 1.1rem;
  }

  .stat-item p {
    font-size: 0.64rem;
  }

  .brand-name {
    font-size: 0.92rem;
  }

  .brand-tagline {
    font-size: 0.6rem;
  }
}