/* General Styles */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
    background-color: #f9f9f9;
    color: #333;
}

h1, h2, h3 {
    color: #333;
}

/* Header Styles */
header {
    background-color: #333;
    color: #fff;
    padding: 1rem 2rem;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo img {
    height: 50px;
    max-width: 100%;
}

img {
    max-width: 400px;
    height: auto;
}

/* Float Styles for Images and Text */
.service-layout, .project-layout, .team-layout {
    overflow: hidden;
    margin-bottom: 2rem;
}

.service-image, .project-image, .team-image {
    float: left;
    width: auto;
    margin-right: 1rem;
}

.service-text, .project-text, .team-text {
    float: left;
    width: 55%;
}

.reverse .service-image, .reverse .project-image, .reverse .team-image {
    float: right;
    margin-right: 0;
    margin-left: 0rem;
}

/* Responsive Layout */
@media (max-width: 768px) {
    .service-image, .project-image, .team-image,
    .service-text, .project-text, .team-text {
        float: none;
        width: 100%;
        margin: 0 0 1rem 0;
    }
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    padding: 0;
    margin: 0;
}

.nav-links li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-links li a:hover {
    color: #00b4d8;
}

/* Dropdown Styles */
.services-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #333;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    padding: 1rem;
    min-width: 160px;
    z-index: 1;
}

.dropdown-content a {
    color: #333;
    text-decoration: none;
    display: block;
    padding: 0.5rem 0;
}

.dropdown-content a:hover {
    color: #00b4d8;
}

.services-dropdown:hover .dropdown-content {
    display: block;
}

/* Home Banner Styles */
.home-banner {
    background: url('https://cwas.es/banner-placeholder.jpg') no-repeat center center/cover;
    color: #fff;
    padding: 4rem 2rem;
    text-align: center;
}

.banner-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-button {
    background-color: #00b4d8;
    color: #fff;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #0077a3;
}

/* Services Section */
#services {
    padding: 4rem 2rem;
    background-color: #fff;
}

.service {
    margin-bottom: 2rem;
}

.service h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

/* Team Description Section */
#team-description {
    padding: 4rem 2rem;
    background-color: #f0f0f0;
}

/* Contact Section */
#contact {
    padding: 4rem 2rem;
    background-color: #fff;
}

form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

input, textarea {
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

button[type="submit"] {
    align-self: flex-start;
    cursor: pointer;
}

/* Footer Section */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 1.5rem 2rem;
    margin-top: 2rem;
}

footer p {
    margin: 0;
}

/* Responsive Styles */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        margin-top: 10px;
    }

    .dropdown-content {
        position: relative;
        width: 100%;
        box-shadow: none;
    }
}

@media (max-width: 480px) {
    .banner-content h2 {
        font-size: 1.8rem;
    }

    .cta-button {
        padding: 0.6rem 1rem;
    }
}