/* ─── Reset ─────────────────────────────────────── */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
html {
  scroll-behavior: smooth;
}

/* ─── Brand accent (NO gradient text) ──────────── */
.accent-text {
  color: #10b981;
  font-style: italic;
}

/* ─── Hero ──────────────────────────────────────── */
.hero-gradient {
  background: linear-gradient(
    160deg,
    rgba(2, 10, 8, 0.85) 0%,
    rgba(6, 78, 59, 0.45) 60%,
    rgba(15, 23, 42, 0.65) 100%
  );
}

.hero-parallax-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-parallax-img {
  width: 100%;
  height: 120%; /* Extra height for the parallax movement */
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  will-change: transform;
}

/* ─── Cards ─────────────────────────────────────── */
.card-hover {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.card-hover:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -8px rgba(5, 150, 105, 0.18),
              0 0 0 1px rgba(5, 150, 105, 0.10);
}

/* ─── Image zoom ─────────────────────────────────── */
.img-zoom {
  overflow: hidden;
}
.img-zoom img {
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}
.img-zoom:hover img {
  transform: scale(1.06);
}

/* ─── Pulse glow (WhatsApp FAB) ─────────────────── */
.pulse-glow {
  animation: pulseGlow 2.4s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.45); }
  55%       { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
}

/* ─── Active press state ─────────────────────────── */
a, button {
  -webkit-tap-highlight-color: transparent;
}
a:active, button:active {
  opacity: 0.82;
  transform: scale(0.98);
}

/* ─── Counter section ───────────────────────────── */
.counter-section {
  background: #020617;
  border-top: 1px solid rgba(16, 185, 129, 0.15);
  border-bottom: 1px solid rgba(16, 185, 129, 0.15);
}

/* ─── Nav blur ──────────────────────────────────── */
.nav-blur {
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
}

/* ─── Gallery ───────────────────────────────────── */
.gallery-item {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.gallery-item:hover {
  transform: scale(1.015);
  filter: brightness(1.05);
}

/* ─── Testimonial cards ─────────────────────────── */
.testimonial-card {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.12);
}

/* ─── Service icon ──────────────────────────────── */
.service-icon {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.card-hover:hover .service-icon {
  transform: scale(1.12) rotate(4deg);
}

/* ─── Lightbox (unused but kept) ───────────────── */
.lightbox-overlay {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease-out;
}
.lightbox-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* ─── Scrollbar ─────────────────────────────────── */
::-webkit-scrollbar       { width: 6px; }
::-webkit-scrollbar-track { background: #0f172a; }
::-webkit-scrollbar-thumb { background: #059669; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #10b981; }

/* ─── Scroll reveal ─────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Trust marquee ─────────────────────────────── */
.marquee {
  animation: marquee 28s linear infinite;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─── Hamburger ─────────────────────────────────── */
.hamburger-line {
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.2s ease-out;
}
.hamburger-active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger-active .hamburger-line:nth-child(2) {
  opacity: 0;
}
.hamburger-active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* ─── Inline form validation ────────────────────── */
.field-error {
  display: none;
  font-size: 0.75rem;
  color: #f87171;
  margin-top: 5px;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.field-error.visible {
  display: block;
  animation: errShake 0.35s cubic-bezier(0.36, 0.07, 0.19, 0.97);
}
@keyframes errShake {
  0%, 100% { transform: translateX(0); }
  20%       { transform: translateX(-4px); }
  40%       { transform: translateX(4px); }
  60%       { transform: translateX(-3px); }
  80%       { transform: translateX(2px); }
}
.input-invalid {
  border-color: #f87171 !important;
  box-shadow: 0 0 0 2px rgba(248, 113, 113, 0.15) !important;
}

/* ─── Focus visible (keyboard nav) ──────────────── */
:focus-visible {
  outline: 2px solid #10b981;
  outline-offset: 3px;
  border-radius: 4px;
}

/* ─── Bold card variant (dark) ──────────────────── */
.card-dark {
  background: #0f172a;
  color: #f8fafc;
}
.card-dark .text-dark-500 { color: #94a3b8; }
.card-dark .text-dark-900 { color: #f8fafc; }
.card-dark .service-icon  { background: rgba(16,185,129,0.12) !important; }

/* ─── Ghost button ───────────────────────────────── */
.btn-ghost {
  background: transparent;
  border: 1.5px solid currentColor;
  opacity: 0.75;
  transition: opacity 0.2s ease-out, background 0.2s ease-out;
}
.btn-ghost:hover {
  opacity: 1;
  background: rgba(255,255,255,0.06);
}

/* ─── Reduced motion ─────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .pulse-glow        { animation: none; }
  .marquee           { animation: none; }
  .reveal            { opacity: 1; transform: none; transition: none; }
  .card-hover,
  .gallery-item,
  .testimonial-card  { transition: none; }
  a:active, button:active { transform: none; }
  .field-error.visible { animation: none; }
  html               { scroll-behavior: auto; }
}
