/* EDNOVAL — Study Abroad Design System (Clean Modern Light Theme) */
:root {
  /* Backgrounds — crisp, clean, bright modern light theme */
  --bg: #FFFFFF;
  --bg-2: #F8FAFC;
  --bg-3: #F1F5F9;

  /* Foreground & Text */
  --fg: #0F172A;
  --muted: #475569;

  /* Emerald & Green palette directly from EDNOVAL logo */
  --purple-light: #DCFCE7;    /* Soft mint tint */
  --purple-accent: #2E7D32;   /* Signature EDNOVAL primary emerald green */
  --purple-vivid: #43A047;    /* Vibrant emerald for buttons & active elements */
  --purple-mid: #1B5E20;      /* Deep rich forest green */
  --purple-dark: #14532D;     /* Dark forest green */
  --purple-xdark: #052E16;    /* Deepest green */

  /* Soft fills & borders */
  --purple-soft: rgba(46, 125, 50, 0.08);
  --purple-glow: rgba(67, 160, 71, 0.25);
  --border: rgba(226, 232, 240, 0.95);
  --border-bright: rgba(67, 160, 71, 0.35);

  /* Gradients */
  --grad-purple: linear-gradient(135deg, #43A047 0%, #2E7D32 100%);
  --grad-text: linear-gradient(135deg, #0F172A 0%, #1B5E20 55%, #43A047 100%);
  --grad-bg: radial-gradient(ellipse at 50% 0%, rgba(67, 160, 71, 0.08) 0%, transparent 68%);
  --grad-section: linear-gradient(180deg, rgba(67, 160, 71, 0.03) 0%, transparent 100%);

  /* Shadows */
  --shadow-glow: 0 4px 20px -2px rgba(46, 125, 50, 0.30);
  --shadow-card: 0 10px 30px -5px rgba(0, 0, 0, 0.06), 0 4px 6px -2px rgba(0, 0, 0, 0.03);

  --radius: 1rem;
  --font-sans: "Inter", system-ui, sans-serif;
  --font-display: "Instrument Serif", Georgia, serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 90% 55% at 50% -5%,
      rgba(67, 160, 71, 0.07) 0%,
      transparent 62%),
    radial-gradient(ellipse 55% 35% at 85% 95%,
      rgba(46, 125, 50, 0.05) 0%,
      transparent 55%);
  background-attachment: scroll;
  background-repeat: no-repeat;
  background-size: cover;
  color: var(--fg);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

html {
  overflow-x: clip;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

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

button {
  font: inherit;
  cursor: pointer;
  background: none;
  border: 0;
  color: inherit;
}

/* Ensure [hidden] always hides elements even if display is set in CSS */
[hidden] {
  display: none !important;
}

input,
textarea {
  font: inherit;
  color: inherit;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.container.narrow {
  max-width: 760px;
}

.center {
  text-align: center;
}

.muted {
  color: var(--muted);
}

.small {
  font-size: .82rem;
}

.lead {
  font-size: 1.05rem;
}

.eyebrow {
  color: var(--purple-accent);
  font-size: .78rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  font-weight: 600;
}

.eyebrow-muted {
  color: var(--muted);
  font-size: .72rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  text-align: center;
}

/* Typography */
h1,
h2,
h3,
h4 {
  letter-spacing: -.02em;
  line-height: 1.1;
  font-weight: 600;
  color: #0F172A;
}

h2 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin-top: 1rem;
}

h3 {
  font-size: 1.15rem;
  margin-top: 1rem;
}

h4 {
  font-size: .95rem;
}

.font-display {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
}

.grad {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
  padding-right: 0.25em;
  padding-top: 0.1em;
  padding-bottom: 0.05em;
  overflow: visible;
}

.strong {
  font-weight: 600;
}

/* Glass */
.glass {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .65rem 1.2rem;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 500;
  transition: transform .3s, filter .3s, background .3s, box-shadow .3s;
}

.btn i {
  width: 1rem;
  height: 1rem;
}

.btn-lg {
  padding: 1rem 1.9rem;
  font-size: 1rem;
}

.btn-purple {
  background: var(--grad-purple);
  color: #ffffff;
  font-weight: 600;
  box-shadow: var(--shadow-glow);
}

.btn-purple:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -2px rgba(46, 125, 50, 0.45);
}

.btn-outline {
  border: 1px solid #CBD5E1;
  background: #FFFFFF;
  color: #1E293B;
  backdrop-filter: blur(6px);
}

.btn-outline:hover {
  background: #F8FAFC;
  border-color: var(--purple-vivid);
  color: var(--purple-accent);
}

.btn-block {
  width: 100%;
  justify-content: center;
  padding: .95rem 1rem;
}

.link-purple {
  color: var(--purple-accent);
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .85rem;
  font-weight: 600;
}

.link-purple:hover {
  text-decoration: underline;
}

.link-purple i {
  width: .9rem;
  height: .9rem;
}

.ghost-link {
  padding: .5rem 1rem;
  font-size: .9rem;
  color: var(--muted);
}

.ghost-link:hover {
  color: var(--fg);
}

.icon-btn {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  border: 1px solid rgba(203, 213, 225, 0.8);
  background: #FFFFFF;
  color: var(--muted);
}

.icon-btn:hover {
  color: var(--purple-accent);
  border-color: var(--purple-accent);
  background: var(--purple-soft);
}

.icon-btn i {
  width: 1rem;
  height: 1rem;
}

/* Dot / pulse */
.dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--purple-vivid);
  display: inline-block;
  box-shadow: 0 0 8px rgba(67, 160, 71, 0.6);
}

