/* ========================================
   ESTILOS ESPECÍFICOS PARA MAESTRÍAS
   Diseño unificado con Bachillerato
   ======================================== */

/* Contenedor principal de 2 columnas */
.career-content {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.career-info {
    flex: 2;
}

.career-image {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Imagen principal con diseño de bachillerato */
.bachillerato-ius-image {
    width: 100%;
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Grid de cards informativas - DISEÑO BACHILLERATO */
.bachillerato-additional-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

/* Cards individuales - ESTILO BACHILLERATO */
.info-card {
    background: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

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

/* Ícono circular - GRADIENTE AZUL BACHILLERATO */
.info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.info-icon i {
    color: white;
    font-size: 1.25rem;
}

/* Tipografía de cards - BACHILLERATO */
.info-card h5 {
    color: #1f2937;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.info-card p {
    color: #6b7280;
    font-size: 0.875rem;
}

/* ========================================
   TARJETAS DE OFERTA EDUCATIVA
   Grid de maestrías en la vista principal
   ======================================== */

.offer-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
    justify-content: center;
    align-items: stretch;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.offer-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.offer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.offer-card-img {
    width: 100%;
    height: 160px;
    overflow: hidden;
}

.offer-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.offer-card:hover .offer-card-img img {
    transform: scale(1.05);
}

.offer-card-content {
    padding: 1.25rem;
}

.offer-card-content h3 {
    color: #1f2937;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.offer-card-content p {
    color: #6b7280;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

/* Botón de información - GRADIENTE AZUL BACHILLERATO */
.solicita-info-btn {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    width: 100%;
}

.solicita-info-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(30, 58, 138, 0.3);
}

/* ========================================
   RESPONSIVE DESIGN
   Igual que Bachillerato para consistencia
   ======================================== */

@media (max-width: 1024px) {
    .offer-cards {
        max-width: 700px;
    }
}

@media (max-width: 768px) {
    .career-content {
        flex-direction: column;
    }
    
    .bachillerato-additional-info {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .offer-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
        max-width: 100%;
    }
    
    .offer-card {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .offer-cards {
        gap: 0.75rem;
    }
} 