@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;1,600&display=swap');

:root {
  --primary-green: #009A2F;
  /* Rich Emerald Green (was too light #00C83C) */
  --secondary-yellow: #F8F800;
  --primary-dark-green: #005018;
  /* Deep Forest Green */
  --accent-dark-green: #042008;
  /* Dark Pine Green (very premium) */
  --background: #F8FFF9;
  --light-background: #F0FAF2;
  --card-background: #FFFFFF;
  --main-text: #111111;
  --secondary-text: #555555;
  --border: #E0EAE2;

  --transition-bezier: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Global Reset & Spacing */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--background);
  color: var(--main-text);
  line-height: 1.6;
  overflow-x: hidden;
}

section {
  padding: 6rem 0;
  /* py-24 breathing space */
}

/* Custom Selection Colors */
::selection {
  background-color: var(--primary-green);
  color: var(--accent-dark-green);
}

/* Heading Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--accent-dark-green);
}

.accent-serif {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 600;
  color: var(--primary-green);
}

/* Floating Glass Navbar (White Theme) */
.navbar-floating {
  position: fixed;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1200px;
  background: rgba(255, 255, 255, 0.9);
  /* Translucent White */
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(10, 61, 10, 0.08);
  border-radius: 50px;
  padding: 0.5rem 1.5rem;
  z-index: 1000;
  box-shadow: 0 10px 30px rgba(10, 61, 10, 0.04);
  transition: var(--transition-bezier);
}

.navbar-brand {
  background: #0A3D0A;
  padding: 0.3rem 0.65rem;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  transition: var(--transition-bezier);
}

.navbar-brand:hover {
  background: #000000;
}

.navbar-brand img {
  height: 66px;
  width: auto;
  mix-blend-mode: screen;
}

.navbar-floating .nav-link {
  color: var(--accent-dark-green) !important;
  /* Dark green text readability on white */
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 1rem !important;
  border-radius: 20px;
  transition: var(--transition-bezier);
}

.navbar-floating .nav-link:hover,
.navbar-floating .nav-link.active {
  color: var(--primary-dark-green) !important;
  background: rgba(10, 61, 10, 0.05);
}

/* Dropdown Menu Glass Styling */
.navbar-floating .dropdown-menu {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(10, 61, 10, 0.08);
  border-radius: 16px;
  padding: 0.75rem;
  margin-top: 1rem;
  box-shadow: 0 15px 35px rgba(10, 61, 10, 0.08);
}

.navbar-floating .dropdown-item {
  color: var(--accent-dark-green) !important;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: var(--transition-bezier);
}

.navbar-floating .dropdown-item:hover {
  background: var(--light-background);
  color: var(--primary-dark-green) !important;
  transform: translateX(4px);
}

/* Premium Buttons (Island CTA) */
.btn-premium-primary,
.btn-premium-secondary,
.btn-premium-outline,
.btn-nav-cta {
  text-decoration: none !important;
}

.btn-premium-primary {
  background: linear-gradient(135deg, var(--primary-green) 0%, #00C83C 100%);
  color: #FFFFFF !important;
  /* Clear high-contrast text on rich green background */
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.8rem 1.85rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px rgba(0, 154, 47, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: var(--transition-bezier);
}

.btn-premium-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark-green) 0%, var(--primary-green) 100%);
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 107, 0, 0.35);
}

.btn-premium-primary:active {
  transform: scale(0.97);
}

/* Navbar Specific CTA Button */
.btn-nav-cta {
  background-color: var(--accent-dark-green);
  color: #FFFFFF !important;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.6rem 1.4rem;
  border-radius: 50px;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 12px rgba(10, 61, 10, 0.15);
  transition: var(--transition-bezier);
}

.btn-nav-cta:hover {
  background-color: #000000;
  color: var(--primary-green) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.btn-nav-cta:active {
  transform: scale(0.97);
}

.btn-nav-cta .btn-icon-circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-bezier);
}

.btn-nav-cta:hover .btn-icon-circle {
  background: rgba(0, 248, 0, 0.2);
  color: var(--primary-green);
  transform: translate(2px, -2px);
}

.btn-premium-secondary {
  background: linear-gradient(135deg, #FFF9B3 0%, var(--secondary-yellow) 100%);
  color: var(--accent-dark-green) !important;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.8rem 1.85rem;
  border-radius: 50px;
  border: 1px solid rgba(10, 61, 10, 0.08);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px rgba(248, 248, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: var(--transition-bezier);
}

.btn-premium-secondary:hover {
  background: linear-gradient(135deg, var(--accent-dark-green) 0%, #031806 100%);
  color: var(--secondary-yellow) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(10, 61, 10, 0.3);
}

.btn-premium-secondary:active {
  transform: scale(0.97);
}

.btn-premium-outline {
  background-color: transparent;
  color: var(--primary-green) !important;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  border: 1px solid var(--primary-green);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-bezier);
}

.btn-premium-outline:hover {
  background-color: rgba(0, 154, 47, 0.08);
  transform: translateY(-2px);
}

.btn-premium-outline:active {
  transform: scale(0.97);
}

/* Trailing Icon Wrapper inside CTAs */
.btn-icon-circle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-bezier);
}

.btn-premium-primary:hover .btn-icon-circle {
  background: rgba(255, 255, 255, 0.2);
  transform: translate(2px, -2px);
}

.btn-premium-secondary:hover .btn-icon-circle {
  background: rgba(255, 255, 255, 0.2);
  transform: translate(2px, -2px);
}

