/*
Theme Name: PetCare Pro
Description: A pet services platform theme with purple and white design, inspired by modern pet care websites
Version: 1.0
Author: Custom Theme Developer
Text Domain: petcare-pro
*/

:root {
  --primary-purple: #8f9e73; /* New primary color from user */
  --light-purple: #a5b986; /* Derived light shade */
  --accent-purple: #7a8d67; /* Derived accent shade */
  --dark-purple: #5b684d; /* Derived dark shade */
  --white: #FFFFFF;
  --light-gray: #f6edca; /* New light background from user */
  --medium-gray: #E2E8F0;
  --dark-gray: #64748B;
  --text-dark: #1E293B;
  --gradient-purple: linear-gradient(135deg, #8f9e73 0%, #5b684d 100%); /* Adjusted gradient */
  --border-color: #E0E0E0; /* Keep for general input borders */
}

html,
body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  overflow-x: hidden; /* Prevent horizontal scrolling */
  box-sizing: border-box;
  
 
}

*, *::before, *::after {
  box-sizing: inherit;
}
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.2; /* Adjusted line-height to 1.2 */
  color: var(--text-dark);
  background: var(--light-gray); /* Use the new light background color */
  padding-top: 90px; /* Default padding for fixed header */
  padding-bottom: 0;
}

body.admin-bar {
  padding-top: 0px !important; /* Ensure no padding-top when admin bar is present */
}

body.admin-bar .site-header {
  top: 32px !important; /* Adjust header position for desktop admin bar */
}

@media screen and (max-width: 782px) {
  body.admin-bar {
    padding-top: 0px !important; /* Ensure no padding-top when admin bar is present on mobile */
  }

  body.admin-bar .site-header {
    top: 46px !important; /* Adjust header position for mobile admin bar */
  }
}

/* Ensure main content wrappers are responsive */
.site-content, 
#page, 
#content {
  width: 100%;
  padding: 0 2rem; /* Add horizontal padding for smaller screens */
  box-sizing: border-box;
}

/* Header Styles */
.site-header {
  background: var(--white); /* Changed to white background */
  box-shadow: none; /* Removed shadow for transparency */
  top: 0;
  z-index: 1000;
  height: 90px; /* Fixed height for the header */
  padding: 0; /* No padding on header itself */
  width: 100%; /* Ensure header spans full width */
}

.header-full-width {
  width: 100%;
  padding: 0; /* Ensure no padding on the header itself, inner container handles it */
}

.header-container {
  background:#8f9e73;
  padding: 0 2rem; /* Ensure spacing from the edge of the screen */
  display: flex;
  justify-content: center; /* Centered content */
  align-items: center;
  height: 100%;
  gap: 2rem; /* Add gap for spacing between items */
  max-width: 100%; /* Ensure it does not get restricted by any implicit max-width */
}

.site-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: 0; /* Removed auto margin to allow centering */
  padding-left: 0; /* Ensure no padding here */
  justify-content: center; /* Horizontally center content */
}

.site-logo h1 {
  color: var(--primary-purple); /* Changed to primary color */
  font-size: 1.6rem; /* Reduced font size to prevent expanding navbar */
  font-weight: 800;
  letter-spacing: -0.5px;
}

.site-logo a {
  text-decoration: none;
  color: inherit;
}

.custom-logo {
  max-height: 250px; /* Reduced height to fit within the header */
  width: auto;
  object-fit: contain;
  vertical-align: middle;
  padding: 0;
  margin-top: 50px;
}

.main-navigation {
  display: none; /* Corrected from hidden !important */
  flex-grow: 1; /* Allow navigation to take available space */
  display: flex;
  justify-content: center;
  align-items: center;
  padding-right: 0;
  padding-left: 0; /* Removed explicit padding, gap in header-container handles spacing */
}

.main-navigation ul {
  display: flex;
  list-style: none;
  gap: 2.5rem; /* Set gap for optimal spacing */
  margin: 0;
  padding: 0;
}
header, nav {
  margin: 0;
  padding: 0;
}


.main-navigation li {
  position: relative;
}

.main-navigation a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 600;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.4rem; /* Standard gap with icon */
  padding: 0.5rem 0; /* Adjusted vertical padding */
  font-size: 0.9rem; /* Adjusted font size */
  white-space: nowrap; /* Ensure text does not wrap */
}

.main-navigation a:hover {
  color: var(--primary-purple); /* Changed to primary color */
}

.main-navigation a.has-icon img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.main-navigation .new-badge {
  background: #FFC107;
  color: var(--text-dark);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  margin-left: 0.5rem;
  vertical-align: super;
}

.main-navigation .sub-menu {
  display: none;
  position: absolute;
  background: var(--white);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  list-style: none;
  padding: 1rem 0;
  min-width: 200px;
  border-radius: 8px;
  top: 100%;
  left: 0;
  z-index: 100;
}

.main-navigation .sub-menu li a {
  padding: 0.75rem 1.5rem;
  display: block;
  white-space: nowrap;
  gap: 0;
}

.main-navigation .sub-menu li a:hover {
  background: var(--light-gray);
}

.main-navigation .menu-item-has-children:hover > .sub-menu {
  display: block;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-shrink: 0;
  padding-right: 0;
}

.header-actions .header-link {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
  padding: 0.6rem 0;
  font-size: 0.95rem;
}

.header-actions .header-link:hover {
  color: var(--primary-purple); /* Changed to primary color */
}

.header-actions .button.primary.find-sitter-button {
  background: var(--gradient-purple);
  color: var(--white);
  padding: 0.7rem 1.3rem;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.875rem;
}

.header-actions .button.primary.find-sitter-button:hover {
  transform: translateY(-76);
  box-shadow: 0 8px 20px rgba(143, 158, 115, 0.3); /* Adjusted shadow to new color */
}

.user-menu {
  position: relative;
}