.pulse {
  animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {

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

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

.pulse-glow {
  animation: pulse-glow 3s ease-in-out infinite;
}

/* 1. Announcement */
.announce {
  position: relative;
  z-index: 30;
  height: 38px;
  min-height: 38px;
  max-height: 38px;
  border-bottom: 1px solid rgba(67, 160, 71, 0.18);
  background: #F0FDF4;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
  width: 100%;
  display: flex;
  align-items: center;
  box-sizing: border-box;
}

.announce-inner {
  max-width: 1180px;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  padding: 0 20px;
  font-size: .78rem;
  line-height: 1.2;
  white-space: nowrap;
  box-sizing: border-box;
}

/* Continuous Horizontal Ticker / Marquee for Mobile & Medium Screens (max-width: 1023px) */
@media (max-width: 1023px) {
  .announce {
    height: 34px;
    min-height: 34px;
    max-height: 34px;
    overflow: hidden;
    padding: 0;
  }

  .announce-ticker {
    display: flex;
    align-items: center;
    height: 100%;
    width: max-content;
    animation: announceMarquee 24s linear infinite;
    will-change: transform;
    padding: 0;
    margin: 0;
  }

  .announce:hover .announce-ticker,
  .announce:focus-within .announce-ticker {
    animation-play-state: paused;
  }

  .announce-item {
    display: inline-flex;
    align-items: center;
    height: 100%;
    gap: .75rem;
    padding-right: 3.5rem;
    font-size: .76rem;
    line-height: 1.2;
    white-space: nowrap;
    flex-shrink: 0;
    box-sizing: border-box;
  }

  .announce-item .dot {
    flex-shrink: 0;
  }

  .announce-item .link-purple {
    font-size: .76rem;
    line-height: 1.2;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
  }

  .announce-item .link-purple i,
  .announce-item .link-purple svg {
    width: .85rem;
    height: .85rem;
    flex-shrink: 0;
  }
}

@keyframes announceMarquee {
  0% {
    transform: translateX(0);
  }

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

/* Desktop: Centered single announcement bar (min-width: 1024px) */
@media (min-width: 1024px) {
  .announce {
    height: 38px;
    min-height: 38px;
    max-height: 38px;
  }

  .announce-ticker {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    animation: none;
    transform: none;
    padding: 0;
    margin: 0;
  }

  .announce-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: .75rem;
    padding: 0 20px;
    font-size: .78rem;
    line-height: 1.2;
    white-space: nowrap;
    box-sizing: border-box;
  }

  .announce-item .link-purple {
    font-size: .78rem;
    line-height: 1.2;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
  }

  .announce-item .link-purple i,
  .announce-item .link-purple svg {
    width: .85rem;
    height: .85rem;
    flex-shrink: 0;
  }

  .announce-clone {
    display: none !important;
  }
}

/* 2. Header */
.header {
  position: sticky;
  top: 16px;
  z-index: 9999;
  max-width: 1120px;
  margin: 16px auto 0;
  padding: 0 12px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  border-radius: 999px;
  padding: .5rem .75rem .5rem 1.2rem;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(226, 232, 240, 0.85);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.03);
}

.nav-links {
  display: none;
  gap: .3rem;
  align-items: center;
}

.nav-links a {
  padding: .45rem 1.15rem;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 500;
  color: #334155;
  transition: color .2s, background .2s;
}

.nav-links a:hover {
  color: var(--purple-accent);
  background: rgba(46, 125, 50, 0.06);
}

.nav-links a.active {
  color: var(--purple-accent);
  background: rgba(46, 125, 50, 0.1);
  font-weight: 600;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: .5rem;
}

/* Hide the CTA button on mobile, show only hamburger */
.nav-actions .btn {
  display: none;
}

.menu-btn {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  border: 1px solid rgba(203, 213, 225, 0.8);
  background: #FFFFFF;
  color: var(--purple-accent);
  cursor: pointer;
  transition: background .2s, border-color .2s;
  flex-shrink: 0;
}

.menu-btn:hover {
  background: var(--purple-soft);
  border-color: var(--purple-vivid);
}

.menu-btn i,
.menu-btn svg {
  width: 1.15rem;
  height: 1.15rem;
  stroke: currentColor;
  display: block;
}

.nav-mobile {
  display: flex;
  flex-direction: column;
  margin-top: .5rem;
  padding: .6rem;
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid #E2E8F0;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

.nav-mobile a {
  padding: .85rem 1.1rem;
  border-radius: .9rem;
  font-size: .95rem;
  color: #334155;
  transition: background .2s, color .2s;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.nav-mobile a:last-child {
  border-bottom: none;
}

.nav-mobile a:hover,
.nav-mobile a.active {
  background: var(--purple-soft);
  color: var(--purple-accent);
  font-weight: 600;
}

/* "Book Consultation" CTA inside mobile dropdown */
.nav-mobile .btn-mobile-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  margin-top: .5rem;
  padding: .85rem 1rem;
  border-radius: .9rem;
  background: var(--grad-purple);
  color: #ffffff;
  font-weight: 600;
  font-size: .95rem;
  border-bottom: none;
  transition: opacity .2s, transform .2s;
}

.nav-mobile .btn-mobile-cta:hover {
  opacity: .9;
  transform: translateY(-1px);
  color: #ffffff;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
}

.logo-img {
  width: auto;
  height: 2.85rem;
  max-height: 2.85rem;
  object-fit: contain;
}

.logo-word {
  font-weight: 700;
  letter-spacing: .15em;
  font-size: 1.3rem;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.menu-btn {
  display: grid;
}

@media (max-width: 768px) {
  .header {
    top: 10px;
    margin: 10px auto 0;
    padding: 0 10px;
  }

  .nav {
    padding: .4rem .6rem .4rem 1rem;
  }

  .logo-img {
    height: 2.35rem;
    max-height: 2.35rem;
  }

  .logo-word {
    font-size: 1.05rem;
  }

  .announce-inner {
    padding: 0 10px;
    font-size: .74rem;
    gap: .4rem;
  }
}

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

  /* Only hide hamburger on desktop where full nav links are visible */
  .menu-btn {
    display: none !important;
  }

  .nav-mobile {
    display: none !important;
  }

  .nav-actions .btn {
    display: inline-flex;
  }
}

/* 3. Hero */
.hero {
  position: relative;
  padding: 64px 0 96px;
  overflow: hidden;
  isolation: isolate;
}

@media (min-width: 640px) {
  .hero {
    padding: 96px 0 128px;
  }
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.hero-bg-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .18;
  filter: saturate(1.1) contrast(1.05);
}

/* Default: image background — switch .hero-bg--image to .hero-bg--video for video */
.hero-bg--image .hero-bg-video {
  display: none;
}

.hero-bg--video .hero-bg-image {
  display: none;
}

.hero-bg--video .hero-bg-video {
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg--video .hero-bg-video {
    display: none;
  }

  .hero-bg--video .hero-bg-image {
    display: block;
  }
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .18;
  filter: saturate(1.1) contrast(1.05);
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 20%, rgba(220, 252, 231, 0.55), transparent 65%),
    radial-gradient(ellipse 50% 40% at 15% 60%, rgba(240, 253, 244, 0.65), transparent 60%),
    radial-gradient(ellipse 50% 40% at 85% 70%, rgba(236, 253, 245, 0.50), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.70), rgba(255, 255, 255, 0.40) 50%, var(--bg));
}

.hero-inner {
  max-width: 1000px;
  text-align: center;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .35rem .95rem;
  border-radius: 999px;
  font-size: .8rem;
  max-width: 100%;
  box-sizing: border-box;
  white-space: nowrap;
}

.chip-arrow {
  width: .8rem;
  height: .8rem;
  color: var(--muted);
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .chip {
    font-size: .74rem;
    padding: .32rem .8rem;
    gap: .4rem;
    max-width: 96%;
  }
}

@media (max-width: 440px) {
  .chip {
    font-size: .7rem;
    padding: .28rem .7rem;
    gap: .35rem;
  }

  .chip .chip-arrow {
    display: none;
  }
}

@media (max-width: 375px) {
  .chip span.muted {
    display: none;
  }
}

.hero-title {
  margin-top: 1.5rem;
  font-size: clamp(2rem, 4.8vw, 3.4rem);
  line-height: 1.14;
  font-weight: 600;
  letter-spacing: -.02em;
}

.hero-sub {
  margin: 1.2rem auto 0;
  max-width: 620px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.6;
}

