/* ==========================================================================
   All American Spa Repair Services - Component Library
   Reusable UI components for conversion-optimized design
   ========================================================================== */

/* ==========================================================================
   Top Promotional Banner
   ========================================================================== */

.top-banner {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
  color: var(--color-secondary);
  padding: var(--space-3) 0;
  position: sticky;
  top: 0;
  z-index: 10001; /* Above header */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.top-banner-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  flex-wrap: wrap;
  text-align: center;
}

.top-banner-label {
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.9;
}

.top-banner-offer {
  font-size: var(--text-lg);
  font-weight: var(--font-extrabold);
  letter-spacing: 0.02em;
}

.top-banner-highlight {
  font-size: var(--text-2xl);
  padding: 0 var(--space-2);
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  display: inline-block;
  margin-right: var(--space-1);
}

.top-banner-details {
  font-size: var(--text-base);
  opacity: 0.95;
}

.top-banner-phone {
  color: var(--color-secondary);
  font-weight: var(--font-bold);
  text-decoration: underline;
  transition: opacity var(--transition-fast);
}

.top-banner-phone:hover {
  opacity: 0.8;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .top-banner {
    padding: var(--space-2) 0;
  }

  .top-banner-content {
    flex-direction: column;
    gap: var(--space-2);
  }

  .top-banner-label {
    font-size: var(--text-xs);
  }

  .top-banner-offer {
    font-size: var(--text-base);
  }

  .top-banner-highlight {
    font-size: var(--text-lg);
  }

  .top-banner-details {
    font-size: var(--text-sm);
  }
}

/* ==========================================================================
   Navigation Components
   ========================================================================== */

/* Main Header */
.site-header {
  background-color: var(--color-secondary);
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  border-bottom: 3px solid var(--color-primary);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-4);
  padding-bottom: var(--space-4);
}

/* Logo */
.site-logo {
  font-size: var(--text-2xl);
  font-weight: var(--font-extrabold);
  color: var(--color-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  transition: transform var(--transition-fast);
}

.site-logo:hover {
  color: var(--color-primary-dark);
  transform: scale(1.02);
}

.logo-image {
  height: 80px;
  width: auto;
  display: block;
  transition: transform var(--transition-base);
}

/* Mobile logo sizing */
@media (max-width: 640px) {
  .logo-image {
    height: 60px;
  }
}

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

/* Navigation */
.main-nav {
  display: none; /* Hidden on mobile, shown via media queries */
}

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  color: var(--color-gray-700);
  font-weight: var(--font-medium);
  font-size: var(--text-base);
  padding: var(--space-2) var(--space-3);
  display: block;
  transition: color var(--transition-fast);
}

.nav-link:hover,
.nav-link:focus {
  color: var(--color-primary);
}

.nav-link.active {
  color: var(--color-primary);
  font-weight: var(--font-semibold);
}

/* Dropdown Menu */
.nav-dropdown {
  position: relative;
}

.dropdown-toggle::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: var(--space-2);
  vertical-align: middle;
  border-top: 4px solid currentColor;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--color-secondary);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-lg);
  padding: var(--space-2);
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--transition-base);
  z-index: var(--z-dropdown);
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: var(--space-3) var(--space-4);
  color: var(--color-gray-700);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.dropdown-item:hover,
.dropdown-item:focus {
  background-color: var(--color-gray-50);
  color: var(--color-primary);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
  color: var(--color-gray-700);
}

.mobile-menu-toggle:hover {
  color: var(--color-primary);
}

.hamburger {
  display: block;
  width: 24px;
  height: 2px;
  background-color: currentColor;
  position: relative;
  transition: background-color var(--transition-base);
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: currentColor;
  transition: transform var(--transition-base);
}

.hamburger::before {
  top: -8px;
}

.hamburger::after {
  bottom: -8px;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger {
  background-color: transparent;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger::before {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger::after {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Navigation */
.mobile-nav {
  display: none;
  background-color: var(--color-secondary);
  border-top: 1px solid var(--color-gray-200);
  padding: var(--space-4);
}

.mobile-nav.active {
  display: block;
}

.mobile-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav-item {
  border-bottom: 1px solid var(--color-gray-100);
}

.mobile-nav-link {
  display: block;
  padding: var(--space-4);
  color: var(--color-gray-700);
  font-weight: var(--font-medium);
}

.mobile-nav-link:hover {
  color: var(--color-primary);
  background-color: var(--color-gray-50);
}

/* ==========================================================================
   Hero Section - Premium Design (Hero-Overlay Compatible)
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh; /* Full viewport height */
  display: flex;
  align-items: center;
  background-color: var(--color-primary-dark);
  overflow: hidden;
  padding-top: 120px; /* Space for overlaid header (reduced since no utility bar) */
  margin-top: 0; /* Extends to top of page */
}

/* Hero Video Background */
.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}

/* Hero Background Overlay */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.92) 0%, rgba(30, 64, 175, 0.85) 50%, rgba(30, 58, 138, 0.92) 100%);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: var(--space-16) 0;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: var(--font-extrabold);
  color: var(--color-secondary);
  margin-bottom: var(--space-6);
  line-height: var(--leading-tight);
  letter-spacing: -0.02em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--color-aqua-light);
  margin-bottom: var(--space-8);
  line-height: var(--leading-relaxed);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
  align-items: center;
}

