/* =========================================================
   1) GLOBAL / BASE
   ========================================================= */
html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: auto;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  overscroll-behavior-y: auto;
  touch-action: pan-y;
  /* allows only vertical scroll */
}

:root {
  --primary-green: #21aab4;      
  --secondary-green: #0a3a3f;   
  --accent-blue: #21aab4;      
  --warm-yellow: #21aab4;    
  --deep-forest: #010707;   
  --light-mint: #21aab4; 
  --glow-green: rgba(33, 180, 170, 0.3);
  --glow-blue: rgba(33, 180, 170, 0.3); 
}


/* ===== Scrollbar Styling (Dark Green Theme) ===== */
::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: #ffffff;
  /* light green background */
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #0a3a3f, #21aab4);
  /* dark green gradient */
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #21aab4, #0a3a3f);
  /* slightly brighter green on hover */
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
   background: linear-gradient(135deg, #010707 0%, #0a3a3f 50%, #1d93a0 100%);
  color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s ease;
}

/* =========================================================
   2) HEADER / NAVIGATION
   ========================================================= */
/* ========== LOGO ========== */
.logo img {
  height: 60px;
  width: auto;
  display: block;
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.1); /* logo zoom on hover */
}

.logo h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: linear-gradient(135deg, #21aab4, #0a3a3f);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.logo h2:hover {
  transform: scale(1.05);
  background: linear-gradient(135deg, #0a3a3f, #21aab4);
}

/* ========== HEADER ========== */
header {
  width: 100%;
  padding: 15px 40px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, #010707aa, #0a3a3faa);
  backdrop-filter: blur(10px);
  transition: background 0.3s ease;
}

header.scrolled {
  background: rgba(1, 7, 7, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* ========== NAV MENU ========== */
.menu {
  list-style: none;
  display: flex;
  gap: 32px;
  align-items: center;
}

.menu li {
  position: relative;
}

.menu a {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
}

/* Hover: no underline, add image zoom effect if menu item has icon */
.menu a:hover {
  color: #21aab4;
  transform: scale(1.1);
}

/* Optional: image/icon inside menu link */
.menu a img {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.menu a:hover img {
  transform: scale(1.2);
}

/* ========== LOGIN BUTTON ========== */
.login-btn a {
  background: linear-gradient(135deg, #167b75, #06bee3);
  color: #010707 !important;
  padding: 6px 28px;
  border-radius: 8px;
  font-weight: 500;
  border: 2px solid #00f0ff;/* bright cyan border */
  transition: all 0.3s ease, box-shadow 0.3s ease;
}

.login-btn a:hover {
  background: linear-gradient(90deg, #0a3a3f, #21aab4);
  color: #ffffff !important;
  transform: scale(1.08);
  border-color: #21aab4; /* brighter on hover */
  box-shadow: 0 0 12px rgba(33, 180, 170, 0.8); /* glow effect */
}

/* ========== DROPDOWN MENU ========== */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 120%;
  left: 0;
  min-width: 220px;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(10, 63, 59, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(33, 180, 170, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6),
              0 0 20px rgba(33, 180, 170, 0.25);
  animation: dropdownFade 0.35s ease forwards;
  z-index: 999;
}

.dropdown-menu li a {
  padding: 16px 22px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.dropdown-menu li a:hover {
  background: rgba(33, 180, 170, 0.15);
  color: #21aab4;
  padding-left: 28px;
}

/* Left indicator for dropdown items */
.dropdown-menu li a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  height: 0%;
  width: 3px;
  background: linear-gradient(90deg, #0a3a3f, #21aab4);
  border-radius: 4px;
  transform: translateY(-50%);
  transition: height 0.3s ease;
}

.dropdown-menu li a:hover::before {
  height: 60%;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

/* ========== HAMBURGER ========== */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  cursor: pointer;
  z-index: 1100;
}

.hamburger span {
  height: 3px;
  width: 25px;
  background: #ffffff;
  border-radius: 4px;
  transition: all 0.4s ease;
}

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

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

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

/* Dropdown animation */
@keyframes dropdownFade {
  from { opacity: 0; transform: translateY(-12px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}


/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  cursor: pointer;
  z-index: 1100;
}

.hamburger span {
  height: 3px;
  width: 25px;
  background: #fff;
  border-radius: 4px;
  transition: all 0.4s ease;
}

/* Animate to X when active */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

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


/* =========================================================
   3) HERO SECTION
   ========================================================= */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 140px 100px 60px;
  min-height: 100vh;
  background: linear-gradient(to bottom, #010707 0%, #0a3a3f 50%, #21aab4 100%);
  color: #ffffff;
  overflow: hidden;
}

.hero-content,
.hero-image {
  position: relative;
  z-index: 2;
}

/* Content */
.hero-content {
  max-width: 50%;
  animation: fadeInLeft 1s ease forwards;
}

.hero-content h1 {
  font-size: 52px;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #fff;
  text-shadow: 0 6px 30px rgba(0, 212, 255, 0.25);
}

.hero-content p {
  font-size: 18px;
  margin-bottom: 30px;
  color: #ccefff;
}

/* Gradient Text */
.gradient-text {
  font-size: 48px; /* adjust as needed */
  font-weight: bold;

  /* Gradient colors */
  background: linear-gradient(270deg, #f8f9f9, #0ee4dd, #149498, #f8f9f9);
  background-size: 600% 600%; /* big size for smooth movement */

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  animation: gradientFlow 6s linear infinite; 
}


@keyframes gradientFlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
/* Buttons */
.hero-buttons {
  display: flex;
  gap: 20px;
}

.hero-buttons a {
  padding: 6px 28px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
}

/* Primary button - cyan */
.hero-buttons a:first-child {
  background: linear-gradient(90deg, #0a3a3f, #21aab4);
  color: #010707;
}

.hero-buttons a:first-child:hover {
  background: linear-gradient(90deg, #004f7f, #00e0ff);
  transform: scale(1.08);
  color: #fff;
}

/* Secondary button - outline cyan */
.hero-buttons a:last-child {
  background: transparent;
  color: #34fff1;
  border: 2px solid #30fff1;
}

.hero-buttons a:last-child:hover {
  background: linear-gradient(135deg, #0a3a3f, #21aab4);
  border-color: transparent;
  color: #fff;
}

/* Hero Image - right side */
.hero-image {
  max-width: 35%;
  animation: fadeInRight 1s ease forwards;
}

.hero-image img {
  width: 100%;        /* scale image down relative to container */
  max-width: 300px;  /* absolute maximum width */
  height: auto;      /* maintain aspect ratio */
  animation: heroImagePulse 4.8s ease-in-out infinite;
  filter: brightness(1.12) drop-shadow(0 0 24px rgba(33, 180, 170, 0.55));
  border-radius: 20px;
  transform-origin: center center;
}

/* Animated background particles (cyan version) */
.trading-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.trading-shapes span {
  position: absolute;
  bottom: -20px;
  width: 8px;
  height: 8px;
  background: radial-gradient(circle, #21aab4, #0a3a3f);
  border-radius: 50%;
  opacity: 0.7;
  animation: rise 12s linear infinite;
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.6);
}

/* Floating animation */
@keyframes rise {
  0% { transform: translateY(0) scale(1); opacity: 0.2; }
  25% { opacity: 0.6; }
  50% { transform: translateY(-50vh) scale(1.2); opacity: 0.9; }
  100% { transform: translateY(-120vh) scale(0.8); opacity: 0; }
}

@keyframes chainFlow {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -140; }
}

/* Gradient flow animation for text */


/* =======================
   Responsive
======================= */
@media (max-width: 900px) {
  .hero {
    flex-direction: column; /* stack content vertically */
    text-align: center;
    padding: 100px 20px 40px;
  }

  .hero-content {
    max-width: 100%;
    margin-bottom: 40px;
  }

  .hero-content h1 {
    font-size: 38px;
  }

  .hero-content p {
    font-size: 16px;
  }

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

  .hero-image {
    max-width: 80%;
    margin-bottom: 30px;
  }
}



/* =========================================================
   4) ABOUT SECTION
   ========================================================= */

.about {
  position: relative;
  padding: 50px 30px;
  z-index: 1;
  /* Radial gradient background */
  background: radial-gradient(
    circle at center,       /* center of the section */
    #21aab4 0%,             /* middle bright color */
    #0a3a3f 70%             /* edges dark color */
  );
  transition: background 0.3s ease;
  overflow: hidden;
}

/* Fixed Glowing Coins in About Background */
.about-coins {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  /* behind content */
  pointer-events: none;
}

.about-coins img {
  position: absolute;
  width: 120px;
  opacity: 0.2;
  /* transparent */
  filter: drop-shadow(0 0 12px rgba(255, 217, 0, 0.817)) drop-shadow(0 0 24px rgba(255, 217, 0, 0.655));
  animation: floatUpDown 6s ease-in-out infinite;
}

/* Slight variation per coin */
.about-coins img:nth-child(1) {
  top: 25%;
  left: 10%;
  width: 100px;
  animation-delay: 3s;
}

/*coin 1*/
.about-coins img:nth-child(2) {
  top: 5%;
  left: 40%;
  width: 120px;
  animation-delay: 1s;
}

/*coin 2*/
.about-coins img:nth-child(3) {
  top: 45%;
  left: 45%;
  width: 90px;
  animation-delay: 2s;
}

/*coin 3*/

/* ===== Responsive Coins ===== */
@media (max-width: 1024px) {
  .about-coins img {
    width: 80px !important;
  }
}

@media (max-width: 768px) {
  .about-coins img {
    width: 60px !important;
  }
}

@media (max-width: 480px) {
  .about-coins img {
    width: 40px !important;
  }
}

/* Floating animation */
@keyframes floatUpDown {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
    /* gentle lift */
  }
}

.about-container {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
  flex-wrap: wrap;
}

/* Left: Info Grid */
.about-info {
  flex: 1 1 45%;
  opacity: 1;
  transform: translateX(0);
  transition: all 0.8s ease;
}

.about-info.show {
  opacity: 1;
  transform: translateX(0);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}

/* Image wrapper */
.about-image {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible;
}

/* Image */
.about-image img {
  width: 100%;
  max-width: 450px;
  border-radius: 20px;
  position: relative;
  z-index: 2;
  transition: transform 0.8s ease, filter 0.5s ease;
}

.about-image img:hover {
  transform: scale(1.05);
  filter: brightness(1.05);
}

/* Gradient glow bg */
.about-image::before {
  content: "";
  position: absolute;
  top: -30px;
  left: -30px;
  right: -30px;
  bottom: -30px;
  border-radius: 50%;
  z-index: 1;
  filter: blur(60px);
  animation: rotateGlow 12s linear infinite;
}

/* Text */
/* About Section Heading */
.about-text {
  width: 100%; /* full width of its parent */
  padding: 30px; /* inner spacing */
  border: 2px solid #00ffcc; /* solid border, change color as needed */
  border-radius: 12px; /* optional: rounded corners */
  box-sizing: border-box; /* ensure padding doesn't break width */
  margin-bottom: 30px; /* spacing from other sections */
}

/* Highlighted span in heading */
/* About heading text gradient: white → cyan */
.about-text h2 {
  font-size: 40px;
  font-weight: 1000;
  margin-bottom: 20px;
  line-height: 1.3;
  letter-spacing: -0.5px;
  position: relative;
  background: linear-gradient(135deg, #ffffff, #20c6c0); /* gradient from white to cyan */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; /* makes the text itself show the gradient */
  background-clip: text; /* fallback for non-webkit */
}

.about-text p {
  margin-bottom: 15px;
  font-size: 16px;
  line-height: 1.7;
  color: #ffffff;
  text-align: justify;
}

/* Stats */
.about-stats {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.stat-card {
  background: linear-gradient(145deg, #0f2a2a, #0c1f1f);
  padding: 25px 20px;
  border-radius: 12px;
  text-align: center;
  color: #fff;
  width: 150px;
  position: relative;
  overflow: hidden;
}

.stat-card h3 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.stat-card p {
  font-size: 1rem;
  margin: 0;
}

/* === Stat Card Variants (Dark Green Theme) === */

/* 1️⃣ Deep Forest Green */
.stat-card.green-dark {
  background: linear-gradient(145deg, #0b2e2ccc, #218989cc);
  color: #21aab4;
}

.stat-card.green-dark h3 {
  color: #22c5c5;
  /* bright emerald accent */
}

.stat-card.green-dark p {
  color: #a7f3f3;
}


/* 2️⃣ Emerald Green */
.stat-card.green-emerald {
  background: linear-gradient(145deg, #010707cc, #0a3a3fcc);
  color: #eafff3;
}

.stat-card.green-emerald h3 {
  color: #34d3d3;
}

.stat-card.green-emerald p {
  color: #6ee7df;
}


/* 3️⃣ Olive / Rich Green */
.stat-card.green-olive {
  color: #f0fffd;
}

.stat-card.green-olive h3 {
  color: #52b4b7;
}

.stat-card.green-olive p {
  color: #95d5d4;
}

/* Right: Features Grid */
/* Right Side Features Container */
.about-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 25px;
  margin-top: 10px;
  padding: 10px;
  width: 100%;
  margin-bottom: 5px;
}

/* Circle container */
/* Full-page circle container */
.circle-container {
  position: relative;
  width: 100%;
  min-height: 780px;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  
}

/* SVG connecting lines */
.connect-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.connect-lines path {
  fill: none;
  stroke: rgba(168, 245, 236, 0.85);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 2 12;
  filter: drop-shadow(0 0 6px rgba(33, 180, 170, 0.45));
  animation: chainFlow 6s linear infinite;
}

.line-right-bottom { animation-delay: -1.5s; }
.line-bottom-left { animation-delay: -3s; }
.line-left-top { animation-delay: -4.5s; }

/* Feature cards common style */
.feature-card {
  position: absolute;
  width: clamp(220px, 24vw, 300px);
  max-width: 300px;
  padding: 20px;
  text-align: center;
  background: linear-gradient(135deg, #16e9e2, #149498);
  color: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  transition: transform 0.3s ease, background 0.3s ease;
  z-index: 2;
}

.feature-card:hover {
  background: linear-gradient(135deg, #0ee4dd, #0a7f7f);
  box-shadow: 0 15px 30px rgba(14,228,221,0.7);
}

/* Positioning cards in circular layout */
.feature-card.top {
  top: 28px;
  left: 50%;
  transform: translateX(-50%);
}

.feature-card.right {
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
}

.feature-card.bottom {
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
}

.feature-card.left {
  left: 28px;
  top: 50%;
  transform: translateY(-50%);
}

.feature-card.top:hover,
.feature-card.bottom:hover {
  transform: translateX(-50%) scale(1.06);
}

.feature-card.left:hover,
.feature-card.right:hover {
  transform: translateY(-50%) scale(1.06);
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .circle-container {
    min-height: unset;
    height: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }

  .connect-lines {
    display: none;
  }

  .circle-container .feature-card {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    inset: auto !important;
    width: 100%;
    max-width: none;
    min-height: 190px;
    padding: 15px;
    transform: none !important;
    margin: 0;
  }

  .circle-container .feature-card:hover {
    transform: translateY(-4px) !important;
  }
}
/* About Section Button */
.about-btn {
  display: block;       /* make it block so margin works */
  margin-left: auto;    /* push it to the right */
  width: fit-content;
  padding: 10px 22px;
  font-size: 16px;
  font-weight: 600;
  color: #070707;
  background: linear-gradient(135deg, var(--primary-green), var(--accent-blue));
  border: 2px solid #00f0ff;
  border-radius: 10px;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 5px 15px rgba(17, 203, 197, 0.4);
  text-align: right;
}


/* Hover Effect */
.about-btn:hover {
  transform: translateY(-3px) scale(1.05);
  color: #fff;
  background: linear-gradient(90deg, #0a3a3f, #21aab4);
}

/* Ripple Effect */
.about-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: left 0.4s ease;
}

.about-btn:hover::after {
  left: 100%;
}

/* Responsive Tweaks */
@media (max-width: 1024px) {
  .about-features {
    gap: 20px;
  }

  .feature-card {
    padding: 20px;
  }
}

@media (max-width: 768px) {
  .feature-card h3 {
    font-size: 18px;
  }

  .feature-card i {
    font-size: 32px;
  }
}

/* About Responsive */
@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-container {
    flex-direction: column;
    gap: 40px;
  }

  .about-info {
    text-align: center;
    transform: translateY(40px);
  }
}

/* Responsive layout for smaller screens */
@media (max-width: 768px) {
  .about-stats {
    flex-direction: column;
    align-items: center;
  }

  .stat-card {
    width: 100%;
    max-width: 400px;
    /* optional: keeps them nicely centered */
  }
}


/* =========================================================
   5) RESPONSIVE NAV (MOBILE ≤ 900px)
   ========================================================= */

@media (max-width: 1200px) {
  .hamburger {
    display: flex;
  }

  nav {
    position: absolute;
    top: 65px;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 26, 0.95);
    backdrop-filter: blur(10px);
    display: none;
    flex-direction: column;
    text-align: center;
    animation: slideDown 0.4s ease forwards;
  }

  nav.active {
    display: flex;
    padding: 20px;
  }

  .menu {
    flex-direction: column;
    gap: 20px;
  }

  .menu li {
    width: 100%;
  }

  .menu li a {
    padding: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .dropdown-menu {
    display: none;
  }

  .dropdown.open .dropdown-menu {
    display: block;
  }

  .login-btn a {
    display: block;
    width: 80%;
    margin: 16px auto;
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-15px);
  }

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

/* =========================================================
   6) UTILITY EFFECT CLASSES
   ========================================================= */

/* Zoom Out: shrink and fade */
@keyframes zoomOut {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(0.8); opacity: 0; }
}

/* Zoom In: grow slowly from bigger and fade in */
@keyframes zoomIn {
  0% { transform: scale(1.1); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* Classes to apply the animations */
.zoom-out {
  animation: zoomOut 0.4s ease forwards;
}

.zoom-in {
  animation: zoomIn 1s ease forwards; /* slower zoom in */
}
/* =========================================================
   7) ANIMATIONS (single definitions, no duplicates)
   ========================================================= */

@keyframes heroImagePulse {

  0%,
  100% {
    transform: translateY(0) scale(0.9);
    filter: brightness(1.12) drop-shadow(0 0 24px rgba(33, 180, 170, 0.55));
  }

  50% {
    transform: translateY(-12px) scale(1.08);
    filter: brightness(1.45) drop-shadow(0 0 46px rgba(33, 180, 170, 0.95));
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes moveDots {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 100px 100px;
  }
}

@keyframes auroraShift {
  0% {
    transform: translateY(0) translateX(0) scale(1);
    opacity: 0.9;
    background-position:
      15% 30%,
      85% 20%,
      60% 80%;
  }

  100% {
    transform: translateY(-2%) translateX(1%) scale(1.02);
    opacity: 1;
    background-position:
      25% 40%,
      75% 25%,
      55% 70%;
  }
}

@keyframes dotsDrift {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(100px, 100px, 0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }

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

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }

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

@keyframes fadeRight {
  from {
    opacity: 0;
    transform: translateX(80px);
  }

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

@keyframes fadeLeft {
  from {
    opacity: 0;
    transform: translateX(-80px);
  }

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

@keyframes fadeOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }

  to {
    opacity: 0;
    transform: translateY(20px);
  }
}

@keyframes gradientBG {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

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

/*------------------------------------------------------------------------------------------------------------*/
/* ==========================
   Products Section
   ========================== */
#products {
  padding: 40px 20px;

  color: #3e2d9e;
  text-align: center;
  position: relative;
  overflow: hidden;
  max-width: 1300px;
  margin: 0 auto;
  margin-bottom: 30px;
}

/* ================================
   Floating Trading Images (Up & Down Only)
   ================================ */
.products-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  /* behind content */
  pointer-events: none;
}

.products-bg img {
  position: absolute;
  width: 140px;
  opacity: 0.2;
  /* transparent */

  animation: floatUpDown 4s ease-in-out infinite;
}

/* Variations per image */
.products-bg img:nth-child(1) {
  top: 10%;
  left: 10%;
  width: 75px;
  animation-delay: 0s;
}

.products-bg img:nth-child(2) {
  top: 5%;
  right: 10%;
  width: 75px;
  animation-delay: 0s;
}

.products-bg img:nth-child(3) {
  bottom: 1%;
  left: 70%;
  width: 75px;
  animation-delay: 0;
}

/* Up & Down animation only */
@keyframes floatUpDown {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-25px);
  }
}

/* Responsive scaling */
@media (max-width: 1024px) {
  .products-bg img {
    width: 90px !important;
  }
}

@media (max-width: 768px) {
  .products-bg img {
    width: 70px !important;
  }
}

@media (max-width: 480px) {
  .products-bg img {
    width: 50px !important;
  }
}

/* Heading */
#products h2 {
  font-size: 40px; 
  font-weight: 1000;
  background: linear-gradient(135deg, var(--primary-green), var(--accent-blue));
  /* Purple → Blue */
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
  position: relative;
  line-height: 1.3;
  letter-spacing: -0.5px;
  padding: 20px;
}

#products h2 span {
  background: rgb(255, 255, 255);
  /* Purple → Blue */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  /* fallback for non-webkit */
  font-weight: 1000;
  font-size: 40px;
}

/* ===== Slider ===== */
.products-slider {
  display: flex;
  transition: transform 0.6s ease;
  will-change: transform;
  cursor: grab;
  gap: 40px;
  width: 100%;
}

/* ===== Product Card ===== */
.product-card {
  flex: 0 0 calc(50% - 20px);
  /* Show 2 cards fully on desktop */
  background: linear-gradient(145deg, #010707cc, #0a3a3fcc);
  border: 1px solid rgba(0, 255, 136, 0.2);
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  transition: transform 0.4s ease, box-shadow 0.4s ease, opacity 0.4s ease;
  opacity: 0.6;
  text-align: center;
  backdrop-filter: blur(20px);
}

.product-card.show {
  opacity: 1;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  border: solid;
  border-color: #4dd882;
}

/* Image */
.product-card .product-img {
  width: 100%;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 12px;
  transition: 0.3s ease;
}

/* Title */
.product-card h3 {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #ffffff;
  transition: 0.3s ease;
}

/* Description */
.product-card p {
  font-size: 1rem;
  color: #d7d7d79d;
  line-height: 1.5;
  margin-bottom: 20px;
}

/* Button */
.product-card .arrow-link {
  display: inline-block;
  padding: 12px 24px;
  background: linear-gradient(135deg, var(--primary-green), var(--accent-blue));
  color: #000000;
  font-weight: 600;
  border-radius: 8px;
  transition: background 0.3s ease, transform 0.3s ease;
  text-decoration: none;
}

.product-card .arrow-link:hover {
  background: linear-gradient(90deg, #0a3a3f, #21aab4);
  transform: translateY(-3px);
  color: #fff;
}

/* ===== Slider Dots ===== */
.slider-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 55px;
  gap: 10px;
}

.slider-dots span {
  width: 10px;
  height: 10px;
  background: #666;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.slider-dots span.active {
  background: #00ffb7;
  /* Neon Yellow Active */
  transform: scale(1.2);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .products-slider {
    gap: 20px;
  }

  .product-card {
    flex: 0 0 calc(50% - 10px);
  }
}

@media (max-width: 768px) {
  .product-card {
    flex: 0 0 100%;
    /* Only 1 card per view on mobile */
  }

  .product-card .product-img {
    height: 160px;
  }

}

/* ===========================
   🚀 Onboarding / Get Started Section
   =========================== */

/* Section Base */
/* SECTION */
#create-account {
  padding: 60px 20px;
  background: #0a3a3f;
  color: #fff;
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

#create-account h2 {
  font-size: 40px;
  font-weight: 900;
  text-align: center;
  margin-bottom: 50px;
}

#create-account h2 span {
  color: #00ffff; /* cyan for emphasis */
}

/* STEPS WRAPPER */
.steps-wrapper {
  display: flex;
  flex-direction: column;
  position: relative;
  margin: 0 auto;
  padding-left: 50px; /* space for vertical line */
}

/* Vertical line (timeline) */
.steps-wrapper::before {
  content: '';
  position: absolute;
  left: 25px; /* adjust for step circle center */
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, #21aab4, #0a3a3f);
  border-radius: 2px;
}

/* INDIVIDUAL STEP */
.step {
  position: relative;
  margin-bottom: 50px;
  display: flex;
  align-items: flex-start;
}

/* Step number circle */
.step-number {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #21aab4, #00ffff);
  border-radius: 50%;
  color: #070707;
  font-weight: 700;
  font-size: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  left: 0;
  top: 0;
  box-shadow: 0 5px 15px rgba(0,255,204,0.4);
}

/* Step content */
.step-content {
  margin-left: 80px;
  background: rgba(20, 158, 168, 0.6);
  padding: 20px 25px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,255,204,0.2);
  position: relative;
}

/* Step titles */
.step-content h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: #ffffff;
}

/* Step description */
.step-content p {
  font-size: 16px;
  color: #e0ffff;
  line-height: 1.5;
}

/* Alternate left/right style for graph-like look */
.step.left .step-content {
  margin-left: 80px;
}
.step.right {
  flex-direction: row-reverse;
}
.step.right .step-content {
  margin-left: 0;
  margin-right: 80px;
}

/* Responsive */
@media (max-width: 768px) {
  .steps-wrapper {
    padding-left: 0;
  }
  .step, .step.right {
    flex-direction: row;
  }
  .step-content {
    margin-left: 70px !important;
    margin-right: 0 !important;
  }
}


/* ================= PRICING SECTION ================= */
/* ===============================
   Pricing Section
=============================== */
#pricing {
  padding: 80px 20px;
  background: #0a1a1a; /* dark background */
  color: #f8f9f9;
  font-family: 'Poppins', sans-serif;
}

#pricing h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
}

#pricing h2 span {
  color: #00c2b8; /* highlight color */
}

/* Grid layout */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  justify-items: center;
}

/* Pricing Card */
.pricing-card {
  background: #111;
  border: 1px solid #222;
  border-radius: 16px;
  overflow: hidden;
  padding: 30px 20px;
  width: 100%;
  max-width: 320px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 194, 184, 0.4);
  border: 1px solid #00c2b8;
}

.pricing-card.highlight-card {
  border: 2px solid #00c2b8;
  background: linear-gradient(145deg, #011f1f, #022b2b);
  box-shadow: 0 15px 35px rgba(0, 194, 184, 0.6);
  transform: translateY(-5px);
}

/* Price */
.pricing-card .price {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #00c2b8;
}

/* Plan name */
.pricing-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 20px;
}

/* Features List */
.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 25px 0;
}

.pricing-card ul li {
  font-size: 0.95rem;
  padding: 10px 0;
  border-bottom: 1px solid #222;
  color: #ccc;
  transition: color 0.3s ease;
}

.pricing-card ul li:last-child {
  border-bottom: none;
}

.pricing-card ul li:hover {
  color: #00c2b8;
}

/* Choose Plan Button */
.pricing-card .btn {
  display: inline-block;
  padding: 12px 25px;
  background: #00c2b8;
  color: #fff;
  border-radius: 8px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease;
}

.pricing-card .btn:hover {
  background: #00e0d2;
  transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 768px) {
  #pricing h2 {
    font-size: 2rem;
    margin-bottom: 40px;
  }
}

@media (max-width: 480px) {
  #pricing {
    padding: 60px 10px;
  }

  .pricing-card {
    padding: 25px 15px;
  }

  .pricing-card .price {
    font-size: 1.8rem;
  }

  .pricing-card h3 {
    font-size: 1.3rem;
  }
}

/* ===== Testimonial Section ===== */
/* SECTION */
#testimonials {
  padding: 60px 20px;
  background: linear-gradient(135deg, #0a3a3f, #21aab4);
  color: #fff;
  overflow: hidden;
  position: relative;
}

/* Header */
#testimonials .section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

#testimonials h2 {
  font-size: 36px;
  font-weight: 900;
}

