/* ============================================================
   InvesAlign — components.css
   Navbar, hero, topbar, marquee, service cards,
   USP section, testimonials, WhatsApp float, footer
   ============================================================ */

/* ============================
   TOP BAR
   ============================ */
.topbar {
  background: var(--clr-green-primary);
  color: var(--clr-white);
  height: var(--topbar-height);
  display: flex;
  align-items: center;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar-contact {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
}

.topbar-link {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-sm);
  color: var(--clr-white);
  transition: var(--transition-fast);
}

.topbar-link:hover {
  color: var(--clr-gold-light);
}

.topbar-link svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.topbar-right {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 768px) {
  .topbar {
    display: none;
  }
}

/* ============================
   NAVBAR
   ============================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--clr-white);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  box-shadow: var(--shadow-xs);
  transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-img {
  width: 44px;
  height: 44px;
}

.nav-logo-text {
  line-height: 1.1;
}

.nav-logo-name {
  font-family: var(--font-brand);
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: var(--clr-green-primary);
  font-style: italic;
  display: block;
}

.nav-logo-tagline {
  font-size: 0.65rem;
  color: var(--clr-grey-600);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: block;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  list-style: none;
}

.nav-links a {
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--clr-grey-800);
  transition: var(--transition-fast);
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--clr-green-primary);
  background: var(--clr-green-pale);
}

/* Nav right actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-shrink: 0;
}

.lang-btn {
  padding: var(--sp-2) var(--sp-4);
  border: 1.5px solid var(--clr-green-primary);
  border-radius: var(--radius-pill);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semi);
  color: var(--clr-green-primary);
  background: transparent;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.lang-btn:hover {
  background: var(--clr-green-primary);
  color: var(--clr-white);
}

.nav-wa-btn {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-5);
  background: #25D366;
  color: var(--clr-white);
  border-radius: var(--radius-pill);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semi);
  transition: var(--transition);
  white-space: nowrap;
}

.nav-wa-btn:hover {
  background: #1ebe57;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
}

.nav-wa-btn svg {
  width: 18px;
  height: 18px;
}

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

.hamburger:hover {
  background: var(--clr-green-pale);
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--clr-green-dark);
  border-radius: var(--radius-pill);
  transition: var(--transition);
  transform-origin: center;
}

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

.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

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

/* Mobile drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-drawer.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-drawer-inner {
  position: absolute;
  top: 0;
  right: 0;
  width: min(340px, 90vw);
  height: 100%;
  background: var(--clr-white);
  padding: var(--sp-6);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
}

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

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--clr-grey-800);
  font-size: var(--fs-xl);
  transition: var(--transition-fast);
}

.mobile-close:hover {
  background: var(--clr-grey-100);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}

.mobile-nav-links a {
  display: block;
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--radius-md);
  font-weight: var(--fw-medium);
  color: var(--clr-grey-800);
  font-size: var(--fs-lg);
  transition: var(--transition-fast);
}

.mobile-nav-links a:hover {
  background: var(--clr-green-pale);
  color: var(--clr-green-primary);
}

.mobile-contact {
  border-top: 1px solid var(--clr-grey-200);
  padding-top: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.mobile-contact a {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--radius-md);
  background: var(--clr-grey-100);
  font-size: var(--fs-base);
  font-weight: var(--fw-medium);
  color: var(--clr-grey-900);
}

.mobile-lang-btn {
  width: 100%;
  padding: var(--sp-3);
  border: 1.5px solid var(--clr-green-primary);
  border-radius: var(--radius-md);
  color: var(--clr-green-primary);
  font-size: var(--fs-base);
  font-weight: var(--fw-semi);
  text-align: center;
}

@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-drawer {
    display: block;
  }

  .nav-wa-btn span {
    display: none;
  }

  .nav-wa-btn {
    padding: var(--sp-2) var(--sp-3);
  }
}

@media (max-width: 768px) {
  .lang-btn {
    display: none;
  }
}

/* ============================
   HERO SECTION
   ============================ */
