/* ================= ROOT ================= */
:root {
  --black: #0a1220;
  --primary: #1e3a8a;
  --accent: #2563eb;
  --danger: #dc2626;

  --light: #ffffff;
  --soft: #f8fafc;
  --text-dark: #0f172a;
  --text-light: #ffffff;
}

/* ================= RESET ================= */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Poppins', system-ui, sans-serif;
  background: var(--light);
  color: var(--text-dark);
}

/* ================= LAYOUT ================= */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  position: relative;
}

/* ================= HEADER ================= */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(6px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, .06);
}

/* RED BRAND LINE */
.header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--danger);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 110px;
}

/* ================= LOGO ================= */
.logo {
  height: 110px;
  background: transparent;
  padding: 0;
  border-radius: 0;
  transition: transform .25s ease;
}

.logo:hover {
  transform: scale(1.06);
}

/* ================= NAV ================= */
.nav {
  display: flex;
  align-items: center;
}

.nav a {
  color: var(--text-dark);
  text-decoration: none;
  margin-left: 28px;
  font-weight: 600;
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--danger);
  transition: width .25s ease;
}

.nav a:hover {
  color: var(--primary);
}

.nav a:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--danger);
  color: #fff !important;
  padding: 12px 26px;
  border-radius: 40px;
  font-weight: 700;
  margin-left: 32px;
  transition: transform .25s ease, box-shadow .25s ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(220, 38, 38, .45);
}

/* ================= MENU TOGGLE ================= */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.2rem;
}

/* ================= HERO ================= */
.hero {
  min-height: 100vh;
  padding-top: 110px;
  background:
    linear-gradient(rgba(0, 0, 0, 0.55),
      rgba(0, 0, 0, 0.45)),
    url("../images/1.png") center / cover no-repeat;
  display: flex;
  align-items: center;
}

.hero-content {
  text-align: center;
  color: #ffffff;
  max-width: 900px;
  margin: auto;
}

.hero h1 {
  font-size: 3.4rem;
  font-weight: 700;
  line-height: 1.25;
  text-shadow: 0 6px 25px rgba(0, 0, 0, .6);
}

.hero h1 span {
  color: #60a5fa;
  /* lighter blue for contrast */
  display: inline-block;
}

.hero p {
  margin-top: 18px;
  font-size: 1.15rem;
  color: #e5e7eb;
  text-shadow: 0 4px 18px rgba(0, 0, 0, .6);
}

