/*** Spinner Start ***/

/*** 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;
}

/*** Spinner End ***/

/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

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

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

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

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

.btn-xl-square {
    width: 66px;
    height: 66px;
}

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

.btn.btn-primary {
    color: var(--bs-white);
}

.btn.btn-primary:hover {
    background: var(--bs-secondary);
    border: 1px solid var(--bs-secondary);
}

.btn.btn-secondary {
    color: var(--bs-white);

}

.btn.btn-secondary:hover {
    background: var(--bs-primary);
    border: 1px solid var(--bs-primary);
}

/*** Topbar Start ***/

/* Navbar */
.navbar-light .navbar-nav .nav-link {
    position: relative;
    margin-right: 25px;
    padding: 35px 0;
    color: var(--bs-white);
    font-size: 17px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    outline: none;
    transition: padding 0.3s ease, color 0.3s ease;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 0;
    color: var(--bs-white);
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--bs-white);
    padding: 25px 0;
}

.navbar-light .navbar-brand img {
    max-height: 60px;
    transition: max-height 0.3s ease;
}

.sticky-top.navbar-light .navbar-brand img {
    max-height: 45px;
}

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

.dropdown .dropdown-menu a:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

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

.navbar-toggler {
    background-color: white;
    border: none;
}

.navbar-toggler-icon {
    background-color: var(--bs-white);
}

@media (max-width: 991.98px) {
    .sticky-top.navbar-light {
        position: relative;
        background: var(--bs-primary);
    }

    .navbar.navbar-expand-lg .navbar-toggler {
        padding: 10px 20px;
        border: 1px solid var(--bs-primary);
        color: var(--bs-primary);
    }

    .navbar-light .navbar-collapse {
        margin-top: 15px;
        border-top: 1px solid rgba(0, 0, 0, .08);
    }

    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
        margin-left: 0;
        color: var(--bs-white);
    }

    .navbar-light {
        background: var(--bs-primary);
    }

    .navbar-light .navbar-brand img {
        max-height: 45px;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        border-radius: 10px;
        transition: transform 0.5s ease, opacity 0.5s ease;
        opacity: 0;
    }

    .navbar-light {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        border-top: 0;
        border-right: 0;
        background: var(--bs-primary);
        z-index: 999;
        border: none;
    }

    .sticky-top.navbar-light {
        position: fixed;
        background: var(--bs-primary);
        border: none;
    }

    .navbar-light .navbar-nav .nav-item::before {
        position: absolute;
        content: "";
        width: 0;
        height: 2px;
        bottom: -1px;
        left: 50%;
        background: var(--bs-primary);
        transition: width 0.5s ease, left 0.5s ease;
    }

    .sticky-top.navbar-light .navbar-nav .nav-item::before {
        bottom: 0;
    }

    .navbar-light .navbar-nav .nav-item::after {
        content: "";
        position: absolute;
        bottom: 1px;
        left: 50%;
        transform: translateX(-50%);
        border: 10px solid;
        border-color: transparent transparent var(--bs-primary) transparent;
        opacity: 0;
        transition: opacity 0.5s ease;
    }

    .navbar-light .navbar-nav .nav-link.nav-contact::before {
        display: none;
    }
}

/*** Carousel Hero Header Start ***/
.carousel-header {
    position: relative;
    overflow: hidden;
}

.carousel-inner {
    width: 100%;
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-indicators {
    display: none;
}

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

.carousel .carousel-control-prev .carousel-control-prev-icon,
.carousel .carousel-control-next .carousel-control-next-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 25px 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bs-primary);
    transition: 0.5s;
}

.carousel .carousel-control-prev .carousel-control-prev-icon {
    left: 0;
    border-left: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 50px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 50px;
}

.carousel .carousel-control-next .carousel-control-next-icon {
    right: 0;
    border-right: 0;
    border-top-left-radius: 50px;
    border-top-right-radius: 0;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 0;
}

.carousel .carousel-control-prev .carousel-control-prev-icon:hover,
.carousel .carousel-control-next .carousel-control-next-icon:hover {
    background: var(--bs-redark);
}

.carousel .carousel-inner .carousel-item {
    position: relative;
    height: 1000px;
}

.carousel .carousel-inner .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel .carousel-inner .carousel-item .carousel-caption-2 {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    padding-top: 100px;
    padding-bottom: 100px;
    display: flex;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, 0.5));
    background-size: cover;
}

.carousel-caption-2-content {
    text-align: start;
    padding-left: 100px;
}