.hero {
  min-height: calc(100vh - var(--nav-height) - var(--topbar-height));
  background: #f4f7f4;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Dark green panel — covers the left half */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(5deg, #003d0a 20%, #2f6135 40%, #2a5c2e 100%, rgba(232, 245, 233, 0) 100%);
  pointer-events: none;
  z-index: 0;
}

/* Subtle gold accent + bottom depth on dark side */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 28% 35% at 8% 10%, rgba(201, 168, 76, 0.13) 0%, transparent 60%),
    radial-gradient(ellipse 35% 25% at 3% 90%, rgba(46, 125, 50, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse 20% 50% at 100% 50%, rgba(232, 245, 233, 0.6) 0%, transparent 40%);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-12);
  align-items: center;
  padding-block: var(--sp-20);
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-4);
  background: rgba(201, 168, 76, 0.12);
  border: 1px solid rgba(201, 168, 76, 0.4);
  border-radius: var(--radius-pill);
  color: var(--clr-gold-light);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  letter-spacing: 0.03em;
  margin-bottom: var(--sp-6);
  backdrop-filter: blur(8px);
}

.hero-badge svg {
  width: 16px;
  height: 16px;
}

/* Trust pills */
.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-3);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-pill);
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
}

.trust-pill svg {
  width: 15px;
  height: 15px;
  color: var(--clr-gold-light);
}

.hero-title {
  font-family: var(--font-brand);
  font-size: var(--fs-5xl);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  color: var(--clr-white);
  margin-bottom: var(--sp-5);
}

.hero-title .highlight {
  color: var(--clr-gold-light);
  font-style: italic;
}

.hero-subtitle {
  font-size: var(--fs-lg);
  color: rgba(255, 255, 255, 0.8);
  line-height: var(--lh-loose);
  margin-bottom: var(--sp-8);
}

.hero-trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-bottom: var(--sp-8);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  align-items: center;
}

.hero-phone-link {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--fs-lg);
  font-weight: var(--fw-medium);
  transition: var(--transition-fast);
}

.hero-phone-link:hover {
  color: var(--clr-gold-light);
}

.hero-phone-link svg {
  width: 20px;
  height: 20px;
}

/* Hero right — visual card */
.hero-visual {
  display: flex;
  justify-content: flex-end;
}

.hero-card {
  background: var(--clr-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 24px 64px rgba(27, 94, 32, 0.16), 0 4px 16px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(46, 125, 50, 0.1);
}

/* Consultant photo header */
.hero-card-img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.hero-card-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.hero-card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(22, 56, 26, 0.82) 0%, rgba(22, 56, 26, 0.25) 55%, transparent 100%);
  display: flex;
  align-items: flex-end;
  gap: var(--sp-2);
  padding: var(--sp-4) var(--sp-5);
  color: var(--clr-white);
  font-family: var(--font-brand);
  font-size: var(--fs-xl);
  font-style: italic;
  font-weight: var(--fw-bold);
}

/* Card body */
.hero-card-body {
  padding: var(--sp-5) var(--sp-6) var(--sp-6);
}

.hero-card-header {
  margin-bottom: var(--sp-4);
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid var(--clr-grey-200);
  padding-inline: var(--sp-6);
  padding-top: var(--sp-5);
}

.hero-card-brand {
  color: var(--clr-green-dark);
}

.hero-card-brand h3 {
  font-size: var(--fs-base);
  font-weight: var(--fw-semi);
  margin-bottom: 3px;
  color: var(--clr-green-dark);
}

.hero-card-brand p {
  font-size: var(--fs-xs);
  color: var(--clr-grey-600);
  letter-spacing: 0.04em;
}

.hero-service-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  padding-inline: var(--sp-6);
}

.hero-service-item {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  background: var(--clr-green-xpale);
  border-radius: var(--radius-md);
  color: var(--clr-green-dark);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  border: 1px solid transparent;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.hero-service-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--grad-gold);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.hero-service-item:hover {
  background: var(--clr-green-pale);
  border-color: rgba(46, 125, 50, 0.2);
  transform: translateX(4px);
}

.hero-service-item:hover::before {
  opacity: 1;
}

