/* Estilos específicos para la sección de Conductores */

.drivers-section {
    padding: 2rem;
    background-color: #f9f9f9;
    color: #333;
    text-align: center;
}

/* Banner */
.drivers-banner {
    background-image: url('../Images/bg-plano.jpg'); /* Ruta correcta de la imagen */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    margin-bottom: 2rem; /* Espacio entre el banner y la siguiente sección */
    margin-top: 6%;
}

.banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;/*height: 100%; /* Asegúrate de ocupar todo el espacio del banner */
    max-width: 1200px; /* Ancho máximo del contenido */
}

.text-content {
    flex: 1; /* Ocupa el 50% del espacio */
    color: #fff;
    text-align: left;
    padding-right: 2rem; /* Espaciado entre texto e imagen */
}

.text-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.text-content p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.text-content h1, .text-content p {
    color: #fff; /* Blanco para mejor visibilidad */
}

.text-content .cta-button {
    padding: 0.8rem 1.5rem;
    background-color: #00AD57;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease-in-out;
}

.text-content .cta-button:hover {
    background-color: #007f3d;
}

.image-content {
    flex: 1; /* Ocupa el 50% del espacio */
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-image {
    max-width: 620px;
    height: auto;
    border-radius: 10px;
}

/* Responsividad */
@media (max-width: 768px) {
    .phone-image {
        max-width: 200px;
    }

    .text-content {
        padding-right: 0;
        margin-bottom: 2rem;
    }

    .text-content h1 {
        font-size: 2rem;
    }

    .text-content p {
        font-size: 1rem;
    }

    .image-content {
        justify-content: center;
    }
}

.drivers-banner h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.drivers-banner p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.drivers-banner h1, .drivers-banner p {
    color: #333; /* Cambia a un color oscuro para contraste */
}

.drivers-banner .cta-button {
    padding: 0.8rem 1.5rem;
    background-color: white;
    color: #00AD57;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease-in-out;
}

.drivers-banner .cta-button:hover {
    background-color: #007f3d;
    color: white;
}

/* Beneficios */
.drivers-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 2rem;
    background-color: #f9f9f9; /* Color de fondo para diferenciar */
}

/* Beneficios individuales */
.benefit {
    flex: 1 1 30%;
    max-width: 300px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    text-align: center;
}

.benefit img {
    display: block;
    max-width: 50px;
    height: auto;
    margin: 0 auto 1rem; /* Centra las imágenes */
}

.benefit h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: #00AD57;
}

.benefit p {
    font-size: 1rem;
    line-height: 1.5;
    color: #555; /* Usa un color gris suave */
}

/* Descarga de la app */
.app-info {
    margin-top: 2rem;
    text-align: center;
}

.app-info h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.app-info .app-buttons a img {
    width: 150px;
    margin: 0 1rem;
    transition: transform 0.3s ease-in-out;
}

.app-info .app-buttons a img:hover {
    transform: scale(1.1);
}

.contact-drivers-section {
    background-color: #00AD57; /* Color verde corporativo */
    color: white;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    width: 100%;
    gap: 2rem;
}

.contact-icon {
    flex: 1;
    text-align: center;
}

.contact-icon img {
    font-size: 1rem;
    color: white;
    height: auto;
    width: 140px;
}

.contact-text {
    flex: 3;
    text-align: left;
}

.contact-text h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.contact-text p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.contact-button {
    padding: 0.8rem 1.5rem;
    background-color: #fff;
    color: #00AD57;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

.contact-button:hover {
    background-color: #007f3d;
    color: white;
}

/* Responsividad */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
        text-align: center;
    }

    .contact-icon {
        margin-bottom: 1.5rem;
    }

    .contact-text {
        text-align: center;
    }
}

