/* =================================================================
   KHUSHI DECOR & ENTERPRISES — style.css
   Structure:
   0.  THEME VARIABLES  (change colours here)
   1.  BASE & TYPOGRAPHY
   2.  REUSABLE HELPERS (eyebrow, section title, buttons, reveal)
   3.  TOP BAR
   4.  HEADER / NAV
   5.  HERO CAROUSEL
   6.  MARQUEE
   7.  ABOUT
   8.  SERVICES (blink wave)
   9.  WHY CHOOSE US
   10. HOW IT WORKS
   11. GALLERY STRIP (auto marquee)
   12. GALLERY GRID
   13. FAQ
   14. TESTIMONIALS
   15. CONTACT
   16. FOOTER
   17. FLOATING BUTTONS + BACK TO TOP
   18. RESPONSIVE
   19. REDUCED MOTION
================================================================= */

/* =========================================================
   0. THEME VARIABLES  —  edit these to re-skin the whole site
========================================================= */
:root {
  /* Brand colours */
  --color-primary: #15876f;
  /* main brand green-teal */
  --color-primary-dark: #0c5a4a;
  /* darker shade */
  --color-primary-soft: #e3f2ed;
  /* very light tint for backgrounds */
  --color-accent: #f2a73b;
  /* warm amber — CTAs & highlights */
  --color-accent-dark: #d98a1c;

  /* Neutrals */
  --color-ink: #15271f;
  /* headings / dark text */
  --color-body: #4a5b54;
  /* body text */
  --color-muted: #7c8b85;
  /* captions / subtle */
  --color-line: #e4ece8;
  /* borders / dividers */

  /* Section surfaces (mix for variety — not one flat colour) */
  --surface: #ffffff;
  --surface-alt: #f3f8f5;
  /* light mint */
  --surface-warm: #fbf6ee;
  /* warm cream */
  --surface-dark: #102a22;
  /* deep green for footer/contact */

  /* Typography */
  --font-display: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Shape & depth */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 26px;
  --shadow-sm: 0 4px 14px rgba(16, 42, 34, 0.06);
  --shadow: 0 14px 40px rgba(16, 42, 34, 0.10);
  --shadow-lg: 0 28px 60px rgba(16, 42, 34, 0.16);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --speed: 0.4s;

  /* Layout */
  --topbar-h: 42px;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
}

.container,
.container-fluid {
  overflow: hidden;
}

img,
video {
  max-width: 100%;
  height: auto;
}

/* =========================================================
   1. BASE & TYPOGRAPHY
========================================================= */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  font-family: var(--font-body);
  color: var(--color-body);
  background: var(--surface);
  line-height: 1.7;
  overflow-x: hidden;
  /* guards against any mobile horizontal scroll */
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-display);
  color: var(--color-ink);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1rem;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--speed) var(--ease);
}

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

.text-link {
  color: var(--color-primary);
  font-weight: 600;
}

.text-link:hover {
  color: var(--color-accent);
}

/* Section rhythm + alternating surfaces for subtle variety */
.section {
  padding: 92px 0;
  position: relative;
}

.about {
  background: var(--surface);
}

.services {
  background: #d6f3d9;
}

.why {
  background: var(--surface);
}

.how {
  background: #d6f3d9;
}

.gallery-strip {
  background: var(--surface);
  padding-bottom: 70px;
}

.gallery {
  background: var(--surface-alt);
}

.faq {
  background: var(--surface);
}

.testimonials {
  background: #d6f3d9;
}

.contact {
  background: var(--surface);
}

/* =========================================================
   2. REUSABLE HELPERS
========================================================= */
.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary);
  padding: 6px 14px;
  background: var(--color-primary-soft);
  border-radius: 999px;
  margin-bottom: 18px;
}

.eyebrow--center {
  display: inline-block;
}

.eyebrow--light {
  color: var(--color-accent);
  background: rgba(242, 167, 59, 0.16);
}

.section-title {
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  margin-bottom: 16px;
}

.section-title strong {
  color: var(--color-primary);
  font-weight: 800;
}

