/********** Template CSS **********/
:root {
    --primary: #14a6b0;
    --secondary: #e93c05;
    --tertiary: #555555;
    --light: #dfe4fd;
    --dark: #011a41;
}

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

.bg-blue {
    background-color: #14a6b0;
}

h1,
.h1,
h2,
.h2,
.fw-bold {
    font-weight: 700 !important;
}

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

h5,
.h5,
h6,
.h6,
.fw-semi-bold {
    font-weight: 500 !important;
}

.middle-letters {
    font-size: 120px;
    margin: 0 400px;
}
.services-item1 {
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.2);
    width: 100%;
    height: 100%;
    border-radius: 10px;
    padding: 10px 0;
    position: relative;
}

.services-content1::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    border-radius: 10px 10px 0 0;
    background: rgba(3, 43, 243, 0.8) !important;
    transition: 0.5s;
}

.services-content1::after {
    top: 0;
    bottom: auto;
    border-radius: 10px 10px 10px 10px;
}

.services-item1:hover .services-content::after {
    height: 100%;
    opacity: 1;
    transition: 0.5s;
}

.services-item1:hover .services-content-icon {
    position: relative;
    z-index: 2;
}
.services-content-icon i {
    color: #3a5099;
}
.services-content-icon p {
    text-align: justify;
    font-size: 20px;
}

.services-item1 .services-content-icon i,
.services-item1 .services-content-icon p {
    transition: 0.5s;
}

.services-item1:hover .services-content-icon i {
    color: var(--primary) !important;
}

.services-item1:hover .services-content-icon p {
    color: #14a6b0;
}

.project-img2 {
    position: relative;
    padding: 15px;
}

.project-img2::before {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    top: 0;
    left: 0;
    background: #14a6b0;
    border-radius: 10px;
    opacity: 1;
    z-index: -1;
    transition: 0.5s;
}

.project-img2::after {
    content: "";
    width: 150px;
    height: 150px;
    position: absolute;
    right: 0;
    bottom: 0;
    background: #3a5099;
    border-radius: 10px;
    opacity: 1;
    z-index: -1;
    transition: 0.5s;
}

.project-content2 {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
}

.project-content2 a {
    display: inline-block;
    padding: 20px 25px;

    border-radius: 10px;
}

.project-item2:hover .project-content2 {
    opacity: 1;
    transition: 0.5s;
}

.project-item2 h4 {
    color: #3a5099;
}

.project-item2:hover .project-img2::before,
.project-item2:hover .project-img2::after {
    opacity: 0;
}

.service {
    position: relative;
    width: 100%;
    padding: 45px 0 15px 0;
}

.service .service-item {
    position: relative;
    width: 100%;
    text-align: center;
    margin-bottom: 30px;
    box-shadow: 20 40 60px rgba(20, 166, 176, 0.7);
    border: 2px solid #14a6b0;
}

.service .service-img {
    position: relative;
    overflow: hidden;
}

.service .service-img img {
    width: 100%;
}

.service .service-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(58, 80, 153, 0.7);
    transition: 0.5s;
    opacity: 0;
}

.service .service-item:hover .service-overlay {
    opacity: 1;
}

.service .service-overlay p {
    margin: 0;
    color: #ffffff;
}

.service .service-text {
    display: flex;
    align-items: center;
    height: 60px;
    background: #14a6b0;
    overflow: hidden;
    white-space: nowrap;
}

.service .service-text h3 {
    margin: 0;
    padding: 0 15px 0 25px;
    /*width: calc(100% - 60px);*/
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    text-align: left;
    overflow: hidden;
    white-space: nowrap;
}

.service .service-item a.btn {
    width: 60px;
    height: 60px;
    padding: 3px 0 0 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    line-height: 60px;
    font-weight: 100;
    color: #14a6b0;
    background: #fdbe33;
    border-radius: 0;
    transition: 0.3s;
}

.service .service-item:hover a.btn {
    color: #ffffff;
}

.nohover {
    text-decoration: none !important;
    text-decoration-color: #000b1c;
}

.products {
    flex-direction: column;
    align-items: center;
    max-width: 79%;
    margin: 0 auto;
}

.tabs {
    display: flex;
    flex-wrap: wrap;
    padding: 50px 0px;
}

.tabs label {
    width: 15%;
    order: 1;
    display: block;
    padding: 20px 0;
    text-align: center;
    cursor: pointer;
    color: #011a41;
    font-weight: 700;
    font-size: 18px;
    text-transform: uppercase;
    transition: background ease 0.2s;
}

