@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-Regular.woff2') format('woff2'),
        url('../fonts/Inter-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-Italic.woff2') format('woff2'),
        url('../fonts/Inter-Italic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

body {
  font-family: 'Inter';
  font-weight: normal;
  overflow-x: hidden;
  background: #FFF9F3;
}
#header {
  transition: all 0.3s ease;
}

#header.scrolled {
  background-color: #fffffffe;
  color: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
header {
  z-index: 9;
  background: transparent;
}
header:has(.dropdown-menu.show) {
  background: rgba(44,44,44,.95);
}

.navbar-nav .nav-link {
  color: #000;
  margin: 0 10px;
  display: flex;
  align-items: center;
  padding: 25px;
}

.nav-link:hover{
  color: #143058;
}

.dropdown-menu {
  background: rgba(44, 44, 44, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.50);
  border-radius: 0;
}

.nav-link{
  color: #000;
}

.btn-enroll {
  color: #fff !important;
  padding: 6px 18px !important;
  border-radius: 10px;
  background: #143058 !important;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25) inset;
}

.btn-enroll:hover {
  background-color: #143058;
}

.icon-btn {
  color: white;
  font-size: 1.5rem;
  margin-left: 15px;
  align-items: center;
  border-radius: 50%;
  background: #143058;
  border: 2px solid #143058;
  transition: 0.5s all ease;
}

.icon-btn svg {
  width: 32px;
  height: 32px;
  padding: 6px;
}

.navbar-brand {
  font-weight: bold;
  color: white !important;
  letter-spacing: 0.5px;
}

.nav-link:hover>a span:after {
  width: 100%;
}

.nav-item > a span:after {
    content: "";
    display: block;
    position: relative;
    width: 0%;
    border-bottom: 2px solid #143058;
    bottom: 0px;
    transition: 0.5s all ease;
}
.nav-item:hover a span:after {
    width: 100%;
}
.nav-item > a.show span {
    content: "";
    display: block;
    position: relative;
    width: 100%;
    border-bottom: 2px solid #143058;
    bottom: 0px;
    transition: 0.5s all ease;
}
.dropdown-toggle.show:after {
  transform: rotate(225deg);
}
.nav-item.dropdown.dropdown-mega .dropdown-menu {
  width: 100%;
  top: auto;
  left: 0%;
}
.dropdown-toggle::after {
  content: "";
  transform: rotate(45deg);
  width: 6px;
  height: 6px;
  border: 0;
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  margin-left: .555em;
  vertical-align: .555em;
  transition: 0.5s all ease;
}

.dropdown-menu.animate-dropdown {
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  display: block;
  visibility: hidden;
  height: 0;
  overflow: hidden;
  padding: 0 !important;
}

.dropdown-item.active,
.dropdown-item:active,
.dropdown-menu a:hover {
  background-color: transparent;
  color: #9a0002;
  text-decoration: none;
}

/* On show */
.dropdown-menu.animate-dropdown.show {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  height: auto;
  padding: 0.5rem 0 !important;
  /* restore padding */
}
.scrolled{
  background: rgba(44, 44, 44, 0.95);
}
/* .scrolled .navbar .btn-enroll{
  background: #262626 !important;
} */
.navbar-brand img{
      transition: width 0.5s ease;
    width: 180px;
    height: max-content;
}
.scrolled .navbar-brand img{
  width:120px;
   transition: 0.5s all ease;
}
/* --------------buttons---------------------------- */
    /* 8. hover-slide-left */
    /*--- btn-2 ---*/

