/*=============================================================================
  Xnova Capital Institutional Wealth Management Design System
  Real-world Financial Asset Management Platform Styling
  Colors: Native Red (#DC2626), Crisp White (#FFFFFF), Deep Institutional Navy (#0A192F / #0F172A)
=============================================================================*/

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --xf-red: #dc2626;
  --xf-red-hover: #b91c1c;
  --xf-red-soft: rgba(220, 38, 38, 0.08);

  --xf-navy-dark: #070e1a;
  --xf-navy-900: #0a192f;
  --xf-navy-800: #0f274a;
  --xf-navy-700: #1e3a8a;

  --xf-blue: #2563eb;
  --xf-blue-hover: #1d4ed8;

  --xf-white: #ffffff;
  --xf-gray-50: #f8fafc;
  --xf-gray-100: #f1f5f9;
  --xf-gray-200: #e2e8f0;
  --xf-gray-300: #cbd5e1;
  --xf-gray-400: #94a3b8;
  --xf-gray-600: #475569;
  --xf-gray-700: #334155;
  --xf-gray-800: #1e293b;
  --xf-gray-900: #0f172a;

  --xf-font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --xf-radius: 4px;
  --xf-radius-md: 8px;
  --xf-radius-lg: 12px;
  --xf-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
  --xf-shadow-hover: 0 12px 30px rgba(15, 23, 42, 0.14);
}

/* Global Reset & Base Typography */
* {
  box-sizing: border-box;
}

body {
  font-family: var(--xf-font) !important;
  color: var(--xf-gray-700) !important;
  background-color: var(--xf-white) !important;
  line-height: 1.65 !important;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--xf-font) !important;
  color: var(--xf-gray-900) !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  margin-top: 0;
}

a {
  text-decoration: none;
  transition: all 0.25s ease;
}

/* -------------------------------------------------------------
   TOP CORPORATE UTILITY BAR
------------------------------------------------------------- */
.xf-topbar {
  background-color: var(--xf-navy-900);
  color: var(--xf-gray-300);
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 0;
}

.xf-topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.xf-topbar-info {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.xf-topbar-info li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.xf-topbar-info a {
  color: var(--xf-gray-300);
}

.xf-topbar-info a:hover {
  color: var(--xf-white);
}

.xf-topbar-info i {
  color: var(--xf-red);
}

.xf-topbar-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.xf-topbar-links a {
  color: var(--xf-gray-300);
  font-weight: 500;
}

.xf-topbar-links a:hover {
  color: var(--xf-white);
}

/* -------------------------------------------------------------
   MAIN CORPORATE HEADER / NAVIGATION
------------------------------------------------------------- */
.xf-header,
.xf-navbar {
  background: var(--xf-white);
  border-bottom: 1px solid var(--xf-gray-200);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.xf-header .xf-navbar,
.xf-navbar-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 14px 0 !important;
  background: transparent !important;
  border-bottom: none !important;
  box-shadow: none !important;
  position: static !important;
}

.xf-brand-logo {
  display: inline-flex;
  align-items: center;
}

.xf-brand-logo img,
.xf-logo-wrap img,
.xf-footer-logo,
.xf-footer-brand img,
.xf-footer-logo-wrap img,
.xf-navbar img,
.xf-auth-card-header img {
  height: 40px !important;
  max-height: 40px !important;
  width: auto !important;
  max-width: 170px !important;
  object-fit: contain !important;
  display: inline-block !important;
}

.xf-nav-list,
.xf-nav-menu {
  display: flex !important;
  align-items: center !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 4px !important;
}

.xf-nav-list li,
.xf-nav-menu li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.xf-nav-link,
.xf-nav-list li a,
.xf-nav-menu li a {
  font-size: 15px !important;
  font-weight: 600 !important;
  color: var(--xf-gray-800) !important;
  padding: 10px 16px !important;
  border-radius: var(--xf-radius) !important;
  display: block !important;
  text-decoration: none !important;
  transition: all 0.25s ease !important;
}

.xf-nav-link:hover,
.xf-nav-list li a:hover,
.xf-nav-menu li a:hover {
  color: var(--xf-red) !important;
  background-color: var(--xf-gray-50) !important;
}

.xf-nav-link.active,
.xf-nav-list li a.active,
.xf-nav-menu li a.active {
  color: var(--xf-red) !important;
  font-weight: 700 !important;
  position: relative !important;
}

.xf-nav-link.active::after,
.xf-nav-list li a.active::after,
.xf-nav-menu li a.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 16px;
  right: 16px;
  height: 2px;
  background-color: var(--xf-red);
}

.xf-header-actions,
.xf-nav-actions {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.xf-btn-outline-navy,
.xf-btn-login {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: var(--xf-navy-900) !important;
  border: 1.5px solid var(--xf-navy-900) !important;
  padding: 9px 20px !important;
  border-radius: var(--xf-radius) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: transparent !important;
  text-decoration: none !important;
  transition: all 0.25s ease !important;
}

.xf-btn-outline-navy:hover,
.xf-btn-login:hover,
.xf-btn-login.active {
  background-color: var(--xf-navy-900) !important;
  color: var(--xf-white) !important;
}

.xf-btn-solid-red,
.xf-btn-register {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: var(--xf-white) !important;
  background-color: var(--xf-red);
  border: 1.5px solid var(--xf-red);
  padding: 9px 22px !important;
  border-radius: var(--xf-radius) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  text-decoration: none !important;
  transition: all 0.25s ease !important;
}

.xf-btn-solid-red:hover,
.xf-btn-register:hover,
.xf-btn-register.active {
  background-color: var(--xf-red-hover) !important;
  border-color: var(--xf-red-hover) !important;
  color: var(--xf-white) !important;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3) !important;
}

.xf-mobile-btn,
.xf-mobile-toggle,
.xf-mobile-toggler {
  display: none !important;
  background: none;
  border: 1px solid var(--xf-gray-300);
  font-size: 20px;
  color: var(--xf-navy-900);
  cursor: pointer;
  padding: 6px 12px;
  border-radius: var(--xf-radius);
}

@media (max-width: 991px) {
  .xf-nav-list,
  .xf-nav-menu {
    display: none !important;
  }
  .xf-mobile-btn,
  .xf-mobile-toggle,
  .xf-mobile-toggler {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }
}

