/* GenTe — Modern General Website Template */
:root {
  /* Backgrounds — deep dark green theme based on logo */
  --bg: #030d07;
  --bg-2: #061410;
  --bg-3: #0d2b1a;

  /* Foreground */
  --fg: #edfff5;
  --muted: #7abf9a;

  /* Green palette from logo */
  --green-light: #C8FFE0;
  --green-accent: #1AE060;
  --green-vivid: #00D26A;
  --green-mid: #00A86B;
  --green-dark: #005C3A;
  --green-xdark: #021208;

  /* Aliases for legacy --cyan-* usage */
  --cyan-light: #C8FFE0;
  --cyan-accent: #1AE060;
  --cyan-vivid: #00D26A;
  --cyan-mid: #00A86B;
  --cyan-dark: #005C3A;
  --cyan-xdark: #021208;

  /* Soft fills & borders */
  --green-soft: rgba(0, 210, 106, 0.13);
  --green-glow: rgba(0, 210, 106, 0.35);
  --cyan-soft: rgba(0, 210, 106, 0.13);
  --cyan-glow: rgba(0, 210, 106, 0.35);
  --border: rgba(26, 224, 96, 0.22);
  --border-bright: rgba(87, 255, 184, 0.38);

  /* Gradients */
  --grad-cyan: linear-gradient(135deg, #1AE060 0%, #00D26A 50%, #00A86B 100%);
  --grad-green: linear-gradient(135deg, #1AE060 0%, #00D26A 50%, #00A86B 100%);
  --grad-text: linear-gradient(135deg, #ffffff 0%, #C8FFE0 45%, #1AE060 100%);
  --grad-bg: radial-gradient(ellipse at 50% 0%, rgba(0, 168, 107, 0.40) 0%, transparent 68%);
  --grad-section: linear-gradient(180deg, rgba(0, 92, 58, 0.10) 0%, transparent 100%);

  /* Shadows */
  --shadow-glow: 0 0 60px -8px rgba(26, 224, 96, 0.55);
  --shadow-card: 0 20px 60px -20px rgba(0, 0, 0, 0.85);

  --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(0, 168, 107, 0.35) 0%,
      transparent 62%),
    radial-gradient(ellipse 55% 35% at 85% 95%,
      rgba(0, 92, 58, 0.22) 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(--cyan-accent);
  font-size: .78rem;
  letter-spacing: .3em;
  text-transform: uppercase;
}

.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;
}

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: linear-gradient(160deg,
      rgba(0, 168, 107, 0.32) 0%,
      rgba(0, 92, 58, 0.22) 40%,
      rgba(2, 12, 8, 0.80) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card),
    inset 0 1px 0 rgba(224, 255, 255, 0.18),
    inset 0 -1px 0 rgba(0, 168, 107, 0.12);
}

/* 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-cyan {
  background: var(--grad-cyan);
  color: #021208;
  font-weight: 600;
  box-shadow: var(--shadow-glow);
}

.btn-cyan:hover {
  filter: brightness(1.15);
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(26, 224, 96, 0.65);
}

.btn-outline {
  border: 1px solid var(--border);
  background: rgba(2, 36, 18, 0.4);
  backdrop-filter: blur(6px);
}

.btn-outline:hover {
  background: rgba(0, 168, 107, 0.45);
  border-color: var(--cyan-vivid);
}

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

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

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

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

.ghost-link {
  padding: .5rem 1rem;
  font-size: .9rem;
  color: rgba(245, 240, 255, 0.85);
}

.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(26, 224, 96, 0.3);
  color: var(--muted);
}

.icon-btn:hover {
  color: var(--fg);
  border-color: var(--cyan-accent);
}

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

/* Dot / pulse */
.dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--cyan-vivid);
  display: inline-block;
  box-shadow: 0 0 10px var(--cyan-vivid);
}