.section-desc {
  color: var(--color-muted);
  font-size: 1.05rem;
  max-width: 560px;
}

.section-head {
  max-width: 680px;
  margin: 0 auto 56px;
}

.section-head .section-desc {
  margin-inline: auto;
}

.lead-text {
  font-size: 1.06rem;
}

/* Buttons */
.btn {
  font-family: var(--font-display);
  font-weight: 600;
  border-radius: 999px;
  padding: 12px 26px;
  transition: all var(--speed) var(--ease);
  border: 2px solid transparent;
}

.btn-cta {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 10px 24px rgba(242, 167, 59, 0.35);
}

.btn-cta:hover {
  background: var(--color-accent-dark);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(242, 167, 59, 0.45);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
}

.btn-ghost:hover {
  background: #fff;
  color: var(--color-ink);
  border-color: #fff;
  transform: translateY(-3px);
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1.02rem;
}

/* Scroll-reveal base (JS toggles .is-visible) */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}

.reveal[data-reveal="left"] {
  transform: translateX(-40px);
}

.reveal[data-reveal="right"] {
  transform: translateX(40px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* Decorative mesh background accent (signature net/grid motif) */
.mesh-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--color-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--color-line) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(circle at 80% 20%, #000 0%, transparent 60%);
  mask-image: radial-gradient(circle at 80% 20%, #000 0%, transparent 60%);
  opacity: 0.7;
  pointer-events: none;
}

/* =========================================================
   3. TOP BAR
========================================================= */
.topbar {
  background: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.86rem;
  padding: 9px 0;
  min-height: var(--topbar-h);
}

.topbar-link {
  color: rgba(255, 255, 255, 0.9);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.topbar-link:hover {
  color: var(--color-accent);
}

.topbar-note {
  color: rgba(255, 255, 255, 0.75);
}

.topbar-divider {
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, 0.3);
}

.topbar-social {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 0.85rem;
}

.topbar-social:hover {
  background: var(--color-accent);
  color: #fff;
  transform: translateY(-2px);
}

/* =========================================================
   4. HEADER / NAV  (sticky + shrink on scroll)
========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
  transition: padding var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}

.site-header .navbar {
  padding: 16px 0;
  transition: padding var(--speed) var(--ease);
}

.site-header.shrink .navbar {
  padding: 8px 0;
}

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

/* Brand */
.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #fff;
  font-size: 1.3rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--speed) var(--ease);
}

.navbar-brand:hover .brand-mark {
  transform: rotate(-8deg) scale(1.05);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.18rem;
  color: var(--color-ink);
  font-weight: 800;
}

.brand-text small {
  font-size: 0.74rem;
  color: var(--color-primary);
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* Links */
.navbar-nav .nav-link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--color-ink);
  padding: 8px 14px;
  position: relative;
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--speed) var(--ease);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  transform: scaleX(1);
}

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

/* Custom hamburger */
.navbar-toggler {
  border: none;
  padding: 8px;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.toggler-bar {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--color-ink);
  border-radius: 2px;
  margin: 5px 0;
  transition: all var(--speed) var(--ease);
}

/* =========================================================
   5. HERO CAROUSEL
========================================================= */
.hero {
  position: relative;
}

.hero-carousel,
.hero-carousel .carousel-inner,
.hero-carousel .carousel-item {
  height: clamp(520px, 76vh, 760px);
}

.hero-carousel .carousel-item {
  position: relative;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.897) 0%, rgba(0, 0, 0, 0.712) 45%, rgba(0, 0, 0, 0.18) 100%);
}

/* Full container width + pack children to the LEFT so the hero copy sits on the side, not centered */
.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
}

.hero-content>* {
  max-width: 620px;
}

