/* =====================
   Animations
===================== */

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

@keyframes fadeScale {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}

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

/* =====================
   Global
===================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background: #f9fbfd;
  color: #222;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

/* =====================
   Reusable
===================== */

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

.section-title {
  text-align: center;
  margin-bottom: 14px;
  font-size: 2.2rem;
}

/* =====================
   Section Color System
===================== */

.section-white {
  background: #ffffff;
  color: #222;
  border-top: 1px solid #eef2f7;
}

.section-blue {
  background: linear-gradient(135deg, #0b5ed7, #063c8f);
  color: white;
  border-top: 1px solid rgba(255,255,255,0.15);
}

/* Ensure readability on blue sections */
.section-blue h1,
.section-blue h2,
.section-blue h3,
.section-blue h4,
.section-blue p,
.section-blue a {
  color: white;
}

/* =====================
   Buttons
===================== */

.btn-primary {
  background: #0b5ed7;
  color: white;
  border: none;
  padding: 12px 22px;
  border-radius: 6px;
  cursor: pointer;

  position: relative;
  overflow: hidden;

  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(11, 94, 215, 0.35);
  background: #094db1;
}

.btn-primary:active {
  transform: scale(0.96);
}

.btn-secondary {
  background: transparent;
  border: 2px solid white;
  color: white;
  padding: 12px 22px;
  border-radius: 6px;
  cursor: pointer;

  transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.btn-secondary:hover {
  background: white;
  color: #0b5ed7;
  transform: translateY(-2px);
}

.btn-secondary:active {
  transform: scale(0.96);
}

/* =====================
   Header
===================== */

.header {
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,.08);
  position: sticky;
  top: 0;
  z-index: 100;
  animation: slideDown 0.8s ease-out forwards;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  color: #0b5ed7;
  font-size: 1.8rem;
  animation: fadeScale 1s ease-out forwards;
}

/* =====================
   Navigation Animation
===================== */

nav {
  display: flex;
  align-items: center;
}

nav a {
  margin: 0 15px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

nav a::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0%;
  height: 2px;
  background: #0b5ed7;
  transition: width 0.3s ease;
}

nav a:hover {
  color: #0b5ed7;
}

nav a:hover::after {
  width: 100%;
}

/* Hamburger */
.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

/* =====================
   Scroll Reveal
===================== */

.reveal {
  opacity: 0;
  transform: translateY(40px) scale(0.96);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

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

.hero {
  padding: 100px 0;
}

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

.hero-text h2 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero-text p {
  opacity: 0.92;
  margin-bottom: 18px;
}

.hero-image img {
  border-radius: 14px;
  box-shadow: 0 14px 35px rgba(0,0,0,0.18);
}

/* =====================
   Services
===================== */

.services {
  padding: 90px 0;
}

.services-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 60px;
}

.services-subtitle {
  color: #555;
  font-size: 1.05rem;
  margin-top: 10px;
}

/* Ensure subtitle readable on blue if you ever swap */
.section-blue .services-subtitle {
  color: rgba(255,255,255,0.9);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.service-card {
  background: white;
  padding: 40px 30px;
  border-radius: 14px;
  text-align: center;

  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
  position: relative;
  overflow: hidden;

  transition: all 0.35s ease;
}

.service-card.featured {
  border: 2px solid #0b5ed7;
  transform: translateY(-4px);
}

.service-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;

  background: rgba(11,94,215,0.1);
  color: #0b5ed7;

  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 26px;
  transition: transform 0.3s ease;
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.service-card p {
  color: #555;
  line-height: 1.6;
  margin-bottom: 18px;
}

.service-link {
  color: #0b5ed7;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11,94,215,0.08), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

.service-card:hover .service-icon {
  transform: rotate(8deg) scale(1.15);
}

.service-link::after {
  content: "→";
  margin-left: 4px;
  transition: transform 0.3s ease;
}

.service-card:hover .service-link::after {
  transform: translateX(6px);
}

/* Stagger */
.service-grid .service-card:nth-child(1) { transition-delay: 0.10s; }
.service-grid .service-card:nth-child(2) { transition-delay: 0.20s; }
.service-grid .service-card:nth-child(3) { transition-delay: 0.30s; }

/* =====================
   About / Why Choose
===================== */

.about {
  padding: 100px 0;
}

.about-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.about-subtitle {
  font-size: 1.05rem;
  margin-top: 10px;
}

/* Blue section subtitle color */
.section-blue .about-subtitle {
  color: rgba(255,255,255,0.9);
}

/* Stats row */
.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-bottom: 60px;
}

.stat-card {
  background: white;
  color: #222;

  padding: 30px 20px;
  border-radius: 14px;
  text-align: center;

  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
  transition: all 0.35s ease;
}

.stat-card h3 {
  font-size: 2.2rem;
  color: #0b5ed7;
  margin-bottom: 6px;
}

.stat-card p {
  font-weight: 500;
}

/* Features row */
.about-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.feature-card {
  background: white;
  color: #222;

  padding: 35px 25px;
  border-radius: 14px;
  text-align: center;

  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
  transition: all 0.35s ease;
}

.feature-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.feature-card h4 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.feature-card p {
  color: #555;
  line-height: 1.5;
}

/* Hover */
.stat-card:hover,
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.18);
}

/* Stagger */
.about-stats .reveal:nth-child(1),
.about-features .reveal:nth-child(1) { transition-delay: 0.10s; }

.about-stats .reveal:nth-child(2),
.about-features .reveal:nth-child(2) { transition-delay: 0.22s; }

.about-stats .reveal:nth-child(3),
.about-features .reveal:nth-child(3) { transition-delay: 0.34s; }

.about-stats .reveal:nth-child(4),
.about-features .reveal:nth-child(4) { transition-delay: 0.46s; }

/* =====================
   CTA
===================== */

.cta {
  text-align: center;
  padding: 80px 20px;
}

/* CTA is section-white in your HTML, so text should be dark */
.section-white.cta,
.cta.section-white {
  color: #222;
}

/* Make CTA paragraph spacing nice */
.cta p {
  margin: 10px 0 22px;
  color: #555;
}

/* If you ever set CTA to blue, make text readable */
.section-blue.cta p,
.cta.section-blue p {
  color: rgba(255,255,255,0.9);
}

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

.footer {
  padding-top: 60px;
  overflow: hidden;
}

.footer-main {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 40px;

  animation: footerFadeUp 1s ease forwards;
}

.footer-brand h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.footer-brand p {
  opacity: 0.9;
  line-height: 1.6;
}

.footer-links h4,
.footer-contact h4 {
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.footer-links a {
  display: block;
  text-decoration: none;
  margin-bottom: 10px;

  opacity: 0.85;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  opacity: 1;
  transform: translateX(6px);
}

.footer-contact p {
  margin-bottom: 10px;
  opacity: 0.9;
}

.footer-social {
  margin-top: 15px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 36px;
  height: 36px;

  background: rgba(255,255,255,0.15);
  border-radius: 50%;

  margin-right: 10px;
  text-decoration: none;

  font-size: 16px;

  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: white;
  color: #0b5ed7;
  transform: translateY(-4px) scale(1.1);
}

.footer-bottom {
  background: rgba(0,0,0,0.25);
  text-align: center;
  padding: 15px 10px;
  font-size: 0.9rem;
  opacity: 0.9;
}

/* =====================
   Mobile
===================== */

@media (max-width: 900px) {

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .about-stats,
  .about-features {
    grid-template-columns: 1fr;
  }

  nav {
    position: absolute;
    top: 70px;
    right: 0;

    background: white;
    width: 200px;

    display: none;
    flex-direction: column;

    box-shadow: 0 5px 15px rgba(0,0,0,.2);
  }

  nav a {
    padding: 15px;
    border-bottom: 1px solid #eee;
  }

  .hamburger {
    display: block;
  }

  .footer-main {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-links a:hover {
    transform: none;
  }
}

/* =====================
   Ripple Effect
===================== */

.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.6);

  transform: scale(0);
  animation: ripple 0.6s linear;

  pointer-events: none;
}

@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* =====================
   FIX: White cards inside blue sections
   (Overrides .section-blue p { color: white; })
===================== */

.section-blue .stat-card,
.section-blue .feature-card,
.section-blue .service-card {
  color: #222;
}

.section-blue .stat-card p,
.section-blue .feature-card p,
.section-blue .service-card p {
  color: #555;
}

.section-blue .stat-card h3,
.section-blue .service-card h3,
.section-blue .feature-card h4 {
  color: #0b5ed7;
}

/* =====================
   Professional CTA Section
===================== */

.cta {
  padding: 95px 0;
  position: relative;
}

/* Card container */
.cta-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 46px 44px;

  box-shadow: 0 18px 50px rgba(0,0,0,0.10);

  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 34px;

  position: relative;
  overflow: hidden;
}

/* Subtle animated glow */
.cta-card::before {
  content: "";
  position: absolute;
  inset: -60px;

  background: radial-gradient(circle at 20% 20%, rgba(11,94,215,0.20), transparent 55%),
              radial-gradient(circle at 85% 40%, rgba(11,94,215,0.14), transparent 55%),
              radial-gradient(circle at 40% 90%, rgba(11,94,215,0.12), transparent 60%);

  opacity: 0.9;
  filter: blur(18px);

  transform: translateY(0);
  animation: ctaGlow 6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes ctaGlow {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-12px); }
  100% { transform: translateY(0); }
}

/* Keep content above glow */
.cta-card > * {
  position: relative;
  z-index: 1;
}

/* Left side */
.cta-title {
  font-size: 2.2rem;
  line-height: 1.2;
  margin-bottom: 10px;
}

.cta-subtitle {
  color: #555;
  margin-bottom: 22px;
  max-width: 540px;
}

/* Benefits list */
.cta-benefits {
  display: grid;
  gap: 12px;
}