/* Double-Bezel Card Architecture (Outer Enclosure + Inner Container) */
.double-bezel-card {
  background: var(--light-background);
  border: 1px solid var(--border);
  padding: 8px;
  border-radius: 28px;
  transition: var(--transition-bezier);
  height: 100%;
}

.double-bezel-card .inner-core {
  background: var(--card-background);
  padding: 2.25rem 2rem;
  border-radius: 20px;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.8), 0 4px 15px rgba(0, 0, 0, 0.02);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.double-bezel-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(10, 61, 10, 0.05);
}

/* Bento Grid Styling & Icon Enclosures */
.bento-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: rgba(0, 154, 47, 0.05);
  border: 1px solid rgba(0, 154, 47, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-green);
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  transition: var(--transition-bezier);
  box-shadow: 0 4px 10px rgba(0, 154, 47, 0.02);
}

.double-bezel-card:hover .bento-icon-wrapper {
  background: var(--primary-green);
  color: #FFFFFF;
  border-color: var(--primary-green);
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 154, 47, 0.2);
}

/* Why Choose D2 Section Layout Enhancements */
#why-choose-d2 {
  position: relative;
  background-color: var(--light-background) !important;
  overflow: hidden;
}

#why-choose-d2::before {
  content: '';
  position: absolute;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 154, 47, 0.03) 0%, transparent 70%);
  top: -5%;
  right: -5%;
  pointer-events: none;
  z-index: 1;
  filter: blur(50px);
}

/* Service Card Image Display Container */
.service-card-image {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background-color: var(--light-background);
  position: relative;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-bezier);
}

.double-bezel-card:hover .service-card-image img {
  transform: scale(1.05);
}

/* absolute category tags on service image container */
.service-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(4, 32, 8, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--secondary-yellow);
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: var(--transition-bezier);
}

.double-bezel-card:hover .service-badge {
  background: var(--primary-green);
  color: #FFFFFF;
  border-color: var(--primary-green);
  box-shadow: 0 4px 12px rgba(0, 154, 47, 0.25);
}

/* bottom-right carets button inside cards */
.service-arrow-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(0, 154, 47, 0.05);
  border: 1px solid rgba(0, 154, 47, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-green);
  transition: var(--transition-bezier);
  flex-shrink: 0;
  margin-left: 1rem;
  box-shadow: 0 2px 5px rgba(0, 154, 47, 0.02);
}

.double-bezel-card:hover .service-arrow-btn {
  background: var(--primary-green);
  color: #FFFFFF;
  border-color: var(--primary-green);
  transform: translate(2px, -2px) scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 154, 47, 0.3);
}

.service-arrow-btn i {
  font-size: 0.95rem;
  transition: var(--transition-bezier);
}

/* Hero Section Styles */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 80% 20%, #06300c 0%, #031706 100%);
  padding-top: 9rem;
  padding-bottom: 9rem;
  overflow: hidden;
}

/* Subtle architectural coordinate grid overlay */
.hero-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(0, 200, 60, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 200, 60, 0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  background-position: center;
  pointer-events: none;
  z-index: 1;
}

/* Glowing accent ambient orbs (Drifting Animation) */
.hero-glow-orb {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 200, 60, 0.12) 0%, transparent 70%);
  top: 15%;
  right: 10%;
  pointer-events: none;
  z-index: 1;
  filter: blur(80px);
  animation: drift-glow 12s infinite ease-in-out;
  transition: var(--transition-bezier);
}

@keyframes drift-glow {
  0% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(6%, 5%) scale(1.15);
    filter: blur(90px);
  }

  100% {
    transform: translate(0, 0) scale(1);
  }
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-tag {
  background: rgba(0, 200, 60, 0.08);
  border: 1px solid rgba(0, 200, 60, 0.2);
  color: var(--primary-green);
  padding: 0.45rem 1.1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: inline-block;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.hero-title {
  font-size: clamp(2.5rem, 4.2vw, 3.8rem);
  line-height: 1.1;
  color: #FFFFFF;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.hero-title span.accent-serif {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 600;
  background: linear-gradient(135deg, #FFF694 0%, var(--secondary-yellow) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

.hero-title span.accent-gradient {
  background: linear-gradient(135deg, #00C83C 0%, var(--secondary-yellow) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1rem, 1.6vw, 1.1rem);
  line-height: 1.65;
  max-width: 60ch;
  margin-bottom: 2.5rem;
}

/* Premium Double Bezel Showcase Card for Hero */
.hero-showcase-outer {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 12px;
  border-radius: 36px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: var(--transition-bezier);
}

.hero-showcase-inner {
  position: relative;
  background: #042008;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.15);
  aspect-ratio: 3/2;
}

.hero-showcase-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-bezier);
}

.hero-showcase-outer:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 40px 80px rgba(0, 200, 60, 0.15), 0 30px 60px rgba(0, 0, 0, 0.5);
  border-color: rgba(0, 200, 60, 0.25);
}

.hero-showcase-outer:hover .hero-showcase-inner img {
  transform: scale(1.04);
}

/* Custom Carousel Styles inside Showcase */
.hero-showcase-inner .carousel {
  height: 100%;
  width: 100%;
}

.hero-showcase-inner .carousel-indicators {
  bottom: 1.25rem;
  margin-bottom: 0;
  gap: 0.5rem;
  z-index: 5;
}

.hero-showcase-inner .carousel-indicators button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background-color: rgba(255, 255, 255, 0.4);
  padding: 0;
  transition: var(--transition-bezier);
}