#testimonials h2 span {
  color: #00ffff;
}

#testimonials .btn {
  padding: 12px 28px;
  background: linear-gradient(135deg, #21aab4, #00ffff);
  border-radius: 10px;
  border: 2px solid #25f8fc;
  text-decoration: none;
  color: #070707;
  font-weight: 600;
  transition: transform 0.3s ease;
}

#testimonials .btn:hover {
  transform: scale(1.05);
}

/* TESTIMONIAL WRAPPER */
.testimonial-wrapper {
  overflow: hidden;
  position: relative;
}

.testimonial-container {
  display: flex;
  flex-wrap: nowrap;
}

.testimonial-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 30px;
  animation: scrollLeft 30s linear infinite; /* smooth continuous scroll */
}

/* CARD */
.testimonial-card {
  background: #021b1b;
  border-radius: 20px;
  padding: 25px;
  width: 280px;
  flex-shrink: 0;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
}

.client-top img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
  border: 3px solid #0ee4dd;
}

.client-top h4 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
}

.client-top .location {
  display: block;
  font-size: 0.85rem;
  color: #a8f0f0;
  margin-bottom: 5px;
}

.stars {
  color: #f4c150;
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.testimonial-card p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #c8e8e8;
  margin-top: 0;
}


/* Dots */
.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
}

