/* ============================================================
   KC HOMECARE MOBILE SERVICES — style.css
   Aesthetic: "Pristine" — airy, fresh, premium light theme
   Fonts: Cormorant Garamond (display) + DM Sans (body)
   Palette: Deep Teal · Mint Aqua · Crisp White · Warm Ivory
   ============================================================ */

@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=DM+Sans:wght@300;400;500;600&display=swap");

/* ========== CSS VARIABLES ========== */
:root {
  /* Core palette — fresh, trustworthy, clean */
  --teal:          #078f8b;        /* rich deep teal */
  --teal-dark:     #065a50;        /* pressed / hover depth */
  --teal-light:    #0fb49e;        /* accent glow */
  --mint:          #d4f5ef;        /* soft mint wash */
  --mint-pale:     #edfaf7;        /* near-white mint */
  --aqua:          #43c9b4;        /* bright aqua pop */

  --white:         #ffffff;
  --ivory:         #f8faf9;        /* warm off-white bg */
  --ivory-deep:    #eef3f1;        /* section alt bg */
  --border:        #d6eae6;

  --text-dark:     #0d2b26;        /* near-black with a teal hue */
  --text-body:     #3a5752;        /* readable mid-tone */
  --text-muted:    #6b9490;
  --text-white:    #ffffff;

  --gold:          #e8b84b;        /* warm accent for stars / highlights */

  /* Shadows with teal tint */
  --shadow-xs:  0 1px 3px rgba(10,124,110,0.06);
  --shadow-sm:  0 3px 8px rgba(10,124,110,0.1);
  --shadow-md:  0 8px 24px rgba(10,124,110,0.13);
  --shadow-lg:  0 16px 40px rgba(10,124,110,0.16);
  --shadow-xl:  0 28px 60px rgba(10,124,110,0.20);
  --glow:       0 0 30px rgba(67,201,180,0.35);

  /* Typography */
  --font-display: "Cormorant Garamond", serif;
  --font-body:    "DM Sans", sans-serif;

  /* Radii */
  --radius-sm:  0.6rem;
  --radius-md:  1.2rem;
  --radius-lg:  2rem;
  --radius-xl:  3rem;
  --radius-pill: 10rem;
}

/* ========== GLOBAL RESET ========== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  border: none;
  text-decoration: none;
  list-style: none;
}

html {
  font-size: 62.5%;
  scroll-padding-top: 10rem;
  scroll-behavior: smooth;
}

/* Custom scrollbar — teal accent */
html::-webkit-scrollbar { width: 0.8rem; }
html::-webkit-scrollbar-track { background: var(--ivory); }
html::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--aqua), var(--teal));
  border-radius: var(--radius-pill);
}
html::-webkit-scrollbar-thumb:hover { background: var(--teal-dark); }

body {
  font-family: var(--font-body);
  font-size: 1.6rem;
  color: var(--text-dark);
  line-height: 1.65;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ========== SECTION BASE ========== */
section {
  padding: 9rem 7%;
  position: relative;
}

/* ========== SECTION HEADING ========== */
.heading {
  text-align: center;
  margin-bottom: 6rem;
  position: relative;
}

.heading span {
  font-family: var(--font-display);
  font-size: 4.8rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.01em;
  display: inline-block;
  position: relative;
}

.heading span.space {
  color: var(--teal);
  margin-left: 1.2rem;
}

/* Elegant underline sweep */
.heading span::after {
  content: '';
  position: absolute;
  bottom: -0.8rem;
  left: 0;
  width: 100%;
  height: 0.25rem;
  background: linear-gradient(90deg, var(--aqua) 0%, var(--teal-light) 50%, transparent 100%);
  border-radius: var(--radius-pill);
}

/* Decorative dot above heading */
.heading::before {
  content: '';
  display: block;
  width: 0.8rem;
  height: 0.8rem;
  background: var(--aqua);
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  box-shadow: 0 0 0 4px rgba(67,201,180,0.2);
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 1.4rem 3.6rem;
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Shimmer sweep on hover */
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.22) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: transform 0.55s ease;
  z-index: -1;
}
.btn:hover::before { transform: translateX(100%); }

