@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

/* ---------- HEADER CONTAINER ---------- */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  transition: transform 0.4s ease, box-shadow 0.3s ease;
    background: rgba(10, 20, 40, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}



/* ---------- TOPBAR ---------- */
.topbar {
  background: linear-gradient(90deg, #000000ff, #000000ff);
  color: #ffffff;
  padding: 6px 0;
  font-size: 14px;
  z-index: 2;
}

.topbar .container {
  width: 90%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.topbar i {
  margin-right: 6px;
}

/* ---------- NAVBAR ---------- */
.navbar {
  background: transparent;
  width: 100%;
  transition: transform 0.4s ease, box-shadow 0.3s ease;
  z-index: 3;
}

.nav-inner {
  width: 90%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: flex-start; /* items start from left */
  gap: 380px; /* adjust spacing between logo and nav links */
  height: 70px;
  padding: 0;
}

/* Move navbar up to replace topbar when scrolling */
.navbar.move-up {
  transform: translateY(-100%);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

/* ---------- LOGO ---------- */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 45px;           /* keeps header aligned */
}

.logo img {
  width: 150px;
  height: 150px;
  object-fit: contain;
  transform: scale(1.3); /* enlarge visually */
}


.logo h2 {
  color: #0a1a2a;
  font-weight: 600;
  font-size: 20px;
}

/* ---------- NAV LINKS ---------- */
.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
  align-items: center;
}

.nav-links li {
  position: relative;
}

.nav-links li a {
  text-decoration: none;
  color:#ffffff;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.nav-links li a:hover,
.nav-links li a.active {
  /* background: #F15A29; */
  color: #F15A29;
  /* box-shadow: 0 3px 10px rgba(46, 9, 229, 0.3); */
}

/* ---------- DROPDOWN ---------- */
.dropdown-content {
  display: none;
  position: absolute;
  background-color:#083358;
  min-width: 180px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  border-radius: 10px;
  top: 40px;
  left: 0;
  z-index: 1001;
  flex-direction: column;
  list-style: none;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.25s ease;
}

.dropdown-content.show-dropdown {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.dropdown-content li a {
  color: white;
  padding: 10px 15px;
  display: block;
  border-radius: 0;
  transition: 0.3s ease;
}

.dropdown-content li a:hover {
  color:#F15A29 ;
}

/* ---------- MENU TOGGLE (MOBILE) ---------- */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: #0a1a2a;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.menu-toggle.active {
  transform: rotate(90deg);
}


/* ---------- PAGE CONTENT OFFSET ---------- */
body {
  padding-top:30px; /* Adjust if topbar + navbar height changes */
}

@media (max-width: 768px) {
  .nav-inner {
    justify-content: space-between; /* keeps logo left, toggle right */
    gap: 0; /* remove large gap */
  }

  .logo img {
    width: 160px;   /* shrink logo for mobile */
    height: auto;
    transform: scale(1); /* reset scaling */
  }

  .menu-toggle {
    display: block;
    font-size: 28px;
    color: white;
    z-index: 1002; /* make sure it's above everything */
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding: 15px 0;
    display: flex;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 10px 10px;
    z-index: 1001;
  }

  .nav-links.show {
    display: flex;
    animation: slideDown 0.3s ease;
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .nav-links li {
    width: 100%;
    padding: 8px 20px;
  }

  .nav-links li a {
    display: block;
    width: 100%;
    border-radius: 6px;
  }

  .dropdown-content {
    position: static;
    box-shadow: none;
    background: #f9f9f9;
    width: 100%;
    display: none;
    opacity: 1;
    transform: none;
  }

  .dropdown-content.show-dropdown {
    display: block;
  }

  .dropdown-content li a {
    padding-left: 35px;
  }

  .topbar .container {
    flex-direction: column;
    text-align: center;
    gap: 5px;
  }
}
@media (max-width: 768px) {
  .nav-inner {
    justify-content: space-between;
    gap: 0;
  }

  .menu-toggle {
    display: block;
    font-size: 28px;
    color: white;
    z-index: 3000;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #083358;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 0;
    display: none;
    border-radius: 0 0 12px 12px;
    z-index: 5000;            /* FIXED: now above header */
  }

  .nav-links.show {
    display: flex !important;
  }

  .nav-links li {
    width: 100%;
    padding: 10px 20px;
  }

  .nav-links li a {
    color: white !important;
    width: 100%;
    padding: 12px;
    border-radius: 6px;
  }

  /* DROPDOWN FIX */
  .dropdown-content {
    position: static;
    width: 100%;
    background: #062844;
    display: none !important;
    padding-left: 10px;
  }

  .dropdown-content.show-dropdown {
    display: block !important;
  }

  .dropdown-content li a {
    color: #fff !important;
    padding-left: 35px;
  }
}
