/*
Theme Name: Isaac Recovery
Theme URI: 
Author: Antigravity
Author URI: 
Description: A mobile-first, highly-optimized WordPress theme for Isaac Recovery, featuring glassmorphism, emergency UX, and high conversion design.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: isaac-recovery
Tags: mobile-first, full-site-editing, custom-colors, custom-menu, featured-images, flexible-header, translation-ready

Isaac Recovery Theme
*/

/* ==========================================================================
   CSS Variables & Tokens
   ========================================================================== */
:root {
  /* Colors */
  --color-primary: #F5B900;
  /* Brand Action Yellow */
  --color-secondary: #ffcc00;
  /* Lighter Accent Yellow */
  --color-bg: #FFFFFF;
  /* White for content blocks */
  --color-text: #333333;
  /* Dark Gray for readable text */
  --color-cta: #F5B900;
  /* Button Action Yellow */
  --color-white: #ffffff;
  --color-dark: #1a1a1a;
  /* Almost Black Backgrounds */

  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.3);
  --glass-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  --glass-blur: blur(10px);

  /* Typography */
  --font-main: 'Figtree', sans-serif;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Layout */
  --container-width: 1200px;
  --header-height: 80px;
  --mobile-bar-height: 70px;
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-main);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  padding-bottom: var(--mobile-bar-height);
  /* For mobile sticky bar */
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
    /* Remove padding when desktop */
  }
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-secondary);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-main);
  font-weight: 700;
  margin-top: 0;
  color: var(--color-dark);
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   Home - Hero Section (Modern Black & Yellow)
   ========================================================================== */
.hero-modern {
  position: relative;
  background-image: url('assets/images/placeholder-towing.jpg');
  /* User should replace this with real image */
  background-size: cover;
  background-position: center;
  background-color: var(--color-dark);
  color: var(--color-white);
  padding: 160px 0 180px;
  /* Extra bottom padding for overlap */
  text-align: center;
  overflow: hidden;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  /* Darker smooth transparent layer */
  z-index: 1;
}

.hero-video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translateX(-50%) translateY(-50%);
  object-fit: cover;
  z-index: 0;
}

.hero-content-wrapper {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-title {
  font-size: clamp(2rem, 6vw, 4.5rem);
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 20px;
  line-height: 1.1;
  text-transform: uppercase;
}

.hero-title span {
  color: var(--color-primary);
  font-weight: 800;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.2rem);
  max-width: 600px;
  margin: 0 auto 40px;
  opacity: 0.9;
  letter-spacing: 0.5px;
}

.btn-hero-primary {
  background-color: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
  padding: 15px 40px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-hero-primary:hover {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-dark);
}

.btn-hero-whatsapp {
  display: flex; /* Robust centering */
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  flex-wrap: nowrap;
  font-size: clamp(1.1rem, 4vw, 1.4rem);
  font-weight: 800;
  padding: 18px 50px;
  margin: 0 0 20px 0; /* Align to start by default, avoid pushing flex siblings */
  background-color: #000000 !important;
  border: 4px solid #F5B900 !important;
  color: #F5B900 !important;
  white-space: nowrap;
  max-width: 100%;
  width: fit-content;
  border-radius: 60px;
  text-transform: none;
  animation: heartbeat 1.5s infinite ease-in-out;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(245, 185, 0, 0.2);
  line-height: 1;
}

.btn-hero-whatsapp:hover {
  background-color: #111111 !important;
  transform: scale(1.02);
  box-shadow: 0 0 20px rgba(245, 185, 0, 0.4);
}

@keyframes heartbeat {
  0% {
    transform: scale(1);
    box-shadow: 0 0 5px rgba(245, 185, 0, 0.4);
    border-color: #F5B900;
  }
  14% {
    transform: scale(1.05); /* First beat */
    box-shadow: 0 0 20px rgba(245, 185, 0, 0.8);
    border-color: #FFD700;
  }
  28% {
    transform: scale(1);
    box-shadow: 0 0 5px rgba(245, 185, 0, 0.4);
    border-color: #F5B900;
  }
  42% {
    transform: scale(1.05); /* Second beat */
    box-shadow: 0 0 20px rgba(245, 185, 0, 0.8);
    border-color: #FFD700;
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 5px rgba(245, 185, 0, 0.4);
    border-color: #F5B900;
  }
}

