/* ============================================================
   CarPro 3M — Premium Landing Page
   style.css
   Author: Senior UI/UX / Frontend Developer
   ============================================================ */

/* ────────────────────────────────────────────────────────────
   CSS DESIGN TOKENS (Custom Properties)
──────────────────────────────────────────────────────────── */
:root {
  /* Brand Colours */
  --color-red:          #D6001C;
  --color-red-dark:     #a8001a;
  --color-red-light:    rgba(214, 0, 28, 0.12);
  --color-black:        #111111;
  --color-dark:         #1a1a1a;
  --color-dark-2:       #222222;
  --color-dark-3:       #2d2d2d;
  --color-gray:         #888888;
  --color-gray-light:   #F5F5F5;
  --color-gray-border:  #e8e8e8;
  --color-white:        #FFFFFF;
  --color-wa:           #25D366;
  --color-wa-dark:      #1aab54;

  /* Typography */
  --font-primary:       'Poppins', sans-serif;
  --font-secondary:     'Poppins', sans-serif;

  /* Spacing Scale */
  --space-xs:   0.25rem;
  --space-sm:   0.5rem;
  --space-md:   1rem;
  --space-lg:   1.5rem;
  --space-xl:   2rem;
  --space-2xl:  3rem;
  --space-3xl:  4rem;
  --space-4xl:  6rem;
  --space-5xl:  8rem;

  /* Layout */
  --container-max:    1280px;
  --announce-height:  42px;   /* height of the top announcement bar */
  --header-height:    76px;

  /* Radius */
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-xl:   28px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.06);
  --shadow-md:  0 6px 24px rgba(0,0,0,0.10);
  --shadow-lg:  0 16px 48px rgba(0,0,0,0.14);
  --shadow-xl:  0 24px 72px rgba(0,0,0,0.18);
  --shadow-red: 0 8px 32px rgba(214,0,28,0.28);

  /* Transitions */
  --transition-fast:   0.15s ease;
  --transition-base:   0.25s ease;
  --transition-slow:   0.4s ease;
  --transition-bounce: 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ────────────────────────────────────────────────────────────
   RESET & BASE
──────────────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
  overflow-x: hidden;
  width: 100%;
}

/* Fluid Typography Base Scaling across all devices */
@media (max-width: 1200px) {
  html { font-size: 15.5px; }
}
@media (max-width: 991px) {
  html { font-size: 15px; }
}
@media (max-width: 768px) {
  html { font-size: 14.5px; }
}
@media (max-width: 480px) {
  html { font-size: 14px; }
}

body {
  font-family: var(--font-primary);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-black);
  background-color: var(--color-white);
  overflow-x: hidden;
  width: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul { list-style: none; }

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ────────────────────────────────────────────────────────────
   UTILITY CLASSES
──────────────────────────────────────────────────────────── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.text-center { text-align: center; }
.text-red    { color: var(--color-red); }

/* ────────────────────────────────────────────────────────────
   SCROLL ANIMATION STATES
──────────────────────────────────────────────────────────── */
[data-animate="fade-up"] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

[data-animate="fade-right"] {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

[data-animate="fade-left"] {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

[data-animate].animated {
  opacity: 1;
  transform: none;
}

/* Stagger child animations */
[data-animate].animated:nth-child(2) { transition-delay: 0.1s; }
[data-animate].animated:nth-child(3) { transition-delay: 0.15s; }
[data-animate].animated:nth-child(4) { transition-delay: 0.2s; }
[data-animate].animated:nth-child(5) { transition-delay: 0.25s; }
[data-animate].animated:nth-child(6) { transition-delay: 0.3s; }

/* ────────────────────────────────────────────────────────────
   BUTTON SYSTEM
──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-family: var(--font-primary);
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  padding: 10px 0;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.12);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.btn:hover::after { opacity: 1; }

/* Sizes */
.btn-sm  { padding: 0.5rem 1.25rem; font-size: 0.875rem; }
.btn-md  { padding: 0.7rem 1.75rem; font-size: 0.95rem; }
.btn-lg  { padding: 0.9rem 2.25rem; font-size: 1rem; }
.btn-full { width: 100%; }

/* Variants */
.btn-primary {
  background: var(--color-red);
  color: var(--color-white);
  box-shadow: var(--shadow-red);
}
.btn-primary:hover {
  background: var(--color-red-dark);
  box-shadow: 0 12px 40px rgba(214,0,28,0.40);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--color-white);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--color-black);
  border: 1.5px solid var(--color-black);
}
.btn-outline-dark:hover {
  background: var(--color-black);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--color-white);
}

.btn-ghost {
  background: rgba(255,255,255,0.1);
  color: var(--color-white);
  border-color: rgba(255,255,255,0.3);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.6);
  transform: translateY(-2px);
}

.btn-ghost-dark {
  background: transparent;
  color: var(--color-red);
  border-color: var(--color-red);
}
.btn-ghost-dark:hover {
  background: var(--color-red);
  color: var(--color-white);
  transform: translateY(-2px);
}

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

.btn-wa {
  background: var(--color-wa);
  color: var(--color-white);
  box-shadow: 0 8px 24px rgba(37,211,102,0.30);
}
.btn-wa:hover {
  background: var(--color-wa-dark);
  transform: translateY(-2px);
}

/* ────────────────────────────────────────────────────────────
   SHARED SECTION STYLES
──────────────────────────────────────────────────────────── */
.section-label {
  display: inline-flex;
  margin-bottom: var(--space-md);
}

.section-label span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-red);
  background: var(--color-red-light);
  border: 1px solid rgba(214,0,28,0.25);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
}

.section-heading {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-black);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
}

.section-subheading {
  font-size: 1.0625rem;
  color: var(--color-gray);
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
  margin-bottom: var(--space-3xl);
}

/* ────────────────────────────────────────────────────────────
   ANNOUNCEMENT BAR
──────────────────────────────────────────────────────────── */
/* ────────────────────────────────────────────────────────────
   ANNOUNCEMENT BAR — fixed at very top, above header
──────────────────────────────────────────────────────────── */
.announcement-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--announce-height);
  z-index: 1100;                    /* sits above header (1000) */
  background: linear-gradient(90deg, #1a0005, var(--color-red-dark), #1a0005);
  color: var(--color-white);
  display: flex;
  align-items: center;
  overflow: hidden;
  transition: height 0.3s ease, opacity 0.3s ease;
}

.announcement-inner {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
}

.announcement-text {
  font-size: 0.8125rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.announcement-text i { color: #ffccc9; }

.announcement-divider {
  color: rgba(255,255,255,0.4);
  margin: 0 0.25rem;
}

.announcement-link {
  color: #ffccc9;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.announcement-link:hover { color: var(--color-white); }

.announcement-close {
  position: absolute;
  right: var(--space-xl);
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,0.7);
  font-size: 0.8rem;
  padding: 0.3rem 0.4rem;
  line-height: 1;
  border-radius: 4px;
  transition: color var(--transition-fast), background var(--transition-fast);
  cursor: pointer;
}

.announcement-close:hover {
  color: var(--color-white);
  background: rgba(255,255,255,0.12);
}

/* ────────────────────────────────────────────────────────────
   HEADER / NAVIGATION
   — sits below the announcement bar
──────────────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: var(--announce-height);      /* pushed below the announcement bar */
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  transition:  box-shadow var(--transition-base),
              top var(--transition-base);
}

/* When bar is removed, header slides back to top */
.site-header.bar-hidden {
  top: 0;
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  transition: opacity var(--transition-fast);
}

.site-logo:hover { opacity: 0.85; }

.logo-img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

/* Nav Menu */
.nav-menu { margin-left: auto; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  display: block;
  padding: 0.45rem 0.875rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(17, 17, 17, 0.75);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 50%;
  right: 50%;
  height: 2px;
  background: var(--color-red);
  border-radius: 2px;
  transition: left var(--transition-base), right var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-red);
}

