@font-face {
    font-family: "Montserrat";
    src: url("/fonts/Montserrat-Regular.ttf");
}
@font-face {
    font-family: "Raleway";
    src: url("/fonts/Raleway-Regular.ttf");
    
}


body{
    zoom:100%;
    font-family: "Montserrat", "Raleway";
    --primary:rgb(247, 247, 247);
    --secondary:rgb(24, 24, 24);
    --tetiary1:rgb(63, 63, 233);
    --tetiary2:red;
    --tertiary3:#0b1f3a;;
    --bg:rgb(243, 243, 243);
    --p: 1rem;
    --h1:2.5rem;
    --h2:2rem;
    --h3:1.5rem;

    --expensiveBoxShadow:0 1px 2px rgba(0, 0, 0, 0.1),
                            0 4px 12px rgba(0, 0, 0, 0.15);
    --expensiveTransition:cubic-bezier(0.4, 0.0, 0.2, 1);


    --navHeight:calc(50px + var(--navPadding)); 
    --navPadding:0.8rem;  
    color: black;
    max-width: 100vw;
    
    background-color:var(--bg) ;
    margin:0;
    padding:0;
    box-sizing: border-box;
    
}
#index{
    gap: 5rem;
}
.topic{
    margin-top: var(--navHeight);
}
a{
    text-decoration: none;
    color: black;
}
li{
    list-style: none;
}
.normalLi{
    list-style: outside;
}
.emphasis{
    color:var(--tetiary2) !important;
    font-weight: bold;
}
.topicEmphasis{
    color: var(--tertiary3);
    font-weight: 900 !important;
}

p{
    font-size: var(--p);
    line-height: 210%;
}
h1{
    font-size: var(--h1);
}
h2{
    font-size: var(--h2);
    
}
h3{
    font-size: var(--h3);
}
header{
    position: fixed;
    z-index: 9999;
    width: 100vw;
    background-color: var(--tertiary3);
    backdrop-filter: blur(25px);

    
}
nav{
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}
main{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    overflow: hidden;
}
.navHalf{
    width:50%;
    padding:var(--navPadding) 0rem var(--navPadding) 0rem;
    margin: 0;
    height: var(--navHeight);

}
#navigation>ul{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}
.navli>a{
    color:var(--bg);
}
.navli:hover{
    color:var(--tetiary2) !important;
}

.topImg:not(.introTop){
    margin-top: var(--navHeight);
    width:100%;
    min-height: 50px;
    height:50vh;
    max-height:50vh;
    background-image: url("./assets/students.png");
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    backdrop-filter: blur(50px);
    
    display: flex;
    flex-direction: row;
    justify-content: center;
    overflow: hidden;

}
.introTopImg{
    height:100%;
}
.introTop{
    padding-top: 6rem;
    width:100%;
    min-height: 50px;
    height:75vh;
    
    
    display: flex;
    position: relative;
    flex-direction: row;
    justify-content: center;
    overflow: hidden;
}
.introTopImgCont{
  
    position: absolute;
    width:100%;
    height:100%;
}

.introTopImgCont>img{
    z-index: 1;
    width:100%;
    object-fit: cover;
    filter: contrast(110%) brightness(40%);
    

    transform: scale(1.25);
    transition: transform 9.9s ease;   

    
}
.slide.active .introTopImgCont > img {
    transform: scale(1.0);
}

.introTopImgCont::before{
    content: "";
    display: inherit;
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    
}
.slide{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;

    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s ease;
}
.slide.active{
    opacity: 1;
    pointer-events: auto;
}
.highlight-anim{
    border-radius: 10px;
    background-size: 0%;
    background-image:linear-gradient(  blue);
    background-repeat: no-repeat;
    transition: background-size 0.8s ease;
}
.highlight-anim.show  {
  animation: highlight 9s 1s var(--expensiveTransition) forwards;
}
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: 
    opacity 1s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}
.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.25s; }
.reveal.delay-3 { transition-delay: 0.4s; }
.reveal.delay-4 { transition-delay: 0.55s; }
@keyframes highlight{
    0%{
        background-size: 0%;

    }
    30%{
        background-size: 100%;
    }
    80%{
        background-size: 100%;
    }
    100%{
        background-size: 0%;
    }

}

#enrollDiv{
    z-index: 2;
    width:100%;
    height:100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
#enrollDivCont{
    width:100%;
    height:100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#introWhyChooseUs>a{
    color:var(--tetiary2);
    font-size: 1.25rem;
}
#introStudentLife>a{
    color: var(--tetiary2);
    font-size: var(--p);
}
.introSlide{
    color: var(--bg);
    position: relative;
    padding-inline: 4rem;
    padding-block: 8rem;
    width:100%;
    height:100%;
    display: flex;
    flex-direction: column;
    background-color: transparent;
}

