/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&family=Zilla+Slab:wght@400;700&display=swap');

/* General Styles */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f0f0;
}

header {
    background-color: #333;
    padding: 1em 0;
    color: #fff;
    text-align: center;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

nav ul li {
    margin: 0.5em;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

.hero {
    background: url('back.jpg') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    padding: 0 1em;
}

.hero h1 {
    font-size: 2.5em;
    margin: 0.5em 0;
}

.hero p {
    font-size: 1.2em;
    margin: 0.5em 0;
}

.btn {
    background-color: #ff6347;
    color: #fff;
    padding: 0.8em 1.5em;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1em;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #ff4500;
}

section {
    padding: 4em 1em;
    text-align: center;
}

h2 {
    font-family: 'Zilla Slab', serif;
    font-size: 2em;
    color: #333;
    margin-bottom: 0.5em;
}

.about-text {
    font-family: 'Roboto', sans-serif;
    font-size: 1.1em;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6em;
}

.about-text strong {
    font-weight: 700;
    color: #ff6347;
}

.services-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 2em 0;
    background-color: #f8f8f8;
}

.service-box {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 1em;
    width: calc(100% - 2em);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    flex: 1 1 30%;
    max-width: 30%;
}

.service-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.service-box img {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    width: 100%;
    height: auto;
}

.service-box h3 {
    font-family: 'Zilla Slab', serif;
    color: #333;
    margin: 1em 0 0.5em;
}

.service-box p {
    font-family: 'Roboto', sans-serif;
    color: #555;
    padding: 0 1em 1em;
}





footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 1em 0;
}

form input,
form textarea {
    width: 100%;
    padding: 1em;
    margin: 0.5em 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}

form button {
    width: 100%;
    padding: 1em;
    border: none;
    background-color: #ff6347;
    color: #fff;
    font-size: 1em;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

form button:hover {
    background-color: #ff4500;
}

/* Media Queries for Mobile Responsiveness */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2em;
    }

    .hero p {
        font-size: 1em;
    }

    .service-box {
        width: calc(100% - 2em);
        margin: 1em 0;
    }

    .services-container {
        padding: 1em 0;
    }
}