.testimonial-dots span {
  width: 10px;
  height: 10px;
  background: rgba(255,255,255,0.3);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.testimonial-dots span.active {
  background: #00ffff;
}

/* SCROLL ANIMATION */
@keyframes scrollLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .testimonial-card {
    flex: 0 0 250px;
  }
}

/* FAQ Section */
#faq {
  position: relative;
  background: rgb(10, 26, 26);
  overflow: hidden;
  padding: 50px 20px;
  /* smaller side padding for mobile */
}
/* FAQ Heading Style */
#faq h2 {
  font-size: 42px;              /* Increase size */
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;

  background: linear-gradient(to bottom, #2bffed, #1b948c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  letter-spacing: 1px;
}
/* Floating background images */
.faq-floating {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.faq-floating img {
  position: absolute;
  width: 100px;
  opacity: 0.15;

  animation: floatUpDown 6s ease-in-out infinite;
}

.faq-floating img:nth-child(1) {
  top: 10%;
  left: 68%;
}

.faq-floating img:nth-child(2) {
  top: 20%;
  left: 85%;
  width: 80px;
}

.faq-floating img:nth-child(3) {
  top: 23%;
  left: 55%;
  width: 90px;
}

@keyframes floatUpDown {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }
}

/* FAQ Layout */
/* ============================= */
/* ✅ FAQ CARD STYLE UPDATE */
/* ============================= */

