/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

#notification-icon {
    position: fixed;
    top: 120px;
    right: 10px;
    cursor: pointer;
    z-index: 1001;
    font-size: 35px;
    border-radius: 10px;
    background-color: #1225d4;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 20px;
    padding-bottom: 20px;
    border: solid;
}
#notification-box {
    display: none;
    position: fixed;
    top: 165px;
    right: 90px;
    width: 300px;
    max-height: 500px;
    border: 1px solid #ccc;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1001;
    border-radius: 5px;
    border: solid 1px;
}
.notification-container {
    max-height: 400px; /* Ajusta la altura máxima según tu diseño */
    height: auto; /* Para que crezca automáticamente según el contenido */
    overflow-y: auto; /* Habilita el desplazamiento vertical */
    padding: 10px; /* Añade un poco de padding */
    box-sizing: border-box; /* Asegura que el padding no afecte al tamaño total */
}
.notification {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}
.notification:last-child {
    border-bottom: none;
}
.date {
    font-size: 12px;
    color: gray;
}
.error {
    color: red;
    padding: 10px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
}

header {
    position: sticky;
    background: #333;
    color: #fff;
    padding: 20px;
    text-align: center;
    top: 0;
    z-index: 1000;
    padding-bottom: 70px;
}

header img {
    display: block;
    position: absolute;
    left: 100px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
}

header h1 {
    position: absolute;
    left: 45%;
    font-size: 2rem;
    top: 24%;
    z-index: 1002;
    margin: 0;
    display: inline; 
}

h2{
    text-align: center;
}

/* Titulos */

.section-title {
    font-size: 2rem;
    margin: 150px 0 20px; 
    text-align: center;
    color: #333;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 50%; 
    height: 4px; 
    background-color: #ff8d1c;
    margin: 10px auto 0; 
    border-radius: 5px;
}

/* Contenedor principal */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center;
}

.col-form {
    display: grid;
    justify-content: center;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.last-row {
    display: flex;
    justify-items: center;
    gap: 20px;
}

/* Estilo de las tarjetas */
.card {
    background-color: #fcfcfc;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;           
    padding: 10px;
    width: 300px;
    height: 300px;
    display: flex;
    flex-direction: column;
    
 
    
}

.card img {
    margin-top: 20px;
    width: 50%;
    height: auto;
    height: 50%;
    border-radius: 8px;
    margin: 0 auto;
}

.card-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 25px 0 10px; 
   
}

.card-description {
    font-size: 1rem;
    margin: 15px;
    color: #666;
  
}

.card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Estilo de las secciones */
#Catalogos, #Plataformas, #Formularios {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    
}

#Catalogos {
    background-color: #ff8d1c; 
}

#Plataformas {
    background-color: #fd8610; 
}

#Formularios {
    background-color: #fc952f; 
}

/* Estilo para enlaces */
a {
    text-decoration: none;
    color: inherit;
}

/* Estilo para soporte */

#Soporte {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-top: 20px; 
    text-align: center;
}

.card-z{

    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;           
    padding: 10px;
    width: 300px;
    
}

.support-card {
    margin: 20px 0;
    display: flex;
    justify-content: center;
}

.support-link {
    text-decoration: none;
}   


.support-image {
    width: 100%; 
    border-radius: 8px 8px 0 0; 
}


.card-description {
    font-size: 1rem;
    color: #666;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
    background-color: #f4f4f4;
}

.faq-question {
    padding: 10px;
    cursor: pointer;
    background-color: #ddd;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: #ccc;
}

.faq-answer {
    padding: 10px;
    display: none;
    background-color: #fff;
}

.faq-item.active .faq-answer {
    display: block;
}


.faq-item strong {
    display: block;
    margin-bottom: 5px;
}

@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .col-form {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}