.btn-hero-whatsapp svg {
  display: block; /* Enabled for enhanced visual */
}

@media (min-width: 768px) {
  .btn-hero-whatsapp {
    padding: 15px 45px;
    gap: 10px;
  }
}

@media (max-width: 767px) {
  .hero-modern {
    height: 100vh;
    height: 100dvh;
    padding: 150px 0 0 !important; /* Clears floating header */
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Push content from top */
    align-items: center;
  }

  .hero-content-wrapper {
    margin: 0 auto;
    width: 100%;
    padding-bottom: 120px; /* Prevent overlap with vertical ribbon buttons */
  }

  .hero-title {
    font-size: clamp(2.2rem, 10vw, 3rem);
    margin-bottom: 15px !important;
  }

  .hero-subtitle {
    font-size: 1rem !important;
    margin-bottom: 20px !important;
    padding: 0 10px;
  }

  .hero-video-bg {
    width: 100%;
    height: 100%;
  }
}

/* Overlapping Contact Ribbon */
.hero-contact-ribbon {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  z-index: 10;
}

@media (max-width: 767px) {
  .hero-contact-ribbon {
    position: relative;
    margin-top: 0;
    transform: none;
    opacity: 1;
    visibility: visible;
  }
}

.ribbon-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 15px;
  flex: 1;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.ribbon-inner {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ribbon-yellow {
  background-color: var(--color-primary);
  color: var(--color-dark);
}

.ribbon-dark {
  background-color: #151515;
  color: var(--color-primary);
}

.ribbon-icon {
  font-size: 24px;
  margin-right: 12px;
  display: flex;
}

.ribbon-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.ribbon-label {
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 700;
  opacity: 0.9;
  margin-bottom: 2px;
}

.ribbon-value {
  font-size: 15px;
  font-weight: 800;
}

@media (min-width: 768px) {
  .hero-contact-ribbon {
    flex-direction: row;
  }

  .ribbon-item {
    padding: 25px 20px;
  }

  .ribbon-icon {
    font-size: 32px;
    margin-right: 15px;
  }

  .ribbon-label {
    font-size: 13px;
  }

  .ribbon-value {
    font-size: 18px;
  }

  .ribbon-left {
    clip-path: polygon(0 0, 100% 0, calc(100% - 30px) 100%, 0 100%);
  }

  .ribbon-center {
    clip-path: polygon(30px 0, 100% 0, calc(100% - 30px) 100%, 0 100%);
    margin-left: -30px;
  }

  .ribbon-right {
    clip-path: polygon(30px 0, 100% 0, 100% 100%, 0 100%);
    margin-left: -30px;
  }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: all var(--transition-normal);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-primary {
  background-color: var(--color-cta);
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(220, 88, 42, 0.4);
}

.btn-primary:hover {
  background-color: #c94c21;
  /* Slightly darker */
  box-shadow: 0 6px 20px rgba(220, 88, 42, 0.6);
  transform: translateY(-2px);
  color: var(--color-white);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

/* ==========================================================================
   Header (Glassmorphism)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 95%;
  max-width: var(--container-width);
  height: var(--header-height);
  background: rgba(26, 26, 26, 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
  border-radius: 40px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  background: rgba(26, 26, 26, 0.98);
}

@media (min-width: 768px) {
  .site-header {
    top: 20px;
    padding: 0 30px;
  }
}

.desktop-split-header {
  display: none;
}

@media (min-width: 992px) {
  .desktop-split-header {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    height: 100%;
    position: relative;
  }

  .absolute-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
  }

  .single-menu-centered {
    width: 100%;
  }

  .single-menu-centered ul,
  .single-menu-centered div>ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
  }

  /* Create a gap in the center for the logo by pushing the 4th item away from the 3rd */
  .single-menu-centered ul>li:nth-child(3) {
    margin-right: 220px;
  }

  .single-menu-centered ul li a {
    color: var(--color-white);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    transition: color var(--transition-fast);
  }

  .single-menu-centered ul li a:hover {
    color: var(--color-primary);
  }

  /* Dropdown Styles */
  .single-menu-centered ul li {
    position: relative;
  }

  .single-menu-centered ul .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 250px;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 15px 0;
    list-style: none;
    margin: 15px 0 0 -20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
  }

  .single-menu-centered ul li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .single-menu-centered ul .sub-menu li {
    margin: 0 !important;
    padding: 0;
    width: 100%;
  }

  .single-menu-centered ul .sub-menu li a {
    padding: 12px 25px;
    display: block;
    text-transform: none;
    font-size: 13px;
    color: rgba(255,255,255,0.8);
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
  }

  .single-menu-centered ul .sub-menu li a:hover {
    background: rgba(245, 185, 0, 0.1);
    color: var(--color-primary);
    border-left: 3px solid var(--color-primary);
    padding-left: 30px;
  }
}

.header-logo a {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-logo svg {
  height: 50px;
  width: auto;
  color: var(--color-primary);
}

.header-logo img {
  height: 50px;
  width: auto;
}


/* Header Avatar */
.header-avatar-container {
  position: relative;
  display: flex;
  align-items: center;
}

.header-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--color-primary);
  transition: all var(--transition-fast);
  cursor: pointer;
  padding: 0;
  margin-right: 15px;
}

