
.nav-item button {
  transition: all 0.3s ease;
}

.nav-item:hover button {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
/* Improved Dropdown Menu Styles */
.nav-item {
  position: relative;
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  z-index: 50;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: all 0.3s ease;
  visibility: hidden;
  min-width: 200px;
}

.mega-menu.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  visibility: visible;
}

/* Submenu Styles */
.submenu {
  position: relative;
}

.submenu > a::after {
  content: none !important;
  margin-left: 5px;
  display: inline-block;
  transition: transform 0.3s ease;
}

.submenu-right {
    left: auto !important;   /* override left */
    right: 0;                /* position submenu aligned to the right */
}

.submenu:hover > a::after {
  transform: translateX(3px);
}

.sub-submenu {
  position: absolute;
  left: 100%;
  top: 0;
  background: white;
  border: 1px solid #e5e7eb;
  min-width: 220px;
  z-index: 60;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  border-radius: 8px;
  opacity: 0;
  transform: translateX(10px);
  pointer-events: none;
  transition: all 0.3s ease;
  visibility: hidden;
}

.submenu:hover .sub-submenu {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  visibility: visible;
}

/* Ensure text visibility */
.mega-menu, .sub-submenu {
  padding: 15px;
  white-space: nowrap;
}

.mega-menu a, .sub-submenu a {
  padding: 8px 12px;
  display: block;
  color: #374151;
  transition: all 0.2s ease;
}

.mega-menu a:hover, .sub-submenu a:hover {
  background-color: #f3f4f6;
  color: #0c4a6e;
  border-radius: 4px;
}

/* Mega menu grid layout */
.mega-menu .grid {
  gap: 20px;
}

.mega-menu h3 {
  font-weight: 600;
  margin-bottom: 12px;
  color: #0c4a6e;
}

.mega-menu ul {
  gap: 8px;
}

:where([class^="ri-"])::before { content: "\f3c2"; }
.pulse-animation {
animation: pulse 2s infinite;
}
@keyframes pulse {
0% {
box-shadow: 0 0 0 0 rgba(12, 74, 110, 0.4);
}
70% {
box-shadow: 0 0 0 10px rgba(12, 74, 110, 0);
}
100% {
box-shadow: 0 0 0 0 rgba(12, 74, 110, 0);
}
}
.logos-slide {
animation: scroll 40s linear infinite;
}
@keyframes scroll {
0% {
transform: translateX(-100%);
}
100% {
transform: translateX(100%));
}
}
.partner-logo {
transition: all 0.3s ease;
filter: grayscale(100%);
opacity: 0.7;
}
.partner-logo:hover {
filter: grayscale(0%);
opacity: 1;
transform: scale(1.05);
}
animation: pulse 2s infinite;
}
@keyframes pulse {
0% {
box-shadow: 0 0 0 0 rgba(12, 74, 110, 0.4);
}
70% {
box-shadow: 0 0 0 10px rgba(12, 74, 110, 0);
}
100% {
box-shadow: 0 0 0 0 rgba(12, 74, 110, 0);
}
}
body {
font-family: 'Inter', sans-serif;
scroll-behavior: smooth;
background-color:#fffff !important
}
.hero-gradient {
background: linear-gradient(90deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0) 100%);
}
.stat-card {
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.stat-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}
.data-ticker {
animation: ticker 30s linear infinite;
}
@keyframes ticker {
0% { transform: translateX(100%); }
100% { transform: translateX(-100%); }
}
.custom-switch {
position: relative;
display: inline-block;
width: 48px;
height: 24px;
}
.custom-switch input {
opacity: 0;
width: 0;
height: 0;
}
.slider {
position: absolute;
cursor: pointer;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: #ccc;
transition: .4s;
border-radius: 24px;
}
.slider:before {
position: absolute;
content: "";
height: 18px;
width: 18px;
left: 3px;
bottom: 3px;
background-color: white;
transition: .4s;
border-radius: 50%;
}
input:checked + .slider {
background-color: #0c4a6e;
}
input:checked + .slider:before {
transform: translateX(24px);
}
.tab-button {
position: relative;
overflow: hidden;
}
.tab-button.active::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 3px;
background-color: #0c4a6e;
}
.chart-container {
height: 300px;
width: 100%;
}