.btn-primary {
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  color: var(--white);
  box-shadow: 0 4px 18px rgba(10,124,110,0.35);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(10,124,110,0.45);
}

.btn-secondary {
  background: transparent;
  color: var(--teal);
  border: 2px solid var(--teal);
}
.btn-secondary:hover {
  background: var(--teal);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* Ghost / outline variant used in about */
.btn:not(.btn-primary):not(.btn-secondary):not(.btn-quote):not(.nav-quote) {
  background: var(--white);
  color: var(--teal);
  border: 2px solid var(--teal);
}
.btn:not(.btn-primary):not(.btn-secondary):not(.btn-quote):not(.nav-quote):hover {
  background: var(--teal);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* ========== HEADER / NAVBAR ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.8rem 7%;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid rgba(10,124,110,0.08);
  transition: all 0.35s ease;
}

.header.scrolled {
  padding: 1.2rem 7%;
  background: rgba(255,255,255,0.98);
  box-shadow: var(--shadow-sm);
}

/* Thin accent line at the very top of header */
.header::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--aqua), var(--teal-light));
}

.header .logo { flex-shrink: 0; }

.header .logo img {
  height: 5.8rem;
  width: auto;
  display: block;
  transition: transform 0.35s ease, filter 0.35s ease;
  filter: drop-shadow(0 2px 6px rgba(10,124,110,0.15));
}
.header .logo img:hover {
  transform: scale(1.06) rotate(-1deg);
}

.header .navbar { flex: 1; display: flex; justify-content: center; }

.header .navbar ul {
  display: flex;
  align-items: center;
  gap: 3.5rem;
}

.header .navbar a {
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--text-body);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  position: relative;
  padding: 0.6rem 0;
  transition: color 0.3s ease;
}

/* Pill underline indicator */
.header .navbar a::after {
  content: '';
  position: absolute;
  bottom: -0.2rem;
  left: 50%;
  width: 0;
  height: 2.5px;
  background: linear-gradient(90deg, var(--teal), var(--aqua));
  border-radius: var(--radius-pill);
  transition: all 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateX(-50%);
}

.header .navbar a:hover,
.header .navbar a.active { color: var(--teal); }

.header .navbar a:hover::after,
.header .navbar a.active::after { width: 100%; }

#menu {
  font-size: 2.6rem;
  cursor: pointer;
  color: var(--teal);
  display: none;
  transition: transform 0.3s ease;
}
#menu:hover { transform: rotate(90deg) scale(1.1); }

/* ========== HERO CAROUSEL SECTION ========== */
.home {
  min-height: 100vh;
  padding: 0;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero-carousel {
  position: absolute;
  inset: 0;
}

.carousel-track {
  width: 100%;
  height: 100%;
  position: relative;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.6s ease-in-out, transform 6s ease-out;
}

.carousel-slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.65) saturate(1.1);
}

/* Two-tone teal overlay — brand-coherent */
.slide-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg,
      rgba(6, 90, 80, 0.72) 0%,
      rgba(10,124,110,0.45) 45%,
      rgba(13,43,38,0.75) 100%);
  z-index: 1;
}

/* Diagonal shine stripe */
.slide-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(67,201,180,0.06) 50%,
    transparent 70%
  );
  pointer-events: none;
}

.slide-content {
  position: absolute;
  top: 50%;
  left: 8%;
  transform: translateY(-50%);
  z-index: 2;
  max-width: 65rem;
  color: var(--white);
  opacity: 0;
  animation: slideInLeft 1.1s cubic-bezier(0.22, 1, 0.36, 1) forwards 0.5s;
}

.carousel-slide.active .slide-content {
  animation: slideInLeft 1.1s cubic-bezier(0.22, 1, 0.36, 1) forwards 0.5s;
}

