.section-home{
    min-height: 35vh;
    position: relative;
}

.section-home::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('./../assets/bg-1.jpg');
    background-size: cover;
    z-index: -1; 
    transform: rotate(180deg);
}

.services {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #fff;
    font-size: 30px;
    font-weight: 700;
}

.section-services {
    background-color: #F8F8F8;
    padding-left: 300px;
    padding-right: 300px;
    padding-top: 50px;
}

.services-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 20px;
}

.service {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    background-color: #fff;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 40px;
    padding-right: 40px;
    margin-bottom: 20px;
    min-height: 20vh;
}

.service-heading {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 36px;
    color: #000;
}

.service-description {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #646464;
    margin-top: 10px;
    margin-bottom: 15px;
    line-height: 30px;
}

.service-content {
    width: calc(50% - 20px);
    padding: 20px;
}

.service-image {
    width: 50%;
}

.service-image img {
    max-width: 100%;
    height: 400px;
}

.view-more-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 700;
    height: 50px;
    width: 200px;
    background-color: #ff0336;
    margin-top: 40px;
    position: relative;
    color: #fff;
    font-size: 16px;
}

.view-more-btn .custom-icon {
    color: #000;
}

.view-more-btn:after {
    content: "";
    height: 50px;
    width: 200px;
    border: 1px solid #ff033566;
    position: absolute;
    top: -15px;
    left: 15px;
    transition: all .4s;
}

.view-more-btn:hover:after {
    top: 0;
    left: 0;
}


.animate-footer-logo {
    animation: slideInFromLeft 0.5s ease forwards;
}

.animate-footer-nav {
    animation: slideInFromBottom 1s ease forwards;
}

.animate-working-hours {
    animation: slideInFromRight 2s ease forwards;
}

.animate {
    opacity: 1;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.animate.show {
    opacity: 1;
    transform: translateY(0);
}


.social-buttons {
    margin-top: 20px;
}

.socials {
    cursor: pointer;
    font-size: 24px;
    color: #333;
    margin-right: 10px;
}

.socials:last-child {
    margin-right: 0;
}

@media only screen and (max-width: 1700px) {
    .section-services{
        padding-left: 50px;
        padding-right: 50px;
    }

    .service{
        width: 100%;
    }

    .footer{
        padding-left: 50px;
        padding-right: 50px;
    }
}

@media only screen and (max-width: 950px) {
    .animate.show {
        height: 42vh;
    }

    .service-content {
        height: 300px;
    }

    .service-heading {
        font-size: 24px;
    }

    .service-description{
        font-size: 12px;
        line-height: 20px;
        margin-top: 10px;
        margin-bottom: 0px;
    }

    .view-more-btn {
        height: 40px;
        width: 145px;
        font-size: 12px
    }
    .view-more-btn::after {
        height: 40px;
        width: 145px;
    }

    .service-image img{
        max-width: 100%;
        height: 400px;
        max-width: 110%;
        height: 307px;
    }
}

@media only screen and (max-width: 850px) {
    .section-home{
        height: 25vh;
    }

    .section-services {
        padding-left: 20px;
        padding-right: 20px;
    }

    .animate.show {
        padding: 10px;
    }

    .service-image img {
        display: none;
    }

    .service-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 700%;
        text-align: center;
        padding: 0;
        margin-bottom: 0;
    }

    .service-heading {
        text-align: center;
    }

    .animate.show {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .view-more-btn {
        height: 40px;
        width: 145px;
        font-size: 12px;
        margin-top: 0px;
        top: 10%;
        left: 5%;
    }

    .view-more-btn::after {
        display: none;
    }

    .service-description {
        line-height: 24px;
        position: relative;
    }

    .alt1{
        left: 4%;
    }

    .alt2{
        left: -1%;
    }
}

@media only screen and (max-width: 500px) {
    .section-services {
        padding-left: 10px;
        padding-right: 10px;
        padding-top: 30px;
        height: auto;
    }

    .services-container {
        margin-top: 10px;
        height: auto;
    }

    .animate.show {
        height: 450px;
    }

    .btn-center{
        position: relative;
        left: -1%;
    }
}

@media only screen and (max-width: 380px) {
    .service-description{
        line-height: 20px;
        font-size: 10px;
    }

    .view-more-btn {
        height: 35px;
        width: 125px;
        font-size: 10px;
    }

    .hamburger {
        position: relative;
        right: 6%;
    }

    .logo{
        position: relative;
        right: -50%;
        height: 50px;
    }

    .navbar{
        height: 80px;
    }

    .navbar.scrolled{
        height: 80px;
    }
}

@media only screen and (max-width: 300px) {
    .hamburger {
        position: relative;
        right: 72%;
    }

    .navbar.scrolled .hamburger{
        position: relative;
        right: 20%;
    }
}

@media only screen and (max-width: 280px) {
    .hamburger {
        position: relative;
        right: 120%;
    }

    .navbar.scrolled .hamburger{
        position: relative;
        right: 20%;
    }
}