/* ================= BUTTONS ================= */
.hero-buttons {
  margin-top: 36px;
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-main,
.btn-outline {
  padding: 18px 40px;
  border-radius: 40px;
  font-weight: 700;
  text-decoration: none;
  font-size: 1rem;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}

/* ================= PARALLAX – VARIANT 2 ================= */

/* ================= PARALLAX BLUE – PROFESSIONAL CARPET CLEANING ================= */



/* Primary Blue Button */
.btn-main {
  background: var(--primary);
  /* BLUE */
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(30, 58, 138, .35);
}

.btn-main:hover {
  transform: translateY(-3px);
  background: #1d4ed8;
  /* slightly brighter blue */
  box-shadow: 0 16px 45px rgba(30, 58, 138, .5);
}

/* Outline Button */
.btn-outline {
  border: 2px solid #ffffff;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(3px);
}

.btn-outline:hover {
  background: #ffffff;
  color: var(--primary);
  transform: translateY(-2px);
}

/* ================= IMAGE SECTIONS ================= */
.section-image {
  min-height: 80vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

/* CLEAN – NO COLOR OVERLAY */
.bg-services {
  background-image: url("../images/services.png");
}

.bg-car {
  background-image: url("../images/car.png");
}

.bg-contact {
  background-image: url("../images/contact.jpg");
}

/* ================= TEXT ON IMAGE ================= */
.section-content {
  max-width: 620px;
  color: #ffffff;
  text-shadow: 0 6px 20px rgba(0, 0, 0, .45);
}

.section-content h2 {
  font-size: 2.8rem;
  margin-bottom: 12px;
}

.section-content p {
  font-size: 1.15rem;
  line-height: 1.6;
}

/* ================= SERVICES ================= */
.services {
  padding: 120px 0;
}

/* ================= CONTACT SECTION GRAPHIC BACKGROUND ================= */
#contact {
  position: relative;
  background: transparent;
}

.section-title {
  text-align: center;
  font-size: 2.8rem;
  margin-bottom: 70px;
  color: var(--primary);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 44px;
}

.service-card {
  background: #fff;
  padding: 52px;
  border-radius: 28px;
  border-top: 6px solid var(--accent);
  box-shadow: 0 25px 60px rgba(0, 0, 0, .1);
  transition: transform .3s ease, box-shadow .3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 45px 100px rgba(0, 0, 0, .18);
}

/* ================= SPLIT COMMITMENT SECTIONS ================= */
/* ================= SPLIT COMMITMENT SECTIONS ================= */
/* ================= SPLIT SECTIONS (DESKTOP) ================= */

/* ================= FULL PAGE SPLIT SECTIONS ================= */

.split-section {
  min-height: 83vh;
  /* 🔥 bigger than screen */
  display: flex;
  align-items: center;
  padding: 0;
}

/* 🔥 SPLIT SECTION CONTAINER (THIS IS THE MISSING PIECE) */
.split-section>.container {
  width: 100%;
  max-width: 1600px;
  /* makes image + text BIG */
  padding: 0 120px;
  /* pushes content outward */
}

.split-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 120px;
  /* clean breathing space */
  align-items: center;
}

/* ---------- TEXT ---------- */
.split-text {
  max-width: 620px;
  /* 🔥 wider text */
}

/* ================= SPLIT SECTION TEXT SIZE ================= */

.split-text h2 {
  font-size: 3.2rem;
  /* 🔥 BIG heading */
  line-height: 1.15;
  margin-bottom: 18px;
}

.split-text p {
  font-size: 1.2rem;
  /* 🔥 Bigger paragraph */
  line-height: 1.8;
  margin-bottom: 16px;
}

.split-text li {
  font-size: 1.1rem;
  line-height: 1.8;
}

/* ---------- IMAGE ---------- */
.split-image {
  width: 100%;
  max-width: 780px;
  /* 🔥 larger image */
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 45px 120px rgba(0, 0, 0, 0.35);
}

.split-image img {
  width: 100%;
  height: auto;
  /* ✅ natural image */
  display: block;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.split-image:hover img {
  transform: scale(1.05);
}

/* ---------- REVERSE LAYOUT ---------- */
.split-row.reverse {
  direction: rtl;
}

.split-row.reverse>* {
  direction: ltr;
}

/* ================= CONTACT ================= */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.contact-info h2 {
  font-size: 2.9rem;
  color: var(--primary);
  margin-bottom: 18px;
  line-height: 1.2;
}

.contact-info p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #475569;
}

.contact-form {
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  padding: 60px;
  border-radius: 28px;
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.contact-form input.invalid,
.contact-form textarea.invalid {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px;
  margin-bottom: 14px;
  border-radius: 10px;
  border: 1px solid #ccc;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .15);
}

.service-options {
  margin-bottom: 20px;
  padding: 18px;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
}

.options-title {
  display: block;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.service-options label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  margin-bottom: 8px;
  cursor: pointer;
}

.service-options input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
}

/* ================= FOOTER ================= */
.footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 50px;
}

.footer h4 {
  color: #ffffff;
  margin-bottom: 12px;
}

.footer p {
  font-size: .95rem;
}

.footer input {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: none;
  margin-bottom: 10px;
}

.socials a {
  margin-right: 14px;
  color: var(--danger);
  font-weight: 600;
}

