* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #f5f5f5;
}

/* Hero Section */
.hero {
    position: relative;
    height: 400px;
    background-image: url('mainlogo.png'); /* Background image for the hero section */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    padding: 40px;
}

.hero-content h1 {
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    max-width: 80%;
    white-space: nowrap;
}

/* Allow wrapping on smaller screens */
@media (max-width: 768px) {
    .hero-content h1 {
        white-space: normal;
        font-size: 28px;
    }
}

/* Services Section */
.services {
    padding: 40px;
    text-align: left;
}

.services h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
}

.services-grid {
    display: flex;
    gap: 20px;
    justify-content: space-between;
}

.service-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    width: 30%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.service-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.service-card h3 {
    font-size: 20px;
    margin: 10px 15px;
}

.service-card p {
    font-size: 14px;
    color: #666;
    margin: 10px 15px;
    line-height: 1.4;
}

/* Contact Section */
.contact {
    padding: 40px;
    text-align: center;
    background-color: #fff;
    margin: 20px 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contact h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
}

.contact p {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

#contact-form {
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 15px;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 14px;
    color: #333;
    margin-bottom: 5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
}

.form-group textarea {
    resize: vertical;
}

button[type="submit"] {
    background-color: #333;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button[type="submit"]:hover {
    background-color: #555;
}

/* Responsive design for service cards and contact form */
@media (max-width: 768px) {
    .services-grid {
        flex-direction: column;
    }
    .service-card {
        width: 100%;
    }
    .contact {
        margin: 20px;
    }
}