/* Promotional Cards (Below Hero) */
.promo-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
  margin-top: calc(-1 * var(--space-16));
  padding-bottom: var(--space-8);
}

.promo-card {
  background-color: var(--color-secondary);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  transition: all var(--transition-base);
  position: relative;
  z-index: 3;
}

.promo-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}

.promo-card-navy {
  border-top: 4px solid var(--color-primary);
}

.promo-card-aqua {
  border-top: 4px solid var(--color-aqua);
}

.promo-card-red {
  border-top: 4px solid var(--color-accent);
}

.promo-card-icon {
  font-size: var(--text-5xl);
  margin-bottom: var(--space-4);
}

.promo-card-title {
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  color: var(--color-gray-900);
  margin-bottom: var(--space-3);
}

.promo-card-text {
  color: var(--color-gray-600);
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
}

/* ==========================================================================
   Button Components
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4) var(--space-6);
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  line-height: 1;
  text-align: center;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
  box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.3);
}

/* Primary Button */
.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-secondary);
  border-color: var(--color-primary);
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Emergency/Accent Button */
.btn-emergency {
  background-color: var(--color-accent);
  color: var(--color-secondary);
  border-color: var(--color-accent);
  font-weight: var(--font-bold);
  animation: pulse 2s infinite;
}

.btn-emergency:hover {
  background-color: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(220, 38, 38, 0);
  }
}