.hero-eyebrow {
  display: inline-block;
  align-self: flex-start;
  color: var(--color-accent);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.hero-title {
  color: #fff;
  font-size: clamp(2.2rem, 5.4vw, 4rem);
  font-weight: 800;
  margin-bottom: 18px;
}

.hero-sub {
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 1.7vw, 1.22rem);
  max-width: 520px;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* animate hero text on active slide */
.carousel-item .hero-eyebrow,
.carousel-item .hero-title,
.carousel-item .hero-sub,
.carousel-item .hero-actions {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.carousel-item.active .hero-eyebrow {
  opacity: 1;
  transform: none;
  transition-delay: 0.15s;
}

.carousel-item.active .hero-title {
  opacity: 1;
  transform: none;
  transition-delay: 0.30s;
}

.carousel-item.active .hero-sub {
  opacity: 1;
  transform: none;
  transition-delay: 0.45s;
}

.carousel-item.active .hero-actions {
  opacity: 1;
  transform: none;
  transition-delay: 0.60s;
}

/* Controls */
.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
  width: auto;
  opacity: 1;
  z-index: 3;
}

.hero-arrow {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  font-size: 1.3rem;
  margin: 0 18px;
  transition: all var(--speed) var(--ease);
}

.hero-arrow:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

.hero-indicators {
  margin-bottom: 26px;
}

.hero-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: transparent;
  opacity: 0.8;
  transition: all var(--speed) var(--ease);
}

.hero-indicators .active {
  background: var(--color-accent);
  border-color: var(--color-accent);
  width: 30px;
  border-radius: 999px;
}

/* Floating chips */
.float-chip {
  position: absolute;
  z-index: 3;
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-ink);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.84rem;
  padding: 9px 16px;
  border-radius: 999px;
  box-shadow: var(--shadow);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.float-chip i {
  color: var(--color-primary);
}

.float-chip--1 {
  top: 22%;
  right: 6%;
  animation: floaty 5s ease-in-out infinite;
}

.float-chip--2 {
  bottom: 20%;
  right: 12%;
  animation: floaty 6s ease-in-out infinite 0.6s;
}

@keyframes floaty {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-14px);
  }
}

/* =========================================================
   6. MARQUEE  (seamless, JS duplicates track)
========================================================= */
.marquee {
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-dark));
  overflow: hidden;
  padding: 16px 0;
  position: relative;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  will-change: transform;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: 0 38px;
  position: relative;
}

.marquee-item i {
  color: var(--color-accent);
  font-size: 1.15rem;
}

.marquee-item::after {
  content: "•";
  position: absolute;
  right: -4px;
  color: rgba(255, 255, 255, 0.4);
}

/* =========================================================
   7. ABOUT
========================================================= */
.about-collage {
  position: relative;
  padding: 0 0 40px 40px;
}

.collage-main {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  aspect-ratio: 4/3.4;
}

.collage-small {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 46%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 6px solid #fff;
  object-fit: cover;
  aspect-ratio: 1/1;
}

.about-badge {
  position: absolute;
  top: 22px;
  right: 22px;
  background: var(--color-accent);
  color: #fff;
  border-radius: var(--radius);
  padding: 16px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  line-height: 1.1;
}

.about-badge-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.9rem;
}

.about-badge-label {
  font-size: 0.72rem;
  font-weight: 500;
  opacity: 0.95;
}

.mesh-dot {
  position: absolute;
  top: -18px;
  left: 12px;
  width: 90px;
  height: 90px;
  z-index: -1;
  background-image: radial-gradient(var(--color-primary) 2px, transparent 2px);
  background-size: 16px 16px;
  opacity: 0.4;
}

.about-points {
  list-style: none;
  padding: 0;
  margin: 8px 0 26px;
}

.about-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-weight: 500;
  color: var(--color-ink);
}

.about-points i {
  color: var(--color-primary);
  font-size: 1.15rem;
  margin-top: 2px;
}

.about-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--color-line);
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-num,
.stat-plus {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.1rem;
  color: var(--color-primary);
  line-height: 1;
}

.stat-plus {
  display: inline;
}

.stat-label {
  font-size: 0.86rem;
  color: var(--color-muted);
  margin-top: 6px;
}

/* =========================================================
   8. SERVICES  —  card grid with sequential BLINK WAVE
========================================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-line);
  display: flex;
  flex-direction: column;
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease), border-color var(--speed) var(--ease);
  position: relative;
}

/* Blink wave: each card glows in sequence (left→right), looping.
   --i is set per-card in JS; --count is total cards. */