.hero-cta {
  margin-top: 2.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  justify-content: center;
  color: var(--muted);
  font-size: .78rem;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}

.hero-meta i {
  width: .9rem;
  height: .9rem;
  color: var(--purple-accent);
}

.hero-cards {
  margin-top: 4.5rem;
  display: grid;
  gap: 1.2rem;
  grid-template-columns: 1fr;
  text-align: left;
}

@media (min-width: 640px) {
  .hero-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .hero-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  padding: 1.5rem;
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
  transition: transform .3s, border-color .3s, box-shadow .3s;
}

.card:hover {
  border-color: var(--purple-vivid);
  box-shadow: 0 12px 32px -4px rgba(46, 125, 50, 0.12), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
}

.card h3 {
  font-size: 1.1rem;
  color: #0F172A;
}

.card p {
  margin-top: .5rem;
  font-size: .88rem;
  color: var(--muted);
}

.card.sm {
  padding: 1.25rem;
  border-radius: 1rem;
}

.card.sm .ico {
  width: 1.2rem;
  height: 1.2rem;
  color: var(--purple-accent);
}

.card.sm h3 {
  margin-top: .9rem;
  font-size: 1rem;
}

.card.sm p {
  font-size: .85rem;
  margin-top: .35rem;
}

.icon-tile {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: .8rem;
  background: var(--purple-soft);
  box-shadow: inset 0 0 0 1px rgba(67, 160, 71, 0.25);
  color: var(--purple-accent);
}

.icon-tile i {
  width: 1.15rem;
  height: 1.15rem;
}

.icon-tile.lg {
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
}

.visual {
  position: relative;
  height: 160px;
  margin-top: 1.4rem;
}

.visual-unify .unify-stack {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.chip-tile {
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: .55rem;
  background: #F1F5F9;
  border: 1px solid var(--border);
  color: var(--muted);
}

.chip-tile i {
  width: 1rem;
  height: 1rem;
}

.unify-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.unify-hub {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: .9rem;
  background: var(--grad-purple);
  color: #ffffff;
  box-shadow: var(--shadow-glow);
}

.unify-hub i {
  width: 1.4rem;
  height: 1.4rem;
}

.chart-svg {
  width: 100%;
  height: 100%;
}

.chart-badge {
  position: absolute;
  right: 12px;
  top: 4px;
  background: #DCFCE7;
  color: #166534;
  border: 1px solid rgba(67, 160, 71, .35);
  padding: .15rem .5rem;
  border-radius: .35rem;
  font-size: .72rem;
  font-weight: 600;
}

.visual-radar {
  display: grid;
  place-items: center;
}

.visual-radar .ring {
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(67, 160, 71, .25);
}

.visual-radar .r1 {
  width: 44px;
  height: 44px;
}

.visual-radar .r2 {
  width: 88px;
  height: 88px;
  opacity: .7;
}

.visual-radar .r3 {
  width: 132px;
  height: 132px;
  opacity: .45;
}

.radar-hub {
  position: absolute;
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: .6rem;
  background: var(--grad-purple);
  color: #ffffff;
  box-shadow: var(--shadow-glow);
}

.radar-hub i {
  width: 1.15rem;
  height: 1.15rem;
}

.radar-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--purple-vivid);
  box-shadow: 0 0 8px rgba(67, 160, 71, 0.6);
}

/* 4. Trusted */
.trusted {
  padding: 56px 0;
  border-top: 1px solid rgba(226, 232, 240, 0.8);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  background: #F8FAFC;
  overflow: hidden;
}

.trusted-inner {
  text-align: center;
  margin-bottom: 2rem;
}

/* Marquee track wrapper — masks overflow without leaking to page */
.brands-track-wrapper {
  width: 100%;
  overflow: hidden;
  /* Left/right fade edges */
  -webkit-mask-image: linear-gradient(to right,
      transparent 0%,
      black 10%,
      black 90%,
      transparent 100%);
  mask-image: linear-gradient(to right,
      transparent 0%,
      black 10%,
      black 90%,
      transparent 100%);
}

/* The scrolling strip — contains 2× items so 50% shift loops perfectly */
.brands-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 0;
  opacity: 0.85;
  animation: brandsScroll 22s linear infinite;
  will-change: transform;
}

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

.brand-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 3.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #64748B;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.2s;
  cursor: default;
  position: relative;
}

/* Thin separator dot between each brand */
.brand-item::after {
  content: '·';
  position: absolute;
  right: 0;
  color: rgba(67, 160, 71, 0.4);
  font-size: 1.4rem;
}

.brand-item:hover {
  color: #0F172A;
}

@keyframes brandsScroll {
  0% {
    transform: translateX(0);
  }

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

/* Mobile tweaks */
@media (max-width: 639px) {
  .trusted {
    padding: 40px 0;
  }

  .brand-item {
    font-size: 0.92rem;
    padding: 0 2.2rem;
  }

  .brands-track {
    animation-duration: 18s;
  }
}

/* Sections */
.section {
  padding: 96px 0;
  position: relative;
}

/* Subtle emerald orb accent on alternating sections */
.section:nth-of-type(even)::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse 70% 50% at 50% 50%,
      rgba(67, 160, 71, 0.04) 0%,
      transparent 75%);
  pointer-events: none;
}

@media (min-width: 640px) {
  .section {
    padding: 128px 0;
  }
}

/* Section Divider */
.section-divider {
  position: relative;
  width: 100%;
  height: 1px;
  margin: 0;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(226, 232, 240, 0.8) 20%,
      rgba(67, 160, 71, 0.35) 45%,
      var(--purple-vivid) 50%,
      rgba(67, 160, 71, 0.35) 55%,
      rgba(226, 232, 240, 0.8) 80%,
      transparent 100%);
  overflow: visible;
}

.section-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 1px;
  background: var(--purple-vivid);
  box-shadow:
    0 0 10px 2px rgba(67, 160, 71, 0.4),
    0 0 24px 6px rgba(46, 125, 50, 0.2);
  border-radius: 999px;
}

.section-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--purple-accent);
  box-shadow:
    0 0 8px 3px rgba(67, 160, 71, 0.5),
    0 0 20px 8px rgba(67, 160, 71, 0.2);
}

.about h2 {
  margin-top: 1.5rem;
}

.about .lead {
  margin: 1.4rem auto 0;
  max-width: 720px;
  font-size: 1.1rem;
}

/* Expanded About Section */
.about-grid {
  margin-top: 3.5rem;
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr;
  align-items: center;
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1.1fr 1fr;
    gap: 4rem;
  }
}

.about-img-container {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-card), 0 0 30px rgba(67, 160, 71, 0.1);
  border: 1px solid var(--border);
}

.about-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 1.5rem;
  transition: transform 0.5s ease;
}

.about-img-container:hover img {
  transform: scale(1.03);
}

.about-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  font-size: 0.82rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--border);
  color: var(--purple-accent);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.about-pillars {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .about-pillars {
    grid-template-columns: repeat(2, 1fr);
  }
}

.pillar-card {
  padding: 1.4rem;
  border-radius: 1.2rem;
}

