body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

header {
    background: #2d6a4f;
    color: white;
    padding: 15px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo {
    width: 80px;
    margin-right: 15px;
}

nav ul {
    list-style: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.banner {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.slides {
    display: flex;
    width: 300%;
    animation: slide 25s
}

.slides img {
    width: 100%;
    height: 300px;
}

@keyframes slide {
    0% { transform: translateX(0); }
    33% { transform: translateX(-100%); }
    66% { transform: translateX(-200%); }
    100% { transform: translateX(0); }
}

section {
    padding: 20px;
    text-align: center;
}

.proyecto {
    background: white;
    padding: 15px;
    margin: 10px;
    border-radius: 8px;
}

.btn {
    display: inline-block;
    padding: 10px;
    margin-top: 10px;
    background: #2d6a4f;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

.btn:hover {
    background: #1b4332;
}

footer {
    background: #1b4332;
    color: white;
    text-align: center;
    padding: 10px;
    margin-top: 20px;
}
/* Sección de Contacto */
#contacto {
    padding: 40px 20px;
    background: #f0f4f8;
    text-align: center;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    max-width: 900px;
    margin: auto;
}

.contact-info {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 300px;
    text-align: left;
}

.contact-info h3 {
    color: #2d6a4f;
    margin-bottom: 5px;
}

form {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 400px;
}

.input-group {
    position: relative;
    margin-bottom: 20px;
}

.input-group input, .input-group textarea {
    width: 100%;
    padding: 10px;
    border: 2px solid #ccc;
    border-radius: 5px;
    outline: none;
    transition: 0.3s;
}

.input-group label {
    position: absolute;
    top: 10px;
    left: 10px;
    color: #999;
    font-size: 14px;
    transition: 0.3s;
}

.input-group input:focus, .input-group textarea:focus {
    border-color: #2d6a4f;
}

.input-group input:focus + label, 
.input-group textarea:focus + label {
    top: -10px;
    left: 5px;
    font-size: 12px;
    color: #2d6a4f;
}

button {
    width: 100%;
    padding: 12px;
    border: none;
    background: #2d6a4f;
    color: white;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    background: #1b4332;
}

#respuesta {
    margin-top: 10px;
    font-weight: bold;
}
/* Banner */
.banner {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: auto;
    overflow: hidden;
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    width: 100%;
    display: none;
}

.slide.active {
    display: block;
}

/* Botones de navegación */
button.prev, button.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 20px;
    border-radius: 50%;
}

button.prev {
    left: 10px;
}

button.next {
    right: 10px;
}

button.prev:hover, button.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}
