/********** Template CSS **********/
:root {
    --primary: #2124B1;
    --secondary: #7e828d;
    --light: #F7FAFF;
    --dark: #1D1D27;
}


/*** 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;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Heading ***/
h1,
h2,
h3,
.fw-bold {
    font-weight: 700 !important;
}

h4,
h5,
h6,
.fw-medium {
    font-weight: 500 !important;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

/*** Navbar ***/
.navbar-light .navbar-nav .nav-link {
    position: relative;
    margin-left: 25px;
    padding: 35px 0;
    color: var(--light) !important;
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 0;
    color: var(--dark) !important;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--secondary) !important;
}

.navbar-light .navbar-brand h1 {
    color: #FFFFFF;
}

.navbar-light .navbar-brand img {
    max-height: 60px;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-brand img {
    max-height: 45px;
}

@media (max-width: 991.98px) {
    .sticky-top.navbar-light {
        position: relative;
        background: #FFFFFF;
    }

    .navbar-light .navbar-collapse {
        margin-top: 15px;
        border-top: 1px solid #DDDDDD;
    }

    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
        margin-left: 0;
        color: var(--dark) !important;
    }

    .navbar-light .navbar-brand h1 {
        color: var(--primary);
    }

    .navbar-light .navbar-brand img {
        max-height: 45px;
    }
}

@media (min-width: 992px) {
    .navbar-light {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        border-bottom: 1px solid rgba(256, 256, 256, .1);
        z-index: 999;
    }
    
    .sticky-top.navbar-light {
        position: fixed;
        background: #FFFFFF;
    }

    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 2px;
        bottom: -1px;
        left: 50%;
        background: var(--secondary);
        transition: .5s;
    }

    .navbar-light .navbar-nav .nav-link:hover::before,
    .navbar-light .navbar-nav .nav-link.active::before {
        width: 100%;
        left: 0;
    }

    .navbar-light .navbar-nav .nav-link.nav-contact::before {
        display: none;
    }

    .sticky-top.navbar-light .navbar-brand h1 {
        color: var(--primary);
    }
}


/*** Hero Header ***/
.hero-header {
   
    background-position:
        10px 10px,
        bottom 190px right 10px,
        left 55% top -1px,
        left 45% bottom -1px,
        center bottom -1px;
   
}


/*** Section Title ***/
.section-title::before {
    position: absolute;
    content: "";
    width: 45px;
    height: 4px;
    bottom: 0;
    left: 0;
    background: var(--dark);
}

.section-title::after {
    position: absolute;
    content: "";
    width: 4px;
    height: 4px;
    bottom: 0;
    left: 50px;
    background: var(--dark);
}

.section-title.text-center::before {
    left: 50%;
    margin-left: -25px;
}

.section-title.text-center::after {
    left: 50%;
    margin-left: 25px;
}

.section-title h6::before,
.section-title h6::after {
    position: absolute;
    content: "";
    width: 10px;
    height: 10px;
    top: 2px;
    left: 0;
    background: rgba(33, 66, 177, .5);
}

.section-title h6::after {
    top: 5px;
    left: 3px;
}



/*** Footer ***/
.footer {
    background: url(../img/footer.png) center center no-repeat;
    background-size: contain;
}

