body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  color: #333;
  font-family: Arial, Helvetica, sans-serif;
}

p {
  font-size: 20px;
}

a {
  text-decoration: none;
  font-size: 16px;
}

/* HEADERS */
#header {
  padding: 0 5%;
  background-color: #00051e;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.577);
  z-index: 999;
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
}

.main-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-div {
  margin: 15px 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  align-items: center;
}

.logo {
  height: 50px;
}

.school-name {
  font-size: 18px;
  font-weight: bolder;
}

.nav-items {
  margin: 10px 0;
}

.nav-menu {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  gap: 15px;
  list-style: none;
}

.nav-link {
  font-size: 18px;
  color: #ffffff;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 50%; /* Start from the middle */
  bottom: -2px; /* Position just below the text */
  width: 0;
  height: 2px;
  background-color: #ffffff;
  transition: width 0.4s ease, left 0.4s ease;
}

.nav-link:hover::after {
  width: 100%;
  left: 0; /* Expand to both sides */
}

.active {
  color: #00bfff;
  font-size: 20px;
  font-weight: 999;
  border-bottom: 1px solid #00bfff;
}

.nav-link:active::before,
.nav-link:active::after {
  transform: scaleX(1.1);
}

.hamburger {
  display: none;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  background-color: #00bfff;
}

@media only screen and (max-width: 950px) {
  .nav-menu {
    position: fixed;
    right: -100%;
    top: 3.5rem;
    flex-direction: column;

    background-color: #00051e;
    width: 50%;
    border-radius: 10px;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
  }

  .nav-link {
    color: #00bfff;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu li {
    padding: 10px 0;
  }

  .hamburger {
    display: block;
    cursor: pointer;
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

/* HERO SECTION */
#hero {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("/administration.jpg");
  min-height: 100vh;
  padding: 20px 5%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-main {
  justify-content: center;
  /* display: flex;
            flex-wrap: wrap; */
  align-items: center;
  /* min-height: 90vh; */
}

#hero h1 {
  font-size: 3rem;
  color: #fff;
  margin: 15px 0;
  text-shadow: 2px 2px 2px #00051e;
}

@media (max-width: 950px) {
  #hero h1 {
    font-size: 2.5rem;
  }
}

#hero h4 {
  font-size: 1.3rem;
  color: #00bfff;
  margin: 10px 0;
}

.hero-btns {
  gap: 30px;
  flex-wrap: wrap;
  display: flex;
  justify-content: center;
  margin: 30px 0;
}

.hero-btns a {
  font-size: 20px;
  border: none;
  box-shadow: 0px 0px 5px #00bfffa1;
  padding: 10px 15px;
  border-radius: 10px;
  color: #00bfff;
  transition: 0.3s ease-in-out;
}

.hero-btns a:hover {
  transform: scale(1.08);
}

.heading {
  font-size: 30px;
  font-weight: bold;
  text-align: center;
}

.sub-heading {
  font-size: 25px;
  font-weight: bold;
}

.explore {
  padding: 10px 15px;
  border: none;
  border-radius: 10px;
  font-weight: bold;
  color: #00bfff;
  background-color: #00051e;
  position: absolute;
  bottom: 10px;
  right: 30px;
  transition: 0.3s ease-in-out;
}

.explore:hover {
  transform: scale(1.08);
}


/* PROGRAMS SECTION */

#programs {
  padding: 30px 5%;
}

.courses-container {
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  gap: 10px;
}

.course {
  /* width: 25%; */
  max-width: 300px;
  min-width: 100px;
  border-radius: 30px;
  border: none;
  box-shadow: 0 0 3px #3333336d;
  padding: 20px 10px 80px 10px;
  position: relative;
  margin: 10px 0;
}

.course img {
  width: 100%;
  border-radius: 20px;
}

.course i {
  font-size: 25px;
}

.course h4 {
  font-size: 25px;
  margin: 10px 0;
}




/* FOOTER */
footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 30px 5% 10px 5%;
  background-color: #00051e;
}

footer p {
  color: #fff;
  margin: 6px 0;
}

footer h4 {
  color: #fff;
  font-size: 25px;
  font-weight: bold;
  margin: 10px 0 5px 0;
}

footer .col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-bottom: 30px;
  align-items: flex-start;
}

footer .col a {
  font-size: 16px;
  color: #ffffff;
}

footer a {
  text-decoration: none;
  color: #222;
  font-size: 13px;
  margin: 0 0 8px 0;
}

footer .follow i {
  font-size: 30px;
}

footer .follow {
  margin-top: 20px;
}

footer .follow div {
  margin-top: 10px;
}

footer .follow i {
  color: #465b52;
  padding-right: 4px;
  cursor: pointer;
}

footer .follow i:hover,
footer {
  color: #3f010b;
}

footer .copyright {
  width: 100%;
  text-align: center;
}

@media (max-width: 799px) {
  #footer {
    padding: 10px 20px;
  }
}