.cta-benefit {
  display: flex;
  align-items: center;
  gap: 10px;

  color: #333;
  font-weight: 500;
}

.cta-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #0b5ed7;
  box-shadow: 0 0 0 6px rgba(11,94,215,0.12);
}

/* Right side */
.cta-actions {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.cta-btn {
  width: 100%;
  border-radius: 10px;
  padding: 14px 16px;
}

/* Outline button */
.btn-outline {
  background: transparent;
  border: 2px solid #0b5ed7;
  color: #0b5ed7;
  cursor: pointer;

  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.3s ease, color 0.3s ease;
}

.btn-outline:hover {
  background: #0b5ed7;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 10px 18px rgba(11,94,215,0.22);
}

.btn-outline:active {
  transform: scale(0.97);
}

/* Meta */
.cta-meta p {
  color: #555;
  font-size: 0.95rem;
  margin: 6px 0;
}

/* Stagger reveal inside CTA */
.cta-card .cta-left.reveal { transition-delay: 0.08s; }
.cta-card .cta-right.reveal { transition-delay: 0.18s; }
.cta-card .cta-benefit:nth-child(1) { transition-delay: 0.22s; }
.cta-card .cta-benefit:nth-child(2) { transition-delay: 0.30s; }
.cta-card .cta-benefit:nth-child(3) { transition-delay: 0.38s; }

/* Mobile */
@media (max-width: 900px) {
  .cta-card {
    grid-template-columns: 1fr;
    padding: 34px 22px;
  }

  .cta-title {
    font-size: 1.9rem;
  }
}

/* =====================
   Booking Page
===================== */

.booking-page {
  padding: 100px 0;
}

/* Header */

.booking-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.booking-subtitle {
  color: #555;
  margin: 12px 0 22px;
  font-size: 1.05rem;
}

/* Benefits */

.booking-benefits {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;

  font-weight: 500;
  color: #0b5ed7;
}

/* Widget */

.booking-widget {
  max-width: 900px;
  margin: 0 auto;
}

/* Active nav link */

nav a.active {
  color: #0b5ed7;
}

nav a.active::after {
  width: 100%;
}

/* Mobile */

@media (max-width: 900px) {

  .booking-benefits {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .booking-widget iframe {
    height: 650px;
  }

}

/* Booking page spacing fix */
.booking-page {
  padding: 40px 0 80px; /* less top padding */
}

.booking-header {
  margin: 0 auto 24px; /* tighter header spacing */
}

.booking-widget {
  max-width: 1100px;
  margin: 0 auto;
}

/* Ensure Square widget isn't affected by reveal transforms */
#square-appointments-widget {
  opacity: 1 !important;
  transform: none !important;
}

/* Booking page: remove the big top gap */
.booking-page {
  padding: 18px 0 70px !important; /* tighter than before */
}

.booking-header {
  margin: 0 auto 14px !important;
}

.booking-subtitle {
  margin: 8px 0 14px !important;
}

/* =====================
   Booking header text fix
===================== */

.section-white .booking-header .section-title,
.section-white .booking-header .cta-title,
.section-white .booking-header h2 {
  color: #111 !important;
}

.section-white .booking-subtitle,
.section-white .booking-header p {
  color: #555 !important;
}

.section-white .booking-benefits span {
  color: #0b5ed7 !important;
}

/* =====================
   Hero Water Background
===================== */

.hero {
  position: relative;

  min-height: 85vh;          /* Controls vertical size */
  padding: 0;               /* Let height handle spacing */

  display: flex;
  align-items: center;      /* Vertically center content */

  background:
    linear-gradient(
      rgba(11,94,215,0.70),
      rgba(6,60,143,0.85)
    ),
    url("https://www.compass-pools.co.uk/wp-content/uploads/2024/12/XXL-Trainer-133FB-TH5-1440x960.jpg");

  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;

  overflow: hidden;
}

/* Mobile fix for hero background */

@media (max-width: 768px) {
  .hero {
    min-height: 70vh;
    background-attachment: scroll; /* prevents mobile bugs */
  }
}

/* Subtle animated water overlay */

.hero::after {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    120deg,
    rgba(255,255,255,0.12) 0%,
    rgba(255,255,255,0.05) 40%,
    rgba(255,255,255,0.12) 60%,
    rgba(255,255,255,0.05) 100%
  );

  opacity: 0.6;

  animation: waterShimmer 8s linear infinite;
  pointer-events: none;
}

@keyframes waterShimmer {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(100%);
  }
}

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

/* =====================
   Floating Book Button
===================== */

.floating-book-btn {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;

  background: #0b5ed7;
  color: #fff;
  text-decoration: none;

  padding: 14px 20px;
  border-radius: 999px;

  font-weight: 700;
  letter-spacing: 0.2px;

  box-shadow: 0 14px 30px rgba(11, 94, 215, 0.35);

  /* CENTER TEXT */
  display: flex;
  align-items: center;
  justify-content: center;

  line-height: 1;

  transition: transform 0.2s ease,
              box-shadow 0.2s ease,
              background 0.3s ease;
}

.floating-book-btn:hover {
  transform: translateY(-2px);
  background: #094db1;
  box-shadow: 0 18px 40px rgba(11, 94, 215, 0.45);
}

.floating-book-btn:active {
  transform: scale(0.97);
}

/* Mobile: keep it above browser UI */
@media (max-width: 768px) {
  .floating-book-btn {
    right: 14px;
    bottom: 14px;
    padding: 13px 16px;
  }
}

/* =====================
   How It Works
===================== */

.how-it-works {
  padding: 95px 0;
}

.how-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 55px;
}

.how-subtitle {
  color: #555;
  margin-top: 10px;
  font-size: 1.05rem;
}

/* Grid */
.how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

/* Cards */
.how-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 28px 22px;

  box-shadow: 0 10px 25px rgba(0,0,0,0.07);

  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}

.how-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11,94,215,0.10), transparent 55%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

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

.how-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

/* Step badge */
.how-step {
  width: 44px;
  height: 44px;
  border-radius: 999px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(11,94,215,0.12);
  color: #0b5ed7;
  font-weight: 800;
  font-size: 1.1rem;

  margin-bottom: 14px;
}

/* Text */
.how-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.how-card p {
  color: #555;
  line-height: 1.55;
}

/* CTA row */
.how-cta {
  margin-top: 34px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Stagger reveal timing */
.how-grid .how-card:nth-child(1) { transition-delay: 0.10s; }
.how-grid .how-card:nth-child(2) { transition-delay: 0.20s; }
.how-grid .how-card:nth-child(3) { transition-delay: 0.30s; }
.how-grid .how-card:nth-child(4) { transition-delay: 0.40s; }

/* Mobile */
@media (max-width: 900px) {
  .how-grid {
    grid-template-columns: 1fr;
  }
}

/* =====================
   How It Works CTA Alignment Fix
===================== */

.how-cta {
  display: flex;
  justify-content: center;
  align-items: center; /* vertical alignment */
  gap: 14px;
}

/* Normalize buttons in How section */
.how-cta .btn-primary,
.how-cta .btn-outline {
  display: inline-flex;        /* key fix */
  align-items: center;
  justify-content: center;

  min-width: 160px;            /* same visual width */
  height: 48px;                /* same height */

  padding: 0 20px;             /* remove uneven padding */
  line-height: 1;
  text-align: center;
}

/* =====================
   Booking Contact Form
===================== */

.booking-contact {
  margin-top: 42px;
}

.contact-card {
  max-width: 980px;
  margin: 0 auto;

  background: #ffffff;
  border: 1px solid #e7eef8;
  border-radius: 16px;

  padding: 34px 28px;

  box-shadow: 0 14px 40px rgba(0,0,0,0.06);
}

.contact-header h3 {
  font-size: 1.55rem;
  margin-bottom: 8px;
  color: #111;
}

.contact-header p {
  color: #555;
  margin-bottom: 22px;
  line-height: 1.6;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: #222;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  border: 1px solid #dfe7f3;
  border-radius: 12px;
  padding: 12px 14px;

  outline: none;
  font-size: 1rem;

  transition: border 0.2s ease, box-shadow 0.2s ease;
}

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

.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(11,94,215,0.6);
  box-shadow: 0 0 0 4px rgba(11,94,215,0.12);
}

.form-submit {
  width: fit-content;
  border-radius: 12px;
  padding: 12px 18px;
}

.form-note {
  font-size: 0.9rem;
  color: #666;
  margin-top: -6px;
}

/* Mobile */
@media (max-width: 900px) {
  .contact-card {
    padding: 26px 18px;
  }

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

  .form-submit {
    width: 100%;
  }
}


/* =====================
   Dark Theme (Default)
   (Overrides are appended at the end to avoid rewriting your existing layout CSS.)
===================== */

:root {
  /* Core */
  --bg: #0b0f1a;
  --surface: #121a2a;
  --surface-2: #0f1626;
  --text: #e8edf5;
  --muted: #b8c2d6;
  --border: #1f2a44;

  /* Brand */
  --brand: #3b82f6;        /* slightly brighter than #0b5ed7 for dark mode */
  --brand-2: #2563eb;

  /* Shadows */
  --shadow-sm: 0 6px 16px rgba(0,0,0,0.28);
  --shadow-md: 0 12px 30px rgba(0,0,0,0.35);
  --shadow-lg: 0 18px 50px rgba(0,0,0,0.45);
}

html { color-scheme: dark; }

body {
  background: var(--bg) !important;
  color: var(--text) !important;
}

/* Default text on previously "white" sections */
.section-white {
  background: var(--bg) !important;
  color: var(--text) !important;
  border-top: 1px solid var(--border) !important;
}

/* Header + nav */
.header {
  background: rgba(18, 26, 42, 0.92) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 14px rgba(0,0,0,.55) !important;
  border-bottom: 1px solid rgba(31, 42, 68, 0.75);
}

