@import url('https://fonts.googleapis.com/css2?family=Bitter:ital,wght@0,100..900;1,100..900&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Gabarito:wght@400..900&display=swap');

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Gabarito", sans-serif;
}

p {
    font-family: "Bitter", serif;
    text-align: justify;
}

.services-banner-image {
    background-image: url(./asstes/img/banner-img-14.png);
    height: 80vh;
    width: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.services-banner-image-overlay {
    background-color: rgba(0, 0, 0, 0.377);
    height: 80vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: center;
}

.service-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0px 0px 5px 2.5px #141622;
    transition: transform 0.3s ease;
    
}

.service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
    box-shadow: 0px 0px 5px 2.5px #efcc4e;
}

.service-card:hover img {
    transform: scale(1.1);
    box-shadow: 0px 0px 5px 2.5px #efcc4e;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.65);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
    text-align: center;
}

.service-card:hover .overlay {
    opacity: 1;
    
}

.overlay h3 {
    font-size: 30px;
    margin-bottom: 10px;
    color: #efcc4e;
    
}

.overlay p {
    font-size: 0.95rem;
    
}