html {
    overflow-x: hidden;
}
body {
    position: relative;
}

.card-gradient {
    background: linear-gradient(135deg, #4e54c8, #8f94fb);
    /* Blue-purple gradient */
    color: white;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out;
}

.card-gradient:hover {
    transform: translateY(-5px);
}

/* Contact Popup Style Start */
.contact-popup {
    position: fixed;
    z-index: 99999;
    bottom: 70px;
    right: 30px;
}
/* Contact Popup Style End */
/* Common Style Start */
.fw-text {
    font-size: 17px;
    text-align: justify;
}

.description ul {
    list-style-type: disc;
    padding-left: 2rem;
}

.description,
.description p {
    text-align: justify;
}

.small.text-muted {
    display: none;
}

/* Common Style End */

/* Home Slider Start  */

.header-slider .content .img {
    width: 100%;
    height: 450px;
}
.header-slider .content .img img {
    width: 100%;
    height: 100%;
}

.about-section .img-box {
    width: 100%;
    height: 550px;
}
.about-section .img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    -ms-border-radius: 15px;
    -o-border-radius: 15px;
}
/* Home Slider End */

.serv-modules-section .accordion-item {
    margin-bottom: 20px;
    box-shadow: 0px 0px 2px 5px rgba(0, 0, 0, 0.05);
}

.serv-modules-section .accordion-item:not(:first-of-type) {
    border: 1px solid rgba(0, 0, 0, 0.125);
}

.serv-modules-section .accordion-button {
    border: 1px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}
.serv-modules-section .accordion-button:hover,
.serv-modules-section .accordion-button:not(.collapsed) {
    color: #fff;
    background-color: #242062;
}

.section-banner-img {
    height: 550px;
}

.benefits-section .img-box img {
    animation: slide_up_down 2s ease-in-out infinite alternate both;
}

/* Demo Section Style Start */
.demo-section .img-box {
    height: 300px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}

.demo-section .img-box:hover img {
    transform: scale(1.06);
    -webkit-transform: scale(1.06);
    -moz-transform: scale(1.06);
    -ms-transform: scale(1.06);
    -o-transform: scale(1.06);
}
.demo-section .img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.demo-section .img-box i {
    border: 5px solid red;
    width: 80px;
    height: 80px;
    line-height: 75px;
    text-align: center;
    font-size: 55px;
    color: red;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
}
/* Demo Section Style End */

/* Blog Details Page Style Start  */
.blog-details-page .blog-header-part .img-box {
    width: 100%;
    height: 350px;
}

.blog-details-page .blog-header-part .img-box img {
    height: 100%;
    width: 100%;
}

.blog-details-page .latest-post .post_item {
    margin-bottom: 20px;
}
.blog-details-page .latest-post .post_item .img-box {
    width: 30%;
    height: 65px;
    margin-right: 10px;
}
.blog-details-page .latest-post .post_item .blog-title {
    width: 70%;
}
.blog-details-page .latest-post .post_item .img-box a {
    display: inline;
}
.blog-details-page .latest-post .post_item .img-box img {
    height: 100%;
    width: 100%;
}

.blog-details-page .feature-box ul li {
    background-color: #ededed;
    font-size: 15px;
    padding: 8px;
    margin: 10px 0;
    transition: all 0.2s ease-in-out;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
}

.blog-details-page .feature-box ul li:hover {
    background-color: #262064;
    transform: scale(1.03);
    -webkit-transform: scale(1.03);
    -moz-transform: scale(1.03);
    -ms-transform: scale(1.03);
    -o-transform: scale(1.03);
}

.blog-details-page .feature-box ul li:hover a {
    color: #fff;
}
/* Blog Details Page Style End  */
.swiper-slide img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Custom Blog Card Styles */
.blog-card.style-modern {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.blog-card.style-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.card-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .card-image img {
    transform: scale(1.05);
}

.card-category {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--color-main);
    color: #fff;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
}

.card-content {
    padding: 25px;
}

.meta-info {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    color: #666;
    font-size: 0.9rem;
}

.card-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.card-title a {
    color: #2d3032;
    text-decoration: none;
    transition: color 0.3s ease;
}

.card-title a:hover {
    color: var(--color-main);
}

.card-footer {
    border-top: 1px solid #eee;
    padding-top: 15px;
    margin-top: 20px;
}

