:root{
    --color-main-black: #252034;
    --color-main-red: #EA1621;
    --color-main-purple: #2A243B;
    --color-main-gray: #F4F5F6;
    --color-main-gray-2: #CCCCCC;

}

.font-poppins{
    font-family: 'Poppins', sans-serif;
}


body{
    box-sizing: border-box;
}

h1, h2, p, ul {
    margin: 0;
}

a{
    text-decoration: none;
}

/* Colores */
.text-main-black{
    color: var(--color-main-black);
}
.bg-main-black{
    background-color: var(--color-main-black);
}


.text-main-gray{
    color: var(--color-main-gray);
}
.bg-main-gray{
    background-color: var(--color-main-gray);
}


.text-main-red{
    color: var(--color-main-red);
}
.bg-main-red{
    background-color: var(--color-main-red);
}


.text-main-purple{
    color: var(--color-main-purple);
}



/* tamaño-hero */
.height-hero{
height: 700px;

@media (max-width: 768px) {
    height: 400px;
}
}



/* tamaños */
.px-64px{
    padding-left: 64px;
    padding-right: 64px;
}

.my-width-100{
    width: 100px;
}

/* hover nav */
.hover-nav:hover{
    background-color: var(--color-main-black);
    color: white;
}

.hover-contact:hover{
    background-color: white;
    color: var(--color-main-red);
}

.fs-14px{
    font-size: 14px;
}

/* botones */
.btn-main-red{
    background-color: var(--color-main-red);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}


.btn-main-red:hover{
    background-color: #bb2d3b;
}

.bg-main-purple{
    background-color: #2A243B;
    transition: all 0.3s ease;
}

.btn-main-purple{
    background-color: #2A243B;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
}

.btn-main-purple:hover{
    background-color: #4b3a80;
}

.hover-course {
    cursor: pointer;
}

.hover-course:hover {
    background-color: white !important;
    color: black !important;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.3);
}

.boder-noticias{
    border: 1px solid var(--color-main-gray-2);
    
    padding: 10px;
}