.user-menu-button {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.user-menu-button:hover {
  background: var(--light-gray);
}

.user-avatar img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.user-name {
  font-weight: 600;
  color: var(--text-dark);
}

.user-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); /* Revert to generic shadow */
  padding: 0.75rem;
  min-width: 200px;
  margin-top: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.user-menu:hover .user-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.user-dropdown a {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.user-dropdown a:hover {
  background: var(--light-gray);
  color: var(--primary-purple); /* Changed to primary color */
}

.mobile-header-actions {
  display: none; /* Hide mobile actions on desktop */
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .site-header {
    background: var(--white); /* Ensure white background on mobile */
    box-shadow: none; /* Ensure no shadow on mobile */
  }

  .header-container {
    justify-content: center; /* Ensure centered on mobile */
  }

  .site-logo {
    width: auto;
    text-align: center; /* Center logo text on mobile */
    margin-right: 0; /* Remove auto margin on mobile */
  }

  .site-logo h1 {
    font-size: 1.8rem;
  }

  .site-header .main-navigation {
    display: none;
  }

  .site-header .header-actions {
    display: none;
  }

  .mobile-header-actions {
    display: flex; /* Show mobile actions on mobile */
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;

    position: sticky;
    top: 0;
    z-index: 999;
  }

  .mobile-header-actions .search-button {
    background: var(--gradient-purple);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.8rem;
    transition: all 0.3s ease;
  }

  .mobile-header-actions .search-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(143, 158, 115, 0.2); /* Adjusted shadow to new color */
  }

  .mobile-header-actions .user-menu {
    position: relative;
  }

  .mobile-header-actions .user-menu-button {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    border-radius: 8px;
  }

  .mobile-header-actions .user-avatar img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
  }

  .mobile-header-actions .user-name {
    font-weight: 500;
    color: var(--text-dark);
    display: none;
  }

  .mobile-header-actions .user-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    transition: all 0.3s ease;
  }

  .mobile-header-actions .user-menu:hover .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .mobile-header-actions .user-dropdown a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    border-radius: 4px;
    transition: background 0.3s ease;
  }

  .mobile-header-actions .user-dropdown a:hover {
    background: var(--light-gray);
    color: var(--primary-purple); /* Changed to primary color */
  }

  .mobile-header-actions .auth-buttons {
    display: flex;
    gap: 0.5rem;
    align-items: center;
  }

  .mobile-header-actions .login-button,
  .mobile-header-actions .signup-button {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.8rem;
    transition: all 0.3s ease;
  }

  .mobile-header-actions .login-button {
    background: none;
    border: 1px solid var(--primary-purple); /* Changed to primary color */
    color: var(--primary-purple); /* Changed to primary color */
  }

  .mobile-header-actions .login-button:hover {
    background: var(--primary-purple); /* Changed to primary color */
    color: var(--white);
  }

  .mobile-header-actions .signup-button {
    background: var(--gradient-purple);
    color: var(--white);
    border: none;
  }

  .mobile-header-actions .signup-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(143, 158, 115, 0.2); /* Adjusted shadow to new color */
  }

  .hero-section {
    padding: 9rem 1rem; /* Adjust padding for mobile to account for header and admin bar */
  }

  .hero-dog-animation2 {
    position: relative; /* Revert to static for mobile flow */
    transform: none; /* Remove transform on mobile */
    width: 250px !important; 
    height: 250px !important; 
    margin: 0 auto; /* Center dog animation when static */
    display: absolute; /
  }
}

/* Hero Section */
.hero-section {
  background: var(--primary-purple); 
  color: var(--white);
  padding: 9rem 2rem 10rem; 
  text-align: center;
  position: relative; /* Ensure relative positioning for absolute child */
  background-image: none; 
  background-size: cover;
  background-position: center;
  min-height: 500px; 
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden; 
  width: 100%; 
  box-sizing: border-box;
  align-items: center; /* Center children horizontally */
  margin-top: -276px;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent; 
  opacity: 1; 
  z-index: 0;
}

.hero-content-text-wrapper {
  width: 100%; /* Ensure it spans the full width of the parent */
  max-width: 900px; /* Constrain width to center text content */
  margin: 0 auto; /* Center the text content wrapper */
  z-index: 1; /* Bring text wrapper above animation */
  padding: 0 2rem; /* Add padding for content inside */
}

.hero-content-text {
  flex-shrink: 1;
  flex-basis: 50%; 
  text-align: center; /* Center the text content */
  padding-left: 0; 
}

.hero-dog-animation1 {
  position: absolute; /* Position the dog animation absolutely */
  right: -8rem; /* Move even more to the right edge */
  top: 50%; /* Vertically center */
  transform: translateY(-50%); /* Adjust for vertical centering */
  z-index: 2; /* Ensure dog is above text for overlap */
  width: 300px; 
  height: 300px; 
}
/* Base styles for hero-dog-animation2 */
/* Adjust the positioning of hero-dog-animation2 */
.hero-dog-animation2 {
  position: absolute;
  left: 0rem; /* Adjust as needed */
  bottom: 0; /* Position at the bottom of the parent container */
  transform: translateY(0); /* Remove any vertical transform */
  z-index: 2;
  width: 300px;
  height: 300px;
}

/* Media query for mobile devices */
@media (max-width: 768px) {
  .hero-section {
    padding: 4rem 1rem; /* Adjust padding for mobile */
  }

  .hero-dog-animation2 {
    position: relative; /* Change to static positioning for mobile */
    transform: none; /* Remove any transforms */
    width: 250px; /* Adjust width as needed */
    height: 250px; /* Adjust height as needed */
    margin: 0 auto; /* Center the animation */
     
  }
}

/* Further adjustments for very small screens */
@media (max-width: 500px) {
  .hero-dog-animation2 {
    width: 200px; /* Further adjust width as needed */
    height: 200px; /* Further adjust height as needed */
  display: absolute;
  }
}
.hero-title {
  font-size: 3.2rem; 
  font-weight: 800;
  margin-bottom: 0.8rem; 
  line-height: 1.2;
  letter-spacing: -1px;
  text-align: center; /* Ensure title is centered */
}