.carousel-caption-2-content .carousel-caption-2-content-btn {
    display: flex;
    justify-content: start;
}

@media (max-width: 992px) {
    .carousel .carousel-inner .carousel-item {
        height: 700px;
        margin-top: -100px;
    }

    .carousel .carousel-inner .carousel-item img {
        height: 700px;
        object-fit: cover;
    }

    .carousel .carousel-inner .carousel-item .carousel-caption-2 {
        max-width: 100% !important;
        justify-content: center;
    }

    .carousel-caption-2-content {
        padding: 0 20px !important;
        text-align: center !important;
    }

    .carousel-caption-2-content .carousel-caption-2-content-btn {
        justify-content: center;
    }

    .carousel .carousel-control-prev .carousel-control-prev-icon,
    .carousel .carousel-control-next .carousel-control-next-icon {
        display: none;
    }
}

.modal .modal-header {
    height: 100px;
}

#searchModal .modal-content {
    background: rgba(255, 255, 255, .6);
}
/*** Carousel Hero Header End ***/

/*** Modal Start ***/
.custom-modal-overlay {
    background: rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1055;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.custom-modal-dialog {
    max-width: 700px;
    width: 90%;
    margin: auto;
    position: relative;
}

.custom-modal-content {
    border-radius: 25px;
    overflow: hidden;
    background-color: #fff;
    position: relative;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.custom-btn-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #333;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.custom-btn-close:hover {
    background: #444;
}

.custom-modal-body img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.modal-logo-container {
    background-color: var(--bs-light);
    padding: 20px;
    text-align: center;
}

.custom-modal-content .logo-img {
    margin: 0 auto;
    display: block;
    max-width: 200px;
    height: auto;
}

.custom-btn-primary {
    background-color: var(--bs-primary);
    border: none;
    color: #fff;
    font-weight: bold;
    padding: 12px 24px;
    font-size: 1rem;
    transition: background-color 0.3s ease;
    border-radius: 20px;
    display: block;
    margin: 0 auto;
}

.custom-btn-primary:hover {
    background-color: var(--bs-secondary);
    color: #fff;
}

/*** Modal End ***/

/*** Features Start ***/
.feature .feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--bs-white);
    border-radius: 10px;
    transition: 0.5s;
}

.feature .feature-item:hover {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.feature .feature-item .feature-icon {
    width: 100px;
    height: 100px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bs-primary);
}

.feature .feature-item .feature-icon i {
    transition: 0.5s;
}

.feature .feature-item:hover .feature-icon i {
    transform: rotate(360deg);
}

.feature .feature-item a.btn {
    transition: 0.5s;
}

.feature .feature-item:hover a.btn:hover {
    color: var(--bs-primary) !important;
}

/*** Features End ***/

/*** Single Page Hero Header Start ***/
.bg-breadcrumb .breadcrumb {
    position: relative;
}

.bg-breadcrumb .breadcrumb .breadcrumb-item a {
    color: var(--bs-white);
}

@media (max-width: 992px) {
    .bg-breadcrumb {
        padding: 60px 0 60px 0;
    }
}

/*** Single Page Hero Header End ***/

/*** Features Start ***/
.feature .feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--bs-white);
    border-radius: 10px;
    transition: 0.5s;
}

.feature .feature-item:hover {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.feature .feature-item .feature-icon {
    width: 100px;
    height: 100px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bs-primary);
}

.feature .feature-item .feature-icon i {
    transition: 0.5s;
}

.feature .feature-item:hover .feature-icon i {
    transform: rotate(360deg);
}

.feature .feature-item .feature-icon img {
    width: 65%;
    height: 65%;
    object-fit: contain;
    transition: 0.5s;
}

.feature .feature-item:hover .feature-icon img {
    transform: rotate(360deg);
}

.feature .feature-item a.btn {
    transition: 0.5s;
}

.feature .feature-item:hover a.btn:hover {
    color: var(--bs-primary) !important;
}

/*** Features End ***/

/*** Information Start ***/
.image-card {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    height: 100%;
}