.socials a:hover {
  color: #ffffff;
}

.copyright {
  margin-top: 40px;
  text-align: center;
  font-size: .85rem;
  color: #94a3b8;
}

/* ================= ANIMATION ================= */
/* ================= SCROLL ANIMATION ================= */
.animate {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.animate.show {
  opacity: 1;
  transform: translateY(0);
}


.card-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 24px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary);
  font-size: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(37, 99, 235, .15);
}

/* ================= WHY CHOOSE – ICON REFINEMENT ================= */

.service-card {
  text-align: left;
  position: relative;
}

.service-card h3 {
  margin-top: 8px;
}



/* ================= FOOTER SOCIAL ICONS ================= */

.socials {
  margin-top: 10px;
}

.socials a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .95rem;
  text-decoration: none;
  padding: 8px 0;
  transition: transform .25s ease, color .25s ease;
}

.socials a:hover {
  transform: translateX(4px);
  color: #ffffff;
}

/* ================= CAR CLEANING BACKGROUND READABILITY FIX ================= */

/* Ensure bg-car can hold overlay */
.bg-car {
  position: relative;
}

/* Dark overlay for background image */
.bg-car::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

/* Keep car section content above overlay */
#car-cleaning .container {
  position: relative;
  z-index: 2;
}

/* Improve heading & subtitle contrast */
#car-cleaning .section-title {
  color: #ffffff;
  text-shadow: 0 6px 22px rgba(0, 0, 0, 0.75);
}

#car-cleaning .section-subtitle {
  color: #e5e7eb;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.65);
  max-width: 720px;
  margin: 0 auto 50px;
}

/* Card contrast over background */
#car-cleaning .service-card {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(6px);
}

/* ================= BUTTON CONSISTENCY ================= */

/* ================= FOOTER SUBMIT BUTTON (REFINED) ================= */

/* ================= FOOTER SUBMIT BUTTON – MODERN ================= */

.footer .btn-main {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 10px 22px;
  font-size: 0.9rem;
  font-weight: 600;

  color: #ffffff;
  background: linear-gradient(135deg, #2563eb, #1e3a8a);
  border: none;
  border-radius: 999px;

  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.35);
  transition: transform .25s ease, box-shadow .25s ease;
}

.footer .btn-main::after {
  content: "→";
  font-size: 1rem;
  transition: transform .25s ease;
}

.footer .btn-main:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(37, 99, 235, 0.55);
}

.footer .btn-main:hover::after {
  transform: translateX(4px);
}

/* Hover — classy, not loud */
.footer .btn-main:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #38bdf8;
  color: #ffffff;
  transform: translateY(-1px);
}