.hero-showcase-inner .carousel-indicators button.active {
  width: 20px;
  border-radius: 4px;
  background-color: var(--primary-green);
}

.hero-showcase-inner .carousel-control-prev,
.hero-showcase-inner .carousel-control-next {
  width: 44px;
  height: 44px;
  background: rgba(4, 32, 8, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  transition: var(--transition-bezier);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

.hero-showcase-inner .carousel-control-prev {
  left: 1rem;
}

.hero-showcase-inner .carousel-control-next {
  right: 1rem;
}

.hero-showcase-outer:hover .carousel-control-prev,
.hero-showcase-outer:hover .carousel-control-next {
  opacity: 1;
}

.hero-showcase-inner .carousel-control-prev:hover,
.hero-showcase-inner .carousel-control-next:hover {
  background: var(--primary-green);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 4px 15px rgba(0, 154, 47, 0.3);
  border-color: rgba(255, 255, 255, 0.2);
}

.hero-showcase-inner .carousel-control-prev i,
.hero-showcase-inner .carousel-control-next i {
  color: #FFFFFF;
  font-size: 1.25rem;
  transition: var(--transition-bezier);
}

/* Trust Highlights Grid - Double Bezel Nested Layout */
.trust-bar-outer {
  background: rgba(255, 255, 255, 0.5);
  /* Glass translucent background */
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 154, 47, 0.08);
  padding: 10px;
  border-radius: 36px;
  margin-top: -5rem;
  /* Bridging position */
  position: relative;
  z-index: 10;
  box-shadow: 0 25px 50px rgba(4, 32, 8, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transition: var(--transition-bezier);
}

.trust-bar-inner {
  background: #FFFFFF;
  padding: 2.25rem 2rem;
  border-radius: 26px;
  border: 1px solid rgba(10, 61, 10, 0.04);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.8), 0 4px 15px rgba(0, 0, 0, 0.01);
}

.trust-stat-col {
  display: flex;
  justify-content: center;
  align-items: center;
}

.trust-stat-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  transition: var(--transition-bezier);
  width: 100%;
  max-width: 280px;
}

.trust-stat-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: rgba(0, 154, 47, 0.06);
  border: 1px solid rgba(0, 154, 47, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-green);
  font-size: 1.6rem;
  transition: var(--transition-bezier);
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 154, 47, 0.03);
}

.trust-stat-card:hover .trust-stat-icon-wrapper {
  background: var(--primary-green);
  color: #FFFFFF;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 154, 47, 0.2);
}

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

.trust-stat-number {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--accent-dark-green);
  line-height: 1.1;
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: -0.02em;
}

.trust-stat-label {
  color: var(--accent-dark-green);
  font-size: 0.95rem;
  font-weight: 600;
  margin-top: 0.25rem;
  line-height: 1.2;
}

.trust-stat-sublabel {
  color: var(--secondary-text);
  font-size: 0.75rem;
  font-weight: 500;
  margin-top: 0.15rem;
  letter-spacing: 0.05em;
}

/* Hairline dividers only above mobile viewport */
@media (min-width: 768px) {
  .border-md-x {
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
  }
}

/* About Section Styling */
#about {
  position: relative;
  overflow: hidden;
  background-color: var(--background);
}

#about::before {
  content: '';
  position: absolute;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 154, 47, 0.035) 0%, transparent 70%);
  bottom: -15%;
  left: -8%;
  pointer-events: none;
  z-index: 1;
  filter: blur(60px);
}

#about .container {
  position: relative;
  z-index: 2;
}

/* About Section Visual Card - Double Bezel Frame */
.about-image-outer {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(0, 154, 47, 0.08);
  padding: 12px;
  border-radius: 36px;
  box-shadow: 0 20px 40px rgba(4, 32, 8, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: var(--transition-bezier);
}

.about-image-inner {
  position: relative;
  border-radius: 26px;
  border: 1px solid rgba(10, 61, 10, 0.06);
  overflow: hidden;
  aspect-ratio: 4/3;
  background-color: var(--light-background);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4);
}

.about-image-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-bezier);
}

.about-image-outer:hover {
  transform: translateY(-6px) rotate(-0.5deg);
  box-shadow: 0 30px 60px rgba(0, 154, 47, 0.08), 0 15px 30px rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 154, 47, 0.2);
}

.about-image-outer:hover .about-image-inner img {
  transform: scale(1.03);
}

.founder-tag {
  background: rgba(4, 32, 8, 0.04);
  border: 1px solid rgba(4, 32, 8, 0.08);
  color: var(--accent-dark-green);
  padding: 0.45rem 1.1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: inline-block;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.01);
}

/* Reusable Section Subtitle Eyebrow Badges */
.section-tag {
  background: rgba(0, 154, 47, 0.05);
  border: 1px solid rgba(0, 154, 47, 0.12);
  color: var(--primary-green);
  padding: 0.45rem 1.1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 1.25rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.01);
}

.section-tag-light {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--secondary-yellow);
  box-shadow: none;
}

/* Stay Connected — Horizontal Step Flow (no cards) */
/* Stay Connected — Premium Dark Panel Step Flow */
#keep-connected {
  background: linear-gradient(135deg, var(--accent-dark-green) 0%, #031506 100%);
  position: relative;
  overflow: hidden;
}

