/* ==========================================
   STWFX AUDIT FIXES — 2026-07-01
   Applied after full UI/UX audit
   ========================================== */

/* ── FIX 1: --ttRed undefined variable (sidebar border crash) ── */
:root {
  --ttRed: #FF0000;
}

/* ── FIX 2: .ul-btn hover was white text on transparent = invisible on light pages ── */
.ul-btn:hover {
  background-color: #05043C !important;
  border-color: #05043C !important;
  color: #ffffff !important;
}
/* Keep white-on-transparent only inside dark/coloured sections */
.ul-banner .ul-btn:hover,
.ul-cta .ul-btn:hover,
[class*="bg-dark"] .ul-btn:hover {
  background-color: transparent !important;
  border-color: #ffffff !important;
  color: #ffffff !important;
}

/* ── FIX 3: Skip navigation link (WCAG 2.4.1) ── */
.skip-nav {
  position: absolute;
  top: -100px;
  left: 0;
  background: #0805B1;
  color: #fff !important;
  padding: 12px 24px;
  z-index: 100000;
  font-weight: 700;
  border-radius: 0 0 8px 0;
  transition: top 0.2s ease;
  text-decoration: none;
  font-size: 14px;
}
.skip-nav:focus {
  top: 0;
}

/* ── FIX 4: Active nav link highlight ── */
.ul-header-nav a.active-nav-link {
  color: var(--ul-2-primary) !important;
  font-weight: 700;
}
.ul-header-nav .has-sub-menu.active-parent > a[role="button"],
.ul-header-nav .has-sub-menu.active-parent > button.nav-trigger {
  color: var(--ul-2-primary) !important;
}

/* ── FIX 5: Form labels for accessibility ── */
.ul-form .form-group label,
.ul-contact-form .form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #05043C;
  margin-bottom: 6px;
}

/* ── FIX 6: Sticky header (class referenced in JS but never defined in CSS) ── */
.ul-header.to-be-sticky.sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  box-shadow: 0 2px 20px rgba(0,0,0,0.12);
  background: #fff;
  animation: slideInDown 0.3s ease forwards;
}