/* -------------------------------------------------------------
   PAGE HEADER / HERO BANNER (USED ACROSS ALL INNER PAGES)
------------------------------------------------------------- */
.xf-page-header {
  background: linear-gradient(135deg, var(--xf-navy-900) 0%, #070e1a 100%) !important;
  padding: 55px 0 50px !important;
  border-bottom: 3px solid var(--xf-red) !important;
  position: relative !important;
  overflow: hidden !important;
}

.xf-page-header::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(220, 38, 38, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.xf-page-header-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}

.xf-breadcrumb {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 12px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--xf-gray-400) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
}

.xf-breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--xf-gray-400);
}

.xf-breadcrumb li a {
  color: var(--xf-gray-300) !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

.xf-breadcrumb li a:hover {
  color: var(--xf-red) !important;
}

.xf-page-title {
  color: var(--xf-white) !important;
  font-size: 34px !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  margin: 0 0 10px !important;
  line-height: 1.25 !important;
}

.xf-page-subtitle {
  color: var(--xf-gray-300) !important;
  font-size: 15px !important;
  margin: 0 auto !important;
  max-width: 620px !important;
  line-height: 1.6 !important;
}

@media (max-width: 768px) {
  .xf-page-header {
    padding: 38px 0 !important;
  }
  .xf-page-title {
    font-size: 26px !important;
  }
  .xf-page-subtitle {
    font-size: 14px !important;
  }
}

/* -------------------------------------------------------------
   INSTITUTIONAL HERO SLIDER (REAL PHOTOGRAPHY & ASSET OVERLAYS)
------------------------------------------------------------- */
.xf-hero-slider-wrap {
  position: relative;
  background-color: var(--xf-navy-dark);
  overflow: hidden;
}

.xf-hero-slide {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  padding: 90px 0;
}

.xf-hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 14, 26, 0.95) 0%, rgba(10, 25, 47, 0.82) 55%, rgba(10, 25, 47, 0.4) 100%);
  z-index: 1;
}

.xf-hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.xf-hero-kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--xf-red);
  background: rgba(220, 38, 38, 0.12);
  border-left: 3px solid var(--xf-red);
  padding: 6px 14px;
  margin-bottom: 20px;
}

.xf-hero-title {
  font-size: 48px !important;
  font-weight: 800 !important;
  color: var(--xf-white) !important;
  line-height: 1.18 !important;
  margin-bottom: 20px;
}

.xf-hero-desc {
  font-size: 18px;
  color: var(--xf-gray-300);
  line-height: 1.65;
  margin-bottom: 34px;
  max-width: 680px;
}

.xf-hero-btns {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.xf-hero-btn-primary {
  font-size: 15px;
  font-weight: 700;
  color: var(--xf-white) !important;
  background-color: var(--xf-red);
  padding: 13px 28px;
  border-radius: var(--xf-radius);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.xf-hero-btn-primary:hover {
  background-color: var(--xf-red-hover);
}

.xf-hero-btn-secondary {
  font-size: 15px;
  font-weight: 700;
  color: var(--xf-white) !important;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  padding: 12px 26px;
  border-radius: var(--xf-radius);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.xf-hero-btn-secondary:hover {
  background-color: var(--xf-white);
  color: var(--xf-navy-900) !important;
  border-color: var(--xf-white);
}

/* Slider Controls */
.xf-slider-nav {
  position: absolute;
  right: 40px;
  bottom: 40px;
  z-index: 5;
  display: flex;
  gap: 10px;
}

.xf-slider-btn {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--xf-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: var(--xf-radius);
  transition: all 0.25s ease;
}

.xf-slider-btn:hover {
  background: var(--xf-red);
  border-color: var(--xf-red);
}

/* -------------------------------------------------------------
   INSTITUTIONAL STATISTICS / PERFORMANCE STRIP
------------------------------------------------------------- */
.xf-stat-strip {
  background-color: var(--xf-navy-900);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 30px 0;
}

.xf-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.xf-stat-item {
  border-left: 3px solid var(--xf-red);
  padding-left: 18px;
}

.xf-stat-item:nth-child(2) {
  border-left-color: var(--xf-blue);
}

.xf-stat-item:nth-child(3) {
  border-left-color: var(--xf-white);
}

.xf-stat-item:nth-child(4) {
  border-left-color: #10b981;
}

.xf-stat-number {
  font-size: 32px;
  font-weight: 800;
  color: var(--xf-white);
  line-height: 1.1;
  margin-bottom: 4px;
}

.xf-stat-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--xf-gray-200);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}

.xf-stat-desc {
  font-size: 12px;
  color: var(--xf-gray-400);
  margin: 0;
}

/* -------------------------------------------------------------
   "OUR FOCUS" - STRATEGIC INVESTMENT CONTRACTS
------------------------------------------------------------- */
.xf-section {
  padding: 90px 0;
}

.xf-section-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 55px;
}

.xf-section-kicker {
  font-size: 13px;
  font-weight: 800;
  color: var(--xf-red);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
  display: block;
}

.xf-section-title {
  font-size: 36px !important;
  font-weight: 800 !important;
  color: var(--xf-gray-900) !important;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 15px;
}

.xf-section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background-color: var(--xf-red);
}

.xf-section-lead {
  font-size: 16px;
  color: var(--xf-gray-600);
  line-height: 1.7;
}

.xf-card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.xf-focus-box {
  background: var(--xf-white);
  border: 1px solid var(--xf-gray-200);
  border-radius: var(--xf-radius-md);
  overflow: hidden;
  box-shadow: var(--xf-shadow);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.xf-focus-box:hover {
  transform: translateY(-6px);
  box-shadow: var(--xf-shadow-hover);
  border-color: var(--xf-red);
}

.xf-focus-img {
  position: relative;
  height: 230px;
  overflow: hidden;
  background-color: var(--xf-navy-900);
}

.xf-focus-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.xf-focus-box:hover .xf-focus-img img {
  transform: scale(1.05);
}

.xf-focus-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(10, 25, 47, 0.9);
  color: var(--xf-white);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-left: 3px solid var(--xf-red);
}

.xf-focus-body {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.xf-focus-category {
  font-size: 13px;
  font-weight: 700;
  color: var(--xf-red);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.xf-focus-name {
  font-size: 19px !important;
  font-weight: 800 !important;
  color: var(--xf-gray-900) !important;
  line-height: 1.35 !important;
  margin-bottom: 18px;
  flex-grow: 1;
}

.xf-focus-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--xf-gray-100);
  padding-top: 16px;
}