.nav-link.active::after {
  left: 0.875rem;
  right: 0.875rem;
}

.nav-link:hover::after {
  left: 0.875rem;
  right: 0.875rem;
}

/* Header CTA */
.header-cta {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-shrink: 0;
}

/* Style ghost buttons inside light header & mobile menu overlay */
.site-header .btn-ghost,
.mobile-nav .btn-ghost {
  background: rgba(17, 17, 17, 0.05);
  color: var(--color-black);
  border-color: rgba(17, 17, 17, 0.15);
}
.site-header .btn-ghost:hover,
.mobile-nav .btn-ghost:hover {
  background: rgba(17, 17, 17, 0.10);
  color: var(--color-red);
  border-color: rgba(17, 17, 17, 0.25);
  transform: translateY(-2px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  padding: 6px;
  border-radius: var(--radius-sm);
  margin-left: var(--space-sm);
}

.hamburger span {
  display: block;
  height: 2px;
  background: var(--color-black);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
  position: fixed;
  top: var(--header-height);
  height: max-content;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  padding: var(--space-2xl) var(--space-xl) var(--space-3xl);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  z-index: 999;
}

.mobile-nav.open { transform: translateX(0); }

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-nav-link {
  display: block;
  padding: var(--space-md) var(--space-lg);
  font-size: 1.125rem;
  font-weight: 600;
  color: rgba(17, 17, 17, 0.8);
  border-radius: var(--radius-md);
  border-bottom: 1px solid rgba(17, 17, 17, 0.06);
  transition: all var(--transition-fast);
}

.mobile-nav-link:hover {
  color: var(--color-red);
  background: rgba(214, 0, 28, 0.05);
  padding-left: var(--space-xl);
}

.mobile-nav-ctas {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: var(--space-2xl);
}

/* ────────────────────────────────────────────────────────────
   HERO SECTION
──────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: auto;
  width: 100%;
  display: block;
  overflow: hidden;
  /* No padding-top here — the hero-content handles the offset */
}

/* Background Image */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(0.8);
}

@media (max-width:768px) {
  .hero-img {
   object-position: 75%;
  }
}

/* Hybrid Gradient Overlay: Dark on left for text readability, light/transparent on right */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17,17,17,0.85) 0%, rgba(17,17,17,0.55) 45%, rgba(17,17,17,0.1) 100%),
    linear-gradient(180deg, rgba(17,17,17,0.1) 0%, rgba(17,17,17,0.0) 50%, rgba(17,17,17,0.5) 100%);
}

/* Red diagonal stripe accent - REMOVED */
.hero-accent {
  display: none;
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  /* Offset = announcement bar + header + breathing room */
  padding-top: calc(var(--announce-height) + var(--header-height) + 40px);
  padding-bottom: 6rem;
}

.hero-text {
  max-width: 670px;
}

/* Badge - Dark glassmorphic style with bright red accent */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(214,0,28,0.15);
  border: 1px solid rgba(214,0,28,0.3);
  color: #ffb3b3;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-lg);
  backdrop-filter: blur(8px);
}

.hero-badge i { color: #ff334b; }

/* Heading */
.hero-heading {
  font-size: clamp(2.25rem, 5.5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--color-white);
  letter-spacing: -0.03em;
  margin-bottom: var(--space-lg);
}

/* Subheading Title */
.hero-sub-title {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 600;
  color: var(--color-white);
  margin-top: -0.25rem;
  margin-bottom: var(--space-md);
  letter-spacing: -0.01em;
  line-height: 1.25;
}

/* Subheading Description */
.hero-subheading {
  font-size: clamp(1rem, 1.8vw, 1.1875rem);
  color: rgba(255,255,255,0.85);
  line-height: 1.65;
  margin-bottom: var(--space-xl);
  max-width: 540px;
}

/* Benefits */
.hero-benefits {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: var(--space-xl);
}

.hero-benefit-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255,255,255,0.9);
  font-size: 0.9375rem;
}

.check-icon {
  width: 22px;
  height: 22px;
  border-radius: var(--radius-full);
  background: var(--color-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.625rem;
  color: var(--color-white);
  flex-shrink: 0;
}

/* CTA Buttons */
.hero-ctas {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-xl);
}

/* Trust Strip */
.hero-trust {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.hero-trust-top {
  display: flex;
  align-items: center;
}

.hero-trust-bottom {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 800;
}

.trust-item i {
  color: #ffd700;
  font-size: 1.15rem;
}

.google-rating-badge-img {
  height: 50px;
  width: auto;
  display: block;
  mix-blend-mode: screen;
  margin-left: -5px; /* Offset the G logo left-padding slightly for alignment */
}

.trust-divider {
  width: 1px;
  height: 18px;
  background: rgba(255,255,255,0.25);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 140px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-dot {
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 12px;
  position: relative;
}

.scroll-dot::before {
  content: '';
  width: 4px;
  height: 8px;
  background: var(--color-white);
  border-radius: 2px;
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollBounce 1.8s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  50%       { transform: translateX(-50%) translateY(10px); opacity: 0.3; }
}

/* ────────────────────────────────────────────────────────────
   HERO SLIDER
──────────────────────────────────────────────────────────── */
.hero-slider {
  position: relative;
  height: auto;
  z-index: 0;
}

/* Each slide stacks on top of each other */
.hero-slide {
  position: relative;
  height: auto;
  opacity: 0;
  transition: opacity 1s ease;
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: all;
  z-index: 1;
}

/* Slide content fade-up animation when slide becomes active */
.hero-slide.active .hero-text {
  animation: slideContentIn 0.8s 0.15s both ease-out;
}

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

/* ── Prev / Next Arrow Buttons ── */
.hero-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.hero-slider-btn:hover {
  background: rgba(214, 0, 28, 0.55);
  border-color: rgba(214, 0, 28, 0.6);
  transform: translateY(-50%) scale(1.1);
}

.hero-slider-prev { left: 1.5rem; }
.hero-slider-next { right: 1.5rem; }

/* ── Dot Indicators ── */
.hero-dots {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease, width 0.3s ease;
  position: relative;
  overflow: hidden;
  padding: 0;
}

.hero-dot.active {
  width: 28px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.5);
}

/* Progress fill on active dot */
.hero-dot.active::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-red);
  border-radius: 5px;
  animation: dotProgress 5s linear forwards;
}

@keyframes dotProgress {
  from { width: 0%; }
  to   { width: 100%; }
}

.hero-dot:hover:not(.active) {
  background: rgba(255, 255, 255, 0.65);
  transform: scale(1.2);
}

/* ── Keep hero-content positioned above slider ── */
.hero-slide .hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: calc(var(--announce-height) + var(--header-height) + 40px);
  padding-bottom: 6rem;
}

/* ── Two-column benefits grid ── */
.hero-benefits--two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem 2.5rem;
}



/* ────────────────────────────────────────────────────────────
   ABOUT / TRUSTED EXPERTS SECTION
──────────────────────────────────────────────────────────── */
/* ────────────────────────────────────────────────────────────
   ABOUT / TRUSTED EXPERTS SECTION
──────────────────────────────────────────────────────────── */
.about {
  padding: var(--space-5xl) 0;
  background: var(--color-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-5xl);
  align-items: center;
}

