/* Banner */
.vc_section.banner {
    position: relative;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: cover !important;
    margin: 0;
    min-height: 560px;
}
.vc_section.banner:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.7) 2.8%, rgba(255, 255, 255, 0) 57.26%);
    display: block !important;
}
.banner .banner_content h1 {color: #000;margin-bottom: 16px !important;}
.banner .banner_content p {color: #000;margin-bottom: 30px !important;}
.banner-section {
    overflow: hidden;
}
.banner {
    position: relative;
}
.banner-bg-img {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 60px 0;
    min-height: 650px;
    max-height: 650px;
    height: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.banner-bg-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0 0 0 / 40%);
}
.banner-slider-content {
    max-width: 652px;
    position: relative;
    z-index: 2;
}
.banner-slider-content h1,
.banner-slider-content .slider-heading {
    margin-bottom: 20px;
}
.banner-slider-content p {
    margin-bottom: 30px;
}
.pagination-block {
    position: absolute;
    bottom: 60px;
    width: 100%;
    height: 40px;
}
.banner .swiper-pagination {
    position: absolute;
    text-align: center;
    margin: 0 auto;
    bottom: 12px;
}
.banner-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    display: inline-block;
    border-radius: 50%;
    background: #ffffff;
    opacity: 1;
}
.banner-pagination.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
    margin: 0 5px;
}
.banner-pagination .swiper-pagination-bullet-active {
    background: #e8252d;
}
/* End Banner */

/* About Section */
.vc_section.about_section {
    position: relative;
    top: -50px;
    padding: 0 0 50px !important;
    z-index: 2;
}
.vc_section.about_section .container {
    background-color: #e8252d;
    padding: 50px;
    border-radius: 8px;
}
.vc_section.about_section .vc_row h2 {
    text-transform: uppercase;
    margin-bottom: 24px !important;
}
.about_inner_content {
    margin-top: 50px;
}
.about_inner_content .vc_single_image-wrapper .vc_single_image-img {
    width: 34px;
    height: 34px;
}
.about_inner_content .wpb_single_image figure {
    margin-bottom: 16px;
}
.about_inner_col .wpb_wrapper {
    display: inline-block;
}
/* Product & Service Section */
.product_service {
    background-color: #1173B9;
}
.section_title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}
/* .section_title h2 {
    margin-bottom: 0;
} */
.site_card_col {
    margin-bottom: 24px;
}
.site_card {
    display: block;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}
.card_image {
    position: relative;
}
.card_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.card_content {
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: -74px;
    left: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    transition: all .5s ease-in-out;
}
.card_content h5 {
    margin-bottom: 10px;
}
.card_content::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    -webkit-transform: scaleY(1);
    transform: scaleY(1);
    -webkit-transform-origin: 50% 100%;
    transform-origin: 50% 100%;
    -webkit-transition-property: transform;
    transition-property: transform;
    -webkit-transition-duration: 0.5s;
    transition-duration: 0.5s;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
    background: rgb(0,0,0);
    background: linear-gradient(0deg, rgba(0,0,0,.8) 0%, rgba(0,0,0,0) 100%);
    opacity: 0;
}
.card_content ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}
.site_card:hover .card_content {
    bottom: 0;
    transition: all .5s ease-in-out;
}
.site_card:hover .card_content p {
    visibility: visible;
}
.site_card:hover .card_content h5, 
.site_card:hover .card_content p, 
.site_card:hover .card_content ul li p {
    z-index: 2;
    position: relative;
}
.site_card:hover .card_content::before {
    -webkit-transform: scaleY(1);
    transform: scaleY(1);
    opacity: 1;
}
.card_col {
    margin-bottom: 24px;
}
/* Product Service Section */
.product_service .vc_column_container > .vc_column-inner {
    padding: 0;
}
.product_title_row {
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
}
/* News Section */
.news_section {
    position: relative;
}
.news_section .card_content {
    bottom: -44px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, #000000 100%);
}
.news_section .card_content:before {
    display: none;
}
.news_section .vc_column_container > .vc_column-inner {
    padding: 0;
}
/* Media Query */

