/* ================= GLOBAL ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

/* ================= NAVBAR ================= */
.navbar {
  position: fixed;
  top: 40px; /* height of top-header */
  width: 100%;
  z-index: 1000;
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  height: 80px;
  display: flex;
  align-items: center;
  padding: 0 30px;
}

/* Container */
.nav-container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ================= LOGO ================= */
.logo img {
  height: 60px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* ================= MENU ================= */
.nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-menu li {
  position: relative;
}

.nav-menu a {
  text-decoration: none;
  color: #1F2A44;
  font-size: 16px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: #3B6EEB;
}

/* ================= ARROW ================= */
.arrow {
  font-size: 13px;
  margin-left: 6px;
  opacity: 0.7;
}

/* ================= DROPDOWN ================= */
.dropdown-menu {
  position: absolute;
  top: 26px;
  left: 0;
  min-width: 240px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  border: 1px solid #e6ebf5;
  list-style: none;
  display: none;
}

.dropdown-menu li a {
  padding: 14px 18px;
  display: block;
  font-size: 15px;
}

.dropdown-menu li a:hover {
  background: #f2f6ff;
  color: #3B6EEB;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

/* ================= ENROLL BUTTON ================= */
.enroll-btn a {
  padding: 10px 26px;
  background: #3B6EEB;
  color: #fff !important;
  border-radius: 28px;
  font-size: 15px;
  transition: 0.3s ease;
}

.enroll-btn a:hover {
  background: #254ec9;
}

/* ================= HAMBURGER ================= */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: #1F2A44;
  border-radius: 2px;
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {

    .navbar {
  top: 82px;
}

  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    flex-direction: column;
    padding: 22px;
    background: #ffffff;
    display: none;
    border-top: 1px solid #e6ebf5;
   
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-menu a {
    width: 100%;
    display: flex;
    justify-content: space-between;
    font-size: 16px;
  }

  .dropdown-menu {
    position: static;
    width: 100%;
    margin-top: 8px;
    display: none;
    box-shadow: none;
    background: #f9fbff;
  }

  .dropdown.active .dropdown-menu {
    display: block;
  }

  .enroll-btn {
    width: 100%;
  }

  .enroll-btn a {
    width: 100%;
    text-align: center;
  }
}