.header-avatar:hover {
  background: var(--color-primary);
  color: var(--color-dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(245, 185, 0, 0.3);
}

.header-avatar svg {
  width: 22px;
  height: 22px;
}

/* Login Dropdown */
.login-dropdown {
  position: absolute;
  top: 100%;
  right: 15px;
  margin-top: 10px;
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  padding: 10px 0;
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 1100;
}

.login-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.login-dropdown a {
  display: block;
  padding: 12px 20px;
  color: var(--color-white);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
}

.login-dropdown a:hover {
  background: rgba(245, 185, 0, 0.1);
  color: var(--color-primary);
  border-left: 3px solid var(--color-primary);
}

/* Logout Button Specifics */
.logout-btn {
  color: #ff4d4d; /* Subtle red for logout */
  border-color: rgba(255, 77, 77, 0.3);
}

.logout-btn:hover {
  background: #ff4d4d;
  color: var(--color-white);
  border-color: #ff4d4d;
  box-shadow: 0 5px 15px rgba(255, 77, 77, 0.3);
}

@media (min-width: 992px) {
  .desktop-avatar-container {
    position: absolute;
    right: 0;
  }

  .desktop-avatar-container .login-dropdown {
    right: 0;
  }

  .header-avatar {
    margin-right: 0;
  }
}

/* Mobile Layout */
.mobile-header-panel {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
}

/* Desktop Layout Hidden by Default */
.desktop-split-header {
  display: none;
}

/* Mobile Menu Icon */
.mobile-menu-toggle {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  color: var(--color-primary);
}

.mobile-menu-toggle svg {
  width: 30px;
  height: 30px;
}

/* ==========================================================================
   Mobile Menu Overlay
   ========================================================================== */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(26, 26, 26, 0.98);
  /* Dark glass */
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* Anchor to top for 'open-down' expansion */
  align-items: center;
  padding: 120px 20px 80px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease-in-out;
  overflow-y: auto; /* Allow scrolling if menu is long */
}

.mobile-menu-overlay.active {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto;
}

.mobile-menu-overlay .close-btn {
  position: absolute;
  top: 30px;
  right: 30px;
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 40px;
  cursor: pointer;
  line-height: 1;
  transition: transform 0.3s ease;
}

.mobile-menu-overlay .close-btn:hover {
  transform: rotate(90deg) scale(1.1);
  color: var(--color-cta);
}

.mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
  width: 100%;
}

.mobile-nav-list li {
  margin-bottom: 25px;
  opacity: 0;
  transform: translateY(20px);
}

