/* =============================================
   Modern Animations & Dynamic Shapes - Tiba
   ============================================= */

/* -----------------------------------------------
   1. Keyframe Animations
------------------------------------------------- */

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes spinReverse {
  from { transform: rotate(360deg); }
  to   { transform: rotate(0deg); }
}

@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes blobMorph {
  0%,100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
  25%      { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
  50%      { border-radius: 50% 60% 30% 60% / 30% 40% 70% 60%; }
  75%      { border-radius: 70% 30% 50% 40% / 40% 70% 30% 50%; }
}

@keyframes floatY {
  0%,100% { transform: translateY(0px); }
  50%      { transform: translateY(-18px); }
}

@keyframes floatX {
  0%,100% { transform: translateX(0px); }
  50%      { transform: translateX(-14px); }
}

@keyframes pulseBorder {
  0%,100% { transform: scale(1);   opacity: 0.5; }
  50%      { transform: scale(1.15); opacity: 0.15; }
}

@keyframes pulseGlow {
  0%,100% { box-shadow: 0 0 0 0 rgba(0, 166, 79, 0.4); }
  50%      { box-shadow: 0 0 0 20px rgba(0, 166, 79, 0); }
}

@keyframes dotBounce {
  0%,80%,100% { transform: scale(0); opacity: 0; }
  40%          { transform: scale(1); opacity: 1; }
}

@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes drawLine {
  from { stroke-dashoffset: 1000; }
  to   { stroke-dashoffset: 0; }
}

@keyframes waveFloat {
  0%,100% { transform: translateX(0); }
  50%      { transform: translateX(-40px); }
}

@keyframes scaleIn {
  from { transform: scale(0) rotate(-45deg); opacity: 0; }
  to   { transform: scale(1) rotate(0deg);   opacity: 1; }
}

@keyframes trailFade {
  0%   { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(0.5); }
}


/* -----------------------------------------------
   2. Hero Section — Decorative Shapes
------------------------------------------------- */

.hero-section {
  position: relative;
  overflow: hidden;
}

/* Spinning outer ring */
.hero-deco-ring {
  position: absolute;
  width: 420px;
  height: 420px;
  border: 2px dashed rgba(0, 166, 79, 0.25);
  border-radius: 50%;
  top: 50%;
  left: -140px;
  transform: translateY(-50%);
  animation: spin 30s linear infinite;
  pointer-events: none;
  z-index: 1;
}

.hero-deco-ring::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  background: var(--theme);
  border-radius: 50%;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
}

/* Solid inner ring — counter-rotates */
.hero-deco-ring-2 {
  position: absolute;
  width: 240px;
  height: 240px;
  border: 1.5px solid rgba(0, 166, 79, 0.35);
  border-radius: 50%;
  top: 12%;
  right: 5%;
  animation: spinReverse 18s linear infinite;
  pointer-events: none;
  z-index: 1;
}

.hero-deco-ring-2::before {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--theme2);
  border-radius: 50%;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 8px rgba(0,166,79,0.6);
}