.xf-focus-features li {
  font-size: 14px;
  color: var(--xf-gray-700);
  display: flex;
  align-items: center;
  gap: 8px;
}

.xf-focus-features i {
  color: var(--xf-red);
  font-size: 13px;
}

.xf-focus-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--xf-navy-900);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}

.xf-focus-link:hover {
  color: var(--xf-red);
}

/* -------------------------------------------------------------
   "WHY CHOOSE XNOVA CAPITAL" SECTION
------------------------------------------------------------- */
.xf-bg-light {
  background-color: var(--xf-gray-50);
  border-top: 1px solid var(--xf-gray-200);
  border-bottom: 1px solid var(--xf-gray-200);
}

.xf-why-row {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 45px;
  align-items: center;
}

.xf-why-img-card {
  position: relative;
  border-radius: var(--xf-radius-md);
  overflow: hidden;
  box-shadow: var(--xf-shadow);
}

.xf-why-img-card img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}

.xf-why-trust-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(10, 25, 47, 0.94);
  color: var(--xf-white);
  padding: 16px 20px;
  border-radius: var(--xf-radius);
  border-left: 4px solid var(--xf-red);
}

.xf-why-trust-badge h5 {
  color: var(--xf-white) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  margin: 0 0 4px;
}

.xf-why-trust-badge p {
  color: var(--xf-gray-300);
  font-size: 13px;
  margin: 0;
}

.xf-why-content h2 {
  font-size: 34px !important;
  font-weight: 800 !important;
  color: var(--xf-gray-900) !important;
  margin-bottom: 18px;
}

.xf-why-text {
  font-size: 16px;
  color: var(--xf-gray-600);
  line-height: 1.7;
  margin-bottom: 24px;
}

.xf-check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.xf-check-list li {
  background: var(--xf-white);
  border: 1px solid var(--xf-gray-200);
  border-radius: var(--xf-radius);
  padding: 12px 18px;
  font-size: 15px;
  font-weight: 700;
  color: var(--xf-gray-900);
  display: flex;
  align-items: center;
  gap: 12px;
}

.xf-check-list i {
  color: var(--xf-red);
  font-size: 16px;
}

/* Institutional Progress Bars */
.xf-progress-wrap {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.xf-progress-title-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--xf-gray-900);
}

.xf-progress-bar-bg {
  height: 9px;
  background-color: var(--xf-gray-200);
  border-radius: 4px;
  overflow: hidden;
}

.xf-progress-bar-fill-red {
  height: 100%;
  width: 99%;
  background-color: var(--xf-red);
}

.xf-progress-bar-fill-blue {
  height: 100%;
  width: 100%;
  background-color: var(--xf-blue);
}

/* -------------------------------------------------------------
   CALL TO ACTION (CTA) SECTION
------------------------------------------------------------- */
.xf-cta-banner {
  background-color: var(--xf-navy-900);
  padding: 65px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.xf-cta-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 25px;
}

.xf-cta-title {
  font-size: 34px !important;
  color: var(--xf-white) !important;
  margin: 0;
  line-height: 1.25 !important;
}

/* -------------------------------------------------------------
   INSTITUTIONAL CORPORATE FOOTER
------------------------------------------------------------- */
.xf-footer {
  background-color: var(--xf-navy-dark);
  color: var(--xf-gray-300);
  padding: 75px 0 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.xf-footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 1.1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.xf-footer-brand img {
  height: 40px;
  width: auto;
  background: var(--xf-white);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 20px;
}

.xf-footer-brand p,
.xf-footer-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--xf-gray-400);
  margin-bottom: 20px;
}

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

.xf-social-icons a,
.xf-footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--xf-gray-300);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--xf-radius);
}

.xf-social-icons a:hover,
.xf-footer-social a:hover {
  background: var(--xf-red);
  color: var(--xf-white);
}

.xf-footer-col h4,
.xf-footer-title {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: var(--xf-white) !important;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.xf-footer-col h4::after,
.xf-footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 26px;
  height: 2px;
  background-color: var(--xf-red);
}

.xf-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.xf-footer-links a {
  color: var(--xf-gray-400);
  font-size: 14px;
}

.xf-footer-links a:hover {
  color: var(--xf-white);
  padding-left: 4px;
}

.xf-newsletter-box {
  position: relative;
  margin-top: 15px;
}

.xf-newsletter-input {
  width: 100%;
  padding: 12px 50px 12px 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--xf-radius);
  color: var(--xf-white);
  font-size: 14px;
  outline: none;
}

.xf-newsletter-input:focus {
  border-color: var(--xf-red);
}

.xf-newsletter-btn {
  position: absolute;
  top: 4px;
  right: 4px;
  bottom: 4px;
  width: 38px;
  background: var(--xf-red);
  border: none;
  border-radius: var(--xf-radius);
  color: var(--xf-white);
  cursor: pointer;
}

.xf-contact-line {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.xf-contact-line i {
  color: var(--xf-red);
  font-size: 15px;
}

.xf-contact-line a {
  color: var(--xf-gray-300);
  font-size: 14px;
}

.xf-contact-line a:hover {
  color: var(--xf-white);
}

.xf-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 13px;
  color: var(--xf-gray-400);
}

.xf-footer-bottom a {
  color: var(--xf-gray-400);
}

.xf-footer-bottom a:hover {
  color: var(--xf-red);
}

/* -------------------------------------------------------------
   MOBILE DRAWER NAVIGATION
------------------------------------------------------------- */
.xf-mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: var(--xf-navy-900);
  z-index: 2000;
  padding: 25px;
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
}

.xf-mobile-drawer.open {
  right: 0;
}

.xf-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.xf-drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.xf-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 20px;
}

.xf-drawer-close {
  background: none;
  border: none;
  color: var(--xf-white);
  font-size: 22px;
  cursor: pointer;
}

.xf-drawer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.xf-drawer-links a {
  color: var(--xf-gray-200);
  font-size: 16px;
  font-weight: 600;
  display: block;
  padding: 8px 0;
}

.xf-drawer-links a:hover {
  color: var(--xf-red);
}

.xf-drawer-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* -------------------------------------------------------------
   VISIONARY ASSET & ELON SPOTLIGHT SECTION
------------------------------------------------------------- */
.xf-spotlight-section {
  padding: 90px 0;
  background-color: var(--xf-white);
  border-top: 1px solid var(--xf-gray-200);
}