.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(26, 224, 96, 0.25);
  background: linear-gradient(90deg,
      rgba(0, 168, 107, 0.30) 0%,
      rgba(1, 8, 5, 0.85) 50%,
      rgba(0, 168, 107, 0.30) 100%);
  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-cyan {
    font-size: .76rem;
    line-height: 1.2;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
  }

  .announce-item .link-cyan i,
  .announce-item .link-cyan 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-cyan {
    font-size: .78rem;
    line-height: 1.2;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
  }

  .announce-item .link-cyan i,
  .announce-item .link-cyan 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;
}

.nav-links {
  display: none;
  gap: .25rem;
}

.nav-links a {
  padding: .5rem 1rem;
  border-radius: 999px;
  font-size: .88rem;
  color: var(--muted);
  transition: color .2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #ffffff;
}

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

/* Hide the CTA "Get Started" 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(26, 224, 96, 0.35);
  background: rgba(0, 168, 107, 0.25);
  color: var(--cyan-accent);
  cursor: pointer;
  transition: background .2s, border-color .2s;
  flex-shrink: 0;
}

.menu-btn:hover {
  background: rgba(0, 168, 107, 0.45);
  border-color: var(--cyan-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: linear-gradient(180deg, rgba(4, 72, 44, 0.55), rgba(2, 16, 10, 0.85));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(26, 224, 96, 0.2);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}

.nav-mobile a {
  padding: .85rem 1.1rem;
  border-radius: .9rem;
  font-size: .95rem;
  color: rgba(245, 240, 255, 0.8);
  transition: background .2s, color .2s;
  border-bottom: 1px solid rgba(26, 224, 96, 0.07);
}

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

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

/* "Get Started" 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: linear-gradient(135deg, var(--cyan-mid), var(--cyan-vivid));
  color: #fff;
  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);
  background: linear-gradient(135deg, var(--cyan-mid), var(--cyan-vivid));
  color: #fff;
}

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

.logo-img {
  width: 2.2rem;
  height: 2.2rem;
  object-fit: contain;
  border-radius: 0.5rem;
}



.logo-word {
  font-weight: 700;
  letter-spacing: .15em;
  font-size: 1.2rem;
  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 {
    width: 1.9rem;
    height: 1.9rem;
  }

  .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: .35;
  filter: saturate(1.2) contrast(1.1);
}

/* 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: .35;
  filter: saturate(1.2) contrast(1.1);
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 20%, rgba(77, 208, 194, 0.45), transparent 65%),
    radial-gradient(ellipse 50% 40% at 15% 60%, rgba(0, 168, 107, 0.30), transparent 60%),
    radial-gradient(ellipse 50% 40% at 85% 70%, rgba(0, 92, 58, 0.25), transparent 60%),
    linear-gradient(180deg, rgba(2, 8, 6, 0.55), rgba(2, 8, 6, 0.35) 50%, var(--bg));
}

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

.chip {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .35rem .9rem;
  border-radius: 999px;
  font-size: .78rem;
}

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

.hero-title {
  margin-top: 2rem;
  font-size: clamp(2.6rem, 8vw, 5.4rem);
  line-height: 1.02;
  font-weight: 600;
  letter-spacing: -.02em;
}

.hero-sub {
  margin: 1.4rem auto 0;
  max-width: 620px;
  color: var(--muted);
  font-size: 1.1rem;
}

.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(--cyan-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;
  transition: transform .3s, border-color .3s, box-shadow .3s;
}

.card:hover {
  border-color: rgba(87, 255, 184, 0.55);
  box-shadow: 0 8px 32px rgba(26, 224, 96, 0.18);
}

.card h3 {
  font-size: 1.1rem;
}

.card p {
  margin-top: .5rem;
  font-size: .88rem;
}

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

.card.sm .ico {
  width: 1.2rem;
  height: 1.2rem;
  color: var(--cyan-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(--cyan-soft);
  box-shadow: inset 0 0 0 1px rgba(26, 224, 96, 0.3);
  color: var(--cyan-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;
}

/* New hexagonal icon tile variant (distinct from stock rounded-square tiles) */
.icon-tile--hex {
  border-radius: 0;
  clip-path: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
  background: linear-gradient(160deg, var(--cyan-soft), rgba(26,224,96,.04));
  box-shadow: 0 0 16px rgba(26,224,96,.18);
}

