/* ==========================================================================
   Grooming Gallery - Page Specific Stylesheet
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. HERO SECTION & BLOB ANIMATIONS
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 8rem;
  overflow: hidden;
  background-color: var(--card-bg);
  border-bottom: 1px solid var(--border-color);
}

.home-hero {
  background-color: var(--bg-color) !important;
  border-bottom: none !important;
}

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

@media (max-width: 992px) {
  .hero {
    min-height: auto;
    padding-top: 7rem;
    padding-bottom: 4rem;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  .hero-image-container {
    order: -1;
  }
  .hero-image-wrapper img {
    height: 350px;
  }
  @media (max-width: 576px) {
    .hero-image-wrapper img {
      height: 260px;
    }
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary-light);
  color: var(--primary);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(20, 184, 166, 0.2);
}

.hero h1 {
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.75rem;
  }
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 550px;
}

@media (max-width: 992px) {
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
}

.hero-buttons {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 3rem;
}

@media (max-width: 992px) {
  .hero-buttons {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  .hero-buttons .btn {
    width: 100%;
    max-width: 300px;
  }
}

.hero-stats {
  display: flex;
  gap: 3rem;
}

@media (max-width: 992px) {
  .hero-stats {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .hero-stats {
    gap: 1.5rem 2rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  .hero-stat-item {
    flex: 0 1 auto;
    min-width: 100px;
  }
}

.hero-stat-item h3 {
  font-size: 2.25rem;
  color: var(--text-color);
  font-weight: 800;
  line-height: 1;
}

.hero-stat-item p {
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.hero-image-container {
  position: relative;
}

.hero-image-wrapper {
  position: relative;
  z-index: 2;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-luxury);
  border: 1px solid var(--glass-border);
}

.hero-image-wrapper img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.hero-image-wrapper:hover img {
  transform: scale(1.03);
}

/* Floating Blobs */
.bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  z-index: 1;
  opacity: 0.15;
  animation: floatBlob 20s infinite alternate;
}

[data-theme="dark"] .bg-blob {
  opacity: 0.1;
}

.blob-1 {
  width: 500px;
  height: 500px;
  background-color: var(--primary);
  top: -10%;
  right: -10%;
}

.blob-2 {
  width: 400px;
  height: 400px;
  background-color: var(--secondary);
  bottom: -10%;
  left: -10%;
  animation-delay: -5s;
}

@keyframes floatBlob {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(60px, -40px) scale(1.1);
  }
}

/* --------------------------------------------------------------------------
   2. FLOATING FEATURE CARDS (Home Page & general)
   -------------------------------------------------------------------------- */
.features-section {
  margin-top: -4rem;
  position: relative;
  z-index: 10;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 992px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  .features-section {
    margin-top: 2rem;
  }
}

.feature-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  padding: 1.75rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

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

.feature-icon-wrapper {
  background: var(--primary-light);
  color: var(--primary);
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon-wrapper svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.feature-content h4 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.feature-content p {
  font-size: 0.875rem;
}

/* --------------------------------------------------------------------------
   3. SERVICES PREVIEW & SERVICES PAGE FILTERING
   -------------------------------------------------------------------------- */
.services-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 4rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

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

@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.service-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

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

.service-img-wrapper {
  position: relative;
  height: 200px;
  overflow: hidden;
  background-color: #E2E8F0;
}

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

.service-card:hover .service-img-wrapper img {
  transform: scale(1.08);
}

.service-category-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid var(--glass-border);
}

.service-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-body-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.service-body h3 {
  font-size: 1.25rem;
}

.service-price {
  font-family: var(--font-headline);
  font-weight: 700;
  color: var(--secondary);
  font-size: 1.2rem;
}

.service-desc {
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.service-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
  margin-top: auto;
}

.service-duration {
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--text-muted);
}

.service-duration svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* Service Page Filters Sidebar Layout */
.services-layout-container {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
}

@media (max-width: 992px) {
  .services-layout-container {
    grid-template-columns: 1fr;
  }
}

.sidebar-sticky {
  position: sticky;
  top: 100px;
  align-self: start;
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.search-wrapper {
  position: relative;
  margin-bottom: 2rem;
}

.search-input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  border-radius: 50px;
  border: 1px solid var(--border-color);
  background-color: var(--bg-color);
  color: var(--text-color);
  transition: border-color var(--transition-fast);
}

.search-input:focus {
  border-color: var(--primary);
}

.search-wrapper svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  fill: var(--text-muted);
}

.filter-title {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.5rem;
}

.filter-categories {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.filter-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  background-color: transparent;
  border: 1px solid transparent;
  color: var(--text-color);
  cursor: pointer;
  text-align: left;
  transition: all var(--transition-fast);
}

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

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

.filter-count {
  font-size: 0.75rem;
  background-color: var(--border-color);
  padding: 0.2rem 0.5rem;
  border-radius: 50px;
  color: var(--text-color);
  transition: all var(--transition-fast);
}