.hero-subtitle {
  font-size: 1.1rem; 
  margin-bottom: 2rem; 
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto; /* Center subtitle within its flex item */
  margin-right: auto; /* Center subtitle within its flex item */
  padding: 0; 
  text-align: center; /* Ensure subtitle is centered */
}

/* Search Form Wrapper */
.search-form-wrapper {
  z-index: 1001; 
  max-width: 900px; /* Limit width on larger screens to align with hero-container */
  width: 100%; /* Ensure it takes full width up to max-width */
  margin: 2rem auto; 
  min-height: auto; 
  display: flex;
  align-items: center;
  padding: 0; /* Remove padding from wrapper, search-form has its own padding */
  box-sizing: border-box;
}


@media (max-width: 768px) {
  .hero-dog-animation1 {
    
  }
 }




/* Search Form */
.search-form {
  background: var(--white);
  border-radius: 16px;
  padding: 1.5rem; 
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); 
  width: 100%; /* Ensure it fills its parent */
  margin: 0; 
  position: static; 
  top: unset;
  z-index: unset;
  display: flex; 
  flex-direction: column; 
  gap: 1rem; 
  box-sizing: border-box;

}
/* REMOVE - General Form Element Styles from Figma */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="number"],
select,
textarea {
  /* Removed general styles */
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary-purple);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(143, 158, 115, 0.1);
}

select {
  /* Removed general select styles */
}

/* REMOVE - Social Buttons */
.social-button {
  display: none; /* Remove social buttons */
}

.social-button img {
  display: none;
}

.social-button.apple {
  display: none;
}

.social-button.facebook {
  display: none;
}

.social-button.google {
  display: none;
}

.social-button:hover {
  /* Removed hover styles */
}

/* REMOVE - Primary Button */
.button.primary.save-button {
  display: none; /* Remove save button */
}

.button.primary.save-button:hover {
  /* Removed hover styles */
}


.search-row {
  display: flex;
  gap: 0.75rem; /* Reduced gap */
  margin-bottom: 0; /* Remove margin-bottom as parent has gap */
  align-items: flex-end;
  flex-wrap: wrap; /* Allow items to wrap on smaller screens */
  justify-content: space-between;
}

.search-field {
  flex: 1; /* Allow flex item to grow and shrink, simplifying distribution */
  min-width: 150px; /* Reduced minimum width */
  margin-bottom: 0; /* Remove margin-bottom as parent has gap */
  position: relative; /* Add this line to make it a positioning context */
}

.search-field label {
  font-size: 0.9rem; /* Reduced font size */
  margin-bottom: 0.3rem; /* Reduced margin */
  display: block;
  color: var(--text-dark);
  font-weight: 500;
}

.search-field input,
.search-field select {
  width: 100%;
  padding: 0.75rem; /* Reduced padding */
  height: 2.5rem; /* Reduced height */
  border: 1px solid var(--medium-gray);
  border-radius: 10px;
  font-size: 1rem; /* Reduced font size */
  transition: all 0.3s ease;
  background: var(--white);
  appearance: none;
  -webkit-appearance: none;
  box-sizing: border-box; /* Include padding in the element's total width and height */
}

.search-field input:focus,
.search-field select:focus {
  outline: none;
  border-color: var(--primary-purple);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(143, 158, 115, 0.1);
}

/* Date input specific styles - Keep if needed for other date inputs */
.search-field input[type="date"]::-webkit-datetime-edit-fields-wrapper {
  padding: 0;
}

.search-field input[type="date"]::-webkit-datetime-edit-month-field,
.search-field input[type="date"]::-webkit-datetime-edit-day-field,
.search-field input[type="date"]::-webkit-datetime-edit-year-field {
  padding: 0;
}

.search-field input[type="date"]::-webkit-inner-spin-button {
  display: none;
}

.search-field input[type="date"]::-webkit-calendar-picker-indicator {
  /* Removed opacity: 0 and width: 100% to show default calendar icon */
  /* Removed cursor: pointer to revert default behavior */
}

.search-button {
  background: var(--gradient-purple);
  color: var(--white);
  border: none;
  padding: 1rem 2rem; /* Reduced padding */
  height: 3rem; /* Reduced height */
  border-radius: 10px;
  font-size: 1.1rem; /* Reduced font size */
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: auto;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-sizing: border-box; /* Include padding in the element's total width and height */
}

.search-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(143, 158, 115, 0.2); /* Adjusted shadow to new color */
}

.service-type-toggle {
  display: flex;
  justify-content: center;
  gap: 0.8rem; /* Reduced gap */
  margin-bottom: 0; /* Remove margin-bottom as parent has gap */
  padding: 0.5rem 0.8rem; /* Adjusted padding */
  border-radius: 25px;
  background: var(--light-gray);
  flex-wrap: wrap; /* Allow items to wrap on smaller screens */
  box-sizing: border-box; /* Include padding in the element's total width and height */
}

.service-type-toggle label {
  display: flex; /* Ensure flex container */
  align-items: center; /* Center items vertically */
  gap: 0.5rem; /* Reduced gap */
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  padding: 0.5rem 0.8rem; /* Adjusted padding */
  border-radius: 15px;
  transition: all 0.2s ease;
  box-sizing: border-box; /* Include padding in the element's total width and height */
}

.service-type-toggle label span {
  font-size: 0.95rem; /* Slightly reduced font-size */
}

.service-type-toggle input[type="radio"] {
  appearance: none;
  width: 20px; /* Increased size */
  height: 20px; /* Increased size */
  border: 76 solid var(--primary-purple); /* Changed to primary color */
  border-radius: 50%;
  position: relative; /* Keep relative position */
  cursor: pointer;
  transition: all 0.2s ease;
  box-sizing: border-box; /* Include padding in the element's total width and height */
  margin: 0; /* Remove default margin */
  padding: 0; /* Remove default padding */
}