.icon-tile--spin svg {
  animation: icon-spin 6s linear infinite;
  transform-origin: center;
}

@keyframes icon-spin {
  to { transform: rotate(360deg); }
}

/* ---- Card 1: winding roadmap with numbered milestones ---- */
.visual-path {
  padding-top: .25rem;
  margin-top: 1.6rem;
}

.path-glow {
  display: none;
}

.path-flow {
  animation: dash-flow 1.8s linear infinite;
}

@keyframes dash-flow {
  to { stroke-dashoffset: -28; }
}

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

.path-node {
  position: absolute;
  display: grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 999px;
  background: rgba(6, 20, 12, .92);
  border: 2px solid var(--cyan-accent);
  color: var(--cyan-accent);
  font-family: var(--font-display, inherit);
  font-weight: 700;
  font-size: .85rem;
  box-shadow: 0 2px 10px rgba(0,0,0,.35), 0 0 0 4px rgba(26,224,96,.06);
  transition: transform .2s ease;
}

.path-node.n3--active {
  width: 2.1rem;
  height: 2.1rem;
  background: rgba(26,224,96,.12);
  box-shadow: 0 0 14px rgba(26,224,96,.55), 0 0 0 5px rgba(26,224,96,.1);
}

.path-node.n1 { left: 4%; bottom: 4%; }
.path-node.n2 { left: 31%; top: 42%; }
.path-node.n3 { left: 58%; top: 20%; }

.path-flag-svg {
  position: absolute;
  right: 20%;
  top: 8%;
  width: 15%;
  height: 20%;
}

.path-flag {
  position: absolute;
  right: 7%;
  top: 4%;
  display: grid;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 50% 50% 50% 4px;
  background: var(--grad-cyan);
  animation: flag-zoom 1.8s ease-in-out infinite;
}

@keyframes flag-zoom {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.18); }
}

/* ---- Card 2: rising bar chart ---- */
.visual-bars {
  display: flex;
  align-items: flex-end;
}

.bars-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  width: 100%;
  height: 100%;
  padding-top: 2.2rem;
}

.bar-col {
  flex: 1;
  height: var(--h);
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, rgba(26,224,96,.85), rgba(26,224,96,.15));
  border: 1px solid rgba(26,224,96,.35);
  transform-origin: bottom;
  animation: bar-grow .7s cubic-bezier(.34,1.56,.64,1) both, bar-sway 2.6s ease-in-out infinite;
}

.bar-col:nth-child(1) { animation-delay: .05s, 1.5s; }
.bar-col:nth-child(2) { animation-delay: .15s, 1.6s; }
.bar-col:nth-child(3) { animation-delay: .25s, 1.7s; }
.bar-col:nth-child(4) { animation-delay: .35s, 1.8s; }
.bar-col:nth-child(5) { animation-delay: .45s, 1.9s; }
.bar-col:nth-child(6) { animation-delay: .55s, 2.0s; }
.bar-col:nth-child(7) { animation-delay: .65s, 2.1s; }

@keyframes bar-grow {
  from { transform: scaleY(0); opacity: 0; }
  to { transform: scaleY(1); opacity: 1; }
}

@keyframes bar-sway {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(1.05); }
}

.bar-col--peak {
  background: var(--grad-cyan);
  box-shadow: var(--shadow-glow);
  border: none;
  animation: bar-grow .7s cubic-bezier(.34,1.56,.64,1) both, bar-peak-pulse 2.4s ease-in-out .75s infinite;
}

@keyframes bar-peak-pulse {
  0%, 100% { box-shadow: var(--shadow-glow); }
  50% { box-shadow: var(--shadow-glow), 0 0 20px rgba(26,224,96,.55); }
}

