/*
Theme Name: Darmanito
Theme URI: https://darmanito.com
Description: A modern WordPress theme with animated gradients, glassmorphism effects, and responsive design
Version: 1.0
Author: Mahdi Adhami
Author URI: https://alocasia.ir
*/

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

body {
  font-family: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #1f2937;
  background: #ffffff;
  /* Prevent horizontal scroll */
  overflow-x: hidden;
  max-width: 100vw;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

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

@keyframes gradientShift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes sparkle {
  0%,
  100% {
    background-position: 0% 0%;
  }
  50% {
    background-position: 100% 100%;
  }
}

/* Header */
header {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  color: #1f2937;
  padding: 1.2rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 30px rgba(27, 148, 252, 0.1);
  border-bottom: 1px solid rgba(27, 148, 252, 0.15);
  animation: fadeIn 0.5s ease-out;
  /* Prevent header overflow */
  width: 100%;
  overflow-x: hidden;
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
  /* Ensure nav doesn't overflow */
  width: 100%;
  overflow-x: hidden;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: transform 0.3s ease;
  text-decoration: none;
}

.logo:hover {
  transform: scale(1.05);
}

.logo img {
  height: 45px;
  width: auto;
  filter: drop-shadow(0 0 10px rgba(27, 148, 252, 0.4));
  transition: filter 0.3s ease;
}

.logo:hover img {
  filter: drop-shadow(0 0 15px rgba(27, 148, 252, 0.8));
}

.logo-text {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #1b94fc;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  flex-direction: row;
  align-items: center;
  margin: 0;
  padding: 0;
  /* Prevent nav links from causing overflow */
  flex-wrap: nowrap;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  transition: transform 0.3s ease;
  /* Ensure hamburger doesn't cause overflow */
  flex-shrink: 0;
}

.hamburger:hover {
  transform: scale(1.1);
}

.hamburger span {
  width: 100%;
  height: 3px;
  background: #1b94fc;
  border-radius: 10px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(10.5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-20px);
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-10.5px) rotate(-45deg);
}

.nav-links a {
  color: #1f2937;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #1b94fc;
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: #1b94fc;
}

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

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #1b94fc 0%, #0d6efd 50%, #1b94fc 100%);
  background-size: 200% 200%;
  animation: gradientShift 8s ease infinite;
  color: white;
  padding: 4rem 1.5rem 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 40% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 40%);
  animation: pulse 8s ease-in-out infinite;
}

.hero::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image: radial-gradient(2px 2px at 20% 30%, white, transparent),
    radial-gradient(2px 2px at 60% 70%, white, transparent), radial-gradient(1px 1px at 50% 50%, white, transparent),
    radial-gradient(1px 1px at 80% 10%, white, transparent), radial-gradient(2px 2px at 90% 60%, white, transparent),
    radial-gradient(1px 1px at 33% 85%, white, transparent);
  background-size: 200% 200%;
  opacity: 0.4;
  animation: sparkle 3s linear infinite;
}

.hero-content {
  position: relative;
  z-index: 1;
  animation: fadeInUp 1s ease-out;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hero p {
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  max-width: 650px;
  margin: 0 auto 2.5rem;
  opacity: 0.95;
  font-weight: 400;
  line-height: 1.5;
}

.cta-button {
  background: white;
  color: #1b94fc;
  padding: 1.2rem 3rem;
  min-height: 48px;
  border: none;
  border-radius: 50px;
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.4s ease;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(27, 148, 252, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.cta-button:hover::before {
  width: 300px;
  height: 300px;
}

.cta-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* Services Section */
.services {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  position: relative;
  z-index: 1;
}

.section-title {
  text-align: center;
  font-size: clamp(2rem, 5vw, 2.75rem);
  margin-bottom: 1rem;
  color: #1f2937;
  font-weight: 800;
  letter-spacing: -0.02em;
  animation: fadeInUp 0.8s ease-out;
  text-shadow: 0 0 20px rgba(27, 148, 252, 0.2);
}

.section-subtitle {
  text-align: center;
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: #6b7280;
  margin-bottom: 4rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

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

.service-card {
  background: white;
  border-radius: 16px;
  padding: 2rem 1.5rem;
  border: 2px solid rgba(27, 148, 252, 0.1);
  transition: all 0.5s ease;
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.8s ease-out;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #1b94fc 0%, #0d6efd 100%);
  transform: scaleX(0);
  transition: transform 0.5s ease;
}

.service-card::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(27, 148, 252, 0.05) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.service-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 25px 50px rgba(27, 148, 252, 0.25);
  border-color: #1b94fc;
}

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

.service-card:hover::after {
  opacity: 1;
}

.service-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  padding: 0.4rem 1rem;
  font-size: clamp(0.7rem, 1.5vw, 0.8rem);
  border-radius: 25px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 2;
}

.badge-available {
  background: #10b981;
  color: white;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
}

.badge-soon {
  background: #f59e0b;
  color: white;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.4);
}

.service-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #1b94fc 0%, #0d6efd 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin-bottom: 1.8rem;
  box-shadow: 0 10px 25px rgba(27, 148, 252, 0.4);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 15px 35px rgba(27, 148, 252, 0.6);
}

.service-card h3 {
  font-size: clamp(1.4rem, 3vw, 1.75rem);
  margin-bottom: 1rem;
  color: #1f2937;
  font-weight: 700;
  letter-spacing: -0.01em;
  position: relative;
  z-index: 1;
}

.service-card p {
  color: #6b7280;
  margin-bottom: 2rem;
  line-height: 1.7;
  font-size: clamp(0.9rem, 2vw, 1rem);
  position: relative;
  z-index: 1;
}

.service-button {
  background: linear-gradient(135deg, #1b94fc 0%, #0d6efd 100%);
  color: white;
  padding: 1rem 2rem;
  min-height: 48px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  font-size: 0.95rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.service-button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.service-button:hover::before {
  width: 300px;
  height: 300px;
}

.service-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(27, 148, 252, 0.5);
}

.service-button:disabled {
  background: #e5e7eb;
  color: #9ca3af;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.service-button:disabled::before {
  display: none;
}

/* Image Section */
.image-section {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, rgba(240, 249, 255, 0.8) 100%);
  padding: 4rem 1.5rem;
  border-top: 1px solid rgba(27, 148, 252, 0.1);
  border-bottom: 1px solid rgba(27, 148, 252, 0.1);
  position: relative;
  z-index: 1;
}

.image-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

/* About Section */
.about {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  position: relative;
  z-index: 1;
}

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

.about-text {
  animation: slideInLeft 1s ease-out;
}

.about-text h2 {
  font-size: clamp(2rem, 5vw, 2.75rem);
  margin-bottom: 1.8rem;
  color: #1f2937;
  font-weight: 800;
  letter-spacing: -0.02em;
  animation: fadeInUp 0.8s ease-out;
  text-shadow: 0 0 20px rgba(27, 148, 252, 0.2);
}

.about-text p {
  color: #6b7280;
  margin-bottom: 1.3rem;
  line-height: 1.8;
  font-size: clamp(0.95rem, 2vw, 1.05rem);
}

