/* navbar start */
.lemai_logo_css img {
  width: 150px;
  height: 40px;
}

.navbar_fixed{
  padding-top: 50px;
}
/* GLOBAL NAVBAR NORMALIZATION */

.navbar_css {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  justify-content: center !important;
  width: 100% !important;
  top: 0 !important;
  z-index: 1000 !important;
  position: fixed;
    z-index: 1000;
}

.navbar {
  width: 1300px;
  max-width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  color: #fff;
}

.navbar ul {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar ul li {
  margin-left: 25px;
}

.navbar a {
  color: black;
  text-decoration: none;
  padding: 0 15px;
  font-size: 16px;
  font-weight: 500;
  font-style: normal;
  cursor: pointer;
  transition: color 0.3s ease;
}

.navbar a:hover {
  color: #f15a24;
}

.navbar a.active {
  color: #f15a24;
}

/* Hamburger Button Styling */
.hamburger {
  display: none;
  flex-direction: column;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
  gap: 5px;
  transition: all 0.3s ease;
}

.hamburger .bar {
  width: 28px;
  height: 3px;
  background-color: #333;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.hamburger:hover .bar {
  background-color: #f15a24;
}

/* Close Button for Full Screen Menu - HIDDEN BY DEFAULT */
.close-btn {
  display: none !important;
  position: fixed;
  top: 20px;
  right: 20px;
  background: #ffffff;
  border: 2px solid #333;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 28px;
  color: #333;
  cursor: pointer;
  z-index: 1003;
  line-height: 1;
  padding: 0;
  transition: all 0.3s ease;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Show close button ONLY in mobile menu when active */
@media (max-width: 1024px) {
  .nav-cta.active .close-btn {
    display: flex !important;
  }

  .close-btn:hover {
    background: #f15a24;
    color: #ffffff;
    border-color: #f15a24;
    transform: rotate(90deg);
  }

  .close-btn:active {
    transform: rotate(90deg) scale(0.95);
  }
}

/* TABLET VIEW (768px - 1024px) */
@media (max-width: 1024px) {
  .navbar {
    width: 100%;
    padding: 15px 20px;
  }

  .hamburger {
    display: flex;
    pointer-events: auto;
  }

  /* Full Screen Mobile Menu */
  .nav-cta {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1002;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: translateX(100%);
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  }

  /* Show full screen menu when active */
  .nav-cta.active {
    opacity: 1;
    transform: translateX(0);
    visibility: visible;
  }

  /* Show close button when menu is active */
  .nav-cta.active .close-btn {
    display: block !important;
  }

  /* Hide hamburger when menu is open */
  .hamburger.active {
    opacity: 0;
    pointer-events: none;
  }

  .nav-cta li {
    margin: 20px 0;
    margin-left: 0;
    width: 100%;
    text-align: center;
    transform: translateY(20px);
    opacity: 0;
    animation: slideIn 0.5s ease forwards;
  }

  .nav-cta.active li:nth-child(1) {
    animation-delay: 0.1s;
  }

  .nav-cta.active li:nth-child(2) {
    animation-delay: 0.2s;
  }

  .nav-cta.active li:nth-child(3) {
    animation-delay: 0.3s;
  }

  .nav-cta.active li:nth-child(4) {
    animation-delay: 0.4s;
  }

  .nav-cta.active li:nth-child(5) {
    animation-delay: 0.5s;
  }

  .nav-cta.active li:nth-child(6) {
    animation-delay: 0.6s;
  }

  @keyframes slideIn {
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }

  .nav-cta li a {
    display: block;
    padding: 15px 30px;
    font-size: 24px;
    font-weight: 600;
    color: #333;
    transition: all 0.3s ease;
  }

  .nav-cta li a:hover,
  .nav-cta li a.active {
    color: #f15a24;
    transform: scale(1.1);
  }

  /* Style for mobile CTA button in menu */
  .mobile-cta-btn {
    list-style: none;
    margin-top: 30px !important;
  }

  .mobile-cta-btn .cta-btn {
    transform: scale(1.1);
  }

  /* Hide the second ul (Try it Free button) on mobile */
  .navbar>ul:not(.nav-cta) {
    display: none;
  }

  .lemai_logo_css img {
    width: 130px;
    height: 35px;
  }
}

/* MOBILE VIEW (below 768px) */
@media (max-width: 768px) {
  .navbar {
    padding: 12px 15px;
  }

  .lemai_logo_css img {
    width: 120px;
    height: 32px;
  }

  .nav-cta li a {
    font-size: 16px;
    padding: 10px 12px;
  }

  .hamburger .bar {
    width: 22px;
  }
}

/* SMALL MOBILE VIEW (below 480px) */
@media (max-width: 480px) {
  .navbar {
    padding: 10px 12px;
  }

  .lemai_logo_css img {
    width: 100px;
    height: 28px;
  }

  .nav-cta li a {
    font-size: 15px;
    padding: 8px 10px;
  }

  .hamburger .bar {
    width: 20px;
    height: 2.5px;
  }
}

/* navbar end */