.chart-badge {
  position: absolute;
  right: 12px;
  top: 4px;
  background: var(--cyan-soft);
  color: var(--cyan-accent);
  border: 1px solid rgba(26, 224, 96, .3);
  padding: .15rem .5rem;
  border-radius: .35rem;
  font-size: .72rem;
  animation: badge-pulse 2.4s ease-in-out infinite;
}

@keyframes badge-pulse {
  0%, 100% { box-shadow: 0 0 0 rgba(26,224,96,0); }
  50% { box-shadow: 0 0 10px rgba(26,224,96,.35); }
}

/* ---- Card 3: mentor <-> student connection ---- */
.visual-duo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6%;
}

.duo-avatar {
  display: grid;
  place-items: center;
  border-radius: 999px;
  flex-shrink: 0;
}

.duo-mentor {
  width: 3.2rem;
  height: 3.2rem;
  background: var(--grad-cyan);
  box-shadow: var(--shadow-glow);
}

.duo-student {
  width: 2.4rem;
  height: 2.4rem;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border);
}

.duo-link {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}

.duo-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--cyan-vivid);
  box-shadow: 0 0 8px var(--cyan-vivid);
  animation: pulse-glow 2.4s ease-in-out infinite;
}

.duo-dot.d2 { animation-delay: .3s; }
.duo-dot.d3 { animation-delay: .6s; }

/* 4. Trusted */
.trusted {
  padding: 56px 0;
  border-top: 1px solid var(--border-bright);
  border-bottom: 1px solid var(--border-bright);
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(0, 168, 107, 0.18) 30%,
      rgba(0, 168, 107, 0.18) 70%,
      transparent 100%);
  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.75;
  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: rgba(245, 240, 255, .55);
  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(26, 224, 96, 0.28);
  font-size: 1.4rem;
}

.brand-item:hover {
  color: rgba(245, 240, 255, 0.95);
}

@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;
}

#services.section {
  padding-top: 48px;
}

/* Subtle cyan 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(0, 168, 107, 0.14) 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(26, 224, 96, 0.18) 20%,
      rgba(26, 224, 96, 0.55) 45%,
      var(--cyan-vivid) 50%,
      rgba(26, 224, 96, 0.55) 55%,
      rgba(26, 224, 96, 0.18) 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(--cyan-vivid);
  box-shadow:
    0 0 10px 2px rgba(26, 224, 96, 0.7),
    0 0 24px 6px rgba(77, 208, 194, 0.4);
  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(--cyan-accent);
  box-shadow:
    0 0 8px 3px rgba(87, 255, 184, 0.8),
    0 0 20px 8px rgba(26, 224, 96, 0.4);
}

.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 40px rgba(26, 224, 96, 0.25);
  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(2, 10, 7, 0.85);
  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(--cyan-accent);
}

.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(--cyan-vivid);
  box-shadow: var(--shadow-card), 0 0 30px rgba(26, 224, 96, 0.2);
}

.service .learn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: auto;
  padding-top: 1.4rem;
  color: var(--cyan-accent);
  font-size: .88rem;
  font-weight: 500;
  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 — matches reference image */
.svc-card {
  padding: 2.2rem;
  border-radius: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  color: var(--fg);
  transition: transform .35s, border-color .3s, box-shadow .35s;
}

.svc-card:hover {
  transform: translateY(-6px);
  border-color: var(--cyan-mid);
  box-shadow: var(--shadow-card), 0 0 36px rgba(26, 224, 96, 0.22);
}

.svc-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-top: 1.2rem;
  letter-spacing: -.01em;
  color: var(--fg);
}

.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: var(--muted);
}

.svc-features i {
  width: .95rem;
  height: .95rem;
  color: var(--cyan-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: 500;
  border: 1px solid var(--border);
  background: rgba(2, 36, 18, 0.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #ffffff;
  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: rgba(0, 168, 107, 0.45);
  border-color: var(--cyan-vivid);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(26, 224, 96, 0.25);
}

.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);
  }
}

/* Center a single product card without altering its computed size:
   it keeps occupying one column's worth of width, just shifted to
   the middle column at the 3-column breakpoint. */
