#home-about .about-cards {
    background: rgba(255, 255, 255, 0.12);
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}

#home-about .about-btn {
    height: 0;
    transition: all 0.3s ease-in-out;
}

#home-about .about-cards.active {
    background: #000;
}

#home-about .about-cards.active .about-btn {
    height: 55px;
}

#home-about .about-content {
    background: rgba(255, 255, 255, 0.12);
    display: none;
    height: 100%;
    animation: fade .4s ease;
    position: relative;
}

#home-about .about-content.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

#home-about .about-content {
    min-height: 400px;
}

@keyframes fade {
    from {
        opacity: 0;
        transform: translateY(10px)
    }
    to {
        opacity: 1;
        transform: translateY(0)
    }
}

#home-about .images {
    position: relative;
    height: 500px;
}

#home-about .images img {
    width: 90%;
    position: absolute;
    border-radius: 12px;
    transition: all .8s ease;
}

#home-about .img-left {
    left: -10%;
    top: 0;
    transition: 1s;
    animation: fadeImageOne .6s ease;
}

#home-about .img-right {
    right: -10%;
    top: 20%;
    transition: 1s;
    animation: fadeImageTwo .6s ease;
}

@keyframes fadeImageTwo {
    from {
        right: -30%;
        opacity: 0;
    }
    to {
        right: -10%;
        opacity: 1;
    }
}

@keyframes fadeImageOne {
    from {
        left: -30%;
        opacity: 0;
    }
    to {
        left: -10%;
        opacity: 1;
    }
}

#home-about .vertical-slider-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
}

#home-about .vertical-slider {
    height: 100%;
}

#home-about .vertical-slider img {
    height: 100%;
    object-fit: contain;
    padding: 10px;
    background: #000;
    border-radius: 12px;
    transition: all .3s ease;
}

#home-about .swiper-slide {
    opacity: .7;
}

#home-about .swiper-slide-active {
    opacity: 1;
}

#home-about .swiper-slide-active img {
    scale: 1.6;
}

@media (min-width: 1400px) and (max-width: 1700px) {
    .header-right .common-input {
        max-width: 180px !important;
    }
}

@media (min-width: 570px) and (max-width: 1399px) {
    .header-right .search-form {
        display: none !important;
    }
}

.student-dashbord-scrollbar li a.active {
    background-color: var(--main-600) !important;
    color: rgb(255, 255, 255) !important;
}

.student-dashbord-scrollbar li a.active span {
    color: rgb(255, 255, 255) !important;
}


/** video-style-two **/

.auto-container{
    position:static;
    max-width:80%;
    padding:0px 15px;
    margin:0 auto;
}
.video-style-two{
    position: relative;
    padding: 113px 0px;
}

