/* Estilos generales */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background: #f4f4f4;
    color: #333;
}

.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
    padding: 20px 0;
}

/* Header */
header {
    background: #333;
    color: #fff;
    padding-top: 20px;
    min-height: 70px;
    border-bottom: #0779e4 3px solid; /* Color azul de la marca */
}

header .logo {
    float: left;
}

header .logo img {
    height: 100px; /* Ajusta el tamaño de tu logo */
    vertical-align: middle;
    margin-right: 10px;
}

header .logo h1 {
    display: inline;
    margin: 0;
}

header nav {
    float: right;
    margin-top: 10px;
}

header ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

header li {
    display: inline;
    padding: 0 15px;
}

header a {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 16px;
}

header a:hover {
    color: #0779e4;
    font-weight: bold;
}

/* Botones */
.btn {
    display: inline-block;
    color: #fff;
    background: #0779e4;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
}

.btn:hover {
    background: #055ba3;
}

.btn-small {
    display: inline-block;
    color: #fff;
    background: #555;
    padding: 5px 10px;
    text-decoration: none;
    border-radius: 3px;
    font-size: 0.9em;
}

.btn-small:hover {
    background: #333;
}

/* Secciones de Contenido */
.content-section {
    padding: 40px 0;
    background: #fff;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.content-section h2, .content-section h3 {
    color: #0779e4;
    text-align: center;
    margin-bottom: 20px;
}

/* Sección Hero */
#hero {
    background: #333 url('../img/hero-image.jpg') no-repeat center center/cover; /* Asegúrate de tener una imagen de fondo */
    color: #fff;
    text-align: center;
    padding: 100px 0;
}

#hero h2 {
    font-size: 3em;
    margin-bottom: 10px;
}

#hero p {
    font-size: 1.2em;
}

/* Sección Highlights */
#highlights {
    background: #eee;
    padding: 40px 0;
    text-align: center;
}

.highlight-item {
    display: inline-block;
    width: 45%;
    margin: 0 2%;
    vertical-align: top;
}

/* Sección Servicios Overview */
#services-overview .service-cards {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

#services-overview .card {
    background: #fdfdfd;
    border: 1px solid #ddd;
    padding: 20px;
    margin: 10px;
    width: 22%; /* Ajusta según el número de cards por fila */
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    text-align: center;
}

#services-overview .card h3 {
    margin-top: 0;
    color: #0779e4;
}

/* Detalles de Servicios (servicios.html) */
.service-detail {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.service-detail:last-child {
    border-bottom: none;
}

.service-detail h3 {
    text-align: left;
}

.service-detail img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.service-detail ul {
    list-style: disc;
    margin-left: 20px;
}

/* Clientes */
.client-logos {
    text-align: center;
    margin-top: 30px;
}

.client-logos img {
    max-width: 150px; /* Ajusta el tamaño de los logos */
    margin: 15px;
    vertical-align: middle;
    filter: grayscale(100%); /* Opcional: logos en escala de grises */
    transition: filter 0.3s ease;
}

.client-logos img:hover {
    filter: grayscale(0%);
}

.credibility-note {
    text-align: center;
    font-style: italic;
    margin-top: 30px;
}

/* Contacto */
#contact-info p {
    font-size: 1.1em;
    margin-bottom: 10px;
}

#contact-info a {
    color: #0779e4;
    text-decoration: none;
}

#contact-info a:hover {
    text-decoration: underline;
}

.commitment-slogan {
    font-size: 1.3em;
    font-weight: bold;
    text-align: center;
    margin-top: 40px;
    color: #0779e4;
}

/* Footer */
footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    margin-top: 30px;
}

footer p {
    margin: 5px 0;
    font-size: 0.9em;
}

/* Responsive Design - Media Queries */
@media (max-width: 768px) {
    .container {
        width: 90%;
    }

    header nav {
        float: none;
        text-align: center;
        margin-top: 20px;
    }

    header li {
        display: block;
        padding: 10px 0;
    }

    .highlight-item, #services-overview .card {
        width: 90%;
        margin: 10px auto;
        display: block;
    }

    .client-logos img {
        max-width: 100px;
        margin: 10px;
    }
}