.service-type-toggle input[type="radio"]:checked {
  background-color: var(--primary-purple); /* Changed to primary color */
  border-color: var(--primary-purple); /* Changed to primary color */
}

.service-type-toggle input[type="radio"]:checked::after {
  content: '';
  width: 10px;
  height: 10px;
  background: var(--white);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.date-selection-tabs {
  display: none; /* Removed as per user request */
}

.date-tab {
  display: none; /* Removed as per user request */
}

.service-tabs-heading {
  text-align: center;
  margin-bottom: 1rem;
  font-size: 1.2rem;
  color: var(--text-dark);
}

.service-tabs-container {
  margin-bottom: 0; /* Remove margin-bottom as parent has gap */
}

.service-tabs {
  display: flex;
  justify-content: center;
  gap: 0.8rem; /* Reduced gap */
  margin-bottom: 0; /* Remove margin-bottom as parent has gap */
  flex-wrap: wrap; /* Allow wrapping for service tabs */
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 5px;
}

.service-tab {
  background: var(--light-gray);
  border: 1px solid var(--medium-gray);
  color: var(--text-dark);
  padding: 0.6rem 1rem; /* Reduced padding */
  height: 2.5rem; /* Reduced height */
  border-radius: 25px;
  font-size: 1rem; /* Reduced font size */
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.service-tab.active,
.service-tab:hover {
  background: var(--primary-purple); /* Changed to primary color */
  color: var(--white);
  border-color: var(--primary-purple); /* Changed to primary color */
  box-shadow: 0 4px 10px rgba(143, 158, 115, 0.2); /* Adjusted shadow to new color */
}

.search-field.large {
  flex: 2; /* Keep large field larger */
  min-width: 180px; /* Adjusted minimum width */
}

.how-many-pets {
  margin-bottom: 0; /* Remove margin-bottom as parent has gap */
}

.how-many-pets label {
  font-size: 0.9rem; /* Reduced font size */
  margin-bottom: 0.3rem; /* Reduced margin */
  display: block;
  color: var(--text-dark);
  font-weight: 500;
}

.how-many-pets select {
  width: 100%;
  padding: 0.75rem;
  height: 2.5rem;
  border: 1px solid var(--medium-gray);
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: var(--white);
}

.pet-size-row {
  display: flex;
  flex-direction: row;
  gap: 0.8rem; /* Reduced gap */
  margin-bottom: 0; /* Remove margin-bottom as parent has gap */
  align-items: center;
  flex-wrap: wrap;
}

.pet-size-row > label {
  font-weight: 500;
  color: var(--text-dark);
  font-size: 0.9rem; /* Reduced font size */
  margin-bottom: 0;
}

.pet-size-options {
  display: flex;
  gap: 0.8rem; /* Reduced gap */
  flex-wrap: wrap; /* Allow wrapping for pet size options */
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 3px;
}

.pet-size-options label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  height: 2.5rem;
  border: 1px solid var(--medium-gray);
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  color: var(--dark-gray);
  font-size: 1rem; /* Reduced font size */
  flex-shrink: 0;
}

.pet-size-options input[type="radio"] {
  appearance: none;
  width: 16px;
  height: 16px;
  border: 76 solid var(--primary-purple); /* Changed to primary color */
  border-radius: 50%;
  position: relative;
  cursor: pointer;
}

.pet-size-options input[type="radio"]:checked {
  background-color: var(--primary-purple); /* Changed to primary color */
  border-color: var(--primary-purple); /* Changed to primary color */
}

.pet-size-options input[type="radio"]:checked::after {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--white);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.dog-training-promo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem; /* Reduced gap */
  font-size: 0.9rem; /* Reduced font size */
  color: var(--dark-gray);
  margin-top: 0; /* Remove margin-top as parent has gap */
}

.dog-training-promo span {
  font-weight: 600;
  color: var(--text-dark);
}

.start-free-trial {
  color: var(--primary-purple); /* Changed to primary color */
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
  font-size: 0.95rem;
}

.start-free-trial:hover {
  color: var(--dark-purple); /* Changed to dark primary color */
}

/* Services Overview Section */
.services-overview {
  display: block;
  padding: 6rem 2rem;
  background: var(--light-gray);
  text-align: center;
  margin-top: 6rem;
}

.services-overview .section-title {
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--dark-purple);
  margin-bottom: 3.5rem;
  text-align: center;
}

.services-grid-small {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;
}

.service-item {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center; /* Centered content including image */
  gap: 0.75rem;
  transition: all 0.3s ease; /* Add transition for hover effects */
  cursor: pointer; /* Indicate interactivity */
}

.service-item:hover {
  transform: translateY(-5px) scale(1.03); /* Lift and slightly grow on hover */
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15); /* Enhanced shadow on hover */
}

.service-icon {
  width: 100px; /* Make image bigger */
  height: 100px; /* Make image bigger */
  border-radius: 50%; /* Make image circular */
  object-fit: cover; /* Ensure image covers the circle */
  margin-bottom: 1rem;
  transition: transform 0.3s ease; /* Transition for image scale */
}

.service-item:hover .service-icon {
  transform: scale(1.1); /* Slightly enlarge image on hover */
}

.service-item h3 {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--dark-purple); /* Changed to dark primary color */
}

.service-item p {
  font-size: 1rem;
  color: var(--dark-gray);
  line-height: 1.6;
}

/* Velvet Leash Co. Protect Section */
.rover-protect-section {
  display: block;
  padding: 6rem 2rem;
  background: var(--white);
}

.rover-protect-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.rover-protect-content {
  text-align: left;
}

.rover-protect-content .section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dark-purple);
  margin-bottom: 1rem;
  text-align: left;
}

.rover-protect-content h3 {
  font-size: 2.25rem;
  font-weight: 600;
  color: var(--dark-purple);
  margin-bottom: 2rem;
}

