@font-face {
  font-family: 'lorafont'; /* Name you will use in CSS */
  src: url('../assets/fonts/Lora-Medium.ttf') format('ttf');
  font-weight: normal;
  font-style: normal;
}
*{
  font-family: lorafont;
}
p {
  line-height: 1.7;
  color: #000;
  font-size: 20px;
}
h1 {
  font-size: 50px !important;
}
h2 {
  font-size: 40px !important;
   font-weight: 700 !important;
}

@media (max-width: 786px) {
  h1 {
    font-size: 35px !important;
  }
  h2 {
    font-size: 30px !important;
  }
  p {
    font-size: 16px !important;
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}
.fade-up {
  transform: translateY(-50px);
}
.fade-left {
  transform: translateX(-50px);
}
.fade-right {
  transform: translateX(50px);
}
.animate-on-scroll.show {
  opacity: 1;
  transform: translate(0, 0);
}

.craitrix-nav-logo {
  width: 200px;
}

.whitelabel-crypto-nav-section .navbar {
  position: absolute !important;
  width: 95%;
   left: 50%;
   transform: translateX(-50%);
   border-radius: 1rem !important;
  z-index: 2;
  margin-block: 20px !important;
  padding-top: 0px !important;
  padding-bottom: 0px !important;
  top: 0;
  box-shadow: 0px 0px 5px #00000062 !important;
}

.whitelabel-crypto-nav-section .navbar-nav {
  width: 50% !important;
  justify-content: space-between !important;
}

.whitelabel-crypto-nav-section .d-flex {
  gap: 10px !important;
  width: 360px !important;
}

.whitelabel-crypto-nav-section .d-flex button {
  position: relative;
  border-radius: 46px;
  color: #0E48A2;
  padding: 10px 16px;
  width: 50%;
  background-color: white;
  border: none;
  z-index: 1;
  cursor: pointer;
  overflow: hidden;
}
.whitelabel-crypto-nav-section .d-flex button::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 46px;
  padding: 2px;
  background: linear-gradient(#0D47A1, #0072FF);
  -webkit-mask: linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: -1;
}
.whitelabel-crypto-nav-section .d-flex .btn.active {
  background: linear-gradient(to right, #0D48A2, #0072FF);
  color: white;
}

.navbar-light .navbar-nav .nav-link {
  color: black !important;
}

@media (max-width: 986px) {
  .whitelabel-crypto-nav-section .navbar-nav {
    width: 100% !important;
  }
  .navbar-light .navbar-nav .nav-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
}
@media (max-width: 986px) {
  .whitelabel-crypto-nav-section .navbar {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    width: 60%;
  }
  
  
}
@media (max-width:1100px) {
    .whitelabel-crypto-nav-section .navbar-nav {
   
  width: 60% !important;
  }
}
.nav-item {
  padding-block: 15px;
}
.custom-toggler {
  border: none;
  background: transparent;
  padding: 8px;
  outline: none;
}

.toggler-bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background-color: #000; /* black bars */
  border-radius: 2px;
  transition: all 0.3s ease-in-out;
}

/* Animate when button is "open" */
.custom-toggler[aria-expanded="true"] .toggler-bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.custom-toggler[aria-expanded="true"] .toggler-bar:nth-child(2) {
  opacity: 0;
}
.custom-toggler[aria-expanded="true"] .toggler-bar:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ========================= */
/* Mega Menu Dropdown Styles */
/* ========================= */
.dropdown,
.dropend,
.dropstart,
.dropup {
  position: static !important;
}
/* Base Mega Menu */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  width: 85%;
  max-width: 1200px;
  min-height: 380px;
  
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);

  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.4s ease;
  z-index: 9999;
  padding: 40px 30px;
  pointer-events: none;

  /* Subtle glass feel */
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.mega-menu::before {
  content: "";
  position: absolute;
  top: 0;
  left: 30px;
  width: 80px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, #0D48A2, #0072FF);
}
/* Show menu on hover */
.nav-item.dropdown:hover{
  color: #0072FF;
}
.nav-item.dropdown:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.mega-menu ul li {
  position: relative;
  padding-block: 10px;
  padding-left: 18px; /* space for arrow */
  transition: all 0.3s ease;
  cursor: pointer;
}

/* default arrow hidden */
.mega-menu ul li::before {
  content: "➜"; /* Unicode arrow */
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) translateX(-8px);
  font-size: 14px;
  color: #0072FF;
  opacity: 0;
  transition: all 0.3s ease;
}

/* On hover: text shifts & arrow slides in */
.mega-menu ul li:hover {
  padding-left: 28px; /* text moves right */
  background: #f8faff;
  border-radius: 6px;
  color: #0D48A2;
}