/* ================= CONTACT SUBMIT BUTTON ================= */
.contact-form .btn-main {
  width: 100%;
  padding: 18px;
  font-size: 1.05rem;
  border-radius: 999px;

  /* spinner support */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  color: #ffffff;
  border: none;
  cursor: pointer;

  /* DEFAULT = BLUE */
  background: linear-gradient(135deg, #2563eb, #1e3a8a);
  box-shadow:
    0 18px 40px rgba(37, 99, 235, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);

  transition:
    background 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.25s ease;
}

/* Hover (desktop) */
.contact-form .btn-main:hover:not(:disabled) {
  transform: translateY(-3px);
  background: linear-gradient(135deg, #1d4ed8, #3b82f6);
  box-shadow: 0 28px 60px rgba(37, 99, 235, 0.6);
}

/* Loading state */
.contact-form .btn-main.loading {
  cursor: wait;
  opacity: 0.95;
}

/* ================= SUCCESS STATE (GREEN) ================= */
.contact-form .btn-main.success {
  background: linear-gradient(135deg, #16a34a, #15803d);
  box-shadow:
    0 18px 40px rgba(22, 163, 74, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

/* ================= ERROR STATE (OPTIONAL) ================= */
.contact-form .btn-main.error {
  background: linear-gradient(135deg, #dc2626, #991b1b);
  box-shadow:
    0 18px 40px rgba(220, 38, 38, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

@media (max-width: 768px) {

  /* ================= GLOBAL MOBILE FIX ================= */
  body {
    padding-top: 80px;
    /* fixes fixed header overlap */
  }

  .container {
    width: 100%;
    padding: 0 16px;
  }

  /* ================= HEADER & NAV ================= */
  .header-inner {
    height: 80px;
  }

  .logo {
    height: 60px;
  }

  /* Hamburger */
  .menu-toggle {
    display: flex;
    width: 48px;
    height: 48px;
    padding: 12px;
  }

  /* Mobile Nav */
  .nav {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 22px 0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .12);
    display: none;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    margin: 10px 0;
    font-size: 1rem;
  }

  .nav-cta {
    width: 90%;
    text-align: center;
    margin: 14px 0 6px;
  }

  /* ================= HERO ================= */
  .hero {
    min-height: auto;
    padding: 90px 0 60px;
  }

  .hero-content {
    padding: 0 14px;
  }

  .hero h1 {
    font-size: 2rem;
    line-height: 1.3;
  }

  .hero h1 span {
    display: block;
    margin-top: 6px;
  }

  .hero p {
    font-size: 1rem;
    margin-top: 14px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 14px;
  }

  .btn-main,
  .btn-outline {
    width: 100%;
    padding: 16px 20px;
  }

  /* ================= SPLIT SECTIONS ================= */

  .split-section {
    min-height: auto;
    padding: 80px 0;
  }

  /* 🔥 MOST IMPORTANT FIX */
  .split-section>.container {
    max-width: 100%;
    padding: 0 16px;
  }

  .split-row,
  .split-row.reverse {
    grid-template-columns: 1fr;
    gap: 36px;
    direction: ltr;
  }

  /* Image */
  .split-image {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    order: 1;
    border-radius: 28px;
    overflow: hidden;
  }

  .split-image img {
    width: 100%;
    max-height: 340px;
    object-fit: cover;
    display: block;
  }

  /* Text */
  .split-text {
    order: 2;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 4px;
    text-align: center;
  }

  .split-text h2 {
    font-size: 2.4rem;
    line-height: 1.2;
    margin-bottom: 18px;
  }

  .split-text p {
    text-align: left;
    font-size: 1rem;
    line-height: 1.75;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
    /* 🔥 critical fix */
  }

  .split-text ul {
    list-style: none;
    padding: 0;
    margin: 20px auto 0;
    text-align: center;
  }

  /* ================= PARALLAX ================= */
  .parallax-blue,
  .parallax-blue-alt {
    padding: 80px 0;
    background-attachment: scroll;
  }

  /* ================= SERVICES ================= */
  .services {
    padding: 80px 0;
  }

  .section-title {
    font-size: 2.2rem;
    margin-bottom: 46px;
  }

  .service-card {
    padding: 36px 26px;
    text-align: center;
  }

  .card-icon {
    margin: 0 auto 20px;
  }

  /* ================= CONTACT ================= */
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .contact-info {
    text-align: center;
    padding: 0 14px;
  }

  .contact-info h2 {
    font-size: 2.2rem;
  }

  .contact-info p {
    font-size: 1rem;
  }

  .contact-form {
    width: 100%;
    padding: 34px 24px;
  }

  /* ================= FOOTER ================= */
  .footer {
    padding: 70px 0 30px;
    text-align: center;
  }

  .footer-grid {
    gap: 40px;
  }

  .footer input {
    text-align: center;
  }

  .socials a {
    justify-content: center;
  }

  .copyright {
    margin-top: 30px;
  }

  .menu-toggle {
    display: flex !important;
    /* 🔥 FORCE SHOW */
    align-items: center;
    justify-content: center;
    z-index: 1200;
  }
}

/* ===== HAMBURGER BUTTON ===== */
/* ===== HAMBURGER BUTTON (DESKTOP: HIDDEN) ===== */
.menu-toggle {
  cursor: pointer;
  padding: 10px;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: none;
  background: transparent;
  display: none;
  /* ✅ HIDDEN BY DEFAULT */
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  transition:
    background .25s ease,
    transform .2s ease,
    box-shadow .25s ease;
}

/* ===== HOVER ===== */
.menu-toggle:hover {
  background: rgba(30, 58, 138, 0.08);
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(30, 58, 138, .18);
}

/* ===== TAP (MOBILE FEEDBACK) ===== */
.menu-toggle:active {
  transform: scale(0.95);
  background: rgba(30, 58, 138, 0.15);
}

/* ===== HAMBURGER LINES ===== */
.menu-toggle span {
  height: 3px;
  width: 100%;
  background: var(--text-dark);
  border-radius: 3px;
  transition:
    transform .35s ease,
    opacity .25s ease,
    background .25s ease;
}

/* ===== HOVER COLOR ===== */
.menu-toggle:hover span {
  background: var(--primary);
}

/* ================= OPEN STATE (X ANIMATION) ================= */
.menu-toggle.open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}





/* ================= BLUE PARALLAX – ADVANCED TECHNOLOGY ================= */

/* Target the LAST split-section (Advanced Technology & Safe Practices) */
/* ================= BLUE PARALLAX – ADVANCED TECHNOLOGY ================= */

.parallax-blue {
  position: relative;
  background:
    linear-gradient(rgba(30, 58, 138, 0.88),
      rgba(30, 58, 138, 0.88)),
    url("../images/1.png") center / cover no-repeat;
  background-attachment: fixed;
}

/* ================= PARALLAX BLUE – PROFESSIONAL CARPET CLEANING ================= */

.parallax-blue-alt {
  position: relative;
  background-image: url("../images/services.png");
  /* 🎯 carpet section bg */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  overflow: hidden;
}

/* Blue transparent overlay */
.parallax-blue-alt::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(30, 58, 138, 0.82);
  /* same tone as other parallax */
  z-index: 1;
}

/* Keep content above overlay */
.parallax-blue-alt .container {
  position: relative;
  z-index: 2;
}

/* White readable text */
.parallax-blue-alt h2,
.parallax-blue-alt p,
.parallax-blue-alt li {
  color: #ffffff;
}

.parallax-blue-alt p {
  opacity: 0.95;
}

/* Mobile fix */


/* Ensure content stays above background */
.parallax-blue .container {
  position: relative;
  z-index: 2;
}

/* Text contrast */
.parallax-blue .split-text h2,
.parallax-blue .split-text p {
  color: #ffffff;
}

.parallax-blue .split-text p {
  opacity: 0.95;
}

/* Image depth */
.parallax-blue .split-image {
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.45);
}


/* ================= CONTACT VIDEO BACKGROUND ================= */

.video-section {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.video-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 18, 32, 0.22);
  /* subtle, professional */
  z-index: 1;
}

/* Video layer */
/* ================= BACKGROUND VIDEO ================= */

/* ================= BACKGROUND VIDEO ================= */

/* ================= BACKGROUND VIDEO – CORRECT ================= */

.bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;

  transform: none;
  /* ❌ remove centering zoom */
  filter: none;
  /* ❌ no fake enhancement */

  z-index: 0;
}

/* Keep content above video */
#contact .container {
  position: relative;
  z-index: 2;
}

/* Improve contrast */
#contact .contact-info h2,
#contact .contact-info p {
  color: #ffffff;
}

