@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

html,
body {
    position: relative;
    height: 100%;
    margin-inline: auto;
}

:root{
    --yellow: rgb(255, 255, 0);
    --white: #fff;
    
    --yellow: rgb(255, 255, 0);
    --white: #fff;

    /* MAIN THEME COLORS */
    --first-color: #0e2431;
    --second-color: #6a59d1;
    --third-color: #777;

    /* VARIANT COLORS */
    --first-variant: rgb(104, 182, 27);
    --second-variant: #7862f5;
    --third-variant: rgb(184, 82, 235);

    /* HOVER COLORS */
    --hover-color: #614fd0;

    /* BACKROUND COLORS */
    --body-bg-color: #fefefe;
    --body-bg-color: #fff;
    --modal-bg-color: #fff;
    --bg-transparent-color: rgba(0, 0, 0, 0.1);
    --transparent-color-01: rgba(0, 0, 0, 0.1);
    --transparent-color-02: rgba(106, 89, 209, 0.1);
    --line-color: #d7d7d7;

    /* COLOR FILTER */
    --color-filter: invert(0);

    /* BOX SHADOW */
    --box-shadow: 0px 0px 20px rgb(0 0 0 / 10%);

    /* FONT SIZE */
    --small-font-size: 0.9em;
    --normal-font-size: 1em;

    /* SCROLL BAR COLORS */
    --scroll-bar-color: #c5cadf;
    --scroll-thumb-color: #70768a;
    --scroll-thumb-hover-color: #454f6b;

    /* HEADER HEIGHT */
    --header-height: 5.5rem;

    /* HSL COLORS */
    /* HSL (HUE, SATURATION AND LIGHTNESS) */
    --black-color: hsl(220, 24%, 12%);
    --black-color-light: hsl(220, 24%, 15%);
    --black-color-lighten: hsl(220, 20%, 18%);
    --white-color: #fff;
    --body-color: hsl(220, 100%, 97%);

    /* FONT AND TYPOGRAPHY */
    --body-font: "Montserrat", sans-serif;
    --normal-font-size: .938rem;

    /* FONT WEIGHT */
    --font-regular: 400;
    --font-semi-bold: 600;

    /* Z-INDEX */
    --z-tooltip: 10;
    --z-fixed: 100;
}

*::before,
*::after{
    box-sizing: border-box;
}

*{
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    text-transform: none;
    text-decoration: none;
    outline: none;
    border: none;
    transition: all .2s ease-out;
    margin: 0 auto;
    max-width: 4500px;
}

*::selection{
    color: antiquewhite;
    background-color: rgb(80, 80, 241);
}

html{
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/**************************************
REUSABLE SELECTORS 

***************************************/
p{
    text-align: justify;
    font-family: sans-serif;
}

li{
    list-style-type: none;
}

section{
    min-height: 100vh;
    padding: 0 7%;
    padding-top: 11rem;
    padding-bottom: 9rem;
}

.background{
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 81, 255, 0.3) 100%);
    background-size: cover;
    background-position: top;
}

.background2{
    background: linear-gradient(rgba(4, 9, 30, 0.5), 
                                rgba(4, 9, 30, 0.3)), 
                                url(./images/icidi_gorge.jpg) no-repeat;
    background-size: cover;
    background-position:top;
}

.heading{
    text-align: center;
    color: rgba(0, 17, 255, 0.3);
    padding: 1rem;
    margin-bottom: 1rem;
    margin-block: 0.67em;
    font-size: 3.5em;
}

#btn{
    margin-top: 3em;
    background: #600a68;
    color: #fff;
    border-radius: 12px;
    font-size: 1.7rem;
}

.btn{
    padding: 15px 40px;
    z-index: 0;
    font-size: 1.7rem;
    border: none;
    outline: none;
    color: #fff;
    cursor: pointer;
    position: relative;
    border-radius: 12px;
    background: #600a68;
}

.btn:hover{
    background-color: #b42cc0;
}

#btn:hover{
    background-color: #b42cc0;
}

.flex-content {
    display: flex;
    border: 1px solid gray;
    box-shadow: var(--box-shadow);
    padding: 1em;
    height: 100%;
}

.flex-center{
    display: flex;
    align-items: center;
    justify-content: center;
}

.container{
    max-width: 1120px;
    margin-inline: 1.5rem;
}

/************************** 
ENROLMENT PAGE 

***************************/
.attachments{
    display: flex;
    gap: 2rem;
}

embed{
    margin: 2rem;
}

body ol{
    margin: 2rem;
}

body ol li{
    font-size: 2rem;
    margin: 2rem;
}

/***************************** 
STUDENTS PAGE HEADING 

*****************************/
#class{
    text-transform: uppercase;
    font-size:5rem;
    font-weight: 700;
    background: linear-gradient(to top, transparent 0%, blue 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    opacity: 1;
    overflow-wrap: break-word;
}

/***************************** 
END OF REUSABLE SELECTORS 

*****************************/
::-webkit-scrollbar{
    width: 10px;
    background: var(--scroll-bar-color);
}

::-webkit-scrollbar-thumb{
    background: var(--scroll-bar-color);
    border-radius: 2rem;
}

::-webkit-scrollbar-thumb:hover{
    background: var(--scroll-thumb-hover-color);
}