.product-grid--center {
  justify-items: center;
}

@media (min-width: 640px) and (max-width: 1023px) {
  .product-grid--center .product-card:only-child {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(50% - 0.75rem);
  }
}

@media (min-width: 1024px) {
  .product-grid--center .product-card:only-child {
    grid-column: 2;
  }
}

.product-card {
  display: flex;
  flex-direction: column;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(87, 255, 184, 0.5);
  box-shadow: var(--shadow-card), 0 0 35px rgba(26, 224, 96, 0.22);
}

.product-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-2);
}

.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(3, 13, 7, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(26, 224, 96, 0.25);
}

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

.product-dot:hover {
  background: rgba(245, 240, 255, 0.7);
}

.product-dot.active {
  width: 22px;
  background: var(--cyan-accent);
  box-shadow: 0 0 10px var(--cyan-accent);
}

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

.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(--cyan-soft);
  color: var(--cyan-vivid);
  border: 1px solid rgba(26, 224, 96, 0.2);
  padding: 0.15rem 0.55rem;
  border-radius: 0.4rem;
}

.product-info h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--fg);
}

.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 rgba(26, 224, 96, 0.12);
  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;
}

@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;
}

/* ==== FIX: Center stats on mobile 320px+ without affecting tablet/desktop ==== */
@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;
}

.port-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-2);
}

.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, var(--bg), rgba(3, 13, 7, .2), transparent);
}

.tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(3, 13, 7, 0.85);
  backdrop-filter: blur(8px);
  padding: .3rem .7rem;
  border-radius: 999px;
  font-size: .72rem;
  z-index: 2;
  border: 1px solid rgba(26, 224, 96, 0.2);
  color: var(--cyan-accent);
}

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

.port-meta i {
  width: 1rem;
  height: 1rem;
  color: var(--cyan-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(26, 224, 96, .4), 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: var(--bg);
  border: 1px solid rgba(26, 224, 96, .4);
  color: var(--cyan-accent);
  font-size: .85rem;
  font-weight: 500;
}

.step h3 {
  margin-top: 1.4rem;
}

.step p {
  margin-top: .5rem;
  font-size: .88rem;
}

/* 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;
  border: 1px solid var(--border);
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}

.testimonial:hover {
  transform: translateY(-5px);
  border-color: rgba(87, 255, 184, 0.5);
  box-shadow: var(--shadow-card), 0 0 35px rgba(26, 224, 96, 0.22);
}

.stars {
  color: var(--cyan-accent);
  letter-spacing: .1em;
  font-size: 0.95rem;
}

.quote {
  margin-top: 1rem;
  font-size: 1.05rem;
  line-height: 1.45;
  color: var(--fg);
  flex: 1;
}

.testimonial footer {
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(26, 224, 96, 0.12);
  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(--cyan-vivid);
  box-shadow: 0 0 12px rgba(26, 224, 96, 0.3);
  flex-shrink: 0;
}

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

.testimonial .name {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--fg);
}

/* Pricing */
.tier {
  padding: 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
}

.tier.featured {
  box-shadow: var(--shadow-card), 0 0 0 1px rgba(26, 224, 96, .6);
}

.badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-cyan);
  color: #021208;
  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;
}

.tier li i {
  width: 1rem;
  height: 1rem;
  color: var(--cyan-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;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 1.5rem;
  font-weight: 500;
  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(--cyan-accent);
  transition: transform .3s;
}

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

.faq-item p {
  padding: 0 1.5rem 1.4rem;
  font-size: .9rem;
}

/* Final CTA */
.cta-card {
  position: relative;
  overflow: hidden;
  border-radius: 2rem;
  padding: 5rem 1.5rem;
  text-align: center;
}

@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: .35;
}

.cta-veil {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(26, 224, 96, 0.2), transparent 70%),
    linear-gradient(180deg, rgba(3, 13, 7, 0.72), rgba(3, 13, 7, 0.85));
}

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

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