/* 8. hover-slide-left */
.knowmorebtn.hover-slide-left::before {
   position: absolute;
  content: "";
 top: 0; bottom: 0; left: 0; 
  height: 100%; width: 0%;
}
.knowmorebtn.hover-slide-left:hover::before {
  width: 100%;
}
.enrolbtn {
    color: #fff !important;
    padding: 8px 18px;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25) inset;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    animation-name: fadeInUp;
    animation-delay: 0.3s;
    border-radius: 10px;
    border: none;
    text-decoration: none;
    color: #FFF;
    font-size: 18px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
}
.butn:link,
.butn:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 13px;
  border-radius: 10px;
  border: none;
  color: #fff;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
}
.butn::before {
  background: #fff;
  content: "";
  height: 155px;
  opacity: 0;
  position: absolute;
  top: -50px;
  transform: rotate(35deg);
  width: 50px;
  transition: all 3000ms cubic-bezier(0.19, 1, 0.22, 1);
}
.butn::after {
  background: #fff;
  content: "";
  height: 20rem;
  opacity: 0;
  position: absolute;
  top: -50px;
  transform: rotate(35deg);
  transition: all 3000ms cubic-bezier(0.19, 1, 0.22, 1);
  width: 8rem;
}
.butn__new::before {
  left: -50%;
}

.butn__new::after {
  left: -100%;
}

.butn:hover,
.butn:active {
  transform: translateY(-3px);
  color: #fff;
  box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.3);
}

.butn__new:hover::before {
  left: 120%;
  opacity: 0.5s;
}

.butn__new:hover::after {
  left: 200%;
  opacity: 0.6;
}
.butn span {
  z-index: 20;
}
.mega-content .list-group-item{
display: flex
;
    color: white;
    font-size: 17px;
    font-style: normal;
    font-weight: 500;
    padding: 10px 0;
    align-items: center;
    justify-content: space-between;
}
.boximga{
border-radius: 30px 0;
    height: 187px;
    width: 100%;
    object-fit: cover;
    vertical-align: middle;
}
.boximgtext{
    color: white;
    font-size: 16px;
    border-left: 1px solid rgba(255, 255, 255, 0.60);
    padding: 2rem;
}
.boximgtext strong{
  color:white
}
.icon-btn:hover{
    position: relative;
    border: 2px solid #ffffff;
    transition: 0.5s all ease;
}

/* -------------- */
.navbar-nav .nav-link{
  padding: 9px;
}
/* --------------------------- */
@media (max-width: 991.98px) {
  .navbar-brand {
    font-size: 17px;
  }
  .icon-btn {
    margin-left: 8px;
    height: 30px;
    width: 30px;
    display: flex;
    align-items: center;
  }
  .icon-btn svg {
    padding: 6px;
    width: auto;
    height: auto;
  }
  .navbar-toggler-icon {
     width: 1em;
     height: 1em;
     /* stroke: white; */
  }
  .navbar-collapse {
    background-color: #EAEAEA;
    padding: 1rem;
    border-radius: 7px;
  }

  .navbar-nav .nav-link {
    margin: 8px;
    padding: 0px;
    justify-content: space-between;
  }

  .navbar-toggler {
    background-color: #eef5ff;
  }

  .dropdown-toggle::after {
    border-right: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
  }

  .navbar-toggler:focus {
    box-shadow: none;
  }
  header {
    z-index: 9;
    background: #EAEAEA;
}
}

@media (max-width: 768px) {
.dropdown-menu {
    background: transparent;
    border-top: 0;
    border-radius: 0;
}
.nav-item > a.show span {
    padding-bottom: 5px;
}

.boximgtext {
    color: white;
    font-size: 16px;
    border-left: 0;
    padding: 0rem !important;
}
.navbar-nav{
  max-height: 600px;
    overflow-y: auto;
    overflow-x: hidden;
}
.mega-content{
  padding: 0 15px !important;
  animation-name:none !important
}
header:has(.dropdown-menu.show) {
    z-index: 9999;
}
header:has(.collapse.show){
        background-color: #EAEAEA;
}
.nav-item:hover a span:after{
  bottom:-6px
}
.boximga{
  width:auto;
}
.scrolled .navbar-brand img {
    width: 130px;
}
.navbar-brand img{
   width: 130px;
}
}