﻿/*https://www.codingnepalweb.com/responsive-card-slider-javascript/*/

.site-cmp-responsibly .card-wrapper.swiper-wrapper {
    display: flex !important;
    align-items: stretch !important;
    height: 100% !important;
}

.swiper-wrapper {
    display: flex !important;
    align-items: stretch !important;
    height: 100% !important;
}

.site-cmp-responsibly .card.swiper-slide {
    height: auto !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    min-height: 300px !important;
}

.swiper-slide {
    height: auto !important;
    align-items: center !important;
}

.site-cmp-responsibly .slide-container {
    padding: 10px 0px;
}

.site-cmp-responsibly .slide-content {
    margin: 40px 40px;
    overflow: hidden;
}

    .site-cmp-responsibly .slide-content .swiper-slide {
        background-color: #FFFFFF;
        border: 0;
        border-radius: 10px;
    }

.site-cmp-responsibly .swiper-slide .slide-content-icon {
    background-color: #F0F0F0;
    padding: 12px;
    border-radius: 50px;
    margin-right: 15px;
}

    .site-cmp-responsibly .swiper-slide .slide-content-icon img {
        width: 28px;
    }

.site-cmp-responsibly .swiper-slide .slide-content-title {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-right: 10%;
}

.site-cmp-responsibly .swiper-slide p {
    min-height: 110px;
    margin: 20px 20px 50px 10px;
    line-height: 22px;
}

.site-cmp-responsibly .swiper-slide a {
    color: #111111;
}

.site-cmp-responsibly .swiper-pagination-bullet {
    background-color: #6E93f7;
    opacity: 1;
}

.site-cmp-responsibly .swiper-pagination-bullet-active {
    background-color: #4070F4;
}

.site-cmp-responsibly .swiper-slide a {
    color: #111; /* default */
    transition: all 0.4s ease;
}

.site-cmp-responsibly .swiper-slide-active {
    background-color: #E07E27 !important;
    color: white;
    transition: all 0.4s ease;
}

    .site-cmp-responsibly .swiper-slide-active a {
        color: white !important;
        transition: all 0.4s ease;
    }

.site-cmp-responsibly .swiper-navBtn {
    display: block !important;
}

.site-cmp-responsibly .swiper-slide-button {
    margin-top: 45px;
    display: flex;
    justify-content: center;
    transition: all 0.4s ease;
}

    .site-cmp-responsibly .swiper-slide-button div {
        border-radius: 50px;
        border: 1px solid #111111;
        margin: 10px;
        width: 40px;
        height: 40px;
        display: flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        transition: all 0.4s ease;
    }

.site-cmp-responsibly .slide-nav-button {
    transition: all 0.4s ease;
}

    .site-cmp-responsibly .slide-nav-button.active {
        transition: all 0.4s ease;
        background-color: #FFFFFF;
        border: 0;
    }

    .site-cmp-responsibly .slide-nav-button:hover {
        transition: all 0.4s ease;
        background-color: #ffcb00;
        border: 0;
        border: 3px solid #ffffff;
    }

.bg-grid-line {
    background: repeating-linear-gradient( to right, transparent 0 121px, rgba(27, 27, 27, 0.6) 124px ), repeating-linear-gradient( to bottom, transparent 0 112px, rgba(27, 27, 27, 0.6) 115px )
}

.site-cmp-service .swiper-wrapper {
    margin-top: 40px;
}

.site-cmp-service-body {
    padding-bottom: 60px;
}

.site-cmp-service {
    padding: 70px 0 40px 0;
    background-color: #111111;
}

.site-cmp-service-header {
    display: flex;
    justify-content: space-between;
}

.site-cmp-service-title {
    color: #FFFFFF;
    font-size: 35px;
    width: 40%;
}

.site-cmp-service-body .card-wrapper .swiper-slide {
    border-radius: 10px;
    overflow: hidden;
    height: 240px !important;
    border: 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover; /* maintains aspect ratio while filling */
}

    .site-cmp-service-body .card-wrapper .swiper-slide::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(to top, rgba(0,0,0,5), rgba(0,0,0,0) 100%);
    }

    .site-cmp-service-body .card-wrapper .swiper-slide .card-body {
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

        .site-cmp-service-body .card-wrapper .swiper-slide .card-body .title {
            color: #ffffff;
            z-index: 21;
            width: 62%;
            line-height: 18px;
        }

.site-cmp-service-body .rounded-icon {
    background-color: #ffd800 !important;
    width: 42px;
    height: 42px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
}

.site-cmp-service .rounded-icon img {
    width: 25px !important;
}

.site-cmp-service .swiper-slide-button {
    display: none !important;
}

.slide-content-common {
}

@media screen and (max-width: 768px) {
    .site-cmp-service .swiper-slide-button {
        display: flex !important;
        margin-top: 45px;
        display: flex;
        justify-content: center;
        transition: all 0.4s ease;
    }

    .site-cmp-service .slide-container .slide-nav-button {
        transition: all 0.4s ease;
    }

        .site-cmp-service .slide-container .slide-nav-button.active {
            transition: all 0.4s ease;
            background-color: #FFCB00;
            border: 0;
        }

    .site-cmp-service .swiper-slide-button div {
        background-color: #FFFFFF;
        border-radius: 50px;
        border: 1px solid #111111;
        margin: 10px;
        width: 40px;
        height: 40px;
        display: flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        transition: all 0.4s ease;
    }

    .site-cmp-service .slide-container .slide-nav-button:hover {
        transition: all 0.4s ease;
        background-color: #fecb05;
        border: 3px solid white;
    }

    .site-cmp-responsibly .slide-container {
        padding: 40px 0px 0px 0;
    }

    .site-cmp-responsibly .swiper-slide-button {
        margin-top: 30px;
    }

    .site-cmp-responsibly .slide-content {
        margin: 0 10px;
    }

    .site-cmp-service-title {
        color: #FFFFFF;
        text-align: center;
        font-size: 24px;
        padding: 0 3px;
        width: 100%;
    }

    .site-cmp-service-header {
        display: flex;
        flex-direction: column;
        text-align: center;
    }

    .site-cmp-service-title {
        margin: 0;
    }

    .site-cmp-service-button {
        display: none;
    }

    .site-cmp-service .swiper-slide-active .rounded-icon {
        background-color: #ffffff !important;
    }
}

/*@media screen and (max-width: 520px) {
    .slide-container {
        padding: 10px 10px;
    }
}*/