.mobile-menu-overlay.active .mobile-nav-list li {
  animation: slideUpFadeIn 0.5s ease forwards;
}

/* Stagger animations for list items */
.mobile-menu-overlay.active .mobile-nav-list li:nth-child(1) {
  animation-delay: 0.1s;
}

.mobile-menu-overlay.active .mobile-nav-list li:nth-child(2) {
  animation-delay: 0.2s;
}

.mobile-menu-overlay.active .mobile-nav-list li:nth-child(3) {
  animation-delay: 0.3s;
}

.mobile-menu-overlay.active .mobile-nav-list li:nth-child(4) {
  animation-delay: 0.4s;
}

.mobile-menu-overlay.active .mobile-nav-list li:nth-child(5) {
  animation-delay: 0.5s;
}

.mobile-menu-overlay.active .mobile-nav-list li:nth-child(6) {
  animation-delay: 0.6s;
}

.mobile-nav-list a {
  display: inline-block;
  font-size: clamp(24px, 6vw, 32px);
  font-weight: 700;
  color: var(--color-white);
  transition: color 0.3s ease, transform 0.3s ease;
}

/* Mobile Submenu Styles */
.mobile-nav-list .sub-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex !important;
  flex-direction: column;
  gap: 15px;
  max-height: 0; /* Smooth transition start */
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
  pointer-events: none;
}

.mobile-nav-list .menu-item-has-children.active > .sub-menu {
  max-height: 800px; /* Expands smoothly */
  opacity: 1;
  padding: 20px 0;
  pointer-events: auto;
}

.mobile-nav-list .menu-item-has-children {
  position: relative;
  display: flex;
  flex-direction: column;
}

.mobile-nav-list .menu-item-has-children > a {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  padding-right: 40px; /* Increased space for bigger arrow */
}

/* Bigger & More Visible Dropdown Toggle Arrow */
.dropdown-toggle {
  position: absolute;
  right: -30px; /* Position to the right of the centered text */
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; /* Bigger touch area */
  height: 44px;
  cursor: pointer;
  z-index: 10;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.dropdown-toggle svg {
  width: 24px; /* Bigger arrow */
  height: 24px;
  fill: var(--color-primary);
  pointer-events: none;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.mobile-nav-list .menu-item-has-children.active > .dropdown-toggle {
  transform: translateY(-50%) rotate(180deg);
}

.mobile-nav-list .sub-menu a {
  font-size: clamp(20px, 5vw, 24px) !important;
  opacity: 1 !important;
  color: var(--color-primary) !important; /* Yellow */
  font-weight: 700 !important;
}

.mobile-nav-list .sub-menu li {
  margin-bottom: 5px !important;
  transform: none !important;
  opacity: 1 !important;
}

.mobile-nav-list a:hover {
  color: var(--color-cta);
  transform: scale(1.05);
}

.mobile-menu-contact {
  margin-top: 50px;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
}

.mobile-menu-overlay.active .mobile-menu-contact {
  animation: slideUpFadeIn 0.5s ease forwards 0.5s;
}

.mobile-menu-contact p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
}

@keyframes slideUpFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Desktop Menu */
.desktop-menu {
  display: none;
}

@media (min-width: 992px) {
  .mobile-header-panel {
    display: none;
    /* Hide mobile toggles and mobile logo */
  }

  .desktop-split-header {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    position: relative;
  }

  .center-logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
  }

  .desktop-menu {
    display: block;
    flex: 1;
    /* allow menus to take up space equally */
  }

  .desktop-menu-left ul {
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: flex-end;
    /* Align right towards the logo */
    margin: 0;
    padding: 0;
    list-style: none;
    padding-right: 50px;
    /* Space from center logo */
  }

  .desktop-menu-right ul {
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: flex-start;
    /* Align left towards the logo */
    margin: 0;
    padding: 0;
    list-style: none;
    padding-left: 50px;
    /* Space from center logo */
  }

  .desktop-menu a {
    color: var(--color-white);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    transition: color var(--transition-fast);
  }

  .desktop-menu a:hover {
    color: var(--color-cta);
  }

  .mobile-menu-overlay {
    display: none !important;
  }
}

