/* =========================================================
   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: #EE007D;      
  --secondary-green: #0a3f0a;   
  --accent-blue: #EE007D;      
  --warm-yellow: #EE007D;    
  --deep-forest: #010707;   
  --light-mint: #EE007D; 
  --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:  #EE007D;
  /* dark green gradient */
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background:  #af0146;
  /* slightly brighter green on hover */
}

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

body {
   background: #ffffff;
  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: #ffffff;
  -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, #ffffff, #EE007D);
}

/* ========== HEADER ========== */
header {
  width: 100%;
  padding: 8px 40px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 30px;
  background: #f5f5f5;
  backdrop-filter: blur(10px);
  transition: background 0.3s ease;
  overflow: visible;
  min-height: 70px;
}

/* Diagonal background shape on the right */
header::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 30%;
  height: 100%;
  background: linear-gradient(135deg, #EE007D 0%, #b8005f 100%);
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
  z-index: 0;
}

header.scrolled {
  background: rgba(245, 245, 245, 0.95);
  border-bottom: 1px solid rgba(238, 0, 125, 0.2);
}

header.scrolled::after {
  opacity: 0.9;
}

/* Logo */
header > .logo {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

/* Nav in the middle-left */
header > nav {
  position: relative;
  z-index: 1;
  flex: 1;
}

/* Hamburger on the right */
header > .hamburger {
  position: relative;
  z-index: 1100;
  margin-left: auto;
  order: 3;
}

/* Login button */
header > .login-btn {
  order: 2;
}

/* ========== NAV MENU ========== */
nav {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex: 1;
  max-width: calc(100% - 200px);
}

.menu {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0;
}

.menu li {
  position: relative;
}

.menu a {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #333;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
  position: relative;
  white-space: nowrap;
}

.menu li a:hover {
  color: #EE007D;
}

.menu li > a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: #EE007D;
  border-radius: 2px;
  transition: width 0.3s ease;
}

.menu li > a:hover::after {
  width: 100%;
}

.menu li:not(.login-btn) > a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: #EE007D;
  border-radius: 2px;
  transition: width 0.3s ease;
}

.menu li:not(.login-btn) > a:hover::after {
  width: 100%;
}

/* Hover: no underline, add image zoom effect if menu item has icon */
.menu a:hover {
  font-weight: 600;
  color: #d40e5e;
}

/* 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 ========== */
/* Desktop login button */
.login-btn {
  position: absolute;
  right: 40px;
  z-index: 2;
}

.login-btn a {
  background: #ffffff;
  color: #EE007D !important;
  padding: 10px 30px;
  border-radius: 25px;
  font-weight: 600;
  border: none;
  transition: all 0.3s ease, box-shadow 0.3s ease;
  display: inline-block;
}

.login-btn a:hover {
  background: #f0f0f0;
  color: #EE007D !important;
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(238, 0, 125, 0.3);
}

.login-btn a::after {
  display: none !important;
}

/* Mobile login button - hidden on desktop */
.mobile-login-btn {
  display: none;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  border-radius: 8px;
  overflow: hidden;
  background: #EE007D;
  border: 1px solid rgba(238, 0, 125, 0.55);
  box-shadow: 
      0 8px 32px rgba(0, 0, 0, 0.6),
      0 0 18px rgba(238, 0, 125, 0.35);
  animation: dropdownFade 0.35s ease forwards;
  z-index: 9999;
  margin-top: 8px;
}

.dropdown-menu li {
  width: 100%;
}

.dropdown-menu li a {
  padding: 16px 22px;
  color: #fff !important;
  font-size: 15px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  width: 100%;
  white-space: nowrap;
}

.dropdown-menu li a::after {
  display: none !important;
}

.dropdown-menu li a:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #f1c3d6 !important;
  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, #ffffff, #ff85b3);
  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;
  position: relative;
}



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

.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: #ffffff;
  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: flex-end;
  gap: 40px;
  padding: 60px 80px 80px;
  min-height: 100vh;
  background: #ffffff;
  color: #000000;
  overflow: hidden;
}

.hero-content,
.hero-visual {
  position: relative;
  z-index: 2;
  margin-left: auto;
  margin-right: 0;
  align-self: flex-end;
}

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

.hero-content h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 18px;
  line-height: 1.3;
  color: #fff;
}

.hero-content p {
  font-size: 16px;
  margin-bottom: 25px;
  line-height: 1.6;
}

