/* CSS Variables for Theme Colors - Logo-Based Palette */
:root {
  /* Primary colors from logo */
  --primary-color: #3b3d3a;        /* Deep charcoal from logo */
  --secondary-color: #f8f6f4;      /* Warm off-white background */
  --accent-warm: #b6886e;          /* Warm tan/brown from logo */
  --accent-cool: #647275;          /* Cool blue-gray from logo */
  --accent-light: #8c9698;         /* Light gray from logo */
  --accent-dark: #2e332f;          /* Dark forest green from logo */
  --accent-slate: #475057;         /* Medium slate from logo */
  --accent-deep: #1c252d;          /* Deep blue-gray from logo */
  --link-color: #ff6b9d;           /* Vibrant pink for links */
  --link-hover: #ff5a8d;           /* Darker pink for hover */
  
  /* Legacy color mappings for compatibility */
  --accent-gold: #b6886e;          /* Mapped to warm tan */
  --accent-pink: #647275;          /* Mapped to cool blue-gray */
  --accent-blue: #475057;          /* Mapped to slate */
  --warm-brown: #b6886e;           /* Mapped to warm tan */
  --soft-green: #8c9698;           /* Mapped to light gray */
  
  /* Text colors using logo palette */
  --text-dark: #3b3d3a;           /* Deep charcoal */
  --text-light: #4a5658;          /* Darker blue-gray for better readability */
  --text-muted: #8c9698;          /* Light gray */
  --white: #ffffff;
  --cream: #f8f6f4;               /* Warm off-white */
  
  /* Shadows using logo colors */
  --shadow: 0 2px 15px rgba(59, 61, 58, 0.1);
  --shadow-hover: 0 6px 25px rgba(59, 61, 58, 0.15);
  --shadow-soft: 0 4px 20px rgba(59, 61, 58, 0.08);
  --shadow-strong: 0 8px 30px rgba(59, 61, 58, 0.2);
  --shadow-warm: 0 4px 20px rgba(182, 136, 110, 0.2);
  --shadow-cool: 0 4px 20px rgba(100, 114, 117, 0.2);
  
  --border-radius: 12px;
  --border-radius-large: 16px;
  --transition: all 0.3s ease;
  --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Gradients using logo colors */
  --gradient-primary: linear-gradient(135deg, #3b3d3a 0%, #647275 100%);
  --gradient-warm: linear-gradient(135deg, #b6886e 0%, #8c9698 100%);
  --gradient-cool: linear-gradient(135deg, #647275 0%, #8c9698 100%);
  --gradient-soft: linear-gradient(135deg, #f8f6f4 0%, #ffffff 100%);
  --gradient-deep: linear-gradient(135deg, #2e332f 0%, #475057 100%);
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Fix for Google Business Profile overlay clickability */
body > div[role="dialog"],
body > div[data-google-place-card],
body > div[class*="google"],
body > iframe[src*="google"] {
  z-index: 9999 !important;
  pointer-events: auto !important;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--secondary-color);
  overflow-x: hidden;
}

/* Global link styles */
a {
  color: var(--link-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

/* Keep navigation links with their original color */
.nav-link,
.nav-link:hover {
  color: var(--text-dark);
}

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

/* Business Name Styling */
.business-name {
  font-family: 'Dancing Script', cursive;
  font-weight: 700;
  color: var(--primary-color);
  font-size: 1.1em;
}

/* Screen Reader Only Class for Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  background: var(--gradient-soft);
  box-shadow: var(--shadow);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-smooth);
  border-bottom: 2px solid var(--accent-warm);
  backdrop-filter: blur(10px);
}

/* Scroll Progress Indicator */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-warm), var(--blue-accent));
  z-index: 1001;
  transition: width 0.3s ease;
  box-shadow: 0 2px 4px rgba(59, 61, 58, 0.1);
  border-radius: 0 2px 2px 0;
}

.navbar {
  padding: 1.2rem 0; /* Reduced from 1.5rem to 1.2rem for better balance */
}

/* Hide Google Reviews nav link */
.nav-link[href="#google-reviews"],
a[href="#google-reviews"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    left: -9999px !important;
}

/* Hide parent li element containing Google Reviews link */
li:has(> a[href="#google-reviews"]) {
    display: none !important;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  gap: 4rem; /* Increased space for better balance */
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-right: 2rem; /* Add margin to separate from navigation */
}

.logo {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.business-name-header {
  font-family: 'Dancing Script', cursive;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem; /* Increased gap for better breathing room */
  margin: 0;
  padding: 0;
  align-items: center;
  margin-left: auto; /* Push navigation to the right */
}

.nav-link {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: var(--transition-smooth);
  position: relative;
  padding: 0.5rem 0;
  display: block;
  font-size: 0.9rem;
  border-radius: 6px;
}

.nav-link:hover {
  color: var(--accent-warm);
  transform: translateY(-1px);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-warm);
  transition: width 0.3s ease;
}

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

/* Mobile Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 0.5rem;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: var(--text-dark);
  margin: 3px 0;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background-image: linear-gradient(135deg, rgba(248, 246, 244, 0.85) 0%, rgba(248, 246, 244, 0.80) 100%), url('/assets/img-opt/training-dog-background-1440.webp') !important;
  background-size: cover !important;
  background-position: center !important;
  background-attachment: fixed !important;
  background-repeat: no-repeat !important;
  overflow: hidden;
  margin-top: 80px;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.1;
}

.mountain-silhouette {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200px;
  background: linear-gradient(45deg, var(--primary-color) 0%, var(--primary-color) 100%);
  clip-path: polygon(0 100%, 20% 60%, 40% 80%, 60% 40%, 80% 70%, 100% 30%, 100% 100%);
}

.butterfly-float {
  position: absolute;
  top: 20%;
  right: 10%;
  width: 50px;
  height: 50px;
  background-color: var(--accent-warm);
  border-radius: 50% 10% 50% 10%;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 10;
  padding-top: 1rem;
  visibility: visible !important;
  opacity: 1 !important;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
  visibility: visible !important;
  opacity: 1 !important;
  display: block !important;
  z-index: 10;
  position: relative;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  font-weight: 300;
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.doggie-dashboard-btn {
  display: inline-block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.doggie-dashboard-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.doggie-dashboard-btn img {
  width: 220px;
  height: auto;
  display: block;
  border-radius: 8px;
}

.secondary-cta {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.call-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 12px 24px;
  background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 2px solid transparent;
  min-width: 200px;
  justify-content: center;
}

.call-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  background: linear-gradient(135deg, #357ABD 0%, #2E5F8F 100%);
}

.call-button i {
  font-size: 18px;
}

.contact-cta {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 3rem 0;
  flex-wrap: wrap;
}

.contact-cta .doggie-dashboard-btn img {
  width: 240px;
}

.contact-divider {
  text-align: center;
  margin: 3rem 0;
  position: relative;
}

.contact-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background-color: var(--accent-warm);
  opacity: 0.3;
}

.contact-divider span {
  background-color: var(--cream-bg);
  padding: 0 2rem;
  color: var(--text-light);
  font-size: 1.1rem;
  position: relative;
  z-index: 1;
}

.footer-cta {
  text-align: center;
  margin-bottom: 2rem;
}

.footer-cta h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.footer-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-btn img {
  width: 180px !important;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border: none;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: var(--transition);
  cursor: pointer;
  text-align: center;
  min-width: 200px;
}

.btn-primary {
  background-color: var(--accent-warm);
  color: var(--white);
  box-shadow: var(--shadow);
}

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

.btn-secondary {
  background-color: var(--accent-blue);
  color: var(--white);
  box-shadow: var(--shadow);
}

.btn-secondary:hover {
  background-color: var(--warm-brown);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.hero-subtext {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

.hero-features {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 30px 0;
  flex-wrap: wrap;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-color);
  font-size: 14px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.8);
  padding: 8px 16px;
  border-radius: 20px;
  border: 2px solid var(--accent-warm);
  transition: var(--transition);
}

.feature-item:hover {
  background: var(--accent-warm);
  color: var(--white);
  transform: translateY(-2px);
}

.feature-item i {
  font-size: 16px;
}

@media (max-width: 768px) {
  .hero-features {
    gap: 15px;
    margin: 20px 0;
  }
  
  .feature-item {
    font-size: 12px;
    padding: 6px 12px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .doggie-dashboard-btn img {
    width: 180px;
  }
  
  .contact-cta {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .contact-cta .doggie-dashboard-btn img {
    width: 200px;
  }
  
  .footer-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .footer-btn img {
    width: 160px !important;
  }
  
  .call-button {
    width: 100%;
    max-width: 280px;
  }
  
  .btn {
    width: 100%;
    max-width: 280px;
  }
}

/* Section Styles */
section {
  padding: 5rem 0;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.70) 0%, rgba(255, 255, 255, 0.65) 100%), url('/assets/img-opt/training-dog-background-1440.webp') center/cover no-repeat fixed;
  background-attachment: fixed;
  background-position: center 30%;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

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

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 2px;
  animation: expandWidth 0.8s ease 0.3s forwards;
  transform-origin: center;
  scale: 0 1;
}

@keyframes expandWidth {
  to {
    scale: 1 1;
  }
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 3rem;
  max-width: 800px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease 0.2s forwards;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* Services Section */
.services {
  background-color: var(--cream);
}

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

.service-card {
  background: var(--gradient-soft);
  padding: 2rem;
  border-radius: var(--border-radius-large);
  box-shadow: var(--shadow-soft);
  text-align: center;
  transition: var(--transition-smooth);
  border: 1px solid rgba(182, 136, 110, 0.2);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

/* Ensure service card links are clickable */
.service-card > a {
  display: block;
  text-decoration: none;
  color: inherit;
  position: relative;
  z-index: 2;
}

a.service-card {
  text-decoration: none;
  color: inherit;
  display: block;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(182, 136, 110, 0.1), transparent);
  transition: left 0.5s ease;
  pointer-events: none;
  z-index: 1;
}

.service-card:hover::before {
  left: 100%;
}

/* Ensure all service cards are clickable */
.service-card a {
  position: relative;
  z-index: 10;
}

.service-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-strong);
  border-color: var(--accent-warm);
}

.service-icon {
  font-size: 3rem;
  color: var(--accent-warm);
  margin-bottom: 1rem;
}

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

.service-card p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.service-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: var(--border-radius);
  margin-top: 1rem;
  pointer-events: none;
}

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

