: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;
}

.bg-senior {
    width: 265px;
    height: 100%;
    background: #FEFEFE;
    box-shadow: 0px 3px 32.2px 5px rgba(0, 0, 0, 0.05);
    border-radius: 20px;
}

.SHS {
    background-image: url('../../img/p-highschool/Group\ 146.png');
    background-size: contain;
    background-position: start center;
    background-repeat: no-repeat;
    border-radius: 30px;
}


.exam-SHS {
    height: 100%;
    background-image: url('../../img/p-highschool/Rectangle 2(1).png');
    background-size: contain;
    background-position: start center;
    background-repeat: no-repeat;
    border-radius: 30px;
}

.accredited-SHS {
    background-image: url('../../img/p-highschool/Rectangle 2(2).png');
    background-size: contain;
    background-position: start center;
    background-repeat: no-repeat;
    border-radius: 30px;
}

.activities-SHS .row>* {
    padding-right: 0;
    padding-left: 0;
}


.exam-img {
    width: 200px;
    height: 200px;
    border-radius: 40px;
    background-color: #6695A3;
}

.SHS-text p {
    position: relative;
    width: 60%;
    margin: auto;
    word-wrap: break-word;
    overflow-wrap: break-word;
    object-fit: contain;
}

.SHS-top {
    position: relative;
    top: 200px;
}

.padding-exam {
    padding: 18.5rem 8rem;
}

/* 
.padding-SHS {
    padding: 25rem 0;
} */

.SHS-top p {
    line-height: 1.3 !important;
}

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

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

.school-activities-card {
    height: 360px;
    width: 100%;
    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%;
}

.gallery-style1 .gallery-img {
    border-radius: 0 !important;
}

.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;
}

@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;
    }

    .bg-senior {
        width: 200px;
    }

    .SHS-top {
        top: 90px;
    }

    .SHS-text p {
        width: 65%;
    }

    .padding-SHS {
        padding: 7rem 0;
    }

    .exam-img {
        width: 150px;
        height: 150px;
        border-radius: 30px;
        background-color: #6695A3;
    }

    .padding-exam {
        padding: 16.5rem 8rem;
    }
}

@media (max-width: 1535px) {

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

    .padding-exam {
        padding: 17rem 7rem;
    }
}

@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;
    }

    .SHS-top {
        top: 100px;
    }

    .bg-senior {
        width: 185px;
    }

    .padding-exam {
        padding: 19.5rem 9rem;
    }
}

@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;
    }

    .bg-senior {
        width: 160px;
    }

    .padding-exam {
        padding: 23rem 9rem;
    }
}


@media (max-width: 767px) {

    .SHS-mob {
        background-image: url('../../img/p-highschool/Group 154(1).png') !important;
        background-size: contain;
        background-position: start center;
        background-repeat: no-repeat;
    }

    .fs-20 {
        font-size: 2rem !important;
    }

    .bg-senior {
        width: 270px;
    }

    .SHS-top {
        top: 190px;
    }

    .SHS-text p {
        width: 100%;
    }

    .btn-primary-blue {
        font-size: 1.6rem;
        min-width: 189px;
        min-height: 48px;
    }

    .exam-SHS-mob {
        margin-top: 20rem;
        background: linear-gradient(180deg, #E2EDF0 73.76%, rgba(130, 136, 138, 0) 85.98%);
    }

    .accredited-SHS-mob {
        background: linear-gradient(180deg, #0D2136 63.19%, rgba(0, 0, 0, 0) 76.33%);

    }

    .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;
    }

    .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;
    }
}