.read-more {
    color: var(--color-main);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.read-more:hover {
    gap: 12px;
    color: #2d3032;
}

.team-section .team-slider .avatar {
    width: 170px;
    height: 190px;
    margin: 0 auto;
    padding-bottom: 20px;
}

.team-section .team-slider .avatar img {
    width: 100%;
    height: 100%;
    /* border: 2px solid #262062; */
    object-fit: cover;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
}

.team-section .team-slider .info a {
    font-size: 20px;
    font-weight: bold;
}

.management-page .team-members .row {
    margin-bottom: 70px;
}
.management-page .team-members .row:nth-child(even) {
    flex-direction: row-reverse;
}
.management-page .team-members .row .img-box {
    width: 100%;
    height: 350px;
    margin: 0 auto;
    overflow: hidden;
    box-shadow: 8px 10px 8px 0px #737171;
    border-radius: 10px;
}

.management-page .team-members .row:hover img {
    transform: scale(1.08);
    -webkit-transform: scale(1.08);
    -moz-transform: scale(1.08);
    -ms-transform: scale(1.08);
    -o-transform: scale(1.08);
}
.management-page .team-members .row .img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}

.management-page .team-members .row .team-info .name,
.management-page .team-members .row .team-info .desc-short a {
    color: #242062;
    font-weight: bold;
}

.slick-dots li {
    background-color: rgb(209, 209, 209);
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    color: #fff;
    width: 15px;
    height: 15px;
}

.slick-dots li.slick-active {
    background-color: gray;
}

.management-details-page .image-content .img-box {
    height: 350px;
    width: 100%;
}

.management-details-page .image-content .img-box img {
    width: 100%;
    height: 100%;
}
.management-details-page .demo-section.management .img-box {
    height: 500px;
}

/* Client Page Style Start  */
.clients-page {
    padding: 60px 0;
}

.clients-page .img_box {
    height: 150px;
    width: 150px;
    line-height: 150px;
    border: 1px solid gray;
    margin: 10px;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
    transition: all 0.2s ease-in-out;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
}

.clients-page .img_box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.2s ease-in-out;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
}

.clients-page .img_box:hover {
    box-shadow: 5px 5px 5px 2px rgba(156, 156, 156, 0.5);
    transform: translateY(-20px);
    -webkit-transform: translateY(-20px);
    -moz-transform: translateY(-20px);
    -ms-transform: translateY(-20px);
    -o-transform: translateY(-20px);
}

.clients-page .img_box:hover img {
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
}
/* Client Page Style End  */

/* Responsive Design */
@media (max-width: 992px) {
    footer.style-1 {
        text-align: center;
    }
    footer.style-1 .content {
        padding: 40px 0;
    }
    footer.style-1 ul,
    footer.style-1 ol {
        padding: 0;
        margin: 0;
    }

    footer.style-1 .social_icons,
    footer.style-1 .foot_info li {
        justify-content: center;
    }
    .card-image {
        height: 200px;
    }

    .card-content {
        padding: 20px;
    }

    .card-title {
        font-size: 1.1rem;
    }

    .section-banner-img,
    .management-details-page .image-content .img-box {
        height: auto;
    }
    .about-section .img-box,
    .about-page.style-2 .about.style-2 .img {
        height: 260px;
    }

    .blog-details-page .blog-header-part .img-box {
        height: auto;
    }
}

@media (max-width: 768px) {
    ol,
    ul {
        padding-left: 1rem;
    }
    .team-section .team-slider .avatar {
        width: 150px;
        height: 160px;
    }
    .demo-section .img-box i {
        border: 4px solid red;
        width: 75px;
        height: 75px;
        line-height: 70px;
        font-size: 45px;
    }
    .text-wrap {
        width: 18ch;
        word-wrap: break-word;
    }

    .header-slider .content .img {
        width: 100%;
        height: 200px;
    }

    .management-details-page .demo-section.management .img-box {
        height: 250px;
    }

    .blog-card.style-modern {
        margin-bottom: 30px;
    }

    .card-image {
        height: 250px;
    }
    .ps-4 {
        padding-top: 20px;
        padding-left: 0rem !important;
    }
}

@media (max-width: 576px) {
    .card-image {
        height: 200px;
    }

    .meta-info {
        font-size: 0.85rem;
    }
}

@media (max-width: 767px) {
    .swiper-button-next,
    .swiper-button-prev {
        background: #ffffff0f;
    }
}

/* Default styles for all Swiper sliders */
.swiper-slide {
    width: auto;
    /* Let Swiper handle the width */
}

/* Mobile-specific styles for .clients-slider5 only */
@media (max-width: 767px) {
    .clients-slider5 .swiper-slide {
        width: 50% !important;
        /*width on mobile */
    }
}

@media (max-width: 767px) {
    .section-head.style-6 h2 {
        font-size: 2rem;
        /* Smaller font size for mobile */
        text-align: center;
        /* Center align text on mobile */
        margin-bottom: 0px;
    }

    .ps-4 {
        padding-top: 20px;
        padding-left: 0rem !important;
    }
}
