:root {
  --primary: #22b9bb;
  --primary-dark: #1a9a9c;
  --primary-light: #e6f7f7;
  --dark: #14363d;
  --text: #333;
  --text-light: #666;
  --white: #fff;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  --radius: 16px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* MOBILE: make hero text sit nicer (not too close, not too far) */
@media (max-width: 768px) {
  .hero-desc-animated{
    width: 100%;
    max-width: 100%;
    padding: 0 18px;        /* adjust: 14px–22px */
    margin-left: auto;
    margin-right: auto;
    text-align: left;       /* optional: feels more natural for paragraphs */
    line-height: 1.65;      /* optional: better readability */
  }
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  overflow-x: hidden;
}

body, * {
  font-family: 'Tajawal', 'Open Sans', sans-serif !important;
}

body {
  background: linear-gradient(135deg, #f8fdff 0%, #f0f9fa 100%);
  color: var(--text);
  line-height: 1.6;
  width: 100%;
  position: relative;
}

/* HERO SECTION WITH ANIMATIONS */
.forex-hero-animated {
  position: relative;
  width: 100%;
  background: linear-gradient(135deg, #0c1d22 0%, #14363d 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px 60px;
  margin: 0;
  box-sizing: border-box;
  min-height: 500px;
  overflow: hidden;
}

/* Animated Background */
.hero-animated-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* Moving Grid */
.animated-grid {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(to right, rgba(34, 185, 187, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(34, 185, 187, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: moveGridSlow 40s linear infinite;
}

@keyframes moveGridSlow {
  0% { transform: translateY(0) translateX(0); }
  100% { transform: translateY(-50px) translateX(-50px); }
}

/* Floating Candles */
.floating-candle {
  position: absolute;
  width: 3px;
  background: linear-gradient(to top, transparent, currentColor);
  animation: floatUp 20s linear infinite;
  opacity: 0.3;
  border-radius: 1px;
}

.floating-candle.green {
  color: #00d09c;
  box-shadow: 0 0 8px rgba(0, 208, 156, 0.3);
}

.floating-candle.red {
  color: #ff4757;
  box-shadow: 0 0 8px rgba(255, 71, 87, 0.3);
}

@keyframes floatUp {
  0% {
    transform: translateY(100vh) translateX(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.4;
  }
  90% {
    opacity: 0.4;
  }
  100% {
    transform: translateY(-100px) translateX(var(--move-x, 100px)) rotate(10deg);
    opacity: 0;
  }
}

/* Trading Signals */
.trading-pulse {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  animation: pulseGlow 2s ease-in-out infinite;
}

.trading-pulse.buy {
  background: #00d09c;
  box-shadow: 0 0 15px rgba(0, 208, 156, 0.5);
}

.trading-pulse.sell {
  background: #ff4757;
  box-shadow: 0 0 15px rgba(255, 71, 87, 0.5);
}

@keyframes pulseGlow {
  0%, 100% {
    transform: scale(1);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.5);
    opacity: 1;
  }
}

/* Hero Content */
.hero-content-animated {
  position: relative;
  width: 100%;
  max-width: 1200px;
  text-align: center;
  z-index: 10;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-title-animated {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 15px 0;
  color: white;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  font-family: 'Poppins', sans-serif;
}

.hero-author-animated {
  font-size: 1.3rem;
  color: var(--primary);
  font-weight: 700;
  margin: 0 0 25px 0;
  display: block;
  position: relative;
  padding: 0 0 20px 0;
  font-family: 'Poppins', sans-serif;
}

.hero-author-animated::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.hero-desc-animated {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 auto 30px;
  max-width: 700px;
  line-height: 1.6;
  font-weight: 400;
}

/* CTA Buttons */
.hero-buttons-animated {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin: 0 0 40px 0;
  flex-wrap: wrap;
}

.hero-btn-animated {
  padding: 15px 40px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 200px;
  justify-content: center;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 2;
}

.hero-btn-animated::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.7s ease;
}

.hero-btn-animated.primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  box-shadow: 0 5px 20px rgba(34, 185, 187, 0.3);
}

.hero-btn-animated.secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.hero-btn-animated:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(34, 185, 187, 0.4);
}

.hero-btn-animated:hover::after {
  left: 100%;
}

/* LIVE TRADINGVIEW TICKER BOXES - STYLED LIKE IMAGE */
.hero-live-prices-container {
  width: 100%;
  max-width: 1200px;
  margin: 30px auto 0;
  padding: 0 20px;
  z-index: 10;
  position: relative;
}

.tradingview-ticker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  justify-content: center;
  width: 100%;
  max-width: 700px;     /* centers the 2 boxes perfectly */
  margin: 0 auto;       /* real centering */
}


.tradingview-ticker-box {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  min-height: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.tradingview-ticker-box:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
  border-color: rgba(34, 185, 187, 0.5);
  box-shadow: 
    0 15px 40px rgba(0, 0, 0, 0.3),
    0 0 30px rgba(34, 185, 187, 0.2);
}

/* Custom Styling for TradingView Widgets */
.tradingview-ticker-box .tradingview-widget-container {
  width: 100% !important;
  height: auto;
}

.tradingview-ticker-box .tradingview-widget-container__widget {
  width: 100% !important;
  height: 28px !important;   /* force the real height */
  min-height: 28px !important;
  background: transparent !important;
}

/* Override TradingView styles to match your image */
.tradingview-ticker-box .tv-widget-single-quote {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
  height: 100% !important;
  width: 100% !important;
}

.tradingview-ticker-box .tv-widget-single-quote__symbol {
  color: white !important;
  font-size: 1.4rem !important;
  font-weight: 700 !important;
  margin-bottom: 5px !important;
  font-family: 'Tajawal', sans-serif !important;
}

.tradingview-ticker-box .tv-widget-single-quote__name {
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 0.9rem !important;
  margin-bottom: 6px !important;
  line-height: 1.3 !important;
  font-family: 'Tajawal', sans-serif !important;
}

.tradingview-ticker-box .tv-widget-single-quote__value {
  color: white !important;
  font-size: 1.8rem !important;
  font-weight: 700 !important;
  margin-top: 5px !important;
  font-family: 'Tajawal', sans-serif !important;
}

.tradingview-ticker-box .tv-widget-single-quote__change {
  display: none !important; /* Hide percentage change to match your image */
}

/* SECTION STYLES - FULL WIDTH BACKGROUND */
section {
  width: 100vw !important;
  position: relative !important;
  left: 50% !important;
  right: 50% !important;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* SECTION TITLES WITH PADDING - BUT BACKGROUND STILL FULL WIDTH */
.section-title-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  color:white;
}

.section-title {
  text-align: center;
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 700;
  color: white;
  margin-bottom: 15px;
  position: relative;
  line-height: 1.2;
}

.section-title-main {
  text-align: center;
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 700;
  color: #0c1d22 ;
  margin-bottom: 15px;
  position: relative;
  line-height: 1.2;
}

.section-title::after {
  content: '';
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  display: block;
  margin: 15px auto 0;
  border-radius: 4px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  max-width: 700px;
  margin: 20px auto 50px;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  line-height: 1.7;
}

/* FOREX TICKER */
.forex-ticker-container {
  background: linear-gradient(90deg, var(--dark) 0%, #1a2f35 100%);
  padding: 15px 0;
  overflow: hidden;
  width: 100vw;
  max-width: 100vw;
}

.tradingview-widget-container {
  width: 100%;
  overflow-x: auto;
  padding: 0 20px;
}

/* SERVICES SECTION - FULL WIDTH BACKGROUND */
.services-section {
  background: linear-gradient(135deg, #f8fdff 0%, #f0f9fa 100%);
  padding: clamp(60px, 8vw, 100px) 0 clamp(40px, 6vw, 80px);
  width: 100vw !important;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin: 0 auto;
  padding: 0 20px;
  max-width: 1200px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(30px, 4vw, 40px) clamp(25px, 3vw, 30px);
  border: 1px solid rgba(34, 185, 187, 0.1);
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  border-color: var(--primary);
}

/* ================= LOGO CIRCLE — PERFECT RESPONSIVE ================= */

/* ================= LOGO CIRCLE FIXED SAME SIZE DESKTOP + MOBILE ================= */

.logo-circle {
  width: 140px !important;
  height: 140px !important;
  margin: 0 auto 25px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.logo-circle img {
  width: 65%;
  height: auto;
  object-fit: contain;
}



.logo-circle img {
  width: 65%;
  height: auto;
  object-fit: contain;
}

/* Tablet & Mobile */
@media (max-width: 768px) {
  .logo-circle {
    width: 120px !important;
    height: 120px !important;
    margin-bottom: 18px;
  }

  .logo-circle img {
    width: 70%;
  }
}

/* Small Phones */
@media (max-width: 480px) {
  .logo-circle {
    width: 80px !important;
    height: 80px !important;
  }
}


.service-card:hover .logo-circle {
  transform: scale(1.1) rotate(5deg);
}

.logo-circle img {
  width: 60%;
  height: auto;
}

.service-title {
  font-size: clamp(1.3rem, 2vw, 1.5rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 15px;
}

.service-description {
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  color: #555;
  margin-bottom: 25px;
  line-height: 1.7;
  flex-grow: 1;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  transition: width 0.3s ease;
  z-index: -1;
}

.btn:hover {
  color: var(--white);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(34, 185, 187, 0.2);
}

.btn:hover::before {
  width: 100%;
}

/* PLATFORMS SECTION - FULL WIDTH BACKGROUND */
.platform-selection-section {
  background: #0c1d22 ;
  padding: clamp(60px, 8vw, 90px) 0;
  width: 100vw !important;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  margin: 0 auto 50px;
  padding: 0 20px;
  max-width: 1200px;
}

.platform-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  padding: 40px 30px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.platform-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.platform-card img {
  max-height: 80px;
  width: auto;
  margin-bottom: 30px;
}

.platform-card ul {
  text-align: left;
  padding-left: 20px;
  margin: 0 0 30px 0;
  list-style: none;
  flex-grow: 1;
  width: 100%;
}

.platform-card ul li {
  margin-bottom: 12px;
  font-size: 1rem;
  color: #444;
  position: relative;
  padding-left: 25px;
  line-height: 1.5;
}

.platform-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
  font-size: 1.1em;
}

/* EQUITI */
.equiti-wrapper {
  margin: 60px auto 0;
  padding: 0 20px;
  max-width: 800px;
}

.equiti-wrapper .platform-card {
  background: var(--white);
}

.platform-card .btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 20px;
  width: 100%;
}

.platform-card .btn-group .btn {
  flex: 1;
  min-width: 120px;
  max-width: 200px;
}

/* POPUP */
.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 99999;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.popup-box {
  background: linear-gradient(135deg, #ffffff 0%, #f8fdff 100%);
  padding: clamp(30px, 5vw, 40px);
  border-radius: 24px;
  text-align: center;
  max-width: 420px;
  width: 100%;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(34, 185, 187, 0.3);
  position: relative;
  overflow: hidden;
}

.popup-icon {
  font-size: 3.5rem;
  color: var(--primary);
  margin-bottom: 20px;
  display: block;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.popup-box h4 {
  font-size: 1.4rem;
  color: var(--dark);
  margin-bottom: 10px;
  line-height: 1.4;
  font-weight: 700;
}

.popup-box .popup-subtitle {
  color: var(--text-light);
  font-size: 1rem;
  margin-bottom: 30px;
  line-height: 1.5;
}

.popup-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.popup-actions .btn {
  min-width: 140px;
  padding: 14px 30px;
  font-weight: 700;
}

.popup-actions .btn:first-child {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.popup-actions .btn:first-child::before {
  display: none;
}

.popup-actions .btn:first-child:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 15px 25px rgba(34, 185, 187, 0.3);
}

.popup-actions .btn:last-child:hover {
  background: #f0f0f0;
  border-color: #ccc;
}

/* ANIMATIONS */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.floating {
  animation: float 3s ease-in-out infinite;
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* MOBILE RESPONSIVE */
@media (max-width: 1200px) {
  .tradingview-ticker-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 1024px) {
  .forex-hero-animated {
    padding: 70px 15px 50px;
    min-height: 450px;
  }
  
  .tradingview-ticker-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .tradingview-ticker-box {
    min-height: 110px;
    padding: 18px;
  }
  
  .tradingview-ticker-box .tv-widget-single-quote__symbol {
    font-size: 1.3rem !important;
  }
  
  .tradingview-ticker-box .tv-widget-single-quote__value {
    font-size: 1.6rem !important;
  }
}

@media (max-width: 768px) {
  .forex-hero-animated {
    padding: 60px 15px 40px;
    min-height: auto;
  }
  
  .hero-title-animated {
    font-size: 2rem;
    margin-bottom: 12px;
    text-align: center;
  }
  
  .hero-author-animated {
    font-size: 1.1rem;
    margin-bottom: 20px;
    padding-bottom: 15px;
    text-align: center;
  }
  
  .hero-desc-animated {
    font-size: 1rem;
    margin-bottom: 25px;
    line-height: 1.5;
  }
  
  .hero-buttons-animated {
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
    align-items: center;
    width: 100%;
  }
  
  .hero-btn-animated {
    width: 100%;
    max-width: 280px;
    padding: 14px 30px;
  }
  
  .tradingview-ticker-grid {
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 20px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .tradingview-ticker-box {
    min-height: 100px;
    padding: 15px;
  }
  
  .tradingview-ticker-box .tv-widget-single-quote__symbol {
    font-size: 1.2rem !important;
  }
  
  .tradingview-ticker-box .tv-widget-single-quote__value {
    font-size: 1.5rem !important;
  }
  
  /* Reduce animations on mobile */
  .animated-grid {
    animation-duration: 60s;
    background-size: 30px 30px;
  }
  
  .trading-pulse {
    width: 6px;
    height: 6px;
  }
  
  .floating-candle {
    width: 2px;
    animation-duration: 30s;
  }
  
  /* SECTION FIXES */
  section, .services-section, .platform-selection-section {
    width: 100vw !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  
  .section-title-container {
    padding: 0 20px !important;
    color:white;
  }
  
  .services-grid,
  .platform-grid {
    grid-template-columns: 1fr !important;
    gap: 25px;
    padding: 0 20px !important;
  }
  
  .service-card,
  .platform-card {
    padding: 25px 20px !important;
    margin: 0 !important;
    width: 100% !important;
  }
  
  .platform-card .btn-group {
    flex-direction: column;
    align-items: center;
  }
  
  .platform-card .btn-group .btn {
    width: 100%;
    max-width: 100% !important;
    margin: 5px 0;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
    margin: 15px auto 40px;
  }
  
  .popup-actions {
    flex-direction: column;
    gap: 10px;
  }
  
  .popup-actions .btn {
    width: 100%;
  }
  
  .tradingview-widget-container {
    padding: 0 20px;
  }
  
  .equiti-wrapper {
    padding: 0 20px !important;
  }
}

@media (max-width: 480px) {
  .forex-hero-animated {
    padding: 50px 15px 30px;
  }
  
  .hero-title-animated {
    font-size: 1.8rem;
    margin-bottom: 10px;
  }
  
  .hero-author-animated {
    font-size: 1rem;
    margin-bottom: 15px;
    padding-bottom: 12px;
  }
  
  .hero-author-animated::after {
    width: 100px;
  }
  
  .hero-desc-animated {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }
  
  .hero-btn-animated {
    padding: 12px 25px;
    font-size: 0.95rem;
  }
  
  .tradingview-ticker-grid {
    max-width: 320px;
  }
  
  .tradingview-ticker-box {
    min-height: 90px;
    padding: 12px;
  }
  
  .tradingview-ticker-box .tv-widget-single-quote__symbol {
    font-size: 1.1rem !important;
  }
  
  .tradingview-ticker-box .tv-widget-single-quote__name {
    font-size: 0.8rem !important;
    margin-bottom: 10px !important;
  }
  
  .tradingview-ticker-box .tv-widget-single-quote__value {
    font-size: 1.4rem !important;
  }
  
  /* Further reduce animations on very small screens */
  .floating-candle {
    display: none;
  }
  
  .trading-pulse {
    animation-duration: 3s;
  }
  
  /* SECTION FIXES */
  .section-title {
    font-size: 1.6rem;
  }
  
  .section-subtitle {
    font-size: 0.95rem;
  }
  
  .section-title-container {
    padding: 0 15px !important;
    color:White;
  }
  
  .services-grid,
  .platform-grid {
    padding: 0 15px !important;
  }
  
  .service-card,
  .platform-card {
    padding: 20px 15px !important;
  }
  
  .platform-card img {
    max-height: 60px;
    margin-bottom: 20px;
  }
  
  .platform-card ul {
    padding-left: 15px;
  }
  
  .platform-card ul li {
    padding-left: 20px;
    font-size: 0.9rem;
  }
  
  .popup-box {
    padding: 25px 20px;
    margin: 0 10px;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  .tradingview-widget-container {
    padding: 0 15px;
  }
  
  .equiti-wrapper {
    padding: 0 15px !important;
  }
}

@media (max-width: 360px) {
  .tradingview-ticker-grid {
    max-width: 280px;
  }
  
  .tradingview-ticker-box {
    min-height: 85px;
    padding: 10px;
  }
  
  .tradingview-ticker-box .tv-widget-single-quote__symbol {
    font-size: 1rem !important;
  }
  
  .tradingview-ticker-box .tv-widget-single-quote__value {
    font-size: 1.3rem !important;
  }
  
  /* Add this to your existing CSS, around the section styles */
#services, #platforms {
  scroll-margin-top: 30px; /* Creates space when scrolling to these sections */
}

/* Make sure sections start properly */
.services-section,
.platform-selection-section {
  padding-top: clamp(60px, 8vw, 100px) !important;
}

/* === Platforms background holder === */
.platform-selection-section{
  position: relative;
  overflow: hidden;
}

#platformHeroBgHolder{
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* keep platforms content above it */
.platform-selection-section > *:not(#platformHeroBgHolder){
  position: relative;
  z-index: 2;
}

}
