/* ==========================================================================
   ALWAYS CARE ANIMAL CLINIC & RESCUE - DESIGN SYSTEM & STYLESHEET
   Niche: Premium 24/7 Veterinary Hospital & Pet Emergency Care
   Location: Rajawadi Colony, Vidyavihar / Ghatkopar East, Mumbai
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS & ROOT CSS VARIABLES
   -------------------------------------------------------------------------- */
:root {
  /* Brand Palette (Light Mode Default) */
  --primary: #0D9488;          /* Caring Teal */
  --primary-hover: #0F766E;    /* Deep Teal */
  --primary-light: #CCFBF1;    /* Soft Mint Tint */
  --secondary: #0284C7;        /* Trust Blue */
  --accent: #EA580C;           /* Warm Energetic Orange */
  --accent-hover: #C2410C;
  --accent-light: #FFEDD5;
  --amber: #F59E0B;            /* Gold Accent */

  /* Neutral Surface & Text Colors - Light Mode */
  --bg-main: #F8FAFC;          /* Clean Slate 50 */
  --bg-card: #FFFFFF;          /* Pure White */
  --bg-card-subtle: #F1F5F9;   /* Soft Slate 100 */
  --bg-nav: rgba(255, 255, 255, 0.92);
  --text-main: #0F172A;        /* Slate 900 */
  --text-muted: #475569;       /* Slate 600 */
  --text-light: #64748B;       /* Slate 500 */
  --border-color: #E2E8F0;     /* Slate 200 */
  --border-accent: #99F6E4;

  /* Shadows & Depth */
  --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(13, 148, 136, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 20px 35px -10px rgba(15, 23, 42, 0.12), 0 10px 15px -5px rgba(13, 148, 136, 0.08);
  --shadow-clay: 0 12px 24px rgba(13, 148, 136, 0.12), inset 0 2px 4px rgba(255, 255, 255, 0.8);

  /* Layout & Geometry */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1280px;
}

/* Dark Mode Tokens */
[data-theme="dark"] {
  --bg-main: #0B132B;          /* Deep Midnight Slate */
  --bg-card: #1C2541;          /* Dark Elevated Slate */
  --bg-card-subtle: #161E38;
  --bg-nav: rgba(11, 19, 43, 0.92);
  --text-main: #F8FAFC;        /* Off-white */
  --text-muted: #94A3B8;       /* Muted Slate */
  --text-light: #CBD5E1;
  --border-color: #334155;     /* Dark Slate Border */
  --border-accent: #0D9488;
  
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 35px -10px rgba(0, 0, 0, 0.5);
  --shadow-clay: 0 12px 24px rgba(0, 0, 0, 0.4), inset 0 1px 2px rgba(255, 255, 255, 0.1);
}

/* --------------------------------------------------------------------------
   2. GLOBAL RESETS & BASE STYLES
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-main);
}

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

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

/* Keyword Highlight Styling (Step 3A Rule 2) */
.title-keyword {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  position: relative;
  font-style: normal;
}

.title-keyword-accent {
  color: var(--accent);
  position: relative;
  display: inline-block;
}
.title-keyword-accent::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent-light);
  z-index: -1;
  border-radius: 2px;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background-color: var(--primary-light);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

[data-theme="dark"] .badge {
  background-color: rgba(13, 148, 136, 0.2);
  color: #2DD4BF;
}

.badge-amber {
  background-color: var(--accent-light);
  color: var(--accent);
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.9rem 1.8rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}

.btn-primary {
  background-color: var(--primary);
  color: #FFFFFF;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-accent {
  background-color: var(--accent);
  color: #FFFFFF;
}

.btn-accent:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 2px solid var(--border-color);
}

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

/* --------------------------------------------------------------------------
   3. NAVIGATION BAR
   -------------------------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--bg-nav);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-logo {
  height: 48px;
  width: auto;
}

.logo-dark-mode {
  display: none;
}

[data-theme="dark"] .logo-light-mode {
  display: none;
}

[data-theme="dark"] .logo-dark-mode {
  display: block;
}

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

.nav-link {
  font-weight: 600;
  color: var(--text-main);
  font-size: 0.95rem;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Dark/Light Switcher Button */