/* Tiny label above slide title */
.slide-content::before {
  content: '✨ KC HOMECARE & MOBILE CLEANING SERVICES';
  display: block;
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--aqua);
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.slide-title {
  font-family: var(--font-display);
  font-size: 6.5rem;
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 2rem;
  text-shadow: 0 4px 24px rgba(0,0,0,0.25);
  letter-spacing: -0.02em;
}

.slide-text {
  font-size: 1.9rem;
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 3rem;
  color: rgba(255,255,255,0.88);
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

/* Carousel Controls */
.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  border: 1.5px solid rgba(255,255,255,0.28);
  color: var(--white);
  width: 5.2rem;
  height: 5.2rem;
  border-radius: 50%;
  font-size: 1.8rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-control:hover {
  background: rgba(67,201,180,0.3);
  border-color: var(--aqua);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 0 20px rgba(67,201,180,0.4);
}

.carousel-control.prev { left: 3rem; }
.carousel-control.next { right: 3rem; }

/* Carousel Indicators */
.carousel-indicators {
  position: absolute;
  bottom: 4rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 1.2rem;
  align-items: center;
}

.indicator {
  width: 1rem;
  height: 1rem;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.35);
  border: 1.5px solid rgba(255,255,255,0.55);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.indicator.active {
  background: var(--aqua);
  width: 3.5rem;
  border-color: var(--aqua);
  box-shadow: 0 0 10px rgba(67,201,180,0.5);
}

.indicator:hover { background: rgba(255,255,255,0.65); }

/* Hero CTA */
.hero-cta {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-top: 26rem;
  animation: fadeInUp 1s ease forwards 1.3s;
  opacity: 0;
}

/* ========== KEYFRAMES ========== */
@keyframes slideInLeft {
  from { opacity: 0; transform: translateY(-50%) translateX(-6rem); }
  to   { opacity: 1; transform: translateY(-50%) translateX(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(3.5rem); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(67,201,180,0.4); }
  50%       { transform: scale(1.06); box-shadow: 0 0 0 16px transparent; }
}

@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes floatBubble {
  0%   { transform: translateY(0) scale(1);    opacity: 0.6; }
  100% { transform: translateY(-6rem) scale(0); opacity: 0; }
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ========== ABOUT SECTION ========== */
.about {
  background: var(--ivory);
  overflow: hidden;
}

/* Decorative blob background */
.about::before {
  content: '';
  position: absolute;
  top: -8rem;
  right: -8rem;
  width: 45rem;
  height: 45rem;
  background: radial-gradient(circle, rgba(67,201,180,0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.about .row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6rem;
}

.about .row .image {
  flex: 1 1 45rem;
  position: relative;
}

/* Decorative frame around about image */
.about .row .image::before {
  content: '';
  position: absolute;
  top: -2rem;
  left: -2rem;
  width: calc(100% - 4rem);
  height: calc(100% - 4rem);
  border: 2px solid var(--mint);
  border-radius: var(--radius-lg);
  z-index: 0;
  transition: transform 0.4s ease;
}

.about .row .image:hover::before {
  transform: translate(1rem, 1rem);
}

.about .row .image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  position: relative;
  z-index: 1;
  transition: transform 0.5s ease;
}

.about .row .image:hover img {
  transform: scale(1.02);
}

/* Small sparkle badge on image */
.about .row .image::after {
  content: '✦ Since 2020';
  position: absolute;
  bottom: -1.5rem;
  right: 2rem;
  background: var(--teal);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 0.9rem 2rem;
  border-radius: var(--radius-pill);
  z-index: 2;
  box-shadow: var(--shadow-md);
}

.about .row .content { flex: 1 1 45rem; }

.about .row .content h3 {
  font-family: var(--font-display);
  font-size: 4.2rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: 2.5rem;
  letter-spacing: -0.02em;
}

/* Highlighted first word */
.about .row .content h3 em {
  color: var(--teal);
  font-style: normal;
}

.about .row .content p {
  font-size: 1.7rem;
  color: var(--text-body);
  line-height: 1.9;
  margin-bottom: 1.8rem;
}

.about .row .content .btn { margin-top: 2rem; }

/* ========== SERVICES SECTION ========== */
.services { background: var(--white); }

/* Subtle dot-grid texture */
.services::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(10,124,110,0.06) 1px, transparent 1px);
  background-size: 2.8rem 2.8rem;
  pointer-events: none;
}

.services .row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6rem;
  margin-bottom: 9rem;
  position: relative;
}

.services .row:last-child { margin-bottom: 0; }

.services .row .image { flex: 1 1 45rem; }

.services .row .image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.services .row .image img:hover {
  transform: scale(1.03) rotate(0.5deg);
  box-shadow: var(--shadow-xl);
}

.services .row .content { flex: 1 1 45rem; }

/* Service number label */
.services .row .content::before {
  counter-increment: service-counter;
  content: '0' counter(service-counter);
  display: block;
  font-family: var(--font-display);
  font-size: 7rem;
  font-weight: 700;
  color: var(--mint);
  line-height: 1;
  margin-bottom: -1rem;
  letter-spacing: -0.04em;
}

.services { counter-reset: service-counter; }

.services .row .content h3 {
  font-family: var(--font-display);
  font-size: 3.6rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.services .row .content p {
  font-size: 1.7rem;
  color: var(--text-body);
  line-height: 1.85;
  margin-bottom: 2.2rem;
}

.services .row .content ul { margin-bottom: 3rem; }

.services .row .content ul li {
  padding: 1rem 0;
  font-size: 1.65rem;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  border-bottom: 1px dashed var(--border);
}

.services .row .content ul li:last-child { border-bottom: none; }

.services .row .content ul li i {
  color: var(--aqua);
  font-size: 1.6rem;
  flex-shrink: 0;
  background: var(--mint-pale);
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.services .row.reverse { flex-direction: row-reverse; }

/* Phone CTA row */
.services .row .content .flex-btn {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  background: var(--mint-pale);
  border: 1.5px solid var(--border);
  padding: 1.2rem 2.4rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.3s ease;
}

.services .row .content .flex-btn:hover {
  background: var(--mint);
  border-color: var(--teal-light);
  transform: translateX(0.8rem);
  box-shadow: var(--shadow-sm);
}

.services .row .content .flex-btn .icon-btn {
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  color: var(--white);
  font-size: 1.8rem;
  width: 5rem;
  height: 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  animation: pulse 2.4s ease infinite;
  flex-shrink: 0;
}

.services .row .content .flex-btn span {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--teal);
}

/* ========== CASE STUDIES / GALLERY SECTION ========== */
.case { background: var(--ivory-deep); }

.case .box-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(34rem, 1fr));
  gap: 3rem;
}

