:root {
  --primary-color: #10457C;
  /* Dark Blue from Figma Logo */
  --accent-color: #DA2C38;
  /* Red Accent from Figma CTA */
  --text-dark: #1E1E1E;
  /* Dark Grey for nav links */
  --glass-bg: rgba(255, 255, 255, 0.90);
  --glass-border: rgba(255, 255, 255, 1.0);
  --glass-blur: blur(20px);
  --font-family: 'Archivo', sans-serif;
}

.main-header{width:100%;position:absolute;top:0;left:0;z-index:1000}
.desktop-header {
  position: fixed;
  top: 43px;
  /* Exact Figma coordinates */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  z-index: 1000;
}

.header-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 0;
  height: 60px;
  /* Exact Figma height */
  display: flex;
  align-items: center;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 1px Overlap effect between segments */
.header-card:not(:first-child) {
  margin-left: -1px;
}

/* Segment 1: Logo Card (201px width) */
.card-logo {
  width: 201px;
  justify-content: center;
}

.logo-link {
  display: flex;
  align-items: center;
}

.logo-img {
  width: 141px;
  /* Exact Figma width */
  height: 31px;
  /* Exact Figma height */
  display: block;
}

/* Segment 2: Navigation Card (auto width to accommodate new links) */
.card-nav {
  width: auto;
  min-width: 585px;
  position: relative;
}

.nav-menu {
  display: flex;
  align-items: center;
  padding: 0 40px;
  gap: 40px;
  width: 100%;
  height: 100%;
}

.nav-link {
  font-size: 16px;
  /* Exact Figma size */
  font-weight: 400;
  color: var(--text-dark) !important;
  text-decoration: none;
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
  transition: color 0.2s ease;
  padding: 0 !important;
  white-space: nowrap;
}

/* Link sliding underline transition */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 12px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--primary-color) !important;
}

/* Solutions Custom Dropdown */
.dropdown-solutions {
  height: 100%;
}

.dropdown-toggle-custom {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 100%;
  cursor: pointer;
  text-decoration: none;
}

.caret-icon {
  width: 14px;
  height: 14px;
  transition: transform 0.3s ease;
}

.solutions-dropdown-menu {
  position: absolute;
  top: calc(100% + 15px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 950px;
  background: #f2f3f5;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 0;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1010;
}

/* Invisible bridge to prevent hover loss when traversing the 15px gap */
.solutions-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -25px;
  left: 0;
  width: 100%;
  height: 25px;
  background: transparent;
}

.dropdown-arrow {
  position: absolute;
  top: -6px;
  left: 240px;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: #f2f3f5;
  border-left: 1px solid rgba(255, 255, 255, 0.8);
  border-top: 1px solid rgba(255, 255, 255, 0.8);
}