.service-card:hover .service-image img {
  transform: scale(1.08);
  filter: brightness(1.1);
}

/* About Section */
.about {
  background-color: var(--secondary-color);
}

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

.about-text p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.8;
  font-size: 1.1rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-dark);
  font-weight: 500;
}

.feature i {
  color: var(--accent-warm);
  font-size: 1.2rem;
}

.about-image {
  width: 100%;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--border-radius);
}

.founder-info {
  text-align: center;
  margin-top: 1rem;
  padding: 1rem;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.founder-info h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.founder-info p {
  color: var(--text-secondary);
  margin: 0;
  font-style: italic;
}

/* Contact Section */
.contact {
  background-color: var(--cream);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  margin-top: 3rem;
}

.contact-info {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 500px;
}

.contact-form {
  background-color: var(--white);
  padding: 2.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  width: 100%;
  max-width: 500px;
  justify-self: end;
}

.contact-form h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  text-align: center;
}

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #e0e0e0;
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: var(--transition);
  background-color: var(--cream-bg);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-warm);
  background-color: var(--white);
}

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

.form-message {
  margin-top: 1rem;
  padding: 0.75rem;
  border-radius: var(--border-radius);
  text-align: center;
  font-weight: 500;
}

.form-message.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-message.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.5rem;
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  margin-bottom: 1rem;
}

.contact-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

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

.contact-details h3 {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.contact-details p {
  color: var(--text-light);
  line-height: 1.6;
}

.social-media {
  margin-top: 2rem;
  text-align: center;
  padding: 1.5rem;
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.social-media h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: var(--accent-warm);
  color: var(--white);
  border-radius: 50%;
  text-decoration: none;
  font-size: 1.2rem;
  transition: var(--transition);
}

.social-link:hover {
  background-color: var(--primary-color);
  transform: translateY(-2px);
}

.contact-divider {
  text-align: center;
  margin: 3rem 0;
  position: relative;
}

.contact-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background-color: #e0e0e0;
  z-index: 1;
}

.contact-divider span {
  background-color: var(--cream);
  padding: 0 1.5rem;
  color: var(--text-secondary);
  position: relative;
  z-index: 2;
  font-size: 1.1rem;
  font-weight: 500;
}

/* Performance optimizations */
.lazy {
  opacity: 0;
  transition: opacity 0.3s;
}

.loaded {
  opacity: 1;
}

/* Reviews Section */
.reviews {
  background-color: var(--white);
  padding: 4rem 0;
}

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

.review-card {
  background: var(--gradient-soft);
  border-radius: var(--border-radius-large);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
  border: 1px solid rgba(182, 136, 110, 0.2);
  position: relative;
  overflow: hidden;
}

.review-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(182, 136, 110, 0.1), transparent);
  transition: left 0.6s ease;
}

.review-card:hover::before {
  left: 100%;
}

.review-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-strong);
  border-color: var(--accent-warm);
}

.review-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.review-stars i {
  color: #ffd700;
  font-size: 1.2rem;
}