/* Outline Button */
.btn-outline {
  background-color: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-outline:hover {
  background-color: var(--color-primary);
  color: var(--color-secondary);
  transform: translateY(-2px);
}

/* White Button (for dark backgrounds) */
.btn-white {
  background-color: var(--color-secondary);
  color: var(--color-primary);
  border-color: var(--color-secondary);
}

.btn-white:hover {
  background-color: var(--color-gray-100);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Aqua Button (Brand Accent) */
.btn-aqua {
  background-color: var(--color-aqua);
  color: var(--color-secondary);
  border-color: var(--color-aqua);
  font-weight: var(--font-semibold);
}

.btn-aqua:hover {
  background-color: var(--color-aqua-dark);
  border-color: var(--color-aqua-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-aqua);
}

/* Aqua Outline Button */
.btn-outline-aqua {
  background-color: transparent;
  color: var(--color-aqua);
  border-color: var(--color-aqua);
}

.btn-outline-aqua:hover {
  background-color: var(--color-aqua);
  color: var(--color-secondary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-aqua);
}

/* Button Sizes */
.btn-sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
}

.btn-lg {
  padding: var(--space-5) var(--space-8);
  font-size: var(--text-lg);
}

.btn-xl {
  padding: var(--space-6) var(--space-10);
  font-size: var(--text-xl);
}

/* Full Width Button */
.btn-block {
  display: flex;
  width: 100%;
}

/* Click to Call Button */
.btn-call {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.btn-call::before {
  content: '\260E'; /* Phone icon */
  font-size: var(--text-xl);
}

/* Click to Text Button */
.btn-text {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background-color: var(--color-aqua);
  color: var(--color-secondary);
  border-color: var(--color-aqua);
}

.btn-text:hover {
  background-color: var(--color-aqua-dark);
  border-color: var(--color-aqua-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-text::before {
  content: '\1F4AC'; /* Speech bubble emoji */
  font-size: var(--text-xl);
}

/* Dual CTA Container */
.dual-cta {
  display: flex;
  gap: var(--space-3);
  align-items: center;
  flex-wrap: wrap;
}

.cta-divider {
  color: var(--color-gray-400);
  font-weight: var(--font-semibold);
  font-size: var(--text-sm);
}

/* ==========================================================================
   Card Components
   ========================================================================== */

.card {
  background-color: var(--color-secondary);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.card:hover {
  box-shadow: var(--shadow-2xl);
  transform: translateY(-8px);
}

.card-image {
  width: 100%;
  height: auto;
  display: block;
}

.card-header {
  padding: var(--space-6);
  border-bottom: 1px solid var(--color-gray-100);
}

.card-body {
  padding: var(--space-6);
}

.card-footer {
  padding: var(--space-6);
  border-top: 1px solid var(--color-gray-100);
  background-color: var(--color-gray-50);
}

.card-title {
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  margin-bottom: var(--space-3);
  color: var(--color-gray-900);
}

.card-text {
  color: var(--color-gray-600);
  margin-bottom: var(--space-4);
}

/* Service Card - Premium Design */
.service-card {
  text-align: center;
  padding: var(--space-8);
  background-color: var(--color-secondary);
  border-radius: var(--radius-xl);
  box-shadow:
    0 10px 30px -5px rgba(30, 64, 175, 0.15),
    0 0 0 1px rgba(30, 64, 175, 0.05),
    0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(30, 64, 175, 0.08);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: left 0.6s ease;
}

.service-card:hover::before {
  left: 100%;
}

.service-card:hover {
  box-shadow:
    0 20px 50px -10px rgba(30, 64, 175, 0.25),
    0 0 0 1px rgba(30, 64, 175, 0.1),
    0 8px 30px rgba(0, 0, 0, 0.12),
    0 0 40px rgba(6, 182, 212, 0.15);
  transform: translateY(-12px) scale(1.02);
  border-color: rgba(6, 182, 212, 0.2);
}

/* Service Icon Variants */
.service-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto var(--space-4);
  background-color: var(--color-primary);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-secondary);
  font-size: var(--text-3xl);
  transition: all var(--transition-base);
  box-shadow: 0 4px 12px rgba(30, 64, 175, 0.2);
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 20px rgba(30, 64, 175, 0.3);
}

/* Brand Color Icon Variants */
.service-icon-navy {
  background-color: var(--color-primary);
}

.service-icon-red {
  background-color: var(--color-accent);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.2);
}

.service-card:hover .service-icon-red {
  box-shadow: 0 8px 20px rgba(220, 38, 38, 0.3);
}

.service-icon-aqua {
  background-color: var(--color-aqua);
  box-shadow: 0 4px 12px rgba(96, 165, 250, 0.2);
}

.service-card:hover .service-icon-aqua {
  box-shadow: 0 8px 20px rgba(96, 165, 250, 0.3);
}

/* Border Accent Variants for Service Cards */
.service-card-primary {
  border-top: 4px solid var(--color-primary);
}

.service-card-accent {
  border-top: 4px solid var(--color-accent);
}

.service-card-aqua {
  border-top: 4px solid var(--color-aqua);
}

/* Location Card */
.location-card {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: var(--color-secondary);
  padding: var(--space-8);
}

.location-card .card-title {
  color: var(--color-secondary);
}

.location-card .card-text {
  color: rgba(255, 255, 255, 0.9);
}

/* Testimonial Card */
.testimonial-card {
  position: relative;
  padding: var(--space-8);
  background-color: var(--color-gray-50);
}

.testimonial-quote {
  font-size: var(--text-lg);
  font-style: italic;
  color: var(--color-gray-700);
  margin-bottom: var(--space-6);
  line-height: var(--leading-relaxed);
}

.testimonial-quote::before {
  content: '\201C';
  font-size: var(--text-5xl);
  color: var(--color-primary);
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  opacity: 0.3;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background-color: var(--color-primary);
  color: var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--font-bold);
  font-size: var(--text-lg);
}

.testimonial-info {
  flex: 1;
}

.testimonial-name {
  font-weight: var(--font-semibold);
  color: var(--color-gray-900);
  margin-bottom: var(--space-1);
}

.testimonial-location {
  font-size: var(--text-sm);
  color: var(--color-gray-600);
}

/* ==========================================================================
   Form Components
   ========================================================================== */

.form-group {
  margin-bottom: var(--space-6);
}

.form-label {
  display: block;
  font-weight: var(--font-medium);
  color: var(--color-gray-700);
  margin-bottom: var(--space-2);
  font-size: var(--text-base);
}

.form-label.required::after {
  content: '*';
  color: var(--color-accent);
  margin-left: var(--space-1);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: var(--space-4);
  font-size: var(--text-base);
  color: var(--color-gray-900);
  background-color: var(--color-secondary);
  border: 2px solid var(--color-gray-300);
  border-radius: var(--radius-lg);
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--color-gray-400);
}

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

.form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236B7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3E%3C/svg%3E");
  background-position: right var(--space-4) center;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em;
  padding-right: var(--space-10);
}

.form-checkbox,
.form-radio {
  width: 18px;
  height: 18px;
  cursor: pointer;
  margin-right: var(--space-2);
}

