/* General styling for the section */
#politica-calidad {
    display: flex;
    flex-direction: column; /* Cambia el diseño a columna por defecto */
    align-items: center;
    gap: 20px;
    padding: 20px;
    background-color: #f8f9fa;
}

/* Image styling */
.politica-image img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.politica-image img:hover {
    transform: scale(1.05);
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.25);
}

/* Card styling */
.politica-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%; /* Ocupa todo el ancho disponible */
    max-width: 600px;
    padding: 20px;
    box-sizing: border-box;
}

/* Header styling */
.politica-header {
    background: #007bff; /* Color de fondo más visible */
    color: #fff;
    padding: 15px;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 1.5px;
    border-radius: 12px 12px 0 0;
}

/* Content styling */
.politica-content {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    text-align: justify;
    padding: 20px 10px;
}

/* Certification title styling */
.certificacion-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #007bff;
    margin-top: 20px;
    margin-bottom: 10px;
    text-align: center;
    text-transform: uppercase;
}

/* Certification image styling */
.certificacion-image {
    display: block;
    margin: 0 auto;
    width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}
.descarga-link {
    color: blue;
    text-decoration: underline;
    font-weight: normal;
    cursor: pointer;
}

.descarga-link:hover {
    text-decoration: none;
    color: darkblue; /* Un azul más oscuro para resaltar */
}
/* Media queries for responsiveness */
@media (min-width: 768px) {
    #politica-calidad {
        flex-direction: row; /* Cambia a diseño en fila en pantallas más grandes */
        justify-content: center;
        align-items: flex-start; /* Asegura que los elementos se alineen arriba */
    }

    .politica-card, 
    .politica-image {
        max-width: 50%; /* Cada elemento ocupa la mitad del ancho disponible */
    }
}

@media (max-width: 480px) {
    #politica-calidad {
        padding: 10px;
    }

    .politica-header {
        font-size: 18px;
        padding: 10px;
    }

    .politica-content {
        font-size: 14px;
    }

    .politica-card {
        padding: 15px;
    }
}