.pillar-card h3 {
  font-size: 1.05rem;
  margin-top: 0.8rem;
}

.pillar-card p {
  font-size: 0.86rem;
  margin-top: 0.4rem;
  color: var(--muted);
}

.about-mission {
  margin-top: 3.5rem;
  padding: 2.5rem;
  border-radius: 1.5rem;
  text-align: center;
}

.about-mission p {
  font-size: 1.3rem;
  line-height: 1.4;
  max-width: 800px;
  margin: 0 auto;
}

.about-stats-mini {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.stat-mini-v {
  font-size: 1.8rem;
  font-weight: 700;
}

.stat-mini-l {
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.grid-3 {
  margin-top: 3.5rem;
  display: grid;
  gap: 1.2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.grid-2 {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

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

/* Services */
.service {
  padding: 2rem;
  transition: transform .3s, border-color .3s, box-shadow .3s;
  display: flex;
  flex-direction: column;
  color: var(--fg);
}

.service h3 {
  color: var(--fg);
}

.service:hover {
  transform: translateY(-5px);
  border-color: var(--purple-vivid);
  box-shadow: var(--shadow-card), 0 0 30px rgba(67, 160, 71, 0.15);
}

.service .learn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: auto;
  padding-top: 1.4rem;
  color: var(--purple-accent);
  font-size: .88rem;
  font-weight: 600;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity .3s, transform .3s;
}

.service .learn i {
  width: 1rem;
  height: 1rem;
  transition: transform .3s;
}

.service:hover .learn {
  opacity: 1;
  transform: translateX(0);
}

.service:hover .learn i {
  transform: translateX(3px);
}

/* Homepage service detail card */
.svc-card {
  padding: 2.2rem;
  border-radius: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #FFFFFF;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
  color: var(--fg);
  transition: transform .35s, border-color .3s, box-shadow .35s;
}

.svc-card:hover {
  transform: translateY(-6px);
  border-color: var(--purple-vivid);
  box-shadow: 0 16px 36px -4px rgba(46, 125, 50, 0.12), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
}

.svc-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-top: 1.2rem;
  letter-spacing: -.01em;
  color: #0F172A;
}

.svc-card>p {
  margin-top: .55rem;
  font-size: .9rem;
  line-height: 1.55;
  color: var(--muted);
  flex: 1;
}

.svc-features {
  list-style: none;
  margin: 1.4rem 0 1.8rem;
  display: flex;
  flex-direction: column;
  gap: .65rem;
}

.svc-features li {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: .87rem;
  color: #334155;
}

.svc-features i {
  width: .95rem;
  height: .95rem;
  color: var(--purple-accent);
  flex-shrink: 0;
  stroke-width: 2.5;
}

.svc-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  width: 100%;
  padding: .92rem 1.25rem;
  border-radius: 999px;
  font-size: .92rem;
  font-weight: 600;
  border: 1px solid #CBD5E1;
  background: #FFFFFF;
  color: #1E293B;
  transition: background .25s ease, border-color .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease;
  margin-top: auto;
  box-sizing: border-box;
}

.svc-btn i,
.svc-btn svg {
  width: 1rem;
  height: 1rem;
  stroke-width: 2.2;
  transition: transform .25s ease;
}

.svc-btn:hover {
  background: var(--purple-soft);
  border-color: var(--purple-vivid);
  color: var(--purple-accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(46, 125, 50, 0.15);
}

.svc-btn:hover i,
.svc-btn:hover svg {
  transform: translateX(3px);
}

/* Product Showcase Section & Multi-Image Slider */
.product-grid {
  margin-top: 3.5rem;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.product-card {
  display: flex;
  flex-direction: column;
  border-radius: 1.5rem;
  overflow: hidden;
  background: #FFFFFF;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--purple-vivid);
  box-shadow: 0 16px 36px -4px rgba(46, 125, 50, 0.12);
}

.product-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #F1F5F9;
}

.product-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.product-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity .5s ease, transform .5s ease;
  pointer-events: none;
}

.product-slide.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.product-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 5;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.product-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(100, 116, 139, 0.35);
  cursor: pointer;
  transition: background .25s, width .25s, box-shadow .25s;
}

.product-dot:hover {
  background: rgba(100, 116, 139, 0.7);
}

.product-dot.active {
  width: 22px;
  background: var(--purple-accent);
  box-shadow: 0 0 10px rgba(46, 125, 50, 0.4);
}

.product-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-bright);
  color: var(--purple-accent);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.product-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.product-tags span {
  font-size: 0.72rem;
  background: var(--purple-soft);
  color: var(--purple-accent);
  border: 1px solid rgba(67, 160, 71, 0.2);
  padding: 0.15rem 0.55rem;
  border-radius: 0.4rem;
  font-weight: 500;
}

.product-info h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0F172A;
}

.product-info p {
  margin-top: 0.6rem;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--muted);
  flex: 1;
}

.product-footer {
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: 1px solid #F1F5F9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

@media (max-width: 639px) {
  .product-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .product-footer .btn {
    width: 100%;
    justify-content: center;
  }
}

.product-price {
  display: flex;
  align-items: baseline;
  gap: 0.2rem;
}

.product-price .grad {
  font-size: 1.6rem;
  font-weight: 700;
}

/* Features */
.features-grid {
  display: block;
  width: 100%;
}

.features-grid .grid-2 {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .features-grid .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.features-grid .muted {
  margin-top: 0.5rem;
}

/* 8. Stats */
.stats-section {
  padding: 80px 0;
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  padding: 2.5rem;
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
}

@media (min-width: 640px) {
  .stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat {
  text-align: center;
}

.stat-v {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  line-height: 1;
}

.stat-l {
  margin-top: .5rem;
  font-size: .72rem;
  color: var(--muted);
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 600;
}

/* Fix: Center stats on mobile */
@media (max-width: 639px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 1.5rem 1rem;
    justify-items: center;
    text-align: center;
  }

  .stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
  }

  .stat-v {
    font-size: 1.6rem;
    text-align: center;
  }

  .stat-l {
    font-size: 0.6rem;
    text-align: center;
    letter-spacing: 0.1em;
  }
}

/* Portfolio */
.row-between {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .row-between {
    flex-direction: row;
    align-items: flex-end;
  }
}

.portfolio {
  margin-top: 3rem;
}

.port-card {
  border-radius: 1.5rem;
  overflow: hidden;
  display: block;
  background: #FFFFFF;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
  transition: transform .35s ease, border-color .3s, box-shadow .35s;
}

.port-card:hover {
  transform: translateY(-6px);
  border-color: var(--purple-vivid);
  box-shadow: 0 16px 36px -4px rgba(46, 125, 50, 0.12);
}

.port-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #F1F5F9;
}

.port-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s;
}

.port-card:hover .port-img img {
  transform: scale(1.06);
}

.port-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.45) 0%, transparent 60%);
}

.tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  padding: .3rem .75rem;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 600;
  z-index: 2;
  border: 1px solid rgba(67, 160, 71, 0.25);
  color: var(--purple-accent);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.port-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem;
  background: #FFFFFF;
}