.xf-spotlight-row {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 50px;
  align-items: center;
}

.xf-spotlight-img-wrap {
  position: relative;
  border-radius: var(--xf-radius-md);
  overflow: hidden;
  box-shadow: var(--xf-shadow);
}

.xf-spotlight-img-wrap img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.xf-spotlight-img-wrap:hover img {
  transform: scale(1.03);
}

.xf-spotlight-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(10, 25, 47, 0.94);
  color: var(--xf-white);
  padding: 14px 20px;
  border-radius: var(--xf-radius);
  border-left: 4px solid var(--xf-red);
}

.xf-spotlight-badge h5 {
  color: var(--xf-white) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  margin: 0 0 4px;
}

.xf-spotlight-badge p {
  color: var(--xf-gray-300);
  font-size: 13px;
  margin: 0;
}

.xf-spotlight-content h2 {
  font-size: 34px !important;
  font-weight: 800 !important;
  color: var(--xf-gray-900) !important;
  margin-bottom: 18px;
}

.xf-spotlight-desc {
  font-size: 16px;
  color: var(--xf-gray-600);
  line-height: 1.7;
  margin-bottom: 24px;
}

/* -------------------------------------------------------------
   RESPONSIVE DESIGN
------------------------------------------------------------- */
@media (max-width: 991px) {
  .xf-spotlight-row {
    grid-template-columns: 1fr;
  }
  .xf-spotlight-img-wrap img {
    height: 320px;
  }
  .xf-nav-list,
  .xf-header-actions,
  .xf-topbar {
    display: none;
  }

  .xf-mobile-btn {
    display: block;
  }

  .xf-hero-title {
    font-size: 36px !important;
  }

  .xf-stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .xf-card-grid-3 {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .xf-why-row {
    grid-template-columns: 1fr;
  }

  .xf-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .xf-hero-title {
    font-size: 28px !important;
  }

  .xf-hero-slide {
    min-height: 480px;
    padding: 60px 0;
  }

  .xf-stat-grid {
    grid-template-columns: 1fr;
  }

  .xf-cta-flex {
    flex-direction: column;
    text-align: center;
  }

  .xf-footer-grid {
    grid-template-columns: 1fr;
  }

  .xf-footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* -------------------------------------------------------------
   AUTHENTICATION PAGES (LOGIN & REGISTER)
------------------------------------------------------------- */
.xf-auth-wrapper {
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px 15px;
  background: linear-gradient(180deg, var(--xf-gray-50) 0%, var(--xf-white) 100%);
}

.xf-auth-card {
  background: var(--xf-white);
  border: 1px solid var(--xf-gray-200);
  border-radius: var(--xf-radius-md);
  box-shadow: 0 10px 35px rgba(15, 23, 42, 0.08);
  width: 100%;
  max-width: 500px;
  overflow: hidden;
}

.xf-auth-card.wide {
  max-width: 660px;
}

.xf-auth-card-header {
  background: var(--xf-navy-900);
  color: var(--xf-white);
  padding: 30px;
  text-align: center;
  border-bottom: 3px solid var(--xf-red);
}

.xf-auth-card-header img {
  height: 40px;
  width: auto;
  background: #ffffff;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 14px;
}

.xf-auth-card-header h3 {
  color: var(--xf-white) !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  margin: 0 0 6px;
}

.xf-auth-card-header p {
  color: var(--xf-gray-300);
  font-size: 13px;
  margin: 0;
}

.xf-auth-card-body {
  padding: 35px;
}

.xf-form-group {
  margin-bottom: 20px;
}

.xf-form-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--xf-gray-800);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.xf-form-input {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  font-family: var(--xf-font);
  border: 1.5px solid var(--xf-gray-300);
  border-radius: var(--xf-radius);
  color: var(--xf-gray-900);
  background-color: var(--xf-white);
  transition: all 0.25s ease;
  outline: none;
}

.xf-form-input:focus {
  border-color: var(--xf-red);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
}

.xf-form-select {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  font-family: var(--xf-font);
  border: 1.5px solid var(--xf-gray-300);
  border-radius: var(--xf-radius);
  color: var(--xf-gray-900);
  background-color: var(--xf-white);
  transition: all 0.25s ease;
  outline: none;
}

.xf-form-select:focus {
  border-color: var(--xf-red);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
}

.xf-auth-submit-btn {
  width: 100%;
  background-color: var(--xf-red);
  border: 1.5px solid var(--xf-red);
  color: var(--xf-white) !important;
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 13px;
  border-radius: var(--xf-radius);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s ease;
}

.xf-auth-submit-btn:hover {
  background-color: var(--xf-red-hover);
  border-color: var(--xf-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(220, 38, 38, 0.35);
}

.xf-auth-footer-links {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--xf-gray-200);
  text-align: center;
  font-size: 14px;
  color: var(--xf-gray-600);
}

.xf-auth-footer-links a {
  color: var(--xf-red);
  font-weight: 700;
}

.xf-auth-footer-links a:hover {
  text-decoration: underline;
}

.xf-alert-error {
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.3);
  border-left: 4px solid var(--xf-red);
  padding: 14px 18px;
  border-radius: var(--xf-radius);
  margin-bottom: 22px;
  font-size: 14px;
  color: #991b1b;
}

.xf-alert-error ul {
  margin: 0;
  padding-left: 20px;
}

/* -------------------------------------------------------------
   INSTITUTIONAL CONTACT US SECTION
------------------------------------------------------------- */
.xf-contact-section {
  padding: 70px 0 90px;
  background-color: var(--xf-gray-50);
}

.xf-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 991px) {
  .xf-contact-grid {
    grid-template-columns: 1fr;
  }
}

.xf-contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.xf-contact-card {
  background: var(--xf-white);
  border: 1px solid var(--xf-gray-200);
  border-radius: var(--xf-radius-md);
  padding: 22px 24px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.04);
  transition: all 0.25s ease;
}

.xf-contact-card:hover {
  transform: translateY(-2px);
  border-color: var(--xf-red);
  box-shadow: 0 8px 25px rgba(15, 23, 42, 0.08);
}