.logo {
  color: var(--brand) !important;
}

nav a {
  color: var(--text) !important;
}

nav a::after {
  background: var(--brand) !important;
}

nav a:hover {
  color: var(--brand) !important;
}

/* Active link */
nav a.active {
  color: var(--brand) !important;
}

/* Mobile nav dropdown */
@media (max-width: 900px) {
  nav {
    background: var(--surface) !important;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md) !important;
  }

  nav a {
    border-bottom: 1px solid rgba(31, 42, 68, 0.8) !important;
  }
}

/* Cards / panels */
.service-card,
.stat-card,
.feature-card,
.cta-card,
.how-card,
.contact-card {
  background: var(--surface) !important;
  color: var(--text) !important;
  border: 1px solid var(--border) !important;
  box-shadow: var(--shadow-md) !important;
}

.service-card p,
.feature-card p,
.how-card p,
.cta p,
.cta-subtitle,
.cta-meta p,
.services-subtitle,
.about-subtitle,
.how-subtitle,
.booking-subtitle,
.contact-header p,
.form-note {
  color: var(--muted) !important;
}

/* Keep headings crisp on dark surfaces */
.section-title,
.contact-header h3,
.cta-title {
  color: var(--text) !important;
}

/* Brand accents inside cards */
.service-icon,
.how-step,
.cta-dot {
  background: rgba(59, 130, 246, 0.18) !important;
  color: var(--brand) !important;
}

.cta-dot {
  box-shadow: 0 0 0 6px rgba(59, 130, 246, 0.14) !important;
}

.service-link {
  color: var(--brand) !important;
}

/* Featured service card border */
.service-card.featured {
  border: 2px solid rgba(59, 130, 246, 0.9) !important;
}

/* Stats numbers */
.stat-card h3 {
  color: var(--brand) !important;
}

/* Buttons */
.btn-primary,
.floating-book-btn {
  background: var(--brand) !important;
}

.btn-primary:hover,
.floating-book-btn:hover {
  background: var(--brand-2) !important;
  box-shadow: 0 10px 22px rgba(59, 130, 246, 0.32) !important;
}

.btn-outline {
  border-color: var(--brand) !important;
  color: var(--brand) !important;
}

.btn-outline:hover {
  background: var(--brand) !important;
}

/* Forms */
.form-group label {
  color: var(--text) !important;
}

.form-group input,
.form-group textarea {
  background: var(--surface-2) !important;
  border: 1px solid var(--border) !important;
  color: var(--text) !important;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(184, 194, 214, 0.75) !important;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(59, 130, 246, 0.8) !important;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.18) !important;
}

/* Booking benefits */
.booking-benefits {
  color: var(--brand) !important;
}

/* Footer tweaks (keep your blue gradient, just deepen the bottom strip) */
.footer-bottom {
  background: rgba(0,0,0,0.45) !important;
}

/* Keep "white cards inside blue sections" readable in dark mode too */
.section-blue .stat-card,
.section-blue .feature-card,
.section-blue .service-card,
.section-blue .how-card,
.section-blue .cta-card,
.section-blue .contact-card {
  background: rgba(18, 26, 42, 0.96) !important;
  border: 1px solid rgba(31, 42, 68, 0.9) !important;
}

.section-blue .stat-card p,
.section-blue .feature-card p,
.section-blue .service-card p {
  color: var(--muted) !important;
}

.section-blue .stat-card h3,
.section-blue .service-card h3,
.section-blue .feature-card h4 {
  color: var(--brand) !important;
}

/* Force white text for CTA / booking bullet lines */
.booking-benefits,
.booking-benefits li,
.cta-meta,
.cta-meta p {
  color: #ffffff !important;
}

/* Fallback: force white text inside CTA sections */
.cta,
.cta * {
  color: #ffffff;
}

.section-white .booking-header .section-title, .section-white .booking-header .cta-title, .section-white .booking-header h2 {
  color: #ffffff !important;
}

.form-status{
  margin: 14px 0;
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 600;
  line-height: 1.4;
  border: 1px solid transparent;
}

.form-status.ok{
  background: rgba(16, 185, 129, 0.14);
  border-color: rgba(16, 185, 129, 0.35);
  color: #ffffff;
}

.form-status.err{
  background: rgba(239, 68, 68, 0.14);
  border-color: rgba(239, 68, 68, 0.35);
  color: #ffffff;
}

/* ============================
   Services Page (services.html)
   Add to END of style.css
============================ */

/* Page spacing polish */
.section-white .container,
.section-blue .container {
  padding-top: 38px;
  padding-bottom: 38px;
}

/* Hero buttons row (safe even if you already have button styles) */
.section-white .container > div[style*="display:flex"] a {
  white-space: nowrap;
}

/* Grids used on services page */
.services-grid,
.features-grid,
.how-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Ensure cards align nicely */
.services-grid .service-card,
.features-grid .feature-card,
.how-grid .how-card {
  height: 100%;
}

/* Lists inside service cards */
.service-card ul {
  margin: 14px 0 0;
  padding-left: 18px;
}

.service-card li {
  margin: 6px 0;
  color: var(--muted);
}

/* Featured card emphasis (works with dark theme too) */
.service-card.featured {
  position: relative;
  transform: translateY(-2px);
}

.service-card.featured::after {
  content: "Most Popular";
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .3px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.18);
  color: var(--brand);
  border: 1px solid rgba(59, 130, 246, 0.35);
}

/* Better spacing for the three tick lines under hero */
.booking-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 18px;
}

.booking-benefits span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(31, 42, 68, 0.9);
  background: rgba(18, 26, 42, 0.65);
  color: #ffffff; /* user requested white */
}

/* CTA card on blue section */
.section-blue .cta-card {
  margin-top: 22px;
}

/* FAQ cards: keep headings clean */
.how-card h4 {
  margin-top: 10px;
  margin-bottom: 6px;
}

/* Responsive */
@media (max-width: 900px) {
  .services-grid,
  .features-grid,
  .how-grid {
    grid-template-columns: 1fr;
  }

  .service-card.featured {
    transform: none;
  }
}

/* ============================
   Fix Services Page CTA Buttons
============================ */

/* Button rows on services page */
.services-page-actions,
.section-white .container > div:has(.btn-primary),
.section-blue .cta-card > div {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

/* Normalize button sizing */
.services-page-actions a,
.section-blue .cta-card a {
  min-height: 44px;
  padding: 12px 18px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Outline button on dark background */
.section-white .btn-outline,
.section-blue .btn-outline {
  background: transparent;
  color: var(--brand);
  border: 2px solid var(--brand);
}

.section-white .btn-outline:hover,
.section-blue .btn-outline:hover {
  background: var(--brand);
  color: #ffffff;
}

/* Mobile: full-width buttons for clean stacking */
@media (max-width: 640px) {
  .services-page-actions a,
  .section-blue .cta-card a {
    width: 100%;
  }
}

/* =========================
   FIX: Outline buttons look weird
   (matches primary button sizing + removes underline)
========================= */

a.btn-outline,
a.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  min-height: 46px;
  padding: 12px 18px;

  border-radius: 12px;
  font-weight: 700;
  line-height: 1;

  text-decoration: none !important;
  white-space: nowrap;
}

/* Outline style */
a.btn-outline {
  background: transparent !important;
  color: #ffffff !important;              /* looks correct on blue + dark sections */
  border: 2px solid rgba(255,255,255,0.65) !important;
}

a.btn-outline:hover {
  border-color: #ffffff !important;
  background: rgba(255,255,255,0.10) !important;
}

/* If you want outline to be BRAND BLUE on white sections only */
.section-white a.btn-outline {
  color: var(--brand) !important;
  border-color: rgba(59,130,246,0.85) !important;
}
.section-white a.btn-outline:hover {
  background: rgba(59,130,246,0.10) !important;
}

/* Kill any underline rules from section styles */
.section-blue a.btn-outline,
.section-white a.btn-outline {
  text-decoration: none !important;
}

/* =========================
   Fix messy bullet points
   Services page
========================= */

/* Reset default list styles in service cards */
.service-card ul {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

/* Bullet rows */
.service-card li {
  position: relative;
  padding-left: 22px;
  line-height: 1.45;
  font-size: 14px;
  color: var(--muted);
}

/* Custom bullet (clean + on-brand) */
.service-card li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brand);
  font-size: 20px;
  line-height: 1;
}

/* Keep bullets readable on blue sections */
.section-blue .service-card li {
  color: #e5e7eb;
}

/* Tighten spacing on mobile */
@media (max-width: 900px) {
  .service-card li {
    font-size: 15px;
  }
}

/* =========================
   Center Services Page Text
========================= */

/* Hero section (title, paragraph, buttons, pills) */
.services-page .section-title,
.services-page .services-subtitle,
.services-page .booking-benefits,
.services-page .container > div {
  text-align: center;
}

/* Center buttons row */
.services-page .services-page-actions,
.services-page .container > div[style*="display:flex"] {
  justify-content: center;
}

