/* 
   ==========================================================================
   Ask Online Vet - Global Stylesheet
   ==========================================================================
   Author: Antigravity AI
   Aesthetics: Clean, Medical, Trustworthy, Pet-Friendly, High-contrast, Modern
   ========================================================================== 
*/

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* --- Design System / Variables --- */
:root {
  /* Colors */
  --primary: #10b981;          /* Emerald Green */
  --primary-hover: #059669;    /* Dark Emerald */
  --primary-light: #ecfdf5;    /* Very Soft Mint */
  
  --secondary: #0f172a;        /* Deep Navy Blue (Text & Headers) */
  --secondary-light: #1e293b;  /* Slate Blue */
  --accent: #0d9488;           /* Teal */
  --accent-light: #f0fdfa;     /* Soft Teal tint */
  
  --danger: #ef4444;           /* Alert Red (Emergency disclaimer) */
  --danger-light: #fef2f2;     /* Alert Red light background */
  
  --warning: #f59e0b;          /* Orange-gold for rating stars */
  --warning-light: #fef3c7;
  
  --text-main: #334155;        /* Body text */
  --text-muted: #64748b;       /* Muted text */
  --bg-main: #ffffff;          /* Core backgrounds */
  --bg-alt: #f8fafc;           /* Light slate for alternate sections */
  --border-color: #e2e8f0;     /* Borders */
  
  /* Fonts */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Spacing */
  --container-max-width: 1200px;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Shadows & Borders */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--secondary);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

h1 { font-size: 2.5rem; letter-spacing: -0.025em; }
h2 { font-size: 2rem; letter-spacing: -0.02em; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

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

a:hover {
  color: var(--primary-hover);
}

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

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

ul, ol {
  list-style: none;
}

/* --- Layout Utility Classes --- */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-bg {
  background-color: var(--bg-alt);
}

.section-title-wrapper {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem auto;
}

.section-title-wrapper h2 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.section-title-wrapper p {
  color: var(--text-muted);
  font-size: 1.125rem;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

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

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

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* --- Typography Utilities --- */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-muted { color: var(--text-muted); }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

/* --- Buttons & CTAs --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-align: center;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
  box-shadow: 0 4px 14px 0 rgba(16, 185, 129, 0.4);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px 0 rgba(16, 185, 129, 0.5);
}

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

.btn-secondary:hover {
  background-color: var(--bg-alt);
  color: var(--primary);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.btn-danger {
  background-color: var(--danger);
  color: white;
  box-shadow: 0 4px 14px 0 rgba(239, 68, 68, 0.4);
}

.btn-danger:hover {
  background-color: #dc2626;
  color: white;
  transform: translateY(-2px);
}

.btn-large {
  padding: 1rem 2.25rem;
  font-size: 1.125rem;
  border-radius: var(--radius-lg);
}

.btn-full {
  display: flex;
  width: 100%;
}

/* --- Sticky Emergency Disclaimer Bar --- */
.emergency-bar {
  background-color: var(--danger-light);
  border-bottom: 1px solid rgba(239, 68, 68, 0.2);
  color: #991b1b;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  text-align: center;
  position: relative;
  z-index: 1001;
}

.emergency-bar strong {
  color: var(--danger);
}

.emergency-bar a {
  color: #991b1b;
  text-decoration: underline;
  font-weight: 600;
  margin-left: 0.5rem;
}

.emergency-bar a:hover {
  color: var(--danger);
}

/* --- Header & Navigation --- */
header {
  background-color: var(--bg-main);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all var(--transition-normal);
}

header.scrolled {
  box-shadow: var(--shadow-md);
  padding: 0.5rem 0;
}

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

header.scrolled .nav-container {
  height: 65px;
}

.logo-wrapper a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--secondary);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
}

.logo-wrapper span {
  color: var(--primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  color: var(--secondary-light);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 0.25rem 0;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--primary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width var(--transition-fast);
}

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

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1002;
}

.menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--secondary);
  border-radius: 3px;
  transition: all var(--transition-normal);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  padding: 7rem 0 6rem 0;
  background: radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.08) 0%, rgba(255, 255, 255, 0) 60%),
              radial-gradient(circle at 10% 80%, rgba(13, 148, 136, 0.05) 0%, rgba(255, 255, 255, 0) 50%);
  background-color: var(--bg-alt);
  overflow: hidden;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--primary-light);
  color: var(--primary-hover);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  align-self: flex-start;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.badge::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: var(--primary);
  border-radius: 50%;
}

.hero h1 {
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.hero p.lead {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 1.25rem;
}

.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-bg {
  position: absolute;
  width: 110%;
  height: 110%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
  z-index: 1;
}

.hero-image-container {
  position: relative;
  z-index: 2;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 4px solid white;
  width: 100%;
}

/* Custom placeholder graphics using CSS when images are missing */
.image-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent-light) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--accent);
  font-weight: 600;
  font-family: var(--font-heading);
  gap: 1rem;
}