.form-helper {
  display: block;
  font-size: var(--text-sm);
  color: var(--color-gray-500);
  margin-top: var(--space-2);
}

.form-error {
  display: block;
  font-size: var(--text-sm);
  color: var(--color-accent);
  margin-top: var(--space-2);
}

.form-input.error,
.form-textarea.error,
.form-select.error {
  border-color: var(--color-accent);
}

/* Contact Form */
.contact-form {
  background-color: var(--color-secondary);
  padding: var(--space-8);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

/* Quote Request Form */
.quote-form {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  padding: var(--space-8);
  border-radius: var(--radius-xl);
  color: var(--color-secondary);
}

.quote-form .form-label {
  color: var(--color-secondary);
}

.quote-form .form-input,
.quote-form .form-textarea,
.quote-form .form-select {
  background-color: rgba(255, 255, 255, 0.9);
}

/* ==========================================================================
   Hero Components
   ========================================================================== */

.hero {
  position: relative;
  padding: var(--space-20) 0;
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 50%, var(--color-primary-light) 100%);
  color: var(--color-secondary);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(30deg, rgba(30, 64, 175, 0.1) 12%, transparent 12.5%, transparent 87%, rgba(30, 64, 175, 0.1) 87.5%, rgba(30, 64, 175, 0.1)),
    linear-gradient(150deg, rgba(30, 64, 175, 0.1) 12%, transparent 12.5%, transparent 87%, rgba(30, 64, 175, 0.1) 87.5%, rgba(30, 64, 175, 0.1));
  background-size: 80px 140px;
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-title {
  font-size: var(--text-4xl);
  font-weight: var(--font-extrabold);
  color: var(--color-secondary);
  margin-bottom: var(--space-6);
  line-height: var(--leading-tight);
}

.hero-subtitle {
  font-size: var(--text-xl);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-8);
  line-height: var(--leading-relaxed);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

/* ==========================================================================
   Badge Components
   ========================================================================== */

.badge {
  display: inline-flex;
  align-items: center;
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.badge-primary {
  background-color: var(--color-primary);
  color: var(--color-secondary);
}

.badge-success {
  background-color: var(--color-success);
  color: var(--color-secondary);
}

.badge-warning {
  background-color: var(--color-warning);
  color: var(--color-secondary);
}

.badge-accent {
  background-color: var(--color-accent);
  color: var(--color-secondary);
}

/* Trust Badge */
.trust-badge {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4);
  background-color: var(--color-gray-50);
  border-radius: var(--radius-lg);
  border: 2px solid var(--color-gray-200);
}

.trust-badge-icon {
  font-size: var(--text-3xl);
  color: var(--color-primary);
}

.trust-badge-text {
  flex: 1;
}

.trust-badge-title {
  font-weight: var(--font-semibold);
  color: var(--color-gray-900);
  margin-bottom: var(--space-1);
}

.trust-badge-description {
  font-size: var(--text-sm);
  color: var(--color-gray-600);
}

/* ==========================================================================
   Alert Components
   ========================================================================== */

.alert {
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  border-left: 4px solid;
  margin-bottom: var(--space-4);
}

.alert-info {
  background-color: rgba(2, 132, 199, 0.1);
  border-color: var(--color-info);
  color: var(--color-info);
}

.alert-success {
  background-color: rgba(5, 150, 105, 0.1);
  border-color: var(--color-success);
  color: var(--color-success);
}

.alert-warning {
  background-color: rgba(217, 119, 6, 0.1);
  border-color: var(--color-warning);
  color: var(--color-warning);
}

.alert-error {
  background-color: rgba(220, 38, 38, 0.1);
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* ==========================================================================
   Footer Components
   ========================================================================== */

.site-footer {
  background-color: var(--color-gray-900);
  color: var(--color-gray-300);
  padding: var(--space-16) 0 var(--space-8);
}

.footer-top {
  display: grid;
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}

.footer-column h3 {
  color: var(--color-secondary);
  font-size: var(--text-lg);
  margin-bottom: var(--space-4);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-link {
  color: var(--color-gray-400);
  padding: var(--space-2) 0;
  display: block;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--color-primary-light);
}

.footer-bottom {
  border-top: 1px solid var(--color-gray-800);
  padding-top: var(--space-6);
  text-align: center;
  color: var(--color-gray-500);
  font-size: var(--text-sm);
}

/* Contact Info in Footer */
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--color-gray-400);
}

.footer-contact-icon {
  color: var(--color-primary-light);
  font-size: var(--text-xl);
}

/* ==========================================================================
   Section Headers
   ========================================================================== */

