/********** Template CSS **********/
:root {
    --primary: #29fff7;
    --light: #F0FBFC;
    --dark: #181d38;
    --black: #161616
}

.fw-medium {
    font-weight: 600 !important;
}

.fw-semi-bold {
    font-weight: 700 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

/*** Button ***/
.btn {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #ebece8;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.align-center {
    text-align: center;
}

.align-left {
    text-align: end;
}

.whatsapp {
    background-color: #25d366 !important;
    text-align: left;
    color: #FFFFFF;
    border-radius: 30px;
}

.whatsapp:hover {
    color: #161616 !important;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 0px;
}

/* Page Headers */
.page-header-about,
.page-header-courses,
.page-header-contact,
.page-header-certifications,
.page-header-success,
.page-header-successs,
.page-header-successb,
.page-header-successp,
.page-header-succesEntre,
.page-header-succesISE,
.page-header-succesOTE,
.page-header-succesOPT,
.page-header-succesTEST,
.page-header-succesCENNI,
.page-header-succesGrad,
.page-header-workshops,
.page-header-courses,
.page-header-certificate {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 500px;
}

.page-header-about {
    background: linear-gradient(rgba(24, 29, 56, .7), rgba(24, 29, 56, .7)), url('../src/img/about.jpg');
    background-position-y:30%;
}

.page-header-contact {
    background: linear-gradient(rgba(24, 29, 56, .7), rgba(24, 29, 56, .7)), url('../src/img/contacto.jpg');
}

.page-header-certifications {
    background: linear-gradient(rgba(24, 29, 56, .7), rgba(24, 29, 56, .7)), url('../src/img/certificaciones.jpg');
    background-position-y: 30%;
}

.page-header-success {
    background: linear-gradient(rgba(24, 29, 56, .7), rgba(24, 29, 56, .7)), url('../src/img/embaja_nuevos.png');
    background-position-y: 25%;
}

.page-header-successs {
    background: linear-gradient(rgba(24, 29, 56, .7), rgba(24, 29, 56, .7)), url('../src/img/exito.jpg');
    background-position-y: 25%;
}

.page-header-successb {
    background: linear-gradient(rgba(24, 29, 56, .7), rgba(24, 29, 56, .7)), url('../src/img/avion.jpg');
    background-position-y: 2%;
}

.page-header-successp {
    background: linear-gradient(rgba(24, 29, 56, .7), rgba(24, 29, 56, .7)), url('../src/img/Examen.jpeg');
    background-position-y: 2%;
}

.page-header-succesEntre {
    background: linear-gradient(rgba(24, 29, 56, .7), rgba(24, 29, 56, .7)), url('../src/img/examen3.jpg');
   background-position:center;
}

.page-header-succesISE {
    background: linear-gradient(rgba(24, 29, 56, .7), rgba(24, 29, 56, .7)), url('../src/img/ISE.jpg');
    background-position-y: 41%;
    background-position-x: 23%;
}

.page-header-succesOTE {
    background: linear-gradient(rgba(24, 29, 56, .7), rgba(24, 29, 56, .7)), url('../src/img/toefl\ semi-intensivo.jpg');
    background-position-y:60%;
    background-position-x:10%;
}

.page-header-succesOPT {
    background: linear-gradient(rgba(24, 29, 56, .7), rgba(24, 29, 56, .7)), url('../src/img/per2.jpg');
    background-position:center;
}

.page-header-succesTEST {
    background: linear-gradient(rgba(24, 29, 56, .7), rgba(24, 29, 56, .7)), url('../src/img/cursos.jpg');
    background-position-y:60%;
    background-position-x:77%;
}

.page-header-succesToeic {
    background: linear-gradient(rgba(24, 29, 56, .7), rgba(24, 29, 56, .7)), url('../src/img/course-1.jpg');
    background-position-y:61%;
    background-position-x:18%;
}

.page-header-succesCENNI {
    background: linear-gradient(rgba(24, 29, 56, .7), rgba(24, 29, 56, .7)), url('../src/img/esp2.jpg');
    background-position:center;
}

.page-header-succesGrad {
    background: linear-gradient(rgaba(24, 29, 56, .7), rgba(24, 29, 56, .7)), url('../src/img/Graduados.jpg');
   background-position:center;
}

.page-header-workshops {
    background: linear-gradient(rgba(24, 29, 56, .7), rgba(24, 29, 56, .7)), url('../src/img/talleres.jpg');
   background-position:center;
}

.page-header-courses {
    background: linear-gradient(rgba(24, 29, 56, .7), rgba(24, 29, 56, .7)), url('../src/img/cursos.jpg');
   background-position:center;
}

.page-header-certificate {
    background: linear-gradient(rgba(24, 29, 56, .7), rgba(24, 29, 56, .7)), url('../../src/img/certificate.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-position-y: 55%;
}

.page-header-inner {
    background: rgba(15, 23, 43, .7);
}

.breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}

/*** Section Title ***/
.section-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
}

