/* =========================================
   CSS Custom Properties (Brand Palette)
   ========================================= */
:root {
  --color-primary: #0B6E4F;
  --color-primary-dark: #064632;
  --color-accent: #F2C14E;
  --color-text: #1A1A1A;
  --color-text-light: #555555;
  --color-bg: #FAFAFA;
  --color-bg-alt: #F0F4F2;
}
/* =========================================
   Global & Base Styles
   ========================================= */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
/* =========================================
   Keyframe Animations
   ========================================= */
@keyframes pulse-whatsapp {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* =========================================
   Sticky Header
   ========================================= */
.site-header {
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  background-color: transparent;
}
.site-header.scrolled {
  background-color: var(--color-bg);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
/* =========================================
   Floating WhatsApp Button
   ========================================= */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 100;
  animation: pulse-whatsapp 2s infinite;
  transition: transform 0.2s ease;
  text-decoration: none;
}
.whatsapp-float:hover {
  transform: scale(1.1);
}
/* =========================================
   Mobile Menu & Hamburger
   ========================================= */
.hamburger-btn {
  display: block;
  cursor: pointer;
  z-index: 60;
}
.mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 40;
}
.mobile-menu-backdrop.active {
  opacity: 1;
  visibility: visible;
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background-color: var(--color-bg);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 50;
  padding: 5rem 2rem 2rem;
  box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
  overflow-y: auto;
}
.mobile-menu.active {
  transform: translateX(0);
}
/* =========================================
   Service Cards
   ========================================= */
.service-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
/* =========================================
   Testimonials & Star Ratings
   ========================================= */
.star-rating {
  color: var(--color-accent);
  font-size: 1.25rem;
  letter-spacing: 0.1em;
  line-height: 1;
}
/* =========================================
   Form Inputs (Accessible Focus States)
   ========================================= */
.form-input {
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  border: 2px solid #e5e7eb;
  background-color: #ffffff;
}
.form-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(11, 110, 79, 0.2);
}
/* =========================================
   Scroll Animations (Fade In Up)
   ========================================= */
.scroll-animate {
  opacity: 0;
}
.scroll-animate.animated {
  animation: fadeInUp 0.8s ease forwards;
}
/* =========================================
   Media Queries (Mobile First)
   ========================================= */
/* Small devices (640px and up) */
@media (min-width: 640px) {
  .whatsapp-float {
    width: 64px;
    height: 64px;
    font-size: 36px;
  }
}
/* Medium devices (768px and up) */
@media (min-width: 768px) {
  .mobile-menu {
    max-width: 400px;
  }
}
/* Large devices (1024px and up) */
@media (min-width: 1024px) {
  .hamburger-btn {
    display: none;
  }
  .mobile-menu,
  .mobile-menu-backdrop {
    display: none;
  }
}
/* =========================================
   Accessibility: Reduced Motion
   ========================================= */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .scroll-animate {
    opacity: 1;
    transform: none;
  }
  .whatsapp-float {
    animation: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }
}