.tabs .tab {
    order: 99;
    flex-grow: 1;
    width: 100%;
    display: none;
    padding-top: 25px;
}

.tabs input[type="radio"] {
    display: none;
}

.tabs input[type="radio"]:checked + label {
    border-bottom: 5px solid #14a6b0;
}

.tabs input[type="radio"]:checked + label + .tab {
    display: block;
}

.product {
    display: flex;
    align-items: center;
    padding: 25px;
    margin: 0 10px;
}
.main-container {
    border: 2px solid #e1e1e1;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Cambio de color de borde cuando se enfoca */
.main-container:focus-within {
    border-color: #14a6b0;
}

.section-container1 {
    margin-bottom: 30px;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Estilo para los t��tulos de secci��n */
.section-title {
    color: #333;
}

/* Estilo para los p��rrafos de secci��n */
.section-text {
    color: #666;
}
.mb1 {
    font-size: 20px;
    line-height: 1.6;
    text-align: justify;
    color: #333;
    margin-bottom: 1rem;
}

.mb2 {
    font-size: 15px;
    line-height: 1.6;
    text-align: justify;
    color: #333;
    margin-bottom: 1rem;
}

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

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

/*** Button ***/
.btn {
    transition: 0.5s;
    font-weight: 500;
}

/*.btn-explorar{
     background-color: #3A5099;
     text-decoration-color: #DFE4FD;
}*/

.btn-primary,
.btn-outline-primary:hover {
    background-color: #3a5099;
    border: 2px solid #3a5099;
    color: var(--light);
}
.btn-primary2 {
    background-color: #3a5099 !important;
}

.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;
}
.bg-custom-color {
    background-color: #14a6b0;
}

.linea-borde {
    border-color: #14a6b0 !important;
}
.borde-principal {
    border-radius: 2px !important;
}

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

.top-bar {
    height: 45px;
    background-color: #14a6b0;
}

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

.navbar .navbar-nav .nav-link {
    padding: 25px 15px;
    color: var(--tertiary);
    font-weight: 500;
    outline: none;
}

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

@media (max-width: 991.98px) {
    .navbar .navbar-nav {
        margin-top: 10px;
        border-top: 1px solid rgba(0, 0, 0, 0.07);
        background: #fff;
    }

    .navbar .navbar-nav .nav-link {
        padding: 10px 0;
    }
}

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

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

@media (max-width: 992px) {
    .products {
        max-width: 100%;
        padding: 10px;
    }

    .swiper-horizontal > .swiper-pagination-bullets,
    .swiper-pagination-bullets,
    .swiper-pagination-horizontal,
    .swiper-pagination-custom,
    .swiper-pagination-fraction {
        bottom: -7px;
    }

    .tabs {
        padding: 50px 30px;
    }

    .tabs label {
        width: 33%;
    }

    .info {
        padding: 30px;
        flex-direction: column;
    }

    .info-img {
        width: 100%;
        text-align: center;
    }

    .info-img img {
        width: 400px;
        height: 200px;
        margin-bottom: 25px;
    }

    .info-txt {
        width: 100%;
        text-align: center;
    }

    .info-txt h2 {
        font-size: 50px;
    }

    .info-txt p {
        font-size: 16px;
    }

    .btn-1 {
        font-size: 16px;
    }

    .info2 {
        padding: 30px;
        flex-direction: column;
    }

    .info2-img {
        width: 100%;
        text-align: center;
    }

    .info2-img img {
        width: 400px;
        height: 200px;
        margin-bottom: 25px;
    }

    .info2-txt {
        width: 100%;
        text-align: center;
    }

    .info2-txt h2 {
        font-size: 50px;
    }

    .info2-txt p {
        font-size: 16px;
    }

    .btn-1 {
        font-size: 16px;
    }
}

/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: start;
    z-index: 1;
}

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

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: #3a5099;
    border: 5px solid #3a5099;
}

.carousel-control-prev-icon {
    border-radius: 0 3rem 3rem 0;
}

.carousel-control-next-icon {
    border-radius: 3rem 0 0 3rem;
}

@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;
    }
}

.page-header {
    padding-top: 12rem;
    padding-bottom: 6rem;
    background: url(../img/banner-general.png) top left no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-weight: 500;
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: var(--tertiary);
}

/*** Facts ***/
.facts {
    background: linear-gradient(
            rgba(20, 166, 176, 0.95),
            rgba(20, 166, 176, 0.95)
        ),
        url(../img/bg.png);
}