.about-image {
  width: 100%;
  height: clamp(300px, 40vw, 450px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(27, 148, 252, 0.1);
}

.about-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.about-image:hover {
  box-shadow: 0 15px 40px rgba(27, 148, 252, 0.2);
}

/* Contact Section */
.contact {
  background: linear-gradient(180deg, rgba(240, 249, 255, 0.5) 0%, rgba(255, 255, 255, 0.8) 100%);
  padding: 4rem 1.5rem;
  border-top: 1px solid rgba(27, 148, 252, 0.1);
  position: relative;
  z-index: 1;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
}

.contact-container h2 {
  text-align: center;
  font-size: clamp(2rem, 5vw, 2.75rem);
  margin-bottom: 1rem;
  color: #1f2937;
  font-weight: 800;
  letter-spacing: -0.02em;
  animation: fadeInUp 0.8s ease-out;
  text-shadow: 0 0 20px rgba(27, 148, 252, 0.2);
}

/* CHANGE: Added contact page layout and form styles */
.contact-page {
  padding: 4rem 1.5rem;
  background: linear-gradient(135deg, #f8fafc 0%, #e8f4fd 100%);
  min-height: 100vh;
}

.contact-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  margin-top: 2rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.contact-form.contact-info,
.contact-info {
  width: 100%;
  padding: 2.5rem;
}

/* Contact Form 7 Styling */
.contact-form .wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-form .wpcf7-form label {
  display: block;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.contact-form .wpcf7-form input[type="text"],
.contact-form .wpcf7-form input[type="email"],
.contact-form .wpcf7-form input[type="tel"],
.contact-form .wpcf7-form textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: #f9fafb;
}

.contact-form .wpcf7-form input[type="text"]:focus,
.contact-form .wpcf7-form input[type="email"]:focus,
.contact-form .wpcf7-form input[type="tel"]:focus,
.contact-form .wpcf7-form textarea:focus {
  outline: none;
  border-color: #1b94fc;
  background: white;
  box-shadow: 0 0 0 4px rgba(27, 148, 252, 0.1);
}

.contact-form .wpcf7-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form .wpcf7-form input[type="submit"] {
  background: linear-gradient(135deg, #1b94fc 0%, #0d6efd 100%);
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(27, 148, 252, 0.3);
}

.contact-form .wpcf7-form input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(27, 148, 252, 0.4);
}

.contact-form .wpcf7-form .wpcf7-response-output {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 8px;
  font-size: 0.95rem;
}

.contact-form .wpcf7-form .wpcf7-not-valid-tip {
  color: #ef4444;
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

/* Contact Info Box Styling */
.contact-info {
  background: white;
  border-radius: 16px;
  border: 2px solid rgba(27, 148, 252, 0.1);
  animation: slideInLeft 0.8s ease-out;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 0;
  padding: 2.5rem;
}

.contact-subtitle {
  text-align: center;
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: #6b7280;
  margin-bottom: 4rem;
  animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
}

.contact-info {
  background: white;
  border-radius: 16px;
  border: 2px solid rgba(27, 148, 252, 0.1);
  animation: slideInLeft 0.8s ease-out;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 1rem;
}

.contact-info:hover {
  border-color: #1b94fc;
  box-shadow: 0 10px 40px rgba(27, 148, 252, 0.15);
}

.contact-info h3 {
  font-size: clamp(1.4rem, 3.5vw, 1.85rem);
  margin-bottom: 2.5rem;
  color: #1f2937;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-align: center;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.info-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.25rem;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}

.info-item:hover {
  background: #f0f7ff;
  border-color: rgba(27, 148, 252, 0.3);
}

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

.info-header h4 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: #1f2937;
}

.info-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.info-content {
  font-size: 1rem;
  color: #6b7280;
  line-height: 1.6;
}

.info-content a {
  color: #1b94fc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.info-content a:hover {
  color: #0d6efd;
  text-decoration: underline;
}

/* Footer */
footer {
  background: #1f2937;
  color: white;
  padding: 2rem 1.5rem;
  text-align: center;
}

footer p {
  margin: 0;
  opacity: 0.9;
}

/* 404 Page Styles */
.error-404-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: linear-gradient(135deg, #1b94fc 0%, #0d6efd 50%, #1b94fc 100%);
  background-size: 200% 200%;
  animation: gradientShift 8s ease infinite;
  position: relative;
  overflow: hidden;
}

.error-404-page::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.15) 0%, transparent 50%);
  animation: pulse 8s ease-in-out infinite;
}

.error-container {
  max-width: 800px;
  text-align: center;
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  padding: 3rem 2rem;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 0.8s ease-out;
}

.error-number {
  font-size: clamp(5rem, 15vw, 10rem);
  font-weight: 900;
  background: linear-gradient(135deg, #1b94fc 0%, #0d6efd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  animation: pulse 2s ease-in-out infinite;
}

.error-content h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: #1f2937;
  margin-bottom: 1rem;
  font-weight: 700;
}

.error-content p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #6b7280;
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* Improved 404 button styles with better spacing, typography, and hover effects */
.error-actions {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

.error-button {
  background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
  color: white;
  padding: 1.5rem 4rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.375rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(33, 150, 243, 0.3);
  border: none;
  min-width: 220px;
  letter-spacing: 0.3px;
  /* Added smooth hover transitions */
  transition: all 0.3s ease;
}

/* Added hover effects for primary button */
.error-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(33, 150, 243, 0.4);
  background: linear-gradient(135deg, #1e88e5 0%, #1565c0 100%);
}

.error-button.secondary {
  background: white;
  color: #2196f3;
  border: 2px solid #2196f3;
  box-shadow: 0 4px 16px rgba(33, 150, 243, 0.15);
}

/* Added hover effects for secondary button */
.error-button.secondary:hover {
  background: #2196f3;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(33, 150, 243, 0.3);
}

.suggested-posts {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid rgba(27, 148, 252, 0.1);
}

.suggested-posts h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: #1f2937;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.suggested-posts ul {
  list-style: none;
  padding: 0;
}

.suggested-posts li {
  margin-bottom: 0.75rem;
}

.suggested-posts a {
  color: #1b94fc;
  text-decoration: none;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  display: inline-block;
}