.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;
  }
}

/* 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: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(26, 224, 96, .25);
  color: var(--cyan-accent);
  flex-shrink: 0;
  transition: transform .25s, background .25s, border-color .25s;
}

.contact-list li:hover .icon-mini {
  transform: translateY(-2px);
  background: rgba(26, 224, 96, .22);
  border-color: var(--cyan-vivid);
  color: #ffffff;
}

.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 var(--border);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-card);
  background: var(--bg-2);
}

.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: invert(90%) hue-rotate(180deg) opacity(0.85) contrast(1.1);
  transition: opacity .3s, filter .3s;
}

.map:hover iframe {
  opacity: 0.98;
  filter: invert(90%) hue-rotate(180deg) opacity(0.98) contrast(1.05);
}

.contact-form {
  padding: 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .65rem;
  border-radius: 1.5rem;
}

.contact-form label {
  display: block;
}

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

.contact-form input,
.contact-form select,
.contact-form textarea {
  margin-top: .45rem;
  width: 100%;
  border-radius: .75rem;
  border: 1px solid rgba(26, 224, 96, 0.22);
  background: rgba(3, 18, 10, 0.75);
  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: dark;
}

.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='%231AE060' 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: dark;
}

.contact-form select option {
  background: #061410;
  color: #edfff5;
  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 var(--border);
  background: rgba(2, 16, 10, 0.7);
  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(--cyan-vivid);
  background: rgba(4, 25, 14, 0.85);
  color: var(--fg);
}

.custom-select.active .custom-select-trigger {
  box-shadow: 0 0 0 3px rgba(26, 224, 96, 0.2);
}

.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(--cyan-vivid);
  background: rgba(2, 18, 10, 0.96);
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8), 0 0 24px rgba(26, 224, 96, 0.2);
  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: var(--muted);
  cursor: pointer;
  transition: background .2s, color .2s;
}

.custom-option:hover,
.custom-option.selected {
  background: rgba(26, 224, 96, 0.18);
  color: #ffffff;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--cyan-vivid);
  background: rgba(4, 25, 14, 0.85);
  box-shadow: 0 0 0 3px rgba(26, 224, 96, 0.2);
}

.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 var(--border-bright);
  background: linear-gradient(180deg,
      rgba(0, 92, 58, 0.25) 0%,
      rgba(2, 8, 6, 0.95) 40%);
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan-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;
}

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

.footer-brand p {
  margin-top: 1rem;
  max-width: 260px;
}

.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: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(26, 224, 96, .22);
  color: var(--fg);
  transition: transform .25s, background .25s, border-color .25s, color .25s, box-shadow .25s;
}

.socials a:hover {
  transform: translateY(-3px);
  background: rgba(26, 224, 96, .2);
  border-color: var(--cyan-vivid);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(26, 224, 96, .3);
}

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

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

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

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

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

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

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

.foot-links a:hover {
  color: var(--fg);
}

/* 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 var(--border);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: background .22s, color .22s, border-color .22s;
}

.gal-filter:hover,
.gal-filter.active {
  background: rgba(77, 208, 194, 0.2);
  border-color: var(--cyan-vivid);
  color: var(--cyan-light);
}

/* 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%;
  /* Reveal animation base */
  opacity: 0;
  transform: scale(.96);
  transition: opacity .55s ease, transform .55s ease;
}

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