.theme-toggle {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  transition: var(--transition);
}

.theme-toggle:hover {
  transform: rotate(15deg) scale(1.05);
  border-color: var(--primary);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: var(--text-main);
  border-radius: 3px;
  transition: var(--transition);
}

/* Mobile Drawer Navigation */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 380px;
  height: 100vh;
  background-color: var(--bg-card);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
  z-index: 999;
  padding: 6rem 2rem 2rem 2rem;
  transition: right 0.4s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mobile-drawer.active {
  right: 0;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-nav-link {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

/* --------------------------------------------------------------------------
   4. HERO SECTION WITH PARALLAX BACKGROUND
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 120px;
  padding-bottom: 80px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--bg-main);
}

/* Hero Parallax Background Container */
.hero-parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%;
  background-image: linear-gradient(to bottom, rgba(15, 23, 42, 0.55), rgba(15, 23, 42, 0.85)), url('assets/images/hero_pet_clinic.jpg');
  background-size: cover;
  background-position: center;
  will-change: transform;
  z-index: 1;
}

.hero-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.hero-content {
  color: #FFFFFF;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.2rem;
  background: rgba(13, 148, 136, 0.35);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(153, 246, 228, 0.4);
  color: #5EEAD4;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -1px;
}

.hero-title span.highlight {
  color: #F59E0B;
  display: inline-block;
}

.hero-description {
  font-size: 1.2rem;
  color: #E2E8F0;
  margin-bottom: 2rem;
  max-width: 620px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-card-preview {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 2rem;
  color: #FFFFFF;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.hero-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.hero-card-icon {
  width: 50px;
  height: 50px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  background: var(--bg-card);
  padding: 1.5rem 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  margin-top: -2.5rem;
  position: relative;
  z-index: 10;
  border: 1px solid var(--border-color);
}

.stat-item {
  text-align: center;
  padding: 0.5rem;
}

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

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   5. INTERACTIVE SECTION 1: PET SYMPTOM TRIAGE CHECKER (BELOW HERO)
   -------------------------------------------------------------------------- */
.triage-section {
  padding: 6rem 0;
  background-color: var(--bg-main);
  position: relative;
}

.triage-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--border-accent);
}

.triage-step-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-main);
}

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

.pet-option-btn {
  background: var(--bg-card-subtle);
  border: 2px solid var(--border-color);
  padding: 1.25rem 1rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
  font-weight: 700;
  color: var(--text-main);
}

.pet-option-btn i {
  font-size: 2rem;
  color: var(--primary);
}

.pet-option-btn.selected, .pet-option-btn:hover {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary-hover);
}

[data-theme="dark"] .pet-option-btn.selected {
  background: rgba(13, 148, 136, 0.25);
  color: #2DD4BF;
}

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

.symptom-checkbox {
  display: none;
}

.symptom-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--bg-card-subtle);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  font-weight: 600;
  font-size: 0.95rem;
}

.symptom-checkbox:checked + .symptom-label {
  border-color: var(--accent);
  background: var(--accent-light);
  color: var(--accent-hover);
}

[data-theme="dark"] .symptom-checkbox:checked + .symptom-label {
  background: rgba(234, 88, 12, 0.25);
  color: #FFEDD5;
}

