body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
}

body {
    background: url(../img/Textura_triangulos.png) no-repeat center center fixed;
    background-size: cover;
}

.header {
    background: linear-gradient(to right, #f8f9fab0, #ffffff42);
    position: relative;
    padding: 1rem 2rem;
}

.header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 10px;
    width: 100%;
    background-color: #21643d;
    /* green bar */
}

.logo {
    height: 60px;
}

.nav-link {
    color: #616161 !important;
    font-weight: 700;
    margin: 0 1.5rem;
}

.nav-link:hover {
    color: #21643d !important;
}

@media (max-width: 768px) {
    .nav-link {
        margin: 0.5rem 0;
        display: block;
        text-align: center;
    }
}

.carousel-control-next-icon, .carousel-control-prev-icon {
    width: 3rem !important;
    height: 3rem !important;
    background-position: 11px !important;
    background-size: 54% !important;
    background-color: #000000 !important;
    border-radius: 50% !important;
    padding: 17px !important;
    opacity: 1 !important;
}

/* CARD */
.section-title {
    text-align: center;
    font-weight: 700;
    font-size: 3rem;
    margin: 2rem 0;
    color: #515151;
}

.card-edu {
    border: none;
    overflow: hidden;
    background-color: #146836;
}

.card-img-top {
    height: 211px;
    object-fit: cover;
    object-position: top;
}

.card-body {
    color: white;
    text-align: center;
    padding: 1rem 1rem 1.5rem;
}

.btn-custom:hover {
    background-color: #ffffff !important;
    color: #146836 !important;
}

.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 p {
    font-size: 1rem;
    color: #7f7f7f;
}
.seccion_conoce h2 {
    color: #515151;
    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
;
}

footer li, footer a {
    color: #c7c6c6 !important;
    text-decoration: none;
}



@media only screen and (max-width: 768px) and (min-width: 300px)  {

.carousel-inner img {
    height: 300px;
    object-fit: cover;
}

.section-title {
    font-size: 2rem;
    margin: 1rem 0;
}

.seccion_conoce h2 {
    font-size: 2rem;
    text-align: center;
}

.py-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
}

.welcome-section {
    padding: 0px 0px 0px 0%;
}

.welcome-text {
    padding: 1rem 1rem;
}

.footer_logo img {
    max-width: 52% !important;
    margin: 0 auto;
    display: block;
}

.footer_contacto li {
    margin-bottom: 20px !important;
}

.header {
    padding: 1rem 15px;
}

.justify-content-center {
    justify-content: center !important;
    gap: 8px 25px;
}

}