/* Morphing blob */
.hero-deco-blob {
  position: absolute;
  width: 300px;
  height: 300px;
  background: rgba(0, 166, 79, 0.07);
  bottom: -60px;
  right: 8%;
  animation: blobMorph 10s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

/* Floating triangle */
.hero-deco-triangle {
  position: absolute;
  width: 0;
  height: 0;
  border-left: 30px solid transparent;
  border-right: 30px solid transparent;
  border-bottom: 52px solid rgba(0, 166, 79, 0.15);
  top: 15%;
  left: 15%;
  animation: floatY 5s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

/* Floating hexagon outline */
.hero-deco-hex {
  position: absolute;
  width: 80px;
  height: 80px;
  bottom: 20%;
  left: 5%;
  opacity: 0.3;
  animation: floatX 6s ease-in-out infinite 1s;
  pointer-events: none;
  z-index: 1;
}

.hero-deco-hex svg {
  width: 100%;
  height: 100%;
  animation: spin 25s linear infinite;
}

/* Dot particles cluster */
.hero-deco-dots {
  position: absolute;
  top: 20%;
  right: 18%;
  display: grid;
  grid-template-columns: repeat(5, 8px);
  gap: 10px;
  pointer-events: none;
  z-index: 1;
}

.hero-deco-dots span {
  width: 6px;
  height: 6px;
  background: var(--theme);
  border-radius: 50%;
  opacity: 0.5;
  animation: dotBounce 2.4s ease-in-out infinite;
}

.hero-deco-dots span:nth-child(1)  { animation-delay: 0s;    }
.hero-deco-dots span:nth-child(2)  { animation-delay: 0.15s; }
.hero-deco-dots span:nth-child(3)  { animation-delay: 0.3s;  }
.hero-deco-dots span:nth-child(4)  { animation-delay: 0.45s; }
.hero-deco-dots span:nth-child(5)  { animation-delay: 0.6s;  }
.hero-deco-dots span:nth-child(6)  { animation-delay: 0.3s;  }
.hero-deco-dots span:nth-child(7)  { animation-delay: 0.45s; }
.hero-deco-dots span:nth-child(8)  { animation-delay: 0.6s;  }
.hero-deco-dots span:nth-child(9)  { animation-delay: 0.75s; }
.hero-deco-dots span:nth-child(10) { animation-delay: 0.9s;  }
.hero-deco-dots span:nth-child(11) { animation-delay: 0.6s;  }
.hero-deco-dots span:nth-child(12) { animation-delay: 0.75s; }
.hero-deco-dots span:nth-child(13) { animation-delay: 0.9s;  }
.hero-deco-dots span:nth-child(14) { animation-delay: 1.05s; }
.hero-deco-dots span:nth-child(15) { animation-delay: 1.2s;  }


/* -----------------------------------------------
   3. About Section — Decorative Shapes
------------------------------------------------- */

.about-section {
  position: relative;
  overflow: hidden;
}

.about-deco-ring {
  position: absolute;
  width: 180px;
  height: 180px;
  border: 2px dashed rgba(0, 166, 79, 0.2);
  border-radius: 50%;
  bottom: 10%;
  left: 2%;
  animation: spin 22s linear infinite;
  pointer-events: none;
}

.about-deco-blob {
  position: absolute;
  width: 200px;
  height: 200px;
  background: rgba(253, 240, 217, 0.4);
  top: -60px;
  right: -40px;
  animation: blobMorph 12s ease-in-out infinite 2s;
  pointer-events: none;
}


/* -----------------------------------------------
   4. Work-Process Section — Decorative Shapes
------------------------------------------------- */

.work-process-section {
  position: relative;
  overflow: hidden;
}

.process-deco-ring {
  position: absolute;
  width: 220px;
  height: 220px;
  border: 1.5px solid rgba(253, 240, 217, 0.3);
  border-radius: 50%;
  top: -60px;
  right: -60px;
  animation: spinReverse 20s linear infinite;
  pointer-events: none;
}

.process-deco-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--theme), transparent);
  background-size: 200% 100%;
  animation: gradientShift 4s ease infinite;
  pointer-events: none;
}

/* Process cards — glassmorphism lift */
.process-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  will-change: transform;
}

.process-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0, 166, 79, 0.18);
}

.process-card .card-icon {
  transition: transform 0.4s ease;
}

.process-card:hover .card-icon {
  transform: rotate(8deg) scale(1.1);
}


/* -----------------------------------------------
   5. FAQ Section — Decorative Shapes
------------------------------------------------- */

.faq-section-2 {
  position: relative;
  overflow: hidden;
}

.faq-deco-ring {
  position: absolute;
  width: 300px;
  height: 300px;
  border: 2px dashed rgba(253, 240, 217, 0.2);
  border-radius: 50%;
  bottom: -80px;
  right: -80px;
  animation: spin 35s linear infinite;
  pointer-events: none;
}

.faq-deco-blob {
  position: absolute;
  width: 160px;
  height: 160px;
  background: rgba(0, 166, 79, 0.08);
  top: 10%;
  left: -40px;
  animation: blobMorph 9s ease-in-out infinite 1s;
  pointer-events: none;
}


/* -----------------------------------------------
   6. News Section — Card Hover Effects
------------------------------------------------- */

.news-card-items-2 {
  transition: transform 0.35s ease;
  will-change: transform;
}

.news-card-items-2:hover {
  transform: translateY(-8px);
}

.news-card-items-2 .news-image {
  overflow: hidden;
}

.news-card-items-2 .news-image img {
  transition: transform 0.6s ease;
}

.news-card-items-2:hover .news-image img {
  transform: scale(1.06);
}


/* -----------------------------------------------
   7. Theme Buttons — Pulse & Glow
------------------------------------------------- */

.theme-btn,
.theme-btn-2,
.theme-btn-3 {
  position: relative;
  will-change: transform;
}

.theme-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 166, 79, 0.35);
}

.theme-btn-2:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(253, 240, 217, 0.4);
}