.image-placeholder svg {
  width: 64px;
  height: 64px;
  opacity: 0.8;
  color: var(--primary);
}

/* Hero floating card */
.hero-floating-card {
  position: absolute;
  bottom: 30px;
  left: -20px;
  background: white;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid var(--border-color);
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.floating-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.5rem;
}

.floating-text h4 {
  margin-bottom: 0.15rem;
  font-size: 1rem;
}
.floating-text p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- Features & How It Works --- */
.feature-card {
  background: white;
  padding: 2.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background-color: var(--primary-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  transition: all var(--transition-normal);
}

.feature-card:hover .feature-icon {
  background-color: var(--primary);
  color: white;
}

.feature-card h3 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* How It Works Steps */
.step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  position: relative;
}

/* Connective Line */
.step-grid::after {
  content: '';
  position: absolute;
  top: 60px;
  left: 10%;
  right: 10%;
  height: 2px;
  background-color: var(--border-color);
  z-index: 1;
}

.step-card {
  text-align: center;
  position: relative;
  z-index: 2;
}

.step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: white;
  border: 3px solid var(--primary);
  color: var(--primary);
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.step-card:hover .step-number {
  background-color: var(--primary);
  color: white;
  transform: scale(1.1);
}

.step-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.step-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 280px;
  margin: 0 auto;
}

/* --- Doctor / Team Profile --- */
.doctor-feature {
  display: grid;
  grid-template-columns: 45% 55%;
  gap: 4rem;
  align-items: center;
}

.doctor-img-container {
  position: relative;
  max-width: 320px;
  margin: 0 auto;
}


.doctor-img-container::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 15px;
  right: -15px;
  bottom: -15px;
  background-color: var(--primary-light);
  border-radius: var(--radius-lg);
  z-index: 1;
}

.doctor-img-box {
  position: relative;
  z-index: 2;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.linkedin-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #0077b5;
  font-weight: 600;
  margin-top: 1rem;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.linkedin-link:hover {
  opacity: 0.8;
}

.vet-selector-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.vet-select-card {
  background: white;
  border: 2px solid var(--gray-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.vet-select-card:hover {
  border-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.vet-select-card.active {
  border-color: var(--primary);
  background-color: #f0fdf4; /* very light green */
  box-shadow: var(--shadow-md);
}

.vet-select-card img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 3px solid white;
  box-shadow: var(--shadow-sm);
}

.vet-select-card h4 {
  margin: 0 0 0.5rem 0;
  color: var(--text-dark);
}

.vet-select-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-main);
}

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

.doctor-details h2 {
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
}

.doctor-details p {
  margin-bottom: 1.25rem;
  color: var(--text-main);
  font-size: 1.05rem;
}

.doctor-details p.intro {
  font-size: 1.2rem;
  color: var(--secondary-light);
  font-weight: 500;
}

.credential-list {
  margin: 1.5rem 0 2rem 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.credential-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
  color: var(--secondary);
}

.credential-item svg {
  color: var(--primary);
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

/* Vet Profiles Grid */
.vet-card {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

.vet-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.vet-img-wrapper {
  position: relative;
  aspect-ratio: 1/1;
  background-color: var(--bg-alt);
  overflow: hidden;
}

.vet-info {
  padding: 1.75rem;
}

.vet-info h3 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.vet-info .specialty {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.vet-info .qualifications {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-style: italic;
}

.vet-info p {
  font-size: 0.95rem;
  color: var(--text-main);
  margin-bottom: 1.5rem;
}

/* --- Services Grid & Detail --- */
.service-icon-box {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  display: inline-block;
  color: var(--primary);
}

.service-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(16, 185, 129, 0.3);
  transform: translateY(-3px);
}

.service-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.35rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.service-card .read-more {
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
}

.service-card .read-more svg {
  transition: transform var(--transition-fast);
}

.service-card:hover .read-more svg {
  transform: translateX(4px);
}

/* --- Pricing Cards --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.pricing-card {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-md);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.pricing-card.popular {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-xl);
  transform: scale(1.03);
}

.pricing-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary);
  color: white;
  padding: 0.35rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.3);
}

.pricing-header {
  text-align: center;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 2rem;
}

.pricing-header h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.pricing-price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.pricing-price span {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 500;
}

.pricing-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.pricing-features {
  margin-bottom: 2.5rem;
  flex-grow: 1;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.pricing-features li svg {
  color: var(--primary);
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 0.15rem;
}

.pricing-features li.disabled {
  color: var(--text-muted);
  text-decoration: line-through;
}

.pricing-features li.disabled svg {
  color: var(--text-muted);
}

/* --- Testimonials --- */
.testimonial-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.stars {
  color: var(--warning);
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
}

.testimonial-text {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--secondary-light);
  margin-bottom: 1.75rem;
  line-height: 1.7;
}

.client-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.client-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-weight: 700;
  border: 2px solid white;
  box-shadow: var(--shadow-sm);
}

.client-details h4 {
  font-size: 1rem;
  margin-bottom: 0.15rem;
}

.client-details p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --- FAQ Accordion --- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.faq-item:hover, .faq-item.active {
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: var(--shadow-md);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal) ease-out, padding var(--transition-normal) ease-out;
  padding: 0 1.5rem;
  color: var(--text-main);
  font-size: 0.975rem;
}