.review-text {
  color: var(--text-color);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.review-author {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.review-author strong {
  color: var(--primary-color);
  font-weight: 600;
}

.review-author span {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.reviews-cta {
  text-align: center;
  margin-top: 3rem;
  padding: 2rem;
  background-color: var(--cream);
  border-radius: var(--border-radius);
}

.reviews-cta p {
  color: var(--text-color);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

/* FAQ Section */
.faq {
  background-color: var(--cream);
  padding: 4rem 0;
}

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

.faq-item {
  background: var(--gradient-soft);
  border-radius: var(--border-radius-large);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
  border: 1px solid rgba(182, 136, 110, 0.2);
  position: relative;
  overflow: hidden;
}

.faq-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(182, 136, 110, 0.08), transparent);
  transition: left 0.5s ease;
}

.faq-item:hover::before {
  left: 100%;
}

.faq-item:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: var(--shadow-strong);
  border-color: var(--accent-warm);
}

.faq-question {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

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

.faq-question i {
  color: var(--accent-warm);
  margin-top: 0.2rem;
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.faq-question:hover i {
  transform: scale(1.1);
}

.faq-answer p {
  color: var(--text-color);
  line-height: 1.6;
  margin: 0;
}

/* Quick Answer Section */
.quick-answer {
  padding: 3rem 0;
  background-color: #fff;
}

.quick-answer .container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1rem;
}

.quick-answer-box {
  background-color: #f5e6d8;
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid #e8d4c1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.quick-answer h2 {
  color: #8b6b47;
  font-size: 1.3rem;
  margin: 0 0 1.5rem 0;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.quick-answer h2::before {
  content: "ℹ️";
  font-size: 1.2rem;
}

.quick-answer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  color: #3b3d3a;
  line-height: 1.6;
}

.quick-answer-item {
  display: inline;
  margin-right: 2rem;
}

.quick-answer-item strong {
  font-weight: 600;
  color: #3b3d3a;
}

@media (max-width: 768px) {
  .quick-answer-content {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .quick-answer-item {
    display: block;
    margin-right: 0;
    margin-bottom: 0.5rem;
  }
}

/* Performance Optimizations */
.hero {
    background-color: var(--background);
    transition: background-image 0.3s ease-in;
}

.hero-loaded {
    animation: fadeIn 0.5s ease-in;
}

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

/* Reduced Motion Support */
.reduce-motion * {
    animation-duration: 0.01s !important;
    transition-duration: 0.01s !important;
}

.prefers-reduce-motion * {
    animation: none !important;
    transition: none !important;
}

/* Image Loading States */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s;
}

img.loaded, img:not([loading="lazy"]) {
    opacity: 1;
}

/* Font Loading Optimization */
.fonts-loaded body {
    font-family: 'Poppins', system-ui, -apple-system, sans-serif;
}

/* Footer */
.footer {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 2rem 0;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-logo-img {
  height: 60px;
  width: auto;
  object-fit: contain;
  opacity: 0.9;
  transition: all 0.3s ease;
}

.footer-text {
  text-align: center;
  flex-grow: 1;
}

.footer-text p {
  margin-bottom: 0.5rem;
  opacity: 0.9;
}

.footer-text small {
  color: var(--accent-warm);
  font-style: italic;
  opacity: 0.8;
}

/* Footer text links */
.footer-text a {
  color: var(--link-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-text a:hover {
  color: var(--link-hover);
  text-decoration: underline;
}

/* Local SEO Citations for Top 1% Rankings */
.local-citations {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.local-citations h4 {
  color: var(--accent-warm);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.local-citations a {
  color: var(--link-color);
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 500;
}

.local-citations a:hover {
  color: var(--link-hover);
  text-decoration: underline;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition-smooth);
  z-index: 1000;
  overflow: hidden;
}

.back-to-top::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.5s ease;
}

.back-to-top:hover::before {
  width: 100px;
  height: 100px;
}

.back-to-top:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: var(--shadow-strong);
}

.back-to-top.show {
  display: flex;
}

/* Responsive Design */
@media (min-width: 769px) {
  .nav-menu {
    position: static !important;
    left: auto !important;
    top: auto !important;
    flex-direction: row !important;
    background-color: transparent !important;
    width: auto !important;
    text-align: left !important;
    transition: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    display: flex !important;
  }
  
  .hamburger {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: var(--cream);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: var(--shadow);
    padding: 2rem 0;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .contact-info {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .contact-form {
    max-width: 100%;
  }
  
  .business-name-header {
    font-size: 1.4rem;
  }
  
  .nav-brand {
    gap: 0.5rem;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    max-width: 300px;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .about-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
  }
  
  .contact-info {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  
  .about-features {
    grid-template-columns: 1fr;
  }
  
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  
  .faq-grid {
    grid-template-columns: 1fr;
  }
  
  .faq-item {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .service-card {
    padding: 1.5rem;
  }
  
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto;
  }
}

/* Testimonials Section */
.testimonials {
  background: linear-gradient(135deg, var(--cream) 0%, var(--secondary-color) 100%);
  padding: 80px 0;
  position: relative;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(127,176,105,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
  z-index: 1;
}

.testimonials .container {
  position: relative;
  z-index: 2;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 60px;
}

.testimonial-card {
  background: var(--gradient-soft);
  border-radius: var(--border-radius-large);
  padding: 30px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(182, 136, 110, 0.2);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(182, 136, 110, 0.08), transparent);
  transition: left 0.7s ease;
}

.testimonial-card:hover::before {
  left: 100%;
}

.testimonial-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-strong);
  border-color: var(--accent-warm);
}

.testimonial-content {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.stars {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
}

.stars i {
  color: #ffd700;
  font-size: 16px;
}

.testimonial-content p {
  color: var(--text-dark);
  line-height: 1.6;
  margin-bottom: 25px;
  flex-grow: 1;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: auto;
}

.author-photo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent-warm);
}

.author-info h4 {
  color: var(--primary-color);
  margin-bottom: 4px;
  font-size: 16px;
}

.author-info span {
  color: var(--text-light);
  font-size: 14px;
}

.testimonial-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.stat-item {
  text-align: center;
  background: var(--white);
  padding: 30px 20px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(182, 136, 110, 0.2);
  transition: var(--transition);
}

.stat-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.stat-item h3 {
  color: var(--primary-color);
  font-size: 2.5rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.stat-item p {
  color: var(--text-dark);
  font-weight: 500;
  font-size: 16px;
}

/* Responsive Design for Testimonials */
@media (max-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .testimonial-card {
    padding: 20px;
  }
  
  .testimonial-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .stat-item {
    padding: 20px 15px;
  }
  
  .stat-item h3 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .testimonial-stats {
    grid-template-columns: 1fr;
  }
}

/* Service Pricing Section */
.pricing {
  background: var(--white);
  padding: 80px 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.pricing-card {
  background: var(--secondary-color);
  border-radius: var(--border-radius);
  padding: 30px;
  border: 2px solid rgba(182, 136, 110, 0.2);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent-warm);
}

.pricing-header {
  text-align: center;
  margin-bottom: 25px;
}

.pricing-header i {
  font-size: 3rem;
  color: var(--accent-warm);
  margin-bottom: 15px;
}

.pricing-header h3 {
  color: var(--primary-color);
  font-size: 24px;
  margin-bottom: 0;
}

.pricing-content {
  text-align: center;
}

.price {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 25px;
}

.price span {
  font-size: 1.2rem;
  color: var(--text-light);
  font-weight: 400;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  color: var(--text-dark);
  border-bottom: 1px solid rgba(182, 136, 110, 0.1);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features li i {
  color: var(--accent-warm);
  font-size: 14px;
  width: 16px;
  text-align: center;
}

.pricing-notes {
  background: var(--cream);
  padding: 30px;
  border-radius: var(--border-radius);
  border-left: 4px solid var(--accent-warm);
  margin-top: 40px;
}

.pricing-notes h4 {
  color: var(--primary-color);
  margin-bottom: 16px;
  font-size: 20px;
}

.pricing-notes ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pricing-notes li {
  padding: 8px 0;
  color: var(--text-dark);
  position: relative;
  padding-left: 24px;
}

.pricing-notes li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent-warm);
  font-weight: bold;
}

/* Staff Spotlight Section */
.staff {
  background: linear-gradient(135deg, var(--cream) 0%, var(--secondary-color) 100%);
  padding: 80px 0;
  position: relative;
}

.staff::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="pawprint" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="8" r="1.5" fill="rgba(127,176,105,0.1)"/><circle cx="6" cy="12" r="1" fill="rgba(127,176,105,0.08)"/><circle cx="14" cy="12" r="1" fill="rgba(127,176,105,0.08)"/><circle cx="8" cy="16" r="1" fill="rgba(127,176,105,0.08)"/><circle cx="12" cy="16" r="1" fill="rgba(127,176,105,0.08)"/></pattern></defs><rect width="100" height="100" fill="url(%23pawprint)"/></svg>');
  opacity: 0.4;
  z-index: 1;
}

.staff .container {
  position: relative;
  z-index: 2;
}

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

.staff-card {
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(182, 136, 110, 0.2);
  transition: var(--transition);
}

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

.staff-image {
  position: relative;
  overflow: hidden;
  height: 250px;
}

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

.staff-card:hover .staff-image img {
  transform: scale(1.05);
}

.staff-info {
  padding: 30px;
}

.staff-info h3 {
  color: var(--primary-color);
  font-size: 24px;
  margin-bottom: 8px;
}

.staff-title {
  color: var(--accent-warm);
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 16px;
}

.staff-description {
  color: var(--text-dark);
  line-height: 1.6;
  margin-bottom: 20px;
}

.staff-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.credential {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--cream);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 14px;
  color: var(--text-dark);
  border: 1px solid rgba(182, 136, 110, 0.3);
}

.credential i {
  color: var(--accent-warm);
  font-size: 12px;
}

/* Responsive Design for Pricing and Staff */
@media (max-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .pricing-card {
    padding: 20px;
  }
  
  .price {
    font-size: 2.5rem;
  }
  
  .pricing-notes {
    padding: 20px;
  }
  
  .staff-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .staff-info {
    padding: 20px;
  }
  
  .staff-credentials {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  
  .pricing-card {
    padding: 15px;
  }
  
  .price {
    font-size: 2rem;
  }
  
  .staff-image {
    height: 200px;
  }
}

/* Contact Form Styles */
.contact-form {
  background: var(--white);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(182, 136, 110, 0.2);
  margin-top: 40px;
}

.contact-form h3 {
  color: var(--primary-color);
  margin-bottom: 24px;
  font-size: 24px;
  text-align: center;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 2px solid rgba(182, 136, 110, 0.3);
  border-radius: var(--border-radius);
  font-size: 16px;
  font-family: inherit;
  transition: var(--transition);
  background-color: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-warm);
  box-shadow: 0 0 0 3px rgba(182, 136, 110, 0.1);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12"><path fill="%23666" d="M6 8L2 4h8z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px;
  padding-right: 40px;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
  font-family: inherit;
}

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

.form button {
  background: var(--accent-warm);
  color: var(--white);
  border: none;
  padding: 14px 24px;
  border-radius: var(--border-radius);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

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

.form button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn-loading {
  display: none;
}

.form-message {
  padding: 12px 16px;
  border-radius: var(--border-radius);
  margin-top: 16px;
  font-weight: 500;
  text-align: center;
}

.form-message.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-message.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Responsive Design for Contact Form */
@media (max-width: 768px) {
  .contact-form {
    padding: 20px;
    margin-top: 30px;
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 10px 14px;
    font-size: 14px;
  }
  
  .form button {
    padding: 12px 20px;
    font-size: 14px;
  }
}

/* Enhanced Focus styles for keyboard navigation */
.nav-link:focus,
.btn:focus,
.social-link:focus,
.back-to-top:focus,
.book-btn:focus,
.service-card:focus,
.review-card:focus,
.faq-item:focus,
.testimonial-card:focus {
  outline: 3px solid var(--accent-warm);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(182, 136, 110, 0.2);
  transition: all 0.3s ease;
}

/* Enhanced focus for interactive elements */
.doggie-dashboard-btn:focus {
  outline: 3px solid var(--accent-blue);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(74, 144, 164, 0.2);
}

/* Skip to main content link for screen readers */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--primary-color);
  color: var(--white);
  padding: 8px;
  text-decoration: none;
  border-radius: 4px;
  z-index: 1000;
  transition: top 0.3s ease;
}

.skip-link:focus {
  top: 6px;
}

/* Enhanced image loading states */
.service-card img,
.review-card img,
.staff-card img {
  transition: var(--transition-smooth);
}

.service-card img:not([src]),
.review-card img:not([src]),
.staff-card img:not([src]) {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Enhanced trust signals */
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.8);
  border: 2px solid var(--accent-warm);
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-color);
  margin: 0.25rem;
  transition: var(--transition);
}