#contact .contact-info p {
  opacity: 0.9;
}

/* Glassmorphism form */
#contact .contact-form {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}

/* ================= FEATURE LISTS ================= */

.feature-list {
  margin-top: 20px;
  line-height: 1.8;
  padding-left: 0;
  list-style: none;
}

.feature-list li {
  margin-bottom: 6px;
}

/* Slightly tighter list (used in cards) */
.feature-list.compact {
  margin-top: 15px;
  line-height: 1.7;
}

/* ================= CLEAN CONTACT INFO ================= */
/* ================= CLEAN CONTACT INFO ================= */

.contact-numbers {
  display: flex;
  flex-direction: column;
  gap: 10px;
  /* balanced vertical spacing */
  margin-top: 14px;
}

.contact-numbers a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  /* icon ↔ text spacing */

  font-size: 18px;
  font-weight: 600;
  color: #ffffff;

  text-decoration: none;
  letter-spacing: 0.3px;
  opacity: 0.95;
  line-height: 1.4;

  transition: opacity 0.25s ease, transform 0.25s ease;
}

/* ===== SVG ICON ===== */
.contact-numbers .contact-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;

  fill: #ec4899;
  /* pink accent */
  margin-top: 1px;
  /* baseline alignment */

  transition: transform 0.25s ease, fill 0.25s ease;
}