.section-title::before {
    position: absolute;
    content: "";
    width: calc(100% + 80px);
    height: 2px;
    top: 4px;
    left: -40px;
    background: var(--primary);
    z-index: -1;
}

.section-title::after {
    position: absolute;
    content: "";
    width: calc(100% + 120px);
    height: 2px;
    bottom: 5px;
    left: -60px;
    background: var(--primary);
    z-index: -1;
}

.section-title.text-start::before {
    width: calc(100% + 40px);
    left: 0;
}

.section-title.text-start::after {
    width: calc(100% + 60px);
    left: 0;
}

/*** Service ***/
.service-item {
    background: #07a09e;
    transition: .5s;
}

.category img,
.course-item img {
    transition: .5s;
}

.category a:hover img,
.course-item:hover img {
    transform: scale(1.1);
}

/*** Team ***/
.team-item img {
    transition: .5s;
}

.team-item:hover img {
    transform: scale(1.1);
}

/*** Testimonial ***/
.testimonial-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to right, rgb(13, 230, 193) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.testimonial-carousel::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to left, rgb(13, 230, 193) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.btn.btn-back {
    margin: 0 0 20px 0;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    font-weight: normal;
    border: 1px solid #FFFFFF;
    border-radius: 35px!important;
    transition: .3s;
    font-size: 2.5rem!important;
}

.btn.btn-back:hover {
    color: var(--primary);
}

p.mb-4 {
    text-align: justify !important;
}

/* carrusel */
.body.marquee-wrapper {
    display: flex;
    align-items: center;
    height: 100vh;
}

.marquee-wrapper {
    overflow: hidden;
}

.marquee {
    display: flex;
    animation-name: marquee;
    animation-duration: 30s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    animation-direction: alternate;
    transform: translateX(0);
}

.marquee img {
    padding: 1em;
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}

.card {
    background-color: var(--dark);
}

.card:hover {
    background-color: var(--primary);
}

.card a {
    color: #FFFFFF;
}

.card:hover a {
    color: var(--black);
}

.card:hover h4 {
    color: var(--black);
}

.carousel-item {
    transform: translateX(100%);
    transition: transform 0.5s ease-in-out;
}

.carousel-item.active {
    transform: translateX(0);
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
    color: white;
    font-size: 4em;
}

.position-relative:hover .play-icon {
    display: block;
}

.responsive {
    max-width: 100%;
    height: auto;
}

/* Media Queries */
@media (min-width: 300px) and (max-width: 768px) {
    /* Header Carousel */
    .header-carousel .owl-carousel-item {
        min-height: 300px;
    }
    
    .brand img {
        max-width: 180px;
    }
    
    /* Page Headers */
    .page-header-about,
    .page-header-contact,
    .page-header-certifications,
    .page-header-success,
    .page-header-successs,
    .page-header-successb,
    .page-header-successp,
    .page-header-succesEntre,
    .page-header-succesISE,
    .page-header-succesOTE,
    .page-header-succesOPT,
    .page-header-succesTEST,
    .page-header-succesCENNI,
    .page-header-succesGrad,
    .page-header-workshops,
    .page-header-courses,
    .page-header-certificate {
        height: 300px;
    }
    
    /* Section Title */
    .section-title::before,
    .section-title::after {
        width: calc(100% + 40px);
        left: -20px;
    }
    
    .section-title.text-start::before,
    .section-title.text-start::after {
        width: calc(100% + 20px);
    }
    
    /* Testimonial */
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 50px;
    }
    
    /* Back to top button */
    .back-to-top {
        right: 20px;
        bottom: 20px;
        width: 40px;
        height: 40px;
    }
}

@media (min-width: 769px) and (max-width: 992px) {
    /* Page Headers */
    .page-header-about,
    .page-header-contact,
    .page-header-certifications,
    .page-header-success,
    .page-header-successs,
    .page-header-successb,
    .page-header-successp,
    .page-header-succesEntre,
    .page-header-succesISE,
    .page-header-succesOTE,
    .page-header-succesOPT,
    .page-header-succesTEST,
    .page-header-succesCENNI,
    .page-header-succesGrad,
    .page-header-workshops,
    .page-header-courses,
    .page-header-certificate {
        height: 400px;
    }
    
    /* Testimonial */
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 150px;
    }
}

@media (min-width: 993px) {
    /* Testimonial */
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 300px;
    }
}

/* Header carousel navigation */
.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 15px;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    width: 40px;
    height: 40px;
    font-size: 20px;
}

@media (min-width: 768px) {
    .header-carousel .owl-nav {
        padding: 0 50px;
    }
    
    .header-carousel .owl-nav .owl-prev,
    .header-carousel .owl-nav .owl-next {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}