:root {
    --color-card-media-bg: #d9d9d9;
    --color-card-bg: #f6f6f6;
}
.carousel-control-next,
.carousel-control-prev {
    background-color: transparent !important;
    border: transparent !important;
    width: fit-content !important;
    display: flex;
    margin-bottom: 1.5%;
    align-items: end !important;
    justify-content: start !important;
    opacity: 1 !important;
}

.carousel-control-next-icon,
.carousel-control-prev-icon {
    display: inline-block;
    width: 50px !important;
    height: 50px !important;
    background-repeat: no-repeat;
    background-position: 50%;
    background-size: 100% 100%;
}

.carousel-indicators .active {
    background-color: #083FA6 !important;
    border: none !important;
}

.banner-indicators {
    background-color: white !important;
    border-radius: 50px;
    justify-content: center;
    align-items: center;
    display: flex;
    margin-bottom: 2% !important;
    left: auto !important;
    margin-right: 10% !important;

}

.testimonials-indicators {
    position: relative !important;
    background-color: white !important;
    border-radius: 50px;
    width: fit-content;
}

.banner-indicators button {
    opacity: 1;
    width: 18px !important;
    height: 18px !important;
    margin: 5px;
    border-radius: 35px !important;
    background-color: #DEEAFF !important;
    border: none !important;
}

.testimonials-indicators button {
    opacity: 1;
    width: 20px !important;
    height: 20px !important;
    margin: 5px;
    border-radius: 35px !important;
    background-color: #DEEAFF !important;
    border: none !important;
}

#main_carousel .carousel-indicators [data-bs-target] {
    border-radius: 50%;
    height: 10px !important;
    width: 10px !important;
}

.programs-card {
    background-color: var(--color-card-bg);
    position: relative;
    margin: 0 0 20px 0;
    transition: all ease 0.4s;
}

.programs-card .programs-card-bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border-radius: 30px;
    opacity: 0;
    visibility: hidden;
    transform-origin: top center;
    transition: all ease 0.4s;
}

.programs-card .programs-card-bg {
    background-color: var(--vs-secondary-color);
    transform: scale(0.9) translateY(40px);
    z-index: -2;
}

.programs-card:hover .programs-card-bg {
    opacity: 1;
    visibility: visible;
}

.programs-card:hover .fc {
    color: white;
}

.programs-card-container li:nth-child(1) .programs-card:hover {
    background-color: #164F6F;
}

.programs-card-container li:nth-child(1) .programs-card-bg {
    background-color: #072434;
}

.programs-card-container li:nth-child(2) .programs-card:hover {
    background-color: #C99611;
}

.programs-card-container li:nth-child(2) .programs-card-bg {
    background-color: #FBBC0D;
}

.programs-card-container li:nth-child(3) .programs-card:hover {
    background-color: #CE38B9;
}

.programs-card-container li:nth-child(3) .programs-card-bg {
    background-color: #A43594;
}

.programs-card-container li:nth-child(4) .programs-card:hover {
    background-color: #F23249;
}

.programs-card-container li:nth-child(4) .programs-card-bg {
    background-color: #B42738;
}

.programs-card-container li:nth-child(5) .programs-card:hover {
    background-color: #75A13B;
}

.programs-card-container li:nth-child(5) .programs-card-bg {
    background-color: #88C03E;
}

.programs-card-container li:nth-child(6) .programs-card:hover {
    background-color: #1157DA;
}

.programs-card-container li:nth-child(6) .programs-card-bg {
    background-color: #083FA6;
}

.programs-card-media {
    background-color: var(--color-card-media-bg);
    width: 100%;
    height: 100%;
}

.programs-card-media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    border-radius: 20px;
}

.programs-card,
.programs-card-media,
.review-cards,
.school-activities-card {
    border-radius: 30px;
}

.programs-card div {
    line-height: 20px !important;
}

.review-cards {
    height: 177px;
    width: 177px;
}


.school-activities-card {
    height: 260px;
    border-radius: 30px;
    width: 100%;
    background-color: var(--color-card-media-bg);
}

.second-column {
    padding-top: 40px;
}

.galleries {
    height: 100% !important;
    width: 100% !important;
    object-fit: cover;
    border-radius: 30px;
}

.media-card-bg {
    background-color: var(--color-card-media-bg);
}

.testimonials-container {
    padding: 0 24rem !important;
}

.testimonials-card {
    height: 640px;
    border-radius: 32px;
}

.testimonials-card .students-picture {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 32px;
}

.testimonials-content {
    border-radius: 32px;
}

.testimonials-content {
    position: relative;
    height: 100%;
    background-image: url('../../img/p-highschool/Group\ 201.png');
    background-repeat: no-repeat;
    background-size: contain;
}

.testimonials-content-mob {
    position: relative;
    height: 100%;
    background-image: url('../../img/p-highschool/Group\ 202.png');
    background-repeat: no-repeat;
    background-size: contain;
}

.testi-comments {
    max-height: 200px;
    padding-right: 30px;
    overflow-y: auto;
}

.testi-content {
    width: 715px;
}

/* 
.testi-style1 {
    width: 600px;
} */

.testi-comments::-webkit-scrollbar {
    width: 10px;
}

.testi-comments::-webkit-scrollbar-track {
    background: transparent;
}

.testi-comments::-webkit-scrollbar-thumb {
    background: #FCBB0D;
    border-radius: 10px;
}


.polygon {
    position: absolute;
    width: 100%;
    height: 649px;
}

.polygon img {
    position: absolute;
    width: 100px;
    height: 100px;
}

