.header_oferta{
    display: block;
    position: relative;
}

.header_oferta_titulo {
    font-size: 3rem;
    font-weight: 700 !important;
    color: #ffffff;
    position: absolute;
    top: 33px;
    left: 7%;
    width: 75%;
    text-shadow: 1px 1px 2px #202020;
}

/* CARD */
.section-title {
    text-align: center;
    font-weight: 700;
    font-size: 3rem;
    margin: 2rem 0;
    color: #333;
}

.card-edu {
    border: none;
    overflow: hidden;
    background-color: transparent;
}

.card-img-top {
    height: 211px;
    object-fit: cover;
    object-position: top;
}

.card-body {
    background-color: #146836;
    color: white;
    text-align: center;
    padding: 1rem 1rem 1.5rem;
}

.card-body h5 {
    font-size: 1.5rem;
    font-weight: 700;
}

.btn-custom {
    background-color: white;
    color: #21643d;
    border-radius: 2rem;
    padding: 0.4rem 1.2rem;
    font-weight: 500;
    border: none;
}

.btn-custom:hover {
    background-color: #e5e5e5;
}

.seccion_conoce a {
    color: #7f7f7f;
}
.seccion_conoce p {
    font-size: 1rem;
    color: #7f7f7f;
}
.seccion_conoce h2 {
    color: #333;
    font-size: 2.4rem;
}
.seccion_conoce .fw-bold {
    font-weight: 700 !important;
    background: #146836;
    border-radius: 24px;
    padding: 7px 39px;
}

/* Estilo para los íconos de flechas */
.arrow-btn {
    background-color: white;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Imagen de video con botón superpuesto */
.video-container {
    position: relative;
}

.video-container img {
    width: 100%;
    border-radius: 10px;
}

.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #2d8b57;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-play-button::before {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-left: 15px solid white;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
}

.welcome-section {
    background-color: #146836;
    color: white;
    position: relative;
    overflow: hidden;
    padding: 0px 0px 0px 6%;
}

.welcome-text {
    padding: 3rem 2rem;
}

.image-side {
    position: relative;
}

.image-side img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Triángulo decorativo */
.diagonal-shape {
    position: absolute;
    top: 0;
    right: -40px;
    width: 0;
    height: 100%;
    border-top: 100vh solid transparent;
    border-left: 40px solid #C7A83C;
    /* Color dorado */
    z-index: 2;
}

@media (max-width: 767px) {
    .image-side {
        order: -1;
    }

    .diagonal-shape {
        display: none;
    }
}

.bg-dark {
    background-color: rgb(83 83 83) !important;
    margin-top: 50px;
    border-top: 10px solid #caab56;
}

footer h6 {
    font-weight: bold;
}

footer img {
    object-fit: contain;
}


.footer_logo img {
    max-width: 80% !important;
}
.footer_informacion li {
    margin-bottom: 10px;
    font-size: 13px;
}

.footer_contacto li {
    margin-bottom: 36px !important;
}
.footer_contacto img {
    width: 46px !important;
}
.footer_contacto .text-warning {
    --bs-text-opacity: 1 !important;
    color: #caab56 !important;
    margin-bottom: 20px !important;
}

.butones_flotantes a img {
    width: 37px;
    height: 37px;
    object-fit: contain;
    margin-right: 10px;
}
.butones_flotantes a {
    border: 1px solid #fff;
    margin-bottom: 18px;
    background-color: #146836;
    color: #fff;
    text-decoration: none;
    padding: 7px 13px;
    border-radius: 12px;
    font-weight: 600;
}
.butones_flotantes {
    position: fixed;
    z-index: 2;
    bottom: 15px;
    right: 15px;
    display: grid
;
}


.mejores_opciones .card-edu {
    border-radius: 0px !important;
    box-shadow: 0px 2px 5px 0px rgb(180 180 180 / 75%);
}
.mejores_opciones .card-img-top {
    height: auto;
    object-fit: scale-down;
}
.mejores_opciones .card-body {
    background-color: #ffffff;
    color: #333;
    text-align: center;
    padding: 1rem 1rem 1.5rem;
}


.docentes_calidad .card-img-top {
    height: 200px !important;
    width: 200px !important;
    object-fit: cover;
    object-position: center;
    margin: 0 auto;
    border-radius: 75%;
}

.docentes_calidad .card-body h5 {
    font-size: 1.2rem;
    font-weight: 700;
}


.docentes_calidad .card-body {
    background-color: #ffffff00;
    color: #333;
    text-align: center;
    padding: 1rem 1rem 1.5rem;
}

.docentes_calidad .btn-custom {
    background-color: #146836;
    color: #ffffff;
}