/* ==========================================================================
   Mobile Bottom Bar (Sticky)
   ========================================================================== */
.mobile-bottom-bar {
  position: fixed;
  bottom: 0px;
  left: 0;
  width: 100%;
  height: 70px;
  background: #ffc326; /* Specific yellow background */
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 999;
  padding: 0 10px;
  box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.15);
}

.mobile-bottom-bar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #000000; /* Solid black labels */
  font-size: 10px;
  font-weight: 700;
  gap: 4px;
  flex: 1;
  transition: all 0.3s ease;
}

.mobile-bottom-bar a svg {
  width: 24px;
  height: 24px;
  color: #000000; /* Solid black icons */
  transition: all 0.3s ease;
}

.mobile-bottom-bar a.active,
.mobile-bottom-bar a:hover {
  opacity: 0.7;
}

.mobile-bottom-bar a.active svg,
.mobile-bottom-bar a:hover svg {
  transform: translateY(-2px);
}

.mobile-bottom-bar .whatsapp-link {
  position: relative;
  background-color: transparent;
  width: 65px;
  height: 65px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex: none;
  z-index: 1000;
  margin: 0 auto;
  transition: all 0.3s ease;
}

.mobile-bottom-bar .whatsapp-link svg {
  color: #000000; /* Initial color */
  width: 45px;
  height: 45px;
  animation: whatsapp-flash 2s infinite; /* Flashing animation */
}

@keyframes whatsapp-flash {
  0%, 100% { color: #000000; transform: scale(1); }
  50% { color: #25D366; transform: scale(1.1); }
}

.mobile-bottom-bar .whatsapp-link:hover {
  transform: scale(1.1);
}

.mobile-bottom-bar .whatsapp-link span {
  display: none; /* No "WhatsApp" text */
}

@media (min-width: 768px) {
  .mobile-bottom-bar {
    display: none;
  }
}

/* ==========================================================================
   Utilities
   ========================================================================== */
.text-center {
  text-align: center;
}

.mt-1 {
  margin-top: 1rem;
}

.mb-1 {
  margin-bottom: 1rem;
}

.mt-2 {
  margin-top: 2rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

.mt-3 {
  margin-top: 3rem;
}

.mb-3 {
  margin-bottom: 3rem;
}

.mt-4 {
  margin-top: 4rem;
}

.mb-4 {
  margin-bottom: 4rem;
}

.mt-5 {
  margin-top: 5rem;
}

.mb-5 {
  margin-bottom: 5rem;
}

.section-padding {
  padding: 80px 0;
}

@media (max-width: 767px) {
  .section-padding {
    padding: 50px 0;
  }
}

/* ==========================================================================
   WhatsApp Fast Form Modal Styles
   ========================================================================== */
.wa-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.wa-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.wa-modal-container {
  background: var(--color-dark);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  width: 90%;
  max-width: 500px;
  padding: 30px;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  color: #fff;
  max-height: 90vh;
  overflow-y: auto;
}

.wa-modal-overlay.active .wa-modal-container {
  transform: translateY(0);
}

.wa-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wa-modal-close:hover {
  background: #ff4444;
  color: #fff;
}

.wa-modal-header h3 {
  margin-top: 0;
  color: #25D366;
  /* WhatsApp Green */
  font-size: 1.4rem;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
}

/* Progress Bar */
.wa-progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  margin-top: 15px;
  overflow: hidden;
}

.wa-progress-inner {
  height: 100%;
  background: #25D366;
  width: 0%;
  transition: width 0.4s ease;
}

.wa-modal-header p {
  font-size: 0.9rem;
  color: #aaa;
  margin-bottom: 20px;
}

/* Service Selection Grid */
.wa-service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 10px;
}

.service-card {
  cursor: pointer;
  position: relative;
}

.service-card input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.service-card .card-content {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 15px 10px;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  height: 100%;
}

.service-card:hover .card-content {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
}

.service-card input:checked + .card-content {
  background: rgba(37, 211, 102, 0.15);
  border-color: #25D366;
  box-shadow: 0 0 15px rgba(37, 211, 102, 0.2);
}

.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  color: var(--color-primary);
}