.about-sub-label {
  display: inline-block;
  color: var(--color-red);
  font-weight: 800;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-sm);
  text-transform: uppercase;
}

.about-heading {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--color-black);
  line-height: 1.15;
  margin-bottom: var(--space-lg);
  letter-spacing: -0.02em;
}

.about-desc {
  font-size: 1.0625rem;
  color: #555555;
  line-height: 1.65;
  margin-bottom: var(--space-xl);
}

/* Light Gray Checklist Container */
.about-checklist-container {
  background: #f8f9fa;
  border-radius: 16px;
  padding: var(--space-xl) var(--space-2xl);
  margin-bottom: var(--space-2xl);
  position: relative;
}

@media (min-width: 769px) {
  .about-checklist {
    padding-right: 140px;
  }
}

.about-certified-badge {
  position: absolute;
  right: var(--space-xl);
  bottom: var(--space-lg);
  border-radius: 50%;
  height: 100px;
  width: auto;
  object-fit: contain;
  transform: rotate(-8deg); /* stamp rotation effect */
}

.about-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.about-checklist li {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-black);
}

.check-icon-circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-red);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6875rem;
  flex-shrink: 0;
}

/* CTA Row styling */
.about-cta-row {
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
  flex-wrap: wrap;
}

.about-wa-btn {
  background: var(--color-red);
  color: var(--color-white);
  border-radius: 8px;
  font-weight: 700;
  padding: 0.95rem 1.8rem;
  box-shadow: 0 4px 14px rgba(214, 0, 28, 0.25);
  transition: all var(--transition-fast);
}

.about-wa-btn:hover {
  background: var(--color-red-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(214, 0, 28, 0.35);
}

.about-phone-info {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.about-phone-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(214, 0, 28, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-red);
  font-size: 1.125rem;
}

.about-phone-text {
  display: flex;
  flex-direction: column;
}

.phone-label {
  font-size: 0.8125rem;
  color: #777777;
  font-weight: 500;
}

.phone-number {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-black);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.phone-number:hover {
  color: var(--color-red);
}

/* Right: Building Image Wrapper */
.about-image-wrap {
  position: relative;
  width: 100%;
}

.about-building-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  display: block;
}

/* ────────────────────────────────────────────────────────────
   SERVICES SECTION
──────────────────────────────────────────────────────────── */
.services {
  padding: var(--space-5xl) 0;
  background: var(--color-gray-light);
  position: relative;
  overflow: hidden;
}

.services-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(214,0,28,0.04) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(214,0,28,0.04) 0%, transparent 50%);
  pointer-events: none;
}

.services .section-label,
.why-us .section-label,
.process .section-label {
  display: flex;
  justify-content: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

/* Featured Service Card - Split Full-Width Panel */
.service-card--featured {
  grid-column: span 3;
  display: grid;
  grid-template-columns: 1fr;
  background: var(--color-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-gray-border);
  position: relative;
  transition: all var(--transition-base);
}

.service-card--featured:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(214, 0, 28, 0.1);
}

.service-featured-img-wrap {
  position: relative;
  width: 100%;
  height: 360px;
}

.service-featured-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


.service-badge-pop {
  position: absolute;
  top: 24px;
  left: 24px;
  background: var(--color-red);
  color: var(--color-white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-red);
  animation: pulseBadge 2.5s ease-in-out infinite;
  z-index: 3;
}

@keyframes pulseBadge {
  0%, 100% { box-shadow: var(--shadow-red); }
  50%       { box-shadow: 0 0 0 6px rgba(214,0,28,0.12), var(--shadow-red); }
}

.service-featured-content {
  padding: var(--space-xl) var(--space-2xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--color-black);
}

.service-featured-content .service-icon-wrap {
  display: none;
}

.service-featured-content .service-title {
  font-size: 1.65rem;
  color: var(--color-black);
  margin-bottom: var(--space-sm);
}

.service-featured-content .service-desc {
  color: var(--color-black);
  font-size: 0.9375rem;
  margin-bottom: var(--space-lg);
  line-height: 1.6;
}

/* Featured Features List */
.service-features {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: var(--space-lg);
  padding: 0;
  list-style: none;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--color-black);
}

.service-features li i {
  color: var(--color-red);
  font-size: 0.875rem;
  flex-shrink: 0;
}

/* Regular service card */
.service-card-img-wrap {
  width: 100%;
  height: 240px;
  overflow: hidden;
  position: relative;
}

.service-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-base);
}

.service-card:hover .service-card-img {
  transform: scale(1.06);
}

.service-card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-gray-border);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--color-gray-border);
  transition: background var(--transition-base);
}

.service-card:hover::before {
  background: linear-gradient(90deg, var(--color-red), var(--color-red-dark));
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
  border-color: rgba(214, 0, 28, 0.1);
}

.service-card-inner {
  padding: var(--space-2xl);
  height: 100%;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Service Icon */
.service-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-lg);
  background: var(--color-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--color-white);
  margin-bottom: var(--space-lg);
  transition: transform var(--transition-bounce);
}

.service-card:hover .service-icon-wrap {
  transform: scale(1.08) rotate(-5deg);
}

/* Service Info Wrap */
.service-info-wrap {
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Service Title */
.service-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: var(--space-md);
  color: var(--color-black);
}

/* Service Description */
.service-desc {
  font-size: 0.9375rem;
  color: var(--color-black);
  line-height: 1.7;
  margin-bottom: 0;
}

/* Service Buttons */
.btn-service {
  align-self: flex-start;
}

.btn-service-sm {
  padding: 0.65rem 1.5rem;
  font-size: 0.875rem;
  margin-top: 0;
  align-self: center;
  flex-shrink: 0;
}

/* Services Footer CTA */
.services-footer-cta {
  text-align: center;
  margin-top: var(--space-3xl);
  padding-top: var(--space-2xl);
  border-top: 1px solid var(--color-gray-border);
}

.services-footer-cta p {
  color: var(--color-gray);
  margin-bottom: var(--space-md);
  font-size: 1.0625rem;
}

/* View All Series Text Link Style */
.view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: none;
  color: var(--color-red, #d6001c);
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.5rem 1rem;
  transition: all var(--transition-fast, 0.2s ease);
  text-decoration: none;
  font-family: inherit;
}

.view-all-link:hover {
  color: var(--color-red-dark, #a80016);
  transform: translateY(-1px);
}

.view-all-link i {
  font-size: 0.95rem;
  transition: transform var(--transition-fast, 0.2s ease);
}

.view-all-link:hover i {
  transform: scale(1.2);
}


/* ────────────────────────────────────────────────────────────
   DUBAI COMMUNITIES SECTION
──────────────────────────────────────────────────────────── */
.communities {
  padding: var(--space-4xl) 0;
  background: var(--color-white);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--color-gray-border);
}

.communities .section-heading {
  max-width: 850px;
  margin: 0 auto 3.5rem auto;
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  line-height: 1.5;
  color: var(--color-black);
}

/* Marquee Styles */
.marquee-wrapper {
  overflow: hidden;
  width: 100%;
  padding: 0.75rem 0;
  position: relative;
  display: flex;
  margin-bottom: 1.25rem;
}

/* Gradient overlays for fading edges */
.marquee-wrapper::before,
.marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 150px;
  z-index: 2;
  pointer-events: none;
}

.marquee-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--color-white) 0%, transparent 100%);
}

.marquee-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--color-white) 0%, transparent 100%);
}

.marquee-track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  will-change: transform;
}

.marquee-track--left {
  animation: marqueeLeft 38s linear infinite;
}

