.check_this {
    position: relative;
}

.card {
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
}

.card-body {
    padding: 1rem;
}

.offer_img {
    width: 100%;
    height: 100%;
    border-top-left-radius: 0.5rem;
    border-bottom-left-radius: 0.5rem;
}

.card_heading {
    font-size: 16px;
    font-weight: 700;
}

.card_paragraph {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.card .stretched-link {
    font-size: 16px;
    font-weight: 700;
    color: #dc3545;
    text-decoration: none;
}

@media (max-width: 767.98px) {
    .card .row {
        flex-direction: row;
    }

    .card .col-4 {
        max-width: 100%;
    }
}

@media (min-width: 768px) {
    .card .row {
        flex-direction: row;
    }

    .card .col-4 {
        max-width: 33.333333%;
    }

    .card .col-8 {
        max-width: 66.666667%;
    }
}

/* Optional: if you want to remove the space between the image and text */
.card .row.no-gutters {
    margin-right: 0;
    margin-left: 0;
}

.card .row.no-gutters > [class^="col-"],
.card .row.no-gutters > [class*=" col-"] {
    padding-right: 0;
    padding-left: 0;
}

.bg-gradient-service {
    background-image: linear-gradient(
        109.6deg,
        rgb(162, 2, 63) 11.2%,
        rgb(231, 62, 68) 53.6%,
        rgb(255, 129, 79) 91.1%
    );
}

/* Online Banking Card Styles */
.online_banking_card_p {
    font-size: 14px;
    line-height: 20px;
    padding: 0 0.5rem 0.5rem;
}

.banking_card {
    background-color: #ffffff;
    border-radius: 8px;
    /* box-shadow: 0 8px 12px 0 rgba(0,0,0,0.06); */
}

.online_banking_card_heading {
    font-size: 16px;
    font-weight: bold !important;
    padding: 2rem 0.5rem 0.5rem;
}

.tp-process-counter-icon span {
    width: 33px;
    height: 33px;
    line-height: 30px;
    text-align: center;
    display: inline-block;
    background: #ebd8d8;
    border-radius: 50%;
    margin-right: 12px;
}

.tp-process-counter-icon span i {
    font-size: 15px;
    font-style: normal;
    background: radial-gradient(
        circle at 81.9% 53.5%,
        rgb(173, 53, 53) 16.3%,
        rgb(240, 60, 60) 100.2%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tp-service-details-box-2 {
    display: flex;
    flex-direction: column;
}

.tp-service-details-box-content {
    flex: 1;
}

@media (max-width: 767.98px) {
    .tp-service-details-box-2 {
        padding-bottom: 1rem;
    }

    .tp-service-details-box-content {
        padding-bottom: 0;
    }
}

.order-md-12 {
    order: 12;
}

/* Media Queries */
@media (max-width: 1199px) {
    /* .tp-service-details-box-2 {
        flex-wrap: wrap;
    } */
    .banking_heading {
        font-size: 15px;
        font-weight: 700;
        letter-spacing: 0px;
    }

    .text_paragraph {
        font-size: 1rem;
        letter-spacing: 0px;
        line-height: 20px;
        font-weight: 300;
    }
}

@media (min-width: 1200px) and (max-width: 1399px),
    (min-width: 912px) and (max-width: 1199px) {
    .tp-service-details-box-content {
        margin-right: 20px;
    }

    .banking_heading,
    .text_paragraph {
        font-size: 1rem;
        line-height: 1.625rem;
        font-weight: 600;
    }

    .offer_img {
        width: 124px;
        height: 140px;
    }

    .tp-main-menu-content-2 {
        justify-content: start;
    }
}

/* @media (min-width:990px) and (max-width: 1279px) {
    .swiper-slide {
        height: 30vw;
    }
} */

@media (min-width: 319px) and (max-width: 926px) {
    .check_this {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .custom_banking_img {
        position: relative;
        bottom: 0;
        padding: 0;
    }

    .tp-hero-subtitle {
        font-size: 18px;
        font-weight: 700;
        color: var(--tp-common-red);
        margin-bottom: 10px;
        padding-top: 20px;
    }

    .tp-hero-title {
        font-size: 24px;
        font-weight: 700;
        padding: 0px;
        margin-bottom: 10px;
    }

    .tp-hero-title-wrapper p {
        font-size: 20px;
        font-weight: 300;
        padding: 0px;
        margin-top: 0px;
    }

    .my_gutter {
        padding-right: 0px;
    }
}

@media screen and (max-width: 767px) {
    .tp-header-logo a img {
        width: 150px;
        margin-left: 0px;
        padding-left: 0px;
    }
}

@media screen and (max-width: 1199px) {
    .tp-header-logo a img {
        width: 200px;
        margin-left: 0px;
        padding-left: 0px;
    }
}

@media screen and (min-width: 1200px) {
    .tp-header-logo a img {
        width: 250px;
        margin-left: 0px;
        padding-left: 0px;
    }
}

@media (min-width: 992px) {
    .tp-hero-active .swiper-slide {
        background-size: cover;
        background-repeat: no-repeat;
        background-attachment: fixed;
        height: 28vw;
    }
}

@media (min-width: 1280px) {
    .tp-hero-active .swiper-slide {
        background-size: cover;
        background-repeat: no-repeat;
        background-attachment: fixed;
        height: 24vw;
    }

    .tp-service-active {
        margin-top: 20px;
    }

    .tp-hero-title {
        font-size: 2rem;
        font-weight: 600;
        line-height: 3rem;
    }

    .tp-hero-title-wrapper p {
        font-size: 1rem;
        font-weight: 400;
    }

    .tp-hero-bg {
        height: 39.599999999999994rem;
    }

    .slider_content {
        padding-top: 3rem;
    }

    /* .tp-hero-content{
        position: absolute;
        top: 35%;
        left: 30%;
        transform: translate(-50%, -50%);
    } */
    .tp-hero-subtitle {
        font-size: 18px;
        font-weight: 700;
        color: var(--tp-common-red);
    }
}

@media (min-width: 750px) and (max-width: 1200px) {
    .tp-hero-active .swiper-slide {
        background-size: contain !important;
        /* padding-top: 10px; */
        background-repeat: no-repeat;
    }

    .tp-hero-subtitle {
        font-size: 20px;
        font-weight: 600;
        color: var(--tp-common-red);
    }

    .tp-hero-title {
        font-size: 32px;
        font-weight: 600;
    }

    .tp-hero-title-wrapper p {
        font-size: 24px;
        font-weight: 300;
    }
}

/* @media (min-width: 576px) and (max-width: 767px),
(max-width: 575px) {
    .swiper-slide-custom {
        width: 70% !important;
        margin-left: 132px !important;
        margin-right: -103px !important;
        padding: 0px !important;
    }

    .tp-hero-active .swiper-slide {
        padding-top: 20px;
    }
} */

@media screen and (min-width: 220px) and (max-width: 991px) {
    .tp-hero-bg {
        display: none;
    }
}

@media screen and (min-width: 1200px) {
    .tp-hero-bg {
        display: inline-flex;
    }
}

@media (min-width: 768px) and (max-width: 1280px) {
    .check_this {
        display: flex;
        justify-content: flex-end;
        align-items: flex-end;
    }

    .custom_banking_img {
        position: absolute;
        bottom: 0;
        padding: 0;
    }

    .tp-hero-title-wrapper {
        padding-top: 0px;
        margin-top: 1rem;
    }

    .tp-hero-subtitle {
        font-size: 18px;
        font-weight: 700;
        color: var(--tp-common-red);
        margin-bottom: 10px;
        margin-top: 0px;
        padding-top: 0px;
    }

    .tp-hero-title {
        font-size: 24px;
        font-weight: 700;
        padding: 0px;
        margin-bottom: 10px;
    }

    .tp-hero-title-wrapper p {
        font-size: 20px;
        font-weight: 300;
        padding: 0px;
        margin-top: 0px;
    }

    .offer_img {
        width: 124px;
        height: 140px;
    }

    /* .swiper-slide {
        padding-top: 110px;
        padding-bottom: 90px;
    } */
}

@media (min-width: 1281px) {
    .check_this {
        display: flex;
        justify-content: flex-end;
        align-items: flex-end;
    }

    .custom_banking_img {
        position: absolute;
        bottom: 0;
        padding: 0;
    }
}

.card_paragraph {
    font-size: 16px;
    font-weight: 300;
}

.stretched-link {
    font-size: 20px;
    font-weight: 700;
}

.card {
    border: none;
    box-shadow: 0 8px 12px 0 rgba(0, 0, 0, 0.06);
}

/* Service Details Styles */
.tp-service-details-wrapper {
    display: flex;
}

.card-img {
    width: 475px;
    height: 200px;
}

.tp-service-details-area {
    padding: 0 16px;
    height: 500px;
}

/* Media Query Styles (adjust as needed) */
@media (min-width: 1200px) and (max-width: 1400px),
    (min-width: 912px) and (max-width: 1199px) {
    .tp-service-details-box-content {
        margin-right: 20px;
    }

    .banking_heading {
        font-size: 16px;
        letter-spacing: -1px;
    }

    .text_paragraph {
        font-size: 14px;
        line-height: 1.625rem;
        font-weight: 600;
    }

    .banking_paragraph {
        font-size: 14px;
        line-height: 1.2rem;
        font-weight: 300;
    }

    .offer_img {
        width: 124px;
        height: 140px;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .offer_img {
        width: 124px;
        height: 140px;
    }

    /* .swiper-slide {
        padding-top: 110px;
        padding-bottom: 90px;
    } */
    /* .tp-header-logo {
        width: 345px;
    } */
}

.icon-circle {
    background-color: #ffe5e5;
    color: #f00;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.img-fluid.w-100.h-100 {
    object-fit: cover;
    height: 100%;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 767.98px) {
    .icon-circle {
        margin-bottom: 0.5rem;
        margin-right: 0;
        width: 40px;
        height: 40px;
    }

    .card-body {
        padding: 1rem;
    }
}

@media (min-width: 768px) {
    .icon-circle {
        margin-right: 1rem;
    }
}

.card-title {
    font-size: 18px;
    font-weight: 600;
    padding-top: 5px;
}

.card-text {
    font-size: 16px;
    font-weight: 300;
    padding-top: 5px;
    line-height: 24px;
}

.tp-service-item-wrapper {
    width: 100%;
    /* Ensure it scales */
    max-width: 100%;
    /* Prevent it from exceeding its parent */
}

@media (max-width: 576px) {
    .tp-service-item-thumb,
    .tp-blog-item-content-3 {
        width: auto;
        /* Adjust according to your layout */
        margin: 0 auto;
        /* Center align if necessary */
    }
}

@media (max-width: 991px) {
    .tp-footer-widget-social {
        text-align: center;
        margin-top: 2rem;
    }

    .tp-footer-logo {
        text-align: center;
    }
}

@media (max-width: 576px) {
    /* .footer_middle {
        text-align: center;
    } */

    .tp-footer-copyright-inner {
        text-align: center;
    }
}

@media (min-width: 767px) and (max-width: 991px) {
    .slider-content {
        min-height: 650px;
    }
}

@media (max-width: 767px) {
    .tp-service-details-area .row {
        --bs-gutter-x: 0;
    }

    .tp-service-details-area .container {
        padding-left: 0;
        padding-right: 0;
    }
    .tp-service-area .row {
        margin-left: 5px;
    }
}
@media (min-width: 1200px) {
    .card-title{

        padding-top: 30px;
    }
    .card-text {
        font-size: 16px;
        font-weight: 300;
        padding-top: 5px;
        line-height: 25px;
    }
}
