﻿
/* --- Services Analytical or Category page 
    Three Column TopImage With Border ---*/


/*Sub Category Cards Styles*/

.subcategories-row {
    position: relative;
    background-color: #ffffff;
    padding-top: 0px !important;
    padding-bottom:0 !important;
}

    .subcategories-row .padded-row {
        width: 70%;
        margin: 0 auto;
    }

    .subcategories-row::before {
        content: "";
        background-size: cover;
        position: absolute;
        top: 0px;
        right: 0px;
        bottom: 0px;
        left: 0px;
        opacity: 0.35;
    }

.subcategories-section-title {
    padding: 8px 0px;
    font-size: 42px;
    font-weight: bold;
    text-align: center;
    color: #002f6d;
    font-family: var(--font-noto);
    font-weight: 600;
}

.subcategory-card {
    min-height: 360px;
    width: 100%;
    max-width: 360px;
    margin: 45px auto;
    overflow: hidden;
    background-color: #ffffff;
    padding: 1.2rem !important;
}

.subcategory-card-case {
    min-height: 320px;
}

.subcategory-image {
    height: 240px;
    min-height: 240px;
    width: 100%;
    object-fit: cover;
}

.subcategory-title {
    color: #002f6d;
    font-weight: 600;
    font-size: 20px;
    text-align: center;
    margin: auto;
}

    .subcategory-title p {
        margin-bottom: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

.subcategory-card .know-more span {
    font-weight: 500;
    color: var(--primary-green);
    font-size: 18px;
    margin-right: 8px;
}

.subcategory-card .fast-fwd-logo {
    width: 18px;
}

@media (max-width: 1536px) {

    .subcategories-row .padded-row {
        width: 85%;
    }

    .subcategory-card {
        min-height: 360px;
        max-width: 360px;
        margin: 36px auto;
        overflow: hidden;
        background-color: #ffffff;
        margin-bottom:0;
    }

    .subcategory-title {
        font-size: 18px;
    }
}

@media (max-width: 1366px) {

    .subcategories-row .padded-row {
        width: 98%;
    }

    .subcategory-card {
        min-height: 360px;
        max-width: 360px;
        margin: 36px auto;
        margin-bottom:0;
    }

    .subcategory-title {
        font-size: 16px;
    }
}

@media (max-width: 1199.98px) {
    .subcategories-row .padded-row {
        width: 100%;
    }

    .subcategory-card {
        min-height: 320px;
        width: 100%;
        margin: 12px auto;
    }

    .subcategory-card-case {
        min-height: 280px;
    }

    .subcategory-image {
        height: 200px;
        min-height: 200px;
    }

    .subcategory-title {
        font-size: 16px;
    }
}

@media (max-width: 991.98px) {
    .subcategories-row .padded-row {
        width: 100%;
    }

    .subcategory-card {
        min-height: 0;
        height: auto;
        margin: 12px auto;
        padding: 0 !important;
        padding-bottom: 1.2rem !important;
    }

    .subcategory-card-case {
        min-height: unset;
        width: 100%;
    }

    .subcategory-title {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

@media (max-width: 767.98px) {

    .subcategory-card {
        height: auto;
        padding: 0 !important;
        padding-bottom: 1.2rem !important;
    }

    .subcategory-image {
        height: 220px;
    }

    .subcategory-title {
        padding-bottom: 0 !important;
        width: 100%;
        text-align: center;
    }
}
