@media (max-width: 600px) {
  .category-icon svg { 
    width: 30px; 
    height: 30px; 
  }
  .category-description {
    grid-area: desc;
    text-align: left;
    font-size: 0.85rem;
  }
  .category-link {
    grid-area: link;
    margin-top: 0.25rem;
  }
}

.category-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--card-color);
  margin-top: 0.5rem;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 2;
}

.category-card:hover .category-link {
  opacity: 1;
  transform: translateY(0);
}

.category-description {
  font-size: 0.85rem;
  color: #64748b;
  margin: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: 2;
  line-height: 1.5;
  text-align: center;
}

.category-card:hover .category-description {
  max-height: 120px;
  opacity: 1;
  margin-top: 0.5rem;
}

/* Map Section */
.map-section {
  padding: 5rem 0;
}

.map-card {
  display: flex;
  flex-direction: column;
  background: white;
  border-radius: 2.5rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

@media (min-width: 1024px) {
  .map-card {
    flex-direction: row;
    min-height: 500px;
  }
}

.map-info {
  padding: 3.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

@media (max-width: 767px) {
  .map-info {
    padding: 2rem;
  }
  .map-info h2 {
    font-size: 2rem;
  }
  .address-text {
    font-size: 1rem;
  }
}

.map-info h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 1.5rem;
}

.address-text {
  font-size: 1.15rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

.directions-btn {

  align-self: flex-start;
  background: var(--primary-color);
  color: white;
  padding: 1.25rem 2rem;
  border-radius: 1rem;
  text-decoration: none;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px color-mix(in srgb, var(--primary-color), transparent 80%);
}

 

@media (max-width: 767px) {
  .directions-btn {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
  }
  
  .directions-btn span {
    width: 100%;
  }
}

.directions-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px color-mix(in srgb, var(--primary-color), transparent 70%);
  filter: brightness(1.1);
}

.map-container {
  flex: 1.5;
  min-height: 350px;
  position: relative;
}

@media (min-width: 1024px) {
  .map-container {
    min-height: 600px;
  }
}
.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.2) contrast(1.1);
}

.schedule-container {
  margin-bottom: 2rem;
}

.schedule-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.schedule-items {
  list-style: none;
  padding: 0;
  margin: 0;
}

.schedule-items li {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  font-size: 0.95rem;
  color: #64748b;
}

.day-name {
  font-weight: 600;
  color: #334155;
}

/* Services Page Styles */
.services-hero {
  padding: 2rem 0 2rem;
  background: linear-gradient(-45deg, #f8fafc, #f1f5f9, #eff6ff, #f8fafc);
  background-size: 400% 400%;
  animation: meshGradient 15s ease infinite;
  text-align: center;
}

@media (max-width: 767px) {
  .services-hero h1 {
    font-size: 2.5rem;
  }
  .services-hero p {
    font-size: 1rem;
  }
}


.services-hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 1rem;
}

.services-hero p {
  font-size: 1.25rem;
  color: #64748b;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.services-container {
  padding: 6rem 0;
}

.service-category-group {
  margin-bottom: 5rem;
  scroll-margin-top: 100px; /* Offset for fixed header */
}

.category-header {
  max-width: 1200px;
  margin: auto;
  padding-left: 5%;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  gap: 2.5rem; /* Increased gap for more left padding on category name */
  margin-bottom: 2.5rem;
  /*font-size: 16pt;*/
  border-bottom: 2px solid color-mix(in srgb, var(--category-color), transparent 85%);
}

.category-icon-small {
  width: 54px;
  min-width: 54px;
  height: 54px;
  background: color-mix(in srgb, var(--category-color), transparent 92%);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--category-color);
}

.category-icon-small svg {
  width: 28px;
  height: 28px;
}

.services-list {
  display: flex;
  flex-direction: column;
  max-width: 1000px;
  margin: 0 auto;
}

.service-item {
  background: transparent;
  font-size: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  transition: background-color 0.2s ease;
}

.service-item:hover {
  background-color: rgba(0, 0, 0, 0.015);
}

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

.service-info h3 {
  margin: 0;
  font-size: 1.0rem;
  color: dimgray;
}

.service-info p {
  display:none;
  margin: 0.35rem 0 0 0;
  font-size: 0.95rem;
  color: #64748b;
}

.service-price {
  font-weight: 600;
  /*color: var(--category-color);*/
  background: transparent;
  padding: 0;
  font-size: 1.0rem;
  height: fit-content;
  white-space: nowrap;
  text-align: right;
}

.search-container {
  margin-top: -25px;
  margin-bottom: 2rem;
  position: relative;
  z-index: 10;
}

.search-input {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  display: block;
  padding: 1rem 1.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  font-size: 1rem;
  outline: none;
  transition: all 0.3s ease;
}

