* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif
}

@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.5/font/bootstrap-icons.css");

/*-------------------top-header--------------------*/

.top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 50px;
    font-size: 12px;
    text-align: center;
    background: #02557D;
    color: white;
}

.top-header i {
    font-size: 16px;
}

.contacts {
    display: flex;
    align-items: center;
}

.contacts i {
    padding-right: 5px;
}

.phone {
    margin-right: 40px;
}

.social {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;

}

.social i {
    margin: 0 5px;
}

/*--------------------------header--------------------------*/

.navbar-collapse {
    justify-content: space-between;
    background: transparent;
    padding: 5px 70px;
}

.custom-navbar {
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}

.nav-container {
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}


.nav-item a {
    color: white;
    margin: 0 10px;
    font-size: 18px;
    width: 100%;
}

header {
    position: fixed;
    width: 100%;
    background: transparent;
    margin: 0;
    z-index: 999;
}

.header-color {
    background: #02557D;
    color: white;
}

.top-header-color {
    background: white;
    color: #02557D;
}

.top-i {
    color: #02557D;
}

.logo-responsive {
    display: none;
    padding: 5px;
}

/*-----------------------Section hero------------------------*/

#hero {
    background-size: cover;
    height: 800px;
    width: 100%;
    margin: 0;
    padding: 0;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.video-back {
    position: absolute;
    object-fit: cover;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-content {
    z-index: 1;
    position: relative;
    display: flex;
    height: 100%;
    justify-content: space-between;
    align-items: center;
    padding: 0 100px;
}

.welcome h2 {
    position: relative;
    padding-bottom: 20px;
    font-size: 25px;
}

.welcome h2::after {
    content: "";
    position: absolute;
    width: 170px;
    height: 3px;
    background: #FFB749;
    z-index: 2;
    top: 45px;
    left: 0;
}

.welcome h3 {
    font-size: 40px;
    font-family: "Preahvihear", "sans-serif";
    font-weight: bold;
}

.welcome button {
    margin-top: 20px;
    height: 40px;
    border: 1px solid white;
    width: 200px;
    font-size: 18px;
}

.form-container {
    width: 350px;
}

.form-title {
    background: #02557D;
    border-bottom: 3px solid #FFB749;
    padding: 5px;
    border-radius: 10px 10px 0 0;
}

.form-container form {
    background: white;
    border-radius: 0 0 10px 10px;
    padding: 20px 30px;
}

.form-container form .row div {
    padding: 0 5px;
}

.form-container form input {
    background: #D9D9D9;
    border-radius: 10px;
    border: 0px;
    width: 100%;
    height: 30px;
    margin: 10px 0;
    padding-left: 20px;
    font-size: small;
}

.form-container form input:focus {
    outline: none;
    border: 1px solid #FFB749;
}

.form-container form textarea {
    background: #D9D9D9;
    border-radius: 10px;
    border: 0px;
    width: 100%;
    height: 100px;
    margin: 10px 0;
    padding-top: 5px;
    padding-left: 20px;
    font-size: small;
}

.form-container form textarea:focus {
    outline: none;
    border: 1px solid #FFB749;
}

.hero-button {
    width: 100%;
    height: 30px;
    background: #FFB749;
    border-radius: 20px;
    border: 0;
    color: white;
    font-size: small;
}

.hero-button:hover {
    background: #f5c173;
    transition: 0.3s;
}

/*-------------------------Section 2-------------------------*/

#courses {
    height: 600px;
    width: 100%;
    background: white;
    padding: 40px 100px;
    color: #053e5a;
}

.courses-respondive {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.title-h2 {
    position: relative;
    font-size: 21px;
    padding-bottom: 20px;
    font-weight: bold;

}

.title-h2::after {
    content: "";
    position: absolute;
    height: 3px;
    width: 250px;
    background: #FFB749;
    left: 0;
    top: 33px;
}

.title-h3 {
    position: relative;
    font-size: 23px;
    font-family: "Preahvihear", "sans-serif";
    margin-top: -10px;
    font-weight: bold;
}

.title-h3::after {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #FFB749;
    left: -20px;
    top: -35px;
}

#courses .cour-col {
    display: flex;
    align-items: center;
    justify-content: center;
}

.course-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 215px;
    box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    margin-top: 50px;

}

.courses-img img {
    width: 215px;
    height: 160px;
    border-radius: 10px 10px 0 0;
    border-bottom: 7px solid #053e5a;
}

.course-content {
    display: flex;
    align-items: center;
    flex-direction: column;
    border-radius: 0 0 10px 10px;
    padding: 5px 20px 20px 20px;
    font-weight: bold;
    font-family: "Preahvihear", "sans-serif";
    border-top: 7px solid #FFB749;
}