.video-style-two .bg-layer{
    position: absolute;
    left: 0px;
    top: 0px;
    width: 50%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.video-style-two .content-box{
    position: relative;
    display: block;
    padding-left: 100px;
    padding-right: 50px;
}

.video-style-two .content-box .video-btn{
    position: absolute;
    left: -65px;
    top: 50%;
    transform: translateY(-50%);
}

.video-style-two .content-box .video-btn a{
    position: relative;
    display: inline-block;
    width: 100px;
    height: 100px;
    line-height: 100px;
    text-align: center;
    font-size: 24px;
    color: #fff;
}

.video-style-two .content-box .quote-box{
    position: relative;
    display: inline-block;
    font-size: 58px;
    margin-bottom: 16px;
}

.video-style-two .content-box h2{
    position: relative;
    display: block;
    font-size: 48px;
    line-height: 58px;
    font-weight: 700;
    padding-bottom: 30px;
    margin-bottom: 32px;
}

.video-style-two .content-box h3{
    position: relative;
    display: block;
    font-size: 24px;
    line-height: 34px;
    font-weight: 700;
    margin-bottom: 5px;
}

.video-style-two .content-box .designation{
    position: relative;
    display: block;
}

.video-style-two .content-box .video-btn a{
    background: #f21c2e;
}

.video-style-two .content-box .quote-box{
    color: #f21c2e;
}

.video-style-two .content-box .designation{
    color: #f21c2e;
}
.fa-play{
    font-size:2rem;
}
.quote-box i{
    font-size:4rem;
    transform: rotate(180deg);
}

.video-style-two .icon-layer{
    position: absolute;
    top: 10%;
    right: 0;
    width: 30%;
    height: 100%;
    background-repeat: no-repeat;
    opacity: 0.04;
}

@media only screen and (max-width: 1200px) {
    .service-style-two .line-box,
    .video-style-two .icon-layer {
        display: none;
    }

    .video-style-two .content-box {
        padding-left: 50px;
        padding-right: 30px;
    }
}
@media only screen and (max-width: 991px) {
    .video-style-two .bg-layer{
        display: none;
    }
    .video-style-two .content-box .video-btn{
        position: relative;
        display: block;
        left: 0;
        transform: translateY(0%);
        margin-bottom: 25px;
    }
}
@media only screen and (max-width: 991px) {
    .video-style-two{
        padding: 70px 0 65px 0;
    }

    .video-style-two .content-box{
        padding: 0;
    }

    .video-style-two .content-box h2{
        font-size: 30px;
        line-height: 40px;
        padding-bottom: 0;
    }
}

/*Learning Path*/

.history-section{
    position: relative;
    padding: 120px 0;
}

.history-section .container{
    position: relative;
}

.history-section .container:before{
    position: absolute;
    content: '';
    top: -20px;
    bottom: -20px;
    left: 50%;
    width: 3px;
    background: #f21c2e;
    opacity: 1;
    transform: translateX(-50%);
}

.history-section .inner-box{
    position: relative;
    display: block;
    margin-bottom: 60px;
    z-index: 1;
}

.history-section .inner-box:last-child{
    margin-bottom: 0;
}

.history-section .image-box{
    position: relative;
    display: block;
}

.history-section .inner-box:nth-child(even) .image-box{
    margin-left: 70px;
    padding-left: 30px;
}

.history-section .inner-box:nth-child(odd) .image-box{
    margin-right: 70px;
    padding-right: 30px;
}

.history-section .image-box .image{
    position: relative;
    display: block;
}

.history-section .image-box .image img{
    width: 100%;
}

.history-section .image-box .link-box{
    position: absolute;
    top: 50px;
}

.history-section .inner-box:nth-child(odd) .image-box .link-box{
    right: 0;
}

.history-section .inner-box:nth-child(even) .image-box .link-box{
    left: 0;
}

.history-section .image-box .link-box a{
    position: relative;
    display: inline-block;
    width: 70px;
    height: 70px;
    line-height: 76px;
    text-align: center;
    font-size: 30px;
    color: #fff;
}

.history-section .image-box .link-box a:hover{
    background: #1c1c1c;
}

.history-section .content-box{
    position: relative;
    display: block;
    margin-top: 5px;
    padding: 0 5%;
}

.history-section .content-box .text{
    position: relative;
    padding-bottom: 27px;
    padding-top: 41px;
}

.history-section .content-box .text:before{
    position: absolute;
    content: '';
    background: #f21c2e;
    width: 1px;
    height: calc(100% + 16px);
    top: -16px;
}

.history-section .inner-box:nth-child(even) .content-box .text:before{
    left: 50px;
}

.history-section .inner-box:nth-child(odd) .content-box .text:before{
    right: 50px;
}

.history-section .inner-box:nth-child(even) .content-box .text{
    padding-left: 15%;
}

.history-section .content-box h2{
    position: relative;
    font-weight: 700;
    padding-bottom: 18px;
    border-bottom: 1px solid #f21c2e;
}

.history-section .inner-box:nth-child(even) .content-box h2{
    text-align: right;
}
.history-section .content-box p{
    max-width: 440px;
}
@media only screen and (max-width: 1200px) {

    .history-section .content-box .text:before {
        display: none;
    }

    .history-section .inner-box:nth-child(even) .content-box .text {
        padding-left: 0;
    }
}
@media only screen and (max-width: 991px) {
    .history-section .inner-box:nth-child(odd) .image-box{
        margin-right: 0;
    }

    .history-section .inner-box:nth-child(even) .image-box{
        margin-left: 0;
    }
}
@media only screen and (max-width: 767px) {

    .history-section,
    .project-section,
    .project-page-four,
    .project-details,
    .contact-style-two,
    .shop-details{
        padding: 70px 0;
    }

    .history-section .container:before {
        display: none;
    }

    .history-section .inner-box{
        margin-bottom: 50px;
        padding: 20px;
        border: 1px solid rgba(242, 28, 46, 0.5);
        border-radius: 16px;
        background: rgba(255, 255, 255, 0.02);
    }

    .history-section .inner-box:before{
        position: absolute;
        content: '';
        top: 100%;
        height: 50px;
        left: 50%;
        width: 3px;
        background: #f21c2e;
        transform: translateX(-50%);
    }

    .history-section .inner-box:last-child:before{
        display: none;
    }

    .history-section .inner-box > .row{
        display: flex;
        margin-right: 0;
        margin-left: 0;
    }

    .history-section .image-column,
    .history-section .content-column{
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
        padding-right: 0;
        padding-left: 0;
    }

    .history-section .image-column{
        order: 1 !important;
        margin-bottom: 20px;
    }

    .history-section .content-column{
        order: 2 !important;
        padding-left: 0;
    }

    .history-section .inner-box:nth-child(odd) .image-box,
    .history-section .inner-box:nth-child(even) .image-box{
        margin: 0;
        padding: 0;
    }

    .history-section .image-box .image img{
        width: 100%;
        min-height: 180px;
        object-fit: cover;
        border-radius: 12px;
    }

    .history-section .content-box{
        margin-top: 0;
        padding: 0;
    }

    .history-section .content-box .text{
        padding-top: 16px;
        padding-bottom: 0;
    }

    .history-section .content-box h2,
    .history-section .inner-box:nth-child(even) .content-box h2{
        text-align: left;
    }

    .history-section .content-box h2{
        font-size: 24px;
    }

    .history-section .content-box p{
        max-width: 100%;
        margin-bottom: 0;
    }

    .history-section .content-box .text > div{
        width: 100% !important;
        padding-top: 16px !important;
    }

    .history-section .content-box .btn{
        width: 100%;
        justify-content: center;
    }
}

@media only screen and (max-width: 900px) {
    .hero-content {
        top: 22%;
    }

    .hero{
        height: 50rem;
    }
}