.hero-service-icon {
  width: 34px;
  height: 34px;
  background: rgba(46, 125, 50, 0.12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--clr-green-primary);
}

.hero-service-icon svg {
  width: 18px;
  height: 18px;
}

.hero-service-text {
  flex: 1;
}

.hero-service-text .ta-name {
  display: block;
  font-size: var(--fs-base);
  font-weight: var(--fw-semi);
  color: var(--clr-green-dark);
}

.hero-service-text .en-name {
  display: block;
  font-size: var(--fs-xs);
  color: var(--clr-grey-600);
}

/* English page: hide Tamil name, promote English */
body:not(.lang-ta) .hero-service-text .ta-name {
  display: none;
}

body:not(.lang-ta) .hero-service-text .en-name {
  font-size: var(--fs-base);
  font-weight: var(--fw-semi);
  color: var(--clr-green-dark);
}

/* Tamil page: hide English name, promote Tamil */
body.lang-ta .hero-service-text .en-name {
  display: none;
}

body.lang-ta .hero-service-text .ta-name {
  font-size: var(--fs-base);
  font-weight: var(--fw-semi);
  color: var(--clr-green-dark);
}

.hero-card-footer {
  margin-top: var(--sp-4);
  padding: var(--sp-4) var(--sp-6) var(--sp-5);
  border-top: 1px solid var(--clr-grey-200);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  color: var(--clr-grey-600);
  font-size: var(--fs-xs);
}

.hero-card-footer svg {
  width: 14px;
  height: 14px;
  color: var(--clr-green-primary);
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-10);
  }

  .hero-visual {
    justify-content: center;
  }

  .hero-card {
    max-width: 100%;
  }

  .hero-title {
    font-size: var(--fs-4xl);
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
  }

  .hero-grid {
    padding-block: var(--sp-12);
  }

  .hero-title {
    font-size: var(--fs-3xl);
  }

  .hero-visual {
    display: none;
  }
}

/* ============================
   STATS BAR
   ============================ */
.stats-bar {
  background: var(--clr-white);
  padding-block: var(--sp-8);
  border-bottom: 1px solid var(--clr-grey-200);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
}

.stat-item {
  text-align: center;
  padding: var(--sp-4);
  border-right: 1px solid var(--clr-grey-200);
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-family: var(--font-brand);
  font-size: var(--fs-5xl);
  font-weight: var(--fw-bold);
  color: var(--clr-green-primary);
  line-height: 1;
  display: block;
}

.stat-label {
  font-size: var(--fs-sm);
  color: var(--clr-grey-600);
  margin-top: var(--sp-2);
  font-weight: var(--fw-medium);
}

.stat-accent {
  width: 30px;
  height: 2px;
  background: var(--grad-gold);
  border-radius: var(--radius-pill);
  margin: var(--sp-2) auto 0;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item:nth-child(2) {
    border-right: none;
  }

  .stat-item {
    border-right: 1px solid var(--clr-grey-200);
    border-bottom: 1px solid var(--clr-grey-200);
  }

  .stat-item:nth-child(3),
  .stat-item:nth-child(4) {
    border-bottom: none;
  }

  .stat-item:nth-child(2),
  .stat-item:nth-child(4) {
    border-right: none;
  }
}

/* ============================
   PARTNER LOGO MARQUEE
   ============================ */
.partners-section {
  background: var(--clr-green-xpale);
  padding-block: var(--sp-12);
  overflow: hidden;
}

.partners-section .container {
  margin-bottom: var(--sp-8);
}

.partners-heading {
  text-align: center;
}

.marquee-wrapper {
  overflow: hidden;
  width: 100%;
  padding-block: var(--sp-3);
  mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}

.marquee-track {
  display: flex;
  gap: var(--sp-5);
  width: max-content;
  animation: marquee-left 35s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.partner-logo-card {
  background: var(--clr-white);
  border-radius: var(--radius-md);
  padding: var(--sp-3) var(--sp-6);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  height: 72px;
  transition: var(--transition);
  flex-shrink: 0;
  border: 1px solid var(--clr-grey-200);
}

.partner-logo-card:hover {
  box-shadow: var(--shadow-green);
  transform: translateY(-4px);
  border-color: var(--clr-green-light);
}

.partner-logo-card img {
  height: 42px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  filter: grayscale(15%);
  transition: var(--transition);
}

.partner-logo-card:hover img {
  filter: grayscale(0%);
}

/* Fallback text badge when logo image missing */
.partner-text-badge {
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--clr-green-dark);
  text-align: center;
  line-height: 1.2;
}