.section-header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.section-subtitle {
  color: var(--color-primary);
  font-weight: var(--font-semibold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: var(--text-sm);
  margin-bottom: var(--space-2);
}

.section-title {
  font-size: var(--text-4xl);
  font-weight: var(--font-extrabold);
  color: var(--color-gray-900);
  margin-bottom: var(--space-4);
}

.section-description {
  font-size: var(--text-lg);
  color: var(--color-gray-600);
  max-width: 700px;
  margin: 0 auto;
}

/* ==========================================================================
   Grid Layouts
   ========================================================================== */

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

.grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

/* ==========================================================================
   Loading States
   ========================================================================== */

.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid var(--color-gray-300);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

/* ==========================================================================
   Dividers
   ========================================================================== */

.divider {
  height: 1px;
  background-color: var(--color-gray-200);
  margin: var(--space-8) 0;
}

.divider-thick {
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
}

/* ==========================================================================
   Exit-Intent Popup - Lead Recovery
   ========================================================================== */

.exit-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.75);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  animation: fadeIn 0.3s ease-in-out;
}

.exit-popup-overlay.active {
  display: flex;
}

.exit-popup {
  background-color: var(--color-secondary);
  border-radius: var(--radius-2xl);
  max-width: 600px;
  width: 100%;
  position: relative;
  box-shadow: var(--shadow-2xl);
  animation: slideUp 0.4s ease-out;
  overflow: hidden;
}

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

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

.exit-popup-header {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: var(--color-secondary);
  padding: var(--space-8);
  text-align: center;
  position: relative;
}

.exit-popup-close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  background-color: rgba(255, 255, 255, 0.2);
  border: none;
  color: var(--color-secondary);
  font-size: var(--text-2xl);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  line-height: 1;
}

.exit-popup-close:hover {
  background-color: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.exit-popup-icon {
  font-size: var(--text-5xl);
  margin-bottom: var(--space-3);
}

.exit-popup-title {
  font-size: var(--text-3xl);
  font-weight: var(--font-extrabold);
  margin-bottom: var(--space-2);
  line-height: var(--leading-tight);
  color: white !important;
}

.exit-popup-subtitle {
  font-size: var(--text-lg);
  opacity: 0.95;
  font-weight: var(--font-medium);
  color: white !important;
}

.exit-popup-body {
  padding: var(--space-8);
}

.exit-popup-offer {
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
  border: 2px dashed var(--color-aqua);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  text-align: center;
  margin-bottom: var(--space-6);
}

.exit-popup-offer-text {
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}

.exit-popup-offer-subtext {
  color: var(--color-gray-600);
  font-size: var(--text-base);
}

.exit-popup-cta {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.exit-popup-btn {
  width: 100%;
  padding: var(--space-4) var(--space-6);
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  border-radius: var(--radius-lg);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
}

.exit-popup-btn-primary {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
  color: var(--color-secondary);
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

.exit-popup-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
}

.exit-popup-btn-secondary {
  background-color: var(--color-gray-100);
  color: var(--color-gray-700);
}

.exit-popup-btn-secondary:hover {
  background-color: var(--color-gray-200);
}

.exit-popup-no-thanks {
  text-align: center;
  margin-top: var(--space-4);
}

.exit-popup-no-thanks button {
  background: none;
  border: none;
  color: var(--color-gray-500);
  font-size: var(--text-sm);
  cursor: pointer;
  text-decoration: underline;
  padding: var(--space-2);
}

.exit-popup-no-thanks button:hover {
  color: var(--color-gray-700);
}

/* Mobile responsive */
@media (max-width: 640px) {
  .exit-popup {
    margin: var(--space-4);
  }

  .exit-popup-header,
  .exit-popup-body {
    padding: var(--space-6);
  }

  .exit-popup-title {
    font-size: var(--text-2xl);
  }

  .exit-popup-offer-text {
    font-size: var(--text-xl);
  }
}

/* ==========================================================================
   Overlapping Google Reviews Widget
   ========================================================================== */

.google-reviews-section {
  margin-top: -80px; /* Pulls the section up */
  position: relative;
  z-index: 10;
}

.reviews-widget {
  background: white;
  border-radius: 20px;
  padding: 2.5rem;
  /* A more pronounced shadow to create depth */
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); 
  max-width: 800px;
  margin: 0 auto;
}

.reviews-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-gray-200);
}

