/* =========================================================
   PROFENAA MODERN NAVBAR
   ========================================================= */

#site-navbar {
  position: sticky;
  top: 0;
  z-index: 1000;

  width: 100%;

  background: rgba(255, 255, 255, 0.96);

  border-bottom: 1px solid #e8e8e8;

  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}


/* Main Navbar */

.navbar {
  width: 100%;
  max-width: 1600px;

  min-height: 88px;

  margin: 0 auto;

  padding: 0 clamp(28px, 4vw, 65px);

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 25px;
}


/* =========================================================
   BRAND
   ========================================================= */

.navbar__brand {
  display: flex;
  align-items: center;

  gap:8px;

  flex-shrink: 0;

  text-decoration: none;
}


.navbar__brand img {
  width: 46px;
  height: 46px;

  object-fit: contain;
}


.navbar__brand-text {
  display: flex;
  flex-direction: column;

  font-family: var(--font-body);

  font-size: 20px;
  font-weight: 800;
 
  letter-spacing: 0.6px;

  color: #202768;

  line-height: 1.1;
}


.navbar__brand-text small {
  margin-top: 4px;

  font-size: 10px;
  font-weight: 600;

  letter-spacing: 0;

  color: #5f6285;

  text-transform: none;
}


/* =========================================================
   NAVIGATION LINKS
   ========================================================= */

.navbar__links {
  display: flex;
  align-items: center;
  justify-content: center;

  gap: clamp(22px, 2vw, 38px);

  margin-left: auto;
  margin-right: auto;
}


.navbar__links a {
  position: relative;

  padding: 33px 0;

  font-family: var(--font-body);

  font-size: 16px;
  font-weight: 600;

  color: #353535;

  text-decoration: none;

  white-space: nowrap;

  transition:
    color 0.25s ease,
    transform 0.25s ease;
}


.navbar__links a:hover {
  color: #101b67;
}


.navbar__links a::after {
  content: "";

  position: absolute;

  left: 0;
  bottom: 23px;

  width: 0;
  height: 3px;

  border-radius: 5px;

  background: #121c6b;

  transition: width 0.3s ease;
}


.navbar__links a:hover::after,
.navbar__links a.active::after {
  width: 100%;
}


.navbar__links a.active {
  color: #101b67;

  font-weight: 700;
}


/* =========================================================
   ENROLL BUTTON
   ========================================================= */

.navbar__cta {
  display: flex;
  align-items: center;

  flex-shrink: 0;
}


.nav-enroll-btn {
  border: none;

  min-width: 135px;

  padding: 15px 26px;

  border-radius: 5px;

  background: linear-gradient(
    135deg,
    #07135c,
    #182875
  );

  color: #ffffff;

  font-size: 15px;
  font-weight: 700;

  cursor: pointer;

  box-shadow:
    0 8px 18px rgba(14, 28, 105, 0.22);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}


.nav-enroll-btn:hover {
  transform: translateY(-2px);

  background: #0a196d;

  box-shadow:
    0 12px 25px rgba(14, 28, 105, 0.3);
}


.nav-enroll-btn:active {
  transform: translateY(0);
}


/* =========================================================
   MOBILE MENU BUTTON
   ========================================================= */

.navbar__toggle {
  display: none;

  flex-direction: column;

  justify-content: center;

  gap: 5px;

  width: 44px;
  height: 44px;

  padding: 8px;

  border: none;

  background: transparent;

  cursor: pointer;
}


.navbar__toggle span {
  display: block;

  width: 25px;
  height: 2px;

  background: #151c5e;

  border-radius: 10px;

  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}


.navbar__toggle.is-open span:nth-child(1) {
  transform:
    translateY(7px)
    rotate(45deg);
}


.navbar__toggle.is-open span:nth-child(2) {
  opacity: 0;
}


.navbar__toggle.is-open span:nth-child(3) {
  transform:
    translateY(-7px)
    rotate(-45deg);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1200px) {

  .navbar {
    padding:
      0
      clamp(20px, 3vw, 40px);
  }

  .navbar__links {
    gap: 20px;
  }

  .navbar__links a {
    font-size: 14px;
  }

  .nav-enroll-btn {
    min-width: 120px;

    padding: 13px 20px;
  }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 920px) {

  .navbar {
    min-height: 72px;

    padding:
      0
      20px;
  }


  .navbar__brand img {
    width: 40px;
    height: 40px;
  }


  .navbar__brand-text {
    font-size: 17px;
  }


  .navbar__brand-text small {
    font-size: 8px;
  }


  .navbar__toggle {
    display: flex;

    margin-left: auto;
  }


  .navbar__cta {
    display: none;
  }


  .navbar__links {
    position: fixed;

    top: 72px;
    left: 0;
    right: 0;

    width: 100%;

    margin: 0;

    display: flex;
    flex-direction: column;

    align-items: stretch;

    gap: 0;

    padding: 15px 25px 25px;

    background: #ffffff;

    border-bottom:
      1px solid #e5e5e5;

    box-shadow:
      0 15px 30px rgba(0, 0, 0, 0.1);

    transform: translateY(-15px);

    opacity: 0;

    pointer-events: none;

    transition:
      transform 0.25s ease,
      opacity 0.25s ease;
  }


  .navbar__links.is-open {
    transform: translateY(0);

    opacity: 1;

    pointer-events: auto;
  }


  .navbar__links a {
    width: 100%;

    padding: 14px 5px;

    font-size: 16px;

    border-bottom:
      1px solid #f0f0f0;
  }


  .navbar__links a::after {
    display: none;
  }


  .navbar__links a.active {
    color: #101b67;
  }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

  .navbar {
    padding:
      0
      15px;
  }


  .navbar__brand {
    gap: 8px;
  }


  .navbar__brand img {
    width: 36px;
    height: 36px;
  }


  .navbar__brand-text {
    font-size: 15px;
  }

}