.suggested-posts a:hover {
  color: #0d6efd;
  transform: translateX(5px);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  nav {
    padding: 0 1rem;
    /* Ensure nav stays contained on mobile */
    max-width: 100%;
  }

  .logo img {
    height: 38px;
  }

  .logo-text {
    font-size: 1.1rem;
    /* Prevent logo text from wrapping awkwardly */
    white-space: nowrap;
  }

  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    gap: 2rem;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    /* Prevent mobile menu from causing overflow */
    overflow-y: auto;
    overflow-x: hidden;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links li {
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s ease;
    display: block;
    margin: 0;
    padding: 0;
  }

  .nav-links.active li {
    opacity: 1;
    transform: translateX(0);
  }

  .nav-links.active li:nth-child(1) {
    transition-delay: 0.1s;
  }
  .nav-links.active li:nth-child(2) {
    transition-delay: 0.2s;
  }
  .nav-links.active li:nth-child(3) {
    transition-delay: 0.3s;
  }

  .nav-links a {
    font-size: 1.2rem;
    display: block;
    padding: 0.5rem 0;
  }

  .hero {
    padding: 3.5rem 1.25rem 4rem;
  }

  .services {
    padding: 3rem 1.25rem;
  }

  .section-subtitle {
    margin-bottom: 3rem;
  }

  .service-badge {
    top: 1rem;
    right: 1rem;
  }

  .image-section {
    padding: 3rem 1.25rem;
  }

  .about {
    padding: 3rem 1.25rem;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-image {
    order: 1;
  }

  .about-text {
    order: 2;
  }

  .contact {
    padding: 3rem 1.25rem;
  }

  .contact-subtitle {
    margin-bottom: 3rem;
  }

  .contact-info {
    padding: 1.5rem;
  }

  .info-item {
    gap: 1rem;
  }

  .error-container {
    padding: 2rem 1.5rem;
  }

  .error-actions {
    flex-direction: column;
  }
}

@media (min-width: 769px) {
  .info-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

/* Contact Page Responsive */
@media (max-width: 900px) {
  .contact-content {
    grid-template-columns: 1fr;
  }

  .contact-page {
    padding: 2rem 1rem;
  }

  .contact-form.contact-info,
  .contact-info {
    padding: 1.5rem;
  }
}

@media (max-width: 600px) {
  .contact-container h2 {
    font-size: 1.75rem;
  }

  .contact-subtitle {
    margin-bottom: 2rem;
  }

  .info-item {
    padding: 1rem;
  }
}
/* End Contact Page Styles */

/* Contact Form 7 Styles */
.wpcf7 {
  width: 100%;
}

.wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.wpcf7-form p {
  margin: 0;
  width: 100%;
}

/* Add proper styling for CF7 wrapper spans */
.wpcf7-form-control-wrap {
  display: block;
  /* width: auto; removed to prevent interference with grid/flex widths */
  position: relative;
}

.two-fields p {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  width: 100%;
}

.two-fields .wpcf7-form-control-wrap {
  width: 100% !important;
}

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

.wpcf7-form br {
  display: none;
}

.wpcf7-form label {
  display: block;
  margin-bottom: 0.5rem;
  color: #1f2937;
  font-weight: 600;
  font-size: 0.875rem;
}

.wpcf7-form input[type="text"],
.wpwpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form input[type="number"],
.wpcf7-form input[type="date"],
.wpcf7-form select,
.wpcf7-form textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 100%;
  padding: 12px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  color: #1f2937;
  background: white;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder {
  color: #9ca3af;
}

.wpcf7-form select {
  background-image: url('data:image/svg+xml;charset=UTF-8,%3csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%231b94fc" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"%3e%3cpolyline points="6 9 12 15 18 9"%3e%3c/polyline%3e%3c/svg%3e');
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
  cursor: pointer;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form input[type="url"]:focus,
.wpcf7-form input[type="number"]:focus,
.wpcf7-form input[type="date"]:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
  outline: none;
  border-color: #1b94fc;
  box-shadow: 0 0 0 3px rgba(27, 148, 252, 0.1);
}

.wpcf7-form textarea {
  min-height: 80px;
  resize: vertical;
  line-height: 1.6;
}

.wpcf7-form input[type="submit"],
.wpcf7-form .submit-btn {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: linear-gradient(135deg, #1b94fc 0%, #0066cc 100%);
  color: white;
  padding: 14px 24px;
  min-height: 48px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(27, 148, 252, 0.3);
  width: 100% !important;
  margin-top: 8px;
  box-sizing: border-box;
}

.wpcf7-form input[type="submit"]:hover,
.wpcf7-form .submit-btn:hover {
  /* transform: translateY(-2px); */
  box-shadow: 0 6px 20px rgba(27, 148, 252, 0.4);
  background: linear-gradient(135deg, #0d6efd 0%, #0056b3 100%);
}

.wpcf7-form input[type="submit"]:active,
.wpcf7-form .submit-btn:active {
  transform: translateY(0);
}

/* Validation Messages */
.wpcf7-not-valid-tip {
  color: #ef4444;
  font-size: 0.75rem;
  margin-top: 0.25rem;
  display: block;
  font-weight: 500;
}

.wpcf7-form .wpcf7-not-valid {
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.05);
}

.wpcf7-form .wpcf7-not-valid:focus {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* Response Messages */
.wpcf7-response-output {
  margin: 1rem 0 0;
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: 500;
  text-align: center;
  font-size: 14px;
  animation: fadeInUp 0.5s ease-out;
}

.wpcf7-mail-sent-ok {
  background: rgba(16, 185, 129, 0.1);
  border: 2px solid #10b981;
  color: #065f46;
}

.wpcf7-mail-sent-ng,
.wpcf7-aborted {
  background: rgba(239, 68, 68, 0.1);
  border: 2px solid #ef4444;
  color: #991b1b;
}

.wpcf7-spam-blocked {
  background: rgba(245, 158, 11, 0.1);
  border: 2px solid #f59e0b;
  color: #99400e;
}

.wpcf7-validation-errors {
  background: rgba(239, 68, 68, 0.1);
  border: 2px solid #ef4444;
  color: #991b1b;
}

/* Spinner */
.wpcf7-spinner {
  border: 3px solid rgba(27, 148, 252, 0.2);
  border-top-color: #1b94fc;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  animation: spin 0.8s linear infinite;
  margin-left: 0.5rem;
  display: inline-block;
  vertical-align: middle;
}

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

/* Acceptance Checkbox */
.wpcf7-form input[type="checkbox"],
.wpcf7-form input[type="radio"] {
  width: auto;
  margin-right: 0.5rem;
  cursor: pointer;
  accent-color: #1b94fc;
}

.wpcf7-list-item {
  margin: 0.5rem 0;
  display: flex;
  align-items: center;
}

.wpcf7-list-item-label {
  cursor: pointer;
  color: #6b7280;
  font-size: 0.875rem;
}

/* Sidebar specific CF7 styling */
.sidebar-form .wpcf7-form p.response-time {
  text-align: center;
  font-size: 13px;
  color: #666;
  margin-top: 12px;
  display: block;
}

/* Mobile Responsive for CF7 */
@media (max-width: 768px) {
  .wpcf7-form input[type="submit"] {
    width: 100%;
  }

  .wpcf7-form {
    gap: 0.75rem;
  }

  .wpcf7-form input,
  .wpcf7-form select,
  .wpcf7-form textarea {
    padding: 10px;
    font-size: 14px;
  }
}

/* Blog List Page Styles */
.blog-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  position: relative;
  z-index: 1;
}

/* Enhanced blog card design with improved spacing, shadows, and visual hierarchy */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(350px, 100%), 1fr));
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.blog-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(27, 148, 252, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.06);
  animation: fadeInUp 0.6s ease-out;
  display: flex;
  flex-direction: column;
  position: relative;
}

.blog-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #1b94fc 0%, #0d6efd 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.blog-card:hover::before {
  opacity: 1;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 28px rgba(27, 148, 252, 0.15), 0 20px 48px rgba(0, 0, 0, 0.1);
  border-color: rgba(27, 148, 252, 0.2);
}

.blog-card-image {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.blog-card:hover .blog-card-image {
  transform: scale(1.08);
}

.blog-card-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 1rem;
}