.rover-protect-content ul {
  list-style: none;
  margin-bottom: 2rem;
  padding-left: 0;
}

.rover-protect-content ul li {
  color: var(--dark-gray);
  margin-bottom: 0.75rem;
  line-height: 1.6;
  position: relative;
  padding-left: 2.5rem;
}

.rover-protect-content ul li::before {
  content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%238f9e73" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>');
  position: absolute;
  left: 0;
  top: 0.2em;
  transform: translateY(-50%);
  font-size: 1.25rem;
}

.rover-protect-content ul li a {
  color: var(--primary-purple);
  text-decoration: underline;
}

.rover-protect-content .button {
  display: flex; /* Changed to flex to align content */
  align-items: center; /* Vertically center content */
  justify-content: center; /* Horizontally center content */
  padding: 1rem 2rem; /* Adjusted padding for better proportion */
  min-height: 3rem; /* Ensure consistent height */
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-right: 1rem; /* Reduced margin between buttons */
  /* text-align: center; -- Removed as flexbox handles centering */
  box-sizing: border-box; /* Include padding in sizing */
}

.rover-protect-content .button.primary {
  background: var(--gradient-purple);
  color: var(--white);
}

.rover-protect-content .button.primary:hover {
  transform: translateY(-76);
  box-shadow: 0 8px 20px rgba(143, 158, 115, 0.3);
}

.rover-protect-content .button.secondary {
  background: var(--white);
  color: var(--primary-purple);
  border: 76 solid var(--primary-purple);
}

.rover-protect-content .button.secondary:hover {
  background: var(--primary-purple);
  color: var(--white);
}

.rover-protect-content .disclaimer {
  font-size: 0.85rem;
  color: var(--dark-gray);
  margin-top: 1.75rem;
  line-height: 1.5;
}

.rover-protect-image img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Testimonials Section */
.testimonials-section {
  display: block; /* Re-enable this section */
  padding: 6rem 2rem; /* Ensure consistent padding on all screens */
  background: var(--light-gray); /* Changed to light background */
  margin-top: 6rem;
}

.testimonials-section .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial-card {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  padding: 1.75rem;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  text-align: left;
  gap: 1.25rem;
}

.testimonial-image {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 0;
  border: 76 solid var(--primary-purple); /* Changed to primary color */
  flex-shrink: 0;
}

.testimonial-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.testimonial-text {
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
  line-height: 1.7;
  font-style: italic;
}

.testimonial-author {
  font-weight: 600;
  color: var(--dark-purple); /* Changed to dark primary color */
  font-size: 0.9rem;
}

/* How It Works Section */
.how-it-works-section {
  display: block;
  padding: 6rem 2rem;
  background: var(--white);
  text-align: center;
}

.how-it-works-section .section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dark-purple);
  margin-bottom: 3rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;
}

.step-item {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid var(--medium-gray);
  transition: all 0.3s ease; /* Add transition for hover effects */
  cursor: pointer; /* Indicate interactivity */
}

.step-item:hover {
  transform: translateY(-5px) scale(1.03); /* Lift and slightly grow on hover */
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15); /* Enhanced shadow on hover */
}

.step-icon {
  width: 100px; /* Make image bigger */
  height: 100px; /* Make image bigger */
  border-radius: 50%; /* Make image circular */
  object-fit: cover; /* Ensure image covers the circle */
  margin-bottom: 1rem;
  transition: transform 0.3s ease; /* Transition for image scale */
}

.step-item:hover .step-icon {
  transform: scale(1.1); /* Slightly enlarge image on hover */
}

.step-item h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--dark-purple); /* Changed to dark primary color */
  margin-bottom: 0.75rem;
}

.step-item p {
  font-size: 1rem;
  color: var(--dark-gray);
  line-height: 1.6;
}

/* App Download Section */
.app-download-section {
  display: block; /* Re-enable this section */
  padding: 6rem 2rem; /* Ensure consistent padding on all screens */
  background: var(--light-gray); /* Changed to light background */
  text-align: center;
  position: relative;
  overflow: hidden;
}

.app-download-section .section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dark-purple); /* Changed to dark primary color */
  margin-bottom: 2.5rem;
}

