.subpage-hero-content h1 {
    width: auto !important;
}

.icon-card {
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    padding: 15px;
    display: grid;
    box-shadow: var(--sh-sm);
    grid-template-columns: .5fr 1fr;
    transition: box-shadow .2s, transform .2s;
}

.icon-card .ic-icon-info {
    padding: 0px 0px 0px 5px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin-top: 0px;
}

.ic-icon img {
    width: 100%;
}

.icon-card .ic-icon {
    height: 150px;
}

.why-ffnf-image-left {
    overflow: hidden;
    position: relative;
    height: 76vh;
}

.why-ffnf-image-left img {
    object-position: 25% 54%;
    height: 100%;
    width: 100%;
    object-fit: cover;
    margin-top: 0;
}

.course-fee-img-right {
    overflow: hidden;
    position: relative;
    height: 62vh;
}

.course-fee-img-right img {
    object-fit: cover;
    margin-top: 0;
    object-position: 75% 12%;
    height: 100%;
    width: 100%;
}

.benefit-row-card {
    grid-template-rows: unset !important;
}

.benefit-row-image img {
    height: 195px;
}

.train-type-box-head-prog p {
    color: var(--gold);
    font-weight: 600;
    font-size: 16px;
    display: flex;
    flex-direction: column;
    margin-bottom: 0px;
}

.train-type-box-head-prog p i {
    font-size: 30px;
}

@media only screen and (min-width: 1551px) and (max-width: 1930px) {}

@media only screen and (min-width: 1300px) and (max-width: 1550px) {

    .course-fee-img-right img {
        height: 96%;
    }

    .icon-card {
        grid-template-columns: .5fr 1fr;
        gap: 20px;
    }

}

@media only screen and (min-width: 1340px) and (max-width: 1518px) {
    .icon-card .ic-icon {
        height: 172px;
    }

    .icon-card .ic-icon-info {
        padding-left: 0px;
    }
}

@media only screen and (min-width: 1025px) and (max-width: 1299px) {}

@media only screen and (min-width: 769px) and (max-width: 1024px) {
    .icon-card {
        grid-template-columns: 1fr;
    }

    .icon-card .ic-icon-info {
        padding: 0px;
        height: 150px;
        margin-top: 20px;
    }

    .icon-card .ic-icon {
        height: 190px;
    }

    .ic-icon img {
        width: 100%;
        object-position: 0% 72%;
    }

    .why-ffnf-image-left {
        height: auto;
        margin-bottom: 30px;
    }

    .course-fee-img-right {
        height: 60vh;
        margin-top: 20px;
    }

    .benefit-row-content {
        height: 100%;
    }

    .why-fnf-box {
        height: 100%;
    }
}

@media only screen and (max-width: 768px) {
    .mfd-fee-table-card-2 .cell-label {
        font-size: 12px;
    }

    .why-ffnf-image-left {
        height: auto;
        margin-bottom: 30px;
    }

    .course-fee-img-right {
        height: auto;
    }
}

@media only screen and (max-width: 540px) {
    .why-ffnf-image-left {
        height: 30vh;
        margin-bottom: 20px;
    }

    .course-fee-img-right {
        height: 34vh;
    }
}