/****************************** 
HEADER 

******************************/
header{
    position: fixed;
    top: 0; left: 0; 
    width: 100%;
    z-index: 9999;
    transition: .6s ease;
}

header.sticky{
    background: rgba(22, 44, 165, 0.5);
    box-shadow: var(--box-shadow);
    backdrop-filter: blur(10px);
}

.subheader{
    background: rgba(22, 44, 165, 0.5);
    box-shadow: var(--box-shadow);
    backdrop-filter: blur(10px);
}

nav{
    position: relative;
    height: calc(4rem + 4rem);
    max-width: 1250px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-left: auto;
    padding: 0 20px;
    transition: .6s ease;
}

header.sticky nav{
    height: calc(4rem + 4rem);
}

header nav .nav__menu .nav__list a{
    font-size: 1.8em;
    font-weight: 500;
    position: relative;
    text-decoration: none;
    transition: 0.3s ease;
}

header nav .nav__menu .nav__list a:before{
    content: '';
    position: absolute;
    background: #fefefe;
    border-radius: 2px;
    width: 0;
    height: 2px;
    bottom: 0; left: 0;
    transition: 0.3s ease;
}

header nav .nav__menu .nav__list .dropdown__item a:before{
    content: '';
    position: absolute;
    background: rgba(223, 214, 214, 0.405);
    border-radius: 2px;
    width: 0;
    height: 100%;
    bottom: 0; left: 0;
    transition: 0.3s ease;
}

header nav .nav__menu .nav__list .dropdown__item .dropdown__subitem div:before{
    content: '';
    position: absolute;
    background: rgba(223, 214, 214, 0.405);
    border-radius: 2px;
    width: 0;
    height: 100%;
    bottom: 0; left: 0;
    transition: 0.3s ease;
}

header nav .nav__menu .nav__list a:hover:before,
header nav .nav__menu .nav__list .dropdown__item a:hover:before,
header nav .nav__menu .nav__list .dropdown__item .dropdown__subitem div:hover:before{
    width: 100%;
}

.header nav .nav__menu ul li .nav__link,
.header nav .nav__menu ul li .dropdown__link,
.header nav .nav__menu ul li a{
    font-size: 1.8em;
    color: var(--white-color);
}

nav{
    height: var(--header-height);
}

.nav__logo,
.nav-menu-btn,
.nav-close-btn{
    color: var(--white-color);
}

.nav__data{
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__menu .nav__list{
    align-items: center;
}

.nav__logo{
    display: inline-flex;
    align-items: center;
    column-gap: .25rem;
    font-weight: var(--font-semi-bold);
}

.nav__logo i{
    font-weight: initial;
    font-size: 1.25rem;
}

.nav__toggle{
    position: relative;
    width: 32px;
    height: 32px;
}

.nav-menu-btn,
.nav-close-btn{
    position: absolute;
    width: max-content;
    height: max-content;
    inset: 0;
    margin: auto;
    font-size: 1.25rem;
    cursor: pointer;
    transition: opacity .1s, transform .4s;
}

.nav-close-btn{
    opacity: 0;
}

/***************************** 
HOME SECTION 

*****************************/
.home{
    display: flex;
}

.home .content{
    border-radius: 10px;
    background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.4));
    padding: 2em;
    justify-content: center;
    line-height: normal;
    width: 100%;
    height: 100%;
}

.home .content .element{
    padding: 2rem;
}

.home .content h1{
    text-align: center;
    font-size: calc(3vw + 3vh);
    color:#fcfcfc;
    text-align: center;
    width: 90%;
    text-transform: uppercase;
}