.port-meta h3 {
  margin-top: 0;
  font-size: 1.05rem;
  color: #0F172A;
}

.port-meta i {
  width: 1.15rem;
  height: 1.15rem;
  color: var(--purple-accent);
  transition: transform .3s;
}

.port-card:hover .port-meta i {
  transform: translateX(4px);
}

/* Process */
.process {
  position: relative;
  margin-top: 4rem;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .process {
    grid-template-columns: repeat(4, 1fr);
  }
}

.process-line {
  display: none;
}

@media (min-width: 768px) {
  .process-line {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 24px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(67, 160, 71, .35), transparent);
  }
}

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

.step-n {
  margin: 0 auto;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  background: #FFFFFF;
  border: 1.5px solid var(--purple-vivid);
  color: var(--purple-accent);
  font-size: .88rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(46, 125, 50, 0.15);
}

.step h3 {
  margin-top: 1.4rem;
  color: #0F172A;
}

.step p {
  margin-top: .5rem;
  font-size: .88rem;
  color: var(--muted);
}

/* Testimonials & Auto-Scroll Marquee Track */
.testimonial-marquee {
  width: 100%;
  overflow: hidden;
  margin-top: 3.5rem;
  padding: 0.5rem 0;
  position: relative;
  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%);
}

.testimonial-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: marquee-scroll 35s linear infinite;
}

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

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }

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

.testimonial {
  width: 360px;
  flex-shrink: 0;
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  border-radius: 1.5rem;
  background: #FFFFFF;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}

.testimonial:hover {
  transform: translateY(-5px);
  border-color: var(--purple-vivid);
  box-shadow: 0 16px 36px -4px rgba(46, 125, 50, 0.12);
}

.stars {
  color: #F59E0B;
  letter-spacing: .1em;
  font-size: 0.95rem;
}

.quote {
  margin-top: 1rem;
  font-size: 1.02rem;
  line-height: 1.5;
  color: #334155;
  flex: 1;
}

.testimonial footer {
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: 1px solid #F1F5F9;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.testimonial-avatar {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--purple-vivid);
  box-shadow: 0 0 10px rgba(67, 160, 71, 0.25);
  flex-shrink: 0;
}

.testimonial-user {
  display: flex;
  flex-direction: column;
}

.testimonial .name {
  font-weight: 600;
  font-size: 0.92rem;
  color: #0F172A;
}

/* Pricing */
.tier {
  padding: 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
}

.tier.featured {
  border-color: var(--purple-vivid);
  box-shadow: 0 16px 36px -4px rgba(46, 125, 50, 0.15);
}

.badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-purple);
  color: #ffffff;
  padding: .3rem .8rem;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 600;
}

.price {
  margin-top: 1.4rem;
  display: flex;
  align-items: baseline;
  gap: .3rem;
}

.price .grad {
  font-size: 3rem;
  line-height: 1;
}

.tier ul {
  margin: 1.4rem 0;
  display: flex;
  flex-direction: column;
  gap: .7rem;
  font-size: .88rem;
  flex: 1;
}

.tier li {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: #334155;
}

.tier li i {
  width: 1rem;
  height: 1rem;
  color: var(--purple-accent);
}

.tier .btn {
  width: 100%;
  justify-content: center;
  margin-top: auto;
  padding: .85rem;
}

/* FAQ */
.faq {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.faq-item {
  border-radius: 1rem;
  overflow: hidden;
  background: #FFFFFF;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 1.5rem;
  font-weight: 600;
  color: #0F172A;
  cursor: pointer;
  list-style: none;
}

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

.faq-item summary i {
  width: 1.15rem;
  height: 1.15rem;
  color: var(--purple-accent);
  transition: transform .3s;
}

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

.faq-item p {
  padding: 0 1.5rem 1.4rem;
  font-size: .9rem;
  color: #475569;
  line-height: 1.6;
}

/* Final CTA */
.cta-card {
  position: relative;
  overflow: hidden;
  border-radius: 2rem;
  padding: 5rem 1.5rem;
  text-align: center;
  background: linear-gradient(135deg, #14532D 0%, #166534 50%, #1B5E20 100%);
  color: #ffffff;
  box-shadow: 0 20px 50px -10px rgba(22, 101, 52, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

@media (min-width: 640px) {
  .cta-card {
    padding: 5rem 4rem;
  }
}

.cta-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .18;
}

.cta-veil {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.10), transparent 70%);
}

.cta-card h2 {
  margin: 1rem auto 0;
  max-width: 720px;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.05;
  color: #ffffff;
}

.cta-card .lead {
  margin: 1.4rem auto 0;
  max-width: 520px;
  color: #DCFCE7;
}

.cta-card .eyebrow {
  color: #DCFCE7;
}

.cta-card .grad {
  background: linear-gradient(135deg, #ffffff 0%, #3bb455 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.cta-actions {
  margin-top: 2.4rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

@media (min-width: 640px) {
  .cta-actions {
    flex-direction: row;
  }
}

.cta-actions .btn-outline {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
}

.cta-actions .btn-outline:hover {
  background: #ffffff;
  color: #14532D;
  border-color: #ffffff;
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-list {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: var(--muted);
  font-size: .9rem;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.icon-mini {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: .85rem;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  color: var(--purple-accent);
  flex-shrink: 0;
  transition: transform .25s, background .25s, border-color .25s;
}

.contact-list li:hover .icon-mini {
  transform: translateY(-2px);
  background: #DCFCE7;
  border-color: var(--purple-vivid);
  color: #14532D;
}

.icon-mini svg,
.icon-mini i {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.map {
  margin-top: 2rem;
  height: 240px;
  border-radius: var(--radius);
  border: 1px solid #E2E8F0;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-card);
  background: #F8FAFC;
}

.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: none;
  transition: opacity .3s;
}

.contact-form {
  padding: 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .65rem;
  border-radius: 1.5rem;
  background: #FFFFFF;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
}

.contact-form label {
  display: block;
}

.contact-form label>span {
  display: block;
  font-size: .72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-weight: 600;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  margin-top: .45rem;
  width: 100%;
  border-radius: .75rem;
  border: 1px solid #CBD5E1;
  background: #FFFFFF;
  padding: .6rem .85rem;
  font-size: .88rem;
  color: var(--fg);
  outline: 0;
  transition: border-color .2s, box-shadow .2s, background .2s;
  font-family: inherit;
  color-scheme: light;
}

.contact-form select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%232E7D32' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  color-scheme: light;
}

.contact-form select option {
  background: #FFFFFF;
  color: #0F172A;
  padding: .8rem;
  font-size: .9rem;
}

/* Custom Glass Select Dropdown Component */
.custom-select {
  position: relative;
  margin-top: .25rem;
  width: 100%;
}

.custom-select-trigger {
  width: 100%;
  border-radius: .75rem;
  border: 1px solid #CBD5E1;
  background: #FFFFFF;
  padding: .6rem .85rem;
  font-size: .88rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  transition: border-color .2s, box-shadow .2s, background .2s, color .2s;
}

.custom-select.active .custom-select-trigger,
.custom-select-trigger:hover {
  border-color: var(--purple-vivid);
  background: #F8FAFC;
  color: var(--fg);
}

.custom-select.active .custom-select-trigger {
  box-shadow: 0 0 0 3px rgba(67, 160, 71, 0.15);
}

.custom-select-trigger svg {
  transition: transform .3s;
}

.custom-select.active .custom-select-trigger svg {
  transform: rotate(180deg);
}

.custom-select-options {
  position: absolute;
  top: calc(100% + .4rem);
  left: 0;
  right: 0;
  z-index: 100;
  border-radius: .85rem;
  border: 1px solid var(--purple-vivid);
  background: #FFFFFF;
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12), 0 0 15px rgba(67, 160, 71, 0.1);
  padding: .4rem;
  display: flex;
  flex-direction: column;
  gap: .2rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .25s, transform .25s, visibility .25s;
}

.custom-select.active .custom-select-options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.custom-option {
  padding: .65rem .85rem;
  border-radius: .55rem;
  font-size: .88rem;
  color: #334155;
  cursor: pointer;
  transition: background .2s, color .2s;
}

.custom-option:hover,
.custom-option.selected {
  background: #DCFCE7;
  color: #14532D;
  font-weight: 600;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--purple-vivid);
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(67, 160, 71, 0.15);
}

.contact-form textarea {
  resize: vertical;
  min-height: 200px;
}

.contact-form .btn-block {
  margin-top: .25rem;
}

/* Footer */
.footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid #E2E8F0;
  background: #000000;
  color: var(--purple-light);
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--purple-vivid), transparent);
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  }
}

