/* ===================================================
   ESTILOS ESPECÍFICOS: COMUNIDAD (Padres y Alumnos)
   VERSIÓN FINAL OPTIMIZADA - Marzo 2026
   Solo este archivo - No tocar styles.css
=================================================== */

/* --- CORRECCIÓN GLOBAL: Clase de color --- */
.text-primary-deep-green {
    color: var(--primary-deep-green) !important;
}

/* ===================================================
   1. CENTRO DE PADRES (CGPA)
=================================================== */
.cgpa-card {
    border-top: 4px solid var(--primary-vibrant-green);
    border-radius: 1rem;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: #fff;
    border-bottom: 1px solid #eee;
    border-left: 1px solid #eee;
    border-right: 1px solid #eee;
}
.cgpa-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(27, 94, 32, 0.08) !important;
}
.cgpa-icon-wrapper {
    width: 80px;
    height: 80px;
    background: var(--primary-light-green);
    color: var(--primary-deep-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    transition: all 0.4s ease;
}
.cgpa-card:hover .cgpa-icon-wrapper {
    background: var(--primary-vibrant-green);
    color: #fff;
    transform: scale(1.1) rotate(5deg);
}

/* Tarjetas de Reuniones */
.cgpa-meeting-card {
    border-radius: 1rem;
    background: #fff;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    height: 100%;
}
.cgpa-meeting-card:hover {
    border-color: var(--primary-vibrant-green);
    box-shadow: 0 10px 25px rgba(27, 94, 32, 0.08);
    transform: translateY(-5px);
}
.cgpa-meeting-date {
    background: var(--primary-light-green);
    color: var(--primary-deep-green);
    font-weight: 700;
    font-size: 1.1rem;
    padding: 8px 16px;
    border-radius: 50rem;
    display: inline-block;
    margin-bottom: 1rem;
}

/* ===================================================
   2. DIRECTIVA CENTRO DE PADRES (círculos grandes)
=================================================== */
.director-card {
    background: #ffffff;
    border-radius: 1rem;
    padding: 2.25rem 1.5rem 2rem;
    text-align: center;
    box-shadow: 0 8px 25px rgba(27, 94, 32, 0.06);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.director-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(27, 94, 32, 0.10);
}
.director-circle {
    width: 115px;
    height: 115px;
    background: var(--primary-vibrant-green);
    color: #ffffff;
    font-size: 2.8rem;
    font-weight: 700;
    font-family: var(--font-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    box-shadow: 0 6px 15px rgba(27, 94, 32, 0.15);
    letter-spacing: -2px;
}
.director-name {
    color: var(--primary-deep-green);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}
.director-position {
    color: #6c757d;
    font-size: 0.95rem;
    font-weight: 500;
}

/* ===================================================
   3. CENTRO DE ESTUDIANTES (CEAL)
=================================================== */
/* Tarjetas de Funciones */
.ceal-function-card {
    border-top: 4px solid var(--accent-gold);
    border-radius: 1rem;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: #fff;
    border-bottom: 1px solid #eee;
    border-left: 1px solid #eee;
    border-right: 1px solid #eee;
}
.ceal-function-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(46, 125, 50, 0.12) !important;
}
.ceal-function-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-vibrant-green), #0d3b12);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    transition: all 0.4s ease;
}
.ceal-function-card:hover .ceal-function-icon {
    transform: scale(1.15) rotate(8deg);
    background: var(--accent-gold);
}

/* Tarjetas de Actividades */
.ceal-activity-card {
    border-radius: 1rem;
    background: #fff;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    height: 100%;
}
.ceal-activity-card:hover {
    border-color: var(--accent-gold);
    box-shadow: 0 15px 35px rgba(255, 179, 0, 0.12);
    transform: translateY(-6px);
}
.ceal-activity-date {
    background: linear-gradient(135deg, var(--accent-gold), #FFB300);
    color: var(--primary-deep-green);
    font-weight: 700;
    font-size: 1.1rem;
    padding: 8px 18px;
    border-radius: 50rem;
    display: inline-block;
    margin-bottom: 1rem;
}

/* Directiva CEAL */
.ceal-director-card {
    background: #ffffff;
    border-radius: 1.25rem;
    padding: 2.25rem 1.5rem 2rem;
    text-align: center;
    box-shadow: 0 8px 25px rgba(46, 125, 50, 0.08);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(46,125,50,0.1);
}
.ceal-director-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 45px rgba(46, 125, 50, 0.18);
    border-color: var(--primary-vibrant-green);
}
.ceal-director-circle {
    width: 115px;
    height: 115px;
    background: linear-gradient(135deg, var(--primary-vibrant-green), #0d3b12);
    color: #ffffff;
    font-size: 2.75rem;
    font-weight: 700;
    font-family: var(--font-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    box-shadow: 0 10px 25px rgba(27, 94, 32, 0.25);
    letter-spacing: -2px;
}
.ceal-director-name {
    color: var(--primary-deep-green);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}
.ceal-director-position {
    color: #555;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}
.ceal-course-badge {
    background: var(--primary-light-green);
    color: var(--primary-deep-green);
    font-size: 0.85rem;
    padding: 5px 16px;
    border-radius: 50rem;
    font-weight: 600;
    display: inline-block;
}

/* ===================================================
   BOTONES REDES SOCIALES - Centrado 100% perfecto
=================================================== */
.social-btn {
    width: 70px !important;
    height: 70px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;           /* Quitamos padding interno */
    border: 2px solid var(--primary-vibrant-green) !important;
    transition: all 0.3s ease !important;
}

.social-btn:hover {
    background: var(--primary-vibrant-green) !important;
    color: white !important;
    transform: scale(1.08) !important;
    border-color: var(--accent-gold) !important;
}

.social-btn i {
    font-size: 2.1rem !important;    /* Tamaño óptimo y consistente */
    line-height: 1 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* ===================================================
   RESPONSIVIDAD UNIFICADA
=================================================== */
@media (max-width: 767.98px) {
    .cgpa-card,
    .cgpa-meeting-card,
    .director-card,
    .ceal-function-card,
    .ceal-activity-card,
    .ceal-director-card {
        padding: 1.75rem 1.25rem;
    }
    .director-circle,
    .ceal-director-circle {
        width: 100px;
        height: 100px;
        font-size: 2.4rem;
    }
}