/* ===== HOVER EFFECT ===== */
.contact-numbers a:hover {
  opacity: 1;
  transform: translateX(3px);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-numbers a:hover .contact-icon {
  transform: translateX(2px);
  fill: #ffffff;
}

/* ===== MOBILE CLARITY ===== */
@media (max-width: 768px) {
  .contact-numbers {
    gap: 8px;
  }

  .contact-numbers a {
    font-size: 18px;
  }
}


/* ================= FOOTER BOTTOM ================= */

/* ================= FOOTER BOTTOM ================= */

/* ================= FOOTER BOTTOM ================= */
/* ================= FOOTER BOTTOM ================= */

.footer-bottom {
  display: flex;
  flex-direction: column;
  /* stack vertically */
  align-items: center;
  /* center everything */

  margin-top: 40px;
  padding-top: 18px;

  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

/* ================= ABN + W3C CENTER GROUP ================= */

.footer-bottom-left {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  /* spacing between ABN & W3C */
  margin-bottom: 12px;
}

/* ABN */
.footer-abn {
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.3px;
}

.footer-abn .abn-label {
  font-weight: 600;
  color: #ffffff;
}

.footer-abn .abn-number {
  opacity: 0.9;
}

/* W3C BADGE */
.css-validator img {
  display: block;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.css-validator:hover img {
  opacity: 1;
}

/* ================= COPYRIGHT & LEGAL ================= */

.footer-copy {
  text-align: center;
  line-height: 1.6;
  opacity: 0.85;
  max-width: 720px;
}

/* PRIVACY & TERMS LINKS */
.footer-copy a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease, text-decoration 0.3s ease;
}

.footer-copy a:hover {
  color: #38bdf8;
  /* brand accent */
  text-decoration: underline;
}

/* spacing between Privacy | Terms */
.footer-copy a+a {
  margin-left: 6px;
}

/* ================= RESIDENTIAL CLEANING BACKGROUND ================= */

#residential-cleaning {
  background: linear-gradient(180deg,
      #ffffff 0%,
      #f8fafc 100%);
}

/* ================= IMAGE UPLOAD ================= */

/* ================= UPLOAD BOX ================= */
.upload-box {
  margin: 18px 0;
}

.upload-label {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 58px;

  border: 2px dashed rgba(30, 58, 138, 0.35);
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.25s ease;
  background: rgba(30, 58, 138, 0.03);
}

.upload-label:hover {
  border-color: #1e3a8a;
  background: rgba(30, 58, 138, 0.08);
}

.upload-label input[type="file"] {
  display: none;
}

.upload-text {
  font-size: 15px;
  font-weight: 600;
  color: #1e3a8a;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Mobile text tweak */
@media (max-width: 600px) {
  .upload-text {
    font-size: 14px;
  }
}

/* ================= UPLOAD PREVIEW ================= */
.upload-preview {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.upload-preview .thumb {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

.upload-preview img {
  width: 100%;
  height: 70px;
  object-fit: cover;
  display: block;
}

/* REMOVE SINGLE IMAGE */
.upload-preview .thumb button {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.65);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  line-height: 1;
  transition: background 0.2s ease, transform 0.2s ease;
}

.upload-preview .thumb button:hover {
  background: #dc2626;
  transform: scale(1.1);
}

/* CLEAR ALL BUTTON */
.clear-images {
  display: none;
  margin-top: 10px;
  padding: 8px 14px;
  background: #fee2e2;
  color: #991b1b;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s ease;
}

.clear-images:hover {
  background: #fecaca;
}

/* Mobile preview size */
@media (max-width: 480px) {
  .upload-preview img {
    height: 60px;
  }
}

/* ================= POPUP OVERLAY ================= */
.popup {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  backdrop-filter: blur(2px);
  padding: 20px;
}

.popup.hidden {
  display: none;
}

/* ================= POPUP BOX ================= */
.popup-box {
  background: #ffffff;
  padding: 26px 24px 22px;
  border-radius: 14px;
  max-width: 380px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);

  transform: scale(0.9);
  opacity: 0;
  animation: popupIn 0.25s ease-out forwards;
}

.popup-box.success {
  border-top: 6px solid #16a34a;
}

.popup-box.error {
  border-top: 6px solid #dc2626;
}

.popup-box p {
  font-size: 16px;
  line-height: 1.6;
  color: #1f2937;
  margin-top: 10px;
}

/* POPUP BUTTON */
.popup-box button {
  margin-top: 18px;
  padding: 10px 22px;
  border: none;
  background: #2563eb;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.popup-box button:hover {
  background: #1e40af;
  transform: translateY(-1px);
}

.popup-box button:active {
  transform: translateY(0);
}

.popup-box button:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.4);
}

/* ================= POPUP ANIMATION ================= */
@keyframes popupIn {
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* ================= BUTTON SPINNER ================= */
.spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 3px solid #ffffff;
  border-top: 3px solid transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-left: 8px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

button.loading .btn-text {
  display: none;
}

button.loading .spinner {
  display: inline-block;
}

/* ================= POPUP MOBILE ================= */
@media (max-width: 480px) {
  .popup-box {
    padding: 22px 18px 20px;
    border-radius: 12px;
  }

  .popup-box p {
    font-size: 15px;
  }

  .popup-box button {
    width: 100%;
    padding: 12px 0;
    font-size: 15px;
    border-radius: 10px;
  }
}

@media (max-width: 360px) {
  .popup-box p {
    font-size: 14px;
  }
}

/* FORCE spinner visibility in contact form */
.contact-form button.loading .spinner {
  display: inline-block !important;
}

.contact-form button.loading .btn-text {
  display: none !important;
}

/* ================= POPUP FIX (DESKTOP + MOBILE) ================= */

/* Force popup above EVERYTHING */
.popup {
  position: fixed;
  inset: 0;
  z-index: 2147483647; /* absolute highest */
  pointer-events: auto;
}

/* Kill mobile stacking conflicts (video + overlays) */
.video-section,
.video-section::after,
.bg-video {
  z-index: 0 !important;
}

/* Lock background scroll when popup is open */
body.popup-open {
  overflow: hidden;
  touch-action: none;
}

/* Mobile spacing safety */
@media (max-width: 768px) {
  .popup {
    padding: 16px;
  }

  .popup-box {
    max-width: 100%;
  }
}

/* ================= POPUP MOBILE FIX ================= */
.popup {
  position: fixed;
  inset: 0;
  z-index: 2147483647; /* absolute top on all browsers */
  pointer-events: auto;
}

/* Kill stacking conflicts on mobile */
.video-section,
.video-section::after,
.bg-video {
  z-index: 0 !important;
}