/* 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(10, 6, 20, 0.82) 0%, transparent 55%);
  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, .65);
  margin: .2rem 0 0;
}

.gal-tag {
  display: inline-block;
  padding: .2rem .65rem;
  border-radius: 2rem;
  font-size: .7rem;
  font-weight: 500;
  background: rgba(77, 208, 194, 0.35);
  border: 1px solid var(--cyan-vivid);
  color: var(--cyan-light);
  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, .12);
  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: #fff;
}

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

.gal-zoom:hover {
  background: rgba(77, 208, 194, 0.55);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(0, 0, 0, 0.88);
  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;
  box-shadow: 0 40px 80px rgba(0, 0, 0, .6);
  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: #0a0616;
}

.lightbox-info {
  padding: 1.1rem 1.4rem;
  background: rgba(20, 12, 40, 0.95);
  border-top: 1px solid var(--border);
}

.lightbox-info h4 {
  font-size: 1rem;
  font-weight: 600;
  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(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .15);
  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(180, 0, 60, 0.4);
}

/* Nav arrows */
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 50%;
  background: rgba(22, 14, 38, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  transition: background .2s ease, border-color .2s ease, transform .2s ease, opacity .2s ease;
  z-index: 9020;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
  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: rgba(77, 208, 194, 0.55);
  border-color: var(--cyan-accent, #1ae060);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 0 25px rgba(26, 224, 96, 0.4);
}

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

.lightbox-prev:focus-visible,
.lightbox-next:focus-visible {
  border-color: var(--cyan-accent, #1ae060);
  box-shadow: 0 0 0 3px rgba(26, 224, 96, 0.5);
}

.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: #ffffff;
  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: rgba(22, 14, 38, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 500;
  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.4);
  user-select: none;
  outline: none;
}

.lightbox-back:hover {
  background: rgba(77, 208, 194, 0.55);
  border-color: var(--cyan-accent, #1ae060);
  transform: translateX(-3px);
  box-shadow: 0 0 20px rgba(26, 224, 96, 0.4);
}

.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;
  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(--cyan-vivid);
  box-shadow: var(--shadow-card), 0 0 32px rgba(26, 224, 96, 0.2);
}

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

.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-img-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 30%, rgba(26, 224, 96, 0.25), transparent 70%),
    linear-gradient(135deg, #180e30 0%, #0c0718 100%);
  color: var(--cyan-accent);
}

.blog-img-fallback i {
  width: 3.5rem;
  height: 3.5rem;
  opacity: .8;
}

.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: rgba(26, 224, 96, 0.15);
  border: 1px solid rgba(26, 224, 96, 0.3);
  color: var(--cyan-light);
  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: var(--fg);
  transition: color .25s;
}

.blog-card:hover h3 {
  color: var(--cyan-light);
}

.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 var(--border);
  margin-top: auto;
}

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

.author-avatar {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan-vivid), var(--cyan-mid));
  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: var(--fg);
}

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

.blog-arrow {
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  background: rgba(26, 224, 96, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-accent);
  transition: background .25s, transform .25s;
}

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

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

/* =====================================================================
   Services & Products — Mobile Single-Card Carousel (max-width: 639px)
   Top-right circular arrow navigation matching reference design.
   Desktop layout (.grid-3, .product-grid) is fully restored at 640px+.
   ===================================================================== */

/* ---- Carousel outer wrappers --------------------------------------- */
.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 header with arrows on top-right ------------------ */
.carousel-top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.1rem;
  padding: 0 2px;
}

/* Dots on the left */
.carousel-dots {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(26, 224, 96, 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(--cyan-accent);
  box-shadow: 0 0 10px rgba(87, 255, 184, 0.4);
}

/* Arrow group aligned to the top-right */
.carousel-nav-arrows {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-left: auto;
}

/* Circular clean white arrow buttons from reference design */
.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 rgba(255, 255, 255, 0.95);
  color: #110d24;
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.25);
  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: #110d24;
  transition: stroke 0.2s ease;
}

/* Hover & active states for enabled buttons */
.carousel-arrow-btn:hover:not(:disabled) {
  transform: scale(1.06);
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.35);
  background: #ffffff;
}

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

/* Disabled state: muted, greyed out, non-clickable */
.carousel-arrow-btn:disabled,
.carousel-arrow-btn.disabled {
  opacity: 0.32;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.7);
}

.carousel-arrow-btn:disabled svg,
.carousel-arrow-btn.disabled svg {
  stroke: #7c7490;
}

/* Hide the top slider arrows + dot indicator for the product carousel on mobile */
@media (max-width: 639px) {
  .prod-carousel-outer .carousel-top-nav {
    display: none;
  }
}