@keyframes marquee-left {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation-play-state: paused;
  }
}

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

.services-header {
  text-align: center;
  margin-bottom: var(--sp-12);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-6);
}

.service-card {
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  padding: var(--sp-8) var(--sp-6);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  border: 1px solid var(--clr-grey-200);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--grad-gold);
}

.service-card:hover {
  background: var(--grad-card-hover);
  box-shadow: var(--shadow-green);
  transform: translateY(-8px);
  border-color: transparent;
}

.service-card:hover .service-card-icon {
  background: rgba(255, 255, 255, 0.2);
  color: var(--clr-white);
}

.service-card:hover .service-card-ta {
  color: var(--clr-white);
}

.service-card:hover .service-card-en {
  color: rgba(255, 255, 255, 0.8);
}

.service-card:hover .service-card-desc {
  color: rgba(255, 255, 255, 0.7);
}

.service-card:hover .service-card-bullets li {
  color: rgba(255, 255, 255, 0.85);
}

.service-card:hover .service-card-bullets li::before {
  color: var(--clr-gold-light);
}

.service-card:hover .service-card-link {
  color: var(--clr-gold-light);
}

.service-card:hover .service-card-link svg {
  transform: translateX(4px);
}

.service-card-icon {
  width: 56px;
  height: 56px;
  background: var(--clr-green-pale);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-green-primary);
  transition: var(--transition);
}

.service-card-icon svg {
  width: 28px;
  height: 28px;
}

.service-card-ta {
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: var(--clr-green-dark);
  line-height: var(--lh-tight);
  font-family: var(--font-ta);
  transition: var(--transition);
}

.service-card-en {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--clr-grey-600);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: var(--transition);
}

/* English page: Tamil title small → hide it, English title becomes primary */
body:not(.lang-ta) .service-card-ta {
  display: none;
}

body:not(.lang-ta) .service-card-en {
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: var(--clr-green-dark);
  text-transform: none;
  letter-spacing: 0;
}

body:not(.lang-ta) .service-card:hover .service-card-en {
  color: var(--clr-white);
}

/* Tamil page: English subtitle hide */
body.lang-ta .service-card-en {
  display: none;
}

body.lang-ta .service-card-ta {
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
}

.service-card-desc {
  font-size: var(--fs-sm);
  color: var(--clr-grey-600);
  line-height: var(--lh-loose);
  transition: var(--transition);
}

.service-card-bullets {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  flex: 1;
}

.service-card-bullets li {
  font-size: var(--fs-sm);
  color: var(--clr-grey-700, #616161);
  display: flex;
  align-items: flex-start;
  gap: var(--sp-2);
  transition: var(--transition);
}

.service-card-bullets li::before {
  content: '✓';
  color: var(--clr-green-primary);
  font-weight: var(--fw-bold);
  flex-shrink: 0;
  transition: var(--transition);
}

.service-card-link {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semi);
  color: var(--clr-green-primary);
  margin-top: auto;
  transition: var(--transition);
}

.service-card-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* ============================
   WHY CHOOSE US
   ============================ */
.why-section {
  background: var(--clr-white);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: start;
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
}

.why-item {
  display: flex;
  gap: var(--sp-5);
  padding: var(--sp-5);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.why-item:hover {
  background: var(--clr-green-xpale);
  transform: translateX(4px);
}

.why-icon {
  width: 52px;
  height: 52px;
  background: var(--clr-green-pale);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-green-primary);
  flex-shrink: 0;
}

.why-icon svg {
  width: 26px;
  height: 26px;
}

.why-text h3 {
  font-size: var(--fs-lg);
  font-weight: var(--fw-semi);
  color: var(--clr-green-dark);
  margin-bottom: var(--sp-1);
}