.blog-card-content h3 {
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  margin: 0;
  color: #111827;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.blog-card-content h3 a {
  color: #111827;
  text-decoration: none;
  transition: color 0.3s ease;
  background: linear-gradient(to right, #1b94fc, #0d6efd);
  background-size: 0% 2px;
  background-repeat: no-repeat;
  background-position: left bottom;
  transition: background-size 0.3s ease, color 0.3s ease;
  padding-bottom: 2px;
}

.blog-card-content h3 a:hover {
  color: #1b94fc;
  background-size: 100% 2px;
}

.blog-card-excerpt {
  color: #4b5563;
  line-height: 1.7;
  font-size: 1rem;
  flex-grow: 1;
  margin: 0;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.875rem;
  padding-top: 0.5rem;
  border-top: 1px solid #f3f4f6;
}

.blog-card-category {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.1rem;
  background: linear-gradient(135deg, #1b94fc 0%, #0d6efd 100%);
  color: white;
  border-radius: 24px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.8125rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(27, 148, 252, 0.25);
  letter-spacing: 0.01em;
}

.blog-card-category:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 4px 16px rgba(27, 148, 252, 0.4);
}

.blog-card-category svg {
  width: 14px;
  height: 14px;
}

.blog-card-date {
  color: #6b7280;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #1b94fc;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, rgba(27, 148, 252, 0.08) 0%, rgba(13, 110, 253, 0.08) 100%);
  border-radius: 12px;
  align-self: flex-start;
  font-size: 0.9375rem;
}

.read-more:hover {
  background: linear-gradient(135deg, #1b94fc 0%, #0d6efd 100%);
  color: white;
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(27, 148, 252, 0.3);
}

.read-more::after {
  content: "→";
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.read-more:hover::after {
  transform: translateX(4px);
}

/* Pagination Styles */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.pagination a,
.pagination span {
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid rgba(27, 148, 252, 0.2);
  color: #1f2937;
  background: white;
  min-width: 48px;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pagination a:hover {
  background: linear-gradient(135deg, #1b94fc 0%, #0d6efd 100%);
  color: white;
  border-color: #1b94fc;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(27, 148, 252, 0.4);
}

.pagination .current {
  background: linear-gradient(135deg, #1b94fc 0%, #0d6efd 100%);
  color: white;
  border-color: #1b94fc;
  box-shadow: 0 4px 15px rgba(27, 148, 252, 0.4);
}

.pagination .prev,
.pagination .next {
  font-weight: 700;
}

.pagination .dots {
  border: none;
  background: none;
  color: #9ca3af;
  pointer-events: none;
}

/* Disabled state for pagination buttons */
.pagination .disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* Blog Mobile Responsive */
@media (max-width: 768px) {
  .blog-section {
    padding: 3rem 1.25rem;
  }

  /* Responsive adjustments for blog cards */
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .blog-card-image {
    height: 220px;
  }

  .blog-card-content {
    padding: 1.5rem;
  }

  .blog-card-content h3 {
    font-size: 1.25rem;
  }

  .blog-card-meta {
    gap: 0.75rem;
  }

  .read-more {
    padding: 0.65rem 1.25rem;
  }
}

/* ================================
   CHILDCARE PAGE STYLES
   ================================ */

/* Childcare Page - Animations */
@keyframes floatBackground {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(50px, -50px) scale(1.1);
  }
  66% {
    transform: translate(-30px, 30px) scale(0.9);
  }
}

/* Childcare Page - Hero Map Section */
.hero-map {
  position: relative;
  width: 100%;
  height: clamp(300px, 50vh, 500px);
  background: linear-gradient(135deg, #1b94fc 0%, #0d6efd 50%, #1b94fc 100%);
  background-size: 200% 200%;
  animation: gradientShift 8s ease infinite;
}

#overview-map {
  width: 100%;
  height: 100%;
  opacity: 0.95;
}

.show-listings-btn {
  position: absolute;
  top: 16px;
  left: 16px;
  background: white;
  border: none;
  padding: 12px 20px;
  min-height: 44px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(27, 148, 252, 0.3);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  color: #1b94fc;
}

.show-listings-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(27, 148, 252, 0.4);
}

/* Childcare Page - Search Overlay */
.search-overlay {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 64px);
  max-width: 1000px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(27, 148, 252, 0.25);
  display: flex;
  padding: 12px;
  gap: 12px;
  border: 1px solid rgba(27, 148, 252, 0.2);
  /* Reduced z-index to be below modals */
  z-index: 999;
}

.search-field {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border: 2px solid rgba(27, 148, 252, 0.15);
  border-radius: 12px;
  background: white;
  transition: all 0.3s ease;
}

.search-field:focus-within {
  border-color: #1b94fc;
  box-shadow: 0 0 0 3px rgba(27, 148, 252, 0.1);
}

.search-field input,
.search-field select {
  border: none;
  outline: none;
  font-size: 14px;
  font-family: inherit;
  width: 100%;
  background: transparent;
  color: #1f2937;
  font-weight: 500;
}

.search-field input::placeholder {
  color: #9ca3af;
}

/* Added autocomplete dropdown styles for Google Places */
.search-field-with-results {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border: 2px solid rgba(27, 148, 252, 0.15);
  border-radius: 12px;
  background: white;
  transition: all 0.3s ease;
}

.search-field-with-results:focus-within {
  border-color: #1b94fc;
  box-shadow: 0 0 0 3px rgba(27, 148, 252, 0.1);
}

.autocomplete-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  max-height: 400px;
  overflow-y: auto;
  /* Increased z-index to ensure dropdown appears above everything */
  z-index: 10000;
  display: none;
  border: 1px solid rgba(27, 148, 252, 0.2);
}

.autocomplete-results::-webkit-scrollbar {
  width: 8px;
}

.autocomplete-results::-webkit-scrollbar-track {
  background: #f3f4f6;
  border-radius: 8px;
}

.autocomplete-results::-webkit-scrollbar-thumb {
  background: #1b94fc;
  border-radius: 8px;
}

.autocomplete-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  cursor: pointer;
  transition: all 0.2s ease;
  border-bottom: 1px solid #f3f4f6;
}

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

.autocomplete-item:hover {
  background: rgba(27, 148, 252, 0.08);
}

.autocomplete-icon {
  font-size: 18px;
  flex-shrink: 0;
}

.autocomplete-text {
  flex: 1;
  min-width: 0;
}

.autocomplete-main {
  font-size: 14px;
  font-weight: 600;
  color: #1f2937;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.autocomplete-secondary {
  font-size: 12px;
  color: #6b7280;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

.search-btn {
  background: linear-gradient(135deg, #1b94fc 0%, #0d6efd 100%);
  color: white;
  border: none;
  padding: 16px 40px;
  min-height: 48px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(27, 148, 252, 0.4);
  position: relative;
  overflow: hidden;
}

.search-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.search-btn:hover::before {
  width: 300px;
  height: 300px;
}

.search-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(27, 148, 252, 0.5);
}

/* Childcare Page - App Layout */
.app-layout {
  display: flex;
  min-height: calc(100vh - 400px);
  gap: 0;
  position: relative;
  z-index: 1;
}

/* Childcare Page - Sidebar */
.sidebar {
  width: 320px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border-right: 1px solid rgba(27, 148, 252, 0.15);
  padding: 32px 24px;
  overflow-y: auto;
  position: sticky;
  top: 0;
  height: 100vh;
  flex-shrink: 0;
  box-shadow: 4px 0 30px rgba(27, 148, 252, 0.08);
}

.sidebar-title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 24px;
  color: #1f2937;
  letter-spacing: -0.02em;
}

/* Childcare Page - Tabs */
.tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding: 8px;
  background: rgba(27, 148, 252, 0.08);
  border-radius: 12px;
  margin-bottom: 24px;
}

.tab {
  padding: 10px 16px;
  border: none;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: #6b7280;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.tab:hover {
  color: #1b94fc;
  background: rgba(27, 148, 252, 0.1);
}

.tab.active {
  background: white;
  color: #1b94fc;
  box-shadow: 0 4px 12px rgba(27, 148, 252, 0.15);
}

/* Childcare Page - Filter Panels */
.filters-panel {
  display: none;
  gap: 16px;
  flex-direction: column;
  animation: fadeInUp 0.4s ease-out;
}

.filters-panel.active {
  display: flex;
}

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

.group label {
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.filters-panel input[type="text"],
.filters-panel input[type="number"],
.filters-panel select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding: 12px 16px;
  border: 2px solid rgba(27, 148, 252, 0.15);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  color: #1f2937;
  background: white;
  transition: all 0.3s ease;
  outline: none;
  width: 100%;
  font-weight: 500;
  box-sizing: border-box;
}

.filters-panel select {
  background-image: url('data:image/svg+xml;charset=UTF-8,%3csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%231b94fc" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"%3e%3cpolyline points="6 9 12 15 18 9"%3e%3c/polyline%3e%3c/svg%3e');
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
}

.filters-panel input:focus,
.filters-panel select:focus {
  border-color: #1b94fc;
  box-shadow: 0 0 0 3px rgba(27, 148, 252, 0.1);
}

.filters-panel input[type="checkbox"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  margin-right: 8px;
  width: 18px;
  height: 18px;
  cursor: pointer;
  border: 2px solid rgba(27, 148, 252, 0.3);
  border-radius: 4px;
  background: white;
  position: relative;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.filters-panel input[type="checkbox"]:checked {
  background: #1b94fc;
  border-color: #1b94fc;
}

.filters-panel input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 4px;
  height: 8px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.filters-panel input[type="number"]::-webkit-inner-spin-button,
.filters-panel input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.filters-panel input[type="number"] {
  -moz-appearance: textfield;
}

.primary {
  background: linear-gradient(135deg, #1b94fc 0%, #0d6efd 100%);
  color: white;
  border: none;
  padding: 14px 24px;
  min-height: 48px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  margin-top: 8px;
  box-shadow: 0 6px 20px rgba(27, 148, 252, 0.3);
  position: relative;
  overflow: hidden;
}

.primary::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.primary:hover::before {
  width: 300px;
  height: 300px;
}

.primary:hover {
  /* transform: translateY(-3px); */
  box-shadow: 0 10px 30px rgba(27, 148, 252, 0.4);
}

/* Childcare Page - Main Content */
.main-content {
  flex: 1;
  padding: 40px 32px;
  max-width: 100%;
  overflow-x: hidden;
}

/* Childcare Page - Listings Grid */
.listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
  gap: 30px;
  margin-bottom: 48px;
}

/* Childcare Page - Listing Card */
.card-link-wrapper {
  text-decoration: none;
  color: inherit;
  display: block;
  width: 100%;
}

.listing-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  position: relative;
  border: 2px solid rgba(27, 148, 252, 0.1);
  animation: fadeInUp 0.6s ease-out;
  /* Added fixed height for consistent card sizing */
  height: 440px;
  display: flex;
  flex-direction: column;
}

.listing-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #1b94fc 0%, #0d6efd 100%);
  transform: scaleX(0);
  transition: transform 0.5s ease;
}

.listing-card:hover::before {
  /* transform: scaleX(1); */
}

.listing-card:hover {
  /* transform: translateY(-8px) scale(1.02); */
  box-shadow: 0 20px 50px rgba(27, 148, 252, 0.2);
  border-color: #1b94fc;
}