.home .content h1 span{
    text-transform: uppercase;
    font-weight: 600;
    background: linear-gradient(to top, transparent 0%,rgba(142, 243, 75, 0.7) 40%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    opacity: 1;
    margin-right: 1.5rem;
    width: 90%;
}

.home .content h3{
    font-size: 3rem;
    color: #ffffff;
    text-align: center;
    line-height: normal;
    font-size: calc(1.5vw + 1.5vh);
}

/**************************************** 
SWIPER 

****************************************/
.swiper{
    position: relative;
    width: 95%;
    height: 100%;
    margin-top: 4rem;
}

.swiper-wrapper{
    position: relative;
    height: 50vh;
}

.swiper-slide{
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img{
    display: block;
    width: 100%;
    height: 50rem;
    object-fit: cover;
    object-position: center;
    margin-bottom: 1rem;
}

.swiper .swiper-wrapper .swiper-slide h2{
    position: absolute;
    margin: 4rem 6rem;
    color: #ffff;
    font-size: 3rem;
}

.swiper .swiper-wrapper .swiper-slide p{
    position: absolute;
    margin: 10rem 35rem;
    color:#ffff;
    width: 50%;
    font-size: 2rem;
    background-color: rgba(0, 0, 0, .3);
    border-radius: 2rem;
    padding: 4rem;
}

/************************************
FEATURES SECTION 
 
************************************/
.features .box-container{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.features h3{
    color:#3635a8;
}

.features .box-container .box{
    line-height: 3rem;
    flex: 1 1 27rem;
    padding: 1rem;
    margin: 1rem;
    height: 23rem;
    max-width: 100%;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .1);
    border: .1rem solid rgba(0, 0, 0, .3);
    text-align: center;
    background-size: cover;
    background-position: center;
    overflow-y: hidden;
}

.features .box-container .box:hover{
    transform: scale(1.015);
    overflow-y: scroll;
    scrollbar-width: none;
}

.features .box-container .box img{
    height: 12rem;
    width: 12rem;
    padding: 1rem;
    border-radius: 50%;
    object-fit: contain;
}

.features .box-container .box h3{
    font-size: 2.5rem;
    color: #3635a8;
}

.features .box-container .box span{
    font-size: 1.7rem;
    color: blue;
}

.features .box-container .box p{
    color: #666;
    font-size: 1.4rem;
}


/******************************** 
INFORMATION PAGE 

********************************/
.info-page{
    font-size: 1.5em;
    font-weight: 500;
    color:#202020;
    max-width: 100%;
    line-height: 2em;
}

.info-page h2{
    margin: 1.5rem auto;
}

.info-page div p, 
.info-page div p h3{
    margin: 1em;
    text-align: justify;
}

.info-page div ul{
    margin-left: 5rem;
}

/******************************** 
TEAM SECTION 

********************************/
.team .box-container{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.team .box-container .box{
    flex: 1 1 27rem;
    padding: 2rem 3rem;
    margin: 1rem;
    height: 26rem;
    max-height: 100%;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .1);
    border: .1rem solid rgba(0, 0, 0, .3);
    border-radius: 1rem;
    text-align: center;
    background-color: #fff;
    background-size: cover;
    background-position: center;
    transition: all .5s ease-in;
    overflow-y: hidden;
}

.team .box-container .box:hover{
    overflow-y: scroll;
    scrollbar-width: none;
}

.team .box-container .box img{
    height: 12rem; 
    width: 12rem;
    padding: 1rem;
    border-radius: 50%;
    object-fit: cover;
}

.team .box-container .box h3{
    font-size: 2.5rem;
    color: #333;
}

.team .box-container .box span{
    font-size: 1.7rem;
    color: var(--red);
}

.team .box-container .box p{
    color: #666;
    font-size: 2rem;
}

/***************************** 
TESTIMONIALS SECTION 

*****************************/
.testimonials .box-container{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.testimonials .box-container .box{
    flex: 1 1 40rem;
    padding: 2rem 3rem;
    margin: 1rem;
    height: 26rem;
    max-height: 100%;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .1);
    border: .1rem solid rgba(0, 0, 0, .3);
    text-align: center;
    background-color: #fff;
    background-size: cover;
    background-position: center;
    transition: all .5s ease-in;
    overflow-y: hidden;
}

.testimonials .box-container .box:hover{
    overflow-y: scroll;
    scrollbar-width: none;
}

.testimonials .box-container .box img{
    height: 12rem;
    width: 12rem;
    padding: 1rem;
    border-radius: 50%;
    object-fit: cover;
}

.testimonials .box-container .box h3{
    font-size: 2.5rem;
    color: #333;
}

.testimonials .box-container .box span{
    font-size: 1.7rem;
    color: var(--red);
}

.testimonials .box-container .box p{
    color: #666;
    font-size: 1.7rem;
}

/*********************************** 
ABOUT FOUNDER 

***********************************/
.about-founder{
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: center;
    gap: 2em;
}

.about-founder .image img{
    min-width: 100%;;
    height: 35rem;
    min-height: 100%;
    object-fit: contain;
}

.about-founder .content{
    align-items: center;
}

.about-founder .content h1{
    margin-bottom: 8rem;
}

.about-founder .content .para{
    transform: translateY(-6em);
}

.about-founder .content p{
    line-height: 2.1rem;
    font-size: 1.7rem;
    color: #666;
    padding: 1rem 0;
    text-wrap: wrap;
    overflow-wrap: break-word;
}

.about-founder .content .list{
    transition: 1s;
    margin: 0 1em;
}

.about-founder .content .list:hover{
    transform: translateX(2rem);
    cursor: pointer;
    margin: 0 1em;
}

/*********************************
THE SERVICES THAT WE PROVIDE

*********************************/
.portfolio .container .content{
    width: 100%;
}

.portfolio-close-btn{
    position: absolute;
    background: url(./images/close.png)no-repeat;
    filter: var(--color-filter);
    background-size: 12px;
    background-position: center;
    width: 40px;
    height: 40px;
    top: 0;
    right: 0;
    margin: 10px;
    cursor: pointer;
}

.portfolio-list{
    margin: 0 auto; 
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    grid-gap: 20px;
}

.portfolio-list .img-card{
    position: relative;
    max-width: 100%;
    height: 360px;
    box-shadow: var(--box-shadow);
    overflow: hidden;
    cursor: pointer;
}

.portfolio-list .img-card .info{
    height: 100%;
    width: 100%;
    background: rgba(54, 22, 22, 0.7);
    text-align: center;
    position: absolute;
    top: -100%;
    left: 0;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
} 

.portfolio-list .img-card .info h3,
.portfolio-list .img-card .info span{
    font-size: 3rem;
    color: #fff;
    transform: translateY(5rem);
    opacity: 0;
    transition: 1s;
}

.portfolio-list .img-card:hover .info{
    top: 0%;
}

.portfolio-list .img-card:hover .info h3{
    transform: translateY(0rem);
    opacity: 1;
    transition-delay: .2s;
}

.portfolio-list .img-card:hover .info span{
    transform: translateY(0rem);
    opacity: 1;
    transition-delay: .4s;
}

.portfolio-list .img-card img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portfolio-model{
    z-index: 999999;
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    background: var(--transparent-color-01);
    backdrop-filter: blur(20px);
    visibility: hidden;
    opacity: 0;
    transition: .3s ease;
}

.portfolio-model.active{
    visibility: visible;
    opacity: 1;
}

.portfolio-model-body{
    position: relative;
    background: var(--modal-bg-color);
    max-width: 600px;
    margin: 20px;
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    transform: translateY(-50px);
    transition: .5s ease;
}

.portfolio-model.active .portfolio-model-body{
    transform: translateY(0);
}

.portfolio-close-btn{
    position: absolute;
    background: url(./images/close.png)no-repeat;
    filter: var(--color-filter);
    background-size: 18px;
    background-position: center;
    width: 40px;
    height: 40px;
    top: 0;
    right: 0;
    margin: 10px;
    cursor: pointer;
}

.portfolio-model-body h3{
    font-size: 4em;
}

.portfolio-model-body img{
    width: 100%;
    margin: 20px 0;
    border-radius: 10px;
}

.portfolio-model-body p{
    font-size: 1.7em;
}

/******************************** 
LEARNERS SECTION 

********************************/
.learner{
    position: relative;
}

.learner .box-container{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.learner .box-container .box{
    flex: 1 1 27rem;
    padding: 2rem 3rem;
    margin: 1rem;
    height: 28em;
    max-height: 100%;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .1);
    border: .1rem solid rgba(0, 0, 0, .3);
    border-radius: 1rem;
    text-align: center;
    background: url(./images/iframe_bg.jpg) no-repeat;
    background-size: cover;
    background-position: center;
    overflow-y: hidden;
}

.learner .box-container .box:hover{
    transform: scale(1.015);
    overflow-y: auto;
    scrollbar-width: none;

}

.learner .box-container .box img{
    height: 15rem;
    width: 15rem;
    padding: 1rem;
    border-radius: 50%;
    object-fit: cover;
}

.learner .box-container .box h3{
    font-size: 1.8rem;
    color: #333;
}

.learner .box-container .box span{
    font-size: 1.7rem;
    color: blue;
}

.learner .box-container .box p{
    color: #666;
    font-size: 2rem;
}

/*********************************** 
IMAGES GALLERY PAGES

***********************************/
.image-gallery-container{
    position: relative;
    max-width: 1350px;
    width: 100%;
    padding: 20px;
    margin: 50px auto;
}

.filter-buttons{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

button{
    padding: 10px 20px;
    font-size: 18px;
    background: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

button.active{
    background: #4070f4;
    color: #fff;
}

.filterable-cards{
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-gap: 20px;
    margin: 2.5rem;
}

.card{
    position: relative;
    background-color: #fff;
    padding: 3px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    min-width: 100%;
    height: 40rem;
}

.card.hide{
    display: none;
}

.card img{
    width: 100%;
    height: 30rem;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

.card-body{
    font-size: 20px;
    font-weight: 500;
    color: #333;
    padding: 15px 20px 20px;
    font-family: sans-serif;
}

.card-title{
    font-size: 20px;
    font-weight: 600;
    color:#4070f4;
    font-family: sans-serif;
    text-align: center;
}

.card-text{
    font-size: 15px;
    font-weight: 600;
    color: #333;
    font-family: sans-serif;
}

/***************************** 
GRID CONTAINER PAGES 

*****************************/
.grid-container{
    display: grid;
    grid-template-rows: repeat(3, auto);
    grid-template-columns: repeat(auto-fill, auto);
    justify-content: center;
    margin-top: 10em;
}

.grid-item{
    margin: 1rem;
}

.grid-item img{
    height: 100%;
    width: 100%;
    margin: 1rem;
    border-radius: 6px;
    object-fit: contain;
}

.info-page ul li{
    text-align: justify;
}

.background-page .info-page ul li,
.vision-page .info-page ul li{
    text-align: justify;
    margin: 1rem 4rem;
}

.organization-structure-page .info-page p{
    margin: 1rem 4rem;
}

.organization-structure-page .info-page ul li{
    text-align: center;
}

.item1{
    grid-row: 1 / 3;
}

.item2{
    grid-column: 2 / 4;
    grid-row: 1 / 4;
}

.item3{
    grid-column: span;
    grid-row: 3 / 4;
}

/********************************* 
CALENDAR PAGE 

**********************************/
.calendar{
    position: relative;
}

.calendar .box-container{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.calendar .box-container .box{
    flex: 1 1 27rem;
    padding: 2rem 3rem;
    margin: 1rem;
    height: 20em;
    max-height: 100%;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .1);
    border: .1rem solid rgba(0, 0, 0, .3);
    border-radius: 1rem;
    text-align: center;
    background: url(./images/iframe_bg.jpg)no-repeat;
    background-size: cover;
    background-position: center;
    overflow-y: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.calendar .box-container .box:hover{
    transform: scale(1.015);
    overflow-y: auto;
    scrollbar-width: none;

}

.calendar .box-container .box img{
    height: 12rem;
    width: 12rem;
    padding: 1rem;
    border-radius: 50%;
    object-fit: cover;
}

.calendar .box-container .box h3{
    font-size: 2em;
    color: #333;
    text-transform: uppercase;
}

.calendar .box-container .box ul li{
    font-size: 1.6em;
    color: rgba(73, 73, 73, 0.705);
    list-style-type: none;
    font-family: 600;
    margin-bottom: 1rem;
}

/*********************************** 
OUR CLIENTS SECTION 

***********************************/
.our-client .container .wrapper{
    width: 100%;
    max-width: 1536px;
    margin-right: 2em;
    margin-inline: auto;
    position: relative;
    height: 400px;
    margin-top: 5rem;
    overflow-x: hidden;
    mask-image: linear-gradient(
        to right,
        rgba(0, 0, 0, 0),
        rgba(0, 0, 0, 1) 20%,
        rgba(0, 0, 0, 1) 80%,
        rgba(0, 0, 0, 0)
    );
}

@keyframes scrollLeft{
    to{
        left: -200px;
    }
}

@keyframes scrollRight{
    to{
        right: -200px;
    }
}

.our-client .container .wrapper .item{
    color: #fff;
    width: 200px;
    height: 180px;
    border-radius: 4px;
    position: absolute;
    left: max(calc(200px * 8), 100%); 
    animation-name: scrollLeft;
    animation-duration: 30s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.our-client .container .wrapper .item1{
    animation-delay: calc(30s / 8 *(8 - 1) * -1);
    background-image: url(./images/kusaselihle.png);
    background-position: center;
    background-size: cover;
}

.our-client .container .wrapper .item2{
    animation-delay: calc(30s / 8 *(8 - 2) * -1);
    background-image: url(./images/vulindlelav2.png);
    background-position: center;
    background-size: cover;
}

.our-client .container .wrapper .item3{
    animation-delay: calc(30s / 8 *(8 - 3) * -1);
    background-image: url(./images/ukukhanyakude.jpg);
    background-position: center;
    background-size: cover;
    background-blend-mode: difference;
}

.our-client .container .wrapper .item4{
    animation-delay: calc(30s / 8 *(8 - 4) * -1);
    background-image: url(./images/bcxv2.png);
    background-position: center;
    background-size: contain;
}

.our-client .container .wrapper .item5{
    animation-delay: calc(30s / 8 *(8 - 5) * -1);
    background-image: url(./images/telkom.png);
    background-position: center;
    background-size: cover;
}

.our-client .container .wrapper .item6{
    animation-delay: calc(30s / 8 *(8 - 6) * -1);
    background-image: url(./images/siphosethu.png);
    background-position: center;
    background-size: cover;
}

.our-client .container .wrapper .item7{
    animation-delay: calc(30s / 8 *(8 - 7) * -1);
    background-image: url(./images/conlog.png);
    background-position: center;
    background-size: cover;
}

.our-client .container .wrapper .item8{
    animation-delay: calc(30s / 8 *(8 - 8) * -1);
    background-image: url(./images/joburgv2.png);
    background-position: center;
    background-size: cover;
}

/******************************** 
TIMER FEATURE 

********************************/
.timer_body{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    min-width: 100%;
}

#time{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

#time .circle{
    position: relative;
    width: 150px;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#time .circle svg{
    position: relative;
    width: 150px;
    height: 150px;
    transform: rotate(270deg);
}

#time .circle svg circle{
    width: 100%;
    height: 100%;
    fill: transparent;
    stroke-linecap: round;
    stroke-width: 8;
    stroke: #28282875;
    transform: translate(5px, 5px);
}

#time .circle svg circle:nth-child(2){
    stroke: rgba(0, 81, 255, 0.3);
    stroke-dasharray: 440;
}

#time div{
    position: absolute;
    text-align: center;
    color: #282828;
    font-weight: 300;
    font-size: 1.5em;
}

#time div span{
    position: absolute;
    transform: translateX(-50%) translateY(0px);
    font-size: .7em;
    text-transform: uppercase;
    font-weight: 300;
    letter-spacing: .1em;
}

#time .dots{
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    z-index: 1000;
}

#time .dots::before{
    content: '';
    position: absolute;
    top: -3px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    box-shadow: 0 0 20px black, 0 0 60px black;
    background-color: #3635a8;
}