.text-course div {
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: bold;
    justify-content: center;

}

.course-content button {
    margin-top: 20px;
    width: 75%;
    font-size: 11px;
    height: 25px;
}

.courses-button {
    width: 150px;
    margin-top: 50px;
    height: 35px;
    font-size: medium;
    background: white;
    color: #FFB749;
    border: 2px solid #FFB749;
    padding: 5px;
}

.courses-button:hover {
    background: #FFB749;
    color: white;
    transition: 0.3s;
}

/*---------------------About Us-------------------*/

.aboutUs-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 500px;
    background: linear-gradient(to bottom, #02557D, #0c74a8);
    padding: 40px 100px;
    color: white;
}

.about-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    height: 300px;
}

.about-text {
    width: 400px;
}

.about-content button {
    height: 40px;
    border: 1px solid white;
    width: 200px;
    font-size: 18px;
}

.img-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.about-img-container {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #90bfda;
    border-radius: 10px;
    width: 430px;
    height: 280px;

}

.about-img-container img {
    width: 420px;
    height: 270px;
    border-radius: 10px;
}

.aboutUs-container2 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    align-items: center;
    justify-content: center;
    height: 30vh;
    background: url(imagenes/BACKGROUND\ BENEFITS.jpg);
    background-size: cover;
    padding: 20px 100px;
}

