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

body {
  font-family: "Poppins", sans-serif;
  overflow-x: hidden;
}

/* ===== HEADER ===== */
header {
  background-color:#ffffff;
  width: 100%;
  height: 95px;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0 20px;
  max-width: 1500px;
  margin: auto;
  height: 85px;
}

/* Left and Right Zones */
.nav-left, .nav-right {
  display: flex;
  align-items: center;
}

.logo img {
  height: 60px;
  width: auto;
  object-fit: contain;
}

/* ===== NAV LINKS ===== */
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  color: #000000;
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  padding: 8px 6px;
  transition: all 0.3s ease;
}

.nav-links a:hover {
  color: #123B56;
}

/* ===== DROPDOWN ===== */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  list-style: none;
  padding: 10px 0;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  display: none;
  min-width: 200px;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.25s ease;
  z-index: 999;
}

.dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  color: #000;
  font-weight: 500;
  font-size: 15px;
}

.dropdown-menu li a:hover {
  background-color: #f3f3f3;
  color: #1E3A5F;
}

.dropdown:hover .dropdown-menu,
.dropdown.open .dropdown-menu {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* ===== MENU TOGGLE ===== */
/* .menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;

}

.bar {
  height: 3px;
  width: 28px;
  background-color: #1E3A5F;
  margin: 4px 0;
  transition: 0.3s;
} */
/* ===== MENU ICON ANIMATION ===== */
/* .menu-toggle.open .bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.open .bar:nth-child(2) {
  opacity: 0;
}
.menu-toggle.open .bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
} */

/* ===== MENU TOGGLE ===== */
.menu-toggle {
  display: none;
  width: 28px;
  height: 22px;
  position: relative;
  cursor: pointer;
}

/* bars */
.menu-toggle .bar {
  position: absolute;
  width: 100%;
  height: 3px;
  background-color: #1E3A5F;
  border-radius: 2px;
  left: 0;
  transition: all 0.3s ease-in-out;
}

/* bar positions */
.menu-toggle .bar:nth-child(1) {
  top: 0;
}
.menu-toggle .bar:nth-child(2) {
  top: 9px;
}
.menu-toggle .bar:nth-child(3) {
  bottom: 0;
}

/* ===== OPEN STATE (PERFECT CROSS) ===== */
.menu-toggle.open .bar:nth-child(1) {
  transform: rotate(45deg);
  top: 9px;
}

.menu-toggle.open .bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open .bar:nth-child(3) {
  transform: rotate(-45deg);
  bottom: 9px;
}

/* ===== MOBILE MENU ===== */
@media (max-width: 991px) {
  .menu-toggle {
    display: block;
    z-index: 1001;
  }
}


/* ===== MOBILE MENU ===== */
@media (max-width: 991px) {
  .menu-toggle {
    display: flex;
    position: relative;
    z-index: 1001;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 300px;
    height: 100vh;
    background-color: #fff;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    padding-top: 100px;
    gap: 20px;
    transition: right 0.35s ease-in-out;
    overflow-y: auto;
    z-index: 1000;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .dropdown-menu {
    position: static;
    background-color: #fff;
    padding: 5px 0;
    display: none;
  }

  .dropdown.active .dropdown-menu {
    display: block;
  }

  /* Align logo left and menu icon right on mobile */
  .navbar {
    justify-content: space-between;
  }

  .nav-left {
    flex: 1;
  }

  .nav-right {
    flex: 0;
  }

  body.menu-open {
    overflow: hidden;
  }
}