.xf-contact-icon-box {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  background: rgba(220, 38, 38, 0.08);
  color: var(--xf-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.xf-contact-card-content h4 {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: var(--xf-navy-900) !important;
  margin: 0 0 4px !important;
}

.xf-contact-card-content p {
  font-size: 14px !important;
  color: var(--xf-gray-600) !important;
  margin: 0 !important;
  line-height: 1.5 !important;
}

.xf-contact-card-content a {
  color: var(--xf-red) !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}

.xf-contact-card-content a:hover {
  text-decoration: underline !important;
}

.xf-contact-form-card {
  background: var(--xf-white);
  border: 1px solid var(--xf-gray-200);
  border-radius: var(--xf-radius-md);
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
  padding: 38px;
}

@media (max-width: 576px) {
  .xf-contact-form-card {
    padding: 24px;
  }
}

.xf-contact-form-header {
  margin-bottom: 26px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--xf-gray-200);
}

.xf-contact-form-header h3 {
  font-size: 22px !important;
  font-weight: 800 !important;
  color: var(--xf-navy-900) !important;
  margin: 0 0 6px !important;
}

.xf-contact-form-header p {
  font-size: 14px !important;
  color: var(--xf-gray-600) !important;
  margin: 0 !important;
}

.xf-form-textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  font-family: var(--xf-font);
  border: 1.5px solid var(--xf-gray-300);
  border-radius: var(--xf-radius);
  color: var(--xf-gray-900);
  background-color: var(--xf-white);
  transition: all 0.25s ease;
  outline: none;
  resize: vertical;
  min-height: 130px;
}

.xf-form-textarea:focus {
  border-color: var(--xf-red);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
}

/* -------------------------------------------------------------
   USER DASHBOARD REDESIGN STYLES
------------------------------------------------------------- */
.xf-dash-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 25px;
}

.xf-dash-kpi-card {
  background: var(--xf-white);
  border: 1px solid var(--xf-gray-200);
  border-radius: var(--xf-radius-md);
  padding: 22px 20px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
  position: relative;
  overflow: hidden;
  transition: all 0.25s ease;
}

.xf-dash-kpi-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.xf-dash-kpi-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--xf-red);
}

.xf-dash-kpi-card.kpi-blue::before {
  background: var(--xf-blue);
}

.xf-dash-kpi-card.kpi-navy::before {
  background: var(--xf-navy-900);
}

.xf-dash-kpi-card.kpi-green::before {
  background: #10b981;
}

.xf-dash-kpi-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.xf-dash-kpi-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--xf-gray-600);
}

.xf-dash-kpi-icon {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: rgba(220, 38, 38, 0.1);
  color: var(--xf-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.xf-dash-kpi-card.kpi-blue .xf-dash-kpi-icon {
  background: rgba(37, 99, 235, 0.1);
  color: var(--xf-blue);
}

.xf-dash-kpi-card.kpi-navy .xf-dash-kpi-icon {
  background: rgba(10, 25, 47, 0.1);
  color: var(--xf-navy-900);
}

.xf-dash-kpi-card.kpi-green .xf-dash-kpi-icon {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.xf-dash-kpi-value {
  font-size: 26px;
  font-weight: 800;
  color: var(--xf-gray-900);
  line-height: 1.1;
  margin-bottom: 4px;
}

.xf-dash-kpi-sub {
  font-size: 12px;
  color: var(--xf-gray-400);
  margin: 0;
}

/* Dashboard Referral Card */
.xf-dash-ref-card {
  background: var(--xf-white);
  border: 1px solid var(--xf-gray-200);
  border-radius: var(--xf-radius-md);
  padding: 24px;
  margin-bottom: 25px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

.xf-dash-ref-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--xf-navy-900);
  margin-bottom: 6px;
}

.xf-dash-ref-desc {
  font-size: 14px;
  color: var(--xf-gray-600);
  margin-bottom: 16px;
}

.xf-dash-ref-input-wrap {
  display: flex;
  align-items: center;
  max-width: 600px;
  gap: 8px;
}

.xf-dash-ref-input {
  flex-grow: 1;
  padding: 10px 14px;
  font-size: 14px;
  font-family: var(--xf-font);
  border: 1px solid var(--xf-gray-300);
  border-radius: var(--xf-radius);
  background: var(--xf-gray-50);
  color: var(--xf-gray-800);
}

.xf-dash-copy-btn {
  background: var(--xf-navy-900);
  color: var(--xf-white);
  border: none;
  padding: 10px 18px;
  border-radius: var(--xf-radius);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.25s ease;
}

.xf-dash-copy-btn:hover {
  background: var(--xf-red);
}

/* Dashboard Asset Contracting Action Cards */
.xf-dash-contract-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin-bottom: 30px;
}

.xf-dash-contract-card {
  background: var(--xf-white);
  border: 1px solid var(--xf-gray-200);
  border-radius: var(--xf-radius-md);
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.xf-dash-contract-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(15, 23, 42, 0.1);
  border-color: var(--xf-red);
}

.xf-dash-contract-img {
  height: 200px;
  position: relative;
  overflow: hidden;
  background-color: var(--xf-navy-900);
}

.xf-dash-contract-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.xf-dash-contract-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.xf-dash-contract-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--xf-red);
  margin-bottom: 8px;
}

.xf-dash-contract-title {
  font-size: 18px !important;
  font-weight: 800 !important;
  color: var(--xf-gray-900) !important;
  margin-bottom: 10px;
}

.xf-dash-contract-text {
  font-size: 14px;
  color: var(--xf-gray-600);
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
}

.xf-dash-contract-btn {
  background-color: var(--xf-navy-900);
  color: var(--xf-white) !important;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: var(--xf-radius);
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: all 0.25s ease;
}

.xf-dash-contract-btn:hover {
  background-color: var(--xf-red);
}

@media (max-width: 991px) {
  .xf-dash-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .xf-dash-contract-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .xf-dash-kpi-grid {
    grid-template-columns: 1fr;
  }
}

/* -------------------------------------------------------------
   DASHBOARD SHELL & HEADER OVERRIDES
------------------------------------------------------------- */
body.app,
body.main-body,
.page,
.main-header,
.main-header.hor-header,
.horizontalMenucontainer .main-header.hor-header,
.horizontal-gradient .horizontalMenucontainer .main-header.hor-header,
.main-header.side-header.fixed-header,
.sticky-pin .horizontalMenucontainer .main-header.hor-header {
  background: var(--xf-navy-900) !important;
  background-image: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 4px 20px rgba(10, 25, 47, 0.25) !important;
}

/* Eradicate the legacy 260px pink gradient content backdrop */
.main-content:after,
.main-content.horizontal-content:after,
.horizontalMenucontainer .main-content:after,
.horizontalMenucontainer .main-content.horizontal-content:after {
  display: none !important;
  content: none !important;
  background: none !important;
  height: 0 !important;
}

