h1,
h2 {
    color: var(--theme_primary);
    margin: 0;
}

.service-main {
    padding: 30px;
    padding-top: 115px;
    background-color: var(--background_secondary);
}

#service-container {
    max-width: 1700px;
    margin: auto;
}

.service-description {
    display: flex;
    flex-wrap: wrap;
    column-gap: 20px;
    justify-content: space-between;
    padding: 100px 0;
    padding-bottom: 220px;
}

.service-text h1 {
    padding-bottom: 20px;
    margin: 0;
}

.service-text>p {
    font-size: 20px;
    color: var(--normal_text);
    padding-bottom: 20px;
    margin: 0;

}

.service-text {
    width: 65%;
}

.service-img>img {
    height: 500px;
    width: 500px;
}

.service-text-responsive {
    display: none;
}

.service-wrapper {
    padding: 15px;
    margin-bottom: 40px;
    box-shadow: 0 0 10px var(--theme_primary);
    transition: all 1s;
    background: var(--background_secondary);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: space-evenly;
    row-gap: 20px;
    text-align: left;
}

.service-wrapper:nth-child(odd) {
    flex-wrap: wrap;
}

.service-wrapper:nth-child(even) {
    flex-direction: row-reverse;
    flex-wrap: wrap;
}


.service-wrapper-description {
    width: 65%;
    display: flex;
    align-items: center;
}

.service-wrapper-description p {
    color: var(--normal_text);
    font-size: 20px;
}

.service-wrapper-description h2 {
    padding-bottom: 20px;
    font-size: 28px;
    color: var(--theme_primary);
}

.service-wrapper-description>.btn-green {
    font-size: 20px;
    padding: 10px 30px;
    font-weight: 550 !important;
}

.service-wrapper-img {
    text-align: center;
    width: 25%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-wrapper-img>img {
    height: 300px;
    width: 300px;
}

/* Hover Line animation on services section */
/* .service-wrapper span {
    transition: all 0.5s;
    opacity: 0;
}

.service-wrapper span:nth-child(1) {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, transparent, var(--theme_primary));
    animation: borderAnimate 2s linear infinite;
}

@keyframes borderAnimate {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.service-wrapper span:nth-child(2) {
    position: absolute;
    top: 0;
    right: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--theme_primary));
    animation: borderAnimate2 2s linear infinite;
    animation-delay: 1s;
}

@keyframes borderAnimate2 {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(100%);
    }
}

.service-wrapper span:nth-child(3) {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to left, transparent, var(--theme_primary));
    animation: borderAnimate3 2s linear infinite;
}

@keyframes borderAnimate3 {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

.service-wrapper span:nth-child(4) {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(to top, transparent, var(--theme_primary));
    animation: borderAnimate4 2s linear infinite;
    animation-delay: 1s;
}

@keyframes borderAnimate4 {
    0% {
        transform: translateY(100%);
    }

    100% {
        transform: translateY(-100%);
    }
}

.service-wrapper span {
    opacity: 1;
} */

/* Hover Line animation on services section */
@media(max-width: 1570px) {
    .service-text {
        width: 60%;
    }
}

@media(max-width: 1380px) {
    .service-text {
        width: 50%;
    }
}

@media(max-width: 1330px) {
    .service-text>h2,
    .service-text>section,
    .service-text>a {
        display: none;
    }

    .service-text-responsive {
        width: 100%;
        display: block;
    }
}
@media(max-width: 1130px) {
    .service-img>img {
        height: 400px;
        width: 400px;
    }
    
}

@media(max-width: 940px) {
    .service-img>img {
        height: 300px;
        width: 300px;
    }

}

@media(max-width: 1300px) {
    .service-wrapper-img img {
        height: 250px;
        width: 250px;
    }
}

@media(max-width: 730px) {
    .service-description {
        padding: 70px 0;
    }

    .service-img {
        padding-bottom: 20px;
        width: 100%;
        text-align: center;
    }

    .service-text {
        width: 100%;
        text-align: left;
    }
}

@media(max-width: 360px) {
    .service-img img {
        height: 200px;
        width: 200px;
    }
}

@media(max-width: 1120px) {
    .service-wrapper-img img {
        height: 220px;
        width: 220px;
    }
}
@media(max-width: 950px) {
    .service-wrapper-img img {
        height: 200px;
        width: 200px;
    }
}
@media(max-width: 830px) {
    .service-wrapper-img img {
        height: 150px;
        width: 150px;
    }
    .service-wrapper-description {
        width: 100%;
    }
    .service-wrapper-img {
        text-align: center;
        width: 100%;
    }
}
@media(max-width: 800px) {
    .service-wrapper-img img {
        height: 100px;
        width: 100px;
    }
}
/* @media(max-width: 1050px) {
    .service-wrapper-img img {
        height: 200px;
        width: 200px;
    }

    .service-wrapper-description {
        width: 100%;
    }

    .service-wrapper-img {
        text-align: center;
        width: 100%;
    }
}
@media(max-width: 650px) {
    .service-wrapper-img img {
        height: 150px;
        width: 150px;
    }
} */