.service-card {
  animation: cardWave calc(var(--count, 8) * 0.55s) var(--ease) infinite;
  animation-delay: calc(var(--i, 0) * 0.55s);
}

@keyframes cardWave {

  0%,
  12% {
    border-color: var(--color-line);
    box-shadow: var(--shadow-sm);
  }

  4% {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(242, 167, 59, 0.25), var(--shadow);
  }

  100% {
    border-color: var(--color-line);
    box-shadow: var(--shadow-sm);
  }
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
  animation-play-state: paused;
}

.service-media {
  aspect-ratio: 12/11;
  overflow: hidden;
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

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

.service-body {
  padding: 20px 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-name {
  font-size: 1.18rem;
  margin-bottom: 8px;
}

.service-text {
  font-size: 0.92rem;
  color: var(--color-muted);
  margin-bottom: 16px;
  flex: 1;
}

.service-price {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  font-family: var(--font-display);
  align-self: flex-start;
  background: var(--color-primary-soft);
  color: var(--color-primary-dark);
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 700;
}

.service-price span {
  font-size: 1.12rem;
}

.service-price small {
  font-size: 0.78rem;
  font-weight: 500;
}

/* CTA tile */
.service-card--cta {
  background: linear-gradient(150deg, var(--color-primary), var(--color-primary-dark));
  border: none;
  animation: none;
}

.service-cta-inner {
  padding: 28px 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #fff;
}

.service-cta-inner i {
  font-size: 2rem;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.service-card--cta .service-name {
  color: #fff;
}

.service-card--cta .service-text {
  color: rgba(255, 255, 255, 0.82);
}

.service-card--cta:hover {
  transform: translateY(-8px);
}

/* =========================================================
   9. WHY CHOOSE US
========================================================= */
.why-panel {
  position: sticky;
  top: 120px;
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.why-row {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}

.why-row:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow);
}

.why-icon {
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-soft);
  color: var(--color-primary);
  font-size: 1.5rem;
  transition: all var(--speed) var(--ease);
}

.why-row:hover .why-icon {
  background: var(--color-primary);
  color: #fff;
  transform: rotate(-6deg);
}

.why-row h3 {
  font-size: 1.12rem;
  margin-bottom: 5px;
}

.why-row p {
  font-size: 0.94rem;
  color: var(--color-muted);
  margin: 0;
}

/* =========================================================
   10. HOW IT WORKS  —  horizontal numbered timeline
========================================================= */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.steps::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--color-primary) 0 10px, transparent 10px 20px);
  opacity: 0.4;
}

.step {
  text-align: center;
  position: relative;
}

.step-num {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
  transition: all var(--speed) var(--ease);
}

.step:hover .step-num {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-5px) scale(1.05);
}

.step h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.step p {
  font-size: 0.92rem;
  color: var(--color-muted);
  margin: 0;
  padding: 0 8px;
}

/* =========================================================
   11. GALLERY STRIP  —  seamless auto marquee (5 per row)
========================================================= */
.gstrip {
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.gstrip-track {
  display: flex;
  gap: 18px;
  width: max-content;
  will-change: transform;
}

.gstrip-item {
  flex: 0 0 auto;
  width: calc((100vw - 6 * 18px) / 5);
  max-width: 320px;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.gstrip-item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.gstrip-item:hover img {
  transform: scale(1.07);
}

/* =========================================================
   12. GALLERY GRID  —  4/row desktop, 2/row mobile
========================================================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.gallery-cell {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.gallery-cell img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.gallery-cell figcaption {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  background: linear-gradient(to top, rgba(12, 42, 34, 0.82), transparent 60%);
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--speed) var(--ease);
}

.gallery-cell:hover img {
  transform: scale(1.1);
}

.gallery-cell:hover figcaption {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   12B. VIDEO GALLERY  —  8 videos, native controls, no poster
   4 per row (desktop) / 2 (tablet) / 1 (mobile)
========================================================= */
.videos { background: var(--surface-warm); }
.video-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.video-cell {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;                 /* clean frame behind the video */
  box-shadow: var(--shadow-sm);
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}
.video-cell:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.video-player {
  display: block;
  width: 100%;
  aspect-ratio: 10 / 9;             /* uniform grid; works for any clip */
  object-fit: contain;             /* never crops — shows the whole frame */
  background: #000;
  border: 0;
}

/* =========================================================
   13. FAQ  —  custom accordion (native <details>)
========================================================= */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--speed) var(--ease), border-color var(--speed) var(--ease);
}

