/* start main-section */

.bg-section {
    background-image: url('./../../images/school background.webp');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    min-height: 400px;
    height: 400px;
}

.main-section .text {
    width: 50%;
}
.main-section{
    margin-top:178px
}
@media (max-width: 768px) {
    .main-section .text {
        width: 100%;
    }
}

.main-section .about-img {
    width: 100%;
    height: 400px;
    object-fit: contain;
}

/* start button-animation-text  */
.button-animation-text {
    margin: 0;
    height: auto;
    background: transparent;
    padding: 0;
    border: none;
    cursor: pointer;
}

/* button styling */
.button-animation-text {
    --border-right: 6px;
    --text-stroke-color: var(--sec-site);
    --animation-color: var(--main-site);
    --fs-size: 2em;
    letter-spacing: 3px;
    text-decoration: none;
    font-size: var(--fs-size);
    position: relative;
    color: transparent;
    -webkit-text-stroke: 1px var(--text-stroke-color);
    white-space: nowrap;
}

@media (max-width: 768px) {
    .button-animation-text {
        --fs-size: 1.3em;
    }
}

/* this is the text, when you hover on button */
.hover-text {
    white-space: nowrap;
    position: absolute;
    box-sizing: border-box;
    content: attr(data-text);
    color: var(--animation-color);
    width: 0%;
    inset: 0;
    border-right: var(--border-right) solid var(--animation-color);
    border-radius: 4px;
    overflow: hidden;
    transition: 1s;
    -webkit-text-stroke: 1px var(--animation-color);
    animation: animation-text 5s infinite alternate;
}

/* animation */
@keyframes animation-text {
    0% {
        width: 00%;
        filter: drop-shadow(0 0 0 white);
    }

    100% {
        width: 100%;
        filter: drop-shadow(0 var(--animation-color) 23px 0);
    }
}


/* end button-animation-text  */
/* end main-section */

.imgs{
    direction: ltr !important;
}

/* start gallary */
/* .gallary .icon,
.admissions-process .icon,
.opinions .icon {
    position: relative;
    display: inline-flex;
    width: 40px;
    height: 40px;
}

.gallary .icon::after,
.admissions-process .icon::after,
.opinions .icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--main-site);
    border-radius: 50%;
    top: 0;
    left: 0;
}

.gallary .icon-img,
.admissions-process .icon-img,
.opinions .icon-img {
    width: 40px;
    height: 40px;
    aspect-ratio: 1/1;
    object-fit: contain;
    z-index: 2;
}

.gallary .imgs img,
.admissions-process .imgs img {
    width: 100%;
    height: 300px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 5px;

} */

/* end book */
/* .book {
    position: relative;
    width: 100%;
    height: 300px;
    background-color: var(--sec-site);
    background-image: url('./../../images/Rectangle 107.webp');
    background-size: cover;
    background-position: center;
    -webkit-transform: preserve-3d;
    -ms-transform: preserve-3d;
    transform: preserve-3d;
    -webkit-perspective: 2000px;
    perspective: 2000px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    color: #ffffff;
}

.cover {
    top: 0;
    position: absolute;
    background-image: url(./../../images/group.png);
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    cursor: pointer;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
    -webkit-transform-origin: 0;
    -ms-transform-origin: 0;
    transform-origin: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.book:hover .cover {
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
    -webkit-transform: rotatey(-80deg);
    -ms-transform: rotatey(-80deg);
    transform: rotatey(-80deg);
}

.book p {
    font-size: 18px;
    text-align: center;
} */


/* start gallary */
.gallary .icon,
.admissions-process .icon,
.opinions .icon {
    position: relative;
    display: inline-flex;
    width: 40px;
    height: 40px;
}

.gallary .icon::after,
.admissions-process .icon::after,
.opinions .icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--main-site);
    border-radius: 50%;
    top: 0;
    left: 0;
}

.gallary .icon-img,
.admissions-process .icon-img,
.opinions .icon-img {
    width: 40px;
    height: 40px;
    aspect-ratio: 1/1;
    object-fit: contain;
    z-index: 2;
}

.gallary .imgs img,
.admissions-process .imgs img {
    width: 100%;
    height: 300px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 5px;

}

/* end book */
.gallary_desc {
    position: absolute;

    top: 50%;
    font-size: 18px;
    text-align: center;
    z-index: 2;
    color: #fff;
    visibility: hidden;
    transition: ease-out .5s;

}

.btn_circ {
    position: absolute;
    top: 82%;
    right: 11px;
    color: #fff !important;
    transform: rotate(145deg);
    z-index: 2;
    display: none!important;

    transition:ease-out .2s !important;

}

.btn_circ i {
    font-size: 30px;
    transition: 1s;

}

.cover:hover .gallary_desc,
.cover:hover .btn_circ {
    visibility: visible !important;

    display: block!important;

}

.cover:hover .layer {
    width: 100%;
    height: 100%;
    background-color: #00000073;
}

.layer {
    position: absolute;
    bottom: 0;
    width: 0;
    height: 0;
    background-color: transparent;
    transition: 1s;
    right: 0;
}

/* end book */
/* end gallary */