/* Center Pricing Approach paragraph */
#pricing .services-subtitle {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* Force-center the services hero subtitle */
.services-page p.services-subtitle {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* If something is overriding the container alignment */
.services-page .section-white .container {
  text-align: center !important;
}

/* =========================
   Upgrade: CTA Card section
========================= */

.cta-card{
  max-width: 980px;
  margin: 22px auto 0;
  padding: 28px 26px;
  border-radius: 18px;
  position: relative;
  overflow: hidden;
  text-align: center;

  /* Make the card feel richer on dark/blue backgrounds */
  background: rgba(18, 26, 42, 0.92) !important;
  border: 1px solid rgba(255,255,255,0.10) !important;
  box-shadow: 0 18px 50px rgba(0,0,0,0.35) !important;
}

/* Subtle glow */
.cta-card::before{
  content:"";
  position:absolute;
  inset:-2px;
  background: radial-gradient(600px 220px at 50% 0%, rgba(59,130,246,0.35), transparent 60%);
  pointer-events:none;
}

/* Keep content above glow */
.cta-card > *{
  position: relative;
  z-index: 1;
}

.cta-title{
  margin: 0 0 8px;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.1;
  color: #ffffff !important;
}

.cta-subtitle{
  margin: 0 auto 18px;
  max-width: 62ch;
  color: rgba(255,255,255,0.85) !important;
  font-size: 16px;
  line-height: 1.6;
}

/* Center and tighten the button row */
.cta-card > div{
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px !important;
}

/* Make both buttons feel consistent */
.cta-card a.btn-primary,
.cta-card a.btn-outline{
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 800;
  text-decoration: none !important;
}

/* Outline button should look intentional on blue */
.cta-card a.btn-outline{
  color: #ffffff !important;
  border: 2px solid rgba(255,255,255,0.65) !important;
  background: rgba(255,255,255,0.06) !important;
}

.cta-card a.btn-outline:hover{
  background: rgba(255,255,255,0.12) !important;
  border-color: #ffffff !important;
}

/* Mobile: full-width buttons */
@media (max-width: 640px){
  .cta-card{
    padding: 22px 18px;
  }
  .cta-card a.btn-primary,
  .cta-card a.btn-outline{
    width: 100%;
  }
}

.cta-actions{
  display:flex;
  justify-content:center;
  gap:12px;
  flex-wrap:wrap;
  margin-top:14px;
}

/* =========================
   FINAL CTA FIX (Overrides ALL previous CTA rules)
   Put at VERY END of style.css
========================= */

.section-blue .cta-card,
.section-white .cta-card,
.cta-card {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;

  max-width: 920px !important;
  margin: 22px auto 0 !important;
  padding: 28px 26px !important;
  gap: 14px !important;

  background: rgba(18, 26, 42, 0.92) !important;
  border: 1px solid rgba(255,255,255,0.10) !important;
  border-radius: 18px !important;
  box-shadow: 0 18px 50px rgba(0,0,0,0.35) !important;
}

/* Make sure glow doesn't mess with layout */
.cta-card::before {
  inset: -2px !important;
}

/* Title + subtitle directly under it */
.cta-card .cta-title {
  margin: 0 !important;
  color: #ffffff !important;
}

.cta-card .cta-subtitle {
  margin: 0 !important;
  max-width: 60ch !important;
  color: rgba(255,255,255,0.85) !important;
}

/* Button row: center */
.cta-card .cta-actions,
.cta-card > div {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
  width: 100% !important;
  margin: 0 !important;
}

/* Buttons consistent */
.cta-card a.btn-primary,
.cta-card a.btn-outline {
  min-height: 46px !important;
  padding: 12px 18px !important;
  border-radius: 12px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Outline button looks correct on blue/dark */
.cta-card a.btn-outline {
  color: #ffffff !important;
  border: 2px solid rgba(255,255,255,0.65) !important;
  background: rgba(255,255,255,0.06) !important;
}

.cta-card a.btn-outline:hover {
  background: rgba(255,255,255,0.12) !important;
  border-color: #ffffff !important;
}

/* Mobile */
@media (max-width: 640px) {
  .cta-card a.btn-primary,
  .cta-card a.btn-outline {
    width: 100% !important;
  }
}


/* ==========================================================
   SERVICES PAGE + CTA FINAL OVERRIDES
   Paste at VERY END of style.css
========================================================== */

/* ---------- Services hero layout ---------- */
body.services-page .services-hero{
  padding-top: 40px;
  padding-bottom: 10px;
  text-align: center;
}

body.services-page .services-hero-subtitle{
  text-align: center !important;
  max-width: 860px;
  margin: 10px auto 0;
}

body.services-page .services-note{
  max-width: 860px;
  margin: 10px auto 0;
  color: var(--muted);
  text-align: center;
}

/* Buttons row */
body.services-page .services-actions{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

/* Pills */
body.services-page .services-pills{
  justify-content: center;
}

/* ---------- Grid ---------- */
body.services-page .services-grid{
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

/* ---------- Make service bullets clean ---------- */
body.services-page .service-card ul{
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

body.services-page .service-card li{
  position: relative;
  padding-left: 22px;
  line-height: 1.45;
  font-size: 14px;
  color: var(--muted);
}

body.services-page .service-card li::before{
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brand);
  font-size: 20px;
  line-height: 1;
}

/* ---------- Normalize button styling (fix underline/odd sizing) ---------- */
a.btn-primary,
a.btn-outline{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none !important;
  white-space: nowrap;
}

/* Outline button: good on dark + blue + white */
a.btn-outline{
  background: transparent !important;
  border: 2px solid rgba(255,255,255,0.65) !important;
  color: #ffffff !important;
}

a.btn-outline:hover{
  background: rgba(255,255,255,0.10) !important;
  border-color: #ffffff !important;
}

/* On "white" sections (dark theme makes these dark), use brand outline */
.section-white a.btn-outline{
  border-color: rgba(59,130,246,0.90) !important;
  color: var(--brand) !important;
}

.section-white a.btn-outline:hover{
  background: rgba(59,130,246,0.12) !important;
  border-color: rgba(59,130,246,1) !important;
  color: #ffffff !important;
}

/* Mobile buttons full width */
@media (max-width: 640px){
  body.services-page .services-actions a,
  .cta-card .cta-actions a{
    width: 100%;
  }
}

/* ---------- Center the pricing paragraph ---------- */
body.services-page #pricing .pricing-subtitle{
  max-width: 900px;
  margin: 10px auto 0;
  text-align: center !important;
}

/* ---------- FINAL CTA FIX: force centered stacked layout ---------- */
/* This overrides your earlier 2-column grid CTA rules */
.cta-card.cta-card-centered{
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;

  max-width: 920px !important;
  margin: 22px auto 0 !important;
  padding: 28px 26px !important;
  gap: 14px !important;

  background: rgba(18, 26, 42, 0.92) !important;
  border: 1px solid rgba(255,255,255,0.10) !important;
  border-radius: 18px !important;
  box-shadow: 0 18px 50px rgba(0,0,0,0.35) !important;
}

/* Keep glow but don’t let it affect layout */
.cta-card.cta-card-centered::before{
  inset: -2px !important;
}

/* CTA text */
.cta-card.cta-card-centered .cta-title{
  margin: 0 !important;
  color: #ffffff !important;
}

.cta-card.cta-card-centered .cta-subtitle{
  margin: 0 !important;
  max-width: 60ch !important;
  color: rgba(255,255,255,0.85) !important;
}

/* CTA buttons row */
.cta-card.cta-card-centered .cta-actions{
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
  width: 100% !important;
  margin: 0 !important;
}

/* =========================
   About Page polish
========================= */

.about-page .about-header{
  text-align: center;
  max-width: 860px;
  margin: 0 auto 45px;
}

.about-page .about-note{
  margin: 12px auto 0;
  max-width: 820px;
  color: var(--muted);
}

.about-page .about-actions{
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

/* =========================
   About Hero Upgrade
========================= */

.about-hero {
  max-width: 860px;
  margin: 60px auto 0;
  padding: 42px 36px;

  background: rgba(18, 26, 42, 0.85);
  border: 1px solid rgba(59,130,246,0.18);
  border-radius: 20px;

  box-shadow: 0 25px 70px rgba(0,0,0,0.45);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Soft glow */
.about-hero::before {
  content: "";
  position: absolute;
  inset: -40px;
  background: radial-gradient(
    500px 200px at 50% 0%,
    rgba(59,130,246,0.25),
    transparent 60%
  );
  pointer-events: none;
}

.about-hero > * {
  position: relative;
  z-index: 1;
}

/* ==========================================================
   ABOUT PAGE UPGRADE (paste at very end of style.css)
========================================================== */

.about-page .about{
  padding-top: 40px;
}

/* Hero card (adds structure + removes “boring empty space”) */
.about-page .about-hero{
  max-width: 920px;
  margin: 50px auto 0;
  padding: 44px 34px;

  text-align: center;
  border-radius: 22px;
  position: relative;
  overflow: hidden;

  background: rgba(18, 26, 42, 0.86);
  border: 1px solid rgba(59,130,246,0.18);
  box-shadow: 0 26px 70px rgba(0,0,0,0.45);
}

/* Subtle glow */
.about-page .about-hero::before{
  content:"";
  position:absolute;
  inset:-60px;
  background:
    radial-gradient(520px 220px at 50% 0%, rgba(59,130,246,0.28), transparent 60%),
    radial-gradient(520px 220px at 12% 65%, rgba(59,130,246,0.14), transparent 60%);
  pointer-events:none;
}

.about-page .about-hero > *{
  position: relative;
  z-index: 1;
}

/* Small badge above title */
.about-page .about-badge{
  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 8px 12px;
  border-radius: 999px;

  font-weight: 700;
  font-size: 0.9rem;

  background: rgba(59,130,246,0.14);
  border: 1px solid rgba(59,130,246,0.28);
  color: #ffffff;
  margin-bottom: 14px;
}

/* Text spacing + width */
.about-page .about-subtitle{
  max-width: 72ch;
  margin: 10px auto 0;
}

.about-page .about-trust{
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.92rem;
}

/* Scope note as a nice “info strip” */
.about-page .about-scope{
  margin: 18px auto 0;
  max-width: 78ch;

  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;

  padding: 14px 14px;
  border-radius: 14px;

  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  text-align: left;
}

.about-page .about-scope-icon{
  width: 34px;
  height: 34px;
  border-radius: 999px;

  display:flex;
  align-items:center;
  justify-content:center;

  background: rgba(59,130,246,0.16);
  border: 1px solid rgba(59,130,246,0.25);
}

.about-page .about-note{
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

/* Action buttons row */
.about-page .about-actions{
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

/* Values strip (breaks up page visually) */
.about-page .about-values{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;

  max-width: 1100px;
  margin: 26px auto 0;
}

.about-page .value-card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px 20px;
  text-align: center;

  box-shadow: var(--shadow-md);
  transition: transform .25s ease, box-shadow .25s ease;
}

.about-page .value-card:hover{
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.about-page .value-card h3{
  margin-bottom: 8px;
  color: var(--text);
}

.about-page .value-card p{
  color: var(--muted);
  line-height: 1.6;
}

/* Tidy spacing for sections below hero */
.about-page .about-stats{
  margin-top: 26px;
}

.about-page .about-features{
  margin-top: 22px;
}

/* Mobile */
@media (max-width: 900px){
  .about-page .about-hero{
    padding: 30px 18px;
    margin-top: 34px;
  }

  .about-page .about-values{
    grid-template-columns: 1fr;
  }

  .about-page .about-scope{
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-page .about-scope-icon{
    margin: 0 auto;
  }
}

/* ==========================================================
   ABOUT PAGE - Extra Sections
   Paste at VERY END of style.css
========================================================== */

/* Hero detail strip */
.about-page .about-hero-details{
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
  max-width: 860px;
  margin: 18px auto 0;
}

.about-page .about-detail{
  padding: 14px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  text-align: left;
}

.about-page .about-detail-title{
  font-weight: 800;
  color: var(--text);
  margin-bottom: 4px;
  font-size: 0.95rem;
}

.about-page .about-detail-text{
  color: var(--muted);
  line-height: 1.45;
  font-size: 0.95rem;
}

/* Two-panel split */
.about-page .about-split{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 18px;
}

.about-page .about-panel{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px 20px;
  box-shadow: var(--shadow-md);
}

.about-page .about-panel-muted{
  background: rgba(255,255,255,0.03);
}

.about-page .panel-title{
  margin-bottom: 10px;
  color: var(--text);
}

.about-page .panel-note{
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Nice list bullets */
.about-page .about-list{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.about-page .about-list li{
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.55;
}

.about-page .about-list li::before{
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brand);
  font-weight: 900;
}

/* Mini cards */
.about-page .about-grid-4{
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 16px;
  margin-top: 18px;
}

.about-page .mini-card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 16px;
  box-shadow: var(--shadow-md);
}

.about-page .mini-card h4{
  margin-bottom: 8px;
  color: var(--text);
  font-size: 1.05rem;
}

.about-page .mini-card p{
  color: var(--muted);
  line-height: 1.6;
}

/* Areas pills */
.about-page .areas-pills{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin-top: 18px;
}

.about-page .areas-pills span{
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  color: #ffffff;
  font-weight: 700;
}

/* Bio section */
.about-page .about-bio{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 18px;
}

.about-page .bio-card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px 20px;
  box-shadow: var(--shadow-md);
}

.about-page .bio-card h3{
  margin-bottom: 8px;
  color: var(--text);
}

.about-page .bio-card p{
  color: var(--muted);
  line-height: 1.7;
}

/* Responsive */
@media (max-width: 900px){
  .about-page .about-hero-details{
    grid-template-columns: 1fr;
    text-align: center;
  }
  .about-page .about-detail{
    text-align: center;
  }
  .about-page .about-split{
    grid-template-columns: 1fr;
  }
  .about-page .about-grid-4{
    grid-template-columns: 1fr;
  }
  .about-page .about-bio{
    grid-template-columns: 1fr;
  }
}

/* ==========================================================
   ABOUT PAGE (expanded) - CSS
   Paste at VERY END of style.css
========================================================== */

/* Extra spacing blocks used on about page */
.about-page .about-more{
  margin-top: 22px;
}

/* Hero quick facts strip */
.about-page .about-hero-details{
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
  max-width: 880px;
  margin: 18px auto 0;
}

.about-page .about-detail{
  padding: 14px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  text-align: left;
}

.about-page .about-detail-title{
  font-weight: 800;
  color: var(--text);
  margin-bottom: 4px;
  font-size: 0.95rem;
}

.about-page .about-detail-text{
  color: var(--muted);
  line-height: 1.45;
  font-size: 0.95rem;
}

/* What I can help with / I don’t cover */
.about-page .about-split{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 18px;
}

.about-page .about-panel{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px 20px;
  box-shadow: var(--shadow-md);
}

.about-page .about-panel-muted{
  background: rgba(255,255,255,0.03);
}

.about-page .panel-title{
  margin-bottom: 10px;
  color: var(--text);
  font-size: 1.2rem;
}

.about-page .panel-note{
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Clean tick list */
.about-page .about-list{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.about-page .about-list li{
  position: relative;
  padding-left: 24px;
  color: var(--muted);
  line-height: 1.55;
}

.about-page .about-list li::before{
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brand);
  font-weight: 900;
}

/* Common issues mini grid */
.about-page .about-grid-4{
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 16px;
  margin-top: 18px;
}

.about-page .mini-card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 16px;
  box-shadow: var(--shadow-md);
  transition: transform .25s ease, box-shadow .25s ease;
}

.about-page .mini-card:hover{
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.about-page .mini-card h4{
  margin-bottom: 8px;
  color: var(--text);
  font-size: 1.05rem;
}

.about-page .mini-card p{
  color: var(--muted);
  line-height: 1.6;
}

/* What to send section (2 cards) */
.about-page .about-bio{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 18px;
}

.about-page .bio-card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px 20px;
  box-shadow: var(--shadow-md);
}

.about-page .bio-card h3{
  margin-bottom: 8px;
  color: var(--text);
  font-size: 1.2rem;
}

.about-page .bio-card p{
  color: var(--muted);
  line-height: 1.7;
}

/* Areas covered pills (blue section) */
.about-page .areas-pills{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin-top: 18px;
}

.about-page .areas-pills span{
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  color: #ffffff;
  font-weight: 800;
}

/* Make sure section titles stay readable where needed */
.about-page .section-title{
  margin-bottom: 12px;
}

/* Responsive */
@media (max-width: 900px){
  .about-page .about-hero-details{
    grid-template-columns: 1fr;
  }

  .about-page .about-detail{
    text-align: center;
  }

  .about-page .about-split{
    grid-template-columns: 1fr;
  }

  .about-page .about-grid-4{
    grid-template-columns: 1fr;
  }

  .about-page .about-bio{
    grid-template-columns: 1fr;
  }
}

/* =========================
   FIX: Stat cards text invisible (dark theme)
   Paste at VERY END of style.css
========================= */

.stat-card,
.feature-card,
.service-card {
  color: var(--text) !important;
}

.stat-card p,
.feature-card p,
.service-card p {
  color: var(--muted) !important;
}

/* If you want the big stat label to be brand coloured */
.stat-card h3 {
  color: var(--brand) !important;
}

.stat-card{
  background: rgba(18, 26, 42, 0.92) !important;
  border: 1px solid rgba(255,255,255,0.10) !important;
  box-shadow: 0 14px 40px rgba(0,0,0,0.35) !important;
}

/* =========================
   FIX: reveal items invisible (fallback)
   Makes content visible by default, JS can still animate by adding .active
========================= */

/* Default: show content */
.reveal{
  opacity: 1 !important;
  transform: none !important;
}

/* If you still want animation when JS adds .active,
   keep the transition but don’t hide content */
.reveal.active{
  opacity: 1 !important;
  transform: none !important;
}

/* ==========================================================
   ABOUT PAGE CLEANUP (ONLY)
   Paste at VERY END of style.css
========================================================== */

body.about-page{
  /* slightly richer background just for About */
  background: radial-gradient(1200px 520px at 50% 0%, rgba(59,130,246,0.12), transparent 55%),
              radial-gradient(900px 420px at 15% 30%, rgba(255,255,255,0.05), transparent 60%),
              var(--bg) !important;
}

/* Stop section-white drawing hard lines everywhere on About */
body.about-page .section-white{
  border-top: 0 !important;
  background: transparent !important; /* avoid “boxed sections inside sections” */
}

/* Main about wrapper spacing */
body.about-page .about{
  padding: 34px 0 20px !important;
}

/* Remove “nested section” look for about-more blocks */
body.about-page .about-more{
  margin-top: 26px;
  padding: 0 !important;        /* no internal section padding */
  background: transparent !important;
  border: 0 !important;
}

/* Section titles on About: tighter + less huge */
body.about-page .section-title{
  margin-bottom: 12px !important;
  font-size: 2.0rem !important;
}

/* HERO CARD — make it the main focal panel */
body.about-page .about-hero{
  max-width: 980px;
  margin: 34px auto 0;
  padding: 42px 34px;

  background: rgba(18,26,42,0.86) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  border-radius: 22px;
  box-shadow: 0 18px 60px rgba(0,0,0,0.45);

  overflow: hidden;
  position: relative;
  text-align: center;
}

body.about-page .about-hero::before{
  content:"";
  position:absolute;
  inset:-60px;
  background: radial-gradient(700px 260px at 50% 0%, rgba(59,130,246,0.28), transparent 62%);
  pointer-events:none;
}

body.about-page .about-hero > *{
  position: relative;
  z-index: 1;
}

body.about-page .about-badge{
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.9rem;

  background: rgba(59,130,246,0.14);
  border: 1px solid rgba(59,130,246,0.24);
  color: #fff;
}

body.about-page .about-subtitle{
  max-width: 72ch;
  margin: 10px auto 0;
  color: var(--muted);
}

/* Quick facts — remove harsh borders */
body.about-page .about-hero-details{
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
  margin-top: 18px;
}

body.about-page .about-detail{
  background: rgba(255,255,255,0.04) !important;
  border: 1px solid rgba(255,255,255,0.06) !important;
  border-radius: 16px;
  padding: 14px 14px;
}

body.about-page .about-detail-title{
  color: var(--text);
}

body.about-page .about-detail-text{
  color: var(--muted);
}

/* Scope strip — soften border, nicer spacing */
body.about-page .about-scope{
  margin-top: 16px;
  background: rgba(255,255,255,0.04) !important;
  border: 1px solid rgba(255,255,255,0.06) !important;
  border-radius: 16px;
}

body.about-page .about-note{
  color: var(--muted) !important;
}

/* Buttons row (About) */
body.about-page .about-actions{
  margin-top: 18px;
}

/* Trust line */
body.about-page .about-trust{
  margin-top: 14px;
  color: rgba(184,194,214,0.9);
  font-size: 0.95rem;
}

/* Make ALL about cards consistent (no ugly borders) */
body.about-page .value-card,
body.about-page .about-panel,
body.about-page .mini-card,
body.about-page .bio-card,
body.about-page .stat-card,
body.about-page .feature-card{
  background: rgba(18,26,42,0.90) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  border-radius: 18px !important;
  box-shadow: 0 12px 34px rgba(0,0,0,0.35) !important;
}

/* Remove “muted panel” looking like a different theme */
body.about-page .about-panel-muted{
  background: rgba(18,26,42,0.80) !important;
}

/* Lists: clean + consistent */
body.about-page .about-list li{
  color: var(--muted) !important;
}

body.about-page .about-list li::before{
  color: var(--brand) !important;
}

/* Grids spacing: stop giant gaps */
body.about-page .about-values{ margin-top: 22px; }
body.about-page .about-split{ margin-top: 14px; }
body.about-page .about-grid-4{ margin-top: 14px; }
body.about-page .about-bio{ margin-top: 14px; }
body.about-page .about-stats{ margin-top: 22px !important; margin-bottom: 28px !important; }
body.about-page .about-features{ margin-top: 18px !important; }

/* FIX: reveal shouldn’t hide content on About */
body.about-page .reveal{
  opacity: 1 !important;
  transform: none !important;
}

/* Mobile tidy */
@media (max-width: 900px){
  body.about-page .about-hero{
    padding: 28px 18px;
  }
  body.about-page .about-hero-details{
    grid-template-columns: 1fr;
  }
  body.about-page .about-detail{
    text-align: center;
  }
}

/* ==========================================================
   ABOUT PAGE: How it works upgrade + centered CTA box
   Paste at VERY END of style.css
========================================================== */

body.about-page .how-it-works-about{
  padding: 70px 0 80px;
  position: relative;
}

/* More premium header spacing */
body.about-page .how-it-works-about .how-header{
  margin-bottom: 26px;
  max-width: 820px;
}

/* 2x2 grid on desktop */
body.about-page .how-grid-2x2{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 980px;
  margin: 0 auto;
}

/* Make cards feel consistent on blue */
body.about-page .how-it-works-about .how-card{
  background: rgba(18, 26, 42, 0.92) !important;
  border: 1px solid rgba(255,255,255,0.10) !important;
  border-radius: 18px;
  box-shadow: 0 14px 42px rgba(0,0,0,0.35);
  padding: 26px 22px;
  text-align: left;
}

body.about-page .how-it-works-about .how-card h3{
  margin-bottom: 8px;
  color: #fff;
}

body.about-page .how-it-works-about .how-card p{
  color: rgba(255,255,255,0.82);
}

/* Step badge */
body.about-page .how-it-works-about .how-step{
  background: rgba(59,130,246,0.18);
  border: 1px solid rgba(59,130,246,0.25);
  color: #fff;
}

/* Center CTA box under grid */
body.about-page .how-cta-box{
  max-width: 760px;
  margin: 18px auto 0;
  padding: 26px 22px;
  border-radius: 20px;

  background: radial-gradient(650px 220px at 50% 0%, rgba(59,130,246,0.28), transparent 60%),
              rgba(18, 26, 42, 0.92);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 18px 55px rgba(0,0,0,0.40);

  text-align: center;
}

body.about-page .how-cta-title{
  margin: 0 0 8px;
  font-size: 1.8rem;
  color: #fff;
}

body.about-page .how-cta-subtitle{
  margin: 0 auto 14px;
  max-width: 60ch;
  color: rgba(255,255,255,0.82);
  line-height: 1.6;
}

body.about-page .how-cta-actions{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Pills row */
body.about-page .how-cta-meta{
  margin-top: 14px;
  display: flex;
  justify-content: center;
  gap: 10px 12px;
  flex-wrap: wrap;
}

body.about-page .how-cta-meta span{
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
}

/* Mobile */
@media (max-width: 900px){
  body.about-page .how-grid-2x2{
    grid-template-columns: 1fr;
  }

  body.about-page .how-cta-box{
    margin-top: 14px;
    padding: 22px 16px;
  }

  body.about-page .how-cta-actions a{
    width: 100%;
  }
}

/* ==========================================================
   HOMEPAGE: Why Choose + How it Works upgrade
   Paste at VERY END of style.css
========================================================== */

/* If reveal JS fails, don’t let homepage sections go invisible */
body.home-page .home-why .reveal,
body.home-page .home-how .reveal{
  opacity: 1;
  transform: none;
}

/* --------------------------
   WHY CHOOSE (home)
--------------------------- */

body.home-page .home-why{
  padding: 80px 0 84px;
  position: relative;
}

body.home-page .home-why-hero{
  max-width: 980px;
  margin: 0 auto;
  padding: 44px 34px;
  border-radius: 22px;
  text-align: center;
  position: relative;
  overflow: hidden;

  background: rgba(18, 26, 42, 0.92);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 24px 70px rgba(0,0,0,0.45);
}

/* subtle glow */
body.home-page .home-why-hero::before{
  content:"";
  position:absolute;
  inset:-60px;
  background:
    radial-gradient(520px 220px at 50% 0%, rgba(59,130,246,0.28), transparent 60%),
    radial-gradient(520px 220px at 12% 65%, rgba(59,130,246,0.14), transparent 60%);
  pointer-events:none;
}
body.home-page .home-why-hero > *{ position: relative; z-index: 1; }

body.home-page .home-why-badge{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.92rem;
  margin-bottom: 14px;

  background: rgba(59,130,246,0.14);
  border: 1px solid rgba(59,130,246,0.28);
  color: #ffffff;
}

body.home-page .home-why-subtitle{
  max-width: 72ch;
  margin: 10px auto 0;
  color: rgba(255,255,255,0.86);
  line-height: 1.65;
}

/* facts strip */
body.home-page .home-why-facts{
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
  max-width: 900px;
  margin: 18px auto 0;
  text-align: left;
}

body.home-page .home-fact{
  padding: 14px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
}

body.home-page .home-fact-title{
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 4px;
  font-size: 0.95rem;
}

body.home-page .home-fact-text{
  color: rgba(255,255,255,0.80);
  line-height: 1.45;
  font-size: 0.95rem;
}

/* scope strip */
body.home-page .home-why-scope{
  margin: 18px auto 0;
  max-width: 78ch;

  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;

  padding: 14px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  text-align: left;
}

body.home-page .home-why-scope-icon{
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(59,130,246,0.16);
  border: 1px solid rgba(59,130,246,0.25);
  color: #ffffff;
}

body.home-page .home-why-scope-text{
  margin: 0;
  color: rgba(255,255,255,0.82);
  line-height: 1.6;
}

body.home-page .home-why-actions{
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

body.home-page .home-why-trust{
  margin-top: 14px;
  color: rgba(255,255,255,0.72);
  font-size: 0.92rem;
}

/* stats */
body.home-page .home-stats{
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 14px;
  max-width: 980px;
  margin: 18px auto 0;
}

body.home-page .home-stat{
  background: rgba(18, 26, 42, 0.92);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 18px;
  padding: 18px 16px;
  text-align: center;
  box-shadow: 0 14px 42px rgba(0,0,0,0.35);
}

body.home-page .home-stat-number{
  font-size: 1.6rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 6px;
}

body.home-page .home-stat-label{
  color: rgba(255,255,255,0.78);
  font-weight: 700;
  font-size: 0.95rem;
}

/* features */
body.home-page .home-features{
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 14px;
  max-width: 980px;
  margin: 14px auto 0;
}

body.home-page .home-feature{
  background: rgba(18, 26, 42, 0.92);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 18px;
  padding: 20px 18px;
  box-shadow: 0 14px 42px rgba(0,0,0,0.35);
  text-align: left;
}

body.home-page .home-feature-icon{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(59,130,246,0.18);
  border: 1px solid rgba(59,130,246,0.22);
  margin-bottom: 12px;
}

body.home-page .home-feature h4{
  margin-bottom: 6px;
  color: #ffffff;
}

body.home-page .home-feature p{
  margin: 0;
  color: rgba(255,255,255,0.80);
  line-height: 1.6;
}

/* --------------------------
   HOW IT WORKS (home)
--------------------------- */

body.home-page .home-how{
  padding: 78px 0 84px;
}

body.home-page .home-how-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 980px;
  margin: 0 auto;
}

/* Use your existing .how-card base but make it richer on white section */
body.home-page .home-how .how-card{
  background: rgba(18, 26, 42, 0.92) !important;
  border: 1px solid rgba(255,255,255,0.10) !important;
  border-radius: 18px;
  box-shadow: 0 14px 42px rgba(0,0,0,0.35);
  padding: 26px 22px;
  text-align: left;
}

body.home-page .home-how .how-card h3{ color: #ffffff; }
body.home-page .home-how .how-card p{ color: rgba(255,255,255,0.82); }

/* step badge matches theme */
body.home-page .home-how .how-step{
  background: rgba(59,130,246,0.18);
  border: 1px solid rgba(59,130,246,0.22);
  color: #ffffff;
}

/* centered CTA box underneath */
body.home-page .home-how-cta-box{
  max-width: 760px;
  margin: 18px auto 0;
  padding: 26px 22px;
  border-radius: 20px;

  background: radial-gradient(650px 220px at 50% 0%, rgba(59,130,246,0.28), transparent 60%),
              rgba(18, 26, 42, 0.92);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 18px 55px rgba(0,0,0,0.40);

  text-align: center;
}

body.home-page .home-how-cta-title{
  margin: 0 0 8px;
  font-size: 1.8rem;
  color: #fff;
}

body.home-page .home-how-cta-subtitle{
  margin: 0 auto 14px;
  max-width: 60ch;
  color: rgba(255,255,255,0.82);
  line-height: 1.6;
}

body.home-page .home-how-cta-actions{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

body.home-page .home-how-cta-meta{
  margin-top: 14px;
  display: flex;
  justify-content: center;
  gap: 10px 12px;
  flex-wrap: wrap;
}

body.home-page .home-how-cta-meta span{
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  color: #fff;
  font-weight: 800;
  font-size: 0.92rem;
}

/* Mobile */
@media (max-width: 900px){
  body.home-page .home-why-hero{
    padding: 30px 18px;
  }

  body.home-page .home-why-facts{
    grid-template-columns: 1fr;
    text-align: center;
  }

  body.home-page .home-why-scope{
    grid-template-columns: 1fr;
    text-align: center;
  }

  body.home-page .home-why-scope-icon{
    margin: 0 auto;
  }

  body.home-page .home-stats{
    grid-template-columns: 1fr;
  }

  body.home-page .home-features{
    grid-template-columns: 1fr;
  }

  body.home-page .home-how-grid{
    grid-template-columns: 1fr;
  }

  body.home-page .home-how-cta-actions a{
    width: 100%;
  }
}

/* ==========================================================
   BOOKING PAGE UPGRADE
   Paste this at VERY END of style.css
========================================================== */

/* Page wrapper spacing */
body.booking-page .booking-hero,
body.booking-page .booking-main{
  padding-top: 34px;
  padding-bottom: 34px;
}

/* ---------- Booking Hero Card ---------- */
body.booking-page .booking-hero-card{
  max-width: 1100px;
  margin: 0 auto;
  padding: 34px 26px;

  border-radius: 22px;
  position: relative;
  overflow: hidden;
  text-align: center;

  background: rgba(18, 26, 42, 0.86);
  border: 1px solid rgba(59,130,246,0.18);
  box-shadow: 0 26px 70px rgba(0,0,0,0.45);
}

/* Soft glow */
body.booking-page .booking-hero-card::before{
  content:"";
  position:absolute;
  inset:-70px;
  background:
    radial-gradient(520px 220px at 50% 0%, rgba(59,130,246,0.26), transparent 60%),
    radial-gradient(520px 220px at 12% 65%, rgba(59,130,246,0.14), transparent 60%);
  pointer-events:none;
}
body.booking-page .booking-hero-card > *{
  position: relative;
  z-index: 1;
}

/* Badge */
body.booking-page .booking-badge{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  padding: 8px 12px;
  border-radius: 999px;

  font-weight: 800;
  font-size: 0.92rem;

  background: rgba(59,130,246,0.14);
  border: 1px solid rgba(59,130,246,0.28);
  color: #ffffff;

  margin-bottom: 12px;
}

/* Subtitle width + spacing */
body.booking-page .booking-subtitle{
  max-width: 72ch;
  margin: 10px auto 0 !important;
  color: var(--muted) !important;
  line-height: 1.7;
}

/* Benefits pills (clean + consistent) */
body.booking-page .booking-benefits{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin-top: 16px;
}

body.booking-page .booking-benefits span{
  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 8px 12px;
  border-radius: 999px;

  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  color: #ffffff !important;

  font-weight: 700;
  font-size: 0.95rem;
}

/* Quick action buttons row */
body.booking-page .booking-quick-actions{
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

/* Scope note strip */
body.booking-page .booking-scope{
  margin: 18px auto 0;
  max-width: 86ch;

  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;

  padding: 14px 14px;
  border-radius: 16px;

  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  text-align: left;
}

body.booking-page .booking-scope-icon{
  width: 34px;
  height: 34px;
  border-radius: 999px;

  display:flex;
  align-items:center;
  justify-content:center;

  background: rgba(59,130,246,0.16);
  border: 1px solid rgba(59,130,246,0.25);
}

body.booking-page .booking-scope-text{
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

/* ---------- Booking Layout (widget + form) ---------- */
body.booking-page .booking-layout{
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 18px;
  align-items: start;

  max-width: 1200px;
  margin: 0 auto;
}

/* Left panel (widget) */
body.booking-page .booking-panel{
  background: rgba(18, 26, 42, 0.72);
  border: 1px solid rgba(31, 42, 68, 0.9);
  border-radius: 18px;
  padding: 20px 18px;
  box-shadow: var(--shadow-md);
}

body.booking-page .panel-head{
  margin-bottom: 14px;
  text-align: left;
}

body.booking-page .panel-title{
  margin: 0 0 6px;
  color: var(--text);
  font-size: 1.25rem;
}

body.booking-page .panel-subtitle{
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

/* Widget placeholder styling */
body.booking-page .widget-placeholder{
  border-radius: 16px;
  border: 1px dashed rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.03);
  padding: 22px 18px;
  text-align: center;
}

body.booking-page .widget-placeholder-icon{
  font-size: 28px;
  margin-bottom: 8px;
}

body.booking-page .widget-placeholder-text{
  color: var(--muted);
  line-height: 1.6;
}
body.booking-page .widget-placeholder-text strong{
  color: #ffffff;
}

/* Reassurance cards */
body.booking-page .booking-reassurance{
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
  margin-top: 14px;
}

body.booking-page .reassurance-card{
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;

  padding: 12px 12px;
  border-radius: 14px;

  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

body.booking-page .reassurance-icon{
  width: 34px;
  height: 34px;
  border-radius: 999px;

  display:flex;
  align-items:center;
  justify-content:center;

  background: rgba(59,130,246,0.16);
  border: 1px solid rgba(59,130,246,0.25);
  color: #ffffff;
}

body.booking-page .reassurance-text{
  display: grid;
  gap: 3px;
}

body.booking-page .reassurance-text strong{
  color: #ffffff;
  font-size: 0.98rem;
}

body.booking-page .reassurance-text span{
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

/* Right column: reuse your contact-card but ensure it sits nicely */
body.booking-page .booking-contact .contact-card{
  margin: 0;
}

/* Contact footer strip */
body.booking-page .contact-footer{
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.10);

  display: grid;
  gap: 10px;
}

body.booking-page .contact-footer-item{
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
}

body.booking-page .contact-footer-icon{
  width: 28px;
  height: 28px;
  border-radius: 999px;

  display:flex;
  align-items:center;
  justify-content:center;

  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  color: #ffffff;
}

/* ---------- FAQ ---------- */
body.booking-page .booking-faq{
  max-width: 1200px;
  margin: 18px auto 0;
  padding: 18px 0 0;
}

body.booking-page .faq-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
}

body.booking-page .faq-item{
  background: rgba(18, 26, 42, 0.72);
  border: 1px solid rgba(31, 42, 68, 0.9);
  border-radius: 16px;
  padding: 12px 14px;
  box-shadow: var(--shadow-sm);
}

body.booking-page .faq-item summary{
  cursor: pointer;
  font-weight: 800;
  color: #ffffff;
  list-style: none;
}

body.booking-page .faq-item summary::-webkit-details-marker{
  display: none;
}

body.booking-page .faq-item summary::after{
  content: "+";
  float: right;
  font-weight: 900;
  color: rgba(255,255,255,0.75);
}

body.booking-page .faq-item[open] summary::after{
  content: "–";
}

body.booking-page .faq-item p{
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

/* ---------- Mobile ---------- */
@media (max-width: 1000px){
  body.booking-page .booking-layout{
    grid-template-columns: 1fr;
  }

  body.booking-page .booking-reassurance{
    grid-template-columns: 1fr;
  }

  body.booking-page .faq-grid{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px){
  body.booking-page .booking-scope{
    grid-template-columns: 1fr;
    text-align: center;
  }
  body.booking-page .booking-scope-icon{
    margin: 0 auto;
  }
}

/* ---------- Make outline buttons look good in booking hero ---------- */
body.booking-page a.btn-outline{
  background: rgba(255,255,255,0.06) !important;
  border: 2px solid rgba(255,255,255,0.55) !important;
  color: #ffffff !important;
}

body.booking-page a.btn-outline:hover{
  background: rgba(255,255,255,0.12) !important;
  border-color: #ffffff !important;
}

/* Ensure section spacing doesn't create giant gaps */
body.booking-page .booking-page{
  padding: 18px 0 70px !important;
}

/* =========================================
   BOOKING HERO – TRUE CENTER ALIGNMENT FIX
========================================= */

.booking-hero-card {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
}

/* Badge */
.booking-hero-card .booking-badge {
  margin-left: auto;
  margin-right: auto;
}

/* Title + subtitle width control */
.booking-hero-card h2 {
  max-width: 22ch;
}

.booking-hero-card .booking-subtitle {
  max-width: 60ch;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Pills row */
.booking-benefits {
  justify-content: center !important;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Action buttons */
.booking-quick-actions {
  justify-content: center !important;
}

/* Scope note */
.booking-scope {
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 820px;
}

.booking-scope {
  text-align: left;
}

/* Mobile: keep everything centered */
@media (max-width: 900px) {
  .booking-hero-card h2 {
    max-width: 100%;
  }

  .booking-hero-card .booking-subtitle {
    max-width: 100%;
  }

  .booking-scope {
    text-align: center;
  }
}

/* =========================================
   FIX: "Book Your Service" not centered
========================================= */

.booking-hero-card h1,
.booking-hero-card h2,
.booking-header h1,
.booking-header h2 {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* =========================================
   FIX: Booking contact box not centered
========================================= */

.booking-contact,
.booking-page .booking-contact {
  display: flex;
  justify-content: center;
}

.contact-card {
  margin-left: auto !important;
  margin-right: auto !important;
  width: 100%;
  max-width: 980px; /* keep your intended width */
}

/* =========================================
   BOOKING: Force the contact card to center
   (works even if parent uses grid)
========================================= */

/* Make sure the wrapper can span full width in a grid */
.booking-page .booking-contact{
  width: 100%;
  grid-column: 1 / -1;        /* KEY: span all grid columns */
  justify-self: center;       /* center within grid */
  display: flex;
  justify-content: center;
}

/* Center the card itself */
.booking-page .contact-card{
  width: min(980px, 100%);
  margin: 0 auto !important;
  justify-self: center;
  float: none !important;
}

/* FAQ */
.faq-item{
  max-width: 900px;
  margin: 0 auto;
  background: linear-gradient(180deg,#0f1c2e,#0b1626);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
}

.faq-question{
  width: 100%;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: default;
}

.faq-answer{
  padding: 0 22px 20px;
  color: #cbd5e1;
  line-height: 1.6;
}

.faq-icon{
  font-size: 1.4rem;
  opacity: 0.7;
}

/* =========================
   FAQ (Accordion)
========================= */
.faq{
  padding: 70px 0;
}

.faq .section-title{
  margin-bottom: 10px;
}

.faq-subtitle{
  max-width: 75ch;
  margin: 0 auto 22px;
  text-align: center;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
}

.faq-list{
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.faq-item{
  border-radius: 16px;
  overflow: hidden;
  background: rgba(18, 26, 42, 0.92);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 18px 50px rgba(0,0,0,0.35);
}

.faq-question{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 18px 18px;
  background: transparent;
  border: 0;
  cursor: pointer;

  color: #ffffff;
  font-weight: 800;
  font-size: 1.02rem;
  text-align: left;
}

.faq-question:focus-visible{
  outline: 3px solid rgba(59,130,246,0.55);
  outline-offset: 3px;
  border-radius: 12px;
}

.faq-icon{
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 999px;
  background: rgba(59,130,246,0.16);
  border: 1px solid rgba(59,130,246,0.28);
  font-size: 18px;
  flex: 0 0 auto;
}

.faq-answer{
  display: none;
  padding: 0 18px 18px;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
}

.faq-item.active .faq-answer{
  display: block;
}

/* Mobile */
@media (max-width: 640px){
  .faq-question{
    padding: 16px 14px;
    font-size: 1rem;
  }
  .faq-answer{
    padding: 0 14px 16px;
  }
}

/* =========================
   FAQ layout fix
========================= */

.faq-list{
  max-width: 900px;          /* overall width of the FAQ stack */
  margin: 0 auto;            /* center on page */
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.faq-item{
  width: 100%;               /* ALL items same width */
  max-width: 100%;
  margin: 0 auto;

  border-radius: 18px;
  background: rgba(18, 28, 48, 0.95);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}

/* Question row */
.faq-question{
  width: 100%;
  padding: 22px 24px;
  font-size: 1.05rem;
  font-weight: 700;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Answer area */
.faq-answer{
  padding: 0 24px 22px;
  max-width: 100%;
}

/* Icon consistency */
.faq-icon{
  width: 36px;
  height: 36px;
  min-width: 36px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  background: rgba(59,130,246,0.18);
  border: 1px solid rgba(59,130,246,0.35);
  font-size: 20px;
}

/* Mobile tuning */
@media (max-width: 640px){
  .faq-list{
    max-width: 100%;
  }

  .faq-question{
    padding: 18px 16px;
    font-size: 1rem;
  }

  .faq-answer{
    padding: 0 16px 16px;
  }
}

/* Brand container */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

/* Logo image */
.brand-logo {
  height: 36px;
  width: auto;
  display: block;
}

/* Brand text */
.brand-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: #4da3ff; /* match your theme */
  white-space: nowrap;
}

/* Mobile tweak */
@media (max-width: 768px) {
  .brand-logo {
    height: 32px;
  }
}

/* Footer brand container */
.footer-brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-bottom: 10px;
}

/* Footer logo */
.footer-logo {
  height: 34px;
  width: auto;
  display: block;
}

/* Footer brand text */
.footer-brand-text {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
}

/* Footer description */
.footer-brand p {
  margin-top: 8px;
  max-width: 260px;
  font-size: 0.95rem;
  opacity: 0.9;
}

/* Mobile spacing tweak */
@media (max-width: 768px) {
  .footer-brand-link {
    justify-content: center;
  }

  .footer-brand {
    text-align: center;
  }
}

/* =========================================
   FOOTER — Better Mobile Layout
   Paste at END of style.css
========================================= */

/* Desktop/tablet baseline improvements */
.footer-main{
  align-items: start;
}

.footer-links a,
.footer-contact p{
  line-height: 1.7;
}

/* Make the brand row tighter/cleaner */
.footer-brand p{
  margin-top: 10px;
  max-width: 34ch;
}

/* ---------- MOBILE FOOTER ---------- */
@media (max-width: 900px){

  /* Stack everything neatly */
  .footer-main{
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 26px !important;
    padding-bottom: 28px !important;
    text-align: left !important;
  }

  /* Brand centered + nice spacing */
  .footer-brand{
    text-align: center !important;
  }

  .footer-brand-link{
    justify-content: center !important;
    margin-bottom: 8px !important;
  }

  .footer-brand p{
    margin: 8px auto 0 !important;
    max-width: 40ch !important;
  }

  /* Links: turn into 2-column list for mobile */
  .footer-links{
    text-align: left !important;
  }

  .footer-links h4{
    text-align: center !important;
    margin-bottom: 10px !important;
  }

  .footer-links a{
    display: block;
    padding: 10px 12px !important;
    border-radius: 12px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.10);
    text-decoration: none;
  }

  /* Two-column grid for the links */
  .footer-links{
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
  }

  /* Keep the heading spanning both columns */
  .footer-links h4{
    grid-column: 1 / -1 !important;
  }

  /* Contact: clean card feel */
  .footer-contact{
    text-align: left !important;
    padding: 16px 14px !important;
    border-radius: 16px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.10);
  }

  .footer-contact h4{
    text-align: center !important;
    margin-bottom: 10px !important;
  }

  .footer-contact p{
    margin: 8px 0 !important;
    opacity: 0.95;
  }

  /* Bottom bar tighter */
  .footer-bottom{
    padding: 14px 10px !important;
    font-size: 0.9rem !important;
  }
}

/* Extra small screens: links become 1 column */
@media (max-width: 420px){
  .footer-links{
    grid-template-columns: 1fr !important;
  }

  .footer-links a{
    text-align: center;
  }

  .footer-contact{
    text-align: center !important;
  }
}

/* =========================
   Pump Capacitor Section
   Paste at VERY END of style.css
========================= */

.cap-card{
  max-width: 980px;
  margin: 28px auto 0;
  padding: 26px 22px;
  border-radius: 18px;
  position: relative;
  overflow: hidden;
  text-align: center;

  background: rgba(18, 26, 42, 0.92);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 18px 50px rgba(0,0,0,0.35);
}

/* subtle glow */
.cap-card::before{
  content:"";
  position:absolute;
  inset:-60px;
  background:
    radial-gradient(650px 220px at 50% 0%, rgba(59,130,246,0.28), transparent 60%),
    radial-gradient(520px 220px at 15% 70%, rgba(59,130,246,0.14), transparent 60%);
  pointer-events:none;
}

.cap-card > *{
  position: relative;
  z-index: 1;
}

/* optional badge */
.cap-badge{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  padding: 8px 12px;
  border-radius: 999px;
  margin-bottom: 12px;

  font-weight: 800;
  font-size: 0.92rem;
  color: #ffffff;

  background: rgba(59,130,246,0.14);
  border: 1px solid rgba(59,130,246,0.28);
}

/* heading + intro */
.cap-card h2{
  margin: 0 0 8px;
  font-size: clamp(22px, 2.3vw, 30px);
  line-height: 1.15;
  color: #ffffff;
}

.cap-card p{
  margin: 0 auto 14px;
  max-width: 70ch;
  color: rgba(255,255,255,0.85);
  line-height: 1.65;
}

/* symptom list */
.cap-list{
  list-style: none;
  margin: 10px auto 14px;
  padding: 0;
  max-width: 680px;

  display: grid;
  gap: 10px;
  text-align: left;
}

.cap-list li{
  position: relative;
  padding-left: 28px;
  color: rgba(255,255,255,0.88);
  line-height: 1.5;
}

.cap-list li::before{
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 900;
  color: var(--brand);
}

/* action buttons row */
.cap-actions{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

/* small note line */
.cap-note{
  margin-top: 12px;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.72);
  max-width: 78ch;
}

/* mobile */
@media (max-width: 640px){
  .cap-card{
    padding: 22px 16px;
  }
  .cap-list{
    text-align: left;
  }
  .cap-actions a{
    width: 100%;
  }
}

/* =========================
   Center Capacitor Buttons
========================= */

.cap-actions{
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 12px;
  width: 100%;
  text-align: center;
}

/* Mobile: stack neatly */
@media (max-width: 640px){
  .cap-actions{
    flex-direction: column;
  }

  .cap-actions a{
    width: 100%;
    max-width: 320px;
  }
}

/* =========================================
   FOOTER ALIGNMENT FIX (DESKTOP)
   Prevent centering on large screens
========================================= */

@media (min-width: 901px){

  .footer-main{
    text-align: left !important;
    justify-items: start !important;
  }

  .footer-brand{
    text-align: left !important;
    align-items: flex-start !important;
  }

  .footer-links{
    text-align: left !important;
    justify-items: start !important;
  }

  .footer-contact{
    text-align: left !important;
    align-items: flex-start !important;
  }

  /* Ensure links don’t auto-center */
  .footer-links a{
    text-align: left !important;
  }

}

