.elementor-564 .elementor-element.elementor-element-273456c{--display:flex;--margin-top:0px;--margin-bottom:-123px;--margin-left:0px;--margin-right:0px;}.elementor-564 .elementor-element.elementor-element-6dd25d8{--display:flex;}.elementor-564 .elementor-element.elementor-element-4ebebd3{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-564 .elementor-element.elementor-element-4ebebd3:not(.elementor-motion-effects-element-type-background), .elementor-564 .elementor-element.elementor-element-4ebebd3 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:var( --e-global-color-secondary );}/* Start custom CSS for html, class: .elementor-element-d628803 */#main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 98%;
  z-index: 999;
  transition: all 0.35s ease;
  background: transparent;
}

#main-header.hide {
  transform: translateY(-100%);
}

/* progress bar */
#scroll-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: #00e0ff;
  z-index: 1000;
}

/* layout */
.header-inner {
  width: 100%;
  padding: 25px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.35s ease;
}

/* logo */
.logo {
  font-size: 22px;
  font-weight: 600;
  transition: all 0.3s ease;
}

/* logo image */
.logo img {
  height: 100px;
  width: auto;
  display: block;
  transition: all 0.3s ease;
}

/* shrink logo on scroll */
#main-header.scrolled .logo img {
  height: 55px;
}

/* nav */
.nav {
  display: flex;
}

.nav a {
  margin-left: 25px;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: all 0.3s ease;
}

/* underline animation */
.nav a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0%;
  height: 2px;
  background: currentColor;
  transition: 0.3s;
}

.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}

/* hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  width: 25px;
  height: 3px;
  margin: 4px 0;
  transition: 0.3s;
}

/* hamburger animation */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* floating pill */
#main-header.scrolled {
  display: flex;
  justify-content: center;
  pointer-events: none;
}

#main-header.scrolled .header-inner {
  width: 90%;
  max-width: 1000px;
  margin-top: 12px;
  padding: 12px 25px;

  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);

  border-radius: 999px;

  box-shadow: 
    0 8px 30px rgba(0,0,0,0.3),
    inset 0 0 0 1px rgba(255,255,255,0.08);

  pointer-events: auto;
  transform: scale(0.96);
}

/* shrink logo */
#main-header.scrolled .logo {
  font-size: 18px;
}

/* LIGHT MODE */
#main-header.light .logo,
#main-header.light .nav a {
  color: white;
}

#main-header.light .hamburger span {
  background: white;
}

#main-header.light.scrolled .header-inner {
  background: rgba(0,0,0,0.6);
}

/* DARK MODE */
#main-header.dark .logo,
#main-header.dark .nav a {
  color: black;
}

#main-header.dark .hamburger span {
  background: black;
}

#main-header.dark.scrolled .header-inner {
  background: rgba(255,255,255,0.7);
}

/* mobile */
@media (max-width: 768px) {

  .hamburger {
    display: flex;
  }

  .nav {
    position: absolute;
    top: 80px;
    right: 20px;

    flex-direction: column;
    padding: 20px;
    border-radius: 14px;

    background: rgba(0,0,0,0.9);
    backdrop-filter: blur(12px);

    opacity: 0;
    transform: translateY(-10px) scale(0.95);
    pointer-events: none;

    transition: all 0.3s ease;
  }

  .nav.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }

  .nav a {
    margin: 10px 0;
    color: white !important;
  }

  /* ✅ MOBILE LOGO SIZE */
  .logo img {
    height: 40px;
  }

  #main-header.scrolled .logo img {
    height: 34px;
  }
}

/* logo */
.logo {
  font-family: 'Poppins', sans-serif;
  font-size: 29px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* nav links */
.nav a {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 500;
}

#main-header.scrolled .logo {
  font-size: 20px;
}

/* glowing active nav item */
#main-header .nav a.active,
#main-header.light .nav a.active,
#main-header.dark .nav a.active {
  color: #FF6600 !important;

  text-shadow:
    0 0 6px rgba(255,102,0,0.7),
    0 0 12px rgba(255,102,0,0.4);

  position: relative;
}

/* glowing underline */
#main-header .nav a.active::after {
  width: 100%;
  background: #FF6600 !important;

  box-shadow:
    0 0 8px rgba(255,102,0,0.8),
    0 0 14px rgba(255,102,0,0.5);
}

#main-header .nav a.active {
  animation: activeGlow 2s ease-in-out infinite alternate;
}

@keyframes activeGlow {
  0% {
    text-shadow:
      0 0 4px rgba(255,102,0,0.5),
      0 0 8px rgba(255,102,0,0.3);
  }

  100% {
    text-shadow:
      0 0 8px rgba(255,102,0,0.9),
      0 0 18px rgba(255,102,0,0.6);
  }
}


/* Optional: Make it dark orange when hovering over ANY link */
#main-header .nav a:hover {
  color: #FF6600 !important;
}/* End custom CSS */