/* ── FIX 7: Breadcrumb spacing on mobile ── */
@media screen and (max-width: 767px) {
  .ul-breadcrumb {
    border-radius: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

/* ── FIX 8: Banner image fail-safe when file missing ── */
.ul-banner-bg {
  background: linear-gradient(135deg, #05043C 0%, #0805B1 100%);
  border-radius: 12px;
  overflow: hidden;
}
.ul-banner-bg img[src=""] ,
.ul-banner-bg img:not([src]) {
  min-height: 300px;
}

/* ====================================================
   DESIGN SYSTEM — Bootstrap classes unified with STWFX
   (used in trading-guides, market-news, white-label, copy-trading)
   ==================================================== */

/* Cards */
.card {
  border: 1px solid rgba(0,0,0,0.07) !important;
  border-radius: 12px !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease !important;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(8,5,177,0.11) !important;
  border-color: rgba(8,5,177,0.18) !important;
}
.card-title {
  font-weight: 700 !important;
  color: #05043C !important;
  font-size: clamp(15px, 1.05vw, 18px) !important;
  margin-bottom: 10px;
}
.card-text {
  color: #5D6063 !important;
  font-size: 14px !important;
  line-height: 1.7 !important;
}

/* Tables */
.table-dark thead th,
.table-dark th {
  background: linear-gradient(90deg, #05043C 0%, #0805B1 100%) !important;
  color: #fff !important;
  font-weight: 600;
  border: none !important;
  padding: 14px 18px;
}
.table-striped > tbody > tr:nth-of-type(odd) > * {
  background-color: rgba(8,5,177,0.03) !important;
}
.table {
  font-size: 14px;
}
.table th, .table td {
  vertical-align: middle;
  padding: 13px 16px;
}
.table-responsive {
  border-radius: 10px;
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

/* Bootstrap btn overrides */
.btn-primary {
  background-color: #FF0000 !important;
  border-color: #FF0000 !important;
  color: #fff !important;
  font-weight: 600;
  border-radius: 6px;
  min-height: 44px;
  transition: all 0.3s ease;
}
.btn-primary:hover {
  background-color: #05043C !important;
  border-color: #05043C !important;
  color: #fff !important;
}
.btn-outline-primary {
  color: #0805B1 !important;
  border-color: #0805B1 !important;
  font-weight: 600;
  border-radius: 6px;
  min-height: 44px;
  transition: all 0.3s ease;
}
.btn-outline-primary:hover {
  background-color: #0805B1 !important;
  color: #fff !important;
}
.btn-sm {
  min-height: 36px;
  padding: 7px 14px;
  font-size: 13px;
}

/* Alert overrides */
.alert-info {
  background: rgba(8,5,177,0.05);
  border-color: rgba(8,5,177,0.2);
  color: #05043C;
  border-radius: 10px;
}
.alert-warning {
  background: rgba(246,175,15,0.08);
  border-color: rgba(246,175,15,0.3);
  color: #05043C;
  border-radius: 10px;
}

/* ====================================================
   CTA BANNER USED ON NEW PAGES (was unstyled)
   ==================================================== */
.ul-2-cta-banner {
  background: linear-gradient(135deg, #05043C 0%, #0805B1 60%, #FF0000 100%);
  color: #fff;
  border-radius: 20px;
  padding: clamp(40px, 5vw, 80px) clamp(20px, 3vw, 60px);
}
.ul-2-cta-banner h2 {
  color: #fff !important;
  font-size: clamp(22px, 2.1vw, 36px);
  margin-bottom: 8px;
}
.ul-2-cta-banner p {
  color: rgba(255,255,255,0.85);
  margin-bottom: 0;
}
.ul-2-cta-banner .ul-btn {
  background-color: #fff !important;
  border-color: #fff !important;
  color: #0805B1 !important;
}
.ul-2-cta-banner .ul-btn:hover {
  background-color: transparent !important;
  border-color: #fff !important;
  color: #fff !important;
}

/* ====================================================
   TYPOGRAPHY — Section headings consistent on all pages
   ==================================================== */
.ul-2-section-sub-title {
  display: inline-block;
  font-size: clamp(11px, 0.75vw, 13px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #FF0000;
  margin-bottom: 8px;
}
.ul-2-section-title {
  font-weight: 800;
  font-size: clamp(24px, 2.52vw, 40px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: #05043C;
}

/* Section heading flex wrap on small screens */
.ul-section-heading {
  flex-wrap: wrap;
}

/* ====================================================
   NAVIGATION — Mobile touch targets & dropdown
   ==================================================== */
.ul-header-nav .has-sub-menu {
  position: relative;
}
.ul-header-nav .ul-header-submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  padding: 10px 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 100;
  border-top: 3px solid #FF0000;
}
.ul-header-nav .has-sub-menu:hover .ul-header-submenu,
.ul-header-nav .has-sub-menu:focus-within .ul-header-submenu {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.ul-header-nav .ul-header-submenu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.ul-header-nav .ul-header-submenu ul li a {
  display: block;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 500;
  color: #05043C;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.ul-header-nav .ul-header-submenu ul li a:hover {
  color: #FF0000;
  background: rgba(255,0,0,0.04);
  padding-left: 26px;
}

@media screen and (max-width: 991px) {
  .ul-sidebar-header-nav-wrapper .ul-header-nav > a,
  .ul-sidebar-header-nav-wrapper .ul-header-nav > div > button.nav-trigger {
    padding: 11px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    text-align: left;
    font-size: 15px;
    font-weight: 500;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    min-height: 44px;
  }
  /* Reset default button appearance so nav-trigger looks like a nav link */
  .ul-sidebar-header-nav-wrapper .ul-header-nav button.nav-trigger {
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
    border-radius: 0;
    cursor: pointer;
    color: var(--ul-black, #05043C);
    font-family: inherit;
    padding-left: 0;
    padding-right: 0;
  }
  .ul-sidebar-header-nav-wrapper .ul-header-nav button.nav-trigger:hover {
    color: var(--ul-2-primary, #FF0000);
  }
  .ul-sidebar-header-nav-wrapper .ul-header-submenu {
    position: static;
    opacity: 1;
    pointer-events: none;
    transform: none;
    box-shadow: none;
    border-top: none;
    border-left: 3px solid rgba(255,0,0,0.3);
    padding: 0 0 0 14px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .ul-sidebar-header-nav-wrapper .has-sub-menu.active .ul-header-submenu {
    max-height: 400px;
    pointer-events: all;
  }
}

/* ====================================================
   FOOTER — Legal disclaimer readability
   ==================================================== */
.ul-footer-legal-disclaimer {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  margin-top: 24px;
}
.ul-footer-legal-disclaimer p {
  font-size: 11.5px;
  line-height: 1.75;
  color: rgba(255,255,255,0.65);
  margin-bottom: 10px;
}
.ul-footer-legal-disclaimer strong {
  color: rgba(255,255,255,0.88);
}

/* ====================================================
   ACCESSIBILITY
   ==================================================== */
*:focus-visible {
  outline: 2px solid #0805B1;
  outline-offset: 3px;
  border-radius: 3px;
}
/* High-contrast text for WCAG AA */
.ul-gray, .text-muted {
  color: #6b6b6b !important;
}

/* ====================================================
   SCROLLBAR
   ==================================================== */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #f4f4f4; }
::-webkit-scrollbar-thumb { background: #0805B1; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #FF0000; }

/* ====================================================
   REDUCE MOTION
   ==================================================== */
@media (prefers-reduced-motion: reduce) {
  .card:hover,
  .ul-offer:hover,
  .feature-card:hover {
    transform: none !important;
  }
  .ul-btn:hover {
    transform: none !important;
  }
}

/* ====================================================
   PRINT
   ==================================================== */
@media print {
  .ul-header, .ul-sidebar, .ul-search-form-wrapper,
  .ul-2-cta-banner, .ul-footer-cta-wrapper { display: none !important; }
}

/* ====================================================
   FIX: .nav-trigger button (replaces <a role="button"> nav triggers)
   ==================================================== */
.ul-header-nav .nav-trigger {
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.25s ease;
}
.ul-header-nav .nav-trigger:hover,
.ul-header-nav .has-sub-menu:hover .nav-trigger {
  color: var(--ul-2-primary);
}
.ul-header-nav .nav-trigger:focus-visible {
  outline: 2px solid var(--ul-primary);
  outline-offset: 3px;
  border-radius: 3px;
}
/* aria-expanded arrow indicator */
.ul-header-nav .nav-trigger::after {
  content: '\25BE';
  font-size: 0.7em;
  transition: transform 0.2s ease;
}
.ul-header-nav .has-sub-menu.active .nav-trigger::after,
.ul-header-nav .nav-trigger[aria-expanded="true"]::after {
  transform: rotate(180deg);
}

/* ====================================================
   FIX: Component-level input focus-visible overrides
   (for inputs with intentional border: none; outline: none design)
   ==================================================== */
.ul-form-modal-form input:focus-visible,
.ul-footer-cta-form input:focus-visible,
.ul-2-footer-nwsltr-widget input:focus-visible,
.ul-contact-form textarea:focus-visible,
.ul-contact-form input:focus-visible,
.ul-blog-details-comment-form textarea:focus-visible,
.ul-blog-details-comment-form input:focus-visible {
  outline: 2px solid var(--ul-primary);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ====================================================
   FIX: Red text uses darker accessible token for text contexts
   ==================================================== */
.ul-section-sub-title,
.ul-2-section-sub-title {
  color: var(--ul-2-primary-text, #C70000) !important;
}
a:hover {
  color: var(--ul-2-primary-text, #C70000);
}

/* ====================================================
   FIX: WOW.js fallback - content visible if scripting disabled
   ==================================================== */
@media (scripting: none) {
  .wow { visibility: visible !important; }
}

/* ============================================================
   HEADER & FOOTER IMPROVEMENTS — stwfx-site 2026
   ============================================================ */

/* ── TOP UTILITY BAR ────────────────────────────────────────── */
.ul-header-topbar {
  background: #05043C;
  padding: 7px 0;
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.02em;
}
.ul-header-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  max-width: calc(clamp(1100px,69.36vw,1320px) + 30px);
  margin: 0 auto;
  padding: 0 15px;
}
.ul-header-topbar-left {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
}
.ul-header-topbar-left i { color: var(--ul-2-primary); font-size: 11px; }
.ul-header-topbar-right {
  display: flex;
  align-items: center;
  gap: 18px;
}
.ul-header-topbar-right a {
  color: rgba(255,255,255,0.75);
  font-size: 12.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}
.ul-header-topbar-right a:hover { color: #fff; }
.ul-header-topbar-right i { color: var(--ul-2-primary); font-size: 11px; }
.ul-topbar-divider {
  width: 1px; height: 14px;
  background: rgba(255,255,255,0.2);
  display: inline-block;
}
.ul-topbar-badge {
  background: linear-gradient(90deg, #0805B1, #FF0000);
  color: #fff;
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
@media screen and (max-width: 767px) {
  .ul-header-topbar { display: none; }
}

/* ── TICKER REFINEMENT ─────────────────────────────────────── */
.ul-header .ul-ticker {
  background: linear-gradient(90deg, #0a0a1a 0%, #1a1a2e 50%, #0a0a1a 100%);
  border-bottom: 3px solid var(--ul-2-primary) !important;
}

/* ── MAIN HEADER BAR ────────────────────────────────────────── */
.ul-2-header-bottom {
  padding: clamp(12px, 1.26vw, 24px) 0 !important;
  background: #fff;
  transition: box-shadow 0.3s ease, padding 0.3s ease;
}
.ul-header.to-be-sticky.sticky .ul-2-header-bottom {
  box-shadow: 0 4px 24px rgba(8,5,177,0.10) !important;
  padding: 10px 0 !important;
  border-bottom: 2px solid rgba(8,5,177,0.07);
}
/* Sticky backdrop blur for modern browsers */
.ul-header.to-be-sticky.sticky {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* ── NAV LINK HOVER: animated underline ─────────────────────── */
.ul-header-nav > a,
.ul-2-header-bottom .ul-header-nav > a {
  position: relative;
  padding-bottom: 3px;
}
.ul-header-nav > a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--ul-2-primary);
  border-radius: 2px;
  transition: width 0.25s ease;
}
.ul-header-nav > a:hover::after,
.ul-header-nav > a.active-nav-link::after {
  width: 100%;
}
/* Active nav link */
.ul-header-nav a.active-nav-link {
  color: #0805B1 !important;
  font-weight: 700;
}

/* ── DROPDOWN REFINEMENT ─────────────────────────────────────── */
.ul-header-nav .ul-header-submenu {
  min-width: 220px !important;
  border-radius: 12px !important;
  box-shadow: 0 16px 48px rgba(5,4,60,0.14) !important;
  border-top: 3px solid #FF0000 !important;
  padding: 8px 0 !important;
}
.ul-header-nav .ul-header-submenu ul li a {
  font-size: 13.5px !important;
  padding: 10px 20px !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  color: #05043C !important;
  border-radius: 0 !important;
  transition: background 0.15s ease, padding-left 0.15s ease !important;
}
.ul-header-nav .ul-header-submenu ul li a::before {
  content: '';
  width: 4px; height: 4px;
  background: var(--ul-2-primary);
  border-radius: 50%;
  flex-shrink: 0;
  opacity: 0;
  transition: opacity 0.15s ease;
}
.ul-header-nav .ul-header-submenu ul li a:hover::before { opacity: 1; }
.ul-header-nav .ul-header-submenu ul li a:hover {
  background: rgba(8,5,177,0.04) !important;
  padding-left: 28px !important;
  color: #0805B1 !important;
}

/* ── HEADER CTA BUTTONS ─────────────────────────────────────── */
.ul-2-header-bottom-btns > *:first-child {
  background: #05043C !important;
  border-color: #05043C !important;
  color: #fff !important;
  font-size: 13px;
  letter-spacing: 0.01em;
}
.ul-2-header-bottom-btns > *:first-child:hover {
  background: #0805B1 !important;
  border-color: #0805B1 !important;
}
.ul-2-header-bottom-btns > *:last-child {
  background: linear-gradient(90deg, #0805B1 0%, #FF0000 100%) !important;
  border-color: transparent !important;
  color: #fff !important;
  font-size: 13px;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 14px rgba(255,0,0,0.25);
}
.ul-2-header-bottom-btns > *:last-child:hover {
  background: linear-gradient(90deg, #FF0000 0%, #0805B1 100%) !important;
  box-shadow: 0 6px 20px rgba(8,5,177,0.30);
  transform: translateY(-1px);
}
/* Hamburger button on mobile */
.ul-2-header-bottom .ul-header-sidebar-opener {
  background: linear-gradient(135deg,#0805B1,#FF0000) !important;
  border-radius: 8px !important;
  width: 40px !important; height: 40px !important;
  display: flex; align-items: center; justify-content: center;
}

/* ── MOBILE SIDEBAR ─────────────────────────────────────────── */
.ul-sidebar {
  background: #fff;
  border-right: none;
}
.ul-sidebar-header {
  background: linear-gradient(135deg, #05043C 0%, #0805B1 100%);
  padding: 20px 24px;
}
.ul-sidebar-header .logo img { filter: brightness(0) invert(1); }
.ul-sidebar-closer {
  color: rgba(255,255,255,0.8) !important;
  border: 1px solid rgba(255,255,255,0.3) !important;
  border-radius: 6px !important;
  width: 36px !important; height: 36px !important;
  display: flex !important; align-items: center; justify-content: center;
}
.ul-sidebar-closer:hover {
  background: rgba(255,255,255,0.15) !important;
  color: #fff !important;
}
.ul-sidebar-footer {
  border-top: 1px solid #f0f0f0;
  padding: 20px 24px;
}

/* ============================================================
   FOOTER IMPROVEMENTS
   ============================================================ */

/* ── FOOTER CTA BANNER ──────────────────────────────────────── */
.ul-footer-cta-wrapper {
  background: linear-gradient(135deg, #05043C 0%, #0805B1 60%, #1a0050 100%);
  padding: clamp(28px,3.15vw,60px) 0;
  position: relative;
  overflow: hidden;
}
.ul-footer-cta-wrapper::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(255,0,0,0.18) 0%, transparent 60%);
  pointer-events: none;
}
.ul-footer-cta {
  background: transparent !important;
  position: relative; z-index: 1;
}
.ul-footer-cta-descr {
  color: rgba(255,255,255,0.9) !important;
  font-size: clamp(18px,1.47vw,26px) !important;
}
.ul-footer-about.ul-footer-logo-wrapper {
  background: rgba(255,255,255,0.08) !important;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  padding: 20px 28px !important;
}
.ul-footer-about.ul-footer-logo-wrapper img { filter: brightness(0) invert(1); }
.ul-footer-cta-form {
  background: rgba(255,255,255,0.12) !important;
  border: 1px solid rgba(255,255,255,0.2) !important;
  border-radius: 8px !important;
}
.ul-footer-cta-form input {
  background: transparent !important;
  color: #fff !important;
}
.ul-footer-cta-form input::placeholder { color: rgba(255,255,255,0.55); }
.ul-footer-cta-form button {
  background: #FF0000 !important;
  border-color: #FF0000 !important;
  border-radius: 6px !important;
}
.ul-footer-cta-form button:hover {
  background: #fff !important;
  border-color: #fff !important;
  color: #FF0000 !important;
}
.ul-footer-cta-form button i { color: inherit !important; }

/* ── FOOTER MAIN BG ─────────────────────────────────────────── */
.ul-footer-bg {
  background: #0D0D1A !important;
  border-top: 4px solid var(--ul-2-primary);
}

/* ── FOOTER ABOUT COLUMN ────────────────────────────────────── */
.ul-footer-about {
  background: linear-gradient(160deg, rgba(8,5,177,0.18) 0%, rgba(255,0,0,0.06) 100%) !important;
  border-right: 1px solid rgba(255,255,255,0.06);
}
.ul-footer-about .ul-footer-widget-title,
.ul-footer-about h3 {
  color: #fff !important;
}
.ul-footer-about-txt {
  line-height: 1.7;
  font-size: 14px !important;
}

/* ── FOOTER LOGO WRAPPER (the red box) ──────────────────────── */
.ul-footer-logo-wrapper:not(.ul-footer-about) {
  background: transparent !important;
  padding: 0 !important;
}

/* ── FOOTER SOCIAL ICONS ─────────────────────────────────────── */
.ul-footer-socials a {
  width: clamp(38px,2.36vw,45px) !important;
  border-radius: 8px !important;
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12) !important;
  transition: all 0.25s ease !important;
}
.ul-footer-socials a:hover {
  background: var(--ul-2-primary) !important;
  border-color: var(--ul-2-primary) !important;
  transform: translateY(-3px);
}

/* ── FOOTER WIDGETS ──────────────────────────────────────────── */
.ul-footer-widget-title {
  padding-bottom: 10px;
  position: relative;
}
.ul-footer-widget-title::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 28px; height: 2px;
  background: var(--ul-2-primary);
  border-radius: 2px;
}
.ul-footer-widget-links > * {
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.ul-footer-widget-links a:hover {
  padding-left: 6px;
  color: #fff !important;
}
.ul-footer-widget-links a::before {
  content: '';
  width: 4px; height: 4px;
  background: var(--ul-2-primary);
  border-radius: 50%;
  flex-shrink: 0;
  opacity: 0.5;
}

/* ── FOOTER CONTACT INFO ─────────────────────────────────────── */
.ul-footer-contact-info-icon i {
  width: 32px; height: 32px;
  background: rgba(255,0,0,0.12);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
}

/* ── PAYMENT / TRUST BADGES ROW ────────────────────────────── */
.ul-footer-trust-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 20px;
  padding: clamp(16px,1.58vw,30px) 0;
  border-top: 1px solid rgba(255,255,255,0.07);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: clamp(16px,1.58vw,30px);
}
.ul-footer-trust-badge {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  padding: 6px 14px;
  font-size: 11.5px;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.ul-footer-trust-badge i {
  color: var(--ul-secondary, #F6AF0F);
  font-size: 13px;
}

/* ── FOOTER LEGAL DISCLAIMER ─────────────────────────────────── */
.ul-footer-legal-disclaimer {
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  padding: clamp(16px,1.58vw,28px) clamp(16px,1.58vw,28px) !important;
  margin-top: clamp(20px,2.1vw,40px);
}
.ul-footer-legal-disclaimer p {
  font-size: 12px !important;
  color: rgba(255,255,255,0.4) !important;
  line-height: 1.65 !important;
}
.ul-footer-legal-disclaimer strong {
  color: rgba(255,255,255,0.65) !important;
  font-weight: 600;
}

/* ── FOOTER BOTTOM BAR ───────────────────────────────────────── */
.ul-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08) !important;
  padding: clamp(16px,1.58vw,24px) 0 !important;
  align-items: center !important;
}
.ul-footer-bottom .copyright {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
}
.ul-footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.ul-footer-bottom-links a {
  font-size: 12.5px;
  color: rgba(255,255,255,0.4);
  transition: color 0.2s ease;
  white-space: nowrap;
}
.ul-footer-bottom-links a:hover { color: rgba(255,255,255,0.9); }
.ul-footer-bottom-sep {
  color: rgba(255,255,255,0.15);
  font-size: 10px;
}

/* ── BACK TO TOP BUTTON ──────────────────────────────────────── */
.ul-back-to-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 44px; height: 44px;
  background: linear-gradient(135deg, #0805B1, #FF0000);
  color: #fff;
  border: none;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s, box-shadow 0.3s ease;
  z-index: 998;
  box-shadow: 0 4px 16px rgba(8,5,177,0.3);
}
.ul-back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.ul-back-to-top:hover {
  box-shadow: 0 8px 24px rgba(8,5,177,0.45);
  transform: translateY(-3px);
}
.ul-back-to-top:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
@media screen and (max-width: 479px) {
  .ul-back-to-top { bottom: 16px; right: 16px; width: 40px; height: 40px; }
}

/* ── FOOTER ABOUT STATS ──────────────────────────────────────── */
.ul-footer-about-stats {
  display: flex;
  gap: 18px;
  margin: 18px 0 4px;
  flex-wrap: wrap;
}
.ul-footer-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 8px 14px;
  min-width: 62px;
  text-align: center;
}
.ul-footer-stat strong {
  font-size: clamp(16px,1.26vw,22px);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}
.ul-footer-stat span {
  font-size: 10.5px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.3px;
  margin-top: 2px;
  white-space: nowrap;
}

/* ── FOOTER CONTACT ICON STYLE ───────────────────────────────── */
.ul-footer-contact-info-icon i {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── SECONDARY FOOTER VARIANT (education, markets, platforms, resources) ── */
.ul-footer-widget-text {
  font-size: 13.5px;
  color: #A4A4A4;
  line-height: 1.7;
}
.ul-footer-widget-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ul-footer-widget-list li a {
  font-size: 13.5px;
  color: #A4A4A4;
  transition: color 0.2s ease, padding-left 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.ul-footer-widget-list li a::before {
  content: '';
  width: 4px; height: 4px;
  background: var(--ul-2-primary);
  border-radius: 50%;
  flex-shrink: 0;
  opacity: 0.5;
}
.ul-footer-widget-list li a:hover {
  color: #fff;
  padding-left: 4px;
}
.ul-footer-widget-social {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}
.ul-footer-widget-social a {
  color: #fff;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.06);
  border-radius: 8px;
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  transition: all 0.25s ease;
}
.ul-footer-widget-social a:hover {
  background: var(--ul-2-primary);
  border-color: var(--ul-2-primary);
  transform: translateY(-3px);
}
.ul-footer-bottom-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.ul-footer-bottom-content p {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0 !important;
}

/* ── CTA SECTION: card alignment fix ─────────────────────────── */
/* Default flex align-items:stretch made ul-cta-card-2 balloon to
   match taller text cards. flex-start lets each card size naturally. */
.ul-cta-left {
  align-items: flex-start;
}
/* Ensure the 24/7 card's icon+text stays vertically centred
   within its own natural height */
.ul-cta-card-2 {
  align-self: center;
}
/* 24/7 support icon — replaced PNG (had large whitespace padding)
   with Font Awesome headset icon for crisp, properly-sized rendering */
.ul-cta-card-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: rgba(255, 0, 0, 0.10);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ul-cta-card-icon i {
  font-size: 22px;
  color: var(--ul-2-primary, #FF0000);
}
.ul-footer-bottom-content p a {
  color: rgba(255,255,255,0.5);
  transition: color 0.2s ease;
}
.ul-footer-bottom-content p a:hover { color: #fff; }

/* ── NON-STICKY HEADER: scrolls away with page ───────────────── */
/* Override all sticky/fixed rules — header stays in document flow */
.ul-header.to-be-sticky,
.ul-header.to-be-sticky.sticky {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  animation: none !important;
  z-index: auto !important;
}
.ul-header.to-be-sticky.sticky .ul-2-header-bottom {
  box-shadow: none !important;
  padding: clamp(12px, 1.26vw, 24px) 0 !important;
  border-bottom: none !important;
}

/* ====================================================
   INSTRUMENTS / MARKETS ICON GRID
   ==================================================== */
.ul-instruments-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  margin-top: 48px;
}
@media (max-width: 1199px) {
  .ul-instruments-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 575px) {
  .ul-instruments-grid { grid-template-columns: repeat(2, 1fr); }
}
.ul-instrument-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 16px;
  border-radius: 12px;
  border: 1.5px solid rgba(8, 5, 177, 0.1);
  background: #fff;
  text-decoration: none;
  transition: all 0.25s ease;
  gap: 10px;
}
.ul-instrument-card:hover {
  border-color: var(--ul-2-primary, #FF0000);
  box-shadow: 0 8px 32px rgba(255, 0, 0, 0.1);
  transform: translateY(-4px);
  text-decoration: none;
}
.ul-instrument-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(8,5,177,0.08) 0%, rgba(33,60,132,0.12) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease;
}
.ul-instrument-icon i {
  font-size: 26px;
  color: var(--ul-2-primary, #FF0000);
  transition: color 0.25s ease;
}
.ul-instrument-card:hover .ul-instrument-icon {
  background: linear-gradient(135deg, rgba(255,0,0,0.1) 0%, rgba(255,0,0,0.16) 100%);
}
.ul-instrument-card:hover .ul-instrument-icon i {
  color: var(--ul-2-primary, #FF0000);
}
.ul-instrument-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--ul-black, #05043C);
}
.ul-instrument-count {
  font-size: 12.5px;
  color: #7a7a9d;
  font-weight: 500;
}

/* ====================================================
   MARKETS PAGE — Premium market cards
   ==================================================== */
.ul-markets-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
@media (max-width: 991px) {
  .ul-markets-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
  .ul-markets-grid { grid-template-columns: 1fr; }
}
.ul-market-premium-card {
  position: relative;
  padding: 32px 28px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(8, 5, 177, 0.08);
  box-shadow: 0 4px 24px rgba(5, 4, 60, 0.05);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  scroll-margin-top: 120px;
}
.ul-market-premium-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent, #0805B1);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.ul-market-premium-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 48px rgba(5, 4, 60, 0.12);
  border-color: color-mix(in srgb, var(--accent, #0805B1) 40%, transparent);
}
.ul-market-premium-card:hover::before {
  transform: scaleX(1);
}
.ul-market-premium-card__head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}
.ul-market-premium-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--accent, #0805B1) 12%, #fff);
  transition: background 0.3s ease, transform 0.3s ease;
}
.ul-market-premium-icon i {
  font-size: 26px;
  color: var(--accent, #0805B1);
}
.ul-market-premium-card:hover .ul-market-premium-icon {
  background: var(--accent, #0805B1);
  transform: scale(1.05);
}
.ul-market-premium-card:hover .ul-market-premium-icon i {
  color: #fff;
}
.ul-market-premium-title {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: var(--ul-black, #05043C);
  line-height: 1.2;
}
.ul-market-premium-tag {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent, #0805B1);
}
.ul-market-premium-descr {
  color: #5D6063;
  font-size: 14.5px;
  line-height: 1.65;
  margin-bottom: 18px;
}
.ul-market-premium-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.ul-market-premium-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #05043C;
  font-weight: 500;
}
.ul-market-premium-list li i {
  color: var(--accent, #0805B1);
  font-size: 15px;
  flex-shrink: 0;
}

/* Markets stats cards */
.ul-markets-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}
@media (max-width: 767px) {
  .ul-markets-stats-grid { grid-template-columns: repeat(2, 1fr); }
}
.ul-market-stat-card {
  text-align: center;
  padding: 32px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(5, 4, 60, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ul-market-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(5, 4, 60, 0.1);
}
.ul-market-stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(8,5,177,0.1) 0%, rgba(255,0,0,0.1) 100%);
  margin-bottom: 16px;
}
.ul-market-stat-icon i {
  font-size: 24px;
  color: var(--ul-primary, #0805B1);
}
.ul-market-stat-number {
  font-size: 34px;
  font-weight: 800;
  color: var(--ul-primary, #0805B1);
  margin-bottom: 8px;
}
.ul-market-stat-label {
  color: #5D6063;
  margin: 0;
  font-size: 14.5px;
}

/* ====================================================
   PREMIUM UNIFIED PAGE BANNER
   Standardizes all 3 legacy banner styles into one
   premium design:
     - .stwfx-page-banner          (14 pages)
     - .ul-breadcrumb.ul-2-banner  (9 pages)
     - .ul-breadcrumb-wrapper      (4 pages, had NO css)
   ==================================================== */
.stwfx-page-banner,
.ul-breadcrumb.ul-2-banner,
.ul-breadcrumb-wrapper {
  position: relative;
  z-index: 1;
  overflow: hidden;
  text-align: center;
  max-width: none !important;
  margin: 0 !important;
  padding: clamp(120px, 13vw, 205px) 20px clamp(58px, 7vw, 105px) !important;
  background-color: #05043C !important;
  background-image: url(../img/breadcrumb-bg.jpg) !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  border-radius: 0 !important;
}
/* Brand gradient overlay for text legibility */
.stwfx-page-banner::before,
.ul-breadcrumb.ul-2-banner::before,
.ul-breadcrumb-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(115deg, rgba(5, 4, 60, 0.95) 0%, rgba(8, 5, 177, 0.85) 55%, rgba(33, 60, 132, 0.80) 100%);
  transform: none;
}
/* Decorative accent glows */
.stwfx-page-banner::after,
.ul-breadcrumb.ul-2-banner::after,
.ul-breadcrumb-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 88% 18%, rgba(255, 0, 0, 0.32) 0%, transparent 42%),
    radial-gradient(circle at 8% 92%, rgba(8, 5, 177, 0.45) 0%, transparent 40%);
}

/* Banner inner content container */
.ul-breadcrumb.ul-2-banner .ul-container,
.ul-breadcrumb-wrapper .ul-breadcrumb-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
}

/* Title */
.stwfx-page-banner h1,
.ul-breadcrumb.ul-2-banner .ul-breadcrumb-title,
.ul-breadcrumb-wrapper .ul-breadcrumb-title {
  color: #E6B450 !important;
  background: linear-gradient(90deg, #F6D879 0%, #E6B450 45%, #C8912B 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
  font-size: clamp(30px, 3.6vw, 58px);
  line-height: 1.12;
  letter-spacing: 0.01em;
  margin: 0 auto clamp(16px, 1.4vw, 22px);
  max-width: 900px;
  filter: drop-shadow(0 2px 18px rgba(0, 0, 0, 0.25));
}

/* ── Shared pill styling for the breadcrumb trail ── */
.stwfx-page-banner p,
.ul-breadcrumb.ul-2-banner .ul-breadcrumb-nav,
.ul-breadcrumb-wrapper .ul-breadcrumb-list {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 auto;
  padding: 9px 22px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  list-style: none;
  max-width: none;
}

/* Type A — plain text trail */
.stwfx-page-banner p {
  line-height: 1.4;
}

/* Type B — nav link trail */
.ul-breadcrumb.ul-2-banner .ul-breadcrumb-nav a {
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.2s ease;
}
.ul-breadcrumb.ul-2-banner .ul-breadcrumb-nav a:hover {
  color: #fff;
}
.ul-breadcrumb.ul-2-banner .ul-breadcrumb-nav .separator {
  display: inline-flex;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.5);
}
.ul-breadcrumb.ul-2-banner .ul-breadcrumb-nav .current {
  color: #FF5A5A;
  font-weight: 600;
}

/* Type C — list trail with chevron separators */
.ul-breadcrumb-wrapper .ul-breadcrumb-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #FF5A5A;
  font-weight: 600;
}
.ul-breadcrumb-wrapper .ul-breadcrumb-list li:not(:last-child)::after {
  content: "\203A";
  font-size: 15px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.5);
  margin-left: 8px;
}
.ul-breadcrumb-wrapper .ul-breadcrumb-list li a {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 500;
  transition: color 0.2s ease;
}
.ul-breadcrumb-wrapper .ul-breadcrumb-list li a:hover {
  color: #fff;
}

@media screen and (max-width: 575px) {
  .stwfx-page-banner p,
  .ul-breadcrumb.ul-2-banner .ul-breadcrumb-nav,
  .ul-breadcrumb-wrapper .ul-breadcrumb-list {
    font-size: 12.5px;
    padding: 8px 16px;
  }
}

/* ====================================================
   HOMEPAGE HERO — Golden banner title
   Overrides the global dark #05043C heading color
   ==================================================== */
.ul-banner .ul-banner-title,
.ul-banner .ul-banner-title .styled {
  color: #E6B450 !important;
  background: linear-gradient(90deg, #F6D879 0%, #E6B450 45%, #C8912B 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ====================================================
   HOMEPAGE "Everything You Need to Trade" (.ul-market)
   Remove the out-of-place dark #1a1a1a band that
   clashed with the premium light theme.
   ==================================================== */
.ul-market,
.ul-market[class] {
  background: #ffffff !important;
}

/* ====================================================
   NAVBAR — Consistent alignment & spacing
   Aligns the top utility bar, logo, nav links, dropdown
   triggers and CTA buttons on one shared baseline, and
   normalizes typography/spacing across all nav items.
   ==================================================== */

/* Align top utility bar edges with the main header container */
.ul-header-topbar-inner {
  max-width: calc(clamp(1180px, 88.28vw, 1680px) + 30px);
}

/* Keep logo, nav and buttons vertically centered on one line */
.ul-2-header-container,
.ul-2-header-bottom-right {
  align-items: center;
}

@media screen and (min-width: 992px) {
  /* Nav row: center every item vertically with even spacing */
  .ul-2-header-bottom .ul-header-nav {
    align-items: center;
    gap: clamp(18px, 2.1vw, 40px);
  }

  /* Normalize Home <a> and dropdown triggers to identical
     typography and vertical alignment */
  .ul-header-nav > a,
  .ul-2-header-bottom .ul-header-nav > a,
  .ul-header-nav .has-sub-menu > .nav-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 5px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1;
    color: var(--ul-black, #05043C);
    padding: 0 0 4px;
    white-space: nowrap;
  }

  /* Wrapper aligns its single in-flow trigger consistently
     (submenu is absolutely positioned, so flex is safe) */
  .ul-header-nav .has-sub-menu {
    display: flex;
    align-items: center;
  }

  /* Animated underline for ALL top-level items so Home and
     the dropdown triggers behave identically on hover */
  .ul-header-nav > a,
  .ul-header-nav .has-sub-menu > .nav-trigger {
    position: relative;
  }
  .ul-header-nav .has-sub-menu > .nav-trigger::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--ul-2-primary, #FF0000);
    border-radius: 2px;
    transition: width 0.25s ease;
  }
  .ul-header-nav .has-sub-menu:hover > .nav-trigger::before,
  .ul-header-nav .has-sub-menu:focus-within > .nav-trigger::before,
  .ul-header-nav .has-sub-menu.active-parent > .nav-trigger::before {
    width: 100%;
  }

  /* Consistent dropdown arrow spacing next to the label */
  .ul-header-nav .nav-trigger::after {
    margin-left: 2px;
    line-height: 1;
  }

  /* CTA buttons: equal height & centered content */
  .ul-2-header-bottom-btns {
    align-items: center;
  }
  .ul-2-header-bottom-btns > * {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}