.caracters {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.about-logo {
    display: flex;
    position: relative;
    align-items: center;
    justify-content: center;
    background: white;
    width: 80px;
    padding: 15px;
    border-radius: 50%;
    overflow: hidden;
}

.about-logo::after {
    content: "Benefits";
    font-size: 14px;
    font-weight: bold;
    color: white;
    background: linear-gradient(to bottom, #053e5a8f, #053e5a8f);
    position: absolute;
    inset: 0;
    /* Con las siguientes 2 líneas consigo centrar el contenido en el div tanto en X como en Y */
    display: grid;
    place-items: center;
    transform: translateY(100%);
    /* Lo saco del div para que no se vea */
    transition: transform .4s;
}

.about-logo:hover::after {
    transform: translateY(0);
    /* Lo muevo al div */
}

.about-logo img {
    width: 50px;
}

.caracter {
    font-size: 20px;
    color: white;
    width: 100px;
}

.about-button-2 {
    display: none;
}

.about-button-2 button {
    height: 40px;
    border: 1px solid white;
    width: 200px;
    font-size: 18px;
    margin-top: 40px;

}

/*--------------------Section Careers----------------*/

#careers {
    height: 800px;
    background: white;
    padding: 40px 100px;
    color: #053e5a;
}

.careers-container {
    width: 100%;
    height: 90%;
    color: white;
    margin: 50px 0;
}

.careers-container-2 {
    width: 100%;
    height: 90%;
    color: white;
    margin: 50px 0;
    display: none;
}

.career {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 20px 30px;
    border-radius: 10px;
    margin: 10px 20px;
    font-size: 20px;
    font-weight: bold;
    position: relative;
    overflow: hidden;
    background: linear-gradient(to bottom, #053e5a8f, #053e5a8f);
}

.career div {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 1;
    left: 0;
    top: 0;
    background-size: cover !important;
    transition: 0.5s;
}

.career:hover div {
    transform: scale(1.5);
    transition: 0.5s;
    background-size: cover;
}

.c-img-1 {
    background: linear-gradient(to bottom, #053e5a8f, #053e5a8f), url(imagenes/IMAGE\ \ CATEGORY\ ADMINISTRATION.jpg);
}

.career-1 {
    height: 300px;
}

.c-img-2 {
    background: linear-gradient(to bottom, #053e5a8f, #053e5a8f), url(imagenes/IMAGE\ \ CATEGORY\ ACCOUNTING.jpg);
}

.career-2 {
    height: 300px;
}

.c-img-3 {
    background: linear-gradient(to bottom, #053e5a8f, #053e5a8f), url(imagenes/IMAGE\ \ CATEGORY\ MATHEMATICS.jpg);
}

.career-3 {
    height: 140px;
}

.c-img-4 {
    background: linear-gradient(to bottom, #053e5a8f, #053e5a8f), url(imagenes/IMAGE\ \ CATEGORY\ PROGRAMMING.jpg);
}

.career-4 {
    height: 140px;
}

.c-img-5 {
    background: linear-gradient(to bottom, #053e5a8f, #053e5a8f), url(imagenes/IMAGE\ \ CATEGORY\ ARCHITECTURE.jpg);
}

.career-5 {
    height: 140px;
}

.c-img-6 {
    background: linear-gradient(to bottom, #053e5a8f, #053e5a8f), url(imagenes/IMAGE\ \ CATEGORY\ BIOLOGY.jpg);
}

.career-6 {
    height: 140px;
    margin-right: 45px;
}

.careers-container button {
    width: 100px;
    z-index: 2;
}

.careers-container-2 button {
    width: 100px;
    z-index: 2;
}

.career p {
    z-index: 2;
}

#careers .team-container-button {
    margin-top: -160px;
}

/*-------------------------Section team---------------*/

#team {
    height: 600px;
    background: #EFEFEF;
    padding: 40px 100px;
    color: #053e5a;
    max-width: 100%;
}

#carousel-team {
    width: 100%;
    height: 400px;
    display: none;
    justify-content: center;
}

#carousel-team .carousel-item.active {
    display: flex;
    justify-content: center;
}

.team-card-container {
    width: 220px;
    box-shadow: none;
}

.team-container .col {
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-back {
    background: url(imagenes/IMAGE\ BACKGROUND\ CARD\ TEAM\ \ \(1\).jpg);
    background-size: cover;
    position: relative;
    height: 100px;
    width: 100%;
    border: 0;
    border-radius: 10px 10px 0 0;
}

.team-img {
    position: absolute;
    background: white;
    padding: 5px;
    border-radius: 50%;
    top: 38px;
    left: 48px;
}

.team-img img {
    border-radius: 50%;
    width: 110px;
    height: 110px;
}

.team-card {
    height: 200px;
    border: 0;
    border-radius: 0 0 10px 10px;
    padding-top: 70px;
    background: white;

}

.team-card .text-1 {
    color: #053e5a;
    font-size: 18px;
    font-family: "Ubuntu", "sans-serif";
}

.team-card .text-2 {
    color: #FFB749;
    font-size: 19px;
    font-family: "sans-serif";
}

.team-card button {
    height: 30px;
}

.team-container-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 50px;
}

.team-container-button button {
    width: 180px;
    height: 40px;
    font-size: 20px;
}

/*---------------------Section Opinions-------------------*/

#opinions {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 450px;
    width: 100%;
    background: white;
    padding: 40px 50px;
}

.opinions-container {
    background: linear-gradient(to bottom, #053e5a8f, #053e5a8f), url(imagenes/IMAGE\ \ CATEGORY\ PROGRAMMING.jpg);
    background-size: cover;
    height: 100%;
    width: 80%;
    padding: 40px 10px;
    color: white;
}

.text-opinions {
    flex-direction: column;
    width: 220px;
}

.text-opinions .text-1 {
    font-size: 10px;
}

.text-opinions .text-2 {
    font-size: 22px;
    font-weight: bold;
    text-align: center;
}

.carousel {
    width: 250px;
}

#opinions .carousel-item {
    background: url(imagenes/person_1.jpg);
    background-size: cover;
    height: 250px;
    position: relative;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(108%);
}

.carousel-indicators button {
    filter: invert(108%);
}

.position-relative {
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-button {
    position: absolute;
    background: transparent;
    z-index: 1;
    border: 0;
}

.play-button i {
    color: #f05f1c;
    font-size: 50px;
}

.person-name {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 30px;
    font-size: small;
    font-family: "Ubuntu", "sans-serif";
    font-weight: bold;
    background: white;
    color: #f05f1c;
    bottom: 5px;
    z-index: 9;
    border-radius: 10px;
    padding: 0 10px;
}

.carousel-indicators button {
    margin-bottom: 10px;
}

/*-------------------------Footer-----------------------*/

#footer {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 350px;
    background-color: #02557D;
    padding: 40px 80px 0 80px;
    font-size: 14px;
    color: white;
}

#footer .navbar-nav {
    margin-bottom: 20px;
}

#footer h3 {
    color: #FFB749;
    font-size: 20px;
    font-family: "Ubuntu", "sans-serif";
    font-weight: bold;
}

#footer a {
    font-size: 14px;
    color: white;
    text-decoration: none;
}

#footer .nav-link {
    padding: 0;
    margin: 8px 0;
}

#footer .contacts i {
    padding-right: 10px;
}

#footer .contacts {
    justify-content: flex-start;
    flex-direction: column;
    align-items: flex-start;
}

.contact-item {
    display: flex;
    align-items: center;
    margin: 5px 0;

}

.newsletter {
    width: 180px;
}

.newsletter-bar {
    width: 200px;
    background: white;
    height: 34px;
    border-radius: 20px;
}

.newsletter-bar button {
    height: 30px;
    width: 80px;
    border-radius: 20px;
    margin-right: 2px;
    background: #FFB749;
    color: white;
    font-weight: bold;
    border: 0;
}