.trust-badge:hover {
  background: var(--accent-warm);
  color: var(--white);
  transform: translateY(-2px);
}

.trust-badge i {
  color: var(--accent-warm);
  font-size: 16px;
}

.trust-badge:hover i {
  color: var(--white);
}

.trust-badge-premium {
  background: rgba(255, 255, 255, 0.9);
  border-color: var(--primary-color);
  font-weight: 700;
}

.hero-trust-badges {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 1.5rem 0;
  flex-wrap: wrap;
}

/* Professional membership logos */
.professional-memberships {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.membership-logo {
  height: 80px;
  width: auto;
  opacity: 0.9;
  transition: all 0.3s ease;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}

.membership-logo:hover {
  opacity: 1;
  transform: translateY(-2px);
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
}

/* Enhanced mobile trust badges */
@media (max-width: 768px) {
  .hero-trust-badges {
    gap: 0.5rem;
    margin: 1rem 0;
  }
  
  .trust-badge {
    font-size: 12px;
    padding: 6px 12px;
  }
  
  .professional-memberships {
    gap: 1rem;
    margin: 1.5rem 0;
  }
  
  .membership-logo {
    height: 60px;
  }
}

/* Footer membership logos */
.footer-memberships {
  text-align: center;
  margin-bottom: 2rem;
}

.footer-membership-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-membership-logo {
  height: 60px;
  width: auto;
  opacity: 0.8;
  transition: all 0.3s ease;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.footer-membership-logo:hover {
  opacity: 1;
  transform: translateY(-1px);
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.15));
}

