/* =====================================================
   RESET & BASE
===================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  color: #222;
  background: #fff;
  line-height: 1.6;
}
a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
}
/* =====================================================
   NAVBAR BASE
===================================================== */
.navbar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 20px;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.1);
  max-width: 1540px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =====================================================
   CONTAINER
===================================================== */
.navbar-container {
    height: 64px;
  margin: auto;
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* =====================================================
   LOGO
===================================================== */
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 32px;
  /* transition: transform 0.3s ease; */
}

/* .logo:hover .logo-img {
  transform: scale(1.05);
} */

.oqia_icon {
  display: flex;
  align-items: center;
}

.oqia_icon-img {
  height: 20px;  
  /* transition: transform 0.3s ease; */
}

/* .oqia_icon:hover .oqia_icon-img {
  transform: rotate(8deg) scale(1.08);
} */

/* =====================================================
   NAV MENU
===================================================== */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
}

.nav-menu li {
  list-style: none;
  position: relative;}

.nav-menu li a {
  font-weight: 500;
  font-size: 15px;
}

.nav-menu li a:hover,
.nav-menu li a.active {
  color: #0b1e63;
  /* background: linear-gradient(90deg, rgba(255, 238, 87, 0.5), rgba(255, 255, 255, 0.9)); */
  /* box-shadow: 0 2px 10px rgba(255, 215, 64, 0.3); */
}


/* =====================================================
   MEGA DROPDOWN
===================================================== */
.mega-dropdown {
  position: relative;
}

.mega-dropdown .nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
}

.mega-dropdown .nav-link i {
  font-size: 13px;
  transition: transform 0.3s ease;
}

.mega-dropdown:hover .nav-link i {
  transform: rotate(180deg);
}

/* Mega Menu Container */
.mega-menu {
  position: absolute;
  top: 60px;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  width: 1000px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
  display: flex;
  justify-content: space-around;
  gap: 30px;
  padding: 35px 50px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s ease;
  border-top: 4px solid #ffde59;
  z-index: 999;
}

/* Show Dropdown */
.mega-dropdown:hover .mega-menu,
.mega-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Mega Menu Items */
.mega-item {
  width: 270px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.3s ease;
}

.mega-item:hover {
  transform: translateY(-4px);
}

.mega-item img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mega-item:hover img {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(255, 217, 0, 0.3);
}

.mega-info h4 {
  font-size: 16px;
  font-weight: 600;
  color: #0b1e63;
  margin-bottom: 6px;
}

.mega-info p {
  font-size: 14px;
  color: #555;
  margin-bottom: 10px;
  line-height: 1.5;
}

.mega-info a {
  display: inline-block;
  padding: 7px 14px;
  background: #708fff;
  color: #fff;
  border-radius: 6px;
  font-size: 13.5px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.mega-info a:hover {
  background: #1a2b7a;
  transform: translateY(-2px);
}

/* =====================================================
   MOBILE MENU
===================================================== */
.menu-icon {
  display: none;
  font-size: 24px;
  color: #0b1e63;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.menu-icon:hover {
  transform: rotate(90deg);
}

@media (max-width: 992px) {
  .menu-icon {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: center;
    background: #fcfbf6;
    border-top: 2px solid #ffec80;
    display: none;
    width: 100%;
    padding: 20px 0;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.1);
  }

  .nav-menu.show {
    display: flex;
    animation: fadeDown 0.3s ease;
  }

  @keyframes fadeDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .nav-menu li {
    margin: 10px 0;
  }

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

  .mega-dropdown {
    display: none; /* hide mega dropdown on mobile */
  }

  .nav-menu .nav-cta {
    margin-top: 8px;
  }
}

/* Small Devices */
@media (max-width: 576px) {
  .logo-img {
    height: 42px;
  }

  .nav-menu li a {
    font-size: 15px;
  }
}