/* -----------------------------------------------
   8. Section Wave Dividers
------------------------------------------------- */

.section-wave-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  pointer-events: none;
  z-index: 2;
}

.section-wave-divider svg {
  display: block;
  width: 100%;
}

.section-wave-divider svg path {
  stroke-dasharray: 1500;
  stroke-dashoffset: 1500;
  animation: drawLine 3s ease forwards;
}


/* -----------------------------------------------
   9. Animated Gradient Border on Sub-titles
------------------------------------------------- */

.sub-title,
.sub-title-2,
.sub-title-3 {
  position: relative;
  display: inline-block;
}

.sub-title::before,
.sub-title-2::before,
.sub-title-3::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--theme), var(--theme3), var(--theme));
  background-size: 200% 100%;
  animation: gradientShift 3s ease infinite;
}


/* -----------------------------------------------
   10. Tilt Card 3D Container
------------------------------------------------- */

.tilt-card {
  transform-style: preserve-3d;
  transition: transform 0.1s ease;
  will-change: transform;
}


/* -----------------------------------------------
   11. Scroll-reveal helpers
------------------------------------------------- */

.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-up.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-scale.revealed {
  opacity: 1;
  transform: scale(1);
}


/* -----------------------------------------------
   12. Animated Particle Canvas (behind sections)
------------------------------------------------- */

.particle-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}


/* -----------------------------------------------
   13. Footer Section — Decorative
------------------------------------------------- */

.footer-section-2 {
  position: relative;
  overflow: hidden;
}

.footer-deco-ring {
  position: absolute;
  width: 260px;
  height: 260px;
  border: 1.5px dashed rgba(253, 240, 217, 0.12);
  border-radius: 50%;
  top: 10%;
  right: 20%;
  animation: spin 40s linear infinite;
  pointer-events: none;
}


/* -----------------------------------------------
   14. Header modernisation — glass sticky
------------------------------------------------- */

#header-sticky.sticky {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.88) !important;
  box-shadow: 0 2px 24px rgba(0, 166, 79, 0.08);
  transition: background 0.4s ease, box-shadow 0.4s ease;
}


/* -----------------------------------------------
   15. Animated underline on nav links
------------------------------------------------- */

.main-menu nav > ul > li > a::after {
  content: '';
  display: block;
  height: 2px;
  width: 0;
  background: var(--theme);
  transition: width 0.35s ease;
  border-radius: 2px;
}

.main-menu nav > ul > li > a:hover::after,
.main-menu nav > ul > li.active > a::after {
  width: 100%;
}


/* -----------------------------------------------
   16. Spinning leaf accent for section titles
------------------------------------------------- */

.spinning-leaf {
  display: inline-block;
  animation: spin 8s linear infinite;
  vertical-align: middle;
  margin: 0 6px;
  filter: drop-shadow(0 0 4px rgba(0,166,79,0.4));
}


/* -----------------------------------------------
   17. Counter Number Highlight
------------------------------------------------- */

.counter-number {
  background: linear-gradient(135deg, var(--theme), var(--theme3));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}


/* -----------------------------------------------
   18. Responsive — hide heavy decorations on mobile
------------------------------------------------- */

@media (max-width: 768px) {
  .hero-deco-ring,
  .hero-deco-ring-2,
  .hero-deco-blob,
  .hero-deco-triangle,
  .hero-deco-hex,
  .hero-deco-dots,
  .about-deco-ring,
  .about-deco-blob,
  .process-deco-ring,
  .faq-deco-ring,
  .faq-deco-blob,
  .footer-deco-ring {
    display: none;
  }
}


/* ==========================================================
   FAQ V2 — The Knowledge Garden
   Complete section redesign with cinematic animations
========================================================== */

/* --- Keyframes specific to FAQ V2 --- */
@keyframes auroraFloat1 {
  0%   { transform: translate(0, 0)   scale(1);    }
  33%  { transform: translate(80px, -60px) scale(1.15); }
  66%  { transform: translate(-40px, 50px)  scale(0.95); }
  100% { transform: translate(0, 0)   scale(1);    }
}

@keyframes auroraFloat2 {
  0%   { transform: translate(0, 0)    scale(1);    }
  40%  { transform: translate(-90px, 70px)  scale(1.2);  }
  70%  { transform: translate(50px, -40px)  scale(0.9);  }
  100% { transform: translate(0, 0)    scale(1);    }
}

@keyframes leafDrift1 {
  0%   { transform: translateY(0)   rotate(-8deg); }
  50%  { transform: translateY(-50px) rotate(4deg);  }
  100% { transform: translateY(0)   rotate(-8deg); }
}