/* Gradient Text */
.gradient-text {
  font-size: 42px;
  font-weight: 700;
  background: linear-gradient(270deg, #f8f9f9, #ea6399, #EE007D, #f8f9f9);
  background-size: 600% 600%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientFlow 6s linear infinite; 
}

.gradient-text-small {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.3px;
  background: linear-gradient(270deg, #f8f9f9, #EE007D, #EE007D, #f8f9f9);
  background-size: 600% 600%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent !important;
  animation: gradientFlow 6s linear infinite;
  display: inline-block;
}

.hero-text-solid {
  background: none !important;
  -webkit-background-clip: initial !important;
  -webkit-text-fill-color: #EE007D !important;
  color: #EE007D !important;
}


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

/* Common button style */
.hero-buttons a {
  padding: 12px 80px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  letter-spacing: 0.3px;
  position: relative;
  overflow: hidden;
  transition: all 0.35s ease;
}

/* Primary Button */
.hero-buttons a:first-child {
  background: linear-gradient(135deg, #EE007D, #ff3a8c);
  color: #fff;
}

.hero-buttons a:first-child:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 30px rgba(255, 0, 96, 0.55);
  background: linear-gradient(135deg, #EE007D, #ff5ca0);
}

/* Secondary Button */
.hero-buttons a:last-child {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  color: #EE007D;
  border: 2px solid rgba(255, 0, 96, 0.7);
}

.hero-buttons a:last-child:hover {
  background: linear-gradient(135deg, #EE007D, #ff3a8c);
  color: #fff;
  border-color: transparent;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 25px rgba(255, 0, 96, 0.45);
}

/* Hero Image - right side */
.hero-visual {
  width: 50%;
  max-width: 480px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-right: 0;
  align-self: flex-end;
}

.hero-image {
  width: 100%;
  animation: fadeInRight 1s ease forwards;
}

.hero-image img {
  width: 100%;
  max-width: 420px;
  height: auto;
  border-radius: 20px;
  transform-origin: center;

  animation: heroImagePulse 5s ease-in-out infinite;

  margin-left: auto;   /* pushes image to the right */
  margin-right: auto;
}

.hero-coins {
  position: absolute;
  inset: -12%;
  pointer-events: none;
  z-index: 1;
}

.hero-coins img {
  position: absolute;
  width: 70px;
  opacity: 0.85;
  filter: drop-shadow(0 0 18px rgba(255, 230, 107, 0.7));
  animation-duration: 10s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

.hero-coins img:nth-child(1) {
  top: -10%;
  right: 6%;
  width: 80px;
  animation-name: heroCoinOrbit;
  animation-delay: 0s;
}

.hero-coins img:nth-child(2) {
  bottom: -12%;
  right: 4%;
  animation-name: heroCoinFloat;
  animation-delay: 1.1s;
}

.hero-coins img:nth-child(3) {
  top: 8%;
  left: -6%;
  animation-name: heroCoinOrbit;
  animation-delay: 2s;
  animation-duration: 12s;
}

.hero-coins img:nth-child(4) {
  bottom: -10%;
  left: 5%;
  animation-name: heroCoinFloat;
  animation-delay: 3s;
  animation-duration: 11s;
}

.scroll-animate {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: opacity, transform;
}

.scroll-animate.visible {
  opacity: 1;
  transform: translateY(0);
}
@keyframes heroImageFloatPulse {
  0% {
    transform: translateY(0) scale(0.95);
  }
  25% {
    transform: translateY(-6px) scale(1.02);
  }
  50% {
    transform: translateY(-12px) scale(1.08);
  }
  75% {
    transform: translateY(-6px) scale(1.02);
  }
  100% {
    transform: translateY(0) scale(0.95);
  }
}

@keyframes heroCoinOrbit {
  0% {
    transform: translate(0, 0) rotate(0deg);
    opacity: 0.6;
  }
  25% {
    transform: translate(-18px, -12px) rotate(25deg);
    opacity: 0.9;
  }
  50% {
    transform: translate(-4px, 22px) rotate(45deg);
    opacity: 1;
  }
  75% {
    transform: translate(16px, 6px) rotate(65deg);
    opacity: 0.85;
  }
  100% {
    transform: translate(0, 0) rotate(90deg);
    opacity: 0.6;
  }
}

@keyframes heroCoinFloat {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-22px);
    opacity: 1;
  }
  100% {
    transform: translateY(0);
  }
}

/* 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, #EE007D, #EE007Dcb);
  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; }
}

@keyframes circleOrbit {
  0% { transform: rotate(0deg) translate(-250px) rotate(0deg); }
  100% { transform: rotate(360deg) translate(-250px) rotate(-360deg); }
}

/* Gradient flow animation for text */


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

  .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-visual {
    width: 100%;
    max-width: 420px;
  }

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

  .hero-visual {
    width: 100%;
    max-width: 360px;
    margin: 0 auto 20px;
    justify-content: center;
  }

  .hero-coins {
    inset: -10%;
  }

  .hero-coins img {
    width: 60px;
  }

  .hero-coins img:nth-child(1) {
    top: -10%;
    right: 4%;
  }

  .hero-coins img:nth-child(2) {
    bottom: -8%;
    right: 0;
  }

  .hero-coins img:nth-child(3) {
    top: 6%;
    left: -6%;
  }

  .hero-coins img:nth-child(4) {
    bottom: -10%;
    left: 4%;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 100px 18px 30px;
  }

  .hero-visual {
    max-width: 320px;
    margin-top: 32px;
  }

  .hero-coins {
    inset: -8%;
  }

  .hero-coins img {
    width: 50px;
  }

  .hero-coins img:nth-child(1) {
    right: 0;
  }

  .hero-coins img:nth-child(2) {
    bottom: -6%;
  }

  .hero-coins img:nth-child(3) {
    left: 0;
  }

  .hero-coins img:nth-child(4) {
    left: 2%;
  }
}



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

.about {
  position: relative;
  padding: 50px 30px;
  z-index: 1;
  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 #EE007D; /* 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: 36px;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.3;
  letter-spacing: -0.3px;
  position: relative;
  background: linear-gradient(135deg, #ac0142, #f782af);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

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

.stat-card {
  background: linear-gradient(145deg, #EE007D, #ad0c4a);
  padding: 20px 18px;
  border-radius: 100px;
  text-align: center;
  color: #fff;
  width: 140px;
  position: relative;
  overflow: hidden;
}

.stat-card h3 {
  font-size: 1.8rem;
  margin-bottom: 6px;
  font-weight: 700;
}

.stat-card p {
  font-size: 0.9rem;
  margin: 0;
  font-weight: 500;
}

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

/* 1️⃣ Deep Forest Green */
.stat-card.green-dark {
  
  background: linear-gradient(145deg, #ff2076, #f55b96);
  color: #EE007D;
}

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

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


/* 2️⃣ Emerald Green */
.stat-card.green-emerald {
  background: linear-gradient(145deg, #ff0867, #EE007D);
}


/* 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;
}

/* Bright orbiting highlights */
.circle-glow {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff, rgba(255, 0, 96, 0.95));
  filter: drop-shadow(0 0 16px rgba(255, 0, 96, 0.95));
  top: 50%;
  left: 50%;
  transform-origin: 50% 50%;
  animation: circleOrbit 8s linear infinite;
}

.circle-glow-2 {
  animation-delay: 3s;
}

.circle-glow-3 {
  animation-delay: 1.4s;
  animation-duration: 7.2s;
  width: 12px;
  height: 12px;
  background: radial-gradient(circle, #fff, rgba(255, 0, 96, 0.75));
}

.circle-glow-4 {
  animation-delay: 5s;
  animation-duration: 9s;
  width: 20px;
  height: 20px;
  background: radial-gradient(circle, #fff, rgba(255, 0, 96, 0.85));
}

.connect-lines path {
  fill: none;
  stroke: rgba(255, 0, 96, 0.85);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  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, #EE007D, #EE007D);
  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-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 12px;
}

.feature-card:hover {
  background: linear-gradient(135deg, #EE007D, #EE007D);
  box-shadow: 0 15px 30px rgb(228, 14, 14);
}

/* 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 #ffffff;
  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, #EE007D);
}

/* 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;
  }
}

.feature-card i {
  font-size: 3.2rem;
  line-height: 1;
}

.feature-card h3 {
  margin: 0;
}

/* 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);
  }

  .about-text h2 {
    text-align: center;
  }

  .about-text {
    padding: 16px;
  }

  .about-btn {
    margin-left: auto;
    margin-right: auto;
  }
}

/* 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;
  }

  /* Hide desktop login button */
  header > .login-btn {
    display: none !important;
  }

  /* Adjust header diagonal for tablets */
  header::after {
    width: 30%;
    clip-path: polygon(35% 0, 100% 0, 100% 100%, 0% 100%);
  }

  /* Mobile menu slides from RIGHT side - FULL WIDTH */
  nav {
    position: fixed !important;
    top: 0 !important;
    right: -100% !important;
    left: auto !important;
    width: 100% !important;
    max-width: 60% !important;
    height: 100vh !important;
    background: #EE007D !important;
    backdrop-filter: blur(10px);
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    overflow-y: hidden !important;
    overflow-x: hidden !important;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.5);
    z-index: 9999 !important;
    padding: 80px 20px 20px 20px !important;
    margin: 0 !important;
    transition: right 0.4s ease !important;
  }

  nav.active {
    right: 0 !important;
  }

  .menu {
    flex-direction: column;
    gap: 0;
    width: 100%;
    flex-wrap: nowrap;
    padding: 0;
    align-items: flex-start;
  }

  .menu li {
    width: 100%;
    text-align: left;
  }

  .menu > li > a {
    padding: 20px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff !important;
    width: 100%;
    justify-content: flex-start;
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    display: flex;
  }

  .menu li a::after {
    display: none !important;
  }

  .dropdown-menu {
    position: static !important;
    display: none;
    background: rgba(0, 0, 0, 0.2);
    border: none;
    box-shadow: none;
    margin: 0;
    padding: 0;
    animation: none;
    text-align: left;
    width: 100%;
  }

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

  .dropdown-menu li {
    text-align: left;
    width: 100%;
  }

  .dropdown-menu li a {
    padding: 18px 20px 18px 40px !important;
    justify-content: flex-start !important;
    text-align: left !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    width: 100% !important;
    display: flex !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
  }

  /* Mobile login button inside menu */
  nav .mobile-login-btn {
    display: block;
    width: 100%;
    padding: 25px 20px;
    background: rgba(0, 0, 0, 0.2);
    border-top: 2px solid rgba(255, 255, 255, 0.2);
    margin-top: auto;
    text-align: center;
  }

  nav .mobile-login-btn a {
    display: block;
    background: #ffffff;
    color: #EE007D !important;
    padding: 15px 20px;
    border-radius: 25px;
    font-size: 18px;
    font-weight: 700;
    border: none;
    width: 100%;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  nav .mobile-login-btn a:hover {
    background: #f0f0f0;
    transform: scale(1.05);
  }
}

/* Mobile - adjust diagonal */
@media (max-width: 768px) {
  header {
    min-height: 60px;
  }

  header::after {
    width: 40%;
    clip-path: polygon(45% 0, 100% 0, 100% 100%, 15% 100%);
  }

  nav {
    padding: 80px 15px 20px 15px !important;
  }
}

@media (max-width: 480px) {
  header {
    padding: 5px 20px;
    min-height: 60px;
  }

  header::after {
    width: 50%;
    clip-path: polygon(50% 0, 100% 0, 100% 100%, 20% 100%);
  }

  nav {
    padding: 80px 10px 20px 10px !important;
  }

  .menu > li > a {
    font-size: 17px;
    padding: 18px 15px;
  }

  .dropdown-menu li a {
    font-size: 15px !important;
    padding: 16px 15px 16px 35px !important;
  }

  nav .mobile-login-btn {
    padding: 25px 15px;
  }

  nav .mobile-login-btn a {
    font-size: 17px;
    padding: 14px 15px;
    white-space: nowrap;
  }
}

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

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

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

/* Text enter animation */
.slide-in{
  animation: rotateFadeIn 0.8s ease forwards;
}

/* Text exit animation */
.slide-out{
  animation: rotateFadeOut 0.5s ease forwards;
}

.zoom-in {
  animation: heroTextZoomIn 0.8s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

.zoom-out {
  animation: heroTextZoomOut 0.5s ease forwards;
}

/* Enter effect */
@keyframes rotateFadeIn{
  0%{
    opacity:0;
    transform:rotate(-10deg) translateY(40px);
  }
  100%{
    opacity:1;
    transform:rotate(0deg) translateY(0);
  }
}

/* Exit effect */
@keyframes rotateFadeOut{
  0%{
    opacity:1;
    transform:rotate(0deg) translateY(0);
  }
  100%{
    opacity:0;
    transform:rotate(10deg) translateY(-40px);
  }
}

@keyframes heroTextZoomIn {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.97);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes heroTextZoomOut {
  0% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
}
/* =========================================================
   7) ANIMATIONS (single definitions, no duplicates)
   ========================================================= */

@keyframes heroImagePulse {
  0%,
  100% {
    transform: translateY(0) scale(0.95);
    filter: brightness(1.1);
  }

  50% {
    transform: translateY(-8px) scale(1.05);
    filter: brightness(1.35);
  }
}

@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 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: 36px; 
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-green), var(--accent-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.3px;
  padding: 20px;
}

#products h2 span {
  background: rgb(255, 0, 0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
  font-size: 36px;
}

/* ===== 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 */
  display: flex;
  flex-direction: column;
  background: linear-gradient(145deg, #EE007D, #c2024f);
  border: 1px solid rgb(245, 8, 229);
  border-radius: 56px;
  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: #95053c;
}

/* 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.4rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #ffffff;
  transition: 0.3s ease;
}

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

/* Button */
.product-card .arrow-link {
  display: inline-block;
  margin-top: auto;
  align-self: center;
  padding: 8px 24px;
  background: #ffffff;
  color: #EE007D;
  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, #EE007D);
  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 (min-width: 992px) {
  .products-slider {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    transform: none !important;
    gap: 20px;
    cursor: default;
  }

  .product-card {
    flex: 1 1 auto;
    width: 100%;
    opacity: 1;
  }

  .slider-dots {
    display: none;
  }
}

@media (max-width: 768px) {
  .products-slider {
    flex-direction: column;
    transform: none !important;
    gap: 16px;
    cursor: default;
  }

  .product-card {
    flex: 1 1 auto;
    width: 100%;
    opacity: 1;
  }

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

  .slider-dots {
    display: none;
  }

}

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

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

#create-account h2 {
  font-size: 36px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 45px;
}

#create-account h2 span {
  color: #6d1f43;
}

/* STEPS WRAPPER */
.steps-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
  align-items: stretch;
}

.step {
  margin: 0;
  background: #fff;
  border-radius: 18px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  position: relative;
  width: clamp(320px, 65%, 480px);
}

.step:not(.step-right) {
  padding-left: 90px;
  align-self: flex-start;
}

.step-right {
  padding-right: 90px;
  align-self: flex-end;
}

.step-number {
  width: 50px;
  height: 50px;
  background: #fff;
  border-radius: 50%;
  color: #070707;
  font-weight: 700;
  font-size: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 5px 12px rgba(255, 0, 96, 0.5);
  flex-shrink: 0;
  position: absolute;
}

.step:not(.step-right) .step-number {
  left: -34px;
}

.step-right .step-number {
  left: auto;
  right: -34px;
}


.step-content {
  margin: 0;
}

.step-content h3 {
  font-size: 20px;
  margin: 0 0 6px;
  color: #EE007D;
  font-weight: 600;
}

.step-content p {
  font-size: 15px;
  color: #d40e5e;
  line-height: 1.5;
  margin: 0;
}

.step-right .step-content {
  text-align: right;
}

@media (max-width: 768px) {
  .step,
  .step-right {
    flex-direction: column;
    text-align: left;
  }

  .step-arrow {
    display: none;
  }

  .step-number {
    position: relative;
    left: 0;
    right: 0;
    margin-bottom: 10px;
  }
}


/* ===============================
   Pricing Section
=============================== */
#pricing {
  padding: 50px 10px;
  color: #EE007D;
  font-family: 'Poppins', sans-serif;
}

#pricing h2 {
  text-align: center;
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 45px;
}

#pricing h2 span {
  color: #ff85b3;
}

/* 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;
  color: #fff;
  overflow: hidden;
  position: relative;
  border: 2px solid #EE007D;
  border-radius: 10px;
}

/* 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: 800;
}

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

#testimonials .btn {
  padding: 10px 24px;
  background: #ffffff;
  border-radius: 20px;
  border: 2px solid #EE007D;
  text-decoration: none;
  color: #EE007D;
  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: #ff0062ec;
  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 {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  margin-bottom: 16px;
}

.client-top img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #EE007D;
}

.client-info h4 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 600;
}

.client-info .location {
  display: block;
  font-size: 0.85rem;
  color: #ff0867;
  margin-bottom: 4px;
}

.stars {
  color: #f4c150;
  font-size: 0.9rem;
  margin: 0;
}

.client-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stars {
  display: flex;
  gap: 4px;
}

.testimonial-card p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #ff0867;
  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: #EE007D;
}

/* 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;
  overflow: hidden;
  padding: 50px 20px;
  /* smaller side padding for mobile */
}
/* FAQ Heading Style */
#faq h2 {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  background: linear-gradient(to bottom, #f39ebe, #EE007D);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.5px;
}
/* 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: 100%;
}

/* Each FAQ as card */
.faq-item {
  background: linear-gradient(145deg, #EE007D, #EE007D);
  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: 18px 22px;
  font-size: 16px;
  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: 18px 22px;
  color: #d7f5f2;
  border-top: 1px solid rgba(33, 180, 170, 0.3);
  background: rgba(0, 0, 0, 0.2);
  font-size: 14px;
  line-height: 1.7;
}

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

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

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

.partner-section--full {
  width: 100%;
  padding: 0;
}

/* ===== 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: linear-gradient(135deg, #ce0150, #d50156, #EE007D);
  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, #EE007D);
  display: block;
  margin-top: 8px;
}

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

  /* 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: #ffffff;
  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: #95f5fe;
}

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

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

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  font-size: 1rem;
  color: #fff;
  transition: color 0.3s ease;
}

.footer-social a:hover {
  color: #ff4ba0;
}

/* ================= LEGAL SECTION ================= */
.footer-legal {
  background: rgba(247, 249, 250, 0.9);
  color: #EE007D;
  padding: 32px;
  border-radius: 26px;
  box-shadow: 0 30px 50px rgba(0, 0, 0, 0.4);
  display: flex;
  gap: 24px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.legal-navigation {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 220px;
}

.legal-tab {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #EE007D;
  font-size: 16px;
  font-weight: 600;
  padding: 12px 18px;
  text-align: left;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.legal-tab:hover,
.legal-tab.active {
  border-color: #fdfdfd;
  background: rgba(255, 0, 96, 0.15);
}

.legal-card {
  flex: 1;
  min-width: 300px;
  padding: 26px;
  border-radius: 20px;
  box-shadow: inset 0 0 50px rgba(255, 0, 96, 0.07);
}

.legal-card__content {
  margin: 0;
  display: none;
  color: #fff;
  font-size: 15px;
  line-height: 1.65;
}

.legal-card__content.active {
  display: block;
}

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

  .legal-tab,
  .legal-card {
    width: 100%;
  }
}
@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;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.footer-copy {
  font-size: 10px !important;
  color: #dfe0e1;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  text-align: center;
}

.footer-bottom .partner-section {
  width: 100%;
}

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

.footer-bottom .partner-track {
  animation-duration: 16s;
}

/* 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: #f5b5eb;
  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, #EE007D);
  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, #EE007D);
  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 #EE007D;
  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: #EE007D;
}



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


/* ================= CLIENT INFO ================= */
.client-info {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #EE007D;
  padding-bottom: 10px;
  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: #EE007D;
}

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


.client-info span {
  font-size: 0.85rem;
  color: #272526;
  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;
}




/* ================= PLATFORM SECTION ================= */
.platform-layout {
  width: 100%;
  padding: 0;
  margin: 0;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #fef5fb 0%, #fff0f8 50%, #ffe8f5 100%);
  animation: gradientShift 15s ease infinite;
}

/* Animated background gradient */
@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Floating decorative elements */
.platform-layout::before,
.platform-layout::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  animation: floatAround 20s ease-in-out infinite;
}

.platform-layout::before {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #EE007D, transparent);
  top: -100px;
  right: -100px;
  animation-delay: 0s;
}

.platform-layout::after {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, #ff3a8c, transparent);
  bottom: -80px;
  left: -80px;
  animation-delay: 5s;
}

@keyframes floatAround {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -30px) scale(1.1); }
  50% { transform: translate(-20px, 20px) scale(0.9); }
  75% { transform: translate(20px, 30px) scale(1.05); }
}