.why-text p {
  font-size: var(--fs-sm);
  color: var(--clr-grey-600);
  line-height: var(--lh-loose);
}

/* Why sidebar card */
.why-sidebar {
  position: sticky;
  top: calc(var(--nav-height) + var(--sp-6));
}

.why-card {
  background: var(--grad-hero);
  border-radius: var(--radius-xl);
  padding: var(--sp-8);
  color: var(--clr-white);
  overflow: hidden;
  position: relative;
}

.why-card::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 180px;
  height: 180px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 50%;
}

.why-card-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-6);
}

.why-card-logo img {
  width: 48px;
  height: 48px;
}

.why-card-logo-name {
  font-family: var(--font-brand);
  font-size: var(--fs-xl);
  font-style: italic;
  color: var(--clr-white);
}

.why-card-address {
  display: flex;
  gap: var(--sp-3);
  margin-bottom: var(--sp-5);
  padding: var(--sp-4);
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  font-size: var(--fs-sm);
  line-height: var(--lh-loose);
  color: rgba(255, 255, 255, 0.9);
}

.why-card-address svg {
  width: 18px;
  height: 18px;
  color: var(--clr-gold-light);
  flex-shrink: 0;
  margin-top: 2px;
}

.why-card-contact {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.why-card-contact a {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.9);
  padding: var(--sp-3) var(--sp-4);
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
}

.why-card-contact a:hover {
  background: rgba(255, 255, 255, 0.15);
}

.why-card-contact a svg {
  width: 18px;
  height: 18px;
  color: var(--clr-gold-light);
  flex-shrink: 0;
}

.why-card-cta {
  margin-top: var(--sp-6);
  display: block;
  text-align: center;
  padding: var(--sp-4);
  background: #25D366;
  color: var(--clr-white);
  border-radius: var(--radius-md);
  font-weight: var(--fw-semi);
  font-size: var(--fs-base);
  transition: var(--transition);
}

.why-card-cta:hover {
  background: #1ebe57;
  transform: translateY(-2px);
}

@media (max-width: 1024px) {
  .why-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-10);
  }

  .why-sidebar {
    position: static;
  }
}

/* ============================
   DOOR-STEP BANNER
   ============================ */
.doorstep-banner {
  background: linear-gradient(150deg, #162e1a 0%, #2a5c2e 45%, #1e4a22 75%, #111f13 100%);
  padding-block: var(--sp-20);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.doorstep-banner::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(100, 200, 80, 0.06) 0%, transparent 65%);
  pointer-events: none;
}

.doorstep-banner::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-gold);
}

.doorstep-icon {
  width: 80px;
  height: 80px;
  background: rgba(201, 168, 76, 0.15);
  border: 2px solid rgba(201, 168, 76, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-6);
  color: var(--clr-gold-light);
}

.doorstep-icon svg {
  width: 40px;
  height: 40px;
}

.doorstep-title {
  font-family: var(--font-brand);
  font-size: var(--fs-4xl);
  color: var(--clr-white);
  margin-bottom: var(--sp-4);
}

.doorstep-subtitle {
  font-size: var(--fs-lg);
  color: rgba(255, 255, 255, 0.8);
  max-width: 560px;
  margin: 0 auto var(--sp-8);
  line-height: var(--lh-loose);
}

.doorstep-area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  justify-content: center;
  margin-bottom: var(--sp-8);
}

.area-tag {
  padding: var(--sp-1) var(--sp-3);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-pill);
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.85);
}

/* ============================
   TESTIMONIALS
   ============================ */
.testimonials-section {
  background: var(--clr-green-pale);
}

.testimonials-header {
  text-align: center;
  margin-bottom: var(--sp-10);
}

.testimonials-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}

.testimonial-card {
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  padding: var(--sp-8) var(--sp-6);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: var(--transition);
  border: 1px solid rgba(46, 125, 50, 0.08);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-green);
  transform: translateY(-4px);
}

.testimonial-quote {
  font-size: var(--fs-4xl);
  color: var(--clr-green-pale);
  font-family: Georgia, serif;
  line-height: 1;
  position: absolute;
  top: var(--sp-4);
  left: var(--sp-6);
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: var(--sp-4);
  color: var(--clr-gold);
}