.marquee-track--right {
  animation: marqueeRight 35s linear infinite;
}

.marquee-item {
  background: #fdfaf2;
  color: var(--color-black);
  padding: 0.9rem 1.75rem;
  border-radius: var(--radius-xl);
  font-size: 0.95rem;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0,0,0,0.04);
  border: 1px solid rgba(214, 0, 28, 0.06);
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.marquee-item:hover {
  background: var(--color-white);
  border-color: var(--color-red);
  color: var(--color-red);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(214,0,28,0.08);
}

/* Pause animation on hover */
.marquee-wrapper:hover .marquee-track {
  animation-play-state: paused;
}

/* Keyframes */
@keyframes marqueeLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes marqueeRight {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

/* ────────────────────────────────────────────────────────────
   WHY CHOOSE US SECTION
──────────────────────────────────────────────────────────── */
.why-us {
  padding: var(--space-5xl) 0;
  background: var(--color-black);
}

.why-us .section-label span {
  background: rgba(214,0,28,0.15);
  border-color: rgba(214,0,28,0.3);
}

.why-us .section-heading {
  color: var(--color-white);
}

.why-us .section-subheading {
  color: rgba(255,255,255,0.55);
}

.why-legacy-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  row-gap: 3.5rem;
  column-gap: 2.5rem;
}

.why-legacy-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  transition: transform var(--transition-fast);
}

.why-legacy-item:hover {
  transform: translateY(-2px);
}

.why-legacy-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  flex-shrink: 0;
}

/* Color accents for icons matching the image */
.why-legacy-icon.trophy i { color: #FFA000; }
.why-legacy-icon.calendar i { color: #E44D26; }
.why-legacy-icon.smile i { color: #FFB300; }
.why-legacy-icon.graduation i { color: #A0AEC0; }
.why-legacy-icon.phone i { color: #E53E3E; }
.why-legacy-icon.shield i { color: #E53E3E; }
.why-legacy-icon.star i { color: #FFB300; }
.why-legacy-icon.building i { color: #3182CE; }

.why-legacy-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.why-legacy-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.2;
}

.why-legacy-subtitle {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.60);
  font-weight: 500;
  line-height: 1.2;
}

/* Why CTA Banner */
.why-cta-banner {
  background: linear-gradient(135deg, var(--color-red-dark), var(--color-red));
  border-radius: var(--radius-xl);
  padding: var(--space-3xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2xl);
  flex-wrap: wrap;
  box-shadow: var(--shadow-red);
  position: relative;
  overflow: hidden;
}

.why-cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M0 60 L60 0' stroke='rgba(255,255,255,0.06)' stroke-width='1'/%3E%3C/svg%3E");
}

.why-cta-content { position: relative; z-index: 1; }

.why-cta-content h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 0.5rem;
}

.why-cta-content p {
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
}

.why-cta-btns {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* ────────────────────────────────────────────────────────────
   PROCESS SECTION
──────────────────────────────────────────────────────────── */
.process {
  padding: var(--space-4xl) 0;
  background: var(--color-white);
}

/* Process Grid & Cards */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  margin-bottom: var(--space-3xl);
}

.process-card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-border);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
}

.process-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(214, 0, 28, 0.08);
  border-color: rgba(214, 0, 28, 0.2);
}

.process-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-lg);
}

.process-card-number {
  font-size: 2rem;
  font-weight: 900;
  color: var(--color-red);
  line-height: 1;
}

.process-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--color-red-light);
  color: var(--color-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.process-card:hover .process-card-icon {
  background: var(--color-red);
  color: var(--color-white);
  transform: rotate(-5deg);
}

.process-card-title {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--color-black);
  margin-bottom: var(--space-sm);
}

.process-card-desc {
  font-size: 0.875rem;
  color: var(--color-gray);
  line-height: 1.65;
}

/* Process CTA */
.process-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* ────────────────────────────────────────────────────────────
   PORTFOLIO / LATEST WORK SECTION
──────────────────────────────────────────────────────────── */
.portfolio {
  padding: var(--space-5xl) 0;
  background: #09090b; /* Deep black-gray background */
  color: var(--color-white);
  overflow: hidden;
}

.portfolio-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: var(--space-md);
}

.portfolio-label .line {
  width: 30px;
  height: 2px;
  background-color: var(--color-red);
}

.portfolio-label .label-text {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-red);
}

.portfolio .section-heading {
  color: var(--color-white);
  margin-bottom: var(--space-xs);
}

.portfolio .section-heading .text-stroke {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.65);
}

.portfolio .section-subheading {
  color: rgba(255, 255, 255, 0.6);
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--space-3xl);
}

/* Slanted Carousel / Slider (Slanted Desktop, One-by-One Mobile) */
.portfolio-carousel-wrapper {
  position: relative;
  width: 100%;
}

.portfolio-slider-frame {
  width: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none; /* Hide scrollbar for Firefox */
  -ms-overflow-style: none; /* Hide scrollbar for IE/Edge */
  padding: var(--space-md) 0 var(--space-2xl) 0;
}

.portfolio-slider-frame::-webkit-scrollbar {
  display: none; /* Hide scrollbar for Chrome/Safari */
}

.portfolio-slider {
  display: flex;
  gap: 12px;
  padding: 0 var(--space-xl);
  width: max-content;
  transition: transform var(--transition-slow);
}

.portfolio-item {
  width: 280px;
  height: 480px;
  position: relative;
  cursor: pointer;
  transition: transform var(--transition-bounce), filter var(--transition-base);
  scroll-snap-align: start;
  flex: 0 0 280px;
}

/* Slanted Frame Mask (Desktop Default) */
.portfolio-img-skew {
  width: 100%;
  height: 100%;
  overflow: hidden;
  transform: skewX(-8deg); /* skew the frame */
  transition: transform var(--transition-bounce), border-color var(--transition-base);
  border-left: 2px solid rgba(255, 255, 255, 0.1);
  border-right: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  position: relative;
  background: #000;
}

/* Counter-skew the image to stay upright */
.portfolio-img {
  width: 140%;
  height: 100%;
  object-fit: cover;
  /* transform: skewX(8deg); counter-skew */
  transition: transform var(--transition-slow), filter var(--transition-base);
  filter: brightness(0.9);
}

.portfolio-hover-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(214, 0, 28, 0.35);
  opacity: 0;
  transition: opacity var(--transition-base);
      transform: skewX(-8deg);
}

.portfolio-item .zoom-icon {
  font-size: 2.5rem;
  color: var(--color-white);
  transform: scale(0.8) skewX(0deg);
  transition: transform var(--transition-bounce);
}

/* Hover effects */
.portfolio-item:hover .portfolio-img {
  transform: scale(1.05); /* maintain skew and scale */
  filter: brightness(1.05);
}

.portfolio-item:hover .portfolio-hover-overlay {
  opacity: 1;
}

.portfolio-item:hover .zoom-icon {
  transform: scale(1);
}

/* Navigation buttons (hidden on desktop) */
.portfolio-nav-btn {
  display: none;
}

/* Dots Indicators (hidden on desktop) */
.portfolio-dots {
  display: none;
}

