/* certificaciones.css */
body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #2D2A4A 20%, #002D62 40%, #FFFFFF 60%, #A51931 80%, #CE1126 100%);
    background-size: 200% 200%;
    animation: gradientBG 12s ease infinite;
    min-height: 100vh;
    color: #333;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #002D62;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    animation: fadeIn 0.5s ease-out;
}

.splash-screen.hide {
    animation: fadeOut 0.5s ease-out forwards;
}

.splash-screen img {
    height: 80px;
}

.navbar {
    background: linear-gradient(90deg, #1e3c72, #2a5298);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 10px;
    height: 50px;
    display: flex;
    align-items: center;
}

.navbar-brand {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    flex-grow: 1;
}

.content {
    padding: 60px 10px 70px;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    padding: 20px;
    width: 90%;
    max-width: 500px;
}

.card h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #003087;
}

.form-label {
    font-size: 0.9rem;
    color: #333;
}

.form-select, .btn-primary {
    font-size: 0.9rem;
}

.btn-primary {
    background-color: #003087;
    border: none;
    transition: transform 0.2s ease, background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #002D62;
    transform: scale(1.05);
}

.btn-primary i {
    margin-right: 5px;
}

.error {
    color: #dc3545;
    text-align: center;
    margin-top: 10px;
    font-size: 0.9rem;
}

.bottom-nav {
    background: #1e3c72;
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 60px;
    padding: 5px 0;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.bottom-nav-item {
    color: #fff;
    font-size: 0.7rem;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 20%;
    transition: color 0.3s ease;
}

.bottom-nav-item i {
    font-size: 1.5rem;
    margin-bottom: 2px;
}

.bottom-nav-item span {
    font-size: 0.65rem;
    line-height: 1;
}

.bottom-nav-item.active,
.bottom-nav-item:hover {
    color: #CE1126;
}

.notif-badge {
    position: absolute;
    top: 5px;
    right: 10px;
    background: #CE1125;
    color: #fff;
    border-radius: 50%;
    padding: 3px 6px;
    font-size: 0.6rem;
    font-weight: 600;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@media (min-width: 768px) {
    .navbar-brand {
        font-size: 1.2rem;
    }
    .card {
        max-width: 600px;
        padding: 30px;
    }
    .card h2 {
        font-size: 1.8rem;
    }
    .form-label, .form-select, .btn-primary {
        font-size: 1rem;
    }
    .bottom-nav-item i {
        font-size: 1.8rem;
    }
    .bottom-nav-item span {
        font-size: 0.8rem;
    }
    .notif-badge {
        padding: 4px 8px;
        font-size: 0.7rem;
    }
}