.google-badge {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.google-logo {
  font-size: 1.5rem;
  font-weight: 700;
}

.g-blue { color: #4285F4; }
.g-red { color: #DB4437; }
.g-yellow { color: #F4B400; }
.g-green { color: #0F9D58; }

.reviews-rating {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.reviews-stars {
  font-size: 1.25rem;
  color: #FBBF24;
}

.reviews-score {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-gray-900);
}

.reviews-count {
  font-size: 0.875rem;
  color: var(--color-gray-600);
}

.view-all-reviews {
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  font-size: 0.9rem;
}

.view-all-reviews:hover {
  text-decoration: underline;
}

.featured-review-text {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--color-gray-700);
  font-style: italic;
  margin-bottom: 2rem;
  text-align: center;
}

.featured-review-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.featured-review-avatar {
  width: 50px;
  height: 50px;
  background-color: var(--color-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.featured-review-name {
  font-weight: 700;
  color: var(--color-gray-900);
}

.featured-review-stars {
  color: #FBBF24;
}

@media (max-width: 768px) {
  .google-reviews-section {
    margin-top: -60px;
  }
  .reviews-widget {
    padding: 1.5rem;
  }
  .reviews-header {
    flex-direction: column;
    gap: 1rem;
  }
}

/* ==========================================================================
   Star Rating Component - Social Proof
   ========================================================================== */

.star-rating {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.stars {
  display: flex;
  gap: var(--space-1);
  color: #FBBF24; /* Gold color for stars */
  font-size: var(--text-xl);
  line-height: 1;
}

.star-rating-text {
  color: var(--color-secondary);
  font-weight: var(--font-semibold);
  font-size: var(--text-base);
}

.star-rating-count {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--text-sm);
  margin-left: var(--space-1);
}

/* Hero Trust Badges */
.hero-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
  align-items: center;
  margin-top: var(--space-6);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--color-secondary);
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  white-space: nowrap;
}

/* Ensure icons inside hero badges are properly sized */
.hero-badge .icon {
  width: 20px;
  height: 20px;
  font-size: 16px;
}

.hero-badge-icon {
  font-size: var(--text-lg);
}

/* Response time badge - special styling with improved contrast */
.hero-badge.response-time {
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.95) 0%, rgba(59, 130, 246, 0.90) 100%);
  border-color: var(--color-aqua-light);
  color: white;
  font-weight: var(--font-semibold);
}

.hero-badge.guarantee {
  background: linear-gradient(135deg, rgba(5, 150, 105, 0.95) 0%, rgba(4, 120, 87, 0.90) 100%);
  border-color: var(--color-success);
  color: white;
  font-weight: var(--font-semibold);
}

/* ==========================================================================
   Floating Action Buttons (FAB) - High Conversion CTAs
   ========================================================================== */

/* Floating Phone Button - Mobile Conversion Booster */
.fab-phone {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
  color: var(--color-secondary);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(220, 38, 38, 0.4);
  z-index: 9999;
  transition: all var(--transition-fast);
  animation: fab-pulse 2s infinite;
}

.fab-phone:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(220, 38, 38, 0.6);
}

.fab-phone:active {
  transform: scale(0.95);
}

/* Pulse animation for FAB */
@keyframes fab-pulse {
  0%, 100% {
    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.4), 0 0 0 0 rgba(220, 38, 38, 0.7);
  }
  50% {
    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.4), 0 0 0 10px rgba(220, 38, 38, 0);
  }
}

/* Text label for FAB (appears on hover on desktop) */
.fab-phone::before {
  content: 'Call Now';
  position: absolute;
  right: 70px;
  background-color: var(--color-gray-900);
  color: var(--color-secondary);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-lg);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
}

.fab-phone:hover::before {
  opacity: 1;
}

/* Hide label on mobile to keep it clean */
@media (max-width: 768px) {
  .fab-phone::before {
    display: none;
  }

  /* Make button slightly larger on mobile for easier tapping */
  .fab-phone {
    width: 65px;
    height: 65px;
    bottom: 15px;
    right: 15px;
  }
}

/* Hide FAB on desktop (optional - you can remove this to show on all devices) */
@media (min-width: 1024px) {
  .fab-phone {
    display: none; /* Comment this out if you want it on desktop too */
  }
}

/* ==========================================================================
   Hero-Overlay Responsive Adjustments
   ========================================================================== */

@media (max-width: 768px) {
  .hero {
    min-height: 100vh; /* Full height on mobile */
    padding-top: var(--space-16); /* Minimal padding for floating buttons */
    padding-bottom: 100px; /* Add space for FAB button */
  }
}

/* ==========================================================================
   Professional Icon System - CSS-Based (Replaces Emojis)
   ========================================================================== */

/* Base Icon Styling */
.icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
  font-size: 16px; /* Base font size for scaling */
}