/* Clean corporate page background */
body.main-body.app,
.page,
.main-content,
.main-content.horizontal-content {
  background: #f8fafc !important;
  background-image: none !important;
}

.main-header.hor-header .header-brand img {
  background-color: #ffffff;
  padding: 4px 10px;
  border-radius: 4px;
}

.main-header.hor-header .nav-link {
  color: var(--xf-gray-300) !important;
}

.main-header.hor-header .nav-link:hover {
  color: var(--xf-white) !important;
}

/* ==========================================================================
   DASHBOARD NAVIGATION (Desktop & Mobile)
   ========================================================================== */

/* Desktop Navigation (>= 992px) */
@media (min-width: 992px) {
  .horizontal-main {
    background: #0f172a !important;
    border-bottom: 2px solid var(--xf-red) !important;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.2) !important;
    position: relative !important;
    z-index: 999 !important;
  }

  .horizontal-mainwrapper {
    max-width: 100% !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
  }

  .horizontalMenu {
    width: 100% !important;
  }

  .horizontalMenu > .horizontalMenu-list {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    width: 100% !important;
    gap: 2px !important;
  }

  .horizontalMenu-list > li {
    float: none !important;
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    white-space: nowrap !important;
    position: relative !important;
  }

  .horizontalMenu-list > li > a {
    color: #94a3b8 !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    padding: 13px 10px !important;
    letter-spacing: 0.01em !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    transition: all 0.2s ease !important;
    white-space: nowrap !important;
    border-radius: 4px !important;
    text-decoration: none !important;
  }

  .horizontalMenu-list > li > a:hover,
  .horizontalMenu-list > li > a.active {
    color: #ffffff !important;
    background: rgba(220, 38, 38, 0.15) !important;
  }

  .horizontalMenu-list > li > a i {
    color: var(--xf-red) !important;
    font-size: 14px !important;
    margin: 0 !important;
  }

  /* Logout button aligned right */
  .horizontalMenu-list > li.xf-nav-logout {
    margin-left: auto !important;
  }

  .horizontalMenu-list > li.xf-nav-logout form {
    margin: 0 !important;
    padding: 0 !important;
  }

  .horizontalMenu-list > li.xf-nav-logout form button {
    background: rgba(220, 38, 38, 0.1) !important;
    border: 1px solid rgba(220, 38, 38, 0.3) !important;
    color: #fca5a5 !important;
    font-weight: 700 !important;
    font-size: 12px !important;
    padding: 6px 12px !important;
    border-radius: 4px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
  }

  .horizontalMenu-list > li.xf-nav-logout form button:hover {
    background: var(--xf-red) !important;
    color: #ffffff !important;
  }

  .horizontalMenu-list > li.xf-nav-logout form button i {
    color: inherit !important;
    margin: 0 !important;
  }

  .sub-menu {
    background: var(--xf-navy-900) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-top: 2px solid var(--xf-red) !important;
    border-radius: 0 0 6px 6px !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4) !important;
  }

  .sub-menu li a {
    color: #cbd5e1 !important;
    font-size: 13px !important;
    padding: 10px 18px !important;
    transition: all 0.2s ease !important;
  }

  .sub-menu li a:hover {
    color: var(--xf-white) !important;
    background: rgba(220, 38, 38, 0.15) !important;
    padding-left: 22px !important;
  }
}

/* Breadcrumb Header Clearance & Alignment */
.horizontalMenucontainer .breadcrumb-header,
.breadcrumb-header {
  margin-top: 24px !important;
  margin-bottom: 24px !important;
  padding-top: 0 !important;
  position: relative !important;
  z-index: 2 !important;
}

.main-content.horizontal-content {
  padding-top: 15px !important;
}