.app-stores {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.app-store-badge img {
  height: 52px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.app-store-badge img:hover {
  transform: translateY(-5px);
}

.phone-mockups {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
  position: relative;
  height: 400px; /* Reduced height */
}

.phone-mockup-left {
  height: 400px; /* Reduced height */
  width: auto;
  object-fit: contain;
  transform: rotate(-5deg);
  transition: transform 0.3s ease;
}

.phone-mockup-right {
  height: 400px; /* Reduced height */
  width: auto;
  object-fit: contain;
  transform: rotate(5deg);
  transition: transform 0.3s ease;
}

.phone-mockup-left:hover,
.phone-mockup-right:hover {
  transform: rotate(0deg) scale(1.05);
}

/* States Section */
.states-section,
.world-section {
  display: block; /* Re-enable this section */
  padding: 6rem 2rem; /* Ensure consistent padding on all screens */
  background: var(--primary-purple); /* Changed to primary color */
  color: var(--white);
  text-align: center;
}

.states-section .section-title,
.world-section .section-title {
  font-size: 2.75rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: var(--white);
}

.states-section .section-title span,
.world-section .section-title span {
  font-size: 0.9em;
  vertical-align: middle;
  margin-left: 0.75rem;
}

.states-grid,
.countries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;
}

.states-grid ul,
.countries-grid ul {
  list-style: none;
  margin-bottom: 0rem;
}

.states-grid li,
.countries-grid li {
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
  opacity: 0.5; /* Make them appear disabled */
  cursor: default; /* Indicate non-interactivity */
}

.states-grid li a,
.countries-grid li a {
  color: var(--white); /* Ensure link text is white */
  text-decoration: none; /* Remove underline */
}

.states-grid li:hover,
.countries-grid li:hover {
  opacity: 0.5; /* No change on hover for general items */
  color: var(--dark-gray); /* Keep color grey on hover */
}

/* Apply this class to the North Carolina list item in your HTML to make it active */
.states-grid li.nc-active,
.countries-grid li.nc-active {
  opacity: 0.95; /* Restore original opacity */
  cursor: pointer; /* Restore pointer for interactivity */
}

.states-grid li.nc-active a,
.countries-grid li.nc-active a {
  color: var(--white); /* Ensure link text is white for active */
}

.states-grid li.nc-active:hover,
.countries-grid li.nc-active:hover {
  opacity: 1; /* Restore hover opacity */
  color: var(--light-purple); /* Restore hover color */
}

/* Responsive adjustments for new sections */
@media (max-width: 1024px) {
  .rover-protect-section .container {
    grid-template-columns: 1fr;
    text-align: center;
    max-width: 100%; /* Ensure full width on tablets */
  }

  .hero-container {
    max-width: 100%; /* Ensure full width on tablets */
  }

  .services-grid-small,
  .testimonials-section .container,
  .steps-grid,
  .states-grid,
  .countries-grid,
  .footer-container {
    max-width: 100%; /* Ensure full width for grids and containers on tablets */
  }

  .rover-protect-image {
    order: -1;
    margin-bottom: 2rem;
  }

  .rover-protect-content .section-title,
  .rover-protect-content h3 {
    text-align: center;
  }

  .rover-protect-content ul {
    padding-left: 0;
  }

  .rover-protect-content ul li {
    text-align: left;
  }

  .rover-protect-content .button {
    display: block; /* Stack buttons on smaller screens */
    width: 100%; /* Full width */
    margin-right: 0; /* Remove horizontal margin when stacked */
    margin-bottom: 1rem; /* Add vertical space between stacked buttons */
  }

  .rover-protect-content .button:last-child {
    margin-bottom: 0; /* No margin after the last button */
  }
}

@media (max-width: 768px) {
  .site-content, 
  #page, 
  #content {
    padding: 0 1rem; 
  }

  .hero-container {
    padding: 0 1rem; 
    max-width: 100%; 
  }

  .search-form-wrapper {
    padding: 0 1rem; 
  }

  .services-overview, 
  .rover-protect-section, 
  .testimonials-section, 
  .how-it-works-section, 
  .app-download-section, 
  .states-section, 
  .world-section {
    padding: 4rem 1rem; 
  }

  .site-footer {
    padding: 2rem 1rem; 
  }

  .services-grid-small,
  .rover-protect-section .container,
  .testimonials-section .container,
  .steps-grid,
  .states-grid,
  .countries-grid,
  .footer-container {
    max-width: 100%; 
  }

  .search-row {
    flex-direction: column; /* Force vertical stacking on tablets and smaller */
    align-items: stretch; /* Make items stretch to full width */
    gap: 0.75rem; /* Add vertical spacing */
  }

  .pet-size-row {
    flex-direction: column; /* Force vertical stacking on tablets and smaller */
    align-items: stretch; /* Make items stretch to full width */
    gap: 0.75rem; /* Add vertical spacing */
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .service-tabs {
    flex-direction: column;
    gap: 0.5rem;
  }

  .service-tab {
    width: 100%;
  }

  .services-overview .section-title {
    font-size: 2rem;
  }

  .rover-protect-content .button {
    padding: 0.8rem 1.5rem; /* Further adjust padding for smaller mobile */
    min-height: 2.8rem; /* Maintain height */
  }

  .testimonials-section .container {
    grid-template-columns: 1fr;
  }

  .testimonial-image {
    width: 60px;
    height: 60px;
  }

  .testimonial-card {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .app-stores {
    flex-direction: column;
    align-items: center;
  }

  .phone-mockups {
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
  }

  .phone-mockup-left,
  .phone-mockup-right {
    transform: none;
    width: 180px;
  }

  .states-section .section-title,
  .world-section .section-title {
    font-size: 2rem;
  }

  .states-grid,
  .countries-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
  }
}

/* Media query for very small screens (e.g., 500px) */
@media (max-width: 500px) {
  .site-content, 
  #page, 
  #content {
    padding: 0 0.5rem; 
  }

  .hero-container {
    padding: 0 0.5rem; 
    max-width: 100%; /* Ensure full width on very small screens */
  }

  .search-form-wrapper {
    padding: 0 0.5rem; 
  }

  .services-overview, 
  .rover-protect-section, 
  .testimonials-section, 
  .how-it-works-section, 
  .app-download-section, 
  .states-section, 
  .world-section {
    padding: 3rem 0.5rem; 
  }

  .site-footer {
    padding: 1.5rem 0.5rem; 
  }

  .services-grid-small,
  .rover-protect-section .container,
  .testimonials-section .container,
  .steps-grid,
  .states-grid,
  .countries-grid,
  .footer-container {
    max-width: 100%; /* Ensure full width for grids and containers on very small screens */
  }

  .search-form {
    padding: 1.2rem; /* Further reduced padding for very small screens */
  }

  .search-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .search-field {
    min-width: unset;
  }



  
  .search-field input,
  .search-field select {
    height: 2.5rem;
    font-size: 1rem;
  }

  .search-button {
    padding: 0.8rem 1.5rem;
    height: 2.8rem;
    font-size: 1rem;
  }

  .service-type-toggle {
    padding: 0.5rem 0.8rem;
    gap: 0.6rem;
  }

  .service-type-toggle label {
    padding: 0.5rem 0.8rem;
    font-size: 0.9rem;
  }

  .date-selection-tabs {
    padding: 0.5rem;
  }

  .date-tab {
    padding: 0.5rem 0.8rem;
    font-size: 0.9rem;
  }

  .service-tabs {
    gap: 0.6rem;
  }

  .service-tab {
    padding: 0.5rem 0.8rem;
    height: 2.2rem;
    font-size: 0.9rem;
  }

  .how-many-pets select {
    height: 2.5rem;
    font-size: 1rem;
  }

  .pet-size-options label {
    padding: 0.5rem 0.8rem;
    height: 2.2rem;
    font-size: 0.9rem;
  }

  .dog-training-promo {
    font-size: 0.85rem;
    gap: 0.6rem;
  }

  .dog-training-promo span,
  .start-free-trial {
    font-size: 0.9rem;
  }
}