@media(max-width:1400px) {
    .card_content {
        bottom: -88px;
    }
    .banner-slider-content {
        padding: 0 12px;
    }
}

@media(max-width:1200px) {
    /* About Section */
    .vc_section.about_section {
        top: -40px;
        padding: 0 0 40px !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        margin: 0 20px;
    }
    .vc_section.about_section .container {
        padding: 40px;
    }
    /* Product & Service */
    .product_title_row {
        padding: 0 12px;
    }
    /* News Section */
    .news_section .card_content {
        bottom: 0;
    }
    .news_title_row {
        padding: 0 24px;
    }
    /**/
    .card_content {
        bottom: 0;
        padding: 10px;
    }
    .card_content::before {
        opacity: 1;
        z-index: -1;
    }
}
@media(max-width:991px) {
    /* Banner */
    .banner-bg-img {
        min-height: 450px;
        max-height: 450px;
    }
    .pagination-block {
        bottom: 0;
    }
    /* Banner End */

    /* About Section */
    .vc_section.about_section {
        top: 0;
        padding: 50px 0 50px !important;
    }
    .vc_section.about_section .container {
        padding: 30px;
        width: calc(100% - 24px);
    }
    .about_inner_content {
        margin-top: 40px;
    }
    
}
@media(max-width:767px) {
    /* Banner */
    .vc_section.banner {
        min-height: 460px;
    }
    .banner .banner_content {
        background-color: rgb(255 255 255 / 80%);
        padding: 20px !important;
        border-radius: 8px;
    }
    .banner .banner_content p {
        margin-bottom: 20px !important;
    }
    .banner-bg-img {
        min-height: 400px;
        max-height: 400px;
    }
    .banner-slider-content {
        padding: 0 24px;
    }
    /* Banner End */

    /* About Section */
    .vc_section.about_section {
        padding: 40px 12px 40px !important;
    }
    .vc_section.about_section .container {
        padding: 25px 20px;
        width: 100%;
        text-align: center;
    }
    .vc_section.about_section .vc_row h2 {
        text-align: center;
    }
    .about_inner_content {
        margin-top: 30px;
        display: flex;
        text-align: center;
    }
    .about_inner_col {
        margin-bottom: 20px;
    }
    /* About Section End */

    /* Common Card CSS*/
    .card_content h5 {
        margin-bottom: 6px;
    }
    /* Spacing */
    .vc_empty_space {
        height: 20px !important;
    }
    /* Product Service */
    .product_service .wpb_wrapper h2 {
        text-align: left;
        margin-bottom: 10px !important;
    }
    .product_service .wpb_wrapper .text_link  {
        text-align: right !important;
    }
}
@media(max-width:575px) {
    /* Banner Section */
    .vc_section.banner {
        min-height: 360px;
        padding: 0 !important;
    }
    .banner .banner_content h1 {
        margin-bottom: 10px !important;
    }
    .banner .banner_content p {
        margin-bottom: 15px !important;
    }
    /* About Section */
    .vc_section.about_section .container {
        padding: 25px 12px;
    }
    .vc_section.about_section .container .vc_column_container > .vc_column-inner { 
        padding: 0;
    }
    .vc_section.about_section .container .vc_column_container > .vc_column-inner .heading_six {
        font-size: 14px;
        line-height: 22px;
    }
    .site_card_col:last-child {
        margin-bottom: 0;
    }
    .card_image {
        height: 250px;
    }
    .card_col {
        padding: 0;
    }
    .product_service .vc_row {
        padding: 0;
    }
    .product_service .product_title_row {
        padding: 0 12px;
    }
    .news_section .vc_row {
        padding: 0;
    }
    .vc_section.about_section {
        text-align: center;
    }
    /* .product_service h2,
    .product_service .text_link {
        text-align: center !important;
    } */
    .product_service h2 {
        margin-bottom: 10px;
    }
    .vc_empty_space {
        height: 15px !important;
    }
    .news_section h2 {
        text-align: center;
    }
}

