/* For Responsive Screen */


@media(max-width:768px) {

    .legacy-title {
        text-align: center;
    }

    .hero-section {
        padding: 50px 15px;
    }

    .hero-title {
        font-size: 30px;
        text-align: center;
    }

    .hero-small,
    .hero-desc,
    .hero-section p {
        text-align: center;
    }

    .grade-badge {
        display: block;
        margin: 0 auto;
    }

    .hero-img {
        max-width: 280px;
        margin-bottom: 25px;
    }

    body {
        padding-top: 88px;
    }
}

/* Responsive */
@media (max-width: 992px) {
    .stack-wrapper {
        height: 300px;
        margin-bottom: 30px;
    }

}

@media (min-width: 300px) and (max-width: 574px) {
    body {
        padding-top: 82px;
    }

    .aboutsection {
        background: #10501a;
        padding: 15px 20px !important;
        border-top-right-radius: 40px;
        border-bottom-right-radius: 40px;
        color: #fff;
        margin: 0px 80px 0px 0px !important;
    }
}


@media (min-width: 576px) and (max-width: 767px) {
    body {
        padding-top: 88px;
    }
}

@media (max-width: 767px) {
    .card-img-small {
        margin-right: 0;
    }
}

@media (min-width: 768px) and (max-width: 991px) {}


@media (min-width: 992px) and (max-width: 1199px) {}


@media (min-width: 1200px) and (max-width: 1399px) {}

@media (min-width: 1400px) {}



@media (max-width: 768px) {
    .result-number {
        font-size: 34px;
    }

    .overall-card {
        font-size: 24px;
    }

    .overall-card span {
        font-size: 38px;
    }

    .overall-card {
        display: block;
        text-align: center;
    }

    .testimonial-box {
        flex-direction: column;
        /* text-align: center; */
        padding: 25px 20px;
        gap: 0px;
    }


    .quote-icon {
        order: -2;
        font-size: 32px;
        margin-bottom: 5px;
    }


    .testimonial-img {
        order: -1;
        width: 110px;
        height: -webkit-fill-available;
        /* height: 110px; */
        /* border-radius: 50%; */
        margin-bottom: 10px;
    }

    .testimonial-text {
        font-size: 15px;
        margin: 10px 0;
    }

    .client-name {
        margin-top: 5px;
    }


    .arrow-btn {
        width: 45px !important;
        height: 45px;
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .arrow-btn {
        display: none !important;
    }
}