.hr-color {
    background-color: #3a5099;
    height: 10px !important;
}

/*** Callback ***/
.callback {
    position: relative;
}

.callback::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 50%;
    top: 0;
    left: 0;
    background: linear-gradient(
            rgba(20, 166, 176, 0.95),
            rgba(20, 166, 176, 0.95)
        ),
        url(../img/bg.png);
    z-index: -1;
}

/*** Feature ***/
.feature .feature-box,
.feature .feature-box * {
    transition: 0.5s;
}

.feature .feature-box:hover {
    background: var(--primary);
    border-color: var(--primary) !important;
}

.feature .feature-box:hover * {
    color: #ffffff !important;
}

/*** Service ***/
.service .nav .nav-link {
    transition: 0.5s;
}

.service .nav .nav-link.active {
    border-color: var(--primary) !important;
    background: var(--primary);
}

.service .nav .nav-link.active h5 {
    color: #ffffff !important;
}

.service .nav .nav-link.active h5 i {
    color: #ffffff !important;
}

/*** Project ***/
.project-item,
.project-item .project-img {
    position: relative;
}

.project-item .project-img a {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    opacity: 0;
    transition: 0.5s;
}

.project-item:hover .project-img a {
    opacity: 1;
}

.project-item .project-title {
    position: absolute;
    top: 3rem;
    right: 0;
    bottom: 0;
    left: 3rem;
    border: 1px solid var(--light);
    border-radius: 8px;
    display: flex;
    align-items: flex-end;
    padding: 18px;
    z-index: -1;
    transition: 0.5s;
}

.project-item:hover .project-title {
    background: var(--primary);
    border-color: var(--primary);
}

.project-item .project-title h4 {
    transition: 0.5s;
}

.project-item:hover .project-title h4 {
    color: #ffffff;
}

.project-carousel .owl-nav {
    margin-top: 25px;
    display: flex;
    justify-content: center;
}

.project-carousel .owl-nav .owl-prev,
.project-carousel .owl-nav .owl-next {
    margin: 0 12px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: var(--light);
    border-radius: 45px;
    font-size: 22px;
    transition: 0.5s;
}

.project-carousel .owl-nav .owl-prev:hover,
.project-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    color: var(--light);
}

/*** Team ***/
.team-item {
    position: relative;
    padding: 4rem 0;
}

.team-item img {
    position: relative;
    z-index: 2;
}

.team-item .team-text {
    position: absolute;
    top: 0;
    right: 3rem;
    bottom: 0;
    left: 3rem;
    padding: 15px;
    border: 1px solid var(--light);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    transition: 0.5s;
    z-index: 1;
}

.team-item:hover .team-text {
    background: var(--primary);
    border-color: var(--primary);
}

.team-item .team-text h4 {
    transition: 0.5s;
}

.team-item:hover .team-text h4 {
    color: #ffffff;
}

.team-item .team-social .btn {
    background: var(--light);
    color: var(--primary);
}

.team-item:hover .team-social .btn {
    background: #ffffff;
}

.team-item .team-social .btn:hover {
    background: var(--primary);
    color: var(--light);
}

/*** Testimonial ***/
.testimonial-item {
    position: relative;
    text-align: center;
    padding-top: 30px;
}

.testimonial-item .testimonial-text {
    position: relative;
    text-align: center;
}

.testimonial-item .testimonial-text .btn-square {
    position: absolute;
    width: 60px;
    height: 60px;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
}

.testimonial-item .testimonial-text::before {
    position: absolute;
    content: "";
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    border: 30px solid;
    border-color: var(--light) transparent transparent transparent;
}

.testimonial-item .testimonial-text::after {
    position: absolute;
    content: "";
    bottom: -59px;
    left: 50%;
    transform: translateX(-50%);
    border: 30px solid;
    border-color: #ffffff transparent transparent transparent;
}

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

.testimonial-carousel .owl-dots {
    margin-top: 25px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 30px;
    height: 30px;
    border: 1px solid var(--light);
    border-radius: 30px;
    transition: 0.5s;
}

.testimonial-carousel .owl-dot::after {
    position: absolute;
    content: "";
    width: 16px;
    height: 16px;
    top: 6px;
    left: 6px;
    border-radius: 16px;
    background: var(--light);
    transition: 0.5s;
}

.testimonial-carousel .owl-dot.active {
    border-color: var(--primary);
}

.testimonial-carousel .owl-dot.active::after {
    background: var(--primary);
}

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

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

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

.copyright {
    color: var(--light);
    background: #000b1c;
}

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

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