.mega-menu ul li:hover::before {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.nav-item.dropdown i{
 transition: all 0.3s ease;
}
.nav-item.dropdown:hover i{
  transform: rotate(180deg);
  color: #0072FF;
}

/* Prevent flicker (slight delay before hiding) */
.nav-item.dropdown {
  position: relative;
}
.mega-menu-contact {
  position: absolute;
  bottom: 10px;
  right: 0;
  left: 0;
  background: linear-gradient(90deg, #0D48A2, #0072FF);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  border-radius: 0 0 6px 6px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
  gap: 12px;
}

.mega-menu-contact p {
  margin: 0;
  color: #fff;
  font-weight: 500;
}

/* Primary button */
.mega-menu-contact button {
  border: 2px solid #fff;
  border-radius: 12px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  color: #0D48A2;
  background: #fff;
  transition: all 0.3s ease;
}

/* Hover */
.mega-menu-contact button:hover {
  background: #0D48A2;
  color: #fff;
  border-color: #0D48A2;
}

/* Active (click) effect */
.mega-menu-contact button:active {
  transform: scale(0.96);
  box-shadow: 0 3px 8px rgba(0, 114, 255, 0.25);
}

/* Optional secondary button (outline style) */
.mega-menu-contact .btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
  box-shadow: none;
}
.mega-menu-contact .btn-outline:hover {
  background: #fff;
  color: #0D48A2;
}

/* Responsive */
@media (max-width: 768px) {
  .mega-menu-contact {
    flex-direction: column;
    text-align: center;
    gap: 10px;
    padding: 15px;
  }
  .mega-menu-contact button {
    width: 100%;
    font-size: 13px;
    padding: 8px 14px;
  }
}

/* Title column */
.mega-titles li {
  padding: 8px 12px;
  cursor: pointer;
  font-weight: 500;
  color: #333;
  transition: all 0.3s ease;
}
.mega-titles li:hover,
.mega-titles li.active {
  background: #f5f5f5;
  color: #0D48A2;
}

/* Right content */
.mega-panel {
  display: none;
}
.mega-panel.active {
  display: block;
}


/* Mobile dropdown behaviour */


/* Show desktop by default, hide mobile */
.whitelabel-crypto-mobile-nav { display: none; }
.whitelabel-crypto-nav-section { display: block; }

/* When screen <= 986px, show mobile, hide desktop */
@media (max-width: 986px) {
  .whitelabel-crypto-nav-section { display: none !important; }
  .whitelabel-crypto-mobile-nav { display: block !important; }
}

/* ---- Mobile Styles ---- */
.mobile-navbar {
  background: #fff;
  border-radius: 1rem;
  margin: 15px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1100; /* keep above overlay */
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
}
.mobile-nav-logo { width: 160px; }

/* Hamburger */
.mobile-nav-toggler {
  border: none; background: transparent;
  cursor: pointer; padding: 6px;
  display: flex; flex-direction: column; gap: 4px;
}
.mobile-nav-toggler span {
  width: 25px; height: 3px;
  background: #333; border-radius: 3px;
  transition: 0.3s;
}
.mobile-nav-toggler.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.mobile-nav-toggler.active span:nth-child(2) { opacity: 0; }
.mobile-nav-toggler.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Dropdown menu overlays instead of pushing content */
.mobile-menu {
  position: absolute;
  top: 110%;
  left: 0;
  right: 0;
  background: #fafafa;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;     /* default hidden */
  display: flex;
  flex-direction: column;
  transition: max-height 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
  z-index: 1099;
}

.mobile-menu.open {
  max-height: 100vh;   /* expand full screen */
  opacity: 1;
  visibility: visible;
  border-radius: 1rem;
  overflow-y: auto;    /* allow scroll only inside menu */
}
body.menu-open {
  overflow: hidden;
  height: 100vh;
}
body.menu-open::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 1000;
}

.mobile-nav-list { list-style: none; margin: 0; padding: 0; }
.mobile-nav-item { border-top: 1px solid #eee; }

.accordion-toggle {
  width: 100%; padding: 14px 16px;
  text-align: left; background: none;
  border: none; font-size: 16px; font-weight: 600;
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer;
}
.accordion-toggle i { transition: transform 0.3s; }
.accordion-toggle.active i { transform: rotate(180deg); color: #0072FF; }

.accordion-content.open {
  max-height: 800px; /* enough to fit inner links */
  opacity: 1;
  visibility: visible;
}
.accordion-content h6 { margin-top: 12px; font-size: 14px; color: #0072FF; }
.accordion-content ul { padding-left: 15px; margin: 8px 0; }
.accordion-content ul li { margin: 5px 0; }
.accordion-content ul li a { color: #333; text-decoration: none; font-size: 14px; }
.accordion-content ul li a:hover { color: #0072FF; }

/* Footer button */
.mobile-nav-footer { padding: 16px; text-align: center; border-top: 1px solid #eee; }
.btn-contact {
  padding: 10px 20px; border: none; border-radius: 46px;
  background: linear-gradient(45deg, #0D48A2, #0072FF);
  color: #fff; font-weight: 600; cursor: pointer;
}


#header{
  position: absolute;
  width: 100%;


}


.accordion-content {
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease, visibility 0.3s ease;
  display: flex;
  justify-content: space-between;
  padding-inline: 10px;
  gap: 20px;
}

.accordion-item{
  flex: 1;
  border: none !important;
}
.accordion-item #app,
.accordion-item #business,
.accordion-item #consulting{
  display: none;
}
.accordion-item .active{
  display: block !important;
}
.accordion-item-header .active{
  padding: 5px;
  background:linear-gradient(135deg , #0072FF, #0D47A1);
  color: white;
}
.accordion-content ul li::marker
{
  color: #0072FF; /* your color */
  font-size: 18px; /* your size */
  content: "→ ";
}