/*** Spinner Start ***/

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

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

.wow,
.animated {
    animation-duration: 2s !important;
}

/*** Spinner End ***/

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    width: 50px;
    height: 50px;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    z-index: 99;
}

.back-to-top:hover {
    background: var(--bs-dark);
    color: var(--bs-primary);
}

body {
    font-family: 'Jost', sans-serif;
}

h1,
h2,
h3,
.h1,
.h2,
.h3 {
    font-weight: 700 !important;
    font-family: 'Jost', sans-serif;
    /*font-family: 'Open', sans-serif !important;*/
}


h4,
h5,
h6,
.h4,
.h5,
.h6 {
    font-weight: 600 !important;
    /*font-family: 'Open', sans-serif !important;*/
    font-family: 'Jost', sans-serif;
}

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


/*** Button Start ***/

.btn {
    font-weight: 600;
    transition: .5s;
}

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

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

.btn-md-square {
    width: 46px;
    height: 46px;
}

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

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

.btn.btn-primary:hover {
    color: var(--bs-primary) !important;
    background: var(--bs-dark) !important;
    border-color: var(--bs-dark) !important;
}

.btn.btn-dark:hover {
    color: var(--bs-dark) !important;
    background: var(--bs-primary) !important;
    border-color: var(--bs-primary) !important;
}

.round-bg-lg {
    height: 0;
    border-bottom: 50px solid var(--bs-primary);
    /* Lado izquierdo del trapecio */
    border-right: 30px solid transparent;
    /* Lado izquierdo del trapecio */
    display: inline-block;
}

.round-bg-sm {
    height: 0;
    border-bottom: 25px solid var(--bs-primary);
    /* Lado izquierdo del trapecio */
    border-right: 15px solid transparent;
}

.round-bg-sm a {
    color: var(--bs-dark);
}

.round-bg-sm a:hover {
    text-decoration: underline;
}


/*** Button End ***/


/*** Topbar Start ***/
.topbar .topbar-inner {
    height: 45px;
    padding: 10px 15px;
    background: rgba(255, 255, 255, .5);
}

.topbar a,
.topbar a i {
    transition: 0.5s;
}

.topbar a:hover,
.topbar a i:hover {
    color: var(--bs-primary) !important;
}

/*** Topbar End ***/


/*** Navbar Start ***/
.fixed-top {
    transition: .5s;
}

.navbar .navbar-nav .nav-link {
    padding-left: 20px;
    color: var(--bs-white);
    font-size: 17px;
    font-weight: 500;
    transition: .5s;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active,
.fixed-top.bg-white .navbar .navbar-nav .nav-link:hover,
.fixed-top.bg-white .navbar .navbar-nav .nav-link.active {
    color: var(--bs-primary);
}

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

@media (min-width: 992px) {
    .navbar-collapse {
        background: transparent !important;
    }

    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        background: var(--bs-light) !important;
        transition: .5s;
        opacity: 1;
    }
}

.navbar-toggler {
    color: var(--bs-light) !important;
    padding: 10px 20px;
    border: 2px solid var(--bs-primary) !important;
    box-shadow: none !important;
}

/*** Navbar End ***/


/*** Hero Header ***/
.hero-header {
    display: block;
    padding-top: 20vh;
    height: 100vh;
    background-size: cover;
    margin: 0 auto;
}

.hero-header-register {
    padding-top: 10vh;
    background-color: var(--bs-light);
    background-size: cover;
}

.header-info {
    overflow: hidden;
}