/* Ambient glow orbs */
#keep-connected::before {
  content: '';
  position: absolute;
  top: -15%;
  left: -8%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 200, 60, 0.06) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(80px);
}

#keep-connected::after {
  content: '';
  position: absolute;
  bottom: -15%;
  right: -8%;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 154, 47, 0.08) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(80px);
}

/* Section tag override for dark background */
#keep-connected .section-tag {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--secondary-yellow);
}

/* Section heading overrides for dark bg */
#keep-connected h2 {
  color: #FFFFFF;
}

#keep-connected h2 .accent-serif {
  background: linear-gradient(135deg, #FFF9B3 0%, var(--secondary-yellow) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

#keep-connected .text-muted {
  color: rgba(255, 255, 255, 0.55) !important;
}

/* Step flow outer wrapper — glassy card */
.step-flow-panel {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 32px;
  padding: 3rem 2.5rem;
  position: relative;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 30px 60px rgba(0, 0, 0, 0.3);
}

/* Horizontal connecting line with flowing gradient animation */
.step-flow-row {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.step-flow-row::before {
  content: '';
  position: absolute;
  top: 38px;
  left: calc(12.5% + 38px);
  right: calc(12.5% + 38px);
  height: 2px;
  background: linear-gradient(90deg, rgba(0, 200, 60, 0.15) 0%, var(--primary-green) 50%, rgba(0, 200, 60, 0.15) 100%);
  background-size: 200% 100%;
  animation: flowLine 3s linear infinite;
  z-index: 0;
}

@keyframes flowLine {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

/* Each individual step column */
.step-flow-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 1.25rem;
  position: relative;
  z-index: 1;
  cursor: default;
}

/* Outer ring glow layer */
.step-flow-beacon-ring {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: 1px solid rgba(0, 200, 60, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
  transition: var(--transition-bezier);
}

.step-flow-item:hover .step-flow-beacon-ring {
  border-color: rgba(0, 200, 60, 0.55);
  box-shadow: 0 0 24px rgba(0, 200, 60, 0.15);
}

/* Inner beacon circle */
.step-flow-beacon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(0, 200, 60, 0.35);
  color: var(--primary-green);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  transition: var(--transition-bezier);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.step-flow-item:hover .step-flow-beacon {
  background: var(--primary-green);
  border-color: var(--primary-green);
  box-shadow: 0 8px 30px rgba(0, 154, 47, 0.4), 0 0 0 6px rgba(0, 154, 47, 0.1);
  transform: scale(1.06) translateY(-2px);
}

/* Step icon — always visible and clean */
.step-flow-beacon i {
  font-size: 1.45rem;
  color: var(--primary-green);
  transition: var(--transition-bezier);
  display: block;
}

.step-flow-item:hover .step-flow-beacon i {
  color: #FFFFFF;
}

/* Step content container */
.step-flow-text {
  margin-top: 1rem;
  transition: var(--transition-bezier);
}

/* Step label eyebrow */
.step-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--secondary-yellow);
  margin-bottom: 0.45rem;
  display: block;
  transition: var(--transition-bezier);
}

.step-flow-item:hover .step-label {
  color: #FFFFFF;
  transform: translateY(-1px);
}

/* Step title & description */
.step-flow-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.step-flow-desc {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.7;
  margin: 0;
}

/* Glowing divider dots between steps on the line */
.step-flow-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 38px;
  right: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary-green);
  box-shadow: 0 0 8px var(--primary-green);
  opacity: 0.8;
  z-index: 3;
  transform: translate(50%, -50%);
}

/* Responsive: collapse to vertical on mobile */
@media (max-width: 767px) {
  .step-flow-panel {
    padding: 2rem 1.25rem;
    border-radius: 24px;
  }

  .step-flow-row {
    flex-direction: column;
    align-items: stretch;
    gap: 2.25rem;
  }

  .step-flow-row::before {
    display: none;
  }

  .step-flow-item {
    flex-direction: row;
    text-align: left;
    align-items: center;
    gap: 1.25rem;
    padding: 0;
  }

  .step-flow-beacon-ring {
    margin-bottom: 0;
    flex-shrink: 0;
    width: 64px;
    height: 64px;
  }

  .step-flow-text {
    margin-top: 0;
  }

  .step-flow-item:not(:last-child)::after {
    display: none;
  }
}

/* Numbered Process Grid */
.numbered-grid-card {
  position: relative;
  transition: var(--transition-bezier);
}

.numbered-grid-card .step-number-badge {
  font-size: 2.2rem;
  font-weight: 800;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: transparent;
  -webkit-text-stroke: 1px rgba(0, 154, 47, 0.22);
  line-height: 1;
  pointer-events: none;
  transition: var(--transition-bezier);
}

.double-bezel-card:hover .step-number-badge {
  color: rgba(0, 154, 47, 0.06);
  -webkit-text-stroke: 1px rgba(0, 154, 47, 0.45);
  transform: scale(1.06);
}

/* Custom step icon badges */
.step-icon-badge {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0, 154, 47, 0.04);
  border: 1px solid rgba(0, 154, 47, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-green);
  font-size: 1.15rem;
  transition: var(--transition-bezier);
  flex-shrink: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.double-bezel-card:hover .step-icon-badge {
  background: var(--primary-green);
  color: #FFFFFF;
  border-color: var(--primary-green);
  transform: scale(1.08) rotate(6deg);
  box-shadow: 0 6px 15px rgba(0, 154, 47, 0.25);
}

