/* Fuente moderna */
body {
    font-family: 'Montserrat', sans-serif;
    background-color: #f0f4f8;
    color: #333;
    margin: 0;
    line-height: 1.6;
}

/* Container para centrar contenido */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header atractivo */
header {
    background: linear-gradient(to right, #0066ff, #00ccff);
    color: white;
    padding: 2rem 1rem;
}

.header-container h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.subtitle {
    font-size: 1.2rem;
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    list-style: none;
    padding-top: 1rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: #ffdd57;
}

/* Sección introductoria */
.intro-section {
    text-align: center;
    padding: 4rem 1rem;
    background-color: white;
}

.intro-section h2 {
    font-size: 2.5rem;
    color: #0066ff;
}

.intro-section p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.btn-primary {
    background-color: #00ccff;
    color: white;
    padding: 0.75rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.btn-primary:hover {
    background-color: #0066ff;
}

/* Sección de servicios */
.services-section {
    padding: 4rem 1rem;
}

.services-section h2 {
    text-align: center;
    color: #0066ff;
    font-size: 2.5rem;
}

.cards-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    flex: 1 1 30%;
    transition: transform 0.3s ease;
}

.card h3 {
    color: #0066ff;
}

.card p {
    margin-bottom: 1rem;
}

.btn-secondary {
    background-color: #ffdd57;
    color: #333;
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
}

.card:hover {
    transform: translateY(-5px);
}

/* Nuestros Clientes */
.clients-section {
    background-color: #f8f9fa;
    text-align: center;
    padding: 4rem 1rem;
}

.clients-section h2 {
    color: #0066ff;
    font-size: 2.5rem;
}

.clients-logos {
    display: flex;
    justify-content: center;
    align-items: center; /* Añadido para centrar verticalmente */
    gap: 2rem;
    flex-wrap: wrap;
    padding-top: 2rem;
}

.clients-logos a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 160px; /* Tamaño fijo para uniformidad */
    height: 100px; /* Altura fija para alinear verticalmente */
    background-color: #fff; /* Opcional: mejora visual */
    border-radius: 8px;      /* Opcional: esquinas redondeadas */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05); /* Opcional: suaviza el diseño */
}

.client-logo {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.client-logo:hover {
    opacity: 1;
}

/* Contact Section Mejorado */
.contact-section {
    background-color: white;
    padding: 4rem 1rem;
    text-align: center;
}

.contact-section h2 {
    font-size: 2.5rem;
    color: #0066ff;
    margin-bottom: 1.5rem;
}

.contact-section form {
    max-width: 600px;
    margin: 0 auto;
}

.contact-section form input,
.contact-section form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-section form input:focus,
.contact-section form textarea:focus {
    border-color: #00ccff;
}

.contact-section form button {
    background-color: #00ccff;
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.contact-section form button:hover {
    background-color: #0066ff;
}

/* WhatsApp Button Mejorado */
.whatsapp-container {
    text-align: center;
    margin-top: 2rem;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    background-color: #25D366;
    color: white;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    transition: background 0.3s ease;
}

.whatsapp-btn img {
    width: 24px;
    margin-right: 0.5rem;
}

.whatsapp-btn:hover {
    background-color: #128C7E;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 1rem 1rem;
}

/* Responsividad */
@media (max-width: 768px) {
    .cards-container {
        flex-direction: column;
    }

    .nav-links {
        flex-direction: column;
    }
    
    .contact-section form input,
    .contact-section form textarea {
        padding: 0.5rem;
    }
    
    .whatsapp-btn {
        font-size: 1rem;
    }
}

/* SECCIÓN REDES SOCIALES */
.social-media {
    text-align: center;
    margin: 20px 0;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-links a {
    font-size: 20px;
    color: white;
    background-color: #005599;
    padding: 12px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease-in-out, transform 0.3s ease-in-out;
    width: 45px;
    height: 45px;
    text-decoration: none;
}

.social-links a:hover {
    background-color: #ff6600;
    transform: scale(1.1);
}


/* Sección de Certificado */
.certificate-section {
    background: linear-gradient(to right, #00ccff, #0066ff);
    color: white;
    text-align: center;
    padding: 3rem 1rem;
    margin-top: 3rem;
    border-radius: 8px 8px 0 0;
}

.certificate-box {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.certificate-box h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #ffdd57;
}

.certificate-box p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.certificate-box a {
    color: #ffdd57;
    font-weight: 600;
    text-decoration: underline;
}

.certificate-box .important {
    font-size: 1.3rem;
    font-weight: bold;
    color: #fff;
}

/* Certificados en grid */
.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.certificate-card {
    background: #1f2937; /* gris oscuro tipo sección */
    padding: 1.5rem;
    border-radius: 10px;
    color: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: transform 0.2s ease;
}

.certificate-card:hover {
    transform: translateY(-5px);
}

.certificate-card h3 {
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
    color: #facc15; /* amarillo para destacar */
}

.certificate-card .important {
    margin-top: 1rem;
    font-weight: bold;
    color: #f87171; /* rojo suave */
}