.faq-item.active .faq-answer {
  padding: 0 1.5rem 1.5rem 1.5rem;
  max-height: 500px; /* arbitrary large value for transition */
}

.faq-icon {
  width: 24px;
  height: 24px;
  position: relative;
  flex-shrink: 0;
  transition: transform var(--transition-normal);
}

.faq-icon::before, .faq-icon::after {
  content: '';
  position: absolute;
  background-color: var(--secondary);
  transition: background-color var(--transition-normal);
}

/* Vertical line */
.faq-icon::before {
  top: 4px;
  bottom: 4px;
  left: 11px;
  width: 2px;
}

/* Horizontal line */
.faq-icon::after {
  left: 4px;
  right: 4px;
  top: 11px;
  height: 2px;
}

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

.faq-item.active .faq-icon::before, .faq-item.active .faq-icon::after {
  background-color: var(--primary);
}

/* --- Blog Card --- */
.blog-card {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.blog-img {
  aspect-ratio: 16/10;
  background-color: var(--bg-alt);
  position: relative;
}

.blog-category {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--secondary);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.05em;
  z-index: 2;
}

.blog-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  display: flex;
  gap: 1rem;
}

.blog-body h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.blog-body h3 a {
  color: var(--secondary);
}

.blog-body h3 a:hover {
  color: var(--primary);
}

.blog-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.blog-readmore {
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.blog-readmore svg {
  transition: transform var(--transition-fast);
}

.blog-card:hover .blog-readmore svg {
  transform: translateX(4px);
}

/* --- Contact Info & Form --- */
.contact-grid {
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 4rem;
}

.contact-info-box {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-method {
  display: flex;
  gap: 1.25rem;
}

.contact-method-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-method-text h4 {
  margin-bottom: 0.25rem;
  font-size: 1.1rem;
}

.contact-method-text p {
  color: var(--text-muted);
}

.contact-form-box {
  background: white;
  padding: 3rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
}

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

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-family: var(--font-heading);
  color: var(--secondary);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  color: var(--secondary);
  background-color: var(--bg-alt);
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background-color: white;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

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

/* --- Calendly Booking Page & Embedded Sections --- */
.booking-section-wrapper {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 2.5rem;
  margin-top: 2rem;
}

.calendly-placeholder {
  width: 100%;
  height: 600px;
  background-color: var(--bg-alt);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: 2px dashed var(--border-color);
}

.secure-payment-notice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 1.25rem;
  background-color: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-top: 1.5rem;
  font-size: 0.9rem;
}

.secure-payment-notice span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--secondary-light);
  font-weight: 500;
}

.secure-payment-notice svg {
  color: var(--primary);
}

/* --- Inner Page Header (Breadcrumbs/Banner) --- */
.page-header {
  padding: 4.5rem 0;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(13, 148, 136, 0.05) 100%);
  background-color: var(--bg-alt);
  border-bottom: 1px solid var(--border-color);
  text-align: center;
}

.page-header h1 {
  font-size: 2.75rem;
  margin-bottom: 0.75rem;
}

.breadcrumbs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.breadcrumbs a {
  color: var(--text-muted);
}

.breadcrumbs a:hover {
  color: var(--primary);
}

.breadcrumbs span.separator::after {
  content: '/';
  margin: 0 0.25rem;
}

.breadcrumbs span.current {
  color: var(--primary);
  font-weight: 600;
}

/* --- Legal / Rich Text Pages (Privacy, Terms, Disclaimer) --- */
.rich-text-container {
  max-width: 800px;
  margin: 0 auto;
}