/* Mobile-only responsive behavior: Single-image unskewed carousel slider */
@media (max-width: 768px) {
  .portfolio-carousel-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 45px;
  }

  .portfolio-slider-frame {
    overflow: hidden;
    scroll-snap-type: none;
    padding: 0;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-xl);
  }

  .portfolio-slider {
    width: 100%;
    padding: 0;
    gap: 0;
  }

  .portfolio-item {
    flex: 0 0 100%;
    width: 100%;
    height: 350px;
    scroll-snap-align: none;
  }

  /* Remove skew masks on mobile */
  .portfolio-img-skew {
    transform: none;
    border-left: none;
    border-right: none;
    border-radius: 0;
  }

  .portfolio-img {
    width: 100%;
    transform: none;
  }

  .portfolio-item:hover .portfolio-img {
    transform: scale(1.05);
  }

  /* Left & Right Nav Buttons */
  .portfolio-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all var(--transition-base);
    font-size: 0.9rem;
  }

  .portfolio-nav-btn:hover {
    background: var(--color-red);
    border-color: var(--color-red);
    box-shadow: var(--shadow-red);
  }

  .portfolio-prev {
    left: 0;
    display: flex;
  }

  .portfolio-next {
    right: 0;
    display: flex;
  }

  /* Dots Indicators */
  .portfolio-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
  }

  .portfolio-dot {
    width: 10px;
    height: 10px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
  }

  .portfolio-dot.active {
    background: var(--color-red);
    transform: scale(1.2);
    width: 24px;
    border-radius: var(--radius-sm);
  }
}

/* ────────────────────────────────────────────────────────────
   OUR CLIENTS SECTION
──────────────────────────────────────────────────────────── */
.clients {
  padding: var(--space-4xl) 0;
  background: var(--color-gray-light);
  border-top: 1px solid var(--color-gray-border);
  border-bottom: 1px solid var(--color-gray-border);
}

/* Logo Marquee Styles */
.logo-marquee-wrapper {
  overflow: hidden;
  width: 100%;
  padding: 1.5rem 0;
  position: relative;
  display: flex;
  margin-top: var(--space-xl);
}

/* Fading edges */
.logo-marquee-wrapper::before,
.logo-marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 200px;
  z-index: 2;
  pointer-events: none;
}

.logo-marquee-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--color-gray-light) 0%, transparent 100%);
}

.logo-marquee-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--color-gray-light) 0%, transparent 100%);
}

.logo-marquee-track {
  display: flex;
  gap: var(--space-xl);
  width: max-content;
  will-change: transform;
  animation: logoMarquee 45s linear infinite;
}

.logo-item-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-white);
  border: 1px solid var(--color-gray-border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  height: 90px;
  width: 200px; /* fixed width for marquee items */
  flex-shrink: 0;
  transition: all var(--transition-base);
  box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

.logo-item-wrap .client-logo {
  max-width: 100%;
  max-height: 55px;
  transition: all var(--transition-fast);
}

.logo-item-wrap:hover {
  transform: translateY(-3px);
  border-color: rgba(214,0,28,0.25);
  box-shadow: 0 10px 25px rgba(214,0,28,0.06);
}

.logo-item-wrap:hover .client-logo {
  filter: grayscale(0%);
  opacity: 1;
}

/* Pause animation on hover */
.logo-marquee-wrapper:hover .logo-marquee-track {
  animation-play-state: paused;
}

@keyframes logoMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Responsive Logo Marquee */
@media (max-width: 768px) {
  .logo-item-wrap {
    height: 75px;
    width: 140px;
    padding: var(--space-sm);
  }
  .logo-item-wrap .client-logo {
    max-height: 40px;
  }
  .logo-marquee-wrapper::before,
  .logo-marquee-wrapper::after {
    width: 100px;
  }
}

/* LIGHTBOX MODAL */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(9, 9, 11, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-slow);
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  background: transparent;
  border: none;
  font-size: 3.5rem;
  color: var(--color-white);
  cursor: pointer;
  opacity: 0.65;
  transition: all var(--transition-base);
  line-height: 1;
  z-index: 10001;
}

.lightbox-close:hover {
  opacity: 1;
  transform: rotate(90deg) scale(1.1);
  color: var(--color-red);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all var(--transition-base);
  z-index: 10001;
}

.lightbox-prev {
  left: 40px;
}

.lightbox-next {
  right: 40px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--color-red);
  border-color: var(--color-red);
  box-shadow: var(--shadow-red);
  transform: translateY(-50%) scale(1.05);
}

.lightbox-content {
  max-width: 80%;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: scale(0.95);
  transition: transform var(--transition-slow);
}

.lightbox.active .lightbox-content {
  transform: scale(1);
}

.lightbox-content img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 32px 80px rgba(0,0,0,0.65);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: opacity var(--transition-base);
}

.lightbox-caption {
  color: var(--color-white);
  margin-top: 1.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  text-align: center;
  max-width: 600px;
  letter-spacing: 0.02em;
  opacity: 1;
  transition: opacity var(--transition-base);
}

/* Responsive Gallery Lightbox */
@media (max-width: 768px) {
  .lightbox-prev,
  .lightbox-next {
    width: 48px;
    height: 48px;
    font-size: 1rem;
  }
  .lightbox-prev {
    left: 16px;
  }
  .lightbox-next {
    right: 16px;
  }
  .lightbox-close {
    top: 20px;
    right: 20px;
    font-size: 2.75rem;
  }
  .lightbox-content {
    max-width: 90%;
  }
}

/* ────────────────────────────────────────────────────────────
   CERTIFICATION SECTION
──────────────────────────────────────────────────────────── */
.certification {
  padding: var(--space-5xl) 0;
  background: var(--color-white);
  color: var(--color-black);
  overflow: hidden;
}

.cert-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.certification .section-heading {
  color: var(--color-black);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  margin-bottom: var(--space-lg);
}

.certification .section-heading .text-stroke {
  color: transparent;
  -webkit-text-stroke: 1px rgba(17, 17, 17, 0.65);
}

.cert-desc {
  color: #555555;
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: var(--space-2xl);
  max-width: 520px;
}

.cert-features-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.cert-features-list li {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.cert-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(214, 0, 28, 0.12);
  border: 1px solid rgba(214, 0, 28, 0.25);
  color: var(--color-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  flex-shrink: 0;
}

.cert-feature-info h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-black);
  margin-bottom: 2px;
}

.cert-feature-info p {
  font-size: 0.8125rem;
  color: var(--color-gray);
}

/* Certificate Frame & Mockup Visual */
.cert-frame {
  position: relative;
  padding: 10px;
  border: 2px solid var(--color-red);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  background: #111112;
  transition: transform var(--transition-bounce), box-shadow var(--transition-base);
}

.cert-frame:hover {
  transform: scale(1.02) rotate(1deg);
  box-shadow: 0 30px 60px rgba(214, 0, 28, 0.15);
}

.cert-paper {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  display: grid;
  grid-template-columns: 1fr 2.5fr;
  overflow: hidden;
  aspect-ratio: 1.58 / 1;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.08);
  position: relative;
  color: #111111;
}

.cert-decor-left {
  background: linear-gradient(135deg, #0d47a1 0%, #1976d2 50%, #00bcd4 100%);
  display: flex;
  align-items: flex-start;
  padding: var(--space-md);
  position: relative;
  clip-path: polygon(0 0, 100% 0, 80% 100%, 0 100%);
}

.cert-decor-left::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
}

.cert-3m-logo {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: #FFFFFF;
}

.cert-3m-logo .red-3m {
  font-size: 1.75rem;
  font-weight: 900;
  color: #D6001C;
  text-shadow: 1px 1px 0 #FFF, -1px -1px 0 #FFF, 1px -1px 0 #FFF, -1px 1px 0 #FFF;
}

.cert-3m-logo .cert-science {
  font-size: 0.55rem;
  font-weight: 600;
  line-height: 1.2;
  opacity: 0.9;
}

