﻿body {
}
.item-1,
.item-2,
.item-3 {
    position: absolute;
    font-size: 2em;
    animation-duration: 20s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    min-width: 100vw;
    height: 100vh;
    background-size: cover;
    opacity: 0;
    z-index: 1;
}

.item-1 {
    animation-name: anim-1;
    background-image: url(image/banner-1.jpg);
}

.item-2 {
    animation-name: anim-2;
    background-image: url(image/banner-5.jpg);
}

.item-3 {
    animation-name: anim-3;
    background-image: url(image/banner-4-new.png);
}

@keyframes anim-1 {
    0%, 8.3% {
        left: -100%;
        opacity: 0;
    }

    8.3%,25% {
        left: 0%;
        opacity: 1;
    }

    33.33%, 100% {
        left: 110%;
        opacity: 0;
    }
}

@keyframes anim-2 {
    0%, 33.33% {
        left: -100%;
        opacity: 0;
    }

    33.63%, 58.29% {
        left: 0%;
        opacity: 1;
    }

    66.66%, 100% {
        left: 100%;
        opacity: 0;
    }
}

@keyframes anim-3 {
    0%, 66.66% {
        left: -100%;
        opacity: 0;
    }

    74.96%, 91.62% {
        left: 0%;
        opacity: 1;
    }

    100% {
        left: 110%;
        opacity: 0;
    }
}

#testi-position-dots, #grade-position-dots {
    display: none;
}

.testi.fade-out, .grade.fade-out {
    opacity: 1;
}



.see-more div {
    font-weight: bold;
    background-color: #efefef;
    border-color:#acacac;
    color: #acacac;
    color: gray;
    display: flex;
    flex-direction: row;
    column-gap: 10px;
    font-size: 14px;
    font-weight: bold;
    justify-content: center;
    align-items: center;
}

.outer .small {
    width: 25%;
}

.outer .medium {
    /*width: 30%;*/
}

.outer .large {
    width: 50%;
}

/*Testimonials*/
#testi-div-outer {
    background-color: #e7e7e7;
    display: flex;
    flex-direction: column;
    justify-content: center;
    row-gap: 40px;
    align-items: center;
    padding: 80px 0;
    width: 100%;
    flex-wrap: wrap;
    align-items: center;
    min-height: 100vh;
    box-sizing: border-box;
    justify-content: center;
    align-items: center;
    position: relative;
}

#testi-div-cover {
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    background-image: url(../image/test-bg.jpg);
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 0;
    backdrop-filter: blur(4px);
}


.p-container {
    width: 100%;
    margin: 0 auto;
    text-align: center;
    font-size: 20px;
    line-height: 32px;
}

    .p-container p {
        max-width: 600px;
        margin: 0 auto;
    }

#testi-div-outer p {
    color: white;
}

.p-container b {
    color: var(--accent-color);
}


#testi-container {
    width: 100%;
    display: flex;
    flex-direction: row;
    box-sizing: border-box;
    flex-wrap: wrap;
    column-gap: 14px !important;
    row-gap: 14px;
    max-width: 960px;
    justify-content: center;
    align-items: center;
}

.section-cover {
    background: var(--accent-color-2) !important;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    backdrop-filter: blur(8px) !important;
    opacity: .9;
}

#testi-div-outer h1 {
    color: white;
    z-index: 2;
}

#testi-div-outer .p-container {
    margin: 40px;
}

#college-row {
    margin: 60px 0;
    background: white;
    overflow-x: hidden;
}

#college-row-inner {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    column-gap: 12px;
    margin: 40px 0;
}

.college-icon {
    width: 80px;
}

    .college-icon img {
        height: auto;
        width: 100%;
    }

hr {
    max-width: 500px;
    margin: 40px auto;
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
}

.testi {
    padding: 12px;
    width: calc(33.63% - 32px);
    box-sizing: border-box;
    aspect-ratio: 1/1;
    max-height: 60vh;
    background-image: url(image/testi-placeholder.jpg);
    background-position: center center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    color: white;
    justify-content: flex-end;
    align-items: flex-end;
    position: relative;
    padding: 20px;
    opacity: 0;
    transition: 1s ease all;
    cursor: pointer;
}

    .testi .top, .testi .name {
        width: 100%;
    }

    .testi .top {
        font-weight: bold;
        text-align: center;
    }

    .testi .type {
        width: 100%;
        font-size: 16px;
        text-align: left;
        z-index: 2;
        opacity: .9;
        font-weight: normal;
    }

    .testi .name {
        font-size: 20px;
        line-height: 24px;
        font-weight: bold;
        text-align: left;
        z-index: 2;
    }

.testi-cover {
    position: absolute;
    transition: 1s ease all;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent 0%, transparent 50%, black 100%)
}

.testi .read-more {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(52, 156, 95, .7);
    background-color: rgba(34, 28, 52, .7);
    z-index: 3;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    row-gap: 12px;
    opacity: 0;
    transition: 1s ease all;
    backdrop-filter: blur(4px);
}

.testi .summary {
    letter-spacing: 1px;
    font-weight: normal;
}

.testi:hover .read-more {
    display: flex;
    border-bottom: 8px solid var(--pri-color);
    font-weight: bolder;
    opacity: 1;
}

.testi:hover .type, .testi:hover .name {
    display: none;
}

.testi:hover .read-more .type, .testi:hover .read-more .name {
    display: block;
}

.testi .read-more-button {
    text-align: left;
    padding: 0;
}