.welcome-section p {
    font-size: 14px;
    margin-bottom: 25px;
    border-left: 8px solid #caab56;
    padding-left: 16px;
}
.welcome-section h1 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.seccion_conoce {
    background-color: #ffffffed;
    padding: 35px;
}

.seccion_conoce h1 {
    font-size: 3rem;
    color: #333;
    font-weight: 700;
}

.seccion_conoce h2 {
    color: #333;
    font-size: 1.1rem;
    margin-bottom: 20px;
    border-left: 8px solid #caab56;
    padding-left: 16px;
    margin-top: 20px;
    font-weight: 600;
}

.seccion_conoce p {
    font-size: 14px;
    margin: 3px;
    color: #333;
}


.semestre-container {
    position: relative;
}

.numero-semestre {
    position: absolute;
    left: 0px;
    top: -12px;
    font-size: 53px;
    color: #caab56;
    font-weight: 600;
}


.plan_estudios div ul {
    position: relative;
    padding-left: 80px;
}

.plan_estudios div ul li {
    font-size: 13px;
    margin-bottom: 14px;
    list-style: none;
    position: relative;
}

.plan_estudios div ul li:before {
    content: "";
    height: 14px;
    width: 14px;
    background-color: #146836;
    font-size: 17px;
    position: absolute;
    border-radius: 50%;
    left: -22px;
    top: 3px;
}

@media only screen and (max-width: 768px) and (min-width: 300px)  {

    .header_oferta_titulo {
        font-size: 1.4rem;
        top: 15px;
        width: 90%;
    }

    .section-title {
        font-size: 1.2rem;
        margin: 1rem 0;
    }

    .plan_estudios div ul {
        position: relative;
        padding-left: 70px;
    }

    .plan_estudios div ul::before {
        left: 0px;
    }

    .seccion_conoce h1 {
        font-size: 1.6rem;
    }

    .seccion_conoce {
        padding: 15px;
    }

    .seccion_conoce h2 {
        font-size: 1rem;
        text-align: left;
    }   
    
    .welcome-section {
        padding: 0px 0px 0px 0% !important;
    }

    .plan_estudios div {
        gap: 20px;
        flex-wrap: wrap;
    }

    #plan_estudios .owl-nav {
        width: 100% !important;
        left: 0px !important;
    }

    #docentes .owl-nav {
        width: 94% !important;
        left: 10px !important;
    }

}



.owl-nav {
    width: 108%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    top: 40%;
    left: -50px;
}

.owl-prev, .owl-next {
  background-color: black !important;
  border: none !important;
  border-radius: 50%; /* hace el botón circular */
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer !important;
}

.owl-prev span, .owl-next span {
  color: white;
  font-size: 38px;
  user-select: none;
  height: 62px;
}

a.mostrar_informacion_profesor {
    background-color: #146836;
    color: #fff;
    text-decoration: none;
    padding: 7px 13px;
    border-radius: 12px;
    font-weight: 600;
    display: block;
    width: 165px;
    margin: 0 auto;
    margin-bottom: 20px;
    margin-top: 30px;
}



.card-profesor {
  display: flex;
  align-items: flex-start;
  background: #0f5a2a;
  overflow: hidden;
  max-width: 100%;
}

.card-profesor-img {
   /* verde */
   display: flex;
   align-items: center;
   justify-content: center;
   padding: 40px;
   width: 30%;
}

.card-profesor-img img {
  width: 210px;
  height: 210px;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid #d4af37; /* borde dorado */
}

.card-profesor-info {
  padding: 50px;
  flex: 1;
  background-color: #fff;
}

.card-profesor-info h2 {
  margin: 0 0 15px 0;
  color: #555;
  font-size: 24px;
  font-weight: bold;
}

.card-profesor-info div {
    margin: 10px 0;
    line-height: 1.6;
    color: #666;
    font-size: 16px;
    position: relative;
    padding-left: 30px;
}

.card-profesor-info div:first-of-type::before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    width: 5px;
    height: 100%;
    background: #b89b4c;
    border-radius: 0px;
}


@media (min-width: 576px) {
    .modal-dialog {
        max-width: 80%;
    }
}

.modal-body {
    padding: 0px;
}

button.btn-close {
    position: absolute;
    top: 20px;
    right: 20px;
}

@media only screen and (max-width: 768px) and (min-width: 300px)  {

    .card-profesor {
        display: block;
    }

    .card-profesor-img {
        padding: 20px;
        width: 100%;
    }

    .card-profesor-img img {
        width: 155px;
        height: 155px;
    }

    .card-profesor-info {
        padding: 20px;
    }


    .card-profesor-info h2 {
        font-size: 18px;
    }

    .card-profesor-info div {
        font-size: 12px;
        padding-left: 20px;
    }

}