.hero-header-register-inner {
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.h1000 {
    height: 1000vh !important;
}

.spin-logo {
    height: 80%;
    background-image: url('../img/icononly_transparent_nobuffer_small.png');
    background-size: 50%;
    /*background-position: top;*/
    background-position: center;
    background-repeat: no-repeat;
    animation: spin 4s linear 0s infinite;
    /* Standard syntax */
    -webkit-animation: spin 4s linear 0s infinite;
    /* Webkit browsers */
    transform-origin: center;
}

.spin-logo-login {
    height: 50vh;
    background-image: url('../img/icononly_transparent_nobuffer_small.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    animation: spin 3.5s linear 0s;
    /* Standard syntax */
    -webkit-animation: spin 3.5s linear 0s;
    /* Webkit browsers */
    transform-origin: center;
}

@keyframes spin {
    0% {
        transform: rotateY(0deg);
    }

    100% {
        transform: rotateY(360deg);
    }
}

@media (max-width: 992px) {

    .spin-logo {
        display: none;
    }
}

/*** Hero Header ***/

.video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    /* Cover the full viewport width */
    height: 100vh;
    /* Cover the full viewport height */
    object-fit: cover;
    /* Maintain aspect ratio and cover the container */
}

/*** About Start ***/
.about a.btn.btn-light:hover {
    background: var(--bs-dark) !important;
    color: var(--bs-primary) !important;
    border: 0;
}

/*** About End ***/


/*** Activities Start ***/
.activities .activities-item {
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 45px rgba(12, 18, 20, .08);
    transition: 0.9s;
}

.activities .activities-item:hover {
    background: var(--bs-primary) !important;
    color: var(--bs-dark) !important;
}

.activities .activities-item:hover a {
    background: var(--bs-light) !important;
    color: var(--bs-dark) !important;
}

.activities .activities-item:hover a:hover {
    background: var(--bs-dark) !important;
    color: var(--bs-primary) !important;
}

/*** Activities End ***/


/*** Events Start ***/
.event-item img {
    transition: 0.5s;
}

.event .event-item a {
    transition: 0.5s;
}

.event-item:hover img {
    transition: 0.5s;
    transform: scale(1.2)
}

.event-item a:hover {
    background: var(--bs-dark);
    color: var(--bs-primary);
    opacity: 0.5s;
}

/*** Events End ***/


/*** Sermon Start ***/
.sermon .sermon-item {
    height: 100%;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.sermon-item img {
    transition: 0.5s;
}

.sermon-item:hover img {
    transform: scale(1.2)
}

.sermon-item .sermon-meta a,
.sermon-item .sermon-meta a i {
    transition: 0.5s;
}

.sermon-item .sermon-meta a:hover,
.sermon-item .sermon-meta a i:hover {
    color: var(--bs-primary) !important;
}

/*** Sermon End ***/


/*** Blog Start ***/
.blog-item {
    height: 100%;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.blog-item img {
    transition: 0.5s;
}

.blog-item:hover img {
    transform: scale(1.2)
}

.blog-item .blog-meta a,
.blog-item .blog-meta a i {
    transition: 0.5s;
}

.blog-item .blog-meta a:hover,
.blog-item .blog-meta a i:hover {
    color: var(--bs-primary) !important;
}

/*** Blog End ***/


/*** Team Start ***/

.team {
    max-width: 70%;
}

.team .team-item {
    position: relative;
    overflow: hidden;
}

.team .team-item img {
    transition: 0.5s;
}

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

.team .team-item .team-content {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    padding: 15px;
    transform: translateX(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.5s;
}

.team .team-item:hover .team-content {
    opacity: 1;
    background: rgba(241, 193, 82, 1);
}

/*** Team End ***/


/*** testimonial Start ***/
.testimonial-item {
    background: var(--bs-light);
    padding: 40px;
}

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

.testimonial-carousel {
    position: relative;
    padding-left: 60px;
    padding-right: 60px;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    width: 60px;
    height: 40px;
    background: var(--bs-primary);
    color: var(--bs-dark);
    font-size: 22px;
    top: 50%;
    left: 0px;
    transform: translateY(-50%);
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover {
    background: var(--bs-dark) !important;
    color: var(--bs-primary) !important;
}

.testimonial-carousel .owl-nav .owl-next {
    left: auto;
    right: 0px;
}

.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--bs-dark) !important;
    color: var(--bs-primary) !important;
}

/*** testimonial End ***/


/*** Footer Start ***/
.footer {
    margin-top: 6rem;
    background: var(--bs-dark);
}

.footer .footer-item p {
    font-size: 16px;
    line-height: 35px;
}

.footer .border-top,
.footer .border-bottom {
    border-color: rgba(255, 255, 255, .08) !important;
}

.footer button {
    border: 0;
    transition: 0.5s;
}

.footer button:hover {
    background: var(--bs-dark);
    color: var(--bs-primary);
}

.footer-item a.btn.btn-light:hover {
    background: var(--bs-primary);
    color: var(--bs-dark) !important;
    border: var(--bs-primary);
}

.footer-item a,
.footer-item a i {
    transition: 0.5s;
}

.footer-item a:hover,
.footer-item a i:hover {
    color: var(--bs-primary) !important;
}

/*** Footer End ***/

.settings {
    position: absolute;
    right: 5%;
    display: inline-block;
    align-items: left;
    justify-content: left;
    transition: 0.5s;
    z-index: 9999;
}

::-webkit-scrollbar {
    width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #888;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: var(--bs-primary);
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 767px) {

    .video {
        height: 100%;
        bottom: 0;
    }

    .team {
        max-width: 100%;
    }
}

@media (min-width: 767.1px) {
    .video {
        top: 0;
    }
}

.bg-img {
    background-image: url('../img/new-york.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    margin: 0;
    padding: 0;
}

.modal-content {
    position: relative;
    margin: auto;
    background-color: transparent;
    max-width: 700px;
    margin-top: 10%;
    padding: 0;
    border-style: none;
    /* Ensure no padding */
}

.close {
    color: white;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: red;
}

[type=radio] {
    display: none;
}


/*slider*/

#slider {
    height: 500px;
    position: relative;
    perspective: 1000px;
    transform-style: preserve-3d;
}

.slider img {
    object-fit: cover;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
}

#slider label {
    margin: auto;
    width: 60%;
    height: 100%;
    border-radius: 4px;
    position: absolute;
    left: 0;
    right: 0;
    cursor: pointer;
    transition: transform 0.4s ease;
}

#s1:checked~#slide1,
#s2:checked~#slide2,
#s3:checked~#slide3,
#s4:checked~#slide4,
#s5:checked~#slide5 {
    box-shadow: 0 13px 25px 0 rgba(0, 0, 0, .3), 0 11px 7px 0 rgba(0, 0, 0, .19);
    transform: translate3d(0, 0, 0);
}

#s1:checked~#slide2,
#s2:checked~#slide3,
#s3:checked~#slide4,
#s4:checked~#slide5,
#s5:checked~#slide1 {
    box-shadow: 0 6px 10px 0 rgba(0, 0, 0, .3), 0 2px 2px 0 rgba(0, 0, 0, .2);
    transform: translate3d(15%, 0, -100px);
}