.image-card img {
    transition: transform 0.4s ease, filter 0.4s ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-card:hover img {
    transform: scale(1.1);
    filter: brightness(70%);
}

.image-card .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(249, 17, 0, 0.2);
    border-radius: 16px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.image-card:hover .overlay {
    opacity: 1;
}

.image-card .overlay .content {
    text-align: center;
    color: white;
}

.image-card .overlay h5 {
    font-size: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.custom-btn {
    background: linear-gradient(90deg, #ea720f, #bc1c21);
    border: none;
    color: white;
    text-transform: uppercase;
    font-weight: bold;
    padding: 12px 30px;
    border-radius: 50px;
    transition: background 0.4s ease, color 0.4s ease, transform 0.4s ease, box-shadow 0.3s ease;
}

.custom-btn:hover {
    background: linear-gradient(90deg, #bc1c21, #ea720f);
    color: #fff;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    transform: scale(1.05);
}

/*** Information End ***/

/*** About Start ***/
.about {
    margin-top: 60px;
    /* Ajusta el valor según lo que necesites */
}

.about .about-img {
    position: relative;
    padding-bottom: 30px;
    margin-top: 30px;
    margin-left: 30px;
}

.about .about-img::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 10px;
    top: -30px;
    right: 0;
    border-radius: 10px;
    background: var(--bs-secondary);

}

.about .about-img::after {
    content: "";
    position: absolute;
    width: 10px;
    height: 100%;
    left: -30px;
    bottom: 30px;
    border-radius: 10px;
    background: var(--bs-secondary);
}

.about .about-img .about-exp {
    position: absolute;
    top: 0;
    left: 0;
    padding: 25px;
    font-size: 30px;
    font-weight: bold;
    background: var(--bs-secondary);
    color: var(--bs-white);
    border: 1px solid var(--bs-secondary);
    margin-top: -30px;
    margin-left: -30px;
    border-radius: 10px;
}

/*** About End ***/

/*** Mision and Vision Start ***/
.mision-vision .container-fluid {
    background-color: transparent;
}

.mision-vision .card {
    background-color: white;
    border-radius: 10px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.mision-vision .card:hover {
    background-color: #bc1c21;
}

.mision-vision .card:hover .icon-danger,
.mision-vision .card:hover .title-danger,
.mision-vision .card:hover .card-text {
    color: white;
}

.mision-vision .card-title {
    color: #bc1c21;
    font-weight: bold;
}

.mision-vision .mission-card,
.mision-vision .vision-card {
    padding: 30px;
}

.mision-vision .fas {
    color: #bc1c21;
}

.mision-vision .icon-danger {
    color: #bc1c21;
}

.mision-vision .title-danger {
    color: #bc1c21;
}
/*** Mision and Vision End ***/

/*** About Animate Circle Start***/
.animation-container {
    position: absolute;
    top: 100%;
    width: 100%;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: -75px;
    visibility: hidden;
    z-index: 10;
}

.line {
    position: absolute;
    height: 12px;
    background: var(--bs-primary);
    animation: move-line 2s ease-in-out forwards;
}

.line-left {
    width: 50%;
    left: 0;
    animation-delay: 0s;
}

.line-right {
    width: 50%;
    right: 0;
    animation-delay: 0s;
}

.circle {
    position: absolute;
    width: 0;
    height: 0;
    background-color: #fff4e6;
    border: 8px solid #bc1c21;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    animation: form-circle 2s ease-in-out forwards;
}

.logo {
    width: 60%;
    height: auto;
    opacity: 0;
    animation: fade-in-logo 2s ease-in-out forwards;
}

@keyframes move-line {
    0% {
        width: 0;
    }

    50% {
        width: 50%;
    }

    100% {
        width: 50%;
    }
}

@keyframes form-circle {
    0% {
        width: 0;
        height: 0;
    }

    50% {
        width: 0;
        height: 0;
    }

    100% {
        width: 200px;
        height: 200px;
    }
}

@keyframes fade-in-logo {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.wow {
    visibility: hidden;
}

.wow.animated {
    visibility: visible;
}

/*** About Animate Circle End***/

/*** Service Start ***/
.service-item {
    position: relative;
    background: var(--bs-white);
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.service-item::after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    left: 0;
    bottom: 0;
    border-radius: 10px;
    background: var(--bs-primary);
    transition: 0.5s;
    z-index: 1;
}

.service-item:hover::after {
    width: 100%;
    height: 100%;
}

.service-item:hover .service-content,
.service-item:hover .service-btn {
    position: relative;
    z-index: 2;
}

.service-item .service-content a,
.service-item .service-content p {
    transition: 0.5s;
}

.service-item:hover .service-content a:hover {
    color: var(--bs-white);
}

.service-item:hover .service-content p {
    color: var(--bs-white);
}

.service-item .service-btn {
    width: 80px;
    height: 80px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bs-primary);
    transition: 0.5s;
}

.service-item .service-btn i {
    transition: 0.5s;
}

.service-item:hover .service-btn {
    background: var(--bs-white);
}

.service-item:hover .service-btn i {
    transform: rotate(360deg);
    color: var(--bs-primary) !important;
}

/*** Service End ***/

/*** Courses Start ***/
.course {
    margin-top: 160px;
}

h5.card-title {
    font-weight: bold;
    color: black;
}

.custom-line {
    height: 3px;
    background-color: #bc1c21;
    margin: 20px 0;
}

.custom-btn {
    background: linear-gradient(90deg, #ea720f, #bc1c21);
    border: none;
    color: white;
    text-transform: uppercase;
    font-weight: bold;
    padding: 12px 30px;
    border-radius: 50px;
    transition: background 0.4s ease, color 0.4s ease, transform 0.4s ease, box-shadow 0.3s ease;
}

.custom-btn:hover {
    background: linear-gradient(90deg, #bc1c21, #ea720f);
    color: #fff;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    transform: scale(1.05);
}

.custom-btn:focus {
    outline: none;
}

.custom-btn:active {
    transform: scale(1);
}

.card {
    overflow: hidden;
    border-radius: 10px;
}

.card-img-container {
    position: relative;
    overflow: hidden;
}

.card img {
    transition: transform 0.4s ease, box-shadow 0.3s ease;
    object-fit: cover;
}

.card img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/*** Courses End ***/

/*** Learning Start ***/
.custom-container p {
    font-weight: bold;
    color: white;
    margin-bottom: 1rem;
    text-align: center;
    font-size: 30px;
}

.custom-container img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 1rem;
    transition: box-shadow 0.3s ease, filter 0.3s ease;
}

.custom-container img:hover {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    filter: brightness(0.5);
}

.custom-container h1,
.custom-container h4 {
    font-weight: bold;
    color: white;
    text-align: center;
}

/*** Learning End ***/

/*** Counter Start ***/
.counter {
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(46, 17, 17, 0.6), rgba(54, 40, 40, 0.8)), url(../img/fact-bg.jpg);
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
}

.counter .counter-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.counter .counter-item .counter-item-icon {
    width: 100px;
    height: 100px;
    border-radius: 50px;
    background: var(--bs-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/*** Counter End ***/

/*** Payment Start ***/
.payment {
    background-image: url(../img/bg-payment.jpg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 50px 0;
}

.payment .swiper-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.payment .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.payment .payment-image {
    width: 180px;
    height: 120px;
    margin: 0 15px;
    filter: grayscale(100%);
    transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out;
}

.payment .payment-image:hover {
    transform: scale(1.1);
    filter: grayscale(0%);
}

.swiper-pagination {
    margin-top: 20px;
    text-align: center;
    position: relative;
    z-index: 10;
}

.swiper-pagination-bullet {
    background-color: #333;
    opacity: 0.7;
    width: 12px;
    height: 12px;
    margin: 0 5px;
}

.swiper-pagination-bullet-active {
    background-color: #B12234;
    opacity: 1;
}
/*** Payment End ***/

/*** Blog Start ***/
.blog {
    margin-top: 60px;
}

.blog .blog-item {
    border-radius: 10px;
    background: var(--bs-white);
    transition: 0.5s;
}

.blog .blog-item:hover {
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.2);
}

.blog .blog-item .blog-img {
    position: relative;
    overflow: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.blog .blog-item .blog-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    transition: 0.5s;
    z-index: 1;
}

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

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

.blog .blog-item:hover .blog-img::after {
    background: rgba(249, 17, 0, 0.2);
}

.blog .blog-item .blog-date {
    position: absolute;
    top: 25px;
    left: 25px;
    border-radius: 10px;
    background: var(--bs-primary);
    color: var(--bs-white);
    z-index: 2;
}

.blog .blog-item .blog-content a {
    transition: 0.5s;
}

.blog .blog-item:hover .blog-content a:hover {
    color: var(--bs-primary) !important;
}
/*** Blog End ***/

/*** Blog Hover Image Start ***/
.img-container {
    overflow: hidden;
    border-radius: 15px;
}

.img-hover {
    transition: filter 0.5s ease;
    width: 100%;
    height: auto;
}

.img-hover:hover {
    filter: sepia(100%) brightness(80%) contrast(110%);
}

.col-md-6 {
    margin-bottom: 20px;
}
/*** Blog Hover Image End ***/

/*** Team Start ***/
.team .team-item .team-img {
    position: relative;
    overflow: hidden;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
}

.team .team-item .team-img img {
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

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

.team .team-img::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(188, 28, 33, 0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    z-index: 0;
}

.team .team-img:hover::after {
    opacity: 1;
}

.team .team-img .team-button {
    position: absolute;
    bottom: -125px;
    left: 50%;
    transform: translateX(-50%);
    transition: 0.5s;
    z-index: 1;
}

.team .team-img:hover .team-button {
    bottom: 20px;
}

.team .team-content {
    background-color: #ffffff;
    transition: background-color 0.3s ease, color 0.3s ease;
    color: #000000;
}

.team .team-content .title {
    color: var(--bs-primary);
    transition: color 0.3s ease;
}

.team .team-content .description {
    color: var(--bs-gray);
    transition: color 0.3s ease;
}

.team .team-item:hover .team-content {
    background: var(--bs-primary);
}

.team .team-item:hover .team-content .title {
    color: var(--bs-dark);
}

.team .team-item:hover .team-content .description {
    color: #ffffff;
}

/*** Team End ***/

/*** Inicio de Beneficios ***/
.benefits {
    position: relative;
    overflow: hidden;
}

.benefits::after {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    overflow: hidden;
    top: 0;
    left: 0;
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(../img/carousel-2.jpg) center center no-repeat;
    background-size: cover;
    z-index: -2;
    animation-name: benefits-image-zoom;
    animation-duration: 10s;
    animation-delay: 1s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    transition: 1s;
}

@keyframes benefits-image-zoom {
    0% {
        width: 100%;
    }

    50% {
        width: 110%;
    }

    100% {
        width: 100%;
    }
}

/* Tarjetas */
.benefit-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.icon-container i {
    transition: color 0.3s;
}

.benefit-card h5 {
    font-weight: bold;
    color: #333;
}

.benefit-card p {
    color: #555;
}
/*** Fin de Beneficios ***/

/*** Testimonial Start ***/
.testimonial {
    background: linear-gradient(135deg, rgba(160, 1, 1, 0.6), rgba(158, 38, 44, 0.7), rgba(160, 1, 1, 0.6)), url(../img/background-testimonio.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    color: #fff;
    padding: 100px 0;
    text-align: center;
}

.testimonial .testimonial-item .testimonial-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-radius: 10px;
    background: transparent;
}

.testimonial .testimonial-item .testimonial-inner .testimonial-inner-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 5px solid var(--bs-white);
}

.testimonial .testimonial-carousel.owl-carousel {
    position: relative;
}

.testimonial .testimonial-carousel .owl-nav .owl-prev {
    position: absolute;
    top: 50%;
    left: -20px;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    background: var(--bs-light);
    color: var(--bs-primary);
    transition: 0.5s;
}

.testimonial .testimonial-carousel .owl-nav .owl-next {
    position: absolute;
    top: 50%;
    right: -20px;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    background: var(--bs-light);
    color: var(--bs-primary);
    transition: 0.5s;
}


.testimonial .testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial .testimonial-carousel .owl-nav .owl-next:hover {
    box-shadow: inset 100px 0 0 0 var(--bs-primary) !important;
    color: var(--bs-white) !important;
}


@media (max-width: 900px) {
    .testimonial .testimonial-carousel .owl-nav .owl-prev {
        margin-top: -190px;
        margin-left: 40px;
    }

    .testimonial .testimonial-carousel .owl-nav .owl-next {
        margin-top: -190px;
        margin-right: 40px;
    }

}

.testimonial-carousel .owl-dots {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.testimonial-carousel .owl-dots .owl-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-right: 15px;
    border: 1px solid var(--bs-white);
    background: transparent;
    transition: 0.5s;
}

.testimonial-carousel .owl-dots .owl-dot.active {
    width: 20px;
    height: 20px;
    background: var(--bs-secondary) !important;
}

.testimonial-carousel .owl-dots .owl-dot span {
    position: relative;
    margin-top: 50%;
    margin-left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-dots .owl-dot span::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 1px;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--bs-white);
}

.testimonial .testimonial-carousel .testimonial-item .testimonial-inner p.fs-7 {
    transition: 0.5s;
}

@media (min-width: 900px) {
    .testimonial .testimonial-carousel .testimonial-item .testimonial-inner p.fs-7 {
        font-size: 20px;
    }
}
/* Testimonial End */

/* Testimonial Start 1 */
.testimonial .section-title {
    max-width: 900px;
    text-align: center;
    margin: 0 auto;
}

.testimonial .section-title .sub-style {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    color: var(--bs-primary);
}

.testimonial .section-title .sub-style::before {
    content: "";
    width: 100px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    margin-top: 8px;
    margin-left: -100px;
    border: 1px solid var(--bs-white) !important;
}

.testimonial .section-title .sub-style::after {
    content: "";
    width: 50px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    margin-bottom: 5px;
    margin-left: -50px;
    border: 1px solid var(--bs-white) !important;
}

.testimonial .section-title .sub-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    color: var(--bs-primary);
}

.testimonial .section-title .sub-title::before {
    content: "";
    width: 100px;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    margin-top: 8px;
    margin-right: -100px;
    border: 1px solid var(--bs-white) !important;
}

.testimonial .section-title .sub-title::after {
    content: "";
    width: 50px;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    margin-bottom: 8px;
    margin-right: -50px;
    border: 1px solid var(--bs-white) !important;
}
/*** Testimonial End 1 ***/

/*** Testimonio Video Modal Start ***/
.testimonio-video__left {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.testimonio-video__left img {
    border-radius: 10px;
    cursor: pointer;
    width: 100%;
    height: auto;
    transition: opacity 0.3s;
}

.testimonio-video__left video {
    border-radius: 10px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

.play-btn {
    font-size: 26px;
    color: #ffffff;
    height: 90px;
    width: 90px;
    border-radius: 50%;
    background: rgba(237, 67, 67, 0.3);
    display: inline-block;
    line-height: 90px;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        transform: translate(-50%, -50%) scale(1.1);
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
    }
}

@media (max-width: 992px) {
    .testimonio-video__left {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .testimonio-video__left {
        height: 250px;
    }
}

@media (max-width: 576px) {
    .testimonio-video__left {
        height: 200px;
    }
}
/*** Testimonio Video Modal End ***/

/*** Gallery Video Start ***/
.modal-dialog-viviral {
    max-width: 50%;
    margin: 0 auto;
    padding: 15px;
}

.modal-body-viviral {
    padding: 0;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.video-icon-viviral {
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    transition: background-color 0.3s;
}

.video-icon-viviral:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.btn-close-viviral {
    background-color: transparent;
    border: none;
}

.modal-content-viviral {
    border-radius: 15px;
    background: #B12234; 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    color: white;
}

.modal-header-viviral {
    padding: 20px;
    background-color: #B12234;
    color: #fff;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    text-align: center;
}

.modal-title-viviral {
    font-size: 1.25rem;
    font-weight: 700;
}

.modal-body-viviral video {
    width: 100%; 
    max-height: 60vh; 
    border-radius: 10px;
}

@media (max-width: 768px) {
    .modal-dialog-viviral {
        max-width: 80%;
    }

    .modal-title-viviral {
        font-size: 1.2rem;
    }

    .modal-body-viviral video {
        max-height: 50vh;
    }
}
/*** Gallery Video End ***/

/*** Contact Start***/
.contact {
    margin-top: 60px;
}
/*** Contact End ***/

/*** Footer Start ***/
.footer {
    background: var(--bs-primary);
}

.footer .footer-item a {
    line-height: 35px;
    color: var(--bs-white);
    transition: 0.5s;
}

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

.footer .footer-item a:hover {
    letter-spacing: 1px;
    color: var(--bs-white);
}

.footer .btn-square {
    background: transparent;
    border: 2px solid var(--bs-white);
    transition: all 0.3s ease;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer .btn-square i {
    color: var(--bs-white);
    font-size: 1.5rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer .btn-square:hover {
    background: var(--bs-redark);
    border-color: var(--bs-redark);
}

.footer .btn-square:hover i {
    color: var(--bs-white);
    transform: scale(1.1);
}

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

.footer .footer-item .footer-btn a:hover {
    background: var(--bs-white);
}

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

/*** Footer End ***/

/*** copyright Start ***/
.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--bs-redark);
}

/*** copyright end ***/

/*** Fab Start ***/
.fab-button {
    position: fixed;
    bottom: 40px;  
    right: 20px;
    z-index: 1000;
    opacity: 1; 
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

body.scrolled .fab-button {
    opacity: 1;
    transform: translateY(0);
}

body.at-top .fab-button {
    opacity: 1;
    transform: translateY(0);
}

.fab-button:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

@keyframes shake {
    0%, 100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(-3px, 0);
    }
    50% {
        transform: translate(3px, 0);
    }
    75% {
        transform: translate(-3px, 0);
    }
}

.fab-button.shake {
    animation: shake 0.6s ease-in-out;
}
/*** Fab End ***/