.footer-brand {
  grid-column: 1 / -1;
}

.footer-brand .logo-img {
  height: 3.2rem;
  max-height: 3.2rem;
}

@media (min-width: 768px) {
  .footer-brand {
    grid-column: auto;
  }
}

.footer-brand p {
  margin-top: 1rem;
  max-width: 260px;
  color: var(--purple-light);
}

.socials {
  margin-top: 1.4rem;
  display: flex;
  align-items: center;
  gap: .75rem;
}

.socials a {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: .85rem;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  color: var(--purple-accent);
  transition: transform .25s, background .25s, border-color .25s, color .25s, box-shadow .25s;
}

.socials a:hover {
  transform: translateY(-3px);
  background: #DCFCE7;
  border-color: var(--purple-vivid);
  color: var(--purple-accent);
  box-shadow: 0 4px 16px rgba(46, 125, 50, 0.15);
}

.socials svg,
.socials i {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.footer h4 {
  color: var(--purple-vivid);
  font-weight: 600;
}

.footer ul {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  font-size: .88rem;
  color: var(--purple-light);
}

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

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid #E2E8F0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
  justify-content: space-between;
  font-size: .78rem;
  color: var(--purple-vivid);
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    align-items: center;
  }
}

.foot-links {
  display: flex;
  gap: 1rem;
}

.foot-links a:hover {
  color: #FFFFFF;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s cubic-bezier(.22, 1, .36, 1), transform .8s cubic-bezier(.22, 1, .36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .pulse,
  .pulse-glow {
    animation: none;
  }
}

/* ─── Gallery Section ──────────────────────────────────────────────────── */
.gallery-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  flex-wrap: wrap;
  margin-top: 2.2rem;
}

.gal-filter {
  padding: .45rem 1.1rem;
  border-radius: 2rem;
  font-size: .82rem;
  font-weight: 500;
  border: 1px solid #CBD5E1;
  background: #FFFFFF;
  color: #475569;
  cursor: pointer;
  transition: background .22s, color .22s, border-color .22s;
}

.gal-filter:hover,
.gal-filter.active {
  background: #DCFCE7;
  border-color: var(--purple-vivid);
  color: #14532D;
  font-weight: 600;
}

/* Square 3-column Gallery Grid */
.gallery-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.4rem;
  grid-template-columns: repeat(3, 1fr);
}

.gal-item {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1 / 1;
  width: 100%;
  background: #F1F5F9;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
  /* Reveal animation base */
  opacity: 0;
  transform: scale(.96);
  transition: opacity .55s ease, transform .55s ease, box-shadow .3s ease, border-color .3s ease;
}

.gal-item.is-visible {
  opacity: 1;
  transform: scale(1);
}

.gal-item:hover {
  border-color: var(--purple-vivid);
  box-shadow: 0 16px 36px -4px rgba(46, 125, 50, 0.15);
}

/* Ensure uniform square grid items */
.gal-item.wide,
.gal-item.tall,
.gal-item.big {
  grid-column: span 1 !important;
  grid-row: span 1 !important;
}

.gal-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s cubic-bezier(.22, 1, .36, 1);
}

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

/* Overlay */
.gal-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.85) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .3s;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.2rem;
}

.gal-item:hover .gal-overlay {
  opacity: 1;
}

.gal-caption {
  transform: translateY(6px);
  transition: transform .3s;
}

.gal-item:hover .gal-caption {
  transform: translateY(0);
}

.gal-caption h4 {
  font-size: .92rem;
  font-weight: 600;
  color: #fff;
  margin: 0;
}

.gal-caption p {
  font-size: .77rem;
  color: rgba(255, 255, 255, .8);
  margin: .2rem 0 0;
}

.gal-tag {
  display: inline-block;
  padding: .2rem .65rem;
  border-radius: 2rem;
  font-size: .7rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--purple-vivid);
  color: var(--purple-accent);
  margin-bottom: .5rem;
}

/* Expand icon */
.gal-zoom {
  position: absolute;
  top: .85rem;
  right: .85rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .25s, background .25s;
}

.gal-zoom i {
  width: .9rem;
  height: .9rem;
  color: #0F172A;
}

.gal-item:hover .gal-zoom {
  opacity: 1;
}

.gal-zoom:hover {
  background: #ffffff;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}

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

.lightbox-inner {
  position: relative;
  max-width: 900px;
  width: 100%;
  border-radius: 1.2rem;
  overflow: hidden;
  background: #FFFFFF;
  box-shadow: 0 40px 80px rgba(0, 0, 0, .25);
  transform: scale(.94);
  transition: transform .3s cubic-bezier(.22, 1, .36, 1);
}

.lightbox.open .lightbox-inner {
  transform: scale(1);
}

.lightbox-inner img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 80vh;
  object-fit: contain;
  background: #F8FAFC;
}

.lightbox-info {
  padding: 1.1rem 1.4rem;
  background: #FFFFFF;
  border-top: 1px solid #E2E8F0;
}

.lightbox-info h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #0F172A;
  margin: 0;
}

.lightbox-info p {
  font-size: .85rem;
  color: var(--muted);
  margin: .25rem 0 0;
}

.lightbox-close {
  position: absolute;
  top: .7rem;
  right: .7rem;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, .2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  font-size: 1.1rem;
  line-height: 1;
  transition: background .2s;
  z-index: 1;
}