/* Mobile Sidebar Drawer (<= 991px) */
@media (max-width: 991px) {
  /* Closed State: completely hidden offscreen with no shadow or visible overflow */
  .horizontalMenu {
    visibility: hidden !important;
    pointer-events: none !important;
    z-index: -1 !important;
  }

  .horizontalMenu > .horizontalMenu-list {
    background: #ffffff !important;
    box-shadow: none !important;
    text-align: left !important;
    padding-top: 14px !important;
    padding-bottom: 40px !important;
    width: 270px !important;
    margin-left: -320px !important; /* Fully shifted offscreen including shadow */
    transition: margin-left 0.25s ease-in-out, box-shadow 0.25s ease-in-out !important;
  }

  .horizontalMenu-list > li {
    border-bottom: 1px solid #f1f5f9 !important;
    background: transparent !important;
    text-align: left !important;
    position: relative !important;
  }

  /* Main Menu Link Items (hidden when closed) */
  .horizontalMenu-list > li > a {
    color: #0f172a !important; /* Bold high-contrast dark slate */
    -webkit-text-fill-color: #0f172a !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    padding: 14px 20px !important;
    display: flex !important;
    align-items: center !important;
    text-align: left !important;
    letter-spacing: 0.01em !important;
    text-decoration: none !important;
    visibility: hidden;
    opacity: 0;
    transition: all 0.2s ease !important;
  }

  /* Active / Open State: drawer slides in smoothly and links become visible */
  body.active .horizontalMenu {
    visibility: visible !important;
    pointer-events: auto !important;
    z-index: 10000 !important;
  }

  body.active .horizontalMenu > .horizontalMenu-list {
    margin-left: 0 !important;
    box-shadow: 6px 0 30px rgba(15, 23, 42, 0.25) !important;
  }

  body.active .horizontalMenu-list > li > a {
    visibility: visible !important;
    opacity: 1 !important;
  }

  .horizontalMenu-list > li > a:hover,
  .horizontalMenu-list > li > a.active {
    color: var(--xf-red) !important;
    -webkit-text-fill-color: var(--xf-red) !important;
    background-color: #fff1f2 !important;
  }

  /* Menu Item Icons */
  .horizontalMenu-list > li > a i,
  .horizontalMenu-list > li > a .menu-icon {
    color: var(--xf-red) !important;
    font-size: 17px !important;
    width: 22px !important;
    margin-right: 14px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* Expand/Collapse Dropdown Arrow for parent items (Full width to allow tapping text or row) */
  .horizontalMenu > .horizontalMenu-list > li > .horizontalMenu-click {
    height: 49px !important;
    width: 100% !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    position: absolute !important;
    display: block !important;
    cursor: pointer !important;
    z-index: 5 !important;
  }

  .horizontalMenu > .horizontalMenu-list > li > .horizontalMenu-click > i {
    color: #475569 !important;
    font-size: 15px !important;
    float: right !important;
    margin-top: 17px !important;
    margin-right: 16px !important;
    display: block !important;
    transition: transform 0.25s ease !important;
  }

  .horizontalMenu > .horizontalMenu-list > li > .horizontalMenu-click.horizontal-activearrow > i {
    color: var(--xf-red) !important;
    transform: rotate(180deg) !important;
  }

  /* Submenus on Mobile */
  .horizontalMenu-list .sub-menu {
    background: #f8fafc !important;
    border: none !important;
    border-left: 3px solid var(--xf-red) !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 6px 0 !important;
    border-radius: 0 !important;
    width: 100% !important;
    position: relative !important;
    z-index: 10 !important;
  }

  .horizontalMenu-list .sub-menu li {
    border-bottom: 1px solid #edf2f7 !important;
    background: transparent !important;
    position: relative !important;
    z-index: 10 !important;
  }

  .horizontalMenu-list .sub-menu li:last-child {
    border-bottom: none !important;
  }

  .horizontalMenu-list .sub-menu li a,
  .horizontalMenu-list .sub-menu li a.slide-item {
    color: #334155 !important;
    -webkit-text-fill-color: #334155 !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    padding: 11px 20px 11px 48px !important;
    display: block !important;
    text-align: left !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
  }

  .horizontalMenu-list .sub-menu li a:hover,
  .horizontalMenu-list .sub-menu li a.active {
    color: var(--xf-red) !important;
    -webkit-text-fill-color: var(--xf-red) !important;
    background-color: #f1f5f9 !important;
    padding-left: 52px !important;
  }

  /* Form Logout Item */
  .horizontalMenu-list > li form {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
  }

  .horizontalMenu-list > li form button {
    background: transparent !important;
    border: none !important;
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
    font-size: 14.5px !important;
    font-weight: 700 !important;
    padding: 13px 20px !important;
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    text-align: left !important;
    cursor: pointer !important;
    letter-spacing: 0.01em !important;
    transition: all 0.2s ease !important;
  }

  .horizontalMenu-list > li form button:hover {
    color: var(--xf-red) !important;
    -webkit-text-fill-color: var(--xf-red) !important;
    background-color: #fff1f2 !important;
  }

  .horizontalMenu-list > li form button i {
    color: var(--xf-red) !important;
    font-size: 17px !important;
    width: 22px !important;
    margin-right: 14px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
}

.breadcrumb-header {
  padding: 24px 0 18px !important;
  border-bottom: 1px solid var(--xf-gray-200) !important;
  margin-bottom: 26px !important;
}

.breadcrumb-header .content-title {
  font-size: 22px !important;
  font-weight: 800 !important;
  color: var(--xf-navy-900) !important;
  margin-bottom: 4px !important;
}

.breadcrumb-item a {
  color: var(--xf-red) !important;
  font-weight: 600;
}

.breadcrumb-item.active {
  color: var(--xf-gray-500) !important;
}

.xf-dash-badge-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.xf-dash-badge-status.verified {
  background: rgba(16, 185, 129, 0.12);
  color: #065f46;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.xf-dash-badge-status.unverified {
  background: rgba(234, 88, 12, 0.12);
  color: #9a3412;
  border: 1px solid rgba(234, 88, 12, 0.3);
}

.main-footer {
  background: var(--xf-navy-900) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: var(--xf-gray-400) !important;
  font-size: 13px !important;
}

.main-footer a {
  color: var(--xf-red) !important;
  font-weight: 700;
}

/* -------------------------------------------------------------
   INSTITUTIONAL CONTRACT TIERS & PLAN CARDS
------------------------------------------------------------- */
.xf-tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 40px;
}

.xf-tier-card {
  background: var(--xf-white);
  border: 1px solid var(--xf-gray-200);
  border-radius: var(--xf-radius-md);
  box-shadow: var(--xf-shadow);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.xf-tier-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--xf-shadow-hover);
  border-color: var(--xf-red);
}

.xf-tier-card.featured {
  border: 2px solid var(--xf-red);
}

.xf-tier-card.featured::before {
  content: 'MOST POPULAR';
  position: absolute;
  top: 14px;
  right: -32px;
  transform: rotate(45deg);
  background: var(--xf-red);
  color: var(--xf-white);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 36px;
  z-index: 3;
}

.xf-tier-header {
  padding: 26px 24px 20px;
  border-bottom: 1px solid var(--xf-gray-100);
  background: var(--xf-white);
}

.xf-tier-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--xf-red);
  background: var(--xf-red-soft);
  padding: 4px 10px;
  border-radius: var(--xf-radius);
  margin-bottom: 10px;
}

.xf-tier-title {
  font-size: 20px !important;
  font-weight: 800 !important;
  color: var(--xf-navy-900) !important;
  margin: 0 0 6px !important;
}

.xf-tier-rate {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 14px;
}

.xf-tier-rate-val {
  font-size: 34px;
  font-weight: 800;
  color: var(--xf-gray-900);
  line-height: 1;
}

.xf-tier-rate-sub {
  font-size: 13px;
  color: var(--xf-gray-600);
  font-weight: 600;
}

.xf-tier-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.xf-tier-specs {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.xf-tier-specs li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--xf-gray-700);
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--xf-gray-200);
}

.xf-tier-specs li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.xf-tier-specs li span.lbl {
  color: var(--xf-gray-600);
  font-weight: 500;
}

.xf-tier-specs li span.val {
  color: var(--xf-gray-900);
  font-weight: 700;
}

.xf-tier-btn {
  width: 100%;
  text-align: center;
  justify-content: center;
  margin-top: auto;
}

/* -------------------------------------------------------------
   VEHICLE SHOWCASE CARDS (TESLA MODELS)
------------------------------------------------------------- */
.xf-vehicle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

@media (max-width: 991px) {
  .xf-vehicle-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .xf-vehicle-grid {
    grid-template-columns: 1fr;
  }
}

.xf-vehicle-card {
  background: var(--xf-white);
  border: 1px solid var(--xf-gray-200);
  border-radius: var(--xf-radius-md);
  box-shadow: var(--xf-shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.xf-vehicle-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--xf-shadow-hover);
  border-color: var(--xf-red);
}

