/* header */
.my-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  height: 100px;
  background: teal;
  padding: 0 24px;
  /* gap: 36px; */
  position: fixed;
  top: 0;
  z-index: 99;
  width: 100%;
  backdrop-filter: blur(3px);
  background-color: rgba(0, 128, 128, 0.85);
}
.header-upper-container {
  display: flex;
  justify-content: space-between;
  width: 100%;
  border-bottom: 1px solid white;
}

/* css for logo start */
.my-logo > a > h1 {
  color: white;
  font-family: "Montserrat", "Poppins", sans-serif;
  font-weight: 700;
}
/* css for logo end */

/* css for navbar start */
a {
  text-decoration: none;
  color: white;
}
.my-navbar {
  display: flex;
  list-style: none;
  row-gap: 16px;
  column-gap: 0;
  color: white;
  font-weight: 500;
  flex-wrap: wrap;
}
.my-navbar > li > a {
  font-family: "Montserrat", sans-serif;
}

/* css for navbar end */

/* nav links hover effect */
.my-navbar li {
  list-style: none;
  display: inline-block;
  margin: 0 8px;
  position: relative;
}

.my-navbar a {
  text-decoration: none;
  color: white;
  /* font-size: 18px; */
  font-weight: 500;
  transition: color 0.3s ease-in-out;
  position: relative;
  padding-bottom: 5px;
}

.my-navbar a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0%;
  height: 2px;
  background-color: #ff9432;
  transition: width 0.4s ease-in-out, left 0.4s ease-in-out;
}

.my-navbar a:hover {
  color: #ff9432;
}

.my-navbar a:hover::after {
  width: 100%;
  left: 0;
}
/* nav links hover effect */
/* Dropdown Styling */
.dropdown-menu {
  position: absolute;
  /* margin-top: 4px; */
  top: 100%;
  left: -50px;
  background: rgba(0, 128, 128, 0.85);
  backdrop-filter: blur(10px);
  border-radius: 8px;
  overflow: hidden;
  display: none;
  min-width: 200px;
  padding: 10px 0;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease-in-out;
  border: none;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-menu {
  display: block;
}

/* Dropdown Items */
.dropdown-menu li {
  display: block;
}

.dropdown-menu a {
  color: white;
  font-size: 16px;
  display: block;
  transition: 0.3s;
  padding: 5px 15px;
}

/* Dropdown Hover Effect */
.dropdown-menu a:hover {
  color: #ff9432;
  transition: all 0.3s ease-in-out;
  background: none;
}

/* css for modal start  */
div.modal-header {
  background: teal;
  color: white;
  border-bottom: 2px solid white;
}
div.modal-body {
  background: teal;
}
button.btn.btn-primary {
  border-radius: 6px;
  border: none;
  background: #ff9432;
  padding: 8px;
  color: white;
  font-weight: 500;
}

/* css for modal end  */

/* Media Queries for Responsive Design */

.menu-button {
  display: none;
}

@media (max-width: 767px) {
  .my-navbar {
    display: none;
  }

  .my-container {
    flex-direction: row;
    justify-content: space-between;
  }

  .menu-button {
    display: block;
    background: #ff9432;
    padding: 8px;
    color: white;
    font-weight: 500;
    border: none;
    border-radius: 6px;
  }
  .header-upper-container {
    border-bottom: none;
  }
}
@media (min-width: 768px) {
  .menu-button {
    display: none;
  }
  div#navbarNav.navbar-collapse.mobile-menu.collapse.show {
    display: none;
  }
}

ul.navbar-nav {
  background: teal;
  max-width: 300px;
  color: white;
}
a.nav-link {
  margin-left: 36px;
}
li.nav-item {
  border-bottom: 1px solid white;
}
ul.dropdown-menu.forMobile.show {
  margin-top: 0px !important;
}
div#navbarNav.navbar-collapse.mobile-menu {
  max-width: 300px;
  position: fixed;
  z-index: 10;
  top: 100px;
  min-width: 200px;
  right: 0;
}
#successMessage {
  color: white !important;
}

.mob-admission-query-btn {
  width: 100%;
}
button.btn.btn-primary.d-md-none {
  border-radius: 0px;
}