.testimonials-content img {
    max-height: 140px;
    max-width: 140px;
}

.quotation-pos {
    top: -3%;
    right: -3%;
}

@media (max-width: 1600px) {
    .testi-content {
        width: 550px;
    }

    .testimonials-container {
        padding: 0 27rem !important;
    }

    .testi-comments {
        max-height: 160px;
    }

    .testimonials-content img {
        max-height: 100px;
    }

    .testimonials-card {
        height: 495px;
    }
}

@media (max-width: 1535px) {

    .testimonials-container {
        padding: 0 24rem !important;
    }
}

@media (max-width: 1500px) {
    .testi-content {
        width: 525px;
    }

    .testi-style1 {
        padding: 0 !important;
    }

    .testimonials-card {
        height: 470px;
    }
}

@media (max-width: 1400px) {
    .testi-content {
        width: 480px;
    }

    .programs-card,
    .programs-card-media,
    .review-cards,
    .school-activities-card {
        border-radius: 20px;
    }

    .testimonials-card .students-picture {
        border-radius: 25px;
    }

    .testimonials-container {
        padding: 0 28rem !important;
    }

    .testimonials-content img {
        max-height: 90px;
    }

    .testi-style1 {
        padding: 0 !important;
    }


    .testimonials-card {
        height: 430px;
    }

    .testi-comments::-webkit-scrollbar {
        width: 8px;
    }
}

@media (max-width: 1300px) {
    .testi-content {
        width: 435px;
    }

    .testi-style1 {
        padding: 0 !important;
    }


    .testimonials-card {
        height: 390px;
    }

    .testi-comments {
        max-height: 100px;
    }

}

@media (max-width: 1200px) {
    .testi-content {
        width: 295px;
    }

    .testi-comments {
        padding-right: 15px;
    }

    .testimonials-container {
        padding: 0 40rem !important;
    }

    .testimonials-content img {
        max-height: 60px;
    }

    .testi-comments {
        max-height: 90px;
    }

    .testi-style1 {
        padding: 0 !important;
    }


    .testimonials-card {
        height: 265px;
    }

    .testi-comments::-webkit-scrollbar {
        width: 5px;
    }

}

@media (max-width: 992px) {

    .school-activities-card {
        height: 180px;
    }

    .testi-content {
        width: 230px;
    }

    .testimonials-card {
        height: 210px;
    }

    .testimonials-content img {
        max-height: 50px;
    }

    .testi-style1 {
        text-align: start !important;
    }
}

@media (max-width: 767px) {

    .carousel-control-next,
    .carousel-control-prev {
        background-color: transparent !important;
        border: transparent !important;
        width: fit-content !important;
        display: flex;
        margin-bottom: 1.5%;
        align-items: end !important;
        justify-content: start !important;
        opacity: 1 !important;
    }

    .carousel-control-next-icon,
    .carousel-control-prev-icon {
        display: inline-block;
        width: 50px !important;
        height: 50px !important;
        background-repeat: no-repeat;
        background-position: 50%;
        background-size: 100% 100%;
    }

    .carousel-indicators .active {
        background-color: #083FA6 !important;
        border: none !important;
    }

    .banner-indicators {
        background-color: white !important;
        border-radius: 50px;
        justify-content: center;
        align-items: center;
        display: flex;
        margin-bottom: 2% !important;
        left: auto !important;
        margin-right: 10% !important;

    }

    .school-activities-card {
        height: 260px;
    }

    .testimonials-indicators {
        position: relative !important;
        background-color: white !important;
        border-radius: 50px;
        width: fit-content;
    }

    .banner-indicators button {
        opacity: 1;
        width: 18px !important;
        height: 18px !important;
        margin: 5px;
        border-radius: 35px !important;
        background-color: #DEEAFF !important;
        border: none !important;
    }

    .testimonials-indicators button {
        opacity: 1;
        width: 20px !important;
        height: 20px !important;
        margin: 5px;
        border-radius: 35px !important;
        background-color: #DEEAFF !important;
        border: none !important;
    }

    #main_carousel .carousel-indicators [data-bs-target] {
        border-radius: 50%;
        height: 10px !important;
        width: 10px !important;
    }

    .testi-rating {
        color: var(--yellow-color);
        font-size: 16px;
    }

    .text-white p {
        color: white;
    }

    .testi-picture {
        border-radius: 50px;
        width: 68px !important;
        height: 68px !important;
    }

    .testi-picture img {
        border-radius: 50px;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover;
    }

    .rounded-bg-blue {
        border-radius: 20px;
    }

    .testi-quote {
        position: absolute;
        right: 0;
        top: 0;
        height: 60px;
        width: 60px;
    }
}

/* width */
.custom-scrollbar::-webkit-scrollbar {
    width: 10px;
}

/* Track */
.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}

/* Handle */
.custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(252, 188, 11, 1);
    border-radius: 5px;
}

/* Handle on hover */
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: rgb(255, 196, 33);
}

.img img {
    height: 100% !important;
    object-fit: cover;
}

.custom-icon {
    font-size: 20px;
}

.gallery-style1 .gallery-img:after,
.gallery-style1 .gallery-img:before {
    background-color: rgba(8, 63, 166, 0.8) !important;
}

.gallery-style1 .gallery-btn {
    background-color: rgba(252, 188, 11, 1) !important;
}

.gallery-style1 .gallery-btn:before {
    background-color: rgba(252, 188, 11, 1) !important;
}

.gallery-style1 .gallery-btn:hover {
    color: var(--color-black) !important;
}

.gallery-style1.layout2 .gallery-btn {
    color: var(--color-black) !important;
}