#s1:checked~#slide3,
#s2:checked~#slide4,
#s3:checked~#slide5,
#s4:checked~#slide1,
#s5:checked~#slide2 {
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, .37);
    transform: translate3d(30%, 0, -200px);
}

#s1:checked~#slide4,
#s2:checked~#slide5,
#s3:checked~#slide1,
#s4:checked~#slide2,
#s5:checked~#slide3 {
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, .37);
    transform: translate3d(-30%, 0, -200px);
}

#s1:checked~#slide5,
#s2:checked~#slide1,
#s3:checked~#slide2,
#s4:checked~#slide3,
#s5:checked~#slide4 {
    box-shadow: 0 6px 10px 0 rgba(0, 0, 0, .3), 0 2px 2px 0 rgba(0, 0, 0, .2);
    transform: translate3d(-15%, 0, -100px);
}

.title-image {
    position: absolute;
    top: 10%;
    left: 50%;
    background-color: rgba(0, 0, 0, .9);
    padding: 10px;
    transform: translate(-50%, -50%);
    margin: 0;
    color: white;
    /* Set text color */
    text-align: center;
    /* Center-align the text */
}

.text-image {
    position: absolute;
    top: 50%;
    left: 50%;
    max-height: 80%;
    background-color: rgba(0, 0, 0, .9);
    padding: 10px;
    transform: translate(-50%, -50%);
    margin: 0;
    color: white;
    /* Set text color */
    text-align: center;
    /* Center-align the text */
}

.button-activities {
    position: relative;
}

#donut_chart {
    width: 100%;
    /* Ensure it takes the full width of its container */
    max-width: 900px;
    /* Limit the maximum width to 900px */
    height: auto;
    /* Let the height adjust automatically */
}

/* Media query for smaller screens */
@media (max-width: 1200px) {
    #donut_chart {
        max-width: 100%;
        /* Adjust to take full width on smaller screens */
    }
}

.stock {
    background-image: url(../img/pack/stock_management_1.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.joint_venture {
    background-image: url(../img/pack/joint_venture_3.webp);
    background-position: center;
}

.crypto_market {
    background-image: url(../img/pack/crypto_market.webp);
    background-position: center;
}

.franchising {
    background-image: url(../img/pack/franchising.jpeg);
    background-position: center;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.passive_income {
    background-image: url(../img/pack/passive_income.jpeg);
    background-position: center;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.foundation {
    background-image: url(../img/pack/little_girl.jpeg);
    background-position: center;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
}

.popup-content {
    background-color: #fff;
    width: 300px;
    margin: 100px auto;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
}

.close {
    float: right;
    cursor: pointer;
    z-index: 9999;
}

.graph-container {
    width: 100%;
    overflow-x: auto;
    margin-bottom: 20px;
    scrollbar-width: 100%;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE 10+ */
    border-radius: 5px;
}

.graph-container::-webkit-scrollbar {
    display: none !important;
    /* Webkit browsers */
}

.boxes{
    background-color: white; 
    border-radius: 10px;
    width: 100%;
    height: 100px;
    display: block;
    text-align: center;
    justify-content: center;
    align-items: center;
    padding: 10px;
    overflow: hidden;
}