﻿/* Sección Certificados */
.certificates-section {
    padding: 6rem 2rem;
    background: url('/images/home/carousel/enrriqusimiento.jpg') center/cover no-repeat;
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(30, 86, 49, 0.1);
    min-height: 400px;
    display: flex;
    align-items: center;
}

    .certificates-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(30, 86, 49, 0.40);
        z-index: 1;
    }

.certificates-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    width: 100%;
}

.certificates-title {
    text-align: center;
    margin-bottom: 2.5rem;
    color: #FFFFFF;
    font-size: 2.2rem;
    font-weight: 800;
    padding-left: 0;
    border-left: none;
}

.certificates-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2.5rem;
}

.certificates-text {
    width: 100%;
    max-width: 800px;
}

    .certificates-text p {
        font-size: 1.4rem;
        line-height: 1.8;
        margin-bottom: 2.5rem;
        color: #FFFFFF;
    }

.certificates-btn {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 1.5rem;
}

    /* Botón Solicitar Información - Letras blancas */
    .certificates-btn .btn {
        color: #FFFFFF !important;
        background-color: var(--primary-green);
    }

        .certificates-btn .btn:hover {
            color: var(--primary-green) !important;
            background-color: #FFFFFF;
        }

/* Logo MADES en certificados */
.mades-logo {
    position: absolute;
    left: -25%;
    top: -30%;
    transform: translateY(50%);
    max-width: 300px;
    z-index: 3;
    border: 2px solid rgba(255, 255, 255, 0.6);
    padding: 1.5rem 2rem;
    border-radius: 8px;
}

    .mades-logo img {
        width: 100%;
        height: auto;
        filter: brightness(0) invert(1);
    }

/* Responsive para logo MADES */
@media (max-width: 1400px) {
    .mades-logo {
        max-width: 280px;
        right: 3%;
    }
}

@media (max-width: 1200px) {
    .mades-logo {
        max-width: 260px;
        right: 2%;
    }
}

@media (max-width: 1024px) {
    .mades-logo {
        position: relative;
        right: auto;
        bottom: auto;
        max-width: 250px;
        margin: 3rem auto 0;
        text-align: center;
        display: block;
    }
}

@media (max-width: 768px) {
    .mades-logo {
        max-width: 200px;
        margin: 2rem auto 0;
        padding: 1rem 1.5rem;
    }
}

@media (max-width: 576px) {
    .mades-logo {
        max-width: 170px;
        margin: 1.5rem auto 0;
        padding: 0.8rem 1rem;
        border-width: 1.5px;
    }
}