/* Project Cards, Filters & Header Controls */
.portfolio-section-header {
  border-bottom: 1px solid var(--border);
  padding-bottom: 2rem;
  margin-bottom: 2.5rem !important;
}

.portfolio-filters {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0;
}

.portfolio-header-controls {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* Prev / Next nav arrow buttons */
.portfolio-nav-arrows {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.portfolio-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--card-background);
  color: var(--accent-dark-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition-bezier);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.portfolio-nav-btn:hover {
  background: var(--accent-dark-green);
  color: #fff;
  border-color: var(--accent-dark-green);
  box-shadow: 0 6px 18px rgba(10, 61, 10, 0.18);
  transform: scale(1.08);
}

.portfolio-nav-btn:active {
  transform: scale(0.97);
}

.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

@media (min-width: 992px) {
  .portfolio-filters {
    justify-content: flex-end;
  }
}

.filter-pill {
  border: 1px solid var(--border);
  background: var(--card-background);
  color: var(--accent-dark-green);
  font-size: 0.82rem;
  font-weight: 600;
  font-family: 'Plus Jakarta Sans', sans-serif;
  padding: 0.45rem 1.1rem;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition-bezier);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.filter-pill:hover,
.filter-pill.active {
  background: var(--accent-dark-green);
  color: #FFFFFF;
  border-color: var(--accent-dark-green);
  box-shadow: 0 6px 15px rgba(10, 61, 10, 0.15);
}

.project-card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  height: 340px;
  /* fixed height — images fill this fully */
  min-height: 320px;
  transition: var(--transition-bezier);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  cursor: pointer;
}

/* Overlay — only covers bottom 40% so the image stays fully visible */
.project-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(3, 21, 6, 0.88) 0%,
      rgba(3, 21, 6, 0.55) 30%,
      rgba(3, 21, 6, 0.08) 55%,
      transparent 70%);
  z-index: 2;
  transition: var(--transition-bezier);
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 154, 47, 0.25);
  box-shadow: 0 30px 60px rgba(10, 61, 10, 0.18), 0 0 0 1px rgba(0, 154, 47, 0.08);
}

.project-card:hover::before {
  background: linear-gradient(to top,
      rgba(3, 21, 6, 0.95) 0%,
      rgba(3, 21, 6, 0.65) 35%,
      rgba(3, 21, 6, 0.12) 60%,
      transparent 75%);
}

.project-img-wrapper {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.project-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 0.6s cubic-bezier(0.32, 0.72, 0, 1),
    filter 0.5s ease;
  /* Sharpen and boost image clarity */
  filter: contrast(1.06) brightness(1.04) saturate(1.08);
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

.project-card:hover .project-img-wrapper img {
  transform: scale(1.06);
  filter: contrast(1.1) brightness(1.06) saturate(1.12);
}

/* Category Badge position inside full-image card */
.project-badge {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  background: rgba(3, 21, 6, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--secondary-yellow);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.4rem 0.95rem;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 5;
  pointer-events: none;
  letter-spacing: 0.02em;
}

/* Project text content overlay directly at the bottom of the card image */
.project-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2.25rem 2rem 2rem 2rem;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
}

.project-text-group {
  flex: 1;
}

.project-content h3 {
  color: #FFFFFF;
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: -0.01em;
}

.project-content p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  line-height: 1.5;
}

/* Action arrow circle in the bottom right of the overlay */
.project-action-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--primary-green);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: var(--transition-bezier);
  box-shadow: 0 6px 15px rgba(0, 154, 47, 0.3);
  flex-shrink: 0;
  transform: translateY(4px);
  opacity: 0.9;
}

.project-card:hover .project-action-btn {
  background: #00C83C;
  transform: scale(1.08) rotate(5deg) translateY(0);
  box-shadow: 0 8px 20px rgba(0, 200, 60, 0.45);
  opacity: 1;
}

/* Lightbox Modal Stylings */
.lightbox-modal .modal-content {
  background: rgba(3, 21, 6, 0.8);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.lightbox-modal .modal-body {
  padding: 1.5rem;
  position: relative;
}

.lightbox-img-container {
  border-radius: 18px;
  overflow: hidden;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img-container img {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.lightbox-modal .modal-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding: 1.25rem 2rem;
}

.lightbox-modal .modal-title {
  color: #FFFFFF;
  font-weight: 700;
  font-size: 1.2rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.lightbox-modal .btn-close {
  background: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  opacity: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition-bezier);
}

.lightbox-modal .btn-close::before {
  content: '✕';
  font-family: Arial, sans-serif;
}

.lightbox-modal .btn-close:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

/* Testimonials — Light Scroll Carousel */
.testimonials-light {
  background: var(--bg-light);
}

/* ── Scroll track ── */
.testimonial-track-wrapper {
  overflow: hidden;
  /* hide scrollbar entirely */
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.testimonial-track-wrapper:active {
  cursor: grabbing;
}

.testimonial-track {
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
  transition: transform 0.6s cubic-bezier(0.32, 0.72, 0, 1);
  will-change: transform;
}

/* ── Double-Bezel card ── */
.tcard-outer {
  flex: 0 0 calc(33.333% - 1rem);
  min-width: 300px;
  border-radius: 28px;
  padding: 3px;
  background: linear-gradient(145deg, rgba(0, 154, 47, 0.12) 0%, rgba(0, 0, 0, 0.04) 100%);
  border: 1px solid rgba(0, 154, 47, 0.1);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: transform 0.5s cubic-bezier(0.32, 0.72, 0, 1),
    box-shadow 0.5s cubic-bezier(0.32, 0.72, 0, 1);
}

.tcard-outer:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.tcard-inner {
  background: #fff;
  border-radius: 26px;
  padding: 2rem 1.75rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* ── Quote icon ── */
.tcard-quote {
  font-size: 2rem;
  color: var(--primary-green);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 1.25rem;
}

/* ── Review text ── */
.tcard-text {
  font-size: 0.97rem;
  line-height: 1.75;
  color: var(--text-body);
  font-family: 'Plus Jakarta Sans', sans-serif;
  flex: 1;
  margin-bottom: 1.5rem;
}

/* ── Footer: avatar + name + stars ── */
.tcard-footer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
}

.tcard-avatar {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--accent-dark-green) 100%);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  font-family: 'Plus Jakarta Sans', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tcard-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-dark-green);
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1.2;
}