.rich-text-container h2 {
  font-size: 1.75rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.rich-text-container h3 {
  font-size: 1.35rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.rich-text-container p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  line-height: 1.7;
}

.rich-text-container ul, .rich-text-container ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.rich-text-container li {
  margin-bottom: 0.5rem;
  list-style-type: disc;
}

.rich-text-container blockquote {
  border-left: 4px solid var(--primary);
  padding-left: 1.5rem;
  font-style: italic;
  margin: 2rem 0;
  color: var(--secondary-light);
}

/* Callout Box inside Legal / Content Pages */
.callout-box {
  background-color: var(--danger-light);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-left: 5px solid var(--danger);
  padding: 1.75rem;
  border-radius: var(--radius-md);
  margin: 2rem 0;
}

.callout-box h4 {
  color: #991b1b;
  margin-bottom: 0.5rem;
}

.callout-box p {
  margin-bottom: 0;
  color: #991b1b;
  font-size: 0.95rem;
}

/* --- Blog Grid / Filter --- */
.blog-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.filter-btn {
  background-color: white;
  border: 1px solid var(--border-color);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--secondary-light);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  background-color: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.2);
}

/* --- Call To Action Section --- */
.cta-banner {
  background: linear-gradient(135deg, var(--secondary) 0%, #1e293b 100%);
  color: white;
  padding: 6rem 0;
  border-radius: var(--radius-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
  top: -100px;
  right: -50px;
}

.cta-banner::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
  bottom: -100px;
  left: -50px;
}

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

.cta-banner h2 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
}

.cta-banner p {
  font-size: 1.15rem;
  color: #cbd5e1;
  margin-bottom: 2.5rem;
}

/* --- Footer --- */
footer {
  background-color: var(--secondary);
  color: #94a3b8;
  padding: 5rem 0 2rem 0;
  border-top: 1px solid #1e293b;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 35% 20% 20% 25%;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-col h4 {
  color: white;
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--primary);
}

.footer-col p {
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.footer-logo a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: white;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
}

.footer-logo span {
  color: var(--primary);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col ul a {
  color: #94a3b8;
  transition: all var(--transition-fast);
}

.footer-col ul a:hover {
  color: white;
  padding-left: 5px;
}

.footer-newsletter {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.newsletter-form input {
  flex-grow: 1;
  padding: 0.6rem 0.85rem;
  border: 1px solid #334155;
  background-color: #1e293b;
  color: white;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--primary);
}

.newsletter-form button {
  background-color: var(--primary);
  border: none;
  color: white;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 600;
  transition: background var(--transition-fast);
}

.newsletter-form button:hover {
  background-color: var(--primary-hover);
}

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

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: #64748b;
}

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

.footer-disclaimer {
  grid-column: span 4;
  font-size: 0.8rem;
  color: #475569;
  line-height: 1.5;
  border-top: 1px solid #1e293b;
  padding-top: 1.5rem;
  margin-top: 2rem;
}

/* --- Responsive Media Queries --- */

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
  .footer-disclaimer {
    grid-column: span 2;
  }
}

@media (max-width: 968px) {
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.75rem; }
  .section { padding: 4rem 0; }
  
  .grid-4, .grid-3 {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
    gap: 2.5rem;
  }
  .pricing-card.popular {
    transform: scale(1);
  }
  .doctor-feature {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .doctor-img-container {
    max-width: 320px;
    margin: 0 auto;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: white;
    flex-direction: column;
    align-items: flex-start;
    padding: 6rem 2.5rem 2.5rem 2.5rem;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    transition: right var(--transition-normal);
    gap: 1.5rem;
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .nav-links .btn {
    width: 100%;
  }
  
  .hero {
    padding: 4rem 0 3rem 0;
  }
  
  .hero .grid-2 {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-content {
    text-align: center;
    align-items: center;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero p.lead {
    margin-bottom: 2rem;
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
  
  .hero-floating-card {
    display: none; /* Hide floating card on mobile for layout safety */
  }
  
  .step-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .step-grid::after {
    display: none;
  }
}

@media (max-width: 480px) {
  .grid-4, .grid-3, .grid-2 {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .contact-form-box {
    padding: 1.75rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-disclaimer {
    grid-column: span 1;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* --- Vet Selector for Booking Page --- */
.vet-selector-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.vet-select-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem;
  background: white;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-normal);
}

.vet-select-card:hover {
  border-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.vet-select-card.active {
  border-color: var(--primary);
  background-color: var(--primary-light);
  box-shadow: var(--shadow-md);
}

.vet-select-card img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
}

.vet-select-info h4 {
  font-size: 1.1rem;
  margin: 0 0 0.25rem 0;
  color: var(--secondary);
}

.vet-select-info p {
  font-size: 0.85rem;
  margin: 0;
  color: var(--text-muted);
}

/* --- LinkedIn Link Component --- */
.linkedin-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #0077b5; /* LinkedIn Brand Blue */
  font-weight: 500;
  text-decoration: none;
  margin-top: 1rem;
  transition: color var(--transition-fast);
}

.linkedin-link:hover {
  color: #005582;
}

.linkedin-link svg {
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .vet-selector-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