/* AKC logo specific styling */
.akc-logo {
  height: 70px; /* Slightly taller for horizontal format */
}

.akc-footer-logo {
  height: 55px; /* Seal format works well smaller */
}

@media (max-width: 768px) {
  .footer-membership-logos {
    gap: 1rem;
  }
  
  .footer-membership-logo {
    height: 45px;
  }
  
  .footer-logo-img {
    height: 45px;
  }
  
  .akc-logo {
    height: 50px;
  }
  
  .akc-footer-logo {
    height: 40px;
  }
}

/* Certificate showcase styling */
.certificate-showcase {
  margin-top: 1.5rem;
  text-align: center;
}

.certificate-link {
  display: inline-block;
  background: linear-gradient(90deg, #5a5754 0%, #b6886e 100%);
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(59, 61, 58, 0.25);
  font-weight: 600;
}

.certificate-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(59, 61, 58, 0.35);
  background: linear-gradient(90deg, #6a6562 0%, #c49880 100%);
}

.certificate-preview {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
}

.certificate-preview i {
  font-size: 1.2rem;
  color: #f4d8c6;
}

.certificate-preview span {
  font-weight: 600;
  font-size: 1rem;
  font-style: italic;
}

.certificate-preview small {
  display: none;
}

.credential-highlight {
  background: linear-gradient(135deg, #3b3d3a 0%, #b6886e 100%);
  color: white;
  font-weight: 600;
}

@media (max-width: 768px) {
  .certificate-link {
    padding: 0.8rem 1.2rem;
  }
  
  .certificate-preview i {
    font-size: 1.2rem;
  }
}

/* Certifications Section */
.certifications-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, #f8f6f4 0%, #ffffff 100%);
}

.certification-highlight {
  max-width: 900px;
  margin: 0 auto;
  background: white;
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(182, 136, 110, 0.2);
}

.certification-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: center;
}

.certification-info h3 {
  color: var(--primary-color);
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.certification-description {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.certification-details {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.cert-detail {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(182, 136, 110, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 15px;
  color: var(--primary-color);
  font-weight: 500;
  font-size: 0.9rem;
}

.cert-detail i {
  color: var(--accent-warm);
}

.certification-card .certificate-showcase {
  text-align: center;
  margin-top: 2rem;
}

/* Certificate button styles unified with certificate-link class */

@media (max-width: 768px) {
  .certification-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .certification-highlight {
    padding: 2rem;
  }
  
  .certification-info h3 {
    font-size: 1.7rem;
  }
  
  .certification-details {
    justify-content: center;
  }
  
  .certificate-view-btn {
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }
}

/* Print styles */
@media print {
  .header,
  .back-to-top {
    display: none;
  }
  
  .hero {
    min-height: auto;
  }
  
  .service-card,
  .about-content,
  .contact-content {
    break-inside: avoid;
  }
}


/* Mobile Experience Enhancements */
@media (max-width: 768px) {
  /* Enhanced touch targets */
  .service-card {
    transition: transform 0.2s ease;
  }
  
  .service-card:active {
    transform: scale(0.98);
  }
  
  /* Mobile-specific button styles */
  .cta-button {
    min-height: 48px;
    font-size: 1.1rem;
    padding: 12px 24px;
  }
  
  /* Mobile navigation improvements */
  .nav-link {
    padding: 15px 20px;
    font-size: 1.1rem;
  }
  
  .nav-link:active {
    background-color: rgba(59, 61, 58, 0.1);
  }
  
  /* Mobile viewport height fix */
  .hero {
    min-height: calc(var(--vh, 1vh) * 100);
  }
  
  /* Touch-friendly back to top button */
  .back-to-top {
    width: 56px;
    height: 56px;
    font-size: 1.2rem;
  }
  
  /* Enhanced mobile forms */
  .contact-form input,
  .contact-form textarea {
    min-height: 44px;
    font-size: 16px; /* Prevents zoom on iOS */
  }
  
  /* Mobile-specific animations */
  .service-card,
  .review-card,
  .faq-item {
    transform: translateY(0);
    opacity: 1;
    transition: all 0.3s ease;
  }
}


/* Pet Care Tips Section */
.tips {
  background-color: var(--cream);
  padding: 4rem 0;
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  align-items: stretch; /* Make all cards the same height */
}

@media (min-width: 768px) {
  .tips-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns on tablet */
  }
}

@media (min-width: 1200px) {
  .tips-grid {
    grid-template-columns: repeat(3, 1fr); /* 3 columns on desktop for perfect 6-card symmetry */
  }
}

.tip-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-left: 4px solid var(--accent-warm);
  display: flex;
  flex-direction: column;
  height: 100%; /* Ensure cards take full height */
}

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

.tip-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--accent-warm);
  color: var(--white);
  border-radius: 50%;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

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

.tip-card p {
  color: var(--text-dark);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1; /* Allow text to expand and fill available space */
}

.tip-meta {
  padding-top: 1rem;
  border-top: 1px solid rgba(59, 61, 58, 0.1);
  font-size: 0.9rem;
  color: var(--text-light);
  font-style: italic;
  margin-top: auto; /* Push meta to bottom of card */
}

.tip-meta span {
  color: var(--accent-warm);
  font-weight: 600;
}

/* Responsive Design for Tips */
@media (max-width: 768px) {
  .tips-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .tip-card {
    padding: 1.5rem;
  }
  
  .tip-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}



/* Service Area Section */
.service-area {
  background: linear-gradient(135deg, var(--cream) 0%, var(--white) 100%);
  padding: 4rem 0;
}

.service-area-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  align-items: stretch;
}

@media (min-width: 768px) {
  .service-area-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .service-area-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.area-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-top: 4px solid var(--accent-warm);
  position: relative;
}

.area-card.primary-area {
  border-top-color: var(--primary-color);
  background: linear-gradient(135deg, var(--white) 0%, rgba(59, 61, 58, 0.02) 100%);
}

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

.area-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--accent-warm);
  color: var(--white);
  border-radius: 50%;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.area-card.primary-area .area-icon {
  background: var(--primary-color);
}