.lightbox-close:hover {
  background: rgba(220, 38, 38, 0.8);
}

/* Nav arrows */
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #0F172A;
  transition: background .2s ease, border-color .2s ease, transform .2s ease, opacity .2s ease;
  z-index: 9020;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  user-select: none;
  padding: 0;
  outline: none;
}

.lightbox-prev {
  left: max(1.5rem, calc(50% - 450px - 4rem));
}

.lightbox-next {
  right: max(1.5rem, calc(50% - 450px - 4rem));
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: #DCFCE7;
  border-color: var(--purple-vivid);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 0 20px rgba(46, 125, 50, 0.2);
}

.lightbox-prev:active,
.lightbox-next:active {
  transform: translateY(-50%) scale(0.96);
}

.lightbox-prev:focus-visible,
.lightbox-next:focus-visible {
  border-color: var(--purple-accent);
  box-shadow: 0 0 0 3px rgba(67, 160, 71, 0.3);
}

.lightbox-prev[disabled],
.lightbox-next[disabled],
.lightbox-prev.disabled,
.lightbox-next.disabled {
  display: none !important;
  opacity: 0;
  pointer-events: none;
  cursor: default;
}

.lightbox-prev svg,
.lightbox-next svg,
.lightbox-prev i,
.lightbox-next i {
  width: 1.4rem;
  height: 1.4rem;
  stroke: #0F172A;
  pointer-events: none;
}

/* Lightbox Back Button */
.lightbox-back {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #0F172A;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
  z-index: 9020;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  user-select: none;
  outline: none;
}

.lightbox-back:hover {
  background: #DCFCE7;
  border-color: var(--purple-vivid);
  transform: translateX(-3px);
  color: #14532D;
}

.lightbox-back:active {
  transform: translateX(-1px) scale(0.97);
}

.lightbox-back svg {
  width: 1.1rem;
  height: 1.1rem;
  stroke: currentColor;
  flex-shrink: 0;
}

/* Responsive gallery */
@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .lightbox-prev {
    left: .75rem;
  }

  .lightbox-next {
    right: .75rem;
  }
}

@media (max-width: 640px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .gal-item.wide,
  .gal-item.tall,
  .gal-item.big {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
  }

  .lightbox-back {
    top: 1rem;
    left: 1rem;
    padding: 0.45rem 0.85rem;
    font-size: 0.8rem;
  }

  .lightbox-prev,
  .lightbox-next {
    width: 2.6rem;
    height: 2.6rem;
  }

  .lightbox-prev svg,
  .lightbox-next svg,
  .lightbox-prev i,
  .lightbox-next i {
    width: 1.15rem;
    height: 1.15rem;
  }
}

/* ─── Blog Section ──────────────────────────────────────────────────────── */
.blog-card {
  display: flex;
  flex-direction: column;
  border-radius: 1.25rem;
  overflow: hidden;
  text-decoration: none;
  background: #FFFFFF;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
  color: var(--fg);
  transition: transform .35s cubic-bezier(.22, 1, .36, 1), border-color .3s, box-shadow .35s;
}

.blog-card:hover {
  transform: translateY(-6px);
  border-color: var(--purple-vivid);
  box-shadow: 0 16px 36px -4px rgba(46, 125, 50, 0.12);
}

.blog-img {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #F1F5F9;
}

.blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.22, 1, .36, 1);
}

.blog-card:hover .blog-img img {
  transform: scale(1.06);
}

.blog-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-header-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  margin-bottom: .8rem;
}

.blog-tag {
  padding: .25rem .75rem;
  border-radius: 2rem;
  font-size: .75rem;
  font-weight: 600;
  background: var(--purple-soft);
  border: 1px solid rgba(67, 160, 71, 0.25);
  color: var(--purple-accent);
  text-transform: uppercase;
  letter-spacing: .03em;
}

.blog-read-time {
  font-size: .8rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: .3rem;
}

.blog-read-time i {
  width: .85rem;
  height: .85rem;
}

.blog-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: .6rem;
  color: #0F172A;
  transition: color .25s;
}

.blog-card:hover h3 {
  color: var(--purple-accent);
}

.blog-excerpt {
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 1.5rem;
  flex: 1;
}

.blog-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid #F1F5F9;
  margin-top: auto;
}

.blog-author {
  display: flex;
  align-items: center;
  gap: .65rem;
}

.author-avatar {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--grad-purple);
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-size: .82rem;
  font-weight: 600;
  color: #0F172A;
}

.post-date {
  font-size: .75rem;
  color: var(--muted);
}

.blog-arrow {
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  background: #F1F5F9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple-accent);
  transition: background .25s, transform .25s;
}

.blog-arrow i {
  width: .9rem;
  height: .9rem;
}

.blog-card:hover .blog-arrow {
  background: var(--purple-vivid);
  color: #fff;
  transform: translateX(3px);
}

/* =====================================================================
   Services & Products — Mobile Single-Card Carousel (max-width: 639px)
   ===================================================================== */
.svc-carousel-outer,
.prod-carousel-outer {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-top: 1.25rem;
  touch-action: pan-y pinch-zoom;
  -webkit-touch-callout: none;
}

.carousel-top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.1rem;
  padding: 0 2px;
}

.carousel-dots {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(100, 116, 139, 0.3);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.25s ease, width 0.25s ease;
  flex-shrink: 0;
}

.carousel-dot.active {
  width: 22px;
  background: var(--purple-accent);
  box-shadow: 0 0 8px rgba(46, 125, 50, 0.4);
}

.carousel-nav-arrows {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-left: auto;
}

.carousel-arrow-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #CBD5E1;
  color: #0F172A;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
  line-height: 1;
  -webkit-tap-highlight-color: transparent;
  flex-shrink: 0;
}

.carousel-arrow-btn svg {
  width: 1.05rem;
  height: 1.05rem;
  stroke-width: 2.6;
  display: block;
  stroke: #0F172A;
  transition: stroke 0.2s ease;
}

.carousel-arrow-btn:hover:not(:disabled) {
  transform: scale(1.06);
  box-shadow: 0 4px 14px rgba(46, 125, 50, 0.2);
  border-color: var(--purple-vivid);
  background: #DCFCE7;
}

.carousel-arrow-btn:hover:not(:disabled) svg {
  stroke: #14532D;
}

.carousel-arrow-btn:active:not(:disabled) {
  transform: scale(0.95);
}

.carousel-arrow-btn:disabled,
.carousel-arrow-btn.disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
  background: #F1F5F9;
}

.svc-carousel-track,
.prod-carousel-track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  transition: transform 0.32s cubic-bezier(0.2, 0.8, 0.25, 1);
  will-change: transform;
  align-items: stretch;
  width: 100%;
}

.svc-carousel-track>*,
.prod-carousel-track>* {
  flex: 0 0 100%;
  width: 100%;
  box-sizing: border-box;
  word-break: break-word;
  overflow-wrap: break-word;
  min-width: 0;
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}