.case .box-container .box {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--border);
}

.case .box-container .box:hover {
  transform: translateY(-1.2rem);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.case .box-container .box .image {
  height: 28rem;
  overflow: hidden;
  position: relative;
}

.case .box-container .box .image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.case .box-container .box:hover .image img { transform: scale(1.1); }

/* Share overlay — teal glass */
.case .box-container .box .image .share {
  position: absolute;
  bottom: -12rem;
  left: 0;
  right: 0;
  padding: 2.5rem;
  text-align: center;
  background: rgba(10,124,110,0.9);
  backdrop-filter: blur(12px);
  transition: bottom 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.case .box-container .box:hover .image .share { bottom: 0; }

.case .box-container .box .image .share a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 4.2rem;
  width: 4.2rem;
  font-size: 1.8rem;
  margin: 0 0.5rem;
  color: var(--white);
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
}

.case .box-container .box .image .share a:hover {
  background: var(--white);
  color: var(--teal);
  transform: translateY(-3px);
}

.case .box-container .box .content { padding: 3rem; }

.case .box-container .box .content h3 {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1.8rem;
}

.case .box-container .box .content ul li {
  padding: 0.8rem 0;
  font-size: 1.6rem;
  color: var(--text-body);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.case .box-container .box .content ul li i {
  color: var(--aqua);
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.case .box-container .box .content .icons {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}

.case .box-container .box .content .icons span {
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.case .box-container .box .content .icons span i {
  color: var(--teal);
}

/* ========== PARALLAX STATS SECTION ========== */
.parallax {
  background:
    linear-gradient(160deg, rgba(6,90,80,0.93) 0%, rgba(10,124,110,0.88) 60%, rgba(13,43,38,0.96) 100%),
    url(images/parallax.jpg) no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  padding: 10rem 7%;
  position: relative;
  overflow: hidden;
}

/* Animated shine wave */
.parallax::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 0deg,
    transparent 70%,
    rgba(67,201,180,0.06) 80%,
    transparent 90%
  );
  animation: spin-slow 20s linear infinite;
  pointer-events: none;
}

/* Dotted top & bottom borders */
.parallax::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--aqua), transparent);
}