.icon-sm {
  width: 20px;
  height: 20px;
  font-size: 14px; /* Scaled down for smaller icons */
}

.icon-lg {
  width: 64px;
  height: 64px;
  font-size: 20px;
}

.icon-xl {
  width: 80px;
  height: 80px;
  font-size: 24px;
}

/* Lightning Bolt Icon (Speed/Response) */
.icon-lightning::before {
  content: '';
  width: 0;
  height: 0;
  border-left: 0.5em solid transparent;
  border-right: 0.2em solid transparent;
  border-top: 1em solid currentColor;
  position: relative;
  margin-left: -0.2em;
}

.icon-lightning::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 0.2em solid transparent;
  border-right: 0.5em solid transparent;
  border-bottom: 1em solid currentColor;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-40%, -30%);
}

/* Checkmark Icon (Licensed/Verified) */
.icon-check::before {
  content: '';
  width: 0.6em;
  height: 1.2em;
  border: solid currentColor;
  border-width: 0 0.25em 0.25em 0;
  transform: rotate(45deg);
  margin-bottom: 0.4em;
  margin-left: -0.1em;
}

/* House Icon (Family-Owned) */
.icon-house::before {
  content: '';
  width: 1.75em;
  height: 1.25em;
  border: 0.2em solid currentColor;
  border-top: none;
  position: relative;
  top: 0.4em;
}

.icon-house::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 1.1em solid transparent;
  border-right: 1.1em solid transparent;
  border-bottom: 1em solid currentColor;
  position: absolute;
  top: 0.5em;
  left: 50%;
  transform: translateX(-50%);
}

/* Trophy/Badge Icon (100% Satisfaction) */
.icon-badge::before {
  content: '';
  width: 1.5em;
  height: 1.5em;
  border: 0.2em solid currentColor;
  border-radius: 50%;
  position: relative;
}

.icon-badge::after {
  content: '✓';
  position: absolute;
  font-size: 1em;
  font-weight: bold;
  color: currentColor;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Fire Icon (Heater) */
.icon-fire::before {
  content: '';
  width: 20px;
  height: 26px;
  background: currentColor;
  border-radius: 50% 50% 0 0;
  position: relative;
  clip-path: polygon(50% 0%, 100% 35%, 85% 70%, 100% 100%, 0% 100%, 15% 70%, 0% 35%);
}

.icon-fire::after {
  content: '';
  width: 12px;
  height: 16px;
  background: var(--color-secondary, #fff);
  border-radius: 50% 50% 0 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -30%);
  clip-path: polygon(50% 10%, 100% 40%, 80% 70%, 100% 100%, 0% 100%, 20% 70%, 0% 40%);
}

/* Water Wave Icon (Jets/Water) */
.icon-wave::before {
  content: '';
  width: 30px;
  height: 12px;
  border: 3px solid currentColor;
  border-radius: 50%;
  border-top: none;
  position: relative;
  top: 2px;
}

.icon-wave::after {
  content: '';
  width: 20px;
  height: 8px;
  border: 3px solid currentColor;
  border-radius: 50%;
  border-top: none;
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
}

/* Droplet Icon (Filter/Saltwater) */
.icon-droplet::before {
  content: '';
  width: 20px;
  height: 28px;
  background: currentColor;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  position: relative;
  top: -2px;
}

/* Gear Icon (Pump/Machinery) */
.icon-gear::before {
  content: '';
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 4px solid currentColor;
  position: relative;
}

.icon-gear::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  background-image:
    repeating-linear-gradient(0deg, currentColor, currentColor 4px, transparent 4px, transparent 8px),
    repeating-linear-gradient(90deg, currentColor, currentColor 4px, transparent 4px, transparent 8px);
  background-size: 12px 12px;
  border-radius: 50%;
  clip-path: polygon(50% 50%, 0 0, 0 100%, 100% 100%, 100% 0);
}

/* Phone Icon */
.icon-phone::before {
  content: '';
  width: 18px;
  height: 24px;
  border: 3px solid currentColor;
  border-radius: 4px;
}

.icon-phone::after {
  content: '';
  width: 8px;
  height: 3px;
  background: currentColor;
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
}

/* Siren Icon (Emergency) */
.icon-siren::before {
  content: '';
  width: 24px;
  height: 12px;
  background: currentColor;
  border-radius: 12px 12px 0 0;
  position: relative;
  top: -6px;
}

.icon-siren::after {
  content: '';
  width: 30px;
  height: 6px;
  background: currentColor;
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
}

/* Star Icon */
.icon-star::before {
  content: '★';
  font-size: 32px;
  line-height: 1;
}