.footer .btn.btn-social {
    margin-right: 5px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid rgba(256, 256, 256, .1);
    border-radius: 40px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 10px;
    padding: 0;
    text-align: left;
    color: var(--light);
    font-weight: normal;
    transition: .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 {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 14px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

 /* Personalizar el color del enlace */
 a.whatsapp-link {
    color: #25d366; /* Color de WhatsApp */
    font-weight: bold;
    text-decoration: none; /* Quitar subrayado */
}

/* Cambiar color al pasar el mouse */
a.whatsapp-link:hover {
    color: #128c7e; /* Cambiar color al pasar el mouse */
    text-decoration: underline; /* Subrayar al pasar el mouse */
}


/*--------------------------------------------------------------
# LINEA DEL TIEMPO CON ESTADOS
--------------------------------------------------------------*/

.timeline {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    position: relative;
    margin: 0 auto;
    max-width: 1000px;
    align-items: center;
    margin-bottom: 2rem;
    
               
               
               
    }
    .timeline-item {
    position: relative;
    text-align: center;
    flex: 1;	
    }
    .timeline-icon {
        background-color: #0723EC;
        color: white;
        padding: 10px;
        border-radius: 50%;
        margin: 0 auto;
        width: 50px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
        transition: background-color 0.3s;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);	
    }
    /*animacion de tipo traslado para x y y */
    .anima-icon {
    display: inline-block;
    animation: moveUpDown 2s infinite;
    }
    @keyframes moveUpDown {
                 0% { transform: translateX(0); }
                25% { transform: translateX(-10px); }
                50% { transform: translateX(0); }
                75% { transform: translateX(10px); }
                100% { transform: translateX(0); }
    }
    /*animacion de tipo zoom */
    .icon {
       display: inline-block;
       animation: zoomEffect 2s infinite;
    }
    
    @keyframes zoomEffect {
                0% { transform: scale(1); }
                50% { transform: scale(1.4); }
                100% { transform: scale(1); }
    }
    
   

    .timeline-content {
        margin-top: 10px;
        text-align: center;
        font-size: 0.875rem;
    }
    
    .timeline-item.last .timeline-icon {
        background-color: #55EC40;
    }
    .timeline-item:last-child .timeline-line {
                display: none;
            }
    .timeline-item:hover .timeline-icon {
        background-color: #55EC40;
    }
    
    .timeline::before {
        content: '';
        position: absolute;
        width: 100%;
        height: 3px;
        background-color: #0723EC;
        top: 25px;
        left: 0;
    }
    
    @media (max-width: 768px) {
        .timeline {
            flex-direction: column;
            align-items: center;
            display: none;
        }
    
        .timeline::before {  /*LA LINEA*/
           
            display: none;
        }
    
        .timeline-item {
            margin-bottom: 20px;
            flex: none;
        }
    
        .timeline-item:last-child {
            margin-bottom: 0;
        }
    }

    #loading {
        display: none;
        text-align: center;
    }

    .loadingspinner {
        --square: 26px;
        --offset: 30px;
        --duration: 2.4s;
        --delay: 0.2s;
        --timing-function: ease-in-out;
        --in-duration: 0.4s;
        --in-delay: 0.1s;
        --in-timing-function: ease-out;
        width: calc( 3 * var(--offset) + var(--square));
        height: calc( 2 * var(--offset) + var(--square));
        padding: 0px;
        margin-left: auto;
        margin-right: auto;
        margin-top: 10px;
        margin-bottom: 30px;
        position: relative;
      }
      
      .loadingspinner div {
        display: inline-block;
        background: #2124B1;
          /*background: var(--text-color);*/
          /*box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.4);*/
        border: none;
        border-radius: 2px;
        width: var(--square);
        height: var(--square);
        position: absolute;
        padding: 0px;
        margin: 0px;
        font-size: 6pt;
        color: black;
      }
      
      .loadingspinner #square1 {
        left: calc( 0 * var(--offset) );
        top: calc( 0 * var(--offset) );
        animation: square1 var(--duration) var(--delay) var(--timing-function) infinite,
                     squarefadein var(--in-duration) calc(1 * var(--in-delay)) var(--in-timing-function) both;
      }
      
      .loadingspinner #square2 {
        left: calc( 0 * var(--offset) );
        top: calc( 1 * var(--offset) );
        animation: square2 var(--duration) var(--delay) var(--timing-function) infinite,
                    squarefadein var(--in-duration) calc(1 * var(--in-delay)) var(--in-timing-function) both;
      }
      
      .loadingspinner #square3 {
        left: calc( 1 * var(--offset) );
        top: calc( 1 * var(--offset) );
        animation: square3 var(--duration) var(--delay) var(--timing-function) infinite,
                     squarefadein var(--in-duration) calc(2 * var(--in-delay)) var(--in-timing-function) both;
      }
      
      .loadingspinner #square4 {
        left: calc( 2 * var(--offset) );
        top: calc( 1 * var(--offset) );
        animation: square4 var(--duration) var(--delay) var(--timing-function) infinite,
                     squarefadein var(--in-duration) calc(3 * var(--in-delay)) var(--in-timing-function) both;
      }
      
      .loadingspinner #square5 {
        left: calc( 3 * var(--offset) );
        top: calc( 1 * var(--offset) );
        animation: square5 var(--duration) var(--delay) var(--timing-function) infinite,
                     squarefadein var(--in-duration) calc(4 * var(--in-delay)) var(--in-timing-function) both;
      }
      
      @keyframes square1 {
        0% {
          left: calc( 0 * var(--offset) );
          top: calc( 0 * var(--offset) );
        }
      
        8.333% {
          left: calc( 0 * var(--offset) );
          top: calc( 1 * var(--offset) );
        }
      
        100% {
          left: calc( 0 * var(--offset) );
          top: calc( 1 * var(--offset) );
        }
      }
      
      @keyframes square2 {
        0% {
          left: calc( 0 * var(--offset) );
          top: calc( 1 * var(--offset) );
        }
      
        8.333% {
          left: calc( 0 * var(--offset) );
          top: calc( 2 * var(--offset) );
        }
      
        16.67% {
          left: calc( 1 * var(--offset) );
          top: calc( 2 * var(--offset) );
        }
      
        25.00% {
          left: calc( 1 * var(--offset) );
          top: calc( 1 * var(--offset) );
        }
      
        83.33% {
          left: calc( 1 * var(--offset) );
          top: calc( 1 * var(--offset) );
        }
      
        91.67% {
          left: calc( 1 * var(--offset) );
          top: calc( 0 * var(--offset) );
        }
      
        100% {
          left: calc( 0 * var(--offset) );
          top: calc( 0 * var(--offset) );
        }
      }
      
      @keyframes square3 {
        0%,100% {
          left: calc( 1 * var(--offset) );
          top: calc( 1 * var(--offset) );
        }
      
        16.67% {
          left: calc( 1 * var(--offset) );
          top: calc( 1 * var(--offset) );
        }
      
        25.00% {
          left: calc( 1 * var(--offset) );
          top: calc( 0 * var(--offset) );
        }
      
        33.33% {
          left: calc( 2 * var(--offset) );
          top: calc( 0 * var(--offset) );
        }
      
        41.67% {
          left: calc( 2 * var(--offset) );
          top: calc( 1 * var(--offset) );
        }
      
        66.67% {
          left: calc( 2 * var(--offset) );
          top: calc( 1 * var(--offset) );
        }
      
        75.00% {
          left: calc( 2 * var(--offset) );
          top: calc( 2 * var(--offset) );
        }
      
        83.33% {
          left: calc( 1 * var(--offset) );
          top: calc( 2 * var(--offset) );
        }
      
        91.67% {
          left: calc( 1 * var(--offset) );
          top: calc( 1 * var(--offset) );
        }
      }
      
      @keyframes square4 {
        0% {
          left: calc( 2 * var(--offset) );
          top: calc( 1 * var(--offset) );
        }
      
        33.33% {
          left: calc( 2 * var(--offset) );
          top: calc( 1 * var(--offset) );
        }
      
        41.67% {
          left: calc( 2 * var(--offset) );
          top: calc( 2 * var(--offset) );
        }
      
        50.00% {
          left: calc( 3 * var(--offset) );
          top: calc( 2 * var(--offset) );
        }
      
        58.33% {
          left: calc( 3 * var(--offset) );
          top: calc( 1 * var(--offset) );
        }
      
        100% {
          left: calc( 3 * var(--offset) );
          top: calc( 1 * var(--offset) );
        }
      }
      
      @keyframes square5 {
        0% {
          left: calc( 3 * var(--offset) );
          top: calc( 1 * var(--offset) );
        }
      
        50.00% {
          left: calc( 3 * var(--offset) );
          top: calc( 1 * var(--offset) );
        }
      
        58.33% {
          left: calc( 3 * var(--offset) );
          top: calc( 0 * var(--offset) );
        }
      
        66.67% {
          left: calc( 2 * var(--offset) );
          top: calc( 0 * var(--offset) );
        }
      
        75.00% {
          left: calc( 2 * var(--offset) );
          top: calc( 1 * var(--offset) );
        }
      
        100% {
          left: calc( 2 * var(--offset) );
          top: calc( 1 * var(--offset) );
        }
      }
      
      @keyframes squarefadein {
        0% {
          transform: scale(0.75);
          opacity: 0.0;
        }
      
        100% {
          transform: scale(1.0);
          opacity: 1.0;
        }
      }
      .disabled-link {
        pointer-events: none; /* Deshabilita la capacidad de hacer clic */
        opacity: 0.3; /* Cambia la opacidad para dar un aspecto deshabilitado */
    }