.parallax .box-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(22rem, 1fr));
  gap: 3rem;
  position: relative;
  z-index: 1;
}

.parallax .box-container .box {
  text-align: center;
  padding: 3.5rem 2.5rem;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  transition: all 0.35s ease;
}

.parallax .box-container .box:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-1.2rem);
  border-color: rgba(67,201,180,0.4);
  box-shadow: 0 0 30px rgba(67,201,180,0.2);
}

.parallax .box-container .box .fas {
  color: var(--aqua);
  background: rgba(67,201,180,0.15);
  font-size: 2.8rem;
  width: 7rem;
  height: 7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: 2rem;
  border: 2px solid rgba(67,201,180,0.3);
  transition: all 0.3s ease;
}

.parallax .box-container .box:hover .fas {
  background: rgba(67,201,180,0.28);
  box-shadow: var(--glow);
}

.parallax .box-container .box h3 {
  font-family: var(--font-display);
  font-size: 5.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.8rem;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #ffffff, var(--aqua));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.parallax .box-container .box h4 {
  font-size: 1.5rem;
  font-weight: 500;
  color: rgba(255,255,255,0.78);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.parallax .box-container .box h5 {
  font-size: 1.35rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  margin-top: 1rem;
  letter-spacing: 0.02em;
}
/* ========== TESTIMONIALS SECTION ========== */
.client { background: var(--white); }

/* Large quote mark background */
.client::after {
  content: '\201C';
  position: absolute;
  top: 4rem;
  right: 6%;
  font-family: var(--font-display);
  font-size: 28rem;
  color: rgba(10,124,110,0.04);
  pointer-events: none;
  line-height: 1;
}

.client .box-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(34rem, 1fr));
  gap: 3rem;
  position: relative;
  z-index: 1;
}

.client .box-container .box {
  background: var(--white);
  text-align: center;
  padding: 4.5rem 3rem 3.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  position: relative;
  margin-top: 6rem;
  border: 1px solid var(--border);
  transition: all 0.4s ease;
}

.client .box-container .box:hover {
  transform: translateY(-1rem);
  box-shadow: var(--shadow-xl);
  border-color: var(--mint);
}

/* Coloured top stripe */
.client .box-container .box::before {
  content: '';
  position: absolute;
  top: 0; left: 2rem; right: 2rem;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--aqua));
  border-radius: 0 0 var(--radius-pill) var(--radius-pill);
}

.client .box-container .box img {
  height: 11rem;
  width: 11rem;
  border: 4px solid var(--white);
  border-radius: 50%;
  margin-top: -8rem;
  object-fit: cover;
  box-shadow: var(--shadow-md);
  transition: transform 0.4s ease;
  outline: 3px solid var(--mint);
}

.client .box-container .box:hover img {
  transform: scale(1.07) rotate(3deg);
  outline-color: var(--aqua);
}

.client .box-container .box h3 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 2rem 0 0.8rem;
}

.client .box-container .box .stars {
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
  gap: 0.4rem;
}

.client .box-container .box .stars i {
  font-size: 1.5rem;
  color: var(--gold);
  filter: drop-shadow(0 1px 3px rgba(232,184,75,0.4));
}

.client .box-container .box p {
  font-size: 1.6rem;
  color: var(--text-body);
  line-height: 1.85;
  font-style: italic;
  position: relative;
}