.newYear{
    font-size: 8em;
    font-weight: 500;
    color:#fff;
    text-align: center;
    line-height: .6em;
    display: none;
}

.newYear span{
    font-size: .5em;
    font-weight: 300;
}

/**************************** 
CONTACT SECTION 

****************************/
.contact{
    display: flex;
    align-items: center;
    position: relative;
}

.contact .image img{
    width: 25vw;
}

.contact .row{
    display: flex;
    align-items: flex-end;
}

.contact .row .contact-info{
    padding: 2rem;
}

.contact .row .contact-info .box{
    padding: 1rem 0;
}

.contact .row .contact-info .box p{
    font-size: 1.7rem;
    padding: .5rem 0;
    color: #666;
    text-transform: none;
    text-align: center;
}

.contact .row .contact-info .box:last-child p{
    line-height: 1.4rem;
}

.contact .row .contact-info .box p i{
    padding-right: .5rem;
    color: var(--red);
}

iframe{
    width: 40vw;
    height: 50vh;
    margin-left: 6em;
}

/**************************** 
FOOTER 

*****************************/
footer {
    min-width: 100%;
    margin-top: 50px;
    padding: 3rem 2rem;
    color: #fff;
}
  
footer a {
    color: rgba(0, 0, 0, 0.7);
    font-size: 2rem;
    font-weight: 400;
}
  