/* Clipboard Icon */
.icon-clipboard::before {
  content: '';
  width: 20px;
  height: 26px;
  border: 3px solid currentColor;
  border-radius: 4px;
  position: relative;
}

.icon-clipboard::after {
  content: '';
  width: 12px;
  height: 8px;
  border: 3px solid currentColor;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  border-bottom: none;
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
}

/* Briefcase Icon */
.icon-briefcase::before {
  content: '';
  width: 26px;
  height: 20px;
  border: 3px solid currentColor;
  border-radius: 4px;
  position: relative;
}

.icon-briefcase::after {
  content: '';
  width: 14px;
  height: 8px;
  border: 3px solid currentColor;
  border-bottom: none;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
}

/* Sponge Icon */
.icon-sponge::before {
  content: '';
  width: 28px;
  height: 20px;
  background-color: currentColor;
  border-radius: 50% / 40%;
  position: relative;
}

.icon-sponge::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  background-color: var(--color-secondary);
  border-radius: 50%;
  top: 4px;
  left: 6px;
  box-shadow: 8px 4px 0 var(--color-secondary), 4px 8px 0 var(--color-secondary);
}

/* Icon Colors */
.icon-primary {
  color: var(--color-primary);
}

.icon-accent {
  color: var(--color-accent);
}

.icon-aqua {
  color: var(--color-aqua);
}

.icon-white {
  color: var(--color-secondary);
}

/* ==========================================================================
   Premium Micro-interactions
   ========================================================================== */

/* Button lift effect on hover */
.btn:hover, .btn-hero:hover, .btn-form-submit:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

/* Certification icon rotation on hover */
.certification-badge:hover .cert-icon {
  transform: rotate(10deg) scale(1.1);
}

.cert-icon {
  transition: transform var(--transition-base);
}
/* ==========================================================================
   Form + Certifications Side-by-Side Section
   ========================================================================== */

.form-certifications-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, #F9FAFB 0%, #F3F4F6 100%);
}

.form-cert-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

/* Vertical Certifications - Left Side */
.certifications-vertical {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.certification-badge-vertical {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: white;
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: 
    0 10px 30px -5px rgba(30, 64, 175, 0.1),
    0 0 0 1px rgba(30, 64, 175, 0.05);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.certification-badge-vertical::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(6, 182, 212, 0.1),
    transparent
  );
  transition: left 0.6s ease;
}

.certification-badge-vertical:hover::before {
  left: 100%;
}

.certification-badge-vertical:hover {
  transform: translateX(10px);
  box-shadow: 
    0 20px 50px -10px rgba(30, 64, 175, 0.2),
    0 0 0 1px rgba(6, 182, 212, 0.2),
    0 0 40px rgba(6, 182, 212, 0.15);
}

.cert-icon-vertical {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary) 0%, #1E3A8A 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 
    0 8px 20px rgba(30, 64, 175, 0.3),
    inset 0 2px 4px rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease;
}

.cert-icon-vertical.cert-icon-aqua {
  background: linear-gradient(135deg, var(--color-aqua) 0%, #0891B2 100%);
  box-shadow: 
    0 8px 20px rgba(6, 182, 212, 0.3),
    inset 0 2px 4px rgba(255, 255, 255, 0.2);
}

.certification-badge-vertical:hover .cert-icon-vertical {
  transform: rotate(10deg) scale(1.1);
}

.cert-icon-vertical .icon {
  font-size: 1.5rem;
}

.cert-content-vertical {
  flex: 1;
}

.cert-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1F2937;
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.cert-subtitle {
  font-size: 0.875rem;
  color: #6B7280;
  font-weight: 500;
  line-height: 1.4;
}

/* Form Wrapper - Right Side */
.hero-form-wrapper-side {
  background: white;
  padding: 2.5rem;
  border-radius: 24px;
  box-shadow:
    0 25px 50px -12px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(30, 64, 175, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-form-wrapper-side:hover {
  transform: translateY(-5px);
  box-shadow:
    0 30px 60px -15px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(6, 182, 212, 0.1);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .form-cert-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .certifications-vertical {
    grid-row: 2;
  }

  .hero-form-wrapper-side {
    grid-row: 1;
  }
}

@media (max-width: 640px) {
  .form-certifications-section {
    padding: 3rem 0;
  }

  .certification-badge-vertical {
    padding: 1.25rem;
    gap: 1rem;
  }

  .cert-icon-vertical {
    width: 50px;
    height: 50px;
  }

  .cert-title {
    font-size: 1rem;
  }

  .cert-subtitle {
    font-size: 0.8125rem;
  }

  .hero-form-wrapper-side {
    padding: 2rem;
  }
}