@keyframes leafDrift2 {
  0%   { transform: translateY(0)   rotate(12deg);  }
  50%  { transform: translateY(40px) rotate(-6deg); }
  100% { transform: translateY(0)   rotate(12deg);  }
}

@keyframes leafDrift3 {
  0%   { transform: translateY(0)   rotate(0deg);   }
  40%  { transform: translateY(-35px) rotate(10deg); }
  100% { transform: translateY(0)   rotate(0deg);   }
}

@keyframes orbPulse {
  0%,100% { transform: scale(1);    opacity: 0.5; }
  50%      { transform: scale(1.25); opacity: 0.2; }
}

@keyframes eyebrowLineGrow {
  from { width: 0; }
  to   { width: 60px; }
}

@keyframes hexBadgeSpin {
  to { transform: rotate(360deg); }
}

@keyframes ringGlow {
  0%,100% { filter: drop-shadow(0 0 6px rgba(0,166,79,0.5)); }
  50%      { filter: drop-shadow(0 0 18px rgba(0,166,79,0.9)); }
}

/* --- Section base --- */
.faq-v2 {
  background: linear-gradient(160deg, #071510 0%, #0d2b18 55%, #071510 100%);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* --- Particle canvas --- */
.faq-v2-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}

/* --- Aurora blobs --- */
.faq-aurora {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(90px);
}

.faq-aurora-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,166,79,0.22), transparent 70%);
  top: -150px;
  left: -100px;
  animation: auroraFloat1 18s ease-in-out infinite;
}

.faq-aurora-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(17,162,27,0.16), transparent 70%);
  bottom: -100px;
  right: -80px;
  animation: auroraFloat2 22s ease-in-out infinite 4s;
}

/* --- Hexagonal grid overlay --- */
.faq-hex-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}

/* --- Floating leaf silhouettes --- */
.faq-leaf {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.faq-leaf-1 {
  width: 160px;
  top: 8%;
  left: -30px;
  animation: leafDrift1 12s ease-in-out infinite;
}

.faq-leaf-2 {
  width: 100px;
  bottom: 12%;
  left: 42%;
  animation: leafDrift2 9s ease-in-out infinite 2s;
}

.faq-leaf-3 {
  width: 130px;
  top: 30%;
  right: -20px;
  animation: leafDrift3 14s ease-in-out infinite 1s;
}

/* --- Glow orbs --- */
.faq-glow-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.faq-glow-orb:first-of-type {
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(0,166,79,0.3), transparent 70%);
  top: 10%;
  right: 5%;
  animation: orbPulse 5s ease-in-out infinite;
}

.faq-glow-orb-2 {
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(127,255,196,0.2), transparent 70%);
  bottom: 15%;
  left: 8%;
  animation: orbPulse 7s ease-in-out infinite 2.5s;
}

/* --- Make all children stack above backgrounds --- */
.faq-v2 .container {
  position: relative;
  z-index: 2;
}

/* --- Section Header --- */
.faq-v2-header {
  text-align: center;
  margin-bottom: 56px;
}

.faq-v2-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  color: rgba(127,255,196,0.85);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.faq-v2-eyebrow-line {
  display: inline-block;
  height: 1px;
  width: 0;
  background: linear-gradient(90deg, transparent, rgba(0,166,79,0.8), rgba(127,255,196,0.8), transparent);
  animation: eyebrowLineGrow 1s ease 0.4s forwards;
}

.faq-v2-eyebrow-text {
  display: flex;
  align-items: center;
  gap: 8px;
}

.faq-v2-heading {
  font-family: "Instrument Sans", sans-serif;
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  /* Perspective for SplitText 3D reveal */
  perspective: 800px;
  transform-style: preserve-3d;
}