.platform-layout .container {
  width: 100%;
  max-width: 100%;
  padding: 180px 40px 60px;
  margin: 0;
  position: relative;
  z-index: 1;
}

.platform-left {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.platform-section {
  width: 100%;
  padding: 50px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 30px;
  box-shadow: 
    0 20px 60px rgba(238, 0, 125, 0.15),
    0 0 0 1px rgba(238, 0, 125, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  border: 2px solid rgba(238, 0, 125, 0.2);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.platform-section:hover {
  transform: translateY(-5px);
  box-shadow: 
    0 30px 80px rgba(238, 0, 125, 0.25),
    0 0 0 1px rgba(238, 0, 125, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* Decorative corner accents */
.platform-section::before,
.platform-section::after {
  content: '';
  position: absolute;
  width: 100px;
  height: 100px;
  border: 3px solid rgba(238, 0, 125, 0.3);
  border-radius: 20px;
  animation: rotateBorder 10s linear infinite;
}

.platform-section::before {
  top: -10px;
  left: -10px;
  border-right: none;
  border-bottom: none;
}

.platform-section::after {
  bottom: -10px;
  right: -10px;
  border-left: none;
  border-top: none;
  animation-direction: reverse;
}

@keyframes rotateBorder {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(5deg); }
}

.page-title {
  font-size: 48px;
  font-weight: 900;
  margin-bottom: 35px;
  line-height: 1.2;
  background: linear-gradient(135deg, #EE007D 0%, #ff3a8c 50%, #ff6ba8 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientFlow 5s ease infinite;
  position: relative;
  display: inline-block;
  text-shadow: 0 4px 20px rgba(238, 0, 125, 0.2);
}

.page-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 120px;
  height: 4px;
  background: linear-gradient(90deg, #EE007D, transparent);
  border-radius: 2px;
  animation: expandLine 2s ease-out;
}

@keyframes expandLine {
  from { width: 0; }
  to { width: 120px; }
}

.page-desc {
  font-size: 18px;
  line-height: 2;
  color: #444;
  text-align: justify;
  margin: 0;
  position: relative;
  padding-left: 20px;
  animation: fadeIn 1.5s ease-out 0.3s both;
}

.page-desc::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #EE007D, #ff6ba8);
  border-radius: 2px;
  animation: slideDown 1s ease-out 0.5s both;
}

@keyframes slideDown {
  from { height: 0; }
  to { height: 100%; }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Large screens - add margin-top for hidden header */
@media (min-width: 1200px) {
  .platform-layout .container {
    padding-top: 200px;
  }
}

/* Tablet */
@media (max-width: 992px) {
  .platform-layout .container {
    padding: 140px 30px 50px;
  }
  
  .platform-section {
    padding: 40px;
  }
  
  .page-title {
    font-size: 38px;
  }
  
  .page-desc {
    font-size: 17px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .platform-layout .container {
    padding: 120px 20px 40px;
  }
  
  .platform-section {
    padding: 30px;
    border-radius: 20px;
  }
  
  .platform-section::before,
  .platform-section::after {
    width: 60px;
    height: 60px;
  }
  
  .page-title {
    font-size: 30px;
    margin-bottom: 25px;
  }
  
  .page-desc {
    font-size: 16px;
    line-height: 1.8;
    padding-left: 15px;
  }
}

@media (max-width: 480px) {
  .platform-layout .container {
    padding: 110px 15px 30px;
  }
  
  .platform-section {
    padding: 25px;
    border-radius: 15px;
  }
  
  .platform-section::before,
  .platform-section::after {
    display: none;
  }
  
  .page-title {
    font-size: 26px;
  }
  
  .page-desc {
    font-size: 15px;
    padding-left: 12px;
  }
}

/* ================= IMPORTANT INVESTMENT NOTICE SECTION ================= */
section {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 40px 60px;
  background: linear-gradient(135deg, #fef5fb 0%, #fff0f8 50%, #ffe8f5 100%);
  position: relative;
}

section h3 {
  font-size: 24px;
  font-weight: 700;
  color: #EE007D;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(238, 0, 125, 0.2);
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

section p {
  font-size: 14px;
  line-height: 1.8;
  color: #444;
  text-align: justify;
  margin: 0 auto;
  max-width: 1400px;
}

/* Responsive */
@media (max-width: 992px) {
  section {
    padding: 35px 40px;
  }

  section h3 {
    font-size: 22px;
    margin-bottom: 18px;
  }

  section p {
    font-size: 13px;
    line-height: 1.7;
  }
}

@media (max-width: 768px) {
  section {
    padding: 30px 25px;
  }

  section h3 {
    font-size: 20px;
    margin-bottom: 15px;
    padding-bottom: 10px;
  }

  section p {
    font-size: 13px;
    line-height: 1.7;
    text-align: left;
  }
}

@media (max-width: 480px) {
  section {
    padding: 25px 20px;
  }

  section h3 {
    font-size: 18px;
    margin-bottom: 12px;
    padding-bottom: 8px;
  }

  section p {
    font-size: 12px;
    line-height: 1.6;
    text-align: left;
  }
}

/* ================= INVESTMENT PARTNERS SECTION ================= */

.investment-partners {
  width: 100%;
  padding: 50px 0;
  background: #f8f9fa;
}

.partners-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.investment-partners h2,
.investment-partners > h2 {
  font-size: 26px;
  font-weight: 700;
  color: #EE007D;
  text-align: center;
  margin: 0 0 40px;
  line-height: 1.5;
}

.fc-broker {
  margin-bottom: 20px;
}

.fc-broker .partners {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.fc-broker .partner {
  background: #ffffff;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  border: 1px solid #e0e0e0;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fc-broker .partner:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(238, 0, 125, 0.2);
}

.fc-broker .partner a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.fc-broker .partner img {
  width: 100%;
  height: 100%;
  max-width: 180px;
  max-height: 80px;
  object-fit: contain;
}

.fc-broker .elementor-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

.fc-broker .elementor-row {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 20px !important;
  margin-bottom: 20px;
}

.fc-broker .elementor-column {
  background: #ffffff;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  border: 1px solid #e0e0e0;
  height: 140px;
  box-sizing: border-box;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.fc-broker .elementor-column-wrap,
.fc-broker .elementor-widget-wrap,
.fc-broker .elementor-widget-container,
.fc-broker .kurtosys-listing {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.fc-broker .elementor-column a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.fc-broker .elementor-column img {
  width: 100%;
  height: 100%;
  max-width: 180px;
  max-height: 80px;
  object-fit: contain;
}

.fc-broker .elementor-heading-title {
  display: none;
}

.investment-partners > p,
section > p {
  text-align: center;
  font-size: 14px;
  color: #666;
  margin-top: 30px;
  font-style: italic;
}

/* Tablet */
@media (max-width: 992px) {
  .investment-partners {
    padding: 40px 0;
  }

  .partners-wrapper {
    padding: 0 30px;
  }

  .investment-partners h2,
  .investment-partners > h2 {
    font-size: 24px;
    margin-bottom: 35px;
  }

  .fc-broker .partners {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }

  .fc-broker .partner {
    padding: 18px;
    height: 130px;
  }

  .fc-broker .partner img {
    max-width: 160px;
    max-height: 70px;
  }

  .fc-broker .elementor-row {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 18px !important;
  }

  .fc-broker .elementor-column {
    padding: 18px;
    height: 130px;
  }

  .fc-broker .elementor-column img {
    max-width: 160px;
    max-height: 70px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .investment-partners {
    padding: 35px 0;
  }

  .partners-wrapper {
    padding: 0 20px;
  }

  .investment-partners h2,
  .investment-partners > h2 {
    font-size: 20px;
    margin-bottom: 30px;
    line-height: 1.4;
  }

  .fc-broker .partners {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .fc-broker .partner {
    padding: 15px;
    border-radius: 10px;
    height: 110px;
  }

  .fc-broker .partner img {
    max-width: 140px;
    max-height: 60px;
  }

  .fc-broker .elementor-row {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px !important;
  }

  .fc-broker .elementor-column {
    padding: 15px;
    border-radius: 10px;
    height: 110px;
  }

  .fc-broker .elementor-column img {
    max-width: 140px;
    max-height: 60px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .investment-partners {
    padding: 30px 0;
  }

  .partners-wrapper {
    padding: 0 15px;
  }

  .investment-partners h2,
  .investment-partners > h2 {
    font-size: 18px;
    margin-bottom: 25px;
  }

  .fc-broker .partners {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .fc-broker .partner {
    padding: 12px;
    height: 100px;
  }

  .fc-broker .partner img {
    max-width: 120px;
    max-height: 50px;
  }

  .fc-broker .elementor-row {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }

  .fc-broker .elementor-column {
    padding: 12px;
    height: 100px;
  }

  .fc-broker .elementor-column img {
    max-width: 120px;
    max-height: 50px;
  }
}
.investment-heading {
  color: #000;
  text-align: center;
}
.investment-section {
  background-color: #EE007D !important;
  padding: 60px 20px !important;
}

.investment-heading {
  color: #ffffff !important;
  text-align: center !important;
  margin-bottom: 50px !important;
}
/* More specific selector for investment section */
section.investment-section {
  background: #d67aab !important;
  padding: 60px 20px !important;
  margin: 0 !important;
}

section.investment-section .investment-heading {
  color: #ffffff !important;
  text-align: center !important;
  margin-bottom: 50px !important;
  font-size: 28px !important;
  font-weight: 600 !important;
}

section.investment-section .fc-broker {
  margin-top: 30px !important;
}
/* Remove animation and display partner images in same row */
.footer-bottom .partner-track {
  animation: none !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 20px !important;
}

.footer-bottom .partner-track img {
  height: 40px !important;
  width: auto !important;
  object-fit: contain !important;
  transition: transform 0.3s ease !important;
}

.footer-bottom .partner-track img:hover {
  transform: scale(1.1) !important;
}

.footer-bottom .partner-slider {
  overflow: visible !important;
  padding: 20px 0 !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .footer-bottom .partner-track {
    gap: 15px !important;
  }
  
  .footer-bottom .partner-track img {
    height: 35px !important;
  }
}

@media (max-width: 480px) {
  .footer-bottom .partner-track {
    gap: 10px !important;
  }
  
  .footer-bottom .partner-track img {
    height: 30px !important;
  }
}
/* Direct partner track styling in footer-bottom */
.footer-bottom .partner-track {
  animation: none !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 20px !important;
  margin: 20px 0 !important;
}

.footer-bottom .partner-track img {
  height: 40px !important;
  width: auto !important;
  object-fit: contain !important;
  transition: transform 0.3s ease !important;
  flex-shrink: 0 !important;
}

.footer-bottom .partner-track img:hover {
  transform: scale(1.1) !important;
}

/* Footer bottom layout - centered */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  padding-top: 15px !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 30px !important;
  flex-wrap: wrap !important;
}

/* Direct partner track styling in footer-bottom */
.footer-bottom .partner-track {
  animation: none !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 15px !important;
  margin: 0 !important;
}

.footer-bottom .partner-track img {
  height: 25px !important;
  width: auto !important;
  object-fit: contain !important;
  transition: transform 0.3s ease !important;
  flex-shrink: 0 !important;
}

.footer-bottom .partner-track img:hover {
  transform: scale(1.1) !important;
}

.footer-copy {
  font-size: 10px !important;
  color: #dfe0e1 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.4px !important;
  text-align: center !important;
  margin: 0 !important;
  white-space: nowrap !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column !important;
    gap: 15px !important;
  }
  
  .footer-bottom .partner-track {
    gap: 12px !important;
  }
  
  .footer-bottom .partner-track img {
    height: 22px !important;
  }
}

@media (max-width: 480px) {
  .footer-bottom .partner-track {
    gap: 10px !important;
  }
  
  .footer-bottom .partner-track img {
    height: 20px !important;
  }
}
/* Perfect Legal Section Styling */
.footer-legal {
  background: transparent !important;
  color: #ffffff !important;
  padding: 40px 20px !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  display: flex !important;
  gap: 30px !important;
  align-items: flex-start !important;
  flex-wrap: wrap !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  margin-top: 20px !important;
}

.legal-navigation {
  display: flex !important;
  flex-direction: row !important;
  gap: 20px !important;
  min-width: auto !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  width: 100% !important;
  margin-bottom: 20px !important;
}

.legal-tab {
  background: transparent !important;
  border: 2px solid rgba(255, 255, 255, 0.3) !important;
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  padding: 12px 24px !important;
  text-align: center !important;
  border-radius: 25px !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  white-space: nowrap !important;
}

.legal-tab:hover,
.legal-tab.active {
  border-color: #e3b0cb !important;
  background: rgba(238, 0, 125, 0.1) !important;
  color: #000000 !important;
  transform: translateY(-2px) !important;
}

.legal-card {
  flex: 1 !important;
  min-width: 100% !important;
  padding: 20px 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

.legal-card__content {
  margin: 0 !important;
  display: none !important;
  color: #ffffff !important;
  font-size: 14px !important;
  line-height: 1.8 !important;
  text-align: justify !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
}

.legal-card__content.active {
  display: block !important;
}

.legal-card__content strong {
  color: #EE007D !important;
  font-weight: 700 !important;
}

/* Responsive Design */
@media (max-width: 768px) {
  .footer-legal {
    padding: 30px 15px !important;
    flex-direction: column !important;
  }

  .legal-navigation {
    flex-direction: column !important;
    gap: 15px !important;
    align-items: center !important;
  }

  .legal-tab {
    font-size: 13px !important;
    padding: 10px 20px !important;
    width: 100% !important;
    max-width: 300px !important;
  }

  .legal-card__content {
    font-size: 13px !important;
    line-height: 1.7 !important;
    text-align: left !important;
  }
}

@media (max-width: 480px) {
  .footer-legal {
    padding: 25px 10px !important;
  }

  .legal-tab {
    font-size: 12px !important;
    padding: 8px 16px !important;
  }

  .legal-card__content {
    font-size: 12px !important;
    line-height: 1.6 !important;
  }
}
/* Footer Columns Fix for Small Screens */
.footer-container {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
  gap: 30px !important;
  margin-bottom: 40px !important;
}

.footer-col {
  margin-bottom: 20px !important;
}

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

.footer-col h4::after {
  content: "" !important;
  width: 40px !important;
  height: 2px !important;
  background: linear-gradient(90deg, #EE007D, #ff3a8c) !important;
  display: block !important;
  margin-top: 8px !important;
}

.footer-col ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.footer-col ul li {
  list-style: none !important;
  margin-bottom: 10px !important;
  font-size: 14px !important;
  display: flex !important;
  align-items: flex-start !important;
  color: #ffffff !important;
  line-height: 1.6 !important;
}

.footer-col ul li i {
  margin-right: 10px !important;
  flex-shrink: 0 !important;
  margin-top: 2px !important;
  color: #EE007D !important;
}

.footer-col ul li a {
  color: #ffffff !important;
  text-decoration: none !important;
  transition: 0.3s !important;
  word-break: break-word !important;
  line-height: 1.6 !important;
}

.footer-col ul li a:hover {
  color: #EE007D !important;
}

/* Tablet Responsive */
@media (max-width: 992px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 25px !important;
  }
  
  .footer-col h4 {
    font-size: 16px !important;
  }
  
  .footer-col ul li {
    font-size: 13px !important;
    margin-bottom: 8px !important;
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }
  
  .footer-col h4 {
    font-size: 15px !important;
    margin-bottom: 12px !important;
  }
  
  .footer-col ul li {
    font-size: 12px !important;
    margin-bottom: 6px !important;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .footer-container {
    grid-template-columns: 1fr !important;
    gap: 25px !important;
    text-align: left !important;
  }
  
  .footer-col {
    text-align: left !important;
  }
  
  .footer-col h4 {
    font-size: 16px !important;
    margin-bottom: 15px !important;
  }
  
  .footer-col h4::after {
    margin-left: 0 !important;
    margin-right: auto !important;
  }
  
  .footer-col ul li {
    font-size: 13px !important;
    margin-bottom: 8px !important;
    text-align: left !important;
  }
  
  /* Contact info special handling */
  .footer-col ul li:has(i.fas.fa-building) {
    align-items: flex-start !important;
  }
  
  .footer-col ul li:has(i.fas.fa-building) i {
    margin-top: 4px !important;
  }
}
/* Contact Info Icons White Color */
.footer-col ul li i.fas {
  color: #ffffff !important;
  margin-right: 10px !important;
  flex-shrink: 0 !important;
  margin-top: 2px !important;
  font-size: 14px !important;
}

.footer-col ul li i.fas.fa-phone,
.footer-col ul li i.fas.fa-envelope,
.footer-col ul li i.fas.fa-building {
  color: #ffffff !important;
}

/* Hover effect for contact items */
.footer-col ul li:hover i.fas {
  color: #EE007D !important;
}
/* Footer Legal - Reduced Margins and Dynamic Width */
.footer-legal {
  background: transparent !important;
  color: #ffffff !important;
  padding: 20px 20px !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  display: flex !important;
  gap: 30px !important;
  align-items: flex-start !important;
  flex-wrap: wrap !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  margin-top: 10px !important;
  margin-bottom: 10px !important;
  transition: all 0.3s ease !important;
}

/* When content is active, expand width */
.footer-legal.expanded {
  max-width: 100% !important;
  width: 100% !important;
  padding: 25px 40px !important;
}

.legal-navigation {
  display: flex !important;
  flex-direction: row !important;
  gap: 20px !important;
  min-width: auto !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  width: 100% !important;
  margin-bottom: 15px !important;
}

.legal-tab {
  background: transparent !important;
  border: 2px solid rgba(255, 255, 255, 0.3) !important;
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  padding: 10px 20px !important;
  text-align: center !important;
  border-radius: 25px !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  white-space: nowrap !important;
}

.legal-tab:hover,
.legal-tab.active {
  border-color: #e99bc5 !important;
  background: rgba(238, 0, 125, 0.1) !important;
  color: #000 !important;
  transform: translateY(-2px) !important;
}

.legal-card {
  flex: 1 !important;
  min-width: 100% !important;
  padding: 10px 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  transition: all 0.3s ease !important;
}

.legal-card__content {
  margin: 0 !important;
  display: none !important;
  color: #ffffff !important;
  font-size: 14px !important;
  line-height: 1.8 !important;
  text-align: justify !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 15px 0 !important;
  opacity: 0 !important;
  transform: translateY(-10px) !important;
  transition: all 0.4s ease !important;
}

.legal-card__content.active {
  display: block !important;
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.legal-card__content strong {
  color: #000 !important;
  font-weight: 700 !important;
}

/* Auto-expand footer when content is active */
.footer-legal:has(.legal-card__content.active) {
  padding: 25px 40px !important;
  margin-top: 15px !important;
  margin-bottom: 15px !important;
}

/* Responsive Design */
@media (max-width: 768px) {
  .footer-legal {
    padding: 15px 10px !important;
    margin-top: 8px !important;
    margin-bottom: 8px !important;
  }

  .footer-legal:has(.legal-card__content.active) {
    padding: 20px 15px !important;
  }

  .legal-navigation {
    flex-direction: column !important;
    gap: 12px !important;
    margin-bottom: 12px !important;
  }

  .legal-tab {
    font-size: 13px !important;
    padding: 8px 16px !important;
    width: 100% !important;
    max-width: 300px !important;
  }

  .legal-card__content {
    font-size: 13px !important;
    line-height: 1.7 !important;
    text-align: left !important;
    padding: 12px 0 !important;
  }
}

@media (max-width: 480px) {
  .footer-legal {
    padding: 12px 8px !important;
    margin-top: 5px !important;
    margin-bottom: 5px !important;
  }

  .footer-legal:has(.legal-card__content.active) {
    padding: 18px 12px !important;
  }

  .legal-tab {
    font-size: 12px !important;
    padding: 6px 14px !important;
  }

  .legal-card__content {
    font-size: 12px !important;
    line-height: 1.6 !important;
    padding: 10px 0 !important;
  }
}
/* Reduce Gap Between Legal Tabs and Content */
.legal-navigation {
  display: flex !important;
  flex-direction: row !important;
  gap: 10px !important;
  min-width: auto !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  width: 100% !important;
  margin-bottom: 5px !important; /* Reduced from 15px */
}

.legal-card {
  flex: 1 !important;
  min-width: 100% !important;
  padding: 5px 0 !important; /* Reduced from 10px */
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  transition: all 0.3s ease !important;
}

.legal-card__content {
  margin: 0 !important;
  display: none !important;
  color: #ffffff !important;
  font-size: 14px !important;
  line-height: 1.8 !important;
  text-align: justify !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 8px 0 !important; /* Reduced from 15px */
  opacity: 0 !important;
  transform: translateY(-5px) !important; /* Reduced from -10px */
  transition: all 0.3s ease !important; /* Faster transition */
}

.legal-card__content.active {
  display: block !important;
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .legal-navigation {
    margin-bottom: 3px !important; /* Even smaller on mobile */
  }

  .legal-card {
    padding: 3px 0 !important;
  }

  .legal-card__content {
    padding: 5px 0 !important;
  }
}

@media (max-width: 480px) {
  .legal-navigation {
    margin-bottom: 2px !important;
  }

  .legal-card {
    padding: 2px 0 !important;
  }

  .legal-card__content {
    padding: 3px 0 !important;
  }
}
/* Reduce Line Height in Legal Content */
.legal-card__content {
  margin: 0 !important;
  display: none !important;
  color: #ffffff !important;
  font-size: 14px !important;
  line-height: 1.4 !important; /* Reduced from 1.8 */
  text-align: justify !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 8px 0 !important;
  opacity: 0 !important;
  transform: translateY(-5px) !important;
  transition: all 0.3s ease !important;
}

.legal-card__content.active {
  display: block !important;
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.legal-card__content strong {
  color: #000 !important;
  font-weight: 700 !important;
}

/* Responsive line height adjustments */
@media (max-width: 768px) {
  .legal-card__content {
    font-size: 13px !important;
    line-height: 1.3 !important; /* Even tighter on mobile */
    text-align: left !important;
    padding: 5px 0 !important;
  }
}

@media (max-width: 480px) {
  .legal-card__content {
    font-size: 12px !important;
    line-height: 1.2 !important; /* Tightest on small mobile */
    padding: 3px 0 !important;
  }
}
/* Reduce Gap Between Footer Columns and Legal Section */
.footer-container {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
  gap: 30px !important;
  margin-bottom: 15px !important; /* Reduced from 40px */
}

.footer-legal {
  background: transparent !important;
  color: #ffffff !important;
  padding: 15px 20px !important; /* Reduced padding */
  border-radius: 0 !important;
  box-shadow: none !important;
  display: flex !important;
  gap: 30px !important;
  align-items: flex-start !important;
  flex-wrap: wrap !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  margin-top: 5px !important; /* Reduced from 10px */
  margin-bottom: 5px !important; /* Reduced from 10px */
  transition: all 0.3s ease !important;
}

/* When content is active, slightly expand */
.footer-legal:has(.legal-card__content.active) {
  padding: 20px 30px !important; /* Less expansion */
  margin-top: 8px !important;
  margin-bottom: 8px !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .footer-container {
    margin-bottom: 10px !important; /* Even smaller on mobile */
  }

  .footer-legal {
    padding: 10px 15px !important;
    margin-top: 3px !important;
    margin-bottom: 3px !important;
  }

  .footer-legal:has(.legal-card__content.active) {
    padding: 15px 20px !important;
    margin-top: 5px !important;
    margin-bottom: 5px !important;
  }
}

@media (max-width: 480px) {
  .footer-container {
    margin-bottom: 8px !important;
  }

  .footer-legal {
    padding: 8px 10px !important;
    margin-top: 2px !important;
    margin-bottom: 2px !important;
  }

  .footer-legal:has(.legal-card__content.active) {
    padding: 12px 15px !important;
    margin-top: 3px !important;
    margin-bottom: 3px !important;
  }
}