.svc-carousel-track .reveal,
.prod-carousel-track .reveal,
.svc-carousel-track .svc-card,
.prod-carousel-track .product-card,
.svc-carousel-track .service-detail-card {
  opacity: 1 !important;
  transform: none !important;
  transition: border-color .3s ease, box-shadow .3s ease !important;
  animation: none !important;
}

@media (max-width: 991px) and (min-width: 320px) {
  .svc-card.glass {
    border: 2px solid var(--purple-accent) !important;
  }
}

@media (max-width: 639px) {
  .svc-card {
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
    min-width: 0;
    width: 100%;
  }

  .svc-card h3 {
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
  }

  .svc-card>p {
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .product-card {
    word-break: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    min-width: 0;
    width: 100%;
  }

  .product-info h3 {
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
  }

  .product-info p {
    word-break: break-word;
    overflow-wrap: break-word;
  }
}

@media (min-width: 640px) {
  .svc-carousel-outer,
  .svc-carousel-track,
  .prod-carousel-outer,
  .prod-carousel-track,
  .carousel-top-nav {
    all: unset;
    display: revert;
  }

  .product-grid {
    display: grid;
    overflow-x: unset;
    overflow-y: unset;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
    scroll-snap-type: none;
    flex-direction: unset;
  }

  .product-grid>.product-card {
    flex: unset;
    min-width: unset;
    max-width: unset;
    scroll-snap-align: none;
  }
}

/* =====================================================================
   Global WhatsApp Floating Button & Simple Chat Popup (Light Theme)
   ===================================================================== */
.whatsapp-floating-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4), 0 2px 10px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  z-index: 9990;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s ease, filter 0.25s ease;
  border: 2px solid #ffffff;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

.whatsapp-floating-btn svg {
  width: 27px;
  height: 27px;
  fill: #ffffff;
  transition: transform 0.25s ease;
}

.whatsapp-floating-btn .wa-icon-close {
  display: none;
}

.whatsapp-floating-btn.active .wa-icon-chat {
  display: none;
}

.whatsapp-floating-btn.active .wa-icon-close {
  display: block;
}

.whatsapp-floating-btn:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.55), 0 4px 14px rgba(0, 0, 0, 0.2);
  filter: brightness(1.06);
}

.whatsapp-floating-btn:active {
  transform: scale(0.94);
}

.whatsapp-floating-btn .wa-badge-pulse {
  position: absolute;
  top: 1px;
  right: 1px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #25D366;
  border: 2px solid #ffffff;
  box-shadow: 0 0 8px #25D366;
  animation: waPulse 2s infinite ease-in-out;
}

@keyframes waPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.25);
    opacity: 0.8;
  }
}

/* Simple WhatsApp Chat Popup Modal */
.wa-chat-popup {
  position: fixed;
  bottom: 88px;
  right: 24px;
  width: 360px;
  max-width: calc(100vw - 32px);
  height: 440px;
  max-height: calc(100vh - 110px);
  background: #FFFFFF;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid #E2E8F0;
  border-radius: 1.35rem;
  box-shadow: 0 24px 65px rgba(0, 0, 0, 0.15), 0 0 35px rgba(46, 125, 50, 0.08);
  display: flex;
  flex-direction: column;
  z-index: 9991;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px) scale(0.95);
  transition: opacity 0.28s cubic-bezier(0.4, 0, 0.2, 1), transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  isolation: isolate;
  font-family: inherit;
}

.wa-chat-popup.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

/* Header */
.wa-chat-header {
  background: linear-gradient(135deg, #166534 0%, #14532D 100%);
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.wa-chat-header-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.wa-chat-avatar {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  background: #ffffff;
  color: #166534;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  position: relative;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.wa-chat-avatar svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: #166534;
}

.wa-chat-avatar .wa-online-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 8.5px;
  height: 8.5px;
  border-radius: 50%;
  background: #25D366;
  border: 1.5px solid #ffffff;
}

.wa-chat-title h4 {
  font-size: 0.92rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
  line-height: 1.25;
}

.wa-chat-title p {
  font-size: 0.73rem;
  color: #BBF7D0;
  margin: 0;
  line-height: 1.2;
}

.wa-chat-close-btn {
  color: #ffffff;
  cursor: pointer;
  padding: 0.35rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
  outline: none;
}

.wa-chat-close-btn:hover {
  background: rgba(255, 255, 255, 0.28);
  color: #ffffff;
}

.wa-chat-close-btn svg {
  width: 1rem;
  height: 1rem;
}

/* Chat Body */
.wa-chat-body {
  flex: 1;
  padding: 1.1rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  background: #F8FAFC;
  overscroll-behavior: contain;
}

.wa-msg {
  max-width: 86%;
  padding: 0.8rem 1rem;
  border-radius: 1rem;
  font-size: 0.88rem;
  line-height: 1.45;
  animation: waMsgFadeIn 0.25s ease forwards;
  word-break: break-word;
}

@keyframes waMsgFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.wa-msg.agent {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  color: #0F172A;
  align-self: flex-start;
  border-bottom-left-radius: 0.2rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.wa-msg.user {
  background: var(--grad-purple);
  color: #ffffff;
  align-self: flex-end;
  border-bottom-right-radius: 0.2rem;
  box-shadow: 0 2px 8px rgba(46, 125, 50, 0.25);
}

/* Chat Footer Input */
.wa-chat-footer {
  padding: 0.75rem 0.9rem;
  background: #FFFFFF;
  border-top: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.wa-chat-footer input {
  flex: 1;
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  border-radius: 1.5rem;
  padding: 0.6rem 1rem;
  font-size: 16px;
  color: #0F172A;
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.wa-chat-footer input:focus {
  border-color: var(--purple-accent);
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.15);
}

.wa-chat-send-btn {
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  background: var(--purple-accent);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  flex-shrink: 0;
  transition: transform 0.2s, background 0.2s;
  outline: none;
  box-shadow: 0 2px 8px rgba(46, 125, 50, 0.25);
}

.wa-chat-send-btn:hover {
  background: var(--purple-mid);
  transform: scale(1.06);
}

.wa-chat-send-btn:active {
  transform: scale(0.94);
}

.wa-chat-send-btn svg {
  width: 1.05rem;
  height: 1.05rem;
  fill: currentColor;
  margin-left: 2px;
}

/* Mobile Responsive */
@media (max-width: 639px) {
  .whatsapp-floating-btn {
    bottom: 18px;
    right: 18px;
    width: 48px;
    height: 48px;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4), 0 2px 6px rgba(0, 0, 0, 0.15);
  }

  .whatsapp-floating-btn svg {
    width: 25px;
    height: 25px;
  }

  .whatsapp-floating-btn .wa-badge-pulse {
    width: 10px;
    height: 10px;
    top: 0;
    right: 0;
  }

  .wa-chat-popup {
    bottom: 76px;
    right: 12px;
    width: calc(100vw - 24px);
    height: calc(100vh - 100px);
    max-height: 440px;
    border-radius: 1.1rem;
  }

  .wa-chat-header {
    padding: 0.85rem 1rem;
  }

  .wa-chat-body {
    padding: 0.9rem;
  }
}