.footer .footer-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    max-width: 1150px;
}

.footer-container .about {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 8em auto;
}

.footer-container .about h2 {
    font-size: 4em;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
    margin: 1rem auto;
    width: 90%;

}

.footer-container .about h2 span{
    background: linear-gradient(to top, transparent 0%, rgba(92, 94, 204, 0.7) 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.8;
    text-transform: uppercase;
    margin-right: 1rem;
}

.footer-container .about p span{
    font-size: 2rem;
    text-transform: uppercase;
    text-align: center;
    color: rgba(92, 94, 204, 0.7);
    margin-left: .6rem;
}

.footer-container .about P{
    font-size: 2rem;
    text-transform: uppercase;
    text-align: center;
}

.footer-container .about h2, 
.footer-container .about p{
    display: flex;
    flex-direction: row;
    justify-content: center;
    color: rgba(0, 0, 0, 0.7);
}

.footer-company-info{
    display: flex;
    justify-content: space-between;
}

.footer-company-info .box{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1em;
}

.footer-container .footer-company-info h3{
    font-size: 2rem;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.7);
}

footer .footer-copyright{
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.footer-copyright p {
    margin: 2rem auto;
    font-size: 2rem;
    font-weight: 300;
    text-align: center;
    color: rgba(0, 0, 0, 0.7);
}

/* MEDIA QUERIES */

@media screen and (max-width:1118px){
    header{
        background: rgba(22, 44, 165, 0.5);
    }

    .nav__menu{
        position: absolute;
        left: 0; top: 2.5rem;
        width: 100%;
        height: calc(100vh - 3.5rem);
        overflow: auto;
        pointer-events: none;
        opacity: 0;
        transition: top .4s, opacity .3s;
    }

    .nav__menu::-webkit-scrollbar{
        width: 0;
    }

    .nav__data{
        height: 100%;
        display: flex;
        justify-content: space-around;
        align-items: center;
        column-gap: 15rem;
    }

    .nav__list{
        background-color: var(--black-color);
        padding-top: 1rem;
        margin-top: 5.5rem;
    }

    .nav__link{
        color: var(--white-color);
        font-weight: var(--font-semi-bold);
        padding: 1.25rem 1.5rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        justify-content: center;
        transition: background-color .3s;
    }

    .nav__link:hover{
        background-color: var(--black-color-light);
    }

    .nav-close-btn{
        /* position: absolute; */
        background: url(./images/close.png)no-repeat;
        filter: var(--color-filter);
        background-size: 18px;
        background-position: center;
        width: 40px;
        height: 40px;
        top: 0; right: 2rem;
        margin: 10px;
        cursor: pointer;
    }

    .nav-menu-btn{
        background: url(./images/menu.png)no-repeat;
        filter: var(--color-filter);
        background-size: 30px;
        background-position: center;
        width: 40px;
        height: 40px;
        cursor: pointer;
        display: block;
    }

    /****************************** 
    SHOW MENU

    *******************************/
    .show-menu{
        opacity: 1;
        top: 3.5rem;
        pointer-events: initial;
    }

    /******************************* 
    SHOW ICON
  
    ********************************/
    .show-icon .nav-menu-btn{
        opacity: 0;
        /* transform: rotate(90deg); */
    }

    .show-icon .nav-close-btn{
        opacity: 1;
        /* transform: rotate(90deg); */
    }

    /****************************** 
    DROPDOWN

    *******************************/
    .dropdown__item{
        cursor: pointer;
    }

    .dropdown__arrow{
        font-size: 1.25rem;
        font-weight: initial;
        transition: transform .4s;
    }

    .dropdown__link,
    .dropdown__sublink{
        padding: 1.25rem 1.25rem 1.25rem 2.5rem;
        color: var(--white-color);
        background-color: var(--black-color-light);
        display: flex;
        align-items: center;
        justify-content: center;
        column-gap: 1.5rem;
        font-weight: var(--font-semi-bold);
        transition: background-color .3s;
    }

    .dropdown__link i,
    .dropdown__sublink i{
        font-size: 1.25rem;
        font-weight: initial;
    }

    .dropdown__link:hover,
    .dropdown__sublink:hover{
        background-color: var(--black-color);
    }

    .dropdown__menu,
    .dropdown__submenu{
        max-height: 0;
        overflow: hidden;
        transition: max-height .4s ease-out;
    }

    /****************************** 
    SHOW DROPDOWN MENU AND SUBMENU

    ******************************/
    .dropdown__item:hover .dropdown__menu,
    .dropdown__subitem:hover > .dropdown__submenu{
        max-height: 1000px;
        transition: max-height .4s ease-in;
    }

    /*******************************
     ROTATE DROPDOWN ICON 
    
    *******************************/
    .dropdown__item:hover .dropdown__arrow{
        transform: rotate(180deg);
    }

    /****************************** 
    SHOW DROPDOWN SUBMENU

    ******************************/
    .dropdown__sublink{
        background-color: var(--black-color-lighten);
    }
}

/* BREAKPOINTS */
/* FOR SMALL DEVICES */
@media screen and (max-width:340px){
    .container{
        margin-inline: 1rem;
    }

    .nav__link{
        padding-inline: 1rem;
    }
}

/* FOR LARGE DEVICES */
@media screen and (min-width:1118px){
    .container{
        margin-inline: auto;
    }

    .nav{
        height: calc(var(--header-height) + 2rem);
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .nav__toggle{
        display: none;
    }
    
    .nav__list{
        height: 100%;
        display: flex;
        column-gap: 2.5rem;
    }

    .nav__list li a{
        color: #fefefe;
    }

    .nav__list .dropdown__item div{
        color: #fefefe;
        font-size: 1.8em;
    }

    .nav__link{
        height: 100%;
        padding: 0;
        justify-content: initial;
        column-gap: .25rem;
        cursor: pointer;
    }

    .nav__link:hover{
        background-color: transparent;
    }

    .dropdown__item,
    .dropdown__subitem{
        position: relative;
    }

    .dropdown__menu li a{
        text-align: center;
        border-bottom: 1px solid #d7d7d7;
    }

    .dropdown__menu{
        max-height: initial;
        overflow: initial;
        position: absolute;
        left: 0;
        top: 6rem;
        opacity: 0;
        pointer-events: none;
        transition: opacity .3s, top .3s;
        background: rgba(22, 44, 165, 1);
        min-width: 100%;
        padding: 1rem;
    }
    
    .dropdown__submenu{
        max-height: initial;
        overflow: initial;
        position: absolute;
        left:0;
        top: 6rem;
        opacity: 0;
        pointer-events: none;
        transition: opacity .3s, top .3s;
        background: rgb(42, 144, 170);
        min-width: 100%;
        padding: 1rem;
    }

    .dropdown__link,
    .dropdown__sublink{
        padding: 1rem 4rem;
    }

    .dropdown__link,
    .dropdown__sublink{
        display: flex;
        align-items: center;
        justify-content: center;
        column-gap: 1.5rem;
    }

    /* .dropdown__subitem,
    .dropdown__link{
        padding-inline: 1rem;
        margin-top: 1.5rem;
    } */

    .dropdown__submenu{
        position: absolute;
        left: 100%;
        top: .5rem;
    }

    /* SHOW DROPDOWN MENU */
    .dropdown__item:hover .dropdown__menu{
        opacity: 1;
        top: 2rem;
        pointer-events: initial;
        transition: top .3s;
    }

    /* SHOW DROPDOWN SUBMENU */
    .dropdown__subitem:hover > .dropdown__submenu{
        opacity: 1;
        top: 0;
        pointer-events: initial;
        transition: top .3s;
    }
}

@media(max-width: 1200px){

    header .navbar{
        display: none;
    }

    html{
        font-size: 55%;
    }

    /* HEADER */

    header{
        position: fixed;
        align-items: center;
        justify-content: space-between;
        padding: 1rem 5%;
        height: 10rem;
    }
    
    /* ABOUT */

    .about .image img{
        flex-basis: 35%;
        max-width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .about .content{
        flex-basis: 50%;
    }

    /* TEACHER */

    .teacher .box-container .box{
        overflow-y: scroll;
        height: 40rem;
    }

    /* CONTACT */

    .contact .row{
        flex-flow: column;
        align-items: flex-start;
    }
}

@media screen and (max-width: 1040px){

    /******************************* 
    ATTACHMENT 
    
    *******************************/

    .attachments{
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    /******************************
     ABOUT 
     
    ******************************/

    .about {
        display: grid;
    }

    .about .image img{
        width: 100%;
        height: 100%;
        object-fit:cover;
    }

    .about .content{
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .about .content h3{
        text-align: center;
    }

    .about .content .founding{
        font-weight: 600;
    }

    .about .content p{
        line-height: 1.5em;
        text-align: center;
    }

    /**************************** 
    ABOUT FOUNDER 
    
    ****************************/

    .about-founder {
        display: grid;
    }

    .about-founder .image img{
        width: 100%;
        height: 100%;
        object-fit:cover;
    }

    .about-founder .content{
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .about-founder .content h3{
        text-align: center;
    }

    .about-founder .content .founding{
        font-weight: 600;
    }

    .about-founder .content p{
        line-height: 1.5em;
        text-align: center;
    }
}

@media(max-width: 730px){

    html{
        font-size: 50%;
    }

    /************************** 
    HOME SECTION 
    
    **************************/

    .home .content{
        text-align: center;
        transform: translateY(0);
    }

    /***************************
    H1 HEADING 

    ***************************/

    .home .content h1{
        font-size: 3rem;
    }

    .home .content h3{
        font-size: 2.5rem;
    }

    .home .content p{
        font-size: 1.5rem;
    }

    .home .image img{
        display: none;
    }
    
    .home .content h1 span,
    .home .content h1 span span{
        font-size: 5.5rem;
    }

    /*************************** 
    BACKGROUND PAGE
    
    ***************************/

    .grid-item img{
        display: none;
    }

    /*************************** 
    OUR-PROGRAM PAGE
    
    ***************************/

    .grid-container .info-page h1{
        transform: translateX(3rem);
    }

    .grid-container .info-page .program{
        margin: auto 4rem;
    }

    .grid-container .info-page .program p{
        width: 90%;
        transform: translateX(4rem);
    }

    .grid-container .info-page .program h3{
        margin-bottom: 2rem;
        text-align: center;
        transform: translateX(2rem);
    }

    .grid-container .info-page .program .border{
        border: 1px solid #666;
        transform: translateX(3rem);
        width: 100%;
        flex-direction:column;
        align-items: center;
        justify-content: center;
        gap: 1em;
        padding: 1rem;
    }

    .grid-container .info-page .program .border .first-section{
        flex-direction: column;
    }

    .grid-container .info-page .program .border .first-section .subjects:nth-child(1) .chapters:nth-child(1) h4{
        transform: translateX(-.5rem);
    }

    .grid-container .info-page .program .border .first-section .subjects .chapters h4{
        transform: translateX(-3rem);
        text-align: center;
    }

    .grid-container .info-page .program .border .second-section .subjects .chapters{
        flex-direction: column;
        justify-content: center;
    }

    .grid-container .info-page .program .border .second-section .subjects{
        margin: 3rem auto;
    }

    .grid-container .info-page .program .border .first-section .subjects:nth-child(2) li{
        transform: translateX(-3rem);
    }

    .grid-container .info-page .program .border .second-section .subjects .chapters .part{
        margin: auto 4rem;
    }

    .grid-container .info-page .program .border .first-section .subjects:nth-child(1){
        border-right: none;
    }

    .grid-container .info-page .program .border .first-section .subjects:nth-child(2){
        border-top: 1px solid #666;
        width: 100%;
        border-right: none;
        border-left: none;
        transform: translateX(0);
        transform: translateY(0);
    }

    .grid-container .info-page .program .border .first-section .subjects:nth-child(3){
        border-top: 1px solid #666;
        width: 100%;
        border-right: none;
        border-left: none;
    }

    .grid-container .info-page .program .border .first-section .subjects:nth-child(1) .chapters:nth-child(1){
        margin-bottom: 1rem;
    }

    .grid-container .info-page .program .border .first-section .subjects:nth-child(1) .chapters:nth-child(2){
        border-top:none;
        width: 100%;
        border-right: none;
        border-left: none;
    }

    /***************************** 
    TIMETABLE 
    
    *****************************/

    .timetable{
       transform: translateX(0);
       /* margin: auto 1rem; */
       width: 90%;
    }

    /**************************** 
    OUR CLIENTS 
    
    ****************************/

    .our-client{
        display: none;
    }

    /*************************** 
    FEATURES 
    
    ***************************/

    .features .box-container:first-child .box,
    .features .box-container .box,
    .features .box-container{
        flex-flow: column;
    }

    .features .box-container{
        text-align: center;
        margin-top: 5em;
    }

    .features .box-container .box{
        transform: translate(0);
        min-width: 100%;
    }

    .about .content p{
        text-align: justify;
    }

    /**************************** 
    SWIPER 
    
    ****************************/

    .swiper .swiper-wrapper .swiper-slide{
        display: flex;
    }

    .swiper .swiper-wrapper .swiper-slide p{
        position: absolute;
        color:#ffff;
        width: 70%;
        font-size: 2rem;
        background-color: rgba(0, 0, 0, .3);
        border-radius: 2rem;
        padding: 4%;
    }

    /***************************** 
    SERVICE 
    
    *****************************/

    .services .box-container .box{
        overflow: hidden;
        height: 30rem;
        flex: 1 1 30rem;
        margin: 1rem;
        border-radius: 1rem;
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
        position: relative;
        cursor: pointer;
    }

    /***************************** 
    TEACHER 
    
    *****************************/
    
    .teacher .box-container .box{
        overflow-y: scroll;
        min-height: 100%;
    }

    .teacher .box-container .box p{
        margin-top: 1em;
        font-size: 1.5em;
    }

    /**************************** 
    PRICES SECTION
    
    ****************************/

    .flex-content {
        display: grid;
        gap: 1em;
    }

    /**************************** 
    TIMER FEATURE 
    
    ****************************/

    #time{
        display: flex;
        flex-direction: column;
    }

    /**************************** 
    CONTACT 
    
    ****************************/

    .contact{
        display: grid;
    }

    .contact .row{
        flex-flow: column;
        align-items: flex-start;
    }

    .contact img{
        display: none;
    }
    
    iframe{
        width: 91vw;
        height: 60vh;
        margin-left: 0;
    }

    /**************************** 
    FOOTER 
    
    ****************************/

    .footer .box-container .box{
        margin-top: 4em;
    }

    .footer .box-container{
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .footer-container .footer-company-info{
        display: flex;
        flex-direction: column;
        gap: 4rem;
    }
}

#loadOverlay{
    display: none !important;
}