@media (max-width: 1399px) {

    .hero-section,
    .story-section,
    .vision_mission_main,
    .values_main {
        padding: 65px 0;
    }

    .journey-section {
        padding-top: 65px;
    }

    .service_head_sec h3 {
        font-size: 32px;
    }

    .inn_abt_img_sec img {
        height: 380px;
    }
}


@media (max-width: 1199px) {

    .hero-section,
    .story-section,
    .vision_mission_main,
    .values_main {
        padding: 55px 0;
    }

    .journey-section {
        padding-top: 55px;
    }

    .service_head_sec h3 {
        font-size: 28px;
    }

    .inn_abt_img_sec img {
        height: 340px;
    }

    .mv-card {
        padding: 1.8rem 1.4rem;
    }

    .mv-card h5 {
        font-size: 24px;
    }

    .journey-card {
        max-width: 300px;
    }
}


@media (max-width: 991px) {

    .hero-section,
    .story-section,
    .vision_mission_main,
    .values_main {
        padding: 45px 0;
    }

    .journey-section {
        padding-top: 45px;
        padding-bottom: 35px;
    }

    .service_head_sec h3 {
        font-size: 26px;
    }

    .hero-section p {
        font-size: 15px;
        padding: 0 10px;
    }
    .details_main .row .col-lg-3:nth-child(3).rnk_sec::after{
        display: none;
    }

    .inn_abt_img_sec {
        margin-top: 25px;
    }

    .inn_abt_img_sec img {
        height: 320px;
    }

    .inn_abt_text_sec p {
        font-size: 15px;
    }


    .details_main {
        margin-top: 35px;
    }

    .rnk_sec {
        margin-bottom: 20px;
    }

    .mv-card {
        padding: 1.6rem 1.2rem;
    }

    .mv-card .icon-circle {
        width: 46px;
        height: 46px;
        margin-bottom: 20px;
    }

    .mv-card .icon-circle i {
        font-size: 42px;
    }

    .value-card {
        padding: 1.4rem 1rem;
    }
}


@media (max-width: 767px) {

    .hero-section,
    .story-section,
    .vision_mission_main,
    .values_main {
        padding: 35px 0;
    }

    .journey-section {
        padding-top: 35px;
        padding-bottom: 25px;
    }

    .service_head_sec h3 {
        font-size: 23px;
        line-height: 1.3;
    }

    .hero-section p {
        font-size: 14px;
    }

    .story-section p {
        font-size: 0.85rem;
    }

    .inn_abt_text_sec p {
        font-size: 14px;
        margin: 10px 0;
    }

    .inn_abt_img_sec img {
        height: 260px;
    }

    .details_main {
        margin-top: 25px;
    }

    .rnk_sec h3 {
        font-size: 26px;
    }


    .mv-card {
        padding: 1.6rem 1.5rem;
        margin-bottom: 15px;
    }

    .mv-card h5 {
        font-size: 21px;
    }

    .mv-card p {
        font-size: 14px;
    }

    .value-card h6 {
        font-size: 16px;
    }

    .value-card p {
        font-size: 13.5px;
    }

    .journey-card {
        max-width: 100%;
    }

    .journey-card h6 {
        font-size: 16px;
    }

    .journey-card p {
        font-size: 13.5px;
    }


    collapse to a single left-aligned column */ .timeline::before {
        left: 10px;
        transform: none;
    }

    .timeline-item,
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        width: 100%;
        left: 0;
        text-align: left;
        padding: 0 0 20px 32px;
    }

    .timeline-item:nth-child(odd) .timeline-dot,
    .timeline-item:nth-child(even) .timeline-dot {
        left: 5px;
        right: auto;
    }
}


@media (max-width: 575px) {

    .hero-section,
    .story-section,
    .vision_mission_main,
    .values_main {
        padding: 28px 0;
    }

    .journey-section {
        padding-top: 28px;
        padding-bottom: 20px;
    }

    .service_head_sec h3 {
        font-size: 20px;
    }

    .inn_abt_img_sec img {
        height: 220px;
    }

    .rnk_sec h3 {
        font-size: 22px;
    }

    .rnk_sec p {
        font-size: 13.5px;
    }

    .value-card {
        padding: 1.1rem 0.8rem;
    }

    .value-card .icon-circle {
        width: 38px;
        height: 38px;
    }

    .value-card i {
        font-size: 20px;
    }

    .journey-card {
        padding: 0.9rem 1rem;
    }

    .journey-num {
        width: 44px;
        height: 44px;
        font-size: 16px;
    }
}


@media (max-width: 400px) {

    .service_head_sec h3 {
        font-size: 18px;
    }

    .hero-section p,
    .inn_abt_text_sec p {
        font-size: 13px;
    }

    .inn_abt_img_sec img {
        height: 190px;
    }


    .values_main .col-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .value-card h6 {
        font-size: 15px;
    }

    .value-card p {
        font-size: 13px;
    }

    .journey-num {
        width: 40px;
        height: 40px;
        font-size: 15px;
    }

    .journey-card h6 {
        font-size: 15px;
    }
}