.trademark {
  vertical-align: super;
  font-size: 0.6em;
}

/* Footer Styles */
.site-footer {
  background: var(--white);
  color: var(--text-dark);
  padding: 4rem 2rem; /* Ensure consistent padding on all screens */
  font-size: 0.9rem;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto 3rem auto;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-column h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  color: var(--primary-purple); /* Changed to primary color */
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 0.75rem;
}

.footer-column ul li a {
  color: var(--dark-gray);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  color: var(--primary-purple); /* Changed to primary color */
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.newsletter-form input[type="email"] {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--medium-gray);
  background: var(--light-gray);
  color: var(--text-dark);
  font-size: 0.9rem;
}

.newsletter-form input[type="email"]::placeholder {
  color: var(--dark-gray);
}

.newsletter-form button {
  background: var(--primary-purple); /* Changed to primary color */
  color: var(--white);
  border: none;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.newsletter-form button:hover {
  background: var(--dark-purple); /* Changed to dark primary color */
}

.newsletter-disclaimer {
  font-size: 0.75rem;
  color: var(--dark-gray);
  line-height: 1.5;
  margin-top: 0.75rem;
}

.newsletter-disclaimer a {
  color: var(--primary-purple); /* Changed to primary color */
  text-decoration: underline;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  flex-wrap: wrap;
}

.footer-social {
  display: flex;
  gap: 1.25rem;
}

.footer-social img {
  width: 24px;
  height: 24px;
  filter: invert(30%) sepia(80%) saturate(2000%) hue-rotate(50deg) brightness(80%); /* Adjusted filter for green */
  opacity: 0.8;
  transition: opacity 0.3s ease, filter 0.3s ease;
}

.footer-social img:hover {
  filter: invert(20%) sepia(90%) saturate(3000%) hue-rotate(60deg) brightness(70%); /* Adjusted filter for green */
  opacity: 1;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--dark-gray);
  margin-top: 0.5rem;
}

@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-column h3 {
    margin-top: 1.5rem;
  }

  .newsletter-form {
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    padding-top: 2rem;
  }

  .footer-social {
    margin-bottom: 1rem;
  }
}

/* Pet Photo Upload Section Styles */
.pet-photo-upload-section {
    margin-bottom: 1.5rem;
    text-align: left;
}

.pet-photo-upload-section label {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: block;
    color: var(--text-dark);
    font-weight: 500;
    text-align: left;
}

.pet-photo-upload-container {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.pet-photo-upload-box {
    width: 120px;
    height: 120px;
    border: 76 dashed var(--medium-gray);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--white);
    flex-shrink: 0;
}

.pet-photo-upload-box:hover {
    border-color: var(--primary-purple);
    background: var(--light-gray);
}

.upload-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--dark-gray);
    text-align: center;
    padding: 0.5rem;
}

.upload-placeholder svg {
    width: 32px;
    height: 32px;
    color: var(--primary-purple);
}

.upload-placeholder span {
    font-size: 0.8rem;
    text-align: center;
    max-width: 100px;
}

.pet-photo-preview {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.pet-photo-preview-item {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}

.pet-photo-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pet-photo-preview-item .remove-photo {
    position: absolute;
    top: 0.25rem;
    right: 0.25rem;
    width: 24px;
    height: 24px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.pet-photo-preview-item .remove-photo:hover {
    background: rgba(0, 0, 0, 0.7);
}

.upload-hint {
    font-size: 0.8rem;
    color: var(--dark-gray);
    margin-top: 0.5rem;
    text-align: left;
}

/* Responsive adjustments for pet photo upload */
@media (max-width: 768px) {
    .pet-photo-upload-container {
        justify-content: flex-start;
    }
    
    .pet-photo-preview {
        justify-content: flex-start;
    }
}

/* Address Suggestions Styles */
.address-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border: 1px solid var(--medium-gray);
    border-radius: 0 0 10px 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    max-height: 200px;
    overflow-y: auto;
    display: none;
}

.address-suggestions.active {
    display: block;
}

.address-suggestion-item {
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid var(--medium-gray);
}

.address-suggestion-item:last-child {
    border-bottom: none;
}

.address-suggestion-item:hover {
    background: var(--light-gray);
}

.address-suggestion-item .main-text {
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.address-suggestion-item .secondary-text {
    font-size: 0.8rem;
    color: var(--dark-gray);
}

.search-field.large {
    position: relative;
}

/* Loading indicator for address suggestions */
.address-suggestions.loading::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    border: 76 solid var(--medium-gray);
    border-top-color: var(--primary-purple);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Responsive adjustments for address and zip code suggestions */
@media (max-width: 768px) {
    .address-suggestions {
        /* The default left: 0; right: 0; will make it fill the parent .search-field */
        /* Max-height: 200px; and overflow-y: auto; are generally good for tablets/smaller desktops */
    }
}

@media (max-width: 500px) {
    .address-suggestions {
        max-height: 180px; /* Slightly reduce max-height on very small screens */
    }

    .address-suggestion-item {
        padding: 0.6rem 0.8rem; /* Slightly reduce padding on very small screens */
    }
}

/* Responsive adjustments for hero section with animation */
@media (max-width: 768px) {
  .hero-content-text-wrapper {
    padding: 0 1rem; /* Adjust padding for mobile view */
  }

  .hero-content-text {
    text-align: center; 
  }

  .hero-dog-animation1 {
    position: relative; /* Revert to static for mobile flow */
    transform: none; /* Remove transform on mobile */
    width: 250px !important; 
    height: 250px !important; 
    margin: 0 auto; /* Center dog animation when static */
     /* Ensure it takes its own line */
     margin-right: 60px;
  }

  .hero-title,
  .hero-subtitle {
    text-align: center; 
    padding: 0;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 500px) {
  .hero-dog-animation1 {
    width: 200px !important; 
    height: 200px !important; 
    display: absolute;
  }
}

/* Styles for Coming Soon Page */
.coming-soon-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 90px - 64px); /* Adjust height for header and footer */
    text-align: center;
    padding: 2rem;
    background: var(--light-gray); /* Match theme background */
    color: var(--text-dark);
}

.coming-soon-section .container {
    max-width: 800px;
    padding: 3rem 2rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.coming-soon-section .section-title {
    font-size: 3.5rem; /* Make title larger */
    font-weight: 800;
    color: var(--primary-purple); /* Use primary theme color */
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.coming-soon-message {
    font-size: 1.5rem; /* Make message larger */
    line-height: 1.6;
    color: var(--text-dark);
    margin-bottom: 2.5rem;
}

.coming-soon-section .button.primary {
    display: inline-block; /* Ensure button is not full width and can be centered */
    margin: 0 auto; /* Center the button */
    padding: 1rem 2rem; /* Consistent button padding */
    font-size: 1.1rem; /* Consistent button font size */
}

/* Responsive adjustments for coming soon page */
@media (max-width: 768px) {
    .coming-soon-section {
        min-height: calc(100vh - 46px - 64px); /* Adjust for mobile header */
        padding: 1rem;
    }

    .coming-soon-section .container {
        padding: 2rem 1.5rem;
    }

    .coming-soon-section .section-title {
        font-size: 2.5rem;
    }

    .coming-soon-message {
        font-size: 1.2rem;
    }

    .coming-soon-section .button.primary {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

/* Styles for Help Center Page */
.help-center-section {
    padding: 6rem 2rem;
    background: var(--light-gray);
    text-align: center;
}

.help-center-section .section-title {
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--dark-purple);
    margin-bottom: 3.5rem;
}

.help-center-section .intro-text {
    font-size: 1.1rem;
    color: var(--text-dark);
    max-width: 800px;
    margin: 0 auto 3rem auto;
    line-height: 1.6;
}

.help-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto 3rem auto;
}

.help-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: all 0.3s ease;
}

.help-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.help-card h3 {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--dark-purple);
    margin-bottom: 1rem;
}

.help-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
}