.filter-btn.active .filter-count {
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
}

/* --------------------------------------------------------------------------
   4. BEFORE & AFTER IMAGE COMPARISON SLIDER
   -------------------------------------------------------------------------- */
.comparison-section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 3rem;
}

.comparison-wrapper {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-luxury);
  border: 1px solid var(--glass-border);
}

.comparison-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  user-select: none;
}

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

.comparison-before {
  z-index: 1;
}

.comparison-after {
  z-index: 2;
  width: 50%;
  overflow: hidden;
}

/* Adjust image widths inside container to prevent squishing */
.comparison-after img {
  position: absolute;
  top: 0;
  left: 0;
  width: 700px; /* Needs to match the comparison-wrapper max-width */
  max-width: none;
}

@media (max-width: 768px) {
  .comparison-after img {
    width: 100vw;
    max-width: 700px;
  }
}

.comparison-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background-color: var(--accent);
  z-index: 10;
  cursor: ew-resize;
  transform: translateX(-50%);
}

.comparison-handle-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background-color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1F2937;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: 2px solid white;
}

.comparison-handle-button svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.comparison-badge {
  position: absolute;
  bottom: 20px;
  background-color: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(4px);
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  z-index: 5;
}

.badge-before {
  right: 20px;
}

.badge-after {
  left: 20px;
  z-index: 6; /* Must overlay after clipping */
}

/* --------------------------------------------------------------------------
   5. TIMELINE / WHY CHOOSE US & STORY
   -------------------------------------------------------------------------- */
.timeline-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline-container::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background-color: var(--border-color);
  transform: translateX(-50%);
}

@media (max-width: 768px) {
  .timeline-container::before {
    left: 20px;
  }
}

.timeline-item {
  position: relative;
  margin-bottom: 4rem;
  width: 50%;
  padding-right: 3rem;
}

.timeline-item:nth-child(even) {
  align-self: flex-end;
  margin-left: auto;
  padding-right: 0;
  padding-left: 3rem;
}

@media (max-width: 768px) {
  .timeline-item, .timeline-item:nth-child(even) {
    width: 100%;
    padding-left: 3.5rem;
    padding-right: 0;
    margin-left: 0;
  }
}

.timeline-dot {
  position: absolute;
  top: 0;
  right: -9px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--bg-color);
  border: 4px solid var(--primary);
  z-index: 2;
  transition: all var(--transition-normal);
}

.timeline-item:nth-child(even) .timeline-dot {
  right: auto;
  left: -11px;
}

@media (max-width: 768px) {
  .timeline-dot, .timeline-item:nth-child(even) .timeline-dot {
    left: 10px;
    right: auto;
  }
}

.timeline-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal);
}

.timeline-card:hover {
  transform: scale(1.02);
}

.timeline-date {
  font-family: var(--font-headline);
  font-weight: 700;
  color: var(--secondary);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

/* --------------------------------------------------------------------------
   6. MASONRY GALLERY & LIGHTBOX
   -------------------------------------------------------------------------- */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.masonry-grid {
  columns: 4;
  column-gap: 1.5rem;
  width: 100%;
}

@media (max-width: 1200px) {
  .masonry-grid { columns: 3; }
}

@media (max-width: 768px) {
  .masonry-grid { columns: 2; }
}

@media (max-width: 480px) {
  .masonry-grid { columns: 1; }
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 1.5rem;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  border: 1px solid var(--border-color);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--transition-slow);
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.8) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay-title {
  color: white;
  font-family: var(--font-headline);
  font-weight: 600;
  font-size: 1.1rem;
}

.gallery-overlay-tag {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  justify-content: center;
  align-items: center;
}

.lightbox.active {
  display: flex;
  animation: fadeIn 0.3s ease-out;
}

.lightbox-content-wrapper {
  position: relative;
  max-width: 90%;
  max-height: 80%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: transform var(--transition-normal);
}

.lightbox-caption {
  color: white;
  font-family: var(--font-headline);
  font-size: 1.2rem;
  margin-top: 1.5rem;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 30px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: 0.5rem;
}

.lightbox-close svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.lightbox-nav:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.lightbox-nav svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.lightbox-prev {
  left: 30px;
}

.lightbox-next {
  right: 30px;
}

@media (max-width: 768px) {
  .lightbox-nav {
    display: none; /* Hide arrow nav on mobile, use swipe or touch */
  }
}

/* --------------------------------------------------------------------------
   7. BLOG HUB & DETAILS PAGE
   -------------------------------------------------------------------------- */
.blog-featured {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 4rem;
  transition: transform var(--transition-normal);
}

.blog-featured:hover {
  transform: translateY(-5px);
}

.blog-featured-img {
  height: 400px;
  overflow: hidden;
  background-color: #E2E8F0;
}

.blog-featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.blog-featured:hover .blog-featured-img img {
  transform: scale(1.03);
}