.area-card h3 {
  color: var(--primary-color);
  font-size: 1.4rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.area-card p {
  color: var(--text-dark);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.area-neighborhoods {
  list-style: none;
  padding: 0;
  margin: 0;
}

.area-neighborhoods li {
  padding: 0.5rem 0;
  color: var(--text-light);
  font-size: 0.9rem;
  position: relative;
  padding-left: 1.5rem;
}

.area-neighborhoods li:before {
  content: '•';
  color: var(--accent-warm);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.service-area-info {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 2px solid rgba(59, 61, 58, 0.1);
}

.coverage-details h3 {
  color: var(--primary-color);
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 2rem;
}

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

.coverage-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.coverage-item i {
  color: var(--accent-warm);
  font-size: 1.5rem;
  margin-top: 0.25rem;
}

.coverage-item h4 {
  color: var(--primary-color);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.coverage-item p {
  color: var(--text-dark);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

/* Responsive Design for Service Area */
@media (max-width: 768px) {
  .service-area-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .area-card {
    padding: 1.5rem;
  }
  
  .coverage-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .coverage-item {
    padding: 1rem;
  }
}



/* Customer Portal Preview Section */
.portal-preview {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-warm) 100%);
  color: var(--white);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.portal-preview::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
}

.portal-preview .container {
  position: relative;
  z-index: 1;
}

.portal-preview .section-title {
  color: var(--white);
  text-align: center;
  margin-bottom: 1rem;
}

.portal-preview .section-subtitle {
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  margin-bottom: 3rem;
}

.portal-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.portal-intro h3 {
  color: var(--white);
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.portal-intro p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  line-height: 1.6;
}

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

.feature-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: var(--border-radius);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.feature-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  color: var(--white);
}

.feature-card h4 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.feature-card p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  font-size: 0.95rem;
}

.portal-cta {
  text-align: center;
  padding: 3rem 0;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-content h3 {
  color: var(--white);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.portal-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.portal-buttons .doggie-dashboard-btn {
  transition: all 0.3s ease;
}

.portal-buttons .doggie-dashboard-btn:hover {
  transform: translateY(-3px);
  filter: brightness(1.1);
}

.portal-buttons .doggie-dashboard-btn.primary {
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

/* Responsive Design for Portal Preview */
@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .feature-card {
    padding: 1.5rem;
  }
  
  .feature-icon {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
  
  .portal-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .portal-buttons .doggie-dashboard-btn img {
    width: 180px;
  }
}



/* Advanced Animations and Interactions */
.portal-preview {
  position: relative;
}

.portal-preview::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.feature-card {
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transform: rotate(45deg);
  transition: all 0.6s;
  opacity: 0;
}

.feature-card:hover::before {
  animation: shimmer 1.5s ease-in-out;
  opacity: 1;
}

@keyframes shimmer {
  0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
  100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

/* Enhanced button hover effects */
.doggie-dashboard-btn {
  position: relative;
  overflow: hidden;
}

.doggie-dashboard-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.doggie-dashboard-btn:hover::before {
  left: 100%;
}

/* Scroll-triggered animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.animate-on-scroll.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Pulse animation for CTA buttons */
.portal-cta .doggie-dashboard-btn.primary {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}



/* Mobile Navigation Spacing Fix */
@media (max-width: 768px) {
  .navbar .container {
    gap: 1rem; /* Reduce gap on mobile */
  }
  
  .nav-brand {
    margin-right: 1rem; /* Reduce margin on mobile */
  }
  
  .nav-menu {
    margin-left: 0; /* Reset margin-left on mobile */
  }
}



/* Mobile Hero Section Adjustments */
@media (max-width: 768px) {
  .hero {
    margin-top: 70px; /* Reduced for mobile balance */
  }
  
  .hero-content {
    padding-top: 0.5rem; /* Minimal padding on mobile */
  }
  
  .navbar {
    padding: 1rem 0; /* Standard mobile navbar padding */
  }
}



/* Elegant Logo Watermarks */
.logo-watermark {
  position: absolute;
  background-image: url('assets/logo.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.04;
  pointer-events: none;
  z-index: 1;
}

.hero::before {
  content: '';
  position: absolute;
  top: 15%;
  right: 10%;
  width: 200px;
  height: 200px;
  background-image: url('assets/logo.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.05;
  pointer-events: none;
  z-index: 1;
  transform: rotate(-15deg);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 20%;
  left: 8%;
  width: 150px;
  height: 150px;
  background-image: url('assets/logo.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.03;
  pointer-events: none;
  z-index: 1;
  transform: rotate(20deg);
}

.services::before {
  content: '';
  position: absolute;
  top: 10%;
  left: 5%;
  width: 120px;
  height: 120px;
  background-image: url('assets/logo.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.03;
  pointer-events: none;
  z-index: 1;
  transform: rotate(-10deg);
}

.about::after {
  content: '';
  position: absolute;
  top: 20%;
  right: 8%;
  width: 140px;
  height: 140px;
  background-image: url('assets/logo.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.04;
  pointer-events: none;
  z-index: 1;
  transform: rotate(25deg);
}

.pricing::before {
  content: '';
  position: absolute;
  bottom: 15%;
  left: 6%;
  width: 100px;
  height: 100px;
  background-image: url('assets/logo.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.03;
  pointer-events: none;
  z-index: 1;
  transform: rotate(-20deg);
}

.staff::before {
  content: '';
  position: absolute;
  top: 25%;
  right: 10%;
  width: 110px;
  height: 110px;
  background-image: url('assets/logo.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.03;
  pointer-events: none;
  z-index: 1;
  transform: rotate(15deg);
}

.reviews::after {
  content: '';
  position: absolute;
  bottom: 10%;
  left: 12%;
  width: 130px;
  height: 130px;
  background-image: url('assets/logo.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.04;
  pointer-events: none;
  z-index: 1;
  transform: rotate(-25deg);
}

.contact::before {
  content: '';
  position: absolute;
  top: 30%;
  right: 5%;
  width: 160px;
  height: 160px;
  background-image: url('assets/logo.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.03;
  pointer-events: none;
  z-index: 1;
  transform: rotate(12deg);
}

/* Ensure sections have relative positioning for watermarks */
.hero,
.services,
.about,
.pricing,
.staff,
.reviews,
.contact {
  position: relative;
  overflow: hidden;
}

/* Mobile watermark adjustments */
@media (max-width: 768px) {
  .hero::before,
  .hero::after,
  .services::before,
  .about::after,
  .pricing::before,
  .staff::before,
  .reviews::after,
  .contact::before {
    width: 80px;
    height: 80px;
    opacity: 0.02;
  }
  
  .hero::before {
    top: 20%;
    right: 5%;
  }
  
  .hero::after {
    bottom: 25%;
    left: 5%;
  }
}

/* Enhanced Loading States */
.loading {
  opacity: 0.7;
  pointer-events: none;
  position: relative;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid var(--accent-warm);
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Lightning-Fast Performance Optimizations */

/* Image loading optimization */
img.lazy {
  opacity: 0;
  transition: opacity 0.3s;
}

img.lazy.loaded {
  opacity: 1;
}

/* Reduce repaints and reflows */
.animate-on-scroll {
  will-change: transform, opacity;
}

/* GPU acceleration for animations */
.doggie-dashboard-btn,
.nav-link,
.service-card {
  will-change: transform;
  transform: translateZ(0);
}

/* Optimize font loading */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Poppins Regular'), local('Poppins-Regular');
}

/* Reduce layout shifts */
.service-card,
.team-member,
.review-card {
  min-height: 300px;
  contain: layout style;
}

/* Optimize animations */
@supports (backdrop-filter: blur(10px)) {
  .header {
    backdrop-filter: blur(10px);
    background-color: rgba(249, 247, 244, 0.9);
  }
}

/* Critical CSS for instant loading */
.critical-content {
  contain: layout style paint;
}

/* Reduce paint complexity */
.hero-background {
  contain: layout style paint;
  transform: translateZ(0);
}

/* Optimize scroll performance */
.section {
  contain: layout style;
}

/* Preload hover states */
.doggie-dashboard-btn:hover,
.nav-link:hover,
.service-card:hover {
  transform: translateY(-2px) translateZ(0);
}

/* Optimize mobile performance */
@media (max-width: 768px) {
  .hero-background {
    display: none; /* Remove complex animations on mobile */
  }
  
  .service-card {
    min-height: 200px;
  }
}

/* Performance for Core Web Vitals */
.above-fold {
  contain: layout style paint;
  will-change: auto;
}

.below-fold {
  contain: layout;
  content-visibility: auto;
}

/* Breed Calculator Styles */
.breed-calculator-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--cream) 0%, #f5f3f0 100%);
}

.breed-calculator {
  max-width: 800px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(59, 61, 58, 0.1);
  overflow: hidden;
}

.calculator-header {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-warm));
  color: var(--white);
  padding: 40px 30px;
  text-align: center;
}

.calculator-header h2 {
  font-size: 2.5rem;
  margin-bottom: 12px;
  font-weight: 700;
}

.calculator-header p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin: 0;
}

.calculator-step {
  padding: 40px 30px;
  border-bottom: 2px solid var(--cream);
}

.calculator-step:last-child {
  border-bottom: none;
}

.calculator-step h3 {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: 600;
}

.breed-selection {
  margin-bottom: 30px;
}

.breed-dropdown {
  width: 100%;
  padding: 16px 20px;
  font-size: 1.1rem;
  border: 2px solid var(--cream);
  border-radius: 12px;
  background: var(--white);
  color: var(--text-dark);
  transition: all 0.3s ease;
}

.breed-dropdown:focus {
  outline: none;
  border-color: var(--accent-warm);
  box-shadow: 0 0 0 3px rgba(182, 136, 110, 0.2);
}

.breed-note {
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--warm-brown);
  font-style: italic;
}

.dog-questions {
  display: grid;
  gap: 25px;
  margin-bottom: 40px;
}

.question label {
  display: block;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.question select {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--cream);
  border-radius: 10px;
  background: var(--white);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.question select:focus {
  outline: none;
  border-color: var(--accent-warm);
  box-shadow: 0 0 0 3px rgba(182, 136, 110, 0.15);
}

.checkbox-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 12px;
  margin-top: 10px;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  font-weight: 400;
  font-size: 1rem;
  cursor: pointer;
  padding: 8px 0;
}

.checkbox-group input[type="checkbox"] {
  margin-right: 10px;
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.calculate-btn {
  width: 100%;
  padding: 18px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-warm));
  color: var(--white);
  border: none;
  border-radius: 12px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.calculate-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 61, 58, 0.3);
}

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

/* Results Styles */
.calculator-results {
  background: var(--white);
  margin-top: 0;
}

.results-header {
  background: linear-gradient(135deg, var(--blue-accent), var(--accent-warm));
  color: var(--white);
  padding: 30px;
  text-align: center;
}

.results-header h3 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.breed-info {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.breed-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, 0.2);
  padding: 15px 25px;
  border-radius: 15px;
  backdrop-filter: blur(10px);
}

.breed-name {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.breed-category {
  font-size: 0.9rem;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.breed-purpose {
  font-size: 1rem;
  opacity: 0.95;
  text-align: center;
  max-width: 400px;
}

.results-content {
  padding: 40px 30px;
}

.fulfillment-sections {
  display: grid;
  gap: 40px;
}

.section {
  background: var(--cream);
  padding: 30px;
  border-radius: 15px;
  border-left: 5px solid var(--primary-color);
}

.section h4 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: 600;
}

.schedule-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid rgba(59, 61, 58, 0.1);
}

.schedule-item:last-child {
  border-bottom: none;
}

.schedule-item .time {
  font-weight: 600;
  color: var(--primary-color);
  text-transform: capitalize;
  min-width: 80px;
}

.schedule-item .activity {
  color: var(--text-dark);
  flex: 1;
  margin-left: 20px;
}

.activity-item,
.solution-item,
.product-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 15px;
  padding: 12px 0;
}

.activity-item:last-child,
.solution-item:last-child,
.product-item:last-child {
  margin-bottom: 0;
}

.activity-item i,
.solution-item i,
.product-item i {
  color: var(--accent-warm);
  font-size: 1.2rem;
  margin-top: 2px;
  width: 20px;
}

.activity-item span,
.solution-item span,
.product-item span {
  color: var(--text-dark);
  line-height: 1.5;
}

.results-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 30px;
  background: var(--cream);
  border-top: 1px solid rgba(59, 61, 58, 0.1);
}

.restart-btn,
.contact-btn {
  flex: 1;
  padding: 15px 25px;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.restart-btn {
  background: var(--warm-brown);
  color: var(--white);
}

.restart-btn:hover {
  background: #7a5a39;
  transform: translateY(-2px);
}

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

.contact-btn:hover {
  background: #1e3f22;
  transform: translateY(-2px);
}

/* Custom Breed Form Styles */
.custom-breed-form {
  background: rgba(255, 255, 255, 0.9);
  padding: 2rem;
  border-radius: 15px;
  margin-top: 1rem;
  border: 1px solid rgba(59, 61, 58, 0.1);
}

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

.custom-breed-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--primary-color);
  font-size: 1rem;
}

.custom-breed-form input[type="text"],
.custom-breed-form select,
.custom-breed-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid rgba(59, 61, 58, 0.2);
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  background: rgba(255, 255, 255, 0.9);
  font-family: inherit;
}

.custom-breed-form input[type="text"]:focus,
.custom-breed-form select:focus,
.custom-breed-form textarea:focus {
  outline: none;
  border-color: var(--accent-warm);
  box-shadow: 0 0 0 3px rgba(182, 136, 110, 0.1);
}

.custom-breed-form textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.5;
}