.faq-container.full-width {
  width: 100%;
  max-width: 1100px;
}

/* Each FAQ as card */
.faq-item {
  background: linear-gradient(145deg, #0f2a2a, #0c1f1f);
  border-radius: 12px;
  margin-bottom: 20px;
  overflow: hidden;
  border: 1px solid rgba(33, 180, 170, 0.2);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  transition: 0.3s ease;
}

/* Hover effect */
.faq-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(33, 180, 170, 0.2);
}

/* Question */
.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 20px 25px;
  font-size: 18px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: #ffffff;
}

/* Divider line (STRAIGHT LINE) */
.faq-answer {
  display: none;
  padding: 20px 25px;
  color: #d7f5f2;
  border-top: 1px solid rgba(33, 180, 170, 0.3);
  background: rgba(0, 0, 0, 0.2);
}

/* Active open */
.faq-item.active .faq-answer {
  display: block;
}

/* Arrow */
.faq-icon {
  font-size: 18px;
  transition: transform 0.3s ease;
  color: #21aab4;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

@keyframes glowPulse {

  0%,
  100% {
    transform: scale(1.2);
    opacity: 0.6;
  }

  50% {
    transform: scale(1.4);
    opacity: 0.9;
  }
}

/* RESPONSIVE DESIGN */

/* Tablets */
@media (max-width: 1024px) {
  .faq-wrapper {
    grid-template-columns: 1fr;
    /* stack columns */
    text-align: center;
  }

  .faq-image {
    margin-top: 40px;
  }

  .faq-floating img {
    width: 70px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  #faq {
    padding: 30px 15px;
  }
  #faq h2 {
    font-size: 28px;
  }

  .faq-question {
    font-size: 0.95rem;
    padding: 14px 16px;
  }

  .faq-answer p {
    font-size: 1rem;
  }

  .faq-floating img {
    width: 50px;
    opacity: 0.1;
  }

  .faq-image::before {
    width: 250px;
    height: 250px;
  }
}


