/********** Template CSS **********/
:root {
    --primary: #fbb50f;
    --secondary: #757575;
    --light: #F3F6F8;
    --dark: #0C2B4B;
}

.py-6 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.my-6 {
    margin-top: 6rem;
    margin-bottom: 6rem;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    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-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-outline-primary:hover {
    color: #FFFFFF;
}

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

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

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

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


/*** Navbar ***/
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

/*.navbar .navbar-brand{*/
/*    height: 80px*/
/*}*/

.navbar .navbar-nav .nav-link {
    /*margin-right: 24px;*/
    /*padding: 24px 0;*/
    color: var(--dark);
    font-weight: 500;
    text-transform: uppercase;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        /*padding: 10px 0;*/
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }

    .py-6 {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(0, 0, 0, .75);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--primary);
    border: 10px solid var(--primary);
}


.whatsapp-btn{
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(180deg,#25D366 0%, #154d5e 100%);
    display:flex;
    align-items:center;
    justify-content:center;
    box-shadow: 0 8px 20px rgba(18,140,126,0.25);
    text-decoration: none;
    z-index: 9999;
    transform-origin: center;
    color: #fff;
    transition: transform .18s ease, box-shadow .18s ease;
    animation: wh-entrance 0.6s ease forwards, wh-pulse 2.6s infinite .6s;
}

.whatsapp-btn:hover{
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 14px 28px rgba(18,140,126,0.28);
    animation-play-state: paused;
}
.wh-icon{
    width: 34px;
    height: 34px;
    display:block;
    transition: transform .18s ease;
    transform: translateY(0);
    fill: currentColor;
}

.whatsapp-btn:focus{
    outline: none;
    box-shadow: 0 0 0 4px rgba(37,211,102,0.16), 0 10px 20px rgba(0,0,0,0.12);
    animation: wh-focus-bounce .5s ease;
}

@keyframes wh-entrance{
    from { opacity: 0; transform: translateY(18px) scale(.92); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes wh-pulse{
    0% { transform: scale(1); box-shadow: 0 8px 20px rgba(18,140,126,0.25); }
    50% { transform: scale(1.07); box-shadow: 0 18px 36px rgba(18,140,126,0.18); }
    100% { transform: scale(1); box-shadow: 0 8px 20px rgba(18,140,126,0.25); }
}

@keyframes wh-focus-bounce{
    0% { transform: translateY(0); }
    30% { transform: translateY(-6px); }
    60% { transform: translateY(0); }
    100% { transform: translateY(0); }
}

@media (max-width: 576px){
    .whatsapp-btn { right: 14px; bottom: 14px; width:56px; height:56px; }
    .wh-icon { width: 30px; height: 30px; }
}


@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }

    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .display-2{
        font-size: 2.5rem;
    }


    .whatsapp_phone {
        width: 50px;
        height: 50px;
    }
    .pulse-whatsapp {
        width: 50px;
        height: 50px;
    }

    .phone_icon img{
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 576px) {
    .logo{
        height: 50px !important;
    }
    .navbar-toggler{
        padding: .25rem 0.55rem;
    }
    .menu-toggler-icon {
        width: 1.2em;
        height: 1.2em;
    }
    .display-2{
        font-size: 1.6rem;
    }

    .py-6 {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .my-6 {
        margin-top: 2rem;
        margin-bottom: 2rem;
    }

}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .75), rgba(0, 0, 0, .75)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: #999999;
}


/*** Facts ***/
@media (min-width: 991.98px) {
    .facts {
        position: relative;
        margin-top: -75px;
        z-index: 1;
    }
}


/*** Courses ***/
.courses {
    min-height: 100vh;
    background: linear-gradient(rgba(255, 255, 255, .9), rgba(255, 255, 255, .9)), url(../img/carousel-1.jpg) center center no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

.courses-item .courses-overlay {
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .5);
    overflow: hidden;
    opacity: 0;
    transition: .5s;
}

.courses-item:hover .courses-overlay {
    height: 100%;
    opacity: 1;
}


/*** Team ***/
.team-items {
    margin: -.75rem;
}

.team-item {
    padding: .75rem;
}

.team-item::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    background: #FFFFFF;
    transition: .5s;
    z-index: -1;
}

.team-item:hover::after {
    height: 100%;
    background: var(--primary);
}

.team-item .team-social {
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .75);
    overflow: hidden;
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-social {
    height: 100%;
    opacity: 1;
}


/*** Testimonial ***/
.testimonial-carousel .owl-dots {
    height: 40px;
    margin-top: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 20px;
    height: 20px;
    background: transparent;
    border: 2px solid var(--primary);
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 40px;
    height: 40px;
    background: var(--primary);
}

.testimonial-carousel .owl-item img {
    width: 150px;
    height: 150px;
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--light);
    font-weight: normal;
    /*text-transform: capitalize;*/
    transition: .3s;
}

/*.footer .btn.btn-link::before {*/
/*    position: relative;*/
/*    content: "\f105";*/
/*    font-family: "Font Awesome 5 Free";*/
/*    font-weight: 900;*/
/*    color: var(--light);*/
/*    margin-right: 10px;*/
/*}*/

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    background: #092139;
}

.copyright a {
    color: var(--primary);
}

.copyright a:hover {
    color: var(--light);
}


.logo {
    height: 60px;
    width: auto;
}


.quiz-container {
    /*background-color: white;*/
    /*border-radius: 15px;*/
    /*box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);*/
    /*padding: 30px;*/
    max-width: 900px;
    width: 100%;
    margin: auto;
}

.question-block img {
    max-width: 636px;
    width: 100%;
}

/*.question {*/
/*    font-size: 1.2rem;*/
/*    margin-bottom: 20px;*/
/*}*/

.options {
    display: grid;
    gap: 10px;
}

.option {
    /*background-color: #f8f9fa;*/
    /*border: 2px solid #dee2e6;*/
    /*border-radius: 10px;*/
    /*padding: 15px;*/
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #7575757d;
    color: var(--secondary);
    /*opacity: .5;*/
}

/*.option:hover {*/
/*    background-color: #e9ecef;*/
/*}*/

.quiz-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
}

/*.shadow-sm {*/
/*    box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,0.075) !important*/
/*}*/

/*.shadow-lg {*/
/*    box-shadow: 0 1rem 3rem rgba(0,0,0,0.175) !important*/
/*}*/

.option.selected {
    border: 1px solid var(--primary);
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.175);
    background: #fbb50fad;
    color: #ffffff;
}

#quiz-answers-block .question-block {
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 24px;
    margin-bottom: 24px;
}



.heart {
    display: inline-block;
    margin: auto;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: #fbb50f;
    height: 10px;
    width: 10px;
    transform: rotate(-45deg);
    animation-name: beat;
    animation-duration: 1s;
    animation-iteration-count: infinite;
}

.heart:after {
    background-color: #fbb50f;
    content: "";
    border-radius: 50%;
    position: absolute;
    width: 10px;
    height: 10px;
    top: 0px;
    left: 5px;
}

.heart:before {
    background-color: #fbb50f;
    content: "";
    border-radius: 50%;
    position: absolute;
    width: 10px;
    height: 10px;
    top: -5px;
    left: 0px;
}

@keyframes beat {
    0% {
        transform: scale(1) rotate(-45deg);
    }
    50% {
        transform: scale(0.6) rotate(-45deg);
    }
}

.info-page img{
    max-width: 100%;
    object-fit: contain;
}