.cert-body {
  padding: var(--space-lg) var(--space-xl) var(--space-lg) var(--space-md);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.cert-seal {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 54px;
  height: 54px;
}

.seal-outer {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, #CFB53B 0%, #F5D76E 50%, #B8860B 100%);
  border: 1px dashed #B8860B;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.seal-inner {
  width: 80%;
  height: 80%;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.seal-inner span {
  font-size: 0.42rem;
  font-weight: 800;
  color: #6d5300;
  letter-spacing: 0.05em;
}

.cert-main-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0d47a1;
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.cert-awardee {
  font-size: 0.72rem;
  font-weight: 900;
  color: #111111;
  margin-bottom: 2px;
  border-bottom: 1px dotted #ccc;
  padding-bottom: 4px;
  display: inline-block;
  width: max-content;
}

.cert-location {
  font-size: 0.6rem;
  font-weight: 700;
  color: #666;
  margin-bottom: var(--space-sm);
}

.cert-statement {
  font-size: 0.6rem;
  color: #444;
  margin-bottom: 6px;
}

.cert-badges {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: var(--space-md);
}

.cert-badge-item {
  font-size: 0.55rem;
  font-weight: 700;
  color: #333;
  display: flex;
  align-items: center;
  gap: 4px;
}

.cert-badge-item i {
  color: #2e7d32;
  font-size: 0.65rem;
}

.cert-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-top: 1px solid #eee;
  padding-top: 6px;
}

.cert-validity {
  font-size: 0.55rem;
  font-weight: 700;
  color: #666;
}

.cert-sign {
  font-size: 0.55rem;
  font-weight: 800;
  color: #0d47a1;
}

.cert-badge-pill {
  position: absolute;
  bottom: -14px;
  right: 30px;
  background: var(--color-red);
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-red);
  display: flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 5;
}

/* Responsive Certification Layout */
@media (max-width: 1024px) {
  .cert-grid {
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
  }
}

@media (max-width: 768px) {
  .cert-paper {
    grid-template-columns: 1fr;
    aspect-ratio: auto;
    padding: var(--space-md);
  }
  .cert-decor-left {
    clip-path: none;
    padding: var(--space-sm);
    background: linear-gradient(135deg, #0d47a1 0%, #1976d2 100%);
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-md);
  }
  .cert-body {
    padding: 0;
  }
  .cert-seal {
    display: none;
  }
}

/* ────────────────────────────────────────────────────────────
   CONTACT SECTION
──────────────────────────────────────────────────────────── */
.contact {
  padding: var(--space-5xl) 0;
  background: var(--color-gray-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: start;
}

.contact-desc {
  font-size: 1.0625rem;
  color: #555;
  line-height: 1.75;
  margin-bottom: var(--space-2xl);
}

/* Contact Details */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background: var(--color-white);
  border: 1px solid var(--color-gray-border);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  color: var(--color-black);
}

.contact-detail:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-red);
  transform: translateX(4px);
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--color-red);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-detail-icon--green {
  background: var(--color-wa);
}

.contact-detail-label {
  display: block;
  font-size: 0.75rem;
  color: var(--color-gray);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: 0.1rem;
}

.contact-detail strong {
  font-size: 0.9375rem;
  font-weight: 700;
}

.contact-quick-btns {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

/* Lead Form */
.contact-form-wrap {
  position: sticky;
  top: calc(var(--header-height) + var(--space-xl));
}

.lead-form {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--color-gray-border);
}

.form-header {
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-lg);
  border-bottom: 2px solid var(--color-gray-light);
}

.form-header h3 {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--color-black);
  margin-bottom: 0.35rem;
}

.form-header p {
  font-size: 0.9rem;
  color: var(--color-gray);
}

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

.form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-black);
  margin-bottom: 0.45rem;
  letter-spacing: 0.03em;
}

.form-input-wrap {
  position: relative;
}

.form-icon {
  position: absolute;
  left: var(--space-md);
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-gray);
  font-size: 0.875rem;
  pointer-events: none;
  transition: color var(--transition-fast);
}

.form-icon--top {
  top: var(--space-md);
  transform: none;
}

.form-input {
  width: 100%;
  padding: 0.75rem var(--space-md) 0.75rem 2.5rem;
  font-family: var(--font-primary);
  font-size: 0.9375rem;
  color: var(--color-black);
  background: var(--color-gray-light);
  border: 1.5px solid var(--color-gray-border);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  outline: none;
}

.form-input::placeholder { color: #b0b0b0; }

.form-input:focus {
  background: var(--color-white);
  border-color: var(--color-red);
  box-shadow: 0 0 0 3px rgba(214,0,28,0.10);
}

.form-input:focus + .form-icon,
.form-input-wrap:focus-within .form-icon {
  color: var(--color-red);
}

.form-textarea {
  resize: none;
  padding-top: var(--space-md);
}

/* Select */
.form-select-wrap { position: relative; }

.form-select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.form-select-arrow {
  position: absolute;
  right: var(--space-md);
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-gray);
  font-size: 0.75rem;
  pointer-events: none;
}

/* Form Privacy */
.form-privacy {
  text-align: center;
  font-size: 0.8rem;
  color: var(--color-gray);
  margin-top: var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.form-privacy i { color: var(--color-wa); }

/* Form Trust Badges */
.form-badges-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-gray-light);
}

.form-badge-img {
  height: 60px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* ────────────────────────────────────────────────────────────
   FOOTER
──────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--color-black);
  color: rgba(255,255,255,0.7);
}

.footer-top {
  padding: var(--space-2xl) 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-content-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-xl);
  flex-wrap: wrap;
}

.footer-brand-section {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  align-items: flex-start;
}

.footer-logo {
  height: 64px;
  width: auto;
  object-fit: contain;
  margin-right: auto;
}

.footer-tagline {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
  max-width: 340px;
  line-height: 1.6;
}

.footer-interactive-section {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--space-md);
}

.footer-compact-contacts {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-contact-link,
.footer-contact-info {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition-fast);
  text-decoration: none;
}

.footer-contact-link i,
.footer-contact-info i {
  color: var(--color-red);
}

.footer-contact-link--wa i {
  color: var(--color-wa);
}

.footer-contact-link:hover {
  color: var(--color-white);
}

.footer-contact-link--wa:hover {
  color: var(--color-wa);
}

.footer-divider {
  color: rgba(255, 255, 255, 0.15);
  font-weight: 300;
}

/* Footer Social Links */
.footer-social-links {
  display: flex;
  gap: 12px;
  margin-top: var(--space-xs);
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  transition: all var(--transition-fast) cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.footer-social-link:hover {
  color: var(--color-white);
  transform: translateY(-2px);
}

.footer-social-link--facebook:hover {
  background: #1877F2;
  border-color: #1877F2;
  box-shadow: 0 4px 12px rgba(24, 119, 242, 0.3);
}

.footer-social-link--instagram:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(214, 36, 159, 0.3);
}


/* Footer Bottom */
.footer-bottom {
  padding: var(--space-lg) 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.35);
}

.footer-bottom-badges {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.footer-badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.4);
}

.footer-badge i { color: var(--color-red); }

/* ────────────────────────────────────────────────────────────
   MOBILE STICKY CTA BAR
──────────────────────────────────────────────────────────── */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 998;
  background: var(--color-white);
  border-top: 1px solid var(--color-gray-border);
  box-shadow: 0 -8px 32px rgba(0,0,0,0.12);
}