.card-image-wrapper {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.listing-card:hover .card-image {
  transform: scale(1.1);
}

.card-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 25px;
  font-size: 12px;
  font-weight: 700;
  background: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.badge.featured {
  color: #f59e0b;
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
}

.badge.price {
  color: #10b981;
  background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
}

.badge.vacancies {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
}

.card-content {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.card-title {
  font-size: 18px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.01em;
}

.verified-icon {
  color: #10b981;
  font-size: 18px;
}

.card-location {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 12px;
  font-weight: 500;
}

/* Added card meta, hours, and button styles */
.card-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.meta-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: #6b7280;
}

.meta-icon {
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

.card-hours {
  background: rgba(27, 148, 252, 0.05);
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 16px;
  font-size: 14px;
}

.card-hours strong {
  color: #1f2937;
  display: block;
  margin-bottom: 6px;
}

.hours-list {
  color: #6b7280;
  line-height: 1.6;
}

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

.btn-view-details {
  background: linear-gradient(135deg, #1b94fc 0%, #0d6efd 100%);
  color: white;
  text-align: left;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(27, 148, 252, 0.3);
}

/* Childcare Page - Modal Styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(12px);
  /* Increased z-index to appear above everything */
  z-index: 10000;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal.active {
  display: flex;
  opacity: 1;
}

.modal-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-image {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 16px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
}

.modal-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border: 2px solid rgba(27, 148, 252, 0.3);
  border-radius: 999px;
  padding: 12px 24px;
  color: #1f2937;
  font-size: 14px;
  font-weight: 700;
}

.modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 52px;
  height: 52px;
  background: rgba(27, 148, 252, 0.9);
  backdrop-filter: blur(12px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: white;
  font-size: 28px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 1001;
}

.modal-close:hover {
  background: #1b94fc;
  transform: scale(1.1) rotate(90deg);
  box-shadow: 0 8px 25px rgba(27, 148, 252, 0.5);
}

.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  background: rgba(27, 148, 252, 0.9);
  backdrop-filter: blur(12px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: white;
  font-size: 28px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 1001;
}

.modal-nav:hover {
  background: #1b94fc;
  transform: translateY(-50%) scale(1.15);
  box-shadow: 0 8px 25px rgba(27, 148, 252, 0.5);
}

.modal-nav.disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.modal-nav.disabled:hover {
  background: rgba(27, 148, 252, 0.9);
  transform: translateY(-50%);
  box-shadow: none;
}

.modal-prev {
  left: 24px;
}
.modal-next {
  right: 24px;
}

/* Detail Modal - Improved width and responsiveness */
.detail-modal-content {
  position: relative;
  width: 90%; /* Updated width */
  max-width: 900px; /* Updated max-width */
  max-height: 90vh;
  overflow-y: auto;
  margin: 20px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  border: 2px solid rgba(27, 148, 252, 0.2);
  z-index: 1;
}

/* Added detail modal styles for map marker clicks */
.detail-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Increased z-index to appear above search overlay */
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.detail-modal.active {
  opacity: 1;
  pointer-events: all;
}

.detail-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
}

.detail-modal-content {
  position: relative;
  max-width: 600px;
  max-height: 85vh;
  overflow-y: auto;
  margin: 20px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  border: 2px solid rgba(27, 148, 252, 0.2);
  z-index: 1;
}

.detail-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  background: rgba(27, 148, 252, 0.9);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 2;
}

.detail-modal-close:hover {
  background: #1b94fc;
  transform: scale(1.1) rotate(90deg);
}

.detail-modal-body {
  padding: 32px;
}

.detail-modal-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 20px;
}

.detail-modal-body h2 {
  font-size: 24px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 16px;
}

.detail-modal-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.detail-modal-info .info-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.detail-modal-info .info-item strong {
  color: #1f2937;
  font-size: 14px;
}

.detail-modal-info .info-item span {
  color: #6b7280;
  font-size: 14px;
}