/* ============================= */
/* 🚀 NEW FAQ ANIMATION ADDED */
/* ============================= */

/* FAQ Items visible by default */
.faq-item {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Optional reveal hook (kept for compatibility) */
.faq-item.show {
  opacity: 1;
  transform: translateY(0);
}

/* Image re-animate trigger */
.faq-image.active img {
  animation: appearScale 1.5s ease forwards;
}

/* =========================
   Partner Section Styling
========================= */
.partner-section {
  position: relative;
  /* mint background */
  overflow: hidden;
}

/* ===== Logo Slider ===== */
.partner-slider {
  overflow: hidden;
  width: 100%;
  margin: 0%;
  padding: 20px;
  background: transparent;

}

.partner-track img {
  height: 40px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.partner-track img:hover {
  transform: scale(1.1);
}

.partner-track {
  display: flex;
  gap: 50px;
  align-items: center;
  animation: slideRight 20s linear infinite;
  animation-play-state: running;
  /* default running */
}

.partner-track.paused {
  animation-play-state: paused;
  /* stop animation when class added */
}

/* ===== Animation Keyframes ===== */
@keyframes slideRight {
  0% {
    transform: translateX(-50%);
  }

  100% {
    transform: translateX(0);
  }
}

/* =========================
   Responsive Design
========================= */
@media (max-width: 992px) {
  .partner-track {
    gap: 50px;
  }

  .partner-track img {
    height: 50px;
  }
}

@media (max-width: 768px) {
  .partner-track {
    gap: 40px;
  }

  .partner-track img {
    height: 40px;
  }
}

@media (max-width: 576px) {
  .partner-section {
    padding: 40px 0;
  }

  .partner-track {
    gap: 30px;
  }

  .partner-track img {
    height: 30px;
  }
}

/* Footer Styles */
.footer {
  background: radial-gradient(circle at center, #021b1b 0%, #033032 50%, #0a6969 100%);
  /* dark green gradient */
  color: #fff;
  padding: 60px 25px 20px;
  line-height: 1.6;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.footer-col h4 {
  font-size: 18px;
  margin-bottom: 15px;
  font-weight: 600;
  position: relative;
}

.footer-col h4::after {
  content: "";
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, #0a3a3f, #21aab4);
  display: block;
  margin-top: 8px;
}

.footer-col ul li {
  list-style: none;
  margin-bottom: 10px;
  font-size: 15px;
  display: flex;
  align-items: center;
  color: #ddd;

  /* Ensure icon stays left and text shrinks instead of overflowing */
  flex-wrap: nowrap;
  /* no wrapping to next line */
  overflow-wrap: anywhere;
  /* allow breaking within long words if necessary */
}

.footer-col ul li i {
  margin-right: 10px;
  /* gap between icon and text */
  flex-shrink: 0;
  /* icon never shrinks */
}

.footer-col ul li a {
  color: #bbb;
  text-decoration: none;
  transition: 0.3s;

  /* allow long emails to break within container */
  overflow-wrap: anywhere;
  word-break: break-word;
}

.footer-col ul li a:hover {
  color: #95fede;
}

/* Logo & Social */
.footer-logo {
  max-width: 140px;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  /* circle size */
  height: 40px;
  border: solid 1px;
  border-radius: 50%;
  /* makes it a circle */
  background: #22222200;
  /* default circle background */
  color: #bbb;
  /* icon color */
  font-size: 16px;

  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: #12f3bf;
  /* circle background on hover */
  color: #fff;
  /* icon color on hover */
  transform: scale(1.1);
  /* slight zoom effect */
  box-shadow: 0 4px 12px rgba(18, 243, 191, 0.4);
}

/* ================= LEGAL SECTION ================= */
.footer-legal {
  background: transparent;
  color: #fff;
  padding: 20px 12px;
  font-family: 'Poppins', sans-serif;
  text-align: center;
}

.legal-titles {
  display: flex;
  gap: 20px;
  justify-content: center; /* center row */
  flex-wrap: wrap;
}

/* Each title with same fixed width */
.legal-title {
  flex: 0 1 280px;
  text-align: center;
  margin: 0;
  font-size: 16px;
  padding: 10px 20px;
  border-radius: 30px;
  border: 2px solid #00f0ff; 
  font-weight: 600;
  color: #010707;
  background: linear-gradient(135deg, #167b75, #06bee3);
  transition: all 0.3s ease;
  cursor: pointer;
}


/* Hover effect */
.legal-title:hover {
  background: linear-gradient(90deg, #0a3a3f, #21aab4);
  color: #ffffff !important;
  transform: scale(1.08);
  border-color: #21aab4; /* brighter on hover */
  box-shadow: 0 0 12px rgba(33, 180, 170, 0.8); /* glow effect */
}

/* Active state */
.legal-title.active {
  background: linear-gradient(90deg, #0a3a3f, #21aab4);
  color: #fff;
}

.legal-desc-container {
  margin-top: 14px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.legal-desc-container .legal-desc {
  font-size: 13px; /* smaller font size */
  line-height: 1.5; /* keep it readable */
  color: #e0e0e0; /* optional: softer color for readability */
  margin-top: 5px;
}

.legal-desc {
  display: none;
  margin-top: 8px;
  line-height: 1.6;
  color: #d7f5f2;
  text-align: center;
}

@media (max-width: 768px) {
  .footer-legal {
    padding: 16px 10px;
  }

  .legal-titles {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .legal-title {
    flex: 1 1 auto;
    width: 100%;
    max-width: none;
    padding: 10px 14px;
    font-size: 14px;
    border-radius: 12px;
  }

  .legal-desc-container {
    margin-top: 10px;
  }

  .legal-desc-container .legal-desc,
  .legal-desc {
    font-size: 12px;
    line-height: 1.55;
    text-align: left;
  }
}

@media (max-width: 500px) {
  .legal-title {
    font-size: 13px;
    padding: 9px 12px;
  }

  .legal-desc-container .legal-desc,
  .legal-desc {
    font-size: 11.5px;
  }
}
/* Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  gap: 20px;
}

.footer-bottom p {
  font-size: 13px;
  color: #888;
  flex-shrink: 0;
}

.footer-bottom .partner-section {
  flex: 1;
  min-width: 0;
}

.footer-bottom .partner-slider {
  padding: 0;
  background: transparent;
}

.footer-bottom .footer-social {
  gap: 15px;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 500px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

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

  .footer-col h4::after {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 500px) {
  .footer-logo {
    margin-left: 0;
    margin-right: auto;
    /* aligns left */
    display: block;
    /* ensure margin works */
    text-align: left;
    /* optional if needed inside container */
  }
}


/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 70px;
  /* moved up so it doesn’t overlap */
  right: 30px;
  width: 45px;
  height: 45px;
  border: none;
  border-radius: 50%;
  background: black;
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  z-index: 1100;
  box-shadow: 0 4px 12px rgba(38, 58, 47, 0.3);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {

  transform: scale(1.1);
}



/* ================= TESTIMONIALS ================= */
#testimonials {
  padding: 10px 20px;

  padding-top: 80px;
  transition: background 0.3s ease, color 0.3s ease;
}



/* ================= HEADER ================= */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1300px;
  margin: 0 auto 40px;
  flex-wrap: wrap;
  gap: 15px;
}

.section-header h2 {
  font-size: 40px;
  font-weight: 1000;
  color: #e5e5ec;
  position: relative;
  line-height: 1.3;
  letter-spacing: -0.5px;
  transition: color 0.3s ease;
}

.section-header h2 span {
  background: linear-gradient(135deg, var(--primary-green), var(--accent-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 1000;
  font-size: 40px;
}

.section-header .btn {
  padding: 10px 20px;
  background: linear-gradient(90deg, #0a3a3f, #21aab4);
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.section-header .btn:hover {
  background: linear-gradient(90deg, #010707, #0a3a3f);
}

/* ================= WRAPPER ================= */
.testimonial-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
}

.nav-btn {
  background: linear-gradient(90deg, #0a3a3f, #21aab4);
  color: #fff;
  border: none;
  font-size: 1.8rem;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  cursor: pointer;
  transition: 0.3s;
  flex-shrink: 0;
}

.nav-btn:hover {
  background: linear-gradient(90deg, #010707, #0a3a3f);
}

/* ================= CONTAINER ================= */
.testimonial-container {
  overflow: hidden;
  flex: 1;
}

.testimonial-track {
  display: flex;
  transition: transform 0.6s ease;
  padding: 20px 0 60px 0;
}

/* ================= CARD ================= */
.testimonial-card {
  background: #cdeedb12;
  padding: 25px;
  border: 1px solid #0b4c37;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  flex: 0 0 calc(33.333% - 20px);
  margin: 0 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  border: solid;
  border-color: #0a966a;
}



/* ================= TEXT ================= */
.testimonial-card p {
  font-size: 0.95rem;
  color: #dddcdc;
  margin-bottom: 20px;
  line-height: 1.6;
  transition: color 0.3s ease;
}


/* ================= CLIENT INFO ================= */
.client-info {
  display: flex;
  align-items: center;
  border-top: 1px solid #eee;
  padding-top: 15px;
  transition: border-color 0.3s ease;
}

.client-info img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #eee;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.client-info img:hover {
  transform: scale(1.1);
  border-color: #0a966c;
}

.client-info h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #9dfbe0;
  transition: color 0.3s ease;
}


.client-info span {
  font-size: 0.85rem;
  color: #c4c3c4;
  transitrgb:(230, 228, 231)lor 0.3s ease;
}



/* ===== Video Popup ===== */
.video-popup {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
}

.video-popup-content {
  position: relative;
  width: 90%;
  max-width: 800px;
  background: #000;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

#closeVideo {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 28px;
  color: #fff;
  cursor: pointer;
  z-index: 10;
  transition: 0.3s;
}

#closeVideo:hover {
  color: #d33;
}
