html, body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
    height: 100%;
}

body {
    flex-direction: column;
    min-height: 100vh;
    background: #1E1E1E;
}
.logo {
    width: 156px;
    height: auto;
}


header {
    background: #1E1E1E;
    color: #fff;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.hero {
    height: 80vh; 
    background-image: url('../img/back.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}

.overlay {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    text-align: center;
}

.overlay h1 {
    font-size: 3em;
    margin: 0;
}

.overlay p {
    font-size: 1.5em;
    margin: 10px 0 0;
}
.offer-header {
    text-align: center;
    padding: 20px 0;
    background-color: #1E1E1E; 
}

.offer-header h2 {
    color: #fff;
    font-size: 2em;
    margin: 0;
}

.services {
    background-color: #1E1E1E;
    color: white;
    padding: 20px;
    display: flex;
    flex-wrap: wrap; 
    gap: 20px; 
    justify-content: space-between; 
}

.service-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px solid gray;
    width: calc(33.333% - 20px); 
    height: 300px; 
    box-sizing: border-box;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.service-container.visible {
    opacity: 1;
    transform: translateY(0);
}
.service-info {
    text-align: center;
    background-color: rgba(0, 0, 0, 0.5); 
    padding: 10px;
    border-radius: 5px;
    color: #fff;
    width: 80%; 
    height: 100px; 
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-info h2 {
    font-size: 1.5em;
    margin: 0;
}

.service-info p {
    font-size: 1em;
    margin: 0;
}



@media (max-width: 1200px) {
    .service-container {
        width: calc(50% - 20px); 
    }
    .logo {
        width: 120px;
    }
}

@media (max-width: 768px) {
    .service-container {
        width: calc(100% - 20px); 
    }
    .offer-header h2{
        font-size: 1.5em;
    }
    .logo {
        width: 100px;
    }
}