/* Small quote icon */
.client .box-container .box p::before {
  content: '\201C';
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--mint);
  line-height: 0;
  vertical-align: -1.5rem;
  margin-right: 0.5rem;
}

/* ========== CONTACT SECTION ========== */
.contact { background: var(--ivory-deep); }

.contact::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--teal), var(--aqua), var(--teal-light));
}

.contact .row {
  display: flex;
  flex-wrap: wrap;
  gap: 5rem;
  align-items: center;
}

.contact .row .image { flex: 1 1 45rem; }

.contact .row .image img {
  width: 100%;
  border-radius: var(--radius-lg);
  filter: drop-shadow(0 12px 40px rgba(10,124,110,0.2));
}

.contact .row form {
  flex: 1 1 45rem;
  background: var(--white);
  padding: 4.5rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.contact .row form h3 {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 3rem;
}

.contact .row form h3::after {
  content: '';
  display: block;
  width: 5rem;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--aqua));
  border-radius: var(--radius-pill);
  margin-top: 0.8rem;
}

.contact .row form .box {
  width: 100%;
  padding: 1.4rem 1.8rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1.6rem;
  color: var(--text-dark);
  margin-bottom: 1.8rem;
  transition: all 0.3s ease;
  background: var(--ivory);
  display: block;
}

.contact .row form .box:focus {
  border-color: var(--teal-light);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(67,201,180,0.12);
}

.contact .row form .box::placeholder { color: var(--text-muted); }

.contact .row form textarea.box {
  height: 14rem;
  resize: vertical;
}

.contact .row form .btn {
  width: 100%;
  margin-top: 0.5rem;
}

/* ========== FOOTER SECTION ========== */
.footer {
  background: var(--text-dark);
  color: rgba(255,255,255,0.78);
  position: relative;
  overflow: hidden;
}

/* Decorative teal glow top-left */
.footer::before {
  content: '';
  position: absolute;
  top: -6rem;
  left: -6rem;
  width: 35rem;
  height: 35rem;
  background: radial-gradient(circle, rgba(67,201,180,0.1) 0%, transparent 65%);
  pointer-events: none;
}

.footer .box-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
  gap: 4rem;
  margin-bottom: 4.5rem;
  position: relative;
  z-index: 1;
}

.footer .box-container .box h3 {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 1.2rem;
}

.footer .box-container .box h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 3.5rem;
  height: 2.5px;
  background: linear-gradient(90deg, var(--aqua), transparent);
  border-radius: var(--radius-pill);
}

.footer .box-container .box p {
  font-size: 1.5rem;
  line-height: 1.85;
  color: rgba(255,255,255,0.65);
  margin-bottom: 1.2rem;
}

.footer .box-container .box p i {
  color: var(--aqua);
  margin-right: 1rem;
  width: 1.8rem;
}

/* Social icons */
.footer .box-container .box .share {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.2rem;
}

.footer .box-container .box .share a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 4.2rem;
  width: 4.2rem;
  border-radius: var(--radius-sm);
  font-size: 1.7rem;
  border: 1.5px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.72);
  transition: all 0.3s ease;
}

.footer .box-container .box .share a:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(10,124,110,0.45);
}