#intro{
    text-align: center;
    width:100%;
    color: var(--bg);
    backdrop-filter: blur(0.1px);
    border-radius: 10px;
    
}
#enrollCard{
    width:fit-content;
    text-align: center;
    margin-block: 4rem;
    padding-block: 1rem;
    padding-inline: 3rem;
    background-color: rgba(0, 0, 255, 0.411);
    color: var(--bg);
    backdrop-filter: blur(20px);
    border-radius: 10px;
    box-shadow: var(--expensiveBoxShadow);
}
#quote{
    color:grey;
}

#statusdiv{
    width:100%;
    text-align: center;
}
#status{
    color: var(--tetiary1);
    font-weight: bold;
    text-align: center;
}
button{
    border-radius: 10px;
    border: 1px solid var(--bg);
}
button:hover{
    cursor: pointer;
    
}
#homeImg{
    
    width:100vw;
    height:auto;
    object-fit: fill;
    
}

#enrollBtnCont{
    z-index: 2;
    height:70vw;    
    width: 100%;
    top:0%;
    left:0%;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    
}
#enrollBtnCont>button{
    padding-inline: 2rem;
    padding-block: 1rem;
}

#heroContainer{
    padding:1rem 2rem;
    width:90vw;
    margin-block: 1rem;
    
}
#admissionsInfo{
    margin: 0;
}
#hero{
    display: flex;
    margin-top: -5%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
#heroGridSection1{
    width:100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
#heroGridSection1divh1{
    color:var(--tetiary2);
    width:100%;
    text-align: center;


}
#heroGridSection1divh1>h1{
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-weight: 100;
    font-size: 3rem !important;
}
#heroGridSection1divh2{
    max-width: 70vw;
}
#whychooseusbutton{
    background-color: var(--tetiary1);
    padding-inline: 2rem;
    padding-block: 1rem;
    width: fit-content;
    border-radius: 100vw;
    color: white;
    
    
}

#heroEnrollBtn{
    padding:1rem 2rem;
    margin-block:1rem;
    background-color: var(--tetiary1);
    color: var(--bg);
    border:1px solid var(--bg);
    box-shadow: var(--expensiveBoxShadow);
    
    
    
   
    

}

#heroExploreProgrammes{
    padding:1rem 2rem;
    margin-block:1rem;
    background-color: var(--tetiary1);
    box-shadow: var(--expensiveBoxShadow);
    color:var(--bg);
    
    
    border: none;

}
#heroGridSection2ImgCont{
    max-width:100%;
 
}
#heroGridSection2ImgCont>img{
    object-fit: contain;
    border-radius: 10px;
    width:100%;
    box-shadow: var(--expensiveBoxShadow);
}

#gridHome{
    width:80vw;
    display: grid;
    
    grid-template-columns: 1fr 1fr;
    place-items: center;
}
#programmes{
    width:80%;
}
#programmesGridCont{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding:2rem 2rem 2rem 2rem;
}
.card{
    display: flex;
    flex-direction: column;
    box-shadow: var(--expensiveBoxShadow);
    margin: 1rem 1rem 1rem 1rem;
    padding: 1rem 2rem 1rem 2rem;
    border-radius: 10px;
    width: auto;
}
.card>h3{
    font-weight: 900 !important;
}

.card:hover{
    scale:1.05;
    border: 1px solid var(--tetiary2);
    cursor: pointer;
}
.programmesGrid{
    width:100%;
    display: grid;
    place-content: center;
    grid-template-rows: 1fr;
    grid-template-columns: 1fr 1fr 1fr;
}

#admissionsMini{
    width: 80%;
    height: fit-content;
}

#prospectusBtn{
    background-color: var(--tetiary1);
    padding-inline: 2rem;
    padding-block: 1rem;
    width: fit-content;
    border-radius: 100vw;
    color: white;
    
}

#motoContainer{
    background-color: rgb(97, 97, 97);
    
    width:90%;
    border-radius: 10px;
    padding:1rem 2rem;
    aspect-ratio: 2/1;
    text-align: left;
    display: flex;
    flex-direction: column;
  
    justify-content: center;
    color: var(--bg);
}

#levelsContainer{
    width:100%;
    padding: 1rem, 2rem;
    position: relative;
}