.tcard-role {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: 'Plus Jakarta Sans', sans-serif;
  margin-top: 2px;
}

.tcard-stars {
  display: flex;
  gap: 2px;
  font-size: 0.8rem;
  color: #f5a623;
}

/* ── Nav row: arrows + dots ── */
.testimonial-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

/* ── Prev / Next buttons ── */
.tcarousel-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 154, 47, 0.3);
  background: #fff;
  color: var(--primary-green);
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease,
    transform 0.25s cubic-bezier(0.32, 0.72, 0, 1),
    box-shadow 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.tcarousel-btn:hover {
  background: var(--primary-green);
  border-color: var(--primary-green);
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 154, 47, 0.25);
}

.tcarousel-btn:active {
  transform: scale(0.96);
}

/* ── Dot navigation ── */
.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.tdot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0, 154, 47, 0.2);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.32, 0.72, 0, 1);
}

.tdot.active {
  width: 28px;
  border-radius: 4px;
  background: var(--primary-green);
}


/* Responsive */
@media (max-width: 991px) {
  .tcard-outer {
    flex: 0 0 calc(50% - 0.75rem);
  }
}

@media (max-width: 575px) {
  .tcard-outer {
    flex: 0 0 88vw;
  }
}

/* ── Final CTA Section — Contained Card ── */
.final-cta-section {
  background: var(--bg-light);
  /* plain light section bg */
  padding-top: 0;
  padding-bottom: 5rem;
}

/* The rounded image card — contains everything */
.final-cta-card {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.18);
}

/* Background image inside the card */
.final-cta-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 35%;
  background-repeat: no-repeat;
  transform: scale(1.04);
  transition: transform 8s ease-out;
  will-change: transform;
}

.final-cta-card:hover .final-cta-bg {
  transform: scale(1.0);
}

/* Dark gradient overlay inside the card */
.final-cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg,
      rgba(5, 26, 5, 0.90) 0%,
      rgba(5, 26, 5, 0.75) 52%,
      rgba(5, 26, 5, 0.50) 100%);
  z-index: 1;
}

/* Content sits above the overlay */
.final-cta-inner {
  position: relative;
  z-index: 2;
  padding: 4rem 3.5rem;
}

/* Heading */
.final-cta-title {
  color: #FFFFFF;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 800;
  line-height: 1.18;
}

.accent-serif-light {
  font-family: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-weight: 700;
  color: #9de8a0;
}

.final-cta-desc {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
  line-height: 1.75;
  max-width: 460px;
}

/* Responsive */
@media (max-width: 991px) {
  .final-cta-inner {
    padding: 3rem 2rem;
  }

  .final-cta-title {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
  }
}

@media (max-width: 575px) {
  .final-cta-inner {
    padding: 2.25rem 1.5rem;
  }
}

/* Trust pills row */
.final-cta-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
}

.final-trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: 0.01em;
}

.final-trust-item i {
  font-size: 1rem;
  color: #9de8a0;
}

/* CTA actions panel */
.final-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Primary CTA — Call */
.final-cta-btn-primary,
.final-cta-btn-whatsapp {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 1rem 1.5rem;
  border-radius: 18px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: all 0.45s cubic-bezier(0.32, 0.72, 0, 1);
  cursor: pointer;
}

.final-cta-btn-primary {
  background: #FFFFFF;
  color: var(--accent-dark-green);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.final-cta-btn-primary:hover {
  background: rgba(255, 255, 255, 0.92);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
  color: var(--accent-dark-green);
}

.final-cta-btn-whatsapp {
  background: rgba(37, 211, 102, 0.15);
  border-color: rgba(37, 211, 102, 0.35);
  color: #FFFFFF;
}

.final-cta-btn-whatsapp:hover {
  background: rgba(37, 211, 102, 0.28);
  border-color: rgba(37, 211, 102, 0.6);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.2);
  color: #FFFFFF;
}

/* Button icon pill */
.final-btn-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  background: rgba(0, 154, 47, 0.12);
  color: var(--primary-green);
  transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
}

.final-cta-btn-primary .final-btn-icon {
  background: rgba(10, 61, 10, 0.08);
  color: var(--accent-dark-green);
}

.final-cta-btn-primary:hover .final-btn-icon,
.final-cta-btn-whatsapp:hover .final-btn-icon {
  transform: scale(1.12) rotate(-4deg);
}

.final-btn-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1.2;
}

.final-cta-btn-whatsapp .final-btn-label {
  color: #FFFFFF;
}