/* ---- Inner tracks: clean, smooth horizontal transition without rising animation ------------- */
.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%;
}

/* Each card fills 100% of the viewport container without any bottom-to-top rising animation */
.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;
}

/* Strip out reveal translateY on carousel cards so cards never rise from bottom */
.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;
}

/* ---- Mobile text wrapping & alignment fixes ------------------------ */
@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;
  }

  .service-detail-card {
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
    min-width: 0;
    width: 100%;
  }

  .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;
  }
}

/* =====================================================================
   Restore full grid layouts on Desktop (min-width: 640px)
   ===================================================================== */
@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
   Matches GenTe Lavender Glassmorphic Design System
   ===================================================================== */
.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.45), 0 2px 10px rgba(0, 0, 0, 0.5);
  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: 1.5px solid rgba(255, 255, 255, 0.45);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  outline: none;
  animation: waBtnGlow 2.8s infinite ease-in-out;
}

@keyframes waBtnGlow {
  0%, 100% {
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.45);
  }
  50% {
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.7), 0 0 0 14px rgba(37, 211, 102, 0);
  }
}

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

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

.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.75), 0 4px 14px rgba(0, 0, 0, 0.6);
  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 #030d07;
  box-shadow: 0 0 8px #25D366;
  animation: waPulse 2s infinite ease-in-out;
}

@keyframes waPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
    box-shadow: 0 0 6px #25D366;
  }

  50% {
    transform: scale(1.25);
    opacity: 0.85;
    box-shadow: 0 0 14px #25D366;
  }
}

/* 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: rgba(3, 15, 8, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(26, 224, 96, 0.28);
  border-radius: 1.35rem;
  box-shadow: 0 24px 65px rgba(0, 0, 0, 0.88), 0 0 35px rgba(26, 224, 96, 0.15);
  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, rgba(6, 32, 18, 0.95), rgba(3, 16, 9, 0.98));
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(26, 224, 96, 0.18);
}

.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: linear-gradient(135deg, #1AE060 0%, #00A86B 100%);
  color: #021208;
  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(26, 224, 96, 0.35);
}

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

.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: var(--cyan-accent);
  margin: 0;
  line-height: 1.2;
}

.wa-chat-close-btn {
  color: var(--cyan-light);
  cursor: pointer;
  padding: 0.35rem;
  border-radius: 50%;
  background: rgba(26, 224, 96, 0.1);
  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(26, 224, 96, 0.25);
  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: rgba(2, 10, 5, 0.65);
  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: rgba(6, 28, 16, 0.85);
  border: 1px solid rgba(26, 224, 96, 0.22);
  color: var(--fg);
  align-self: flex-start;
  border-bottom-left-radius: 0.2rem;
}

.wa-msg.user {
  background: var(--grad-cyan);
  color: #021208;
  font-weight: 500;
  align-self: flex-end;
  border-bottom-right-radius: 0.2rem;
  box-shadow: 0 3px 12px rgba(26, 224, 96, 0.25);
}

/* Chat Footer Input */
.wa-chat-footer {
  padding: 0.75rem 0.9rem;
  background: rgba(4, 20, 11, 0.95);
  border-top: 1px solid rgba(26, 224, 96, 0.18);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.wa-chat-footer input {
  flex: 1;
  background: rgba(2, 12, 6, 0.75);
  border: 1px solid rgba(26, 224, 96, 0.25);
  border-radius: 1.5rem;
  padding: 0.6rem 1rem;
  font-size: 16px;
  color: var(--fg);
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.wa-chat-footer input:focus {
  border-color: var(--cyan-accent);
  box-shadow: 0 0 10px rgba(26, 224, 96, 0.25);
}

.wa-chat-send-btn {
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  background: var(--cyan-accent);
  color: #021208;
  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(26, 224, 96, 0.35);
}

.wa-chat-send-btn:hover {
  background: #ffffff;
  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.4);
  }

  .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;
  }
}