.btn-view-full-details {
  display: block;
  width: 100%;
  background: linear-gradient(135deg, #1b94fc 0%, #0d6efd 100%);
  color: white;
  text-align: center;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
}

.btn-view-full-details:hover {
  background: linear-gradient(135deg, #0d6efd 0%, #1b94fc 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(27, 148, 252, 0.3);
}

/* Added responsive styles for detail modal */
@media (max-width: 768px) {
  .detail-modal-content {
    width: 95%;
    max-width: 95vw;
    max-height: 92vh;
    margin: 16px;
    border-radius: 12px;
  }

  .detail-modal-body {
    padding: 24px 20px;
  }

  .detail-modal-image {
    height: 200px;
    border-radius: 8px;
  }

  .detail-modal-body h2 {
    font-size: 20px;
  }

  .detail-modal-close {
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    font-size: 20px;
  }

  .btn-view-full-details {
    padding: 12px 24px;
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .detail-modal-content {
    width: 100%;
    max-width: 100vw;
    max-height: 95vh;
    margin: 0;
    border-radius: 0;
  }

  .detail-modal-body {
    padding: 20px 16px;
  }

  .detail-modal-image {
    height: 180px;
    margin: -20px -16px 20px;
    border-radius: 0;
  }

  .detail-modal-body h2 {
    font-size: 18px;
  }

  .detail-modal-info .info-item strong {
    display: block;
    margin-bottom: 4px;
  }

  .btn-view-details {
    width: 100%;
    text-align: center;
  }
}

/* Childcare Detail Page Styles */
.childcare-detail {
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  min-height: 100vh;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: #666;
  margin-bottom: 24px;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin: 20px 0;
}

.breadcrumb a {
  color: #1b94fc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb a:hover {
  color: #0066cc;
  text-decoration: underline;
}

.breadcrumb .current {
  color: #333;
  font-weight: 600;
}

/* Container Layout */
.detail-container {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 32px;
  align-items: start;
}

/* Main Content */
.detail-main {
  background: white;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Header */
.detail-header {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  margin-bottom: 24px;
  gap: 24px;
}

/* Fixed header-logo to have explicit dimensions */
.header-logo {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.header-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.header-info {
  flex: 1;
  min-width: 0;
}

.detail-title {
  font-size: 32px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 16px 0;
}

.detail-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.meta-badge {
  background: linear-gradient(135deg, #1b94fc 0%, #0066cc 100%);
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}

.meta-item {
  font-size: 14px;
  color: #555;
  display: flex;
  align-items: center;
  gap: 4px;
}

.meta-updated {
  font-size: 13px;
  color: #999;
  margin-left: auto;
}

.open-hours {
  font-size: 15px;
  color: #333;
}

.open-hours strong {
  color: #1b94fc;
}

/* Programs Tags */
.programs-tags {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.programs-tags > span {
  font-weight: 600;
  color: #555;
}

.program-tag {
  background: #e3f2ff;
  color: #1b94fc;
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.program-tag:hover {
  background: #1b94fc;
  color: white;
}

/* Description */
.detail-description {
  margin-bottom: 24px;
  line-height: 1.7;
  color: #333;
}

.detail-description p {
  margin-bottom: 12px;
}

.description-credit {
  font-size: 13px;
  color: #999;
  font-style: italic;
}

.request-info-btn {
  background: linear-gradient(135deg, #1b94fc 0%, #0066cc 100%);
  color: white;
  border: none;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 32px;
  box-shadow: 0 4px 12px rgba(27, 148, 252, 0.3);
}

.request-info-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(27, 148, 252, 0.4);
}

/* Photo Gallery */
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 40px;
}

/* Added photo section styling */
.photo-section {
  margin-bottom: 40px;
}

.photo-section h2 {
  margin-bottom: 20px;
}

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  transition: transform 0.3s ease;
  background-color: #f3f4f6;
}

.gallery-item:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.gallery-large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-more {
  position: relative;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(27, 148, 252, 0.85);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.gallery-overlay:hover {
  background: rgba(27, 148, 252, 0.95);
}

/* Detail Sections */
.detail-section {
  margin-bottom: 40px;
  padding-top: 32px;
  border-top: 1px solid #e5e5e5;
}

.detail-section h2 {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 20px;
}

.languages-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.languages-list li {
  padding: 8px 0;
  color: #333;
}

.languages-list li::before {
  content: "•";
  color: #1b94fc;
  font-weight: bold;
  margin-right: 8px;
}

.languages-description {
  font-size: 13px;
  color: #6b7280;
  margin-top: 8px;
}

/* Added no-languages style for empty state */
.no-languages {
  color: #6b7280;
  font-size: 13px;
  font-style: italic;
  margin: 0;
  padding: 10px 14px;
  background: rgba(107, 114, 128, 0.08);
  border-radius: 8px;
  border: 1px dashed rgba(107, 114, 128, 0.2);
}

/* Added no-content style for generic empty states in detail sections */
.no-content {
  color: #6b7280;
  font-size: 14px;
  font-style: italic;
  margin: 0;
  padding: 24px 20px;
  background: linear-gradient(135deg, rgba(107, 114, 128, 0.05) 0%, rgba(107, 114, 128, 0.08) 100%);
  border-radius: 12px;
  border: 1px dashed rgba(107, 114, 128, 0.25);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
}

.no-content::before {
  content: "📭";
  margin-right: 10px;
  font-size: 20px;
  font-style: normal;
}

/* Different icons for specific empty states */
.photo-section .no-content::before {
  content: "📷";
}

.reviews-section .no-content::before {
  content: "💬";
}

.detail-section:not(.photo-section):not(.reviews-section):not(.services-section) .no-content::before {
  content: "📋";
}

.location-features {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.location-features li {
  padding: 8px 0;
  color: #333;
}

.location-features li::before {
  content: "•";
  color: #1b94fc;
  font-weight: bold;
  margin-right: 8px;
}

/* Program Cards */
.program-card {
  background: #f9fafb;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
}

.program-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
  gap: 16px;
}

.program-header h3 {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 4px 0;
}

.program-age {
  font-size: 14px;
  color: #666;
}

.interested-btn {
  background: white;
  border: 2px solid #1b94fc;
  color: #1b94fc;
  padding: 8px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.interested-btn:hover {
  background: #1b94fc;
  color: white;
}

.program-info {
  margin-bottom: 16px;
}

.program-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #e5e5e5;
}

.program-row:last-child {
  border-bottom: none;
}

.program-description,
.program-education {
  margin-bottom: 16px;
}

.program-description strong,
.program-education strong {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #1a1a1a;
}

.program-education ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.program-education li::before {
  content: "•";
  color: #1b94fc;
  font-weight: bold;
  margin-right: 8px;
}

.request-price-btn {
  background: linear-gradient(135deg, #1b94fc 0%, #0066cc 100%);
  color: white;
  border: none;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.request-price-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(27, 148, 252, 0.3);
}

/* Licensing */
.licensing-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 20px 0;
  padding: 20px;
  background: #f9fafb;
  border-radius: 12px;
}

.license-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.license-label {
  font-size: 13px;
  color: #666;
  font-weight: 500;
}

.license-note {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
}

.license-note a {
  color: #1b94fc;
  text-decoration: none;
}

.license-note a:hover {
  text-decoration: underline;
}

/* Reviews */
.reviews-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.rating-summary {
  display: flex;
  align-items: center;
  gap: 8px;
}

.star-rating {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
}

.review-count {
  font-size: 14px;
  color: #666;
}

/* Reviews Section - Enhanced Styles */
.reviews-section {
  margin-top: 32px;
}

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

.review-card {
  background: #f9fafb;
  border-radius: 12px;
  padding: 24px;
  border: 1px solid #e5e7eb;
  transition: box-shadow 0.2s ease;
}

.review-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.review-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

/* Add styles for profile photo image */
.reviewer-avatar-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.reviewer-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1b94fc 0%, #0066cc 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 20px;
  flex-shrink: 0;
}

.reviewer-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

/* Add styles for clickable reviewer name */
.reviewer-name {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.2s ease;
}

.reviewer-name:hover {
  color: #1b94fc;
  text-decoration: underline;
}

.reviewer-info strong {
  font-size: 15px;
  color: #1a1a1a;
}

.review-date {
  font-size: 13px;
  color: #666;
  margin-top: 2px;
}

/* Add star rating badge in header */
.review-rating-badge {
  font-size: 14px;
  color: #fbbf24;
  letter-spacing: 2px;
  margin-left: auto;
  flex-shrink: 0;
}

.review-stars {
  margin-bottom: 12px;
  color: #ffc107;
}

.review-text {
  line-height: 1.7;
  color: #374151;
  font-size: 14px;
  white-space: pre-wrap;
}

/* Responsive adjustments for reviews */
@media (max-width: 640px) {
  .review-card {
    padding: 16px;
  }

  .review-header {
    flex-wrap: wrap;
  }

  .review-rating-badge {
    width: 100%;
    margin-left: 60px;
    margin-top: 4px;
  }

  .reviewer-avatar-img,
  .reviewer-avatar {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
}

/* Sidebar */
.detail-sidebar {
  position: sticky;
  top: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Childcare Page - Sidebar Status Badge */
.sidebar-status {
  padding: 20px;
  background: white;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.sidebar-status h3 {
  margin: 0 0 16px 0;
  font-size: 16px;
  font-weight: 600;
  color: #1f2937;
}

/* Redesigned sidebar-status section with emoji support */
.status-main-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 14px;
}

.status-main-badge .status-emoji {
  font-size: 20px;
  line-height: 1;
}

.status-main-badge.status-open {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  color: #059669;
  border: 1px solid #a7f3d0;
}

.status-main-badge.status-closed {
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  color: #dc2626;
  border: 1px solid #fecaca;
}

.today-hours-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #f8fafc;
  border-radius: 10px;
  margin-bottom: 14px;
  border: 1px solid #e2e8f0;
}

.today-hours-box .hours-icon {
  font-size: 22px;
  line-height: 1;
}

.today-hours-box .hours-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.today-hours-box .hours-label {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.today-hours-box .hours-value {
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
}

.status-stickers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.status-sticker {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.sticker-ccfri {
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
  color: #1e40af;
}

.sticker-vacancy {
  background: linear-gradient(135deg, #d1fae5, #a7f3d0);
  color: #065f46;
}

.sticker-ece {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  color: #92400e;
}

.sticker-special {
  background: linear-gradient(135deg, #ede9fe, #ddd6fe);
  color: #5b21b6;
}

.sticker-aboriginal {
  background: linear-gradient(135deg, #ffedd5, #fed7aa);
  color: #9a3412;
}

.sticker-elf {
  background: linear-gradient(135deg, #cffafe, #a5f3fc);
  color: #0e7490;
}

.sticker-rated {
  background: linear-gradient(135deg, #fef9c3, #fef08a);
  color: #a16207;
}

/* Remove old conflicting status-badges styles */
.status-badges {
  display: none;
}

.today-hours {
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid #f3f4f6;
  font-size: 14px;
  color: #4b5563;
}

.today-hours strong {
  color: #1f2937;
}

@keyframes pulse-green {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.1);
  }
}

/* Childcare Page - Hours of Operation Section */
.sidebar-hours {
  background: white;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.sidebar-hours h3 {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 16px 0;
  padding-bottom: 12px;
  border-bottom: 2px solid #f0f0f0;
}

.operation-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.operation-tag {
  display: inline-block;
  padding: 4px 10px;
  background: #e0f2fe;
  color: #0369a1;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}

.hours-table {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 20px;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #e5e5e5;
  font-size: 14px;
}

.hours-row:last-child {
  border-bottom: none;
}

.hours-row span:first-child {
  font-weight: 600;
  color: #1a1a1a;
}

.hours-row span:last-child {
  color: #6b7280;
}

.sidebar-notice,
.sidebar-form,
.sidebar-location {
  background: white;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.sidebar-notice h3,
.sidebar-form h3,
.sidebar-location h3 {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 16px 0;
}

.sidebar-notice p {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  margin: 0;
}

/* Form */
.sidebar-form form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.form-row .wpcf7-form-control-wrap {
  width: 100%;
}

.sidebar-form input,
.sidebar-form select,
.sidebar-form textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  transition: all 0.3s ease;
  box-sizing: border-box;
  background: white;
}

.sidebar-form select {
  background-image: url('data:image/svg+xml;charset=UTF-8,%3csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%231b94fc" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"%3e%3cpolyline points="6 9 12 15 18 9"%3e%3c/polyline%3e%3c/svg%3e');
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
}

.sidebar-form input:focus,
.sidebar-form select:focus,
.sidebar-form textarea:focus {
  outline: none;
  border-color: #1b94fc;
  box-shadow: 0 0 0 3px rgba(27, 148, 252, 0.1);
}

.submit-btn {
  background: linear-gradient(135deg, #1b94fc 0%, #0066cc 100%);
  color: white;
  border: none;
  padding: 14px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(27, 148, 252, 0.3);
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(27, 148, 252, 0.4);
}

.response-time {
  text-align: center;
  font-size: 13px;
  color: #666;
  margin: 0;
}

.privacy-note {
  font-size: 11px;
  color: #999;
  line-height: 1.5;
  margin: 0;
}

.privacy-note a {
  color: #1b94fc;
  text-decoration: none;
}

.privacy-note a:hover {
  text-decoration: underline;
}

/* Location Sidebar */
.sidebar-location h3 {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 20px 0;
}

/* Fix Contact Info Section styles */
.contact-info-section {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e5e5e5;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #1b94fc;
  text-decoration: none;
  font-size: 14px;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
  transition: all 0.3s ease;
}

.contact-link:last-child {
  border-bottom: none;
}

.contact-link:hover {
  color: #0066cc;
  background: rgba(27, 148, 252, 0.05);
  padding-left: 8px;
  border-radius: 6px;
}

.contact-icon {
  font-size: 18px;
  flex-shrink: 0;
  width: 24px;
  text-align: center;
}

.contact-text {
  flex: 1;
  word-break: break-word;
}

/* Google Map Container styles */
.location-map-container {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #e5e5e5;
}

.detail-google-map {
  width: 100%;
  height: 200px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.location-map-iframe {
  width: 100%;
  height: 200px;
  border: none;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.map-directions-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding: 10px 16px;
  background: linear-gradient(135deg, #1b94fc 0%, #0066cc 100%);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(27, 148, 252, 0.3);
}

.map-directions-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(27, 148, 252, 0.4);
  color: white;
}

.hours-table {
  display: flex;
  flex-direction: column;
  gap: 8px;
  /* added top margin to separate from map */
  margin-top: 20px;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #e5e5e5;
  font-size: 14px;
}

.hours-row:last-child {
  border-bottom: none;
}

.hours-row span:first-child {
  font-weight: 600;
  color: #1a1a1a;
}

.hours-row span:last-child {
  color: #6b7280;
}

/* Responsive */
@media (max-width: 1024px) {
  .detail-container {
    grid-template-columns: 1fr;
  }

  .detail-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  .childcare-detail {
    padding: 16px;
  }

  .detail-main {
    padding: 24px;
  }

  .detail-title {
    font-size: 24px;
  }

  .detail-header {
    flex-direction: column;
  }

  .photo-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .gallery-large {
    grid-column: span 2;
    grid-row: span 1;
  }

  .licensing-info {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .detail-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .meta-updated {
    margin-left: 0;
  }

  .photo-gallery {
    grid-template-columns: 1fr;
  }

  .program-header {
    flex-direction: column;
  }

  .interested-btn {
    width: 100%;
  }
}

/* ========================================
   Requests Dashboard Styles
   ======================================== */

.requests-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 40px 20px;
}

.requests-container {
  max-width: 1200px;
  margin: 0 auto;
}

.requests-header {
  text-align: center;
  margin-bottom: 40px;
  color: white;
}

.requests-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.header-subtitle {
  font-size: 1.1rem;
  opacity: 0.95;
}

/* Dashboard Summary Section */
.dashboard-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.summary-card {
  background: white;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all 0.3s ease;
}

.summary-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.card-icon {
  width: 70px;
  height: 70px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  flex-shrink: 0;
}

.pending-icon {
  background: linear-gradient(135deg, #ffd89b 0%, #ff8a00 100%);
}

.done-icon {
  background: linear-gradient(135deg, #84fab0 0%, #8fd3f4 100%);
}

.total-icon {
  background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.card-content {
  flex: 1;
}

.user-info-card .card-content h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #333;
  margin: 0 0 5px 0;
}

.card-subtitle {
  color: #666;
  font-size: 0.9rem;
  margin: 0 0 10px 0;
}

.info-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.info-label {
  font-size: 0.85rem;
  color: #888;
}

.info-value {
  font-size: 0.85rem;
  color: #333;
  font-weight: 600;
}

.stats-card .stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #667eea;
  margin: 0 0 5px 0;
  line-height: 1;
}

.stats-card .card-subtitle {
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  margin: 0 0 5px 0;
}

.stat-detail {
  font-size: 0.85rem;
  color: #888;
  margin: 0;
}

/* Removed filter and search styles */

/* Request Cards */
.requests-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.request-card {
  background: white;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.request-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.request-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-pending {
  background: linear-gradient(135deg, #ffd89b 0%, #19547b 100%);
  color: white;
}

.badge-done {
  background: linear-gradient(135deg, #84fab0 0%, #8fd3f4 100%);
  color: #0f5132;
}

/* Request Summary */
.request-summary-box {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: linear-gradient(135deg, #f5f7fa 0%, #e8f5f0 100%);
  border-radius: 15px;
  margin-bottom: 25px;
  border-left: 5px solid transparent;
}

.request-summary-box .status-indicator {
  padding: 10px 24px;
  border-radius: 25px;
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.status-pending {
  background: linear-gradient(135deg, #ffd89b 0%, #ff8a00 100%);
  color: white;
}

.status-done {
  background: linear-gradient(135deg, #84fab0 0%, #8fd3f4 100%);
  color: #0f5132;
}

.request-brief {
  flex: 1;
}

.request-brief .parent-name {
  margin: 0 0 8px 0;
  color: #333;
  font-size: 1.3rem;
  font-weight: 700;
}

/* Add vacancy section styles */
/* Childcare Page - Vacancy/Availability Section */
.sidebar-vacancy {
  background: white;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.sidebar-vacancy h3 {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 16px 0;
  padding-bottom: 12px;
  border-bottom: 2px solid #f0f0f0;
}

.vacancy-status {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 16px;
  font-weight: 600;
  font-size: 14px;
}

.vacancy-status.has-vacancy {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.vacancy-status.no-vacancy {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.vacancy-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse-green 2s infinite; /* Changed animation from 'pulse' to 'pulse-green' */
}

.vacancy-status.has-vacancy .vacancy-indicator {
  background: #10b981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
}

.vacancy-status.no-vacancy .vacancy-indicator {
  background: #ef4444;
}

.vacancy-age-groups {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vacancy-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
  transition: all 0.2s ease;
}

.vacancy-item.available {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.vacancy-item.unavailable {
  background: rgba(107, 114, 128, 0.08);
  border: 1px solid rgba(107, 114, 128, 0.15);
}

.vacancy-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.vacancy-item.available .vacancy-check {
  background: #10b981;
  color: white;
}

.vacancy-item.unavailable .vacancy-check {
  background: #d1d5db;
  color: #6b7280;
}

.vacancy-label {
  color: #374151;
  font-weight: 500;
}

.vacancy-item.unavailable .vacancy-label {
  color: #9ca3af;
}

.vacancy-updated {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #f0f0f0;
  font-size: 12px;
  color: #9ca3af;
  text-align: center;
}

/* Services Section Styles */
.services-section {
  background: #f9fafb;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
}

.services-section h2 {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 20px 0;
  padding-bottom: 12px;
  border-bottom: 2px solid #e5e7eb;
}

.services-group {
  margin-bottom: 20px;
}

.services-group:last-child {
  margin-bottom: 0;
}

.services-group h4 {
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  margin: 0 0 12px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.services-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.service-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.service-item.available {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.service-item.unavailable {
  background: rgba(107, 114, 128, 0.08);
  color: #9ca3af;
  border: 1px solid rgba(107, 114, 128, 0.15);
}

.service-check {
  font-weight: 700;
  font-size: 14px;
}

.service-item.available .service-check {
  color: #10b981;
}

.service-item.unavailable .service-check {
  color: #d1d5db;
}

.no-services {
  color: #6b7280;
  font-size: 13px;
  font-style: italic;
  margin: 0;
  padding: 10px 14px;
  background: rgba(107, 114, 128, 0.08);
  border-radius: 8px;
  border: 1px dashed rgba(107, 114, 128, 0.2);
  margin: 0;
  width: 100%;
}

/* Language tags */
.language-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.language-tag {
  display: inline-block;
  padding: 6px 12px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  font-size: 12px;
  font-weight: 600;
  border-radius: 20px;
}

.languages-description {
  font-size: 13px;
  color: #6b7280;
  margin-top: 8px;
}

/* Added no-languages style for empty state */
.no-languages {
  color: #6b7280;
  font-size: 13px;
  font-style: italic;
  margin: 0;
  padding: 10px 14px;
  background: rgba(107, 114, 128, 0.08);
  border-radius: 8px;
  border: 1px dashed rgba(107, 114, 128, 0.2);
  margin: 0;
}

.programs-description {
  font-size: 14px;
  color: #4b5563;
  line-height: 1.6;
  margin: 0;
}

/* Certification badges */
.certification-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.certification-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
}

.certification-badge.ccfri {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
}

.certification-badge.multi-location {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: white;
}

.certification-badge.incomplete {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: white;
}

.badge-icon {
  font-size: 14px;
}

.no-certifications {
  color: #6b7280;
  font-size: 13px;
  font-style: italic;
  margin: 0;
}

/* Responsive for services section */
@media (max-width: 768px) {
  .services-section {
    padding: 16px;
  }

  .services-tags {
    gap: 8px;
  }

  .service-item {
    padding: 8px 12px;
    font-size: 12px;
  }

  .certification-badge {
    padding: 8px 12px;
    font-size: 12px;
  }
}

/* Responsive gallery for mobile */
@media (max-width: 768px) {
  .photo-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .gallery-large {
    grid-column: span 2;
    grid-row: span 1;
  }
}

/* Redesigned sidebar-status section */
.sidebar-status {
  padding: 20px;
  background: white;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.sidebar-status h3 {
  margin: 0 0 16px 0;
  font-size: 16px;
  font-weight: 600;
  color: #1f2937;
}

.status-main-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 14px;
}

.status-main-badge .status-emoji {
  font-size: 20px;
  line-height: 1;
}

.status-main-badge.status-open {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  color: #059669;
  border: 1px solid #a7f3d0;
}

.status-main-badge.status-closed {
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  color: #dc2626;
  border: 1px solid #fecaca;
}

.today-hours-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #f8fafc;
  border-radius: 10px;
  margin-bottom: 14px;
  border: 1px solid #e2e8f0;
}

.today-hours-box .hours-icon {
  font-size: 22px;
  line-height: 1;
}

.today-hours-box .hours-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.today-hours-box .hours-label {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.today-hours-box .hours-value {
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
}

.status-stickers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.status-sticker {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.sticker-ccfri {
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
  color: #1e40af;
}

.sticker-vacancy {
  background: linear-gradient(135deg, #d1fae5, #a7f3d0);
  color: #065f46;
}

.sticker-ece {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  color: #92400e;
}

.sticker-special {
  background: linear-gradient(135deg, #ede9fe, #ddd6fe);
  color: #5b21b6;
}

.sticker-aboriginal {
  background: linear-gradient(135deg, #ffedd5, #fed7aa);
  color: #9a3412;
}

.sticker-elf {
  background: linear-gradient(135deg, #cffafe, #a5f3fc);
  color: #0e7490;
}

.sticker-rated {
  background: linear-gradient(135deg, #fef9c3, #fef08a);
  color: #a16207;
}

/* Remove old conflicting status-badges styles */
.status-badges {
  display: none;
}

.today-hours {
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid #f3f4f6;
  font-size: 14px;
  color: #4b5563;
}

.today-hours strong {
  color: #1f2937;
}

@keyframes pulse-green {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.1);
  }
}

/* CHILDCARE PAGE: ADD LOADING SPINNER STYLES */
.loading-spinner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.95);
  z-index: 9999;
}

.loading-spinner .spinner {
  width: 48px;
  height: 48px;
  border: 4px solid #e5e7eb;
  border-top-color: #1b94fc;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.loading-spinner p {
  margin-top: 16px;
  color: #6b7280;
  font-size: 14px;
  font-weight: 500;
}

/* Re-using the existing spin animation */
/* @keyframes spin {
  to {
    transform: rotate(360deg);
  }
} */

/* CHILDCARE PAGE: END LOADING SPINNER STYLES */

/* Single Post Page Styles */
.single-post-container {
  width: 100%;
  animation: fadeIn 0.5s ease-out;
}

.single-post-hero {
  position: relative;
  width: 100%;
  height: clamp(300px, 50vh, 500px);
  overflow: hidden;
}

.single-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.single-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.1) 100%);
  display: flex;
  align-items: flex-end;
  padding: 2rem;
}

.single-hero-content {
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
  color: white;
}

.single-post-header-simple {
  background: linear-gradient(135deg, #1b94fc 0%, #0d6efd 100%);
  padding: 4rem 2rem;
}

.single-post-header-simple .single-hero-content {
  text-align: center;
}

.single-category-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.single-category-badge:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.single-post-title {
  font-size: clamp(1.75rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  color: white;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.single-post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  opacity: 0.9;
}

.single-post-meta .meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: white;
}

.single-post-meta .meta-item svg {
  opacity: 0.8;
}

.single-post-wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

.single-post-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #374151;
}

.single-post-content p {
  margin-bottom: 1.5rem;
}

.single-post-content h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 2.5rem 0 1rem;
  color: #1f2937;
}

.single-post-content h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin: 2rem 0 0.75rem;
  color: #1f2937;
}

.single-post-content h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 1.5rem 0 0.5rem;
  color: #1f2937;
}

.single-post-content a {
  color: #1b94fc;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.single-post-content a:hover {
  color: #0d6efd;
}

.single-post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 2rem 0;
}

.single-post-content ul,
.single-post-content ol {
  margin: 1.5rem 0;
  padding-left: 1.5rem;
}

.single-post-content li {
  margin-bottom: 0.5rem;
}

.single-post-content blockquote {
  border-left: 4px solid #1b94fc;
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: #f0f9ff;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: #4b5563;
}

.single-post-content pre {
  background: #1f2937;
  color: #e5e7eb;
  padding: 1.5rem;
  border-radius: 8px;
  overflow-x: auto;
  margin: 2rem 0;
  font-size: 0.9rem;
}

.single-post-content code {
  background: #f3f4f6;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-size: 0.9em;
}

.single-post-content pre code {
  background: none;
  padding: 0;
}

/* Post Tags */
.post-tags {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 2rem 0;
  margin-top: 2rem;
  border-top: 1px solid #e5e7eb;
}

.post-tags svg {
  color: #6b7280;
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag-badge {
  display: inline-block;
  background: #f3f4f6;
  color: #4b5563;
  padding: 0.4rem 0.8rem;
  border-radius: 50px;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.tag-badge:hover {
  background: #1b94fc;
  color: white;
}

/* Post Navigation */
.post-navigation {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #e5e7eb;
}

.post-navigation .nav-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1.5rem;
  text-align: center;
}

.post-navigation .nav-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.nav-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.5rem;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.nav-card:hover {
  background: #f0f9ff;
  border-color: #1b94fc;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(27, 148, 252, 0.15);
}

.nav-card .nav-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #1b94fc;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav-card .nav-title-text {
  font-size: 1rem;
  font-weight: 600;
  color: #1f2937;
  line-height: 1.4;
}

.nav-prev {
  text-align: left;
}

.nav-next {
  text-align: right;
}

.nav-next .nav-label {
  justify-content: flex-end;
}

/* Mobile responsiveness for single post */
@media (max-width: 768px) {
  .single-post-hero {
    height: clamp(250px, 40vh, 350px);
  }

  .single-hero-overlay {
    padding: 1.5rem;
  }

  .single-post-meta {
    gap: 1rem;
  }

  .single-post-meta .meta-item {
    font-size: 0.8rem;
  }

  .single-post-wrapper {
    padding: 2rem 1rem 3rem;
  }

  .single-post-content {
    font-size: 1rem;
  }

  .post-navigation .nav-links {
    grid-template-columns: 1fr;
  }

  .nav-next {
    text-align: left;
  }

  .nav-next .nav-label {
    justify-content: flex-start;
  }

  .single-post-header-simple {
    padding: 3rem 1.5rem;
  }
}
