.solar-btn a:hover {
    color: #fff !important
}

.bi-arrow-up-right::before {
    color: #fff
}

.f_pro_item:hover .bi-arrow-up-right::before {
    color: #3aa9e1
}

.about-content-discription .solar-btn {
    margin-top: 30px
}

.about-content-discription p {
    margin: 0
}

.service-thumb>img {
    width: 100%;
    height: 321px;
    border-radius: 10px;
    object-fit: cover
}

.home_h5_swiper {
    display: none;
}

@media screen and (max-width:1366px) {
    .about-section .col-xl-6 {
        flex: 0 0 100%;
        max-width: 100%
    }

    .about-thumb {
        margin-bottom: 50px
    }

    .counter-section .container .col-md-3 {
        width: 20%
    }

    .counter-section .container .row {
        justify-content: center
    }

    .counter-single-box .tit2,
    .counter-single-box .tit2 span {
        font-size: 30px
    }

    .service-text .tit1 a {
        font-size: 20px;
    }

    .service-text .desc {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 4;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

@media screen and (max-width:950px) {
    .counter-section .container .col-md-3 {
        width: 100%
    }

    .service-text .desc {
        -webkit-line-clamp: unset;
    }

    .home_pc_swiper {
        display: none !important;
    }

    .home_h5_swiper {
        display: block;
        padding-bottom: 85%;
    }
}

@media screen and (min-width:951px) {
    .cer_swiper {
        width: 100%
    }

    .cer_swiper .swiper-wrapper {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        transform: none !important
    }

    .cer_swiper .swiper-slide {
        width: calc((100% - 60px) / 4) !important;
        margin-right: 20px !important;
        margin-bottom: 20px !important;
        height: auto !important
    }

    .cer_swiper .swiper-slide:nth-child(4n) {
        margin-right: 0 !important
    }
}

.cer-image-clickable {
    border-radius: 10px;
    transition: opacity 0.3s ease
}

.cer-image-clickable:hover {
    opacity: 0.8
}

.cer-image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease
}

.cer-image-modal.active {
    display: block;
    opacity: 1
}

.cer-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    cursor: pointer
}

.cer-modal-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 80px;
    box-sizing: border-box
}

.cer-modal-image-container {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    align-items: center;
    justify-content: center
}

.cer-modal-image-container img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5)
}

.cer-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: #fff;
    font-size: 32px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10000;
    line-height: 1;
    padding: 0
}

.cer-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.8);
    transform: rotate(90deg)
}

.cer-modal-prev,
.cer-modal-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: #fff;
    font-size: 40px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10000;
    line-height: 1;
    padding: 0;
    user-select: none
}

.cer-modal-prev {
    left: 20px
}

.cer-modal-next {
    right: 20px
}

.cer-modal-prev:hover,
.cer-modal-next:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-50%) scale(1.1)
}

.cer-modal-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 18px;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 20px;
    border-radius: 20px;
    z-index: 10000
}

@media screen and (max-width:768px) {
    .cer-modal-content {
        padding: 60px 20px 80px
    }

    .cer-modal-prev,
    .cer-modal-next {
        width: 50px;
        height: 50px;
        font-size: 30px
    }

    .cer-modal-prev {
        left: 10px
    }

    .cer-modal-next {
        right: 10px
    }

    .cer-modal-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 24px
    }

    .cer-modal-counter {
        bottom: 20px;
        font-size: 16px;
        padding: 6px 16px
    }

    .cer-modal-image-container {
        max-width: 95%
    }

    .cer-modal-image-container img {
        max-height: 85vh
    }
}