.search-input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 10px 25px color-mix(in srgb, var(--primary-color), transparent 90%);
}

/* Footer Styles */
.footer {
  background-color: #1e293b;
  color: white;
  padding: 5rem 0 2rem;
  margin-top: 0;
}

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

.footer-brand .site-logo {
  margin-bottom: 1.5rem;
  color: white;
}

.footer-brand p {
  color: #94a3b8;
  line-height: 1.6;
  font-size: 0.95rem;
  max-width: 300px;
}

.footer-socials {
  display: flex;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.social-link {
  color: #94a3b8;
  transition: all 0.3s ease;
}

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

.footer h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: white;
}

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

.footer-dynamic-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-nav a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.footer-contact p {
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.footer-contact a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  color: #64748b;
  font-size: 0.9rem;
}

/* Contact Page Styles */
.contact-hero {
  padding: 2rem 0 4rem;
  text-align: center;
  background: linear-gradient(-45deg, #f8fafc, #f1f5f9, #eff6ff, #f8fafc);
  background-size: 400% 400%;
  animation: meshGradient 15s ease infinite;
}

.contact-hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 1rem;
}

.contact-section {
  padding: 4rem 0 8rem;
}

.contact-form-wrapper {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  padding: 3rem;
  border-radius: 2rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group.full-width {
  grid-column: span 2;
}

@media (max-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-group.full-width {
    grid-column: span 1;
  }
  .contact-form-wrapper {
    padding: 1.5rem;
  }

  .contact-hero h1 {
    font-size: 2rem;
  }
}

.form-group label {
  font-weight: 600;
  font-size: 0.9rem;
  color: #475569;
}

.form-group input,
.form-group textarea {
  padding: 0.8rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary-color), transparent 90%);
}

.submit-btn {
  width: 100%;
  padding: 0.8rem 1.5rem;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 0.75rem;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  line-height: 1.5;
}

.submit-btn:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.secondary-btn {
  width: fit-content;
  padding: 0.8rem 1.5rem;
  background: #f1f5f9;
  color: #475569;
  border: none;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
  line-height: 1.5;
}

.secondary-btn:hover {
  background: #e2e8f0;
  color: #1e293b;
}

.wizard-footer {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  align-items: center;
}

/* Success Message Styling */
.success-state {
  text-align: center;
  padding: 2rem 0;
  animation: fadeUp 0.6s ease forwards;
}

.check-badge {
  width: 80px;
  height: 80px;
  background: #10b981;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  box-shadow: 0 10px 20px rgba(16, 185, 129, 0.2);
}

.wizard-card {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  padding: 3rem;
  border-radius: 2rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

@media (max-width: 767px) {
  .wizard-card {
    padding: 1.5rem;
  }
  .calendar-grid, .calendar-header-days {
    grid-template-columns: repeat(7, 1fr);
  }
  .cal-date { font-size: 1rem; }
  .cal-month { font-size: 0.6rem; }
  .calendar-day { padding: 0.15rem; }
}

.calendar-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 50px);
  gap: 0.25rem;
  margin-bottom: 2rem;
}

.calendar-header-days {
  display: grid;
  grid-template-columns: repeat(7, 50px);
  gap: 0.25rem;
  margin-bottom: 0.5rem;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  padding-bottom: 0.25rem;
}

.calendar-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.15rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.4rem;
  background: white;
  cursor: pointer;
  transition: all 0.2s;
  /* aspect-ratio: 1 / 1; */
}

.calendar-day.disabled {
  background: #f8fafc;
  color: #cbd5e1;
  cursor: not-allowed;
  opacity: 0.6;
  border-color: transparent;
}

.calendar-day:not(.disabled):hover {
  border-color: var(--primary-color);
  background: color-mix(in srgb, var(--primary-color), transparent 95%);
}

.calendar-day.selected {
  background: var(--primary-color) !important;
  color: white !important;
  border-color: var(--primary-color);
}

.calendar-day.selected .cal-dayname,
.calendar-day.selected .cal-month {
  color: white;
}

.cal-month { font-size: 0.7rem; text-transform: uppercase; font-weight: 700; opacity: 0.8; color: gray;}
.cal-date { font-size: 1.4rem; font-weight: 800; color: #575757;}
.cal-dayname { display: none; }

.calendar-padding { 
  pointer-events: none; 
  visibility: hidden;
}

.selected-date-label {
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.loading-state {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 200px;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(0, 0, 0, 0.1);
  border-left-color: var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.slot-btn {
  padding: 1rem;
  border: 1px solid var(--primary-color);
  border-radius: 0.75rem;
  background: white;
  color: var(--primary-color);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

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