.final {
    border-top: 1px solid #648896;
}

.final .col {
    display: flex;
    align-items: center;
    width: 100%;
}

.final p {
    margin-top: 20px;
}

@media (max-width: 1200px) {
    #courses {
        padding: 40px 20px;
    }

    #courses .title-h2 {
        margin-left: 10%;
    }

    #courses .title-h3 {
        margin-left: 10%;
    }

    #team {
        height: 975px;
    }
}

@media (max-width: 992px) {

    .navbar-toggler {
        z-index: 10;
        border: none;
        border-radius: 0 !important;
        background: #02557D !important;
    }

    .navbar-toggler:focus {
        display: none;
    }

    /*------------------hero-----------------*/

    #hero {
        height: 800px;
        background: black;
        padding-top: 32px;
    }

    .welcome {
        margin-top: 50px;
    }

    .form-container {
        margin-top: 50px;
    }

    /*----------------courses---------------*/

    #courses {
        height: 950px;
    }

    /*---------------about us---------------*/

    .aboutUs-container {
        height: 750px;
        justify-content: space-between;
    }

    .about-content {
        justify-content: center;
    }

    .about-button-1 {
        display: none;
    }

    .about-button-2 {
        display: flex;
    }

    .about-text {
        margin-top: 20px;
    }

    /*----------------career---------------*/

    #careers {
        height: 1650px;
    }

    .career {
        height: 200px;
        width: 100%;
    }

    .careers-container {
        display: none;
    }

    #careers .team-container-button {
        margin-top: -100px;
    }

    .careers-container-2 {
        display: flex;
    }

    .careers-container-2 .row>* {
        padding-left: 0;
    }

    .careers-container-2 .col-sm-12 {
        width: 100%;
    }

    /*-----------------opinions-------------*/

    #opinions {
        height: 750px;
    }

    /*----------------footer------------------*/

    #footer {
        padding: 40px 20px;
        height: 450px;
    }

    .footer-logo-container {
        margin-bottom: 30px;
    }

    .phone {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .mail {
        flex-direction: column;
    }

}

@media (max-width: 798px) {
    .top-header {
        padding: 5px 15px;
    }

    .navbar-brand {
        display: none;
    }

    .navbar-collapse {
        z-index: 9;
        position: absolute;
        top: 0;
        right: 0;
        border-radius: 10px;
    }

    .logo-responsive {
        display: flex;
        padding: 10px 20px;
    }

    .responsive-button {
        margin-right: 20px;
        background: white !important;
        border-radius: 10px !important;
    }

    .responsive-button span {
        color: white;
    }



    /*----------------hero-----------------*/

    .form-container {
        width: 300px;
    }

    .hero-content {
        padding: 0;
    }

    .hero-content h3 {
        font-size: 25px;
    }

    /*--------------aboutUs----------------*/

    .aboutUs-container2 {
        padding: 20px 40px;
    }

    /*---------------careers-------------*/

    #careers {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .careers-container-2 .col-sm-12 {
        width: 100%;
    }

    /*---------------team------------------*/

    #team {
        height: 600px;
    }

    #team .team-container-button {
        margin-top: 10px;
    }

    #carousel-team {
        display: flex;
    }

    .team-container .container {
        display: none;
    }
}


@media (max-width: 580px) {
    .social {
        margin: 0;
        padding: 0;
    }

    .social a {
        margin: 3px;
    }

    .top-header .phone {
        margin-right: 20px;
    }

    .top-header .mail {
        margin-right: 10px;
    }



    /*-------------courses---------*/

    #courses {
        height: 1650px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .title-h2 {
        font-size: 19px;
    }

    .title-h2::after {
        width: 200px;

    }

    .title-h3 {
        font-size: 17px;
    }

    .aboutUs-container {
        padding: 40px 40px;
    }

    .about-content {
        align-items: center;

    }

    .about-button-2 {
        justify-content: center;
    }

    .aboutUs-container2 {
        grid-template-columns: 1fr 1fr;
        height: 380px;
        padding: 20px 20px;
    }

    .about-text {
        font-size: 14px;
        max-width: 300px;
    }

    #careers {
        padding: 40px 40px;
        height: 1650px;
    }

    #careers .team-container-button {
        margin-top: -100px;
    }

    #team {
        padding: 40px 10px;
    }

    .team-title {
        margin-left: 50px;
    }

    .team-card {
        width: 100%;
    }

    #opinions {
        padding: 40px 0;
    }

    .col-foot {
        margin-bottom: 40px;
    }

    #footer {
        height: 900px;
    }

    .newsletter-bar {
        margin-bottom: 20px;
    }

}