.xf-vehicle-img {
  position: relative;
  height: 240px;
  overflow: hidden;
  background-color: var(--xf-navy-900);
}

.xf-vehicle-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.xf-vehicle-card:hover .xf-vehicle-img img {
  transform: scale(1.06);
}

.xf-vehicle-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(10, 25, 47, 0.92);
  color: var(--xf-white);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-left: 3px solid var(--xf-red);
  border-radius: var(--xf-radius);
}

.xf-vehicle-price-tag {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: var(--xf-red);
  color: var(--xf-white);
  font-size: 13px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: var(--xf-radius);
}

.xf-vehicle-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.xf-vehicle-title {
  font-size: 22px !important;
  font-weight: 800 !important;
  color: var(--xf-navy-900) !important;
  margin: 0 0 6px !important;
}

.xf-vehicle-subtitle {
  font-size: 13px;
  color: var(--xf-gray-600);
  margin-bottom: 18px;
}

.xf-spec-pills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 20px;
  padding: 12px;
  background: var(--xf-gray-50);
  border-radius: var(--xf-radius);
  border: 1px solid var(--xf-gray-200);
}

.xf-spec-pill {
  text-align: center;
}

.xf-spec-pill-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--xf-gray-500);
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}

.xf-spec-pill-value {
  font-size: 13px;
  font-weight: 800;
  color: var(--xf-navy-900);
}

.xf-vehicle-features {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.xf-vehicle-features li {
  font-size: 13.5px;
  color: var(--xf-gray-700);
  display: flex;
  align-items: center;
  gap: 8px;
}

.xf-vehicle-features i {
  color: var(--xf-red);
  font-size: 12px;
}

/* -------------------------------------------------------------
   PROPERTY & REAL ESTATE SHOWCASE
------------------------------------------------------------- */
.xf-property-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

@media (max-width: 991px) {
  .xf-property-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .xf-property-grid {
    grid-template-columns: 1fr;
  }
}

.xf-property-card {
  background: var(--xf-white);
  border: 1px solid var(--xf-gray-200);
  border-radius: var(--xf-radius-md);
  box-shadow: var(--xf-shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.xf-property-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--xf-shadow-hover);
  border-color: var(--xf-red);
}

.xf-property-img {
  position: relative;
  height: 230px;
  overflow: hidden;
  background-color: var(--xf-navy-900);
}

.xf-property-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.xf-property-card:hover .xf-property-img img {
  transform: scale(1.06);
}

.xf-property-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(10, 25, 47, 0.92);
  color: var(--xf-white);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-left: 3px solid var(--xf-red);
  border-radius: var(--xf-radius);
}

.xf-property-rate-tag {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: var(--xf-navy-900);
  color: var(--xf-white);
  font-size: 13px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: var(--xf-radius);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.xf-property-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.xf-property-title {
  font-size: 20px !important;
  font-weight: 800 !important;
  color: var(--xf-navy-900) !important;
  margin: 0 0 6px !important;
}

.xf-property-desc {
  font-size: 14px;
  color: var(--xf-gray-600);
  line-height: 1.6;
  margin-bottom: 18px;
}

.xf-property-specs-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  background: var(--xf-gray-50);
  border-radius: var(--xf-radius);
  border: 1px solid var(--xf-gray-200);
  margin-bottom: 20px;
}

.xf-prop-metric {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--xf-gray-700);
  font-weight: 600;
}

.xf-prop-metric i {
  color: var(--xf-red);
}

/* -------------------------------------------------------------
   CRYPTOCURRENCY DIGITAL ASSET SHOWCASE
------------------------------------------------------------- */
.xf-crypto-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 991px) {
  .xf-crypto-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .xf-crypto-grid {
    grid-template-columns: 1fr;
  }
}

.xf-crypto-card {
  background: var(--xf-white);
  border: 1px solid var(--xf-gray-200);
  border-radius: var(--xf-radius-md);
  padding: 26px 22px;
  box-shadow: var(--xf-shadow);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.xf-crypto-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--xf-shadow-hover);
  border-color: var(--xf-red);
}

.xf-crypto-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.xf-crypto-coin-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.xf-crypto-coin-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--xf-white);
}

.xf-crypto-coin-icon.btc {
  background: #f7931a;
}

.xf-crypto-coin-icon.eth {
  background: #627eea;
}

.xf-crypto-coin-icon.usdt {
  background: #26a17b;
}

.xf-crypto-coin-icon.sol {
  background: linear-gradient(135deg, #9945ff 0%, #14f195 100%);
}

.xf-crypto-coin-title {
  font-size: 16px !important;
  font-weight: 800 !important;
  color: var(--xf-navy-900) !important;
  margin: 0 !important;
}

.xf-crypto-coin-symbol {
  font-size: 12px;
  font-weight: 700;
  color: var(--xf-gray-500);
  text-transform: uppercase;
}

.xf-crypto-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.xf-crypto-yield {
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--xf-gray-100);
}

.xf-crypto-yield-rate {
  font-size: 28px;
  font-weight: 800;
  color: var(--xf-gray-900);
  line-height: 1;
}

.xf-crypto-yield-sub {
  font-size: 12px;
  color: var(--xf-gray-500);
  margin-top: 4px;
}

/* -------------------------------------------------------------
   HOW CONTRACT ALLOCATION WORKS (STEPS)
------------------------------------------------------------- */
.xf-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-top: 45px;
}

@media (max-width: 991px) {
  .xf-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .xf-steps-grid {
    grid-template-columns: 1fr;
  }
}

.xf-step-box {
  background: var(--xf-white);
  border: 1px solid var(--xf-gray-200);
  border-radius: var(--xf-radius-md);
  padding: 30px 22px;
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.04);
  position: relative;
  text-align: center;
  transition: all 0.3s ease;
}

.xf-step-box:hover {
  border-color: var(--xf-red);
  transform: translateY(-4px);
  box-shadow: var(--xf-shadow);
}

.xf-step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--xf-red-soft);
  color: var(--xf-red);
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  border: 2px solid rgba(220, 38, 38, 0.2);
}

.xf-step-title {
  font-size: 17px !important;
  font-weight: 800 !important;
  color: var(--xf-navy-900) !important;
  margin-bottom: 10px !important;
}

.xf-step-desc {
  font-size: 13.5px;
  color: var(--xf-gray-600);
  line-height: 1.6;
  margin: 0;
}

