
  @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500&display=swap');

html{
    width: fit-content;
    scroll-behavior: smooth;
    overflow-x: hidden;
    background-color:ghostwhite;
}
*{
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;

}
header{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    position: fixed;
    top:0;
    right: 0;
    left: 0;
    background-color: rgba(236,50,45,255);
    height: 7%;
    align-items: center;
    z-index: 1;

}
header a{
    color: whitesmoke;
    position: relative;
    text-decoration: none;
}
header a::after{
    content: '';
    display: block;
    width: 100%;
    height: 4px;
    background-color: #ffffff;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
    
}
header a:hover::after{
    transform: scaleX(1);
}
.slideshow{
    margin-top: 40px;
    height: 600px;
    width: 100%;
    overflow: hidden;
    display: flex;
    z-index: 0;
    margin-top: 3.4%;
    
    
}
.slideshow .images{
    width: 100%;
    height: 100%;

}
.images img{
    width: 100%;
    height: 100%;


}

footer{
    background-color: rgba(249, 187, 38,0.9);
    display: flex;
    flex-direction: row;
    padding: 2%;
    margin: 0;
    justify-content: space-around;
    text-align: center;
    align-items: center;
    
}
#aboutMe{
    margin-top: 5%;
    padding: 2%;
    border-radius: 20px;
}
.maps{
    width: 50%;
    height: 10%;
}
footer a{
    color: whitesmoke;
}
.subtitle{
    text-align: center;
    font-size: 1.8rem;
    position: relative;
    text-decoration: none;
}
.subtitle::after{
    content: '';
    display: block;
    width: 100%;
    height: 5px;
    background-color: #f8b22a;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.5s ease;
}

.subtitle:hover::after{
    transform: scaleX(0.6);
}
.ourServices{
    display: grid;
    grid-template: 38% 38% 38% / 30% 30% 30%;
    justify-content: center;
    gap: 2%;    
    border-radius: 20px;
}
.ourPartners img{
    width: 15%;
    height: auto;
    display: inline;
    height: 10%;
}
.ourPartners{
    display: flex;
    flex-direction: row;
    justify-content: center;
}
.removeBg{
    mix-blend-mode:multiply;
}
.ourServices div{
    background-color: rgba(242,107,43,0.8);
    padding: 4%;
    border-radius: 20px;
}
footer h3{
    text-align: center;
}
.movingImages{
    z-index: 1;
}

.card{
    position: absolute;
    width: 30%;
    top:60%;
    perspective: 500px;
}
.content{
    position: absolute;
    width: 100%;
    transition: transform 1s;
    transform-style: preserve-3d;
}
.card:hover .content{
    transform: rotateY(180deg);
    transition: transform 0.5s;
}

.front, .back{
    position: absolute;
    height: 100%;
    width: 100%;
    backface-visibility: hidden;
}
.back{
    background-color: yellow;
    color: red;
    transform: rotateY(180deg);
}

@media screen and (max-width:800px) {
    body{
        overflow-x: hidden;
    }
    header{
        display: flex;
        flex-direction: column;
        height: fit-content;
        width: 100%;
        padding: 5%;
    }
    .ourServices{
        display: flex;
        flex-direction: column;
        
    }
    .slideshow{
        height: auto;
        width: 100%;
        overflow: hidden;
        display: flex;
        position: relative;
    }
    .slideshow .images{
        width: 100%;
        height: 100%;
        margin-top: 37%;

    }
    .images img{
        width: 100%;
        height: 100%;
        
    }
    .ourServices div{
        margin: 2%;
    }
    footer{
        display: flex;
        flex-direction: column;
        width: 100%;
        align-items: center;
        justify-items: center;
    }
    
    iframe{
        width:280px;
        
    }
    .ourPartners img{
        width: 40%;
        height: auto;
        display: inline;
    }
    .ourPartners{
        margin-bottom: 2%;
    }
}