.academia-hero {
    background: linear-gradient(to bottom, #000029, #3D2665);
    color: white;
padding-top: 5px;
padding-bottom: 5px;
}

.volver-link {
    color: white;
    text-decoration: none;
    display: inline-block;
    
}

.volver-link:hover {
    color: var(--color-main-red);
}

.academia-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.academia-description {
    max-width: 600px;
    margin: 0 auto 2rem;
    opacity: 0.8;
}

.info-text {
    color: #ffffff;
    opacity: 0.8;
    margin-bottom: 2rem;
}

.benefits-container {
    background: #F6F6F6;
    border-radius: 10px;
    width: 100%;
    padding-top: 20px;
    padding-bottom: 20px;
}

.benefit-card {
    background: transparent;
    
    height: 100%;
    transition: transform 0.3s ease;
    position: relative;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.border-main-red{
    border-bottom: 1px solid var(--color-main-red);
}

/* Mantener las líneas verticales para desktop */
.col-md-3:not(:last-child) .benefit-card::after {
    content: '';
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    height: 70%;
    width: 1px;
    background-color: #BC0F1850;
    z-index: 1;
}

.card-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 2px;
}

.card-title {
    color: #333;
    font-size: 16px;
    margin-bottom: 0;
}

.card-text {
    color: #666;
    font-size: 14px;
}

/* .btn-danger {
    padding: 0.75rem 2rem;
    font-weight: 500;
    background-color: var(--color-main-red);
    border: none;
}

.btn-danger:hover {
    background-color: #d60e18;
} */

.bi-bell-fill {
    font-size: 1.1rem;
}

@media (max-width: 767px) {
    /* Ocultar las líneas verticales en móvil */
    .col-md-3:not(:last-child) .benefit-card::after {
        display: none;
    }
    
    .benefit-card {
        border-bottom: 1px solid #BC0F1850;
        padding-bottom: 2rem;
        margin-bottom: 2rem;
    }
    
    /* Removemos el borde del último elemento */
    .benefit-card:last-child {
        border-bottom: none;
        margin-bottom: 0;
    }
}

.img-container {
    padding: 15px;
}

.check-icon-purple{
    color: var(--color-main-purple);
    font-size: 24px;
}   


/* Estilos para dispositivos móviles (por defecto) */
.welcome-section {
    background-image: url("../img/slide1.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  
 
}

/* Estilos para pantallas más grandes */
@media (min-width: 768px) {
    .welcome-section {
        height: 520px;
    }
}

/* Calendario visual mejorado */
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
    margin: 0 auto;
    max-width: 280px;
}

.calendar-cell {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
    border: 1px solid transparent;
}

.calendar-cell:hover {
    background-color: #f8f9fa;
    border-color: #EA1621;
    transform: scale(1.05);
}

.calendar-cell.text-muted {
    color: #6c757d !important;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.calendar-cell.active {
    background: linear-gradient(135deg, #EA1621 0%, #ff4d4d 100%);
    color: #fff;
    box-shadow: 0 2px 8px rgba(234, 22, 33, 0.3);
    border-color: #EA1621;
}

.calendar-cell.today {
    background: linear-gradient(135deg, #1A1C88 0%, #3a3d9a 100%);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(26, 28, 136, 0.3);
}

.calendar-borde {
    border-color: #EA1621 !important;
    border-width: 2px !important;
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Mejoras para el contenedor del calendario */
.calendar-container {
    padding: 1.5rem;
    border-radius: 12px;
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border: 2px solid #EA1621;
}

.calendar-title {
    color: #EA1621;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive para el calendario */
@media (max-width: 768px) {
    .calendar-grid {
        max-width: 240px;
        gap: 4px;
    }
    
    .calendar-cell {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }
    
    .calendar-cell.text-muted {
        font-size: 0.625rem;
    }
    
    .calendar-container {
        padding: 1rem;
    }
    
    .calendar-title {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .calendar-grid {
        max-width: 200px;
        gap: 3px;
    }
    
    .calendar-cell {
        width: 24px;
        height: 24px;
        font-size: 0.625rem;
    }
    
    .calendar-cell.text-muted {
        font-size: 0.5rem;
    }
}


/* estilos de borde */
.borde-myred {
    border-color: #EA1621 !important;
}

.side-profile {
    width: 80px;
    height: 80px;
    border-color: #EA1621 !important;
}

.my-underline-red {
    text-underline-offset: 10px;
    text-decoration-thickness: 2px !important;
    text-decoration-color: #EA1621 !important;
}

.bg-icons-sm {
    width: 48px;
    height: 48px;
    background-color: #1A1C88 !important;
}

.avatar-side-progress {
    width: 40px;
    height: 40px;
}

/* Ajuste: barra de progreso más larga y menos redondeada */
.sidebar-progress {
    height: 14px;
    background: #f3f3f3;
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(234, 22, 33, 0.08);
    position: relative;
    width: 90%;
    /* Más larga */
    margin-left: auto;
    margin-right: auto;
}

.sidebar-progress-bar {
    height: 100%;
    width: 30%;
    /* Cambia este valor para el porcentaje deseado */
    background: linear-gradient(90deg, #EA1621 60%, #ff4d4d 100%);
    border-radius: 3px 0 0 3px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 6px rgba(234, 22, 33, 0.12);
}

.progress-bar-30 {
    width: 30%;
}

.progress-bar-70 {
    width: 70%;
}

/* Barra de progreso para cards (perfil-obj.html) */
.card-progress {
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 1rem;
    width: 100%;
}

.card-progress-bar {
    height: 100%;
    background: #1A1C88;
    border-radius: 4px 0 0 4px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-bar-40 {
    width: 40%;
}

.progress-bar-60 {
    width: 60%;
}

.progress-bar-80 {
    width: 80%;
}

.progress-bar-100 {
    width: 100%;
}