.card-icon svg {
  width: auto;
  height: 100%;
  max-width: 35px;
}

.card-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
}

@media (max-width: 768px) {
  .wa-service-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 480px) {
  .wa-service-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .card-icon { height: 28px; }
  .card-label { font-size: 0.7rem; }
}

/* Branching / Conditional Logic */
.branch-group {
  animation: slideInUp 0.4s ease-out;
}

@keyframes slideInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Multi-step Logic */
.wa-form-step {
  display: none;
}

.wa-form-step.active {
  display: block;
  animation: stepFadeIn 0.4s ease;
}

@keyframes stepFadeIn {
  from { opacity: 0; filter: blur(5px); }
  to { opacity: 1; filter: blur(0); }
}

.step-title {
  margin: 0 0 20px 0;
  color: #25D366;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.wa-form-row {
  display: flex;
  gap: 15px;
}

.wa-form-row .wa-form-group {
  flex: 1;
}

.wa-form-group {
  margin-bottom: 20px;
}

.wa-form-group label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 8px;
  color: #aaa;
  font-weight: 500;
}

.wa-form-group input,
.wa-form-group select {
  width: 100%;
  padding: 14px 15px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  font-size: 1rem;
  transition: all 0.2s;
}

.wa-form-group input:focus,
.wa-form-group select:focus {
  outline: none;
  border-color: #25D366;
  background: rgba(0, 0, 0, 0.6);
  box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.1);
}

/* Footer Buttons */
.wa-modal-footer {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.wa-back-btn {
  background: transparent;
  color: #aaa;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 25px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s;
}

.wa-back-btn:hover {
  border-color: #fff;
  color: #fff;
}

.wa-next-btn {
  background: #25D366;
  color: #fff;
  border: none;
  padding: 12px 35px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
  margin-left: auto;
  transition: transform 0.2s, background 0.2s;
}

.wa-next-btn:hover {
  background: #20bd5a;
  transform: translateY(-2px);
}

.wa-submit-btn,
.wa-submit-btn-real {
  background: #25D366;
  color: #fff;
  border: none;
  padding: 14px 20px;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex: 1;
  text-decoration: none;
}

.wa-submit-btn:hover,
.wa-submit-btn-real:hover {
  background: #20bd5a;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.wa-deposit-warning {
  background: rgba(255, 193, 7, 0.05);
  border: 1px dashed rgba(255, 193, 7, 0.3);
  padding: 15px;
  border-radius: 12px;
  font-size: 0.9rem;
  line-height: 1.4;
  color: #ffc107;
  text-align: center;
  margin-top: 10px;
}

@media (max-width: 576px) {
  .wa-service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .wa-form-row {
    flex-direction: column;
    gap: 0;
  }
}

/* ==========================================================================
   Mobile Refinements (Global)
   ========================================================================== */
@media (max-width: 768px) {
  .btn-hero-whatsapp {
    padding: 15px 20px !important;
    width: 100% !important;
    max-width: 280px;
    margin-left: auto !important;
    margin-right: auto !important;
    font-size: 1.05rem !important;
  }

  .location-hero, .service-hero {
    padding: 100px 0 50px !important;
  }

  .hero-title, .location-hero h1, .service-hero h1 {
    font-size: clamp(1.8rem, 8vw, 2.4rem) !important;
    letter-spacing: -1px !important;
    word-break: break-word !important;
  }

  .local-info-grid {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }

  .local-trust-card {
    padding: 25px 20px !important;
    border-radius: 20px !important;
  }
  
  .location-content-inner {
      grid-template-columns: 1fr !important;
      gap: 30px !important;
  }
  
  .strategic-cta {
      padding: 50px 20px !important;
      border-radius: 25px !important;
      margin-top: 50px !important;
  }
}