.custom-breed-form .form-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.custom-breed-form .submit-btn {
  background: linear-gradient(135deg, var(--accent-warm) 0%, var(--accent-cool) 100%);
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(182, 136, 110, 0.3);
}

.custom-breed-form .submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(182, 136, 110, 0.4);
}

.custom-breed-form .cancel-btn {
  background: transparent;
  color: var(--primary-color);
  padding: 1rem 2rem;
  border: 2px solid var(--primary-color);
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.custom-breed-form .cancel-btn:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .breed-calculator {
    margin: 20px;
    border-radius: 15px;
  }
  
  .calculator-header {
    padding: 30px 20px;
  }
  
  .calculator-header h2 {
    font-size: 2rem;
  }
  
  .calculator-step {
    padding: 30px 20px;
  }
  
  .results-content {
    padding: 30px 20px;
  }
  
  .breed-info {
    flex-direction: column;
    gap: 15px;
  }
  
  .results-footer {
    flex-direction: column;
    gap: 15px;
  }
  
  .checkbox-group {
    grid-template-columns: 1fr;
  }
  
  .custom-breed-form {
    padding: 1.5rem;
  }
  
  .custom-breed-form .form-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Google Maps Container Styles */
.map-container {
  width: 100%;
  height: 250px;
  margin-top: 1rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(59, 61, 58, 0.1);
}

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

/* Mobile responsive map */
@media (max-width: 768px) {
  .map-container {
    height: 200px;
    margin-top: 1.5rem;
  }
}

/* Service Area Styling */
.service-area {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-top: 0.5rem;
  margin-bottom: 2.5rem;
  text-align: center;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
  padding: 0 20px;
}

.service-area::before,
.service-area::after {
  content: '•';
  color: var(--accent-warm);
  font-size: 1.5rem;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.service-area::before {
  left: -20px;
}

.service-area::after {
  right: -20px;
}

@media (min-width: 600px) {
  .service-area::before {
    left: 25%;
  }
  
  .service-area::after {
    right: 25%;
  }
}

/* Review CTA Styling */
.review-cta {
  margin-top: 0.75rem;
  font-size: 0.97rem;
  color: #6e4c2b;
  font-weight: 500;
  text-align: center;
}

.review-cta a {
  color: var(--link-color);
  text-decoration: underline;
  font-weight: bold;
}

.review-cta a:hover {
  color: var(--link-hover);
}

/* Blog Article Styles */
.article-hero {
    background: linear-gradient(135deg, var(--bg-light) 0%, #ffffff 100%);
    padding: 120px 0 60px;
    border-bottom: 1px solid rgba(139, 111, 71, 0.1);
}

.breadcrumb {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.breadcrumb a {
    color: var(--link-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.article-title {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
    line-height: 1.2;
}

.article-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.article-content {
    padding: 60px 0;
    background: #ffffff;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.table-of-contents {
    position: sticky;
    top: 100px;
    background: var(--bg-light);
    padding: 30px;
    border-radius: 10px;
    height: fit-content;
}

.table-of-contents h3 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.table-of-contents ul {
    list-style: none;
    padding: 0;
}

.table-of-contents li {
    margin-bottom: 10px;
}

.table-of-contents a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.table-of-contents a:hover {
    color: var(--accent-warm);
}

.article-body {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-primary);
}

.article-body h2 {
    font-size: 2rem;
    color: var(--primary);
    margin: 40px 0 20px;
    padding-top: 20px;
}

.article-body h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin: 30px 0 15px;
}

.article-body p {
    margin-bottom: 20px;
}

.article-body p.lead {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 30px;
}

.article-body ul, .article-body ol {
    margin: 20px 0;
    padding-left: 30px;
}

.article-body li {
    margin-bottom: 10px;
}

.info-box {
    background: linear-gradient(135deg, var(--bg-light) 0%, rgba(182, 136, 110, 0.05) 100%);
    border-left: 4px solid var(--accent-warm);
    padding: 20px;
    margin: 30px 0;
    border-radius: 5px;
}

.cta-box {
    background: var(--primary);
    color: white;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    margin: 40px 0;
}

.cta-box h3 {
    color: white;
    margin-bottom: 15px;
}

.cta-box p {
    margin-bottom: 20px;
}

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

.cta-box .btn:hover {
    background: var(--bg-light);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .article-hero {
        padding: 100px 0 40px;
    }
    
    .article-title {
        font-size: 1.8rem;
    }
    
    .content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .table-of-contents {
        position: static;
        margin-bottom: 40px;
    }
    
    .article-meta {
        font-size: 0.85rem;
    }
}

/* Response Note Styling */
.response-note {
  font-size: 0.9rem;
  color: #777;
  margin-top: 0.5rem;
  text-align: center;
}

/* Cache bust Force Update v3.0 - July 18 2025 - 03:25 AM */
/* CACHE BUSTER COMMENT - DO NOT REMOVE - TIMESTAMP: 1752798300 */

/* Footer Quick Links */
.footer-quick-links {
    margin: 3rem 0;
    text-align: center;
}

.footer-quick-links h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.footer-links-column h4 {
    color: var(--text-color);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-links-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-column li {
    margin-bottom: 0.5rem;
}

.footer-links-column a {
    color: var(--link-color);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-links-column a:hover {
    color: var(--link-hover);
    text-decoration: underline;
}

/* Emergency Page Styles */
.emergency-banner {
    background: #dc3545;
    color: white;
    padding: 10px 0;
    text-align: center;
    font-weight: 600;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1001;
}

.emergency-banner .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.emergency-banner i {
    font-size: 1.2rem;
    animation: pulse 1.5s infinite;
}

.emergency-call {
    color: white;
    text-decoration: none;
    padding: 5px 15px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    transition: background 0.3s ease;
}

.emergency-call:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Adjust header for emergency banner */
body:has(.emergency-banner) .header {
    top: 45px;
}

/* Emergency hero section */
.emergency-hero {
    margin-top: 140px; /* Account for both emergency banner and header */
    background: linear-gradient(135deg, var(--cream) 0%, #ffeaa7 100%);
    padding: 80px 0 60px;
    min-height: auto;
}

.emergency-hero .hero-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.emergency-hero .hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-color);
    margin-bottom: 2rem;
}

.emergency-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.emergency-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: white;
    border-radius: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.emergency-feature i {
    color: var(--accent-warm);
    font-size: 1.2rem;
}

.emergency-note {
    font-style: italic;
    color: var(--warm-brown);
    margin-top: 1rem;
    font-size: 0.95rem;
}

.btn-emergency {
    background: #dc3545;
    color: white;
    font-weight: 600;
    animation: pulse 2s infinite;
}

.btn-emergency:hover {
    background: #c82333;
    transform: translateY(-2px);
}

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

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

.emergency-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.emergency-card:hover {
    transform: translateY(-5px);
}

.emergency-card i {
    font-size: 3rem;
    color: var(--accent-warm);
    margin-bottom: 1rem;
}

.emergency-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.emergency-card ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.emergency-card li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.emergency-card li:last-child {
    border-bottom: none;
}

/* Last minute and weekend hero sections */
.last-minute-hero,
.weekend-hero {
    margin-top: 100px; /* Account for header without emergency banner */
    background: linear-gradient(135deg, var(--cream) 0%, #ffeaa7 100%);
    padding: 80px 0 60px;
    min-height: auto;
}

.last-minute-hero .hero-title,
.weekend-hero .hero-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.last-minute-hero .hero-subtitle,
.weekend-hero .hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-color);
    margin-bottom: 2rem;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .emergency-hero,
    .last-minute-hero,
    .weekend-hero {
        margin-top: 100px;
    }
    
    .emergency-hero .hero-title,
    .last-minute-hero .hero-title,
    .weekend-hero .hero-title {
        font-size: 1.8rem;
    }
    
    .emergency-features {
        gap: 1rem;
    }
    
    .emergency-feature {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
}