.triage-result-box {
  background: var(--bg-card-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  margin-top: 1.5rem;
  display: none;
  border-left: 5px solid var(--primary);
  animation: fadeIn 0.4s ease;
}

.triage-result-box.urgent {
  border-left-color: #DC2626;
  background: rgba(220, 38, 38, 0.08);
}

.triage-result-box.moderate {
  border-left-color: var(--amber);
  background: rgba(245, 158, 11, 0.08);
}

/* --------------------------------------------------------------------------
   6. SERVICES & SPECIALITIES SECTION
   -------------------------------------------------------------------------- */
.services-section {
  padding: 6rem 0;
  background-color: var(--bg-card-subtle);
}

.service-tabs {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.tab-btn {
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-muted);
}

.tab-btn.active, .tab-btn:hover {
  background: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

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

.service-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.service-icon-box {
  width: 64px;
  height: 64px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

[data-theme="dark"] .service-icon-box {
  background: rgba(13, 148, 136, 0.2);
  color: #2DD4BF;
}

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

.service-desc {
  color: var(--text-muted);
  font-size: 0.98rem;
  margin-bottom: 1.5rem;
}

.service-features {
  list-style: none;
  margin-bottom: 1.5rem;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.service-features li i {
  color: var(--primary);
}

/* --------------------------------------------------------------------------
   7. INTERACTIVE SECTION 2: LIVE PET CARE COST ESTIMATOR
   -------------------------------------------------------------------------- */
.cost-estimator-section {
  padding: 6rem 0;
  background-color: var(--bg-main);
}

.estimator-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.estimator-controls label {
  font-weight: 700;
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.estimator-select, .estimator-range {
  width: 100%;
  padding: 0.9rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-color);
  background: var(--bg-card-subtle);
  color: var(--text-main);
  font-family: inherit;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  outline: none;
}

.estimator-select:focus {
  border-color: var(--primary);
}

.estimate-summary-card {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
  color: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-md);
}

.estimate-price-tag {
  font-size: 3rem;
  font-weight: 800;
  color: #F59E0B;
  margin: 1rem 0;
}

/* --------------------------------------------------------------------------
   8. MANDATORY PARALLAX BANNER (2ND PARALLAX EFFECT)
   -------------------------------------------------------------------------- */
.parallax-banner {
  position: relative;
  padding: 8rem 0;
  background-image: linear-gradient(to right, rgba(15, 23, 42, 0.88), rgba(15, 23, 42, 0.75)), url('assets/images/parallax_vet_care.jpg');
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  color: #FFFFFF;
  text-align: center;
}

.parallax-content {
  max-width: 850px;
  margin: 0 auto;
}

.parallax-title {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  color: #FFFFFF;
  margin-bottom: 1.5rem;
}

.parallax-desc {
  font-size: 1.25rem;
  color: #E2E8F0;
  margin-bottom: 2.5rem;
}

/* --------------------------------------------------------------------------
   9. INTERACTIVE SECTION 3: VACCINE & HEALTH SCHEDULE FINDER
   -------------------------------------------------------------------------- */
.schedule-section {
  padding: 6rem 0;
  background-color: var(--bg-card-subtle);
}

.schedule-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.timeline-milestones {
  position: relative;
  margin-top: 2rem;
  padding-left: 2rem;
  border-left: 3px solid var(--primary-light);
}

.milestone-item {
  position: relative;
  margin-bottom: 2rem;
}

.milestone-item::before {
  content: '';
  position: absolute;
  left: -2.6rem;
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  border: 4px solid var(--bg-card);
}

.milestone-age {
  font-weight: 800;
  color: var(--primary);
  font-size: 1.1rem;
}

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

/* --------------------------------------------------------------------------
   10. WHY CHOOSE US / TRUST SIGNALS
   -------------------------------------------------------------------------- */
.why-us-section {
  padding: 6rem 0;
  background-color: var(--bg-main);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.why-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 1.25rem;
  transition: var(--transition);
}

.why-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.why-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   11. ABOUT US & ANIMAL WELFARE
   -------------------------------------------------------------------------- */
.about-section {
  padding: 6rem 0;
  background-color: var(--bg-card-subtle);
}

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

.about-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

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

/* --------------------------------------------------------------------------
   12. TESTIMONIALS CAROUSEL
   -------------------------------------------------------------------------- */
.testimonials-section {
  padding: 6rem 0;
  background-color: var(--bg-main);
  overflow: hidden;
}

.testimonial-carousel-wrapper {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.testimonial-track-container {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.testimonial-card {
  min-width: 50%;
  padding: 1rem;
  box-sizing: border-box;
}

.testimonial-card-inner {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
}

.carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.carousel-nav-btn:hover {
  background: var(--primary);
  color: #FFFFFF;
}

.carousel-prev { left: -25px; }
.carousel-next { right: -25px; }

/* --------------------------------------------------------------------------
   13. FAQ ACCORDION
   -------------------------------------------------------------------------- */
.faq-section {
  padding: 6rem 0;
  background-color: var(--bg-card-subtle);
}

.faq-search-box {
  max-width: 500px;
  margin: 0 auto 3rem auto;
}

.faq-search-input {
  width: 100%;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-main);
  outline: none;
  font-size: 1rem;
}

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

.faq-item {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
}

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

.faq-answer {
  padding: 0 1.5rem 1.25rem 1.5rem;
  color: var(--text-muted);
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* --------------------------------------------------------------------------
   14. CONTACT + GOOGLE MAPS + PREFILLED WHATSAPP FORM
   -------------------------------------------------------------------------- */
.contact-section {
  padding: 6rem 0;
  background-color: var(--bg-main);
}

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

.contact-info-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
}

.contact-detail-item {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

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

.map-container {
  width: 100%;
  height: 280px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  margin-top: 1.5rem;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-form-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
}

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

.form-label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

.form-input, .form-textarea {
  width: 100%;
  padding: 0.9rem 1.2rem;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-color);
  background: var(--bg-card-subtle);
  color: var(--text-main);
  outline: none;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.form-input:focus, .form-textarea:focus {
  border-color: var(--primary);
}

/* --------------------------------------------------------------------------
   15. FOOTER
   -------------------------------------------------------------------------- */
.footer {
  background-color: #0B132B;
  color: #F8FAFC;
  padding: 4rem 0 2rem 0;
  border-top: 1px solid #1E293B;
}

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

.footer-brand p {
  color: #94A3B8;
  margin-top: 1rem;
  font-size: 0.95rem;
}

.footer-heading {
  font-size: 1.1rem;
  color: #FFFFFF;
  margin-bottom: 1.25rem;
}

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

.footer-links a {
  color: #94A3B8;
  font-size: 0.95rem;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #1E293B;
  color: #64748B;
  font-size: 0.9rem;
}

.reasonix-credit {
  color: #2DD4BF;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   16. MANDATORY FLOATING BUTTONS (WHATSAPP & SCROLL TOP)
   -------------------------------------------------------------------------- */
/* Scroll to Top Button (Fixed above WhatsApp) */
.scroll-top-btn {
  position: fixed;
  bottom: 95px;
  right: 25px;
  width: 48px;
  height: 48px;
  background-color: var(--primary);
  color: #FFFFFF;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.4);
  z-index: 990;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top-btn:hover {
  transform: translateY(-4px);
  background-color: var(--primary-hover);
}

/* WhatsApp Floating Button (Lowest Position) */
.whatsapp-float-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  z-index: 991;
  animation: pulse-whatsapp 2s infinite;
  transition: transform 0.3s ease;
}

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

.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  background: #0F172A;
  color: #FFFFFF;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.whatsapp-float-btn:hover .whatsapp-tooltip {
  opacity: 1;
}

@keyframes pulse-whatsapp {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

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

/* --------------------------------------------------------------------------
   17. RESPONSIVE BREAKPOINTS (MOBILE & TABLET OPTIMIZATIONS)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-grid, .estimator-box, .about-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu, .nav-actions .btn-primary {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .hero-stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
  }
  .pet-type-selector {
    grid-template-columns: 1fr;
  }
  .testimonial-card {
    min-width: 100%;
  }
  .carousel-prev { left: -10px; }
  .carousel-next { right: -10px; }
  .parallax-banner {
    background-attachment: scroll; /* Mobile smooth performance */
  }
}

@media (max-width: 480px) {
  .hero-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .estimator-box {
    padding: 1.5rem;
  }
}
