body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

/* Header */
header {
    background: #003366;
    color: white;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-container img {
    max-height: 80px;
    width: auto;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 2rem;
}

nav ul li {
    display: inline;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #ffc107;
}

/* Hero Section */
#hero {
    background: #00509E;
    color: white;
    text-align: center;
    padding: 3rem 1.5rem;
}

#hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

#hero button {
    background: #FFC107;
    color: #003366;
    border: none;
    padding: 0.8rem 1.5rem;
    cursor: pointer;
    font-size: 1.2rem;
    border-radius: 5px;
    transition: background 0.3s ease;
}

#hero button:hover {
    background: #e0a800;
}

/* Services Section */
#services {
    padding: 2rem;
    background: #eaf2f8;
}


#services h2 {
    text-align: center;
    margin-bottom: 1.5rem;
}


.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}


.service {
    background: white;
    margin: 1rem 0;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}


.service:hover {
    transform: scale(1.02);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}


/* Estimates Section */
#estimates {
    padding: 2rem 1.5rem;
    background: #f4f4f4;
}

#estimates h2 {
    text-align: center;
    margin-bottom: 2rem;
}

#estimates form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#estimates form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

#estimates form input,
#estimates form textarea {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

#estimates form button {
    background: #00509E;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s ease;
}

#estimates form button:hover {
    background: #003366;
}

/* Contact Section */
#contact {
    padding: 2rem 1.5rem;
    background: #eaf2f8;
    text-align: center;
}

#contact h2 {
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

/* Footer */
footer {
    background: #003366;
    color: white;
    text-align: center;
    padding: 1.5rem;
}
html {
    scroll-behavior: smooth;
}
/* Responsive Design */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: center;
        padding: 1.5rem;
    }

    .logo-container {
        justify-content: center;
        text-align: center;
    }

    .logo-container img {
        max-height: 100px;
        margin: 0 auto;
    }

    nav ul {
        flex-direction: column;
        gap: 0.8rem;
        text-align: center;
    }

    #hero h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    #hero button {
        font-size: 1rem;
        padding: 0.7rem 1.2rem;
    }

    .services-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    #estimates {
        padding: 1.5rem;
    }

    #estimates form {
        width: 100%; 
        max-width: 100%;
        box-sizing: border-box;
        padding: 1.5rem;
        margin: 0 auto; 
    }

    #estimates form input,
    #estimates form textarea {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        margin-bottom: 1rem;
    }

    #estimates form textarea {
        resize: none;
    }


    footer {
        font-size: 0.9rem;
        padding: 1rem;
    }
}


@media (max-width: 480px) {
    .logo-container img {
        max-height: 80px;
    }

    #hero h2 {
        font-size: 1rem;
    }

    #hero button {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
    }

    .services-container {
        gap: 1rem;
    }

    #estimates form {
        width: 100%;
        padding: 0.8rem;
        margin: 0 auto; 
    }

    #estimates form input,
    #estimates form textarea {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        margin-bottom: 1rem;
    }

    #estimates form textarea {
        resize: none;
    }

    footer {
        font-size: 0.8rem;
    }
}