/* Specific brand colours on hover */
.footer .box-container .box .share a[aria-label="Facebook"]:hover    { background: #1877f2; border-color: #1877f2; }
.footer .box-container .box .share a[aria-label="Twitter/X"]:hover   { background: #000000; border-color: #555; }
.footer .box-container .box .share a[aria-label="Instagram"]:hover   { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); border-color: transparent; }
.footer .box-container .box .share a[aria-label="LinkedIn"]:hover    { background: #0a66c2; border-color: #0a66c2; }
.footer .box-container .box .share a[aria-label="WhatsApp"]:hover    { background: #25D366; border-color: #25D366; }
.footer .box-container .box .share a[aria-label="TikTok"]:hover      { background: #010101; border-color: #333; }

.footer .box-container .box .links {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.55rem;
  color: rgba(255,255,255,0.65);
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: all 0.3s ease;
}

.footer .box-container .box .links::before {
  content: '';
  width: 0.6rem;
  height: 0.6rem;
  background: var(--teal-light);
  border-radius: 50%;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.footer .box-container .box .links:hover {
  color: var(--aqua);
  padding-left: 0.8rem;
}

.footer .box-container .box .links:hover::before {
  background: var(--aqua);
  box-shadow: 0 0 6px var(--aqua);
}

.footer .box-container .box input.box {
  background: rgba(255,255,255,0.07);
  border: 1.5px solid rgba(255,255,255,0.15);
  color: var(--white);
  margin-bottom: 1.5rem;
  padding: 1.3rem 1.6rem;
  border-radius: var(--radius-sm);
  font-size: 1.5rem;
  font-family: var(--font-body);
  width: 100%;
  transition: all 0.3s ease;
  display: block;
}

.footer .box-container .box input.box::placeholder { color: rgba(255,255,255,0.4); }

.footer .box-container .box input.box:focus {
  background: rgba(255,255,255,0.12);
  border-color: var(--aqua);
  outline: none;
  box-shadow: 0 0 0 3px rgba(67,201,180,0.15);
}

.footer .credit {
  padding-top: 3rem;
  text-align: center;
  font-size: 1.5rem;
  color: rgba(255,255,255,0.45);
  border-top: 1px solid rgba(255,255,255,0.08);
  position: relative;
  z-index: 1;
}

.footer .credit span {
  color: var(--aqua);
  font-weight: 600;
}

/* ========== RESPONSIVE DESIGN ========== */

/* ---- TABLET (max 991px) ---- */
@media (max-width: 991px) {
  html { font-size: 55%; }

  section { padding: 6rem 5%; }

  .header { padding: 2rem 5%; }
  .header.scrolled { padding: 1.2rem 5%; }

  .slide-title { font-size: 5rem; }
  .heading span { font-size: 3.8rem; }

  /* About — hide decorative frame, shrink badge */
  .about .row .image::before { display: none; }
  .about .row .image::after  { font-size: 1.2rem; }

  /* About — stack vertically */
  .about .row { flex-direction: column; gap: 3rem; }
  .about .row .image,
  .about .row .content { flex: 1 1 100%; width: 100%; }

  /* Services — always stack, never reverse */
  .services .row { flex-direction: column !important; gap: 3rem; margin-bottom: 6rem; }
  .services .row .image,
  .services .row .content { flex: 1 1 100%; width: 100%; }

  /* Parallax — 2 columns */
  .parallax .box-container { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }

  /* Contact — stack */
  .contact .row { flex-direction: column; gap: 3rem; }
  .contact .row .image,
  .contact .row form { flex: 1 1 100%; width: 100%; }

  /* Footer — 2 columns */
  .footer .box-container { grid-template-columns: repeat(2, 1fr); gap: 3rem; }
}

/* ---- MOBILE (max 768px) ---- */
@media (max-width: 768px) {
  html { font-size: 52%; }

  section { padding: 5rem 4%; }

  #menu { display: block; }

  .header { padding: 1.8rem 4%; }

  /* Navbar dropdown */
  .header .navbar {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: -110%;
    width: 32rem;
    max-width: 90vw;
    background: #ffffff;
    border-radius: 1.2rem;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    border: 1px solid #d6eae6;
    transition: right 0.42s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9999;
  }
  .header .navbar.active { right: 2rem; }
  .header .navbar ul { flex-direction: column; gap: 0; padding: 1.5rem; }
  .header .navbar ul li { width: 100%; }
  .header .navbar a {
    display: block;
    padding: 1.4rem 1.8rem;
    border-radius: var(--radius-sm);
    font-size: 1.5rem;
    border-bottom: 1px solid var(--border);
  }
  .header .navbar ul li:last-child a { border-bottom: none; }
  .header .navbar a:hover,
  .header .navbar a.active { background: var(--mint-pale); color: var(--teal); }
  .header .navbar a::after { display: none; }

  /* Hero */
  .slide-content { left: 4%; max-width: 92%; }
  .slide-title   { font-size: 3.4rem; line-height: 1.15; }
  .slide-text    { font-size: 1.65rem; margin-bottom: 2rem; }
  .hero-cta      { flex-direction: column; width: 88%; margin-top: 20rem; gap: 1.5rem; }
  .hero-cta .btn { width: 100%; text-align: center; }

  .carousel-control       { width: 4.2rem; height: 4.2rem; font-size: 1.5rem; }
  .carousel-control.prev  { left: 1.5rem; }
  .carousel-control.next  { right: 1.5rem; }

  /* Headings */
  .heading span       { font-size: 3.2rem; }
  .heading span.space { display: block; margin-left: 0; margin-top: 0.4rem; }

  /* About */
  .about .row .content h3 { font-size: 3rem; }
  .about .row .content p  { font-size: 1.6rem; }

  /* Services */
  .services .row .content h3     { font-size: 2.8rem; }
  .services .row .content::before { font-size: 5rem; }
  .services .row .content .flex-btn { width: 100%; justify-content: center; }

  /* Case studies */
  .case .box-container { grid-template-columns: 1fr; }
  .case .box-container .box .image { height: 22rem; }

  /* Parallax */
  .parallax { background-attachment: scroll; padding: 6rem 4%; }
  .parallax .box-container { grid-template-columns: repeat(2, 1fr); gap: 1.8rem; }
  .parallax .box-container .box { padding: 2.5rem 1.5rem; }
  .parallax .box-container .box h3 { font-size: 4.2rem; }
  .parallax .box-container .box h4 { font-size: 1.3rem; }

  /* Testimonials */
  .client .box-container { grid-template-columns: 1fr; }
  .client .box-container .box { margin-top: 5rem; }

  /* Contact */
  .contact .row { flex-direction: column; gap: 2.5rem; }
  .contact .row form { padding: 3rem 2.5rem; }
  .contact .row form h3 { font-size: 2.6rem; }

  /* Footer */
  .footer .box-container { grid-template-columns: 1fr; gap: 3rem; }
  .footer .credit { font-size: 1.4rem; }
}

/* ---- SMALL PHONES (max 450px) ---- */
@media (max-width: 450px) {
  html { font-size: 50%; }

  section { padding: 4.5rem 4%; }

  .header .logo img { height: 5rem; }

  /* Hero */
  .slide-content::before { display: none; }
  .slide-title  { font-size: 2.8rem; }
  .slide-text   { font-size: 1.5rem; }
  .hero-cta     { margin-top: 18rem; width: 92%; }

  /* Headings */
  .heading span       { font-size: 2.8rem; }
  .heading span.space { font-size: 2.8rem; }

  /* Services */
  .services .row .content h3 { font-size: 2.4rem; }

  /* Parallax */
  .parallax .box-container .box h3 { font-size: 3.8rem; }

  /* Carousel */
  .carousel-control  { width: 3.5rem; height: 3.5rem; font-size: 1.4rem; }
  .carousel-indicators { bottom: 2rem; }

  /* Contact */
  .contact .row form { padding: 2.5rem 2rem; }
  .contact .row form h3 { font-size: 2.2rem; }

  /* Footer */
  .footer .box-container .box h3 { font-size: 2rem; }
  .footer .box-container .box p  { font-size: 1.4rem; }
}

a.flex-btn {
  text-decoration: none;
  display: inline-flex;
}

/* ========== AOS ANIMATION OVERRIDES ========== */
[data-aos]                       { pointer-events: auto; }
[data-aos="fade-up"]             { transform: translate3d(0, 45px, 0); }
[data-aos="fade-right"]          { transform: translate3d(-45px, 0, 0); }
[data-aos="fade-left"]           { transform: translate3d(45px, 0, 0); }
[data-aos="zoom-in"]             { transform: scale(0.88); }
[data-aos="flip-up"]             { transform: perspective(2500px) rotateX(-18deg); }

/* ========== UTILITY — selection colour ========== */
::selection {
  background: var(--mint);
  color: var(--teal-dark);
}