.faq-v2-subline {
  color: rgba(255,255,255,0.5);
  font-size: 16px;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* --- Two-column grid --- */
.faq-v2-grid {
  display: grid;
  grid-template-columns: 44% 1fr;
  gap: 56px;
  align-items: start;
}

@media (max-width: 991px) {
  .faq-v2-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* --- LEFT: Metrics column --- */
.faq-v2-metrics {
  position: relative;
  margin-top: 92px;
}

.faq-v2-rings-row {
  display: flex;
  justify-content: space-around;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

/* --- Individual ring --- */
.faq-v2-ring {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  cursor: default;
  transition: transform 0.3s ease;
}

.faq-v2-ring:hover {
  transform: translateY(-6px);
}

.faq-v2-ring-wrap {
  position: relative;
  width: 120px;
  height: 120px;
}

.faq-v2-svg {
  width: 120px;
  height: 120px;
  transform: rotate(-90deg); /* Start stroke at 12 o'clock */
  overflow: visible;
}

/* Track (background circle) */
.faq-v2-track {
  fill: none;
  stroke: rgba(255,255,255,0.08);
  stroke-width: 8;
}

/* Animated fill circle */
.faq-v2-fill {
  fill: none;
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 314.16;
  stroke-dashoffset: 314.16; /* starts empty — GSAP animates this */
  transition: filter 0.3s ease;
}

.faq-v2-ring:hover .faq-v2-fill {
  animation: ringGlow 2s ease-in-out infinite;
}

/* Number overlay */
.faq-v2-ring-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: baseline;
  gap: 2px;
  pointer-events: none;
}

.faq-v2-ring-num {
  font-family: "Instrument Sans", sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.faq-v2-ring-pct {
  font-size: 14px;
  font-weight: 700;
  color: rgba(127,255,196,0.9);
}

.faq-v2-ring-label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.4;
  margin: 0;
}

/* Floating image */
.faq-v2-float-img {
  text-align: center;
  margin-top: 10px;
}

.faq-v2-float-img img {
  max-width: 340px;
  width: 100%;
  filter: drop-shadow(0 12px 32px rgba(0,166,79,0.35));
}

/* --- RIGHT: Accordion column --- */
.faq-v2-accordion {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Single FAQ item */
.faq-v2-item {
  border-left: 3px solid transparent;
  background: rgba(255,255,255,0.03);
  border-radius: 10px;
  margin-bottom: 8px;
  transition: background 0.35s ease, border-color 0.35s ease,
              box-shadow 0.35s ease;
  overflow: hidden;
}

.faq-v2-item.is-open {
  border-left-color: var(--theme);
  background: rgba(0,166,79,0.07);
  box-shadow: 0 4px 32px rgba(0,166,79,0.12),
              inset 0 0 0 1px rgba(0,166,79,0.15);
}

/* Question row */
.faq-v2-q {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  background: none;
  border: none;
  padding: 18px 20px;
  cursor: pointer;
  text-align: left;
  outline: none;
}

.faq-v2-q:focus-visible {
  outline: 2px solid var(--theme);
  outline-offset: -2px;
  border-radius: 8px;
}

/* Hex number badge */
.faq-v2-num {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: rgba(0,166,79,0.15);
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  font-size: 11px;
  font-weight: 800;
  color: rgba(127,255,196,0.9);
  letter-spacing: 0.05em;
  transition: background 0.3s ease, color 0.3s ease;
}

.faq-v2-item.is-open .faq-v2-num {
  background: var(--theme);
  color: #fff;
}

.faq-v2-item:hover .faq-v2-num {
  animation: hexBadgeSpin 0.6s ease;
}

/* Question text */
.faq-v2-qtext {
  flex: 1;
  font-size: 15px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  line-height: 1.4;
  transition: color 0.3s ease;
}

.faq-v2-item.is-open .faq-v2-qtext {
  color: #fff;
}

/* Plus/minus morphing icon */
.faq-v2-icon {
  flex-shrink: 0;
  position: relative;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-v2-icon-h,
.faq-v2-icon-v {
  position: absolute;
  background: rgba(0,166,79,0.8);
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1),
              opacity 0.35s ease;
}

.faq-v2-icon-h {
  width: 14px;
  height: 2px;
}

.faq-v2-icon-v {
  width: 2px;
  height: 14px;
}

.faq-v2-item.is-open .faq-v2-icon-v {
  transform: scaleY(0);
  opacity: 0;
}

.faq-v2-item.is-open .faq-v2-icon-h {
  background: var(--theme);
}

/* Answer body — GSAP controls height */
.faq-v2-body {
  height: 0;
  overflow: hidden;
  padding: 0 20px 0 74px; /* aligns with question text past the hex badge */
}

.faq-v2-body p {
  color: rgba(255,255,255,0.62);
  font-size: 14px;
  line-height: 1.8;
  padding-bottom: 20px;
  margin: 0;
}

/* --- Responsive hide heavy bg decorations on small screens --- */
@media (max-width: 576px) {
  .faq-aurora,
  .faq-hex-bg,
  .faq-leaf,
  .faq-glow-orb,
  .faq-v2-canvas {
    display: none;
  }

  .faq-v2-rings-row {
    justify-content: center;
  }
}