.blog-featured-body {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 992px) {
  .blog-featured {
    grid-template-columns: 1fr;
  }
  .blog-featured-img {
    height: 300px;
  }
  .blog-featured-body {
    padding: 2rem;
  }
}

.blog-meta-row {
  display: flex;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.blog-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.blog-meta-item svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.blog-featured-body h2 {
  font-size: 2rem;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.blog-tag {
  display: inline-block;
  background-color: var(--primary-light);
  color: var(--primary);
  padding: 0.2rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

/* Blog Sidebar layout */
.blog-layout-container {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 4rem;
}

@media (max-width: 992px) {
  .blog-layout-container {
    grid-template-columns: 1fr;
  }
}

.blog-grid-main {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

@media (max-width: 576px) {
  .blog-grid-main {
    grid-template-columns: 1fr;
  }
}

.blog-sidebar-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  padding: 2rem;
  border-radius: var(--radius-md);
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}

.blog-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag-cloud-btn {
  background-color: var(--bg-color);
  border: 1px solid var(--border-color);
  padding: 0.4rem 0.8rem;
  font-size: 0.8rem;
  border-radius: 50px;
  color: var(--text-color);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.tag-cloud-btn:hover {
  background-color: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* Blog Details Styling */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

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

.blog-header {
  margin-bottom: 3rem;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.blog-header h1 {
  font-size: 3rem;
  line-height: 1.15;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .blog-header h1 {
    font-size: 2.25rem;
  }
}

.blog-detail-hero-img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin-bottom: 4rem;
}

@media (max-width: 768px) {
  .blog-detail-hero-img {
    height: 300px;
    margin-bottom: 2.5rem;
  }
}

.blog-rich-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-color);
}

.blog-rich-text p {
  color: var(--text-color);
  margin-bottom: 1.75rem;
}

.blog-rich-text h2 {
  margin: 3rem 0 1.25rem;
  font-size: 1.8rem;
}

.blog-rich-text h3 {
  margin: 2.25rem 0 1rem;
  font-size: 1.4rem;
}

.blog-rich-text blockquote {
  border-left: 4px solid var(--primary);
  padding: 1rem 2rem;
  margin: 2.5rem 0;
  font-style: italic;
  background-color: var(--primary-light);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.blog-author-box {
  display: flex;
  gap: 1.5rem;
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  padding: 2rem;
  border-radius: var(--radius-md);
  margin-top: 4rem;
  box-shadow: var(--shadow-sm);
  align-items: center;
}

@media (max-width: 576px) {
  .blog-author-box {
    flex-direction: column;
    text-align: center;
  }
}

.author-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--border-color);
}

.author-info h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.author-info p {
  font-size: 0.9rem;
}

/* --------------------------------------------------------------------------
   8. CONTACT PAGE & LUXURY CONTACT FORM
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
}

@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.contact-info-card {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.info-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.info-icon {
  background-color: var(--primary-light);
  color: var(--primary);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(20, 184, 166, 0.2);
}

.info-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.info-details h4 {
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.info-details p {
  font-size: 0.95rem;
}

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

@media (max-width: 576px) {
  .contact-form {
    padding: 2rem;
  }
}

.form-group {
  margin-bottom: 1.75rem;
  position: relative;
}

.form-label {
  display: block;
  font-family: var(--font-headline);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

.form-input {
  width: 100%;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-color);
  background-color: var(--bg-color);
  color: var(--text-color);
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.form-input:focus {
  border-color: var(--primary);
  background-color: var(--card-bg);
}

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

.map-container {
  width: 100%;
  height: 450px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

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

/* Form success overlay */
.form-success-toast {
  position: fixed;
  bottom: 30px;
  left: 30px;
  background-color: var(--primary);
  color: white;
  padding: 1rem 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 1rem;
  transform: translateY(150%);
  transition: transform var(--transition-normal);
  z-index: 1002;
}

.form-success-toast.active {
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   9. ANIMS & TRANSITIONS
   -------------------------------------------------------------------------- */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.fade-in-up.active {
  opacity: 1;
  transform: translateY(0);
}

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

/* ==========================================================================
   Responsive Grid Systems & Text Alignment Override Utilities
   ========================================================================== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.groomers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

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

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

.services-page-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

@media (max-width: 992px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .mission-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }
  .groomers-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 450px;
    margin: 0 auto;
  }
  .split-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  .services-page-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .services-page-grid {
    grid-template-columns: 1fr;
  }
  .text-center-mobile {
    text-align: center !important;
  }
}

@media (max-width: 576px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .comment-form-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* ==========================================================================
   Videos Gallery Section Layout Styles
   ========================================================================== */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.video-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

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

.video-wrapper {
  position: relative;
  aspect-ratio: 9 / 16;
  background-color: #000;
  overflow: hidden;
  max-height: 580px;
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-info {
  padding: 1.25rem;
}

.video-info h3 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
  font-family: var(--font-headline);
  color: var(--text-color);
}

.video-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

@media (max-width: 992px) {
  .videos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .videos-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}