.help-card ul li {
    margin-bottom: 0.75rem;
}

.help-card ul li a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 400;
}

.help-card ul li a:hover {
    color: var(--primary-purple);
}

.help-card .button.secondary {
    margin-top: 1.5rem;
    align-self: flex-start;
}

.help-center-section .browse-faq-text {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-top: 2rem;
}

.help-center-section .browse-faq-text a {
    color: var(--primary-purple);
    text-decoration: underline;
    font-weight: 600;
}

.help-center-section .browse-faq-text a:hover {
    color: var(--dark-purple);
}

/* Styles for FAQ Page */
.faq-section {
    padding: 6rem 2rem;
    background: var(--white);
    text-align: center;
}

.faq-section .section-title {
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--dark-purple);
    margin-bottom: 3.5rem;
}

.faq-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.faq-item {
    background: var(--light-gray);
    border-radius: 8px;
    margin-bottom: 1.25rem;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--medium-gray);
}

.faq-item:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.faq-question {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-purple);
    padding: 1.25rem 2rem;
    cursor: pointer;
    position: relative;
    transition: background 0.3s ease;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary-purple);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    content: '-';
    transform: rotate(180deg);
}

.faq-answer {
    font-size: 1rem;
    color: var(--text-dark);
    padding: 0 2rem 1.25rem 2rem;
    line-height: 1.6;
    display: none; /* Hidden by default, will be shown with JavaScript */
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-section .contact-faq-text {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-top: 3rem;
    text-align: center;
}

.faq-section .contact-faq-text a {
    color: var(--primary-purple);
    text-decoration: underline;
    font-weight: 600;
}

.faq-section .contact-faq-text a:hover {
    color: var(--dark-purple);
}

/* Responsive adjustments for Help Center and FAQ pages */
@media (max-width: 768px) {
    .help-center-section, .faq-section {
        padding: 4rem 1rem;
    }

    .help-center-section .section-title, .faq-section .section-title {
        font-size: 2rem;
        margin-bottom: 2.5rem;
    }

    .help-center-section .intro-text {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .help-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .help-card {
        padding: 1.5rem;
    }

    .help-card h3 {
        font-size: 1.2rem;
    }

    .help-card ul li a {
        font-size: 0.95rem;
    }

    .help-center-section .browse-faq-text {
        font-size: 1rem;
    }

    .faq-question {
        font-size: 1.1rem;
        padding: 1rem 1.5rem;
    }

    .faq-answer {
        font-size: 0.95rem;
        padding: 0 1.5rem 1rem 1.5rem;
    }

    .faq-section .contact-faq-text {
        font-size: 1rem;
        margin-top: 2rem;
    }
}

/* Help Center Sub Page Styles */
.help-center-sub-section {
    padding: 4rem 0;
}

.help-center-breadcrumb {
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.help-center-breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

.help-center-breadcrumb a:hover {
    text-decoration: underline;
}

.help-center-content {
    max-width: 800px;
    margin: 0 auto;
}

.help-center-main-content {
    margin: 2rem 0;
    line-height: 1.6;
}

.help-center-navigation {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.back-to-help {
    display: inline-block;
}

.back-to-help .button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background-color: var(--secondary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.back-to-help .button:hover {
    background-color: var(--primary-color);
}

/* Thank You Page Styles */
.thank-you-section {
    padding: 60px 0;
    text-align: center;
}

.thank-you-message {
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.success-message {
    margin: 20px 0;
    padding: 15px;
    background-color: #e8f5e9;
    border-left: 4px solid #4caf50;
    text-align: left;
}

.return-home {
    margin-top: 30px;
}
