* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: 10pt;
}

.navbar {
    color: white;
    font-weight: bold;
    font-size: 12pt;
    padding: 2px;
    box-shadow: 0px 0px 20px rgba(0,0,0,0.5);
    background: rgb(147 37 37);
    border-bottom: 2px solid rgb(102 15 15 / 75%);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    position: fixed;
    top: 0px;
    width: 100%;
    z-index: 500;
}

.navbar-brand {
    margin: 0;
    padding: 0;
    margin-right: 30px;
}

    .navbar-brand img {
        height: 35px;
    }

.navbar-light .navbar-nav .nav-link {
    color: #e9ecef;
}

.main-container {
    padding: 0px 10px;
    margin-bottom: 140px;
}

.container__background-img {
    margin: auto;
    position: fixed;
    left: 50%;
    transform: translate(-50%, -60%);
    z-index: -1;
}

.background-img {
    margin: auto;
    position: fixed;
    left: 50%;
    transform: translate(-50%, 10px);
    z-index: -1;
}

.crystal {
    background-image: linear-gradient(rgb(255 255 255 / 90%), rgb(255 255 255 / 0%));
    border-left: 1px solid rgba(255, 255, 255, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    transition: all 300ms;
    z-index: 1;
}

.content-left {
    position: fixed;
    left: 30px;
    width: 30%;
    z-index: -1;
}

    .content-left img {
        width: 100%;
    }

.content-right {
    margin-left: 40%;
}

h5 {
    color: rgb(147 37 37);
}

p {
    margin: 0;
    padding: 0;
}

.footer {
    width: 100%;
}

.footer__background-img {
    height: 250px;
    position: fixed;
    bottom: 80px;
    right: 0px;
    z-index: -100;
}

    .footer__background-img img {
        height: 100%;
    }

.footer__content {
    position: fixed;
    bottom: 0px;
    color: darkred;
    padding: 1px;
    width: 100%;
    text-align: center;
    box-shadow: 20px 20px 50px rgba(0,0,0,0.5);
    background: rgb(255 255 255 / 25%);
    border-top: 2px solid rgb(157 10 10 / 75%);
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
}

    .footer__content p {
        padding: 2px;
        margin: 0;
    }

.img-left {
    height: 200px;
    position: fixed;
    bottom: 0px;
    left: 0px;
    z-index: -2;
}

.syllabus-header {
    background: linear-gradient(135deg, #932525 0%, #430c0c 100%);
    color: white;
    padding: 30px;
    border-radius: 16px;
    margin-top: 30px;
    margin-bottom: 35px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.syllabus-header h1 {
    font-size: 32px;
    margin-bottom: 12px;
}

    .syllabus-header h1 i {
        margin-right: 12px;
    }

.syllabus-header p {
    font-size: 16px;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}

/* Botón de regreso */
.btn-back {
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

    .btn-back:hover {
        background: rgba(255,255,255,0.3);
        color: white;
        transform: translateX(-3px);
    }

/* Grid más compacto */
.career-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
    align-items: stretch;
}

.career-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid #e9ecef;
}

    .career-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.12);
        text-decoration: none;
    }

.career-icon {
    background: linear-gradient(135deg, #1a6b3b 0%, #0e4a28 100%);
    padding: 2px;
    text-align: center;
}

    .career-icon i {
        font-size: 36px;
        color: white;
    }

.career-content {
    padding: 18px;
    flex: 1;
}

    .career-content h3 {
        font-size: 16px;
        font-weight: 700;
        margin-bottom: 8px;
        color: #1a6b3b;
        line-height: 1.3;
    }

    .career-content p {
        color: #555;
        font-size: 12px;
        line-height: 1.4;
        margin-bottom: 12px;
    }

.career-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #eee;
    padding: 10px 18px 12px 18px;
    background: #fafafa;
    margin-top: auto;
}

.career-tag {
    background: #e8f5e9;
    color: #1a6b3b;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 500;
}

.career-link {
    color: #1a6b3b;
    font-weight: 500;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.career-card:hover .career-link {
    transform: translateX(3px);
}

/* Info section */
.info-section {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    margin-top: 40px;
    text-align: center;
    border: 1px solid #e9ecef;
}

    .info-section h4 {
        color: #1a6b3b;
        margin-bottom: 12px;
        font-size: 18px;
    }

    .info-section p {
        color: #666;
        margin-bottom: 0;
        font-size: 13px;
    }

@media (max-width: 768px) {
    .syllabus-header {
        padding: 20px;
    }

        .syllabus-header h1 {
            font-size: 24px;
        }

    .career-grid {
        grid-template-columns: 1fr;
    }
}