.sticky-cta-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: var(--space-sm) var(--space-xs);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: all var(--transition-fast);
  text-decoration: none;
  border-right: 1px solid var(--color-gray-border);
  padding-bottom: max(var(--space-sm), env(safe-area-inset-bottom));
}

.sticky-cta-btn:last-child { border-right: none; }

.sticky-cta-btn i { font-size: 1.125rem; margin-bottom: 0.1rem; }

.sticky-cta-call {
  color: var(--color-black);
}
.sticky-cta-call:hover { background: var(--color-gray-light); color: var(--color-black); }

.sticky-cta-wa {
  background: var(--color-wa);
  color: var(--color-white);
}
.sticky-cta-wa:hover { background: var(--color-wa-dark); }

.sticky-cta-quote {
  background: var(--color-red);
  color: var(--color-white);
}
.sticky-cta-quote:hover { background: var(--color-red-dark); }

/* ────────────────────────────────────────────────────────────
   RESPONSIVE — TABLET (≤ 1024px)
──────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  :root { --header-height: 68px; }

  /* Nav */
  .nav-menu, .header-cta { display: none; }
  .hamburger { display: flex; margin-left: auto; }

  /* About */
  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
  }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }

  .service-card--featured {
    grid-column: span 2;
  }

  /* Why */
  .why-legacy-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }

  /* Process Grid */
  .process-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }

}

/* ────────────────────────────────────────────────────────────
   RESPONSIVE — MOBILE (≤ 768px)
   ──────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  :root { --header-height: 60px; }

  .container { padding: 0 var(--space-md); }

  /* Section Spacing */
  .about,
  .services,
  .why-us,
  .process,
  .portfolio,
  .certification,
  .contact {
    padding: 5rem 0;
  }

  /* Announcement */
  .announcement-bar {
    display: none !important;
  }

  .site-header {
    top: 0 !important;
  }

  /* Hero */
  .hero {
    height: auto;
    min-height: auto;
  }

  .hero-slider {
    position: relative;
    height: auto;
  }

  /* Slider: make hero-slide fill full height on mobile */
  .hero-slide {
    position: relative;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 1;
    pointer-events: all;
  }

  .hero-slide .hero-content {
    padding-top: calc(var(--header-height) + 80px);
    padding-bottom: 6rem;
  }

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

  .hero-badge { font-size: 0.75rem; }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-ctas .btn { width: 100%; justify-content: center; }

  .hero-slider-btn { display: none; }

  .scroll-indicator { display: none; }





  /* About */
  .about-checklist-container {
    padding: var(--space-lg) var(--space-xl);
  }

  .about-certified-badge {
    margin: var(--space-md) auto 0;
    height: 80px;
  }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    flex-direction: column;
  }

  .service-card-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-xl);
  }

  .service-icon-wrap {
    margin-bottom: var(--space-md);
  }

  .service-title {
    margin-bottom: var(--space-xs);
  }

  .service-desc {
    margin-bottom: var(--space-lg);
  }

  .btn-service-sm {
    margin-top: auto;
    align-self: flex-start;
  }

  .service-card--featured {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }

  /* Why */
  .why-legacy-grid { grid-template-columns: 1fr; gap: 1.5rem; }

  .why-cta-banner {
    flex-direction: column;
    text-align: center;
    padding: var(--space-2xl);
  }

  .why-cta-btns {
    width: 100%;
    flex-direction: column;
  }

  .why-cta-btns .btn { width: 100%; justify-content: center; }

  /* Process Grid */
  .process-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }


  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .contact-form-wrap { position: static; }

  /* Footer */
  .footer-bottom-inner { flex-direction: column; align-items: center; }

  /* Mobile Sticky CTA */
  .mobile-sticky-cta {
    display: flex;
  }

  /* Add bottom padding so content doesn't hide behind sticky bar */
  body { padding-bottom: 64px; }

  /* Process CTA */
  .process-cta { flex-direction: column; align-items: stretch; }
  .process-cta .btn { width: 100%; justify-content: center; }
}

/* ────────────────────────────────────────────────────────────
   RESPONSIVE — SMALL MOBILE (≤ 480px)
──────────────────────────────────────────────────────────── */
@media (max-width: 480px) {
  /* Form Trust Badges Mobile scaling */
  .form-badge-img {
    height: 48px;
  }
  .form-badges-container {
    margin-top: var(--space-md);
    padding-top: var(--space-sm);
  }

  /* About CTA */
  .about-cta-row {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-xl);
  }

  .about-wa-btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .about-phone-info {
    justify-content: center;
  }

  .hero-trust-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .hero-trust-bottom .trust-divider { display: none; }

  .section-subheading {
    margin-bottom: var(--space-2xl);
  }
     .hero-slide .hero-content {
       padding-top: calc(var(--header-height) + 50px);
       padding-bottom: 4rem;
     }
}

/* Thank You Modal */
.thankyou-modal {
  position: fixed;
  inset: 0;
  background: rgba(9, 9, 11, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 10002;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.thankyou-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.thankyou-content {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  max-width: 400px;
  width: 90%;
  text-align: center;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--color-gray-border);
  transform: scale(0.9);
  transition: transform var(--transition-bounce);
  color: var(--color-black);
}

.thankyou-modal.active .thankyou-content {
  transform: scale(1);
}

.thankyou-icon {
  font-size: 4rem;
  color: #2e7d32;
  margin-bottom: var(--space-md);
}

.thankyou-content h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: var(--space-sm);
}

.thankyou-content p {
  font-size: 0.9375rem;
  color: var(--color-gray);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}

/* ────────────────────────────────────────────────────────────
   WHATSAPP CHATBOX WIDGET STYLING
──────────────────────────────────────────────────────────── */
.wa-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-family: var(--font-primary);
  pointer-events: none;
}

.wa-widget * {
  pointer-events: auto;
}

/* Trigger Bubble Button */
.wa-bubble {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  background-color: var(--color-wa);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 28px;
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.35);
  cursor: pointer;
  position: relative;
  transition: transform var(--transition-bounce), background-color var(--transition-base), box-shadow var(--transition-base);
  animation: wa-bubble-pulse 2s infinite;
  margin-top: 12px;
}

.wa-bubble:hover {
  background-color: var(--color-wa-dark);
  transform: scale(1.08);
  box-shadow: 0 12px 40px rgba(26, 171, 84, 0.5);
}

.wa-bubble:active {
  transform: scale(0.95);
}

/* Notification Badge */
.wa-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background-color: var(--color-red);
  color: var(--color-white);
  font-size: 0.7rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--color-white);
  box-shadow: var(--shadow-sm);
  animation: wa-badge-bounce 1s infinite alternate;
}

@keyframes wa-badge-bounce {
  0% { transform: translateY(0); }
  100% { transform: translateY(-3px); }
}

