header .header__firstlayer{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.7rem 4%;
  position: relative;
  border-bottom: 1px solid rgba(26, 26, 26, 0.1);
  background-color: var(--primary-color);
  z-index: 100;
}

header .header__firstlayer > a{
  display: flex;
  align-items: center;
}

header .header__firstlayer img{
  width: 3.5rem;
  height: auto;
}

.header__firstlayer .sub__layer{
  display: none;
}

.header__firstlayer .mobile__toggler > button i{
  font-size: 1.7rem;
  color: var(--white-color);
  cursor: pointer;
}

.header__firstlayer .mobile__toggler > button{
  all: unset;
}

header > nav{
  display: none;
}

/* Gneral style for all anchor tag */
header a{
   text-decoration: none; 
   font-size: 0.95rem;
}

header .mobile__toggler nav > ul > li > a{
  color: var(--white-color);
}

header .mobile__toggler > nav{
  position: absolute;
  width: 100%;
  left: 0;
  top: 100%;
  background-color: rgb(20, 72, 139);
  padding: 1.5rem 1rem;
  height: 100vh;
  overflow-y: scroll;
  display: none;
  flex-direction: column;
  gap: 2rem;
  z-index: 300000;
}

/* This is the mobile drop down with class: mobile__dropdown */
header .mobile__toggler > nav > ul{
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

header .mobile__toggler > nav > ul li{
  list-style: none;
  text-transform: capitalize;
}

header .sub__layer__mobile{
  display: flex;
  flex-direction: column-reverse;
  gap: 2rem;
}

header .login__apply__mobile{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;
  text-transform: capitalize;
}

header .login__apply__mobile a{
  color: var(--white-color);
}

header .login__apply__mobile .apply-mobile{
  background-color: var(--secondary-color);
  text-align: center;
  padding: 0.5rem 1.7rem;
  border-radius: 5px;
}

header .social__icons-mobile{
  display: flex;
  justify-content: flex-start;
  gap: 2rem;
}

header .social__icons-mobile button{
  all: unset;  
  color: var(--white-color);
  font-size: 0.95rem;
}

header .dropdown{
  position: relative;
}

header .nav__about{
  position: absolute;
  top: 2.47rem;
  width: 250px;
  height: 25rem;
  background-color: var(--dropdown);
  box-shadow: 0px 0px 5px 3px rgba(0, 0, 0, 0.1);
  z-index: 10;
  overflow-y: scroll;
  display: none;
}

header .nav__about.show{
  display: block;
}

.nav__about.drop-hgt{
  height: auto;
  overflow-y: auto;
}


header .nav__about li{
  list-style-type: none;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(26, 26, 26, 0.1);
}

header .nav__about li a{
  font-size: 0.85rem;
}

/* Additional class to make it relative */
header .dropdown-width{
  width: 100%;
  position: relative;
  top: 1rem;
}

.about,
.programs-menu{
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.scroll{
  all: unset;
  position: fixed;
  right: 0.5rem;
  bottom: 10%;
  background-color: var(--secondary-color);
  color: var(--white-color);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  font-size: 1.3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99;
  cursor: pointer;
}

@media (min-width: 768px){
  .scroll{
    right: 1.5rem;
  }
}

@media (min-width: 1000px){
  header .header__firstlayer{
    padding: 0.5rem 2rem;
  }

  header .header__firstlayer img{
    width: 4rem;
  }

  header a{
    font-size: 1rem;
  }

  .header__firstlayer .sub__layer{
    display: flex;
    gap: 2.5rem;
    text-transform: capitalize;
    font-weight: bold;
  }

  .header__firstlayer .sub__layer .social__icons{
    display: flex;
    align-items: center;
    gap: 1.5rem;
  }

  .header__firstlayer .sub__layer .social__icons i{
    cursor: pointer;
    transition: all 0.9s ease-in-out;
    color: var(--white-color);
    transition: all 0.9s ease-in-out;
  }

  .header__firstlayer .sub__layer .social__icons button{
    all: unset;
  }

  .header__firstlayer .sub__layer .social__icons i:hover{
    color: var(--secondary-color);
    scale: 1.2;
  }

  .header__firstlayer .sub__layer .login__apply{
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  .header__firstlayer .sub__layer .apply{
    background-color: var(--secondary-color);
    color: var(--white-color);
    border-radius: 10px;
    padding: 0.7rem 1.5rem;
    font-size: 1rem;
  }

  .header__firstlayer .sub__layer .login{
    color: var(--white-color);
    font-size: 1rem;
  }

  .header__firstlayer .sub__layer .login:hover{
    color: var(--secondary-color);
  }

  .header__firstlayer .mobile__toggler{
    display: none;
  }

  header > nav{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    background-color: var(--white-color);
    padding: 0rem 0;
    /* border-top: 1px solid rgba(26, 26, 26, 0.15); */
    /* border-bottom: 1px solid rgba(26, 26, 26, 0.15); */
    padding: 0 0;
    box-shadow: 0 2px 10px rgb(10, 47, 94, 0.3);
    /* position: relative; */
  }

  header nav > ul > li > a{
    color: var(--black-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    transition: all 0.3s;
    letter-spacing: 0.3px;
  }

  header nav > ul > li > a:hover{
    background-color: var(--secondary-color);
    color: var(--white-color);
  }

  header nav > ul{
    display: flex;
    align-items: center;
    list-style: none;
    gap: 4rem;
    text-transform: capitalize;
  }

  .lp-about,
  .lp-programs{
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .nav__about li{
    cursor: pointer;
  }
  
  .nav__about li:hover{
    background-color: var(--secondary-color);
  }

  .nav__about li:hover a{
    color: var(--white-color);
  }
}

@media (min-width: 1500px){
  header .header__firstlayer{
    padding: 0.8rem 15rem;
  }
}

@media (min-width: 2560px){
  header .header__firstlayer{
    padding: 0.8rem 25rem;
  }
}