.faq-item[open] {
  box-shadow: var(--shadow);
  border-color: var(--color-primary);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

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

.faq-item summary::after {
  content: "\F4FE";
  font-family: "bootstrap-icons";
  color: var(--color-primary);
  transition: transform var(--speed) var(--ease);
  font-weight: 400;
}

.faq-item[open] summary::after {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 22px 20px;
}

.faq-answer p {
  margin: 0;
  color: var(--color-muted);
}

/* =========================================================
   14. TESTIMONIALS  —  custom slider
========================================================= */
.tslider {
  max-width: 760px;
  margin: 0 auto;
  overflow: hidden;
}

.tslider-track {
  display: flex;
  transition: transform 0.6s var(--ease);
}

.tcard {
  flex: 0 0 100%;
  margin: 0;
  padding: 38px 40px 34px;
  text-align: center;
}

.tstars {
  color: var(--color-accent);
  font-size: 1.05rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.tcard blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--color-ink);
  font-weight: 500;
  line-height: 1.5;
  margin: 0 0 26px;
}

.tcard figcaption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.tcard figcaption img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--color-primary-soft);
}

.tcard figcaption span {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.tcard figcaption strong {
  font-family: var(--font-display);
  color: var(--color-ink);
}

.tcard figcaption small {
  color: var(--color-muted);
}

.tslider-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 18px;
}

.tslider-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--color-line);
  background: #fff;
  color: var(--color-primary);
  font-size: 1.1rem;
  cursor: pointer;
  transition: all var(--speed) var(--ease);
}

.tslider-btn:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.tslider-dots {
  display: flex;
  gap: 8px;
}

.tslider-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: var(--color-line);
  cursor: pointer;
  transition: all var(--speed) var(--ease);
}

.tslider-dots button.active {
  background: var(--color-accent);
  width: 26px;
  border-radius: 999px;
}

/* =========================================================
   15. CONTACT
========================================================= */
.contact-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #fff;
}

.contact-info {
  background: var(--surface-dark);
  color: rgba(255, 255, 255, 0.86);
  padding: 48px 40px;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.contact-info::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.5;
}

.contact-info>* {
  position: relative;
  z-index: 1;
}

.contact-title {
  color: #fff;
  font-size: 1.7rem;
  margin-bottom: 14px;
}

.contact-title strong {
  color: var(--color-accent);
}

.contact-meta {
  list-style: none;
  padding: 0;
  margin: 26px 0;
}

.contact-meta li {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
  align-items: flex-start;
}

.contact-meta i {
  color: var(--color-accent);
  font-size: 1.15rem;
  margin-top: 3px;
}

.contact-meta a {
  color: rgba(255, 255, 255, 0.86);
}

.contact-meta a:hover {
  color: var(--color-accent);
}

.contact-socials {
  display: flex;
  gap: 12px;
}

.contact-socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all var(--speed) var(--ease);
}

.contact-socials a:hover {
  background: var(--color-accent);
  transform: translateY(-3px);
}

.contact-form {
  padding: 48px 40px;
}

.form-title {
  font-size: 1.4rem;
  margin-bottom: 22px;
}

.contact-form .form-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--color-ink);
  margin-bottom: 6px;
}

.optional {
  color: var(--color-muted);
  font-weight: 400;
}

.contact-form .form-control,
.contact-form .form-select {
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 0.95rem;
  transition: border-color var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px var(--color-primary-soft);
}

.form-note {
  margin: 14px 0 0;
  font-size: 0.9rem;
  font-weight: 600;
}

.form-note.ok {
  color: var(--color-primary);
}