@keyframes wa-bubble-pulse {
  0% {
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.35), 0 0 0 0 rgba(37, 211, 102, 0.4);
  }
  70% {
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.35), 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.35), 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Chat Card Window */
.wa-card {
  width: 360px;
  max-width: 90vw;
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: translateY(20px) scale(0.95);
  opacity: 0;
  visibility: hidden;
  transition: transform var(--transition-bounce), opacity var(--transition-base), visibility var(--transition-base);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.discount-popup {
  position: fixed;
  inset: 0;
  background: rgba(9, 9, 11, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.discount-popup.active {
  opacity: 1;
  pointer-events: auto;
}

.discount-card-content {
  position: relative;
  width: 680px;
  max-width: 95%;
  background: var(--color-white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-top: 4px solid var(--color-red);
  border-radius: var(--radius-xl);
  padding: 0;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.25);
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
  text-align: left;
}

.discount-popup.active .discount-card-content {
  transform: scale(1);
}

.discount-popup-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 1.5rem;
  color: var(--color-black);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all var(--transition-base);
  line-height: 1;
  z-index: 100;
}

.discount-popup-close:hover {
  background: var(--color-red);
  color: var(--color-white);
  border-color: var(--color-red);
  transform: rotate(90deg) scale(1.05);
}

.wa-card.active {
  transform: translateY(0) scale(1);
  opacity: 1;
  visibility: visible;
}

/* Header */
.wa-header {
  background-color: #0b2518;
  background-image: linear-gradient(135deg, #0b2518 0%, #153c29 100%);
  padding: var(--space-md) var(--space-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}

.wa-avatar-container {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.1);
  padding: 2px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.wa-avatar {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-full);
  object-fit: contain;
}

.wa-status-dot {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 10px;
  height: 10px;
  background-color: var(--color-wa);
  border-radius: var(--radius-full);
  border: 2px solid #0b2518;
}

.wa-header-info {
  flex-grow: 1;
}

.wa-agent-name {
  color: var(--color-white);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
}

.wa-agent-status {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.75rem;
  display: block;
  margin-top: 2px;
}

.wa-close-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 24px;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  transition: color var(--transition-fast);
  align-self: flex-start;
  margin-top: -4px;
}

.wa-close-btn:hover {
  color: var(--color-white);
}

/* Body */
.wa-body {
  background-color: #efeae2;
  background-image: radial-gradient(rgba(0,0,0,0.03) 1px, transparent 0);
  background-size: 16px 16px;
  padding: var(--space-lg);
  flex-grow: 1;
  min-height: 110px;
}

.wa-message-bubble {
  background-color: var(--color-white);
  padding: var(--space-md);
  border-radius: 0 var(--radius-md) var(--radius-md) var(--radius-md);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
  max-width: 90%;
  position: relative;
}

.wa-message-bubble::before {
  content: "";
  position: absolute;
  top: 0;
  left: -8px;
  border-width: 8px 8px 8px 0;
  border-style: solid;
  border-color: transparent var(--color-white) transparent transparent;
}

.wa-message-time {
  font-size: 0.68rem;
  color: var(--color-gray);
  margin-bottom: 4px;
  text-align: right;
}

.wa-message-text {
  font-size: 0.875rem;
  color: var(--color-black);
  line-height: 1.45;
}

/* Footer / Quick Actions */
.wa-footer {
  background-color: var(--color-white);
  padding: var(--space-md) var(--space-lg) var(--space-lg) var(--space-lg);
  border-top: 1px solid var(--color-gray-border);
}

.wa-quick-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-gray);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.wa-quick-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wa-quick-link-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: var(--color-gray-light);
  border: 1px solid var(--color-gray-border);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  color: var(--color-black);
  font-size: 0.85rem;
  font-weight: 600;
  transition: all var(--transition-fast);
  cursor: pointer;
  text-decoration: none;
}

.wa-quick-link-btn i {
  color: var(--color-wa);
  font-size: 16px;
  transition: transform var(--transition-fast);
}

.wa-quick-link-btn:hover {
  background-color: rgba(37, 211, 102, 0.08);
  border-color: rgba(37, 211, 102, 0.3);
  color: var(--color-wa-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.wa-quick-link-btn:hover i {
  transform: scale(1.2);
}

/* Responsive adjustments for widget */
@media (max-width: 768px) {
  .wa-widget {
    bottom: 80px;
    right: 16px;
  }
  .wa-card {
    width: 320px;
  }
  .wa-bubble {
    width: 50px;
    height: 50px;
    font-size: 24px;
  }
}

/* ────────────────────────────────────────────────────────────
   SECTION 9 — MAP & QUICK CONTACT BANNER
──────────────────────────────────────────────────────────── */
.map-section {
  position: relative;
  background: var(--color-white);
  width: 100%;
}

.map-container-relative {
  position: relative;
  width: 100%;
  height: 450px;
}

.google-map {
  width: 100%;
  height: 100%;
  filter: grayscale(10%) contrast(100%);
  border: 0;
}

/* Map Overlay Card */
.map-info-card {
  position: absolute;
  top: 50%;
  right: 10%;
  transform: translateY(-50%);
  background-color: var(--color-red);
  color: var(--color-white);
  padding: 35px 40px;
  width: 360px;
  max-width: 90%;
  box-shadow: var(--shadow-lg);
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-radius: var(--radius-md);
}

.info-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.info-label {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.info-content {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.info-icon {
  font-size: 1.3rem;
  color: var(--color-white);
  flex-shrink: 0;
  margin-top: 2px;
}

.info-text {
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.6;
  margin: 0;
}

.info-phone-link {
  color: var(--color-white);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  transition: opacity var(--transition-fast);
}

.info-phone-link:hover {
  opacity: 0.85;
}

.info-divider {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  margin: 0;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .map-info-card {
    position: static;
    transform: none;
    width: 100%;
    max-width: 100%;
    padding: 30px var(--space-lg);
    box-shadow: none;
    border-radius: 0;
  }
  .map-container-relative {
    height: auto;
    display: flex;
    flex-direction: column;
  }
  .map-container-relative .google-map {
    height: 350px;
  }
}

/* ────────────────────────────────────────────────────────────
   50% DISCOUNT POPUP SUBSTYLES (LIGHT THEME & SPLIT LAYOUT)
──────────────────────────────────────────────────────────── */

.discount-split-container {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: stretch;
  min-height: 380px;
}

.discount-image-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  overflow: hidden;
}

.discount-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.discount-info-wrap {
  padding: var(--space-2xl) var(--space-xl) var(--space-2xl) var(--space-lg);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.discount-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-red);
  letter-spacing: 0.1em;
  background: rgba(214, 0, 28, 0.08);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
  border: 1px solid rgba(214, 0, 28, 0.15);
}

.discount-offer {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: var(--space-sm);
}

.discount-number {
  font-size: 3.5rem;
  font-weight: 950;
  color: var(--color-black);
  line-height: 1;
  letter-spacing: -0.03em;
}

.discount-off {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-red);
  letter-spacing: 0.05em;
}

.discount-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-black);
  margin-bottom: var(--space-sm);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.discount-subtitle {
  font-size: 0.875rem;
  color: #555555;
  line-height: 1.5;
  margin-bottom: var(--space-xl);
}

.btn-wa-discount {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  width: 100%;
  padding: 0.85rem 1.5rem;
  background: linear-gradient(135deg, var(--color-wa), var(--color-wa-dark));
  border: none;
  border-radius: 8px;
  color: var(--color-white);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.25);
  text-decoration: none;
}

.btn-wa-discount:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  background: linear-gradient(135deg, var(--color-wa-dark), var(--color-wa));
}

.btn-wa-discount i {
  font-size: 1.1rem;
}

/* Mobile adjustments for split card */
@media (max-width: 640px) {
  .discount-split-container {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .discount-image-wrap {
    height: 180px;
  }

  .discount-info-wrap {
    padding: var(--space-xl);
    align-items: center;
    text-align: center;
  }

  .discount-offer {
    justify-content: center;
  }
}

/* ────────────────────────────────────────────────────────────
   PRINT STYLES
──────────────────────────────────────────────────────────── */
@media print {
  .site-header,
  .announcement-bar,
  .mobile-sticky-cta,
  .hero-ctas,
  .wa-widget,
  .map-section { display: none; }

  body { color: #000; background: #fff; }
}

/* Hidden elements class */
.hidden-card {
  display: none !important;
}