.testimonial-stars svg {
  width: 18px;
  height: 18px;
}

.testimonial-text {
  font-size: var(--fs-base);
  color: var(--clr-grey-800);
  line-height: var(--lh-loose);
  margin-bottom: var(--sp-6);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  border-top: 1px solid var(--clr-grey-200);
  padding-top: var(--sp-4);
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--clr-green-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--fw-bold);
  color: var(--clr-green-primary);
  font-size: var(--fs-lg);
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: var(--fw-semi);
  color: var(--clr-grey-900);
  font-size: var(--fs-sm);
}

.testimonial-location {
  font-size: var(--fs-xs);
  color: var(--clr-grey-500);
}

@media (max-width: 1024px) {
  .testimonials-track {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .testimonials-track {
    grid-template-columns: 1fr;
  }
}

/* ============================
   WHATSAPP FLOATING BUTTON
   ============================ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  width: 62px;
  height: 62px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  animation: wa-pulse 2.5s ease-in-out infinite;
  transition: transform 0.2s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.12);
  animation-play-state: paused;
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
}

.whatsapp-tooltip {
  position: absolute;
  right: 72px;
  background: var(--clr-green-dark);
  color: var(--clr-white);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -6px;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--clr-green-dark);
  border-right: 0;
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
}

@keyframes wa-pulse {

  0%,
  100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  }

  50% {
    box-shadow: 0 4px 36px rgba(37, 211, 102, 0.8), 0 0 0 10px rgba(37, 211, 102, 0.12);
  }
}

@media (max-width: 480px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 54px;
    height: 54px;
  }

  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }

  .whatsapp-tooltip {
    display: none;
  }
}

/* ============================
   FOOTER
   ============================ */
.footer {
  background: var(--clr-green-dark);
  color: var(--clr-white);
}

.footer-top {
  padding-block: var(--sp-16);
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: var(--sp-12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-5);
}

.footer-brand-logo img {
  width: 48px;
  height: 48px;
}

.footer-brand-name {
  font-family: var(--font-brand);
  font-size: var(--fs-xl);
  font-style: italic;
  color: var(--clr-white);
}

.footer-brand-name span {
  display: block;
  font-size: var(--fs-xs);
  font-style: normal;
  font-family: var(--font-en);
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 2px;
}

.footer-tagline {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.7);
  line-height: var(--lh-loose);
  margin-bottom: var(--sp-6);
  max-width: 280px;
}

.footer-exp-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-4);
  background: rgba(201, 168, 76, 0.15);
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: var(--radius-pill);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  color: var(--clr-gold-light);
}

.footer-col-title {
  font-size: var(--fs-base);
  font-weight: var(--fw-semi);
  color: var(--clr-white);
  margin-bottom: var(--sp-5);
  padding-bottom: var(--sp-3);
  border-bottom: 2px solid rgba(201, 168, 76, 0.3);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.footer-links a {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.footer-links a::before {
  content: '›';
  color: var(--clr-gold);
  font-size: var(--fs-base);
}

.footer-links a:hover {
  color: var(--clr-gold-light);
  transform: translateX(4px);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.footer-contact-item {
  display: flex;
  gap: var(--sp-3);
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.8);
  line-height: var(--lh-loose);
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--clr-gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-item a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition-fast);
}

.footer-contact-item a:hover {
  color: var(--clr-gold-light);
}

.footer-wa-btn {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-5);
  background: #25D366;
  color: var(--clr-white);
  border-radius: var(--radius-pill);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semi);
  width: fit-content;
  margin-top: var(--sp-4);
  transition: var(--transition);
}

.footer-wa-btn:hover {
  background: #1ebe57;
  transform: translateY(-2px);
}

.footer-wa-btn svg {
  width: 18px;
  height: 18px;
}

.footer-bottom {
  padding-block: var(--sp-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.5);
  flex-wrap: wrap;
  gap: var(--sp-3);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition-fast);
}

.footer-bottom a:hover {
  color: var(--clr-gold-light);
}

@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}