.dropdown-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.dropdown-item-custom {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
  background-color: #ffffff;
  padding: 18px 20px;
  border-radius: 0;
  text-decoration: none;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.dropdown-item-custom:hover {
  background-color: #ffffff;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  transform: translateY(-2px);
}

.mega-icon-box {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background-color: #eaf1fa;
  color: #173e6b;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.item-title {
  font-size: 15px;
  font-weight: 500;
  color: #333333;
  line-height: 1.3;
}

.item-desc {
  display: none; /* Hide desc in mega menu */
}

/* Show dropdown on hover */
.dropdown-solutions:hover .caret-icon {
  transform: rotate(180deg);
}

.dropdown-solutions:hover .solutions-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Segment 3: CTA Card (180px width) */
.card-cta {
  width: 180px;
  padding-left: 28px;
  /* Exact Figma spacing */
  padding-right: 5px;
  /* Exact Figma spacing */
  justify-content: space-between;
}

.cta-text {
  font-size: 16px;
  /* Exact Figma size */
  font-weight: 400;
  color: var(--accent-color);
}

.cta-button {
  width: 52px;
  /* Exact Figma dimensions */
  height: 52px;
  /* Exact Figma dimensions */
  background-color: var(--accent-color);
  border: none;
  border-radius: 5px;
  /* Exact Figma cornerRadius */
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.cta-button:hover {
  background-color: #be222d;
  transform: scale(1.03);
}

.cta-icon {
  width: 19px;
  /* Exact Figma width */
  height: 19px;
  /* Exact Figma height */
}

/* Floating Card Hover Micro-Interactions */
.header-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}


/* ==========================================================================
   MOBILE HEADER STYLING (Merged Floating Bar)
   ========================================================================== */

.mobile-header-container {
  position: fixed;
  top: 20px;
  left: 15px;
  right: 15px;
  z-index: 1000;
}

.mobile-header-bar {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 0;
  height: 60px;
  padding: 0 20px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}

.logo-img-mobile {
  height: 24px;
  width: auto;
}

.hamburger-btn {
  background: none;
  border: none;
  cursor: pointer;
  width: 24px;
  height: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
}

.hamburger-line {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-dark);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Hamburger active transformation */
.hamburger-btn.active .line-top {
  transform: translateY(8px) rotate(45deg);
}

.hamburger-btn.active .line-middle {
  opacity: 0;
}

.hamburger-btn.active .line-bottom {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile drop-down drawer */
.mobile-dropdown-menu {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 0;
  margin-top: 10px;
  padding: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  display: none;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.mobile-dropdown-menu.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.mobile-nav-link {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-dark);
  text-decoration: none;
  padding: 5px 0;
  display: block;
  transition: color 0.2s ease;
}

.mobile-nav-link:hover {
  color: var(--primary-color);
}

.mobile-submenu {
  display: none;
  flex-direction: column;
  padding-left: 15px;
  gap: 10px;
  margin-top: 5px;
  border-left: 1px solid rgba(0, 0, 0, 0.06);
}

.mobile-submenu.active {
  display: flex;
}

.mobile-submenu-link {
  font-size: 14px;
  color: #666;
  text-decoration: none;
  padding: 3px 0;
}

.mobile-submenu-link:hover {
  color: var(--primary-color);
}

.cta-text-mobile {
  font-size: 16px;
  font-weight: 500;
  color: var(--accent-color);
}


/* ==========================================================================
   LANDING HERO STYLING (Premium Demo Section)
   ========================================================================== */

.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  background-color: #0c0f18;
  /* Dark aesthetic background */
  overflow: hidden;
  z-index: 1;
}

.hero-bg-blobs {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.18;
}

.blob-1 {
  top: 15%;
  left: 10%;
  width: 450px;
  height: 450px;
  background-color: #10457C;
  animation: float 25s infinite alternate;
}

.blob-2 {
  bottom: 10%;
  right: 10%;
  width: 500px;
  height: 500px;
  background-color: #DA2C38;
  animation: float 20s infinite alternate-reverse;
}

.blob-3 {
  top: 40%;
  left: 40%;
  width: 350px;
  height: 350px;
  background-color: #6a1b9a;
  animation: float 18s infinite alternate;
}

@keyframes float {
  0% {
    transform: translateY(0px) scale(1);
  }

  100% {
    transform: translateY(50px) scale(1.08);
  }
}

.hero-title {
  font-size: 64px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.15;
  letter-spacing: -1.8px;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, #DA2C38 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 19px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.65);
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Custom Buttons */
.btn-primary-custom {
  background-color: var(--accent-color);
  color: #fff;
  font-weight: 500;
  padding: 13px 30px;
  border-radius: 5px;
  border: none;
  box-shadow: 0 4px 15px rgba(218, 44, 56, 0.3);
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-primary-custom:hover {
  background-color: #be222d;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(218, 44, 56, 0.4);
}

.btn-outline-custom {
  background-color: transparent;
  color: #fff;
  font-weight: 500;
  padding: 13px 30px;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-outline-custom:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
  transform: translateY(-2px);
}

.badge-container {
  display: inline-block;
}

.badge-pill {
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.75);
  font-size: 11px;
  padding: 8px 16px;
  border-radius: 30px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* Responsive adjustments for Typography */
@media (max-width: 992px) {
  .hero-title {
    font-size: 48px;
    letter-spacing: -1.2px;
  }

  .hero-subtitle {
    font-size: 16px;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 36px;
    letter-spacing: -0.8px;
  }
}