.form-note.err {
  color: #c0392b;
}

/* =========================================================
   16. FOOTER
========================================================= */
.site-footer {
  background: var(--surface-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 0;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.footer-brand .brand-text strong {
  color: #fff;
}

.footer-brand .brand-text small {
  color: var(--color-accent);
}

.footer-about {
  font-size: 0.94rem;
  max-width: 320px;
}

.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.footer-socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all var(--speed) var(--ease);
}

.footer-socials a:hover {
  background: var(--color-accent);
  transform: translateY(-3px);
}

.footer-head {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 18px;
}

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

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.94rem;
}

.footer-links a:hover {
  color: var(--color-accent);
  padding-left: 5px;
}

.footer-contact li {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.92rem;
  align-items: flex-start;
}

.footer-contact i {
  color: var(--color-accent);
  margin-top: 3px;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact a:hover {
  color: var(--color-accent);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  margin-top: 48px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.86rem;
}

.footer-bottom p {
  margin: 0;
}

/* =========================================================
   17. FLOATING BUTTONS + BACK TO TOP
========================================================= */
.float-btn {
  position: fixed;
  bottom: 24px;
  z-index: 1050;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  box-shadow: var(--shadow);
  transition: transform var(--speed) var(--ease);
}

.float-btn:hover {
  transform: scale(1.1);
  color: #fff;
}

.float-wa {
  left: 24px;
  background: #25D366;
}

.float-call {
  right: 24px;
  background: var(--color-primary);
}

/* pulse rings */
.float-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: inherit;
  z-index: -1;
  animation: pulse 2s ease-out infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }

  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

.to-top {
  position: fixed;
  right: 24px;
  bottom: 92px;
  z-index: 1050;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: none;
  background: var(--color-ink);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--speed) var(--ease);
}

.to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top:hover {
  background: var(--color-primary);
}

/* =========================================================
   18. RESPONSIVE
========================================================= */
@media (max-width: 1199.98px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .gstrip-item {
    width: calc((100vw - 5 * 18px) / 4);
  }

  /* ~4 visible */
}

@media (max-width: 991.98px) {
  .section {
    padding: 70px 0;
  }

  /* Mobile nav panel */
  .navbar-collapse {
    background: #fff;
    border-radius: var(--radius);
    margin-top: 14px;
    padding: 14px 18px;
    box-shadow: var(--shadow);
  }

  .navbar-nav .nav-link {
    padding: 10px 4px;
  }

  .navbar-nav .nav-link::after {
    display: none;
  }

  .btn-cta.btn {
    display: inline-block;
    margin-top: 8px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 24px;
  }

  .steps::before {
    display: none;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .why-panel {
    position: static;
    margin-bottom: 8px;
  }

  .about-collage {
    padding-bottom: 30px;
  }

  .contact-info {
    padding: 38px 30px;
  }

  .contact-form {
    padding: 38px 30px;
  }

  .gstrip-item {
    width: calc((100vw - 4 * 18px) / 3);
  }
}

@media (max-width: 767.98px) {
  .section {
    padding: 58px 0;
  }

  .section-head {
    margin-bottom: 40px;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(12, 42, 34, 0.85), rgba(12, 42, 34, 0.55));
  }

  .float-chip {
    display: none;
  }

  /* GALLERY GRID — 2 per row on mobile (as required) */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-stats {
    gap: 20px;
  }

  .stat-num,
  .stat-plus {
    font-size: 1.7rem;
  }

  .gstrip-item {
    width: 64vw;
  }

  /* peek next image on phones */
  .footer-bottom {
    justify-content: center;
    text-align: center;
  }
}

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

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

  .hero-arrow {
    margin: 0 6px;
    width: 42px;
    height: 42px;
  }

  .btn-lg {
    padding: 12px 22px;
    font-size: 0.96rem;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
    text-align: center;
  }

  .contact-form,
  .contact-info {
    padding: 30px 22px;
  }

  .float-btn {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
  }
}

/* =========================================================
   19. REDUCED MOTION  (accessibility)
========================================================= */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}