.level{
    border:1px solid rgba(255, 255, 255, 0);
    margin-inline:4rem;
    margin-block: 0.5rem;
    text-align: center;
    box-shadow: var(--expensiveBoxShadow);
    background-color: var(--tetiary1);
    border-radius: 50rem;
}
.level:hover{
    cursor: pointer;
    
}
.curriculumView{
    background-color: var(--tetiary2);
}
.levelContact{
    color:var(--bg);
}
#homeCurriculumMenu{
    position:absolute;
    display: flex;
    flex-direction: column;
    box-shadow: var(--expensiveBoxShadow);
    
    top:0;
    width:100%;
    height:100%;
    margin-inline:4rem;

    
    background-color: blue;
}
#back{
    color:var(--bg);
    width:10%;
    background-color: transparent;
    border: none;
}
#back:hover{
        cursor: pointer;

}
#homeCurriculumMenu{
    display:none;
}
#homeCurriculumMenu.open{
    display: inherit;
}
#homeCurriculumMenu>div{
    width:100%;
    height:100%;
    background-color: var(--tetiary1);
    color: var(--bg);
    display: flex;
    justify-content: center;
    align-items: center;

}
#curriculumMenuLinks{
    display: flex;
    flex-direction: column;
    text-align: left;
}
#curriculumMenuLinks>a{
    margin:0.5em;
    color:var(--bg);
}
#menuButton{
    display: none;
}
.translate{
    transform:translateY(0);
    transition: all 0.3s cubic-bezier(0.075, 0.82, 0.165, 1);
    }
.translate:hover{

        transform: translateY(-2px);
    }


footer{
    z-index: 999;
    background-color: var(--tertiary3);
    color: aliceblue;
    padding:2rem 4rem;
    margin-top: 5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
}
footer>div{
    display: block;
}
footer>div>a{
    color:white;
}
@media (max-width: 767.98px) {
    body{
    --p: 1rem;
    --h1:2rem;
    --h2:1.75rem;
    --h3:1.5rem;
    }
    .navItems{
        position:fixed;
        background-color: rgb(179, 179, 179);
        
        display: none;
        flex-direction: column;
        justify-content: center;
        align-items: flex-end;
        
        margin-top: var(--navHeight);
        margin-left: -50%;
        width:100vw;
        max-width: 100vw;
        height: 100vh;
       
    }
    .navItems.open{
        display: flex;
    }
    
    .navItems>ul{
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        margin-inline: 3rem;
        margin-top: -10rem;
               
          
    }
    .navItems>ul>li{
        margin-block: 2rem;
        font-size: 1.25rem;
    }
    #enrollCard{}
    .introSlide{
        padding-inline: 1rem;
    }
    #menuButton{
        display: inherit;
        width:50px;
        height:50px;
        background-color: grey;
       position: fixed;
       z-index: 9999999999999;
       right:10px;
    }
    .menuLine{
        transform: rotate(90deg);
    }
    .introTop{
        height:75vh;
    }
    #logoCont{
        height:var(--navHeight);
        display: none;
    }
    #logoCont>img{
        object-fit: contain;
        width:100%;
        aspect-ratio: 1;
        display: none;
    }
    #programmes{
        width: 80%;
    }
    #programmesGridCont{
        flex-direction: column;
        justify-content: left;
        align-items: start;
        padding:0rem 0rem 0rem 0rem;
    }
    .programmesGrid{
        display:block;
       
    }
    .card{
      
        margin: 0rem 0rem 2rem 0rem;
        
    }
    #admissionsMini{
        width:90%;
    }
    #gridHome{
        grid-template-columns: 1fr;
        grid-template-rows: 1fr, 1fr;
    }
    #topicContainer{
        display: flex !important;
        flex-direction: column-reverse;
    }
    #academicSelect{
        width:50vw !important;
    }
    #academicDisplay{
        margin:0rem 1rem !important;
    }
    #about{
        margin:0 1rem !important;
    }
    #hero{
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr;
    }
    #heroContainer{
        padding:0.5rem, 1rem;
       
    }
    #heroGridSection1{
        padding-right:1rem;
    }
    #heroGridSection2ImgCont>img{
        width:100vw;
        margin-left:-5%;
    }
    #homeCurriculumMenu{
        z-index: 99999;
        margin-inline: 0;
        margin-block: 0.5rem;
    }
    #heroGridSection1divh1{
        margin-top: -30%;
    }
    #heroGridSection1divh1>h1{
        font-size: var(--h1) !important;
    }
    #statusdiv{
        margin-top: -20%;
    }
    #heroGridSection1divh2{
        max-width: 100vw;

    }
    footer{
        background-color: var(--tertiary3);
        color: aliceblue;
        padding:2rem 4rem;
        margin-top: 5rem;
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
}
@media (min-width: 768px) and (max-width: 1199.98px){
    .navItems{
        width:100%;
    }
    .navItems>ul{
        display: flex;
        flex-direction: row;
        justify-content: space-around;
    }
    
    
}
@media (min-width: 1200px){
    .navItems{
        width:100%;
    }
    .navItems>ul{
        display: flex;
        flex-direction: row;
        justify-content: space-around;
    }

}