.final-btn-sub {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  opacity: 0.7;
  margin-top: 1px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Privacy note */
.final-cta-note {
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  font-family: 'Plus Jakarta Sans', sans-serif;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}



/* ── Footer Logo Lockup ── */
.footer-logo-lockup {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

/* Glowing bezel container for logo image */
.footer-logo-bezel {
  position: relative;
  width: 72px;
  height: 72px;
  min-width: 72px;
  border-radius: 20px;
  border: 1px solid rgba(0, 154, 47, 0.35);
  background: rgba(0, 154, 47, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 0 0 5px rgba(0, 154, 47, 0.07),
    0 10px 28px rgba(0, 0, 0, 0.28);
}

.footer-logo-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 60%, rgba(0, 200, 70, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.footer-logo-bezel img {
  height: 46px;
  width: auto;
  position: relative;
  z-index: 1;
  mix-blend-mode: screen;
}

.footer-brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-brand-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: #FFFFFF;
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.footer-brand-sub {
  font-size: 0.72rem;
  color: rgba(0, 200, 70, 0.75);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Social icon row */
.footer-social {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.footer-social-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.65) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.32, 0.72, 0, 1);
  margin-bottom: 0 !important;
}

.footer-social-btn:hover {
  background: rgba(0, 154, 47, 0.2);
  border-color: rgba(0, 154, 47, 0.5);
  color: #7DF5A0 !important;
  transform: translateY(-3px) scale(1.08);
}

/* Footer Styles */
footer {
  background-color: var(--accent-dark-green);
  color: rgba(255, 255, 255, 0.75);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 5rem 0 2rem 0;
}

footer p,
footer li,
footer span,
footer .small {
  color: rgba(255, 255, 255, 0.72);
}

footer h5 {
  color: #FFFFFF;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.4rem;
  letter-spacing: 0.01em;
}

footer a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: var(--transition-bezier);
  display: inline-block;
  margin-bottom: 0.6rem;
  font-size: 0.9rem;
}

footer a:hover {
  color: var(--primary-green);
  transform: translateX(3px);
}

footer .footer-logo img {
  height: 48px;
  margin-bottom: 1.5rem;
  mix-blend-mode: screen;
}

footer .contact-info p {
  margin-bottom: 0.85rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
}

footer .contact-info strong {
  display: block;
  color: #FFFFFF;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

footer .contact-info i {
  color: var(--primary-green);
  font-size: 1.1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

/* List items in footer columns */
footer ul.list-unstyled li {
  color: rgba(255, 255, 255, 0.68);
}

/* Footer description paragraph */
footer .text-white-50 {
  color: rgba(255, 255, 255, 0.55) !important;
  font-size: 0.875rem;
  line-height: 1.75;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  margin-top: 4rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5) !important;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.7) !important;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 0;
  font-weight: 600;
  transition: all 0.3s ease;
}

.footer-bottom a:hover {
  background: linear-gradient(135deg, #F8F800 0%, #FFA500 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: #F8F800 !important;
  text-decoration: none;
  transform: none !important;
}

.footer-bottom-links a {
  margin-left: 1.5rem;
  margin-bottom: 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-links a:hover {
  color: var(--primary-green);
  transform: none;
}

/* Mobile Toggles & Morph Menu */
.navbar-toggler {
  border: none;
  padding: 0;
  outline: none !important;
}

.burger-icon {
  width: 24px;
  height: 18px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.burger-icon span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--accent-dark-green);
  border-radius: 2px;
  transition: var(--transition-bezier);
}

.burger-icon.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.burger-icon.active span:nth-child(2) {
  opacity: 0;
}

.burger-icon.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* Animations Trigger Classes (via IntersectionObserver in script.js) */
.js-enabled .reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  filter: blur(4px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.js-enabled .reveal-on-scroll.active {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.js-enabled .stagger-items>* {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.js-enabled .stagger-items.active>* {
  opacity: 1;
  transform: translateY(0);
}

/* Add incremental stagger delays via CSS helper classes */
.stagger-delay-1 {
  transition-delay: 0.05s;
}

.stagger-delay-2 {
  transition-delay: 0.1s;
}

.stagger-delay-3 {
  transition-delay: 0.15s;
}

.stagger-delay-4 {
  transition-delay: 0.2s;
}

.stagger-delay-5 {
  transition-delay: 0.25s;
}

.stagger-delay-6 {
  transition-delay: 0.3s;
}

.stagger-delay-7 {
  transition-delay: 0.35s;
}

.stagger-delay-8 {
  transition-delay: 0.4s;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
  .navbar-floating {
    border-radius: 25px;
    padding: 0.5rem 1.25rem;
  }

  .navbar-collapse {
    background: rgba(255, 255, 255, 0.98);
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 20px;
    border: 1px solid rgba(10, 61, 10, 0.08);
  }

  .navbar-floating .dropdown-menu {
    border: none;
    box-shadow: none;
    background: transparent;
    padding-left: 1rem;
    margin-top: 0;
  }

  .navbar-floating .nav-link {
    padding: 0.75rem 1rem !important;
  }

  .trust-bar {
    margin-top: 2rem;
  }

  section {
    padding: 4.5rem 0;
  }

  .about-image-outer {
    padding: 8px;
    border-radius: 20px;
  }

  .timeline-flow::before {
    left: 21px;
  }

  .timeline-number {
    width: 44px;
    height: 44px;
    min-width: 44px;
    font-size: 1rem;
  }

  .timeline-content {
    padding: 1.25rem 1.5rem;
  }
}

@media (max-width: 575.98px) {
  .navbar-floating {
    width: 94%;
  }

  .btn-premium-primary,
  .btn-premium-secondary {
    width: auto;
    display: inline-flex;
    justify-content: center;
  }

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

  .trust-bar {
    padding: 1.5rem;
  }

  .trust-stat-number {
    font-size: 2rem;
  }
}

/* ════════════════════════════════════════════════════════════
   Floating Action Buttons — Scroll Up · WhatsApp · Call
   ════════════════════════════════════════════════════════════ */

.fab-cluster {
  position: fixed;
  bottom: 2rem;
  right: 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  z-index: 9999;
  /* Hidden until user scrolls down */
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.32, 0.72, 0, 1);
}

.fab-cluster.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Base FAB */
.btn-fab {
  width: 50px;
  height: 50px;
  min-width: 50px;
  min-height: 50px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  flex-shrink: 0;
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  line-height: 1;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
  transition: transform 0.28s cubic-bezier(0.32, 0.72, 0, 1),
    box-shadow 0.28s ease,
    background 0.25s ease;
  position: relative;
}

/* Center all icons inside FABs */
.btn-fab i {
  line-height: 1;
  margin: 0;
  padding: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.whatsapp-sapce {
  margin: 13px !important;
}

.btn-fab:hover {
  transform: scale(1.12) translateY(-2px);
  text-decoration: none;
}

/* ── Tooltip on hover ── */
.btn-fab::after {
  content: attr(title);
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  background: rgba(3, 21, 6, 0.85);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  font-family: 'Plus Jakarta Sans', sans-serif;
  white-space: nowrap;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
  backdrop-filter: blur(6px);
}

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

/* ── Scroll to Top ── */
.fab-scroll {
  background: #fff;
  color: var(--primary-green);
  border: 1.5px solid rgba(0, 154, 47, 0.25);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.fab-scroll:hover {
  background: var(--primary-green);
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 154, 47, 0.35);
  border-color: transparent;
}

/* ── WhatsApp ── */
.fab-whatsapp {
  background: #25D366;
  color: #fff;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.4);
}

.fab-whatsapp:hover {
  background: #1ebe5d;
  color: #fff;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.55);
}

/* Pulse ring on WhatsApp */
.fab-whatsapp::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.5);
  animation: fab-pulse 2.2s ease-out infinite;
}

@keyframes fab-pulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }

  70% {
    transform: scale(1.5);
    opacity: 0;
  }

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

/* ── Call ── */
.fab-call {
  background: var(--primary-green);
  color: #fff;
  box-shadow: 0 4px 18px rgba(0, 154, 47, 0.35);
}

.fab-call:hover {
  background: var(--accent-dark-green);
  color: #fff;
  box-shadow: 0 8px 28px rgba(0, 154, 47, 0.5);
}

/* ── Mobile: smaller buttons ── */
@media (max-width: 575px) {
  .fab-cluster {
    bottom: 1.25rem;
    right: 1rem;
    gap: 0.6rem;
  }

  .btn-fab {
    width: 44px;
    height: 44px;
    font-size: 1.15rem;
  }
  .navbar-brand img{
    height: 50px;
  } 

  .final-trust-item {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.88);
  }

  .final-trust-item i {
    font-size: 1.15rem;
  }
  .step-flow-desc{
    font-size: 0.90rem;
  }
}

/* ── Contact Form in CTA Section ── */
.final-cta-form-wrapper {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 2.25rem;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.25);
}

.cta-contact-form .form-label {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  font-weight: 600;
  font-family: 'Plus Jakarta Sans', sans-serif;
  margin-bottom: 0.5rem;
}

.cta-contact-form .form-control,
.cta-contact-form .form-select {
  background-color: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  color: #fff !important;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem;
  padding: 0.75rem 1rem;
  transition: all 0.3s ease;
}

.cta-contact-form .form-select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px 12px;
}

.cta-contact-form option {
  background: #051a05;
  color: #fff;
}

.cta-contact-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.cta-contact-form .form-control:focus,
.cta-contact-form .form-select:focus {
  background-color: rgba(255, 255, 255, 0.12) !important;
  border-color: var(--primary-green) !important;
  box-shadow: 0 0 0 4px rgba(0, 154, 47, 0.18) !important;
  outline: none;
}

.cta-contact-form textarea.form-control {
  resize: none;
}

.form-success-message {
  text-align: center;
}

.form-success-message i {
  color: #9de8a0 !important;
}

@media (max-width: 575px) {
  .final-cta-form-wrapper {
    padding: 1.5rem;
  }
}

/* ── Page Preloader ── */
.page-preloader {
  position: fixed;
  inset: 0;
  background-color: #042008;
  /* Brand Accent Dark Pine Green */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100000;
  /* On top of everything */
  opacity: 1;
  transition: opacity 0.45s ease, visibility 0.45s ease;
  visibility: visible;
}

.page-preloader.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.preloader-logo {
  max-height: 60px;
  width: auto;
  object-fit: contain;
  border-radius: 10px;
  animation: logoPulse 1.8s ease-in-out infinite;
}

.preloader-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--primary-green);
  border-radius: 50%;
  animation: preloaderSpin 0.8s linear infinite;
  margin-top: 1rem;
}

@keyframes logoPulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.85;
  }

  50% {
    transform: scale(1.05);
    opacity: 1;
  }
}

@keyframes preloaderSpin {
  to {
    transform: rotate(360deg);
  }
}