/********** Template CSS **********/

:root {
  --bs-primary: #1ABC9C;       /* color principal */
  --bs-primary-rgb: 26, 188, 156; /* el equivalente en RGB */
}


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

.fw-medium {
    font-weight: 600;
}

.mt-6 {
    margin-top: 5rem;
}

.mb-6 {
    margin-bottom: 5rem;
}

.pt-6 {
    padding-top: 5rem;
}

.pb-6 {
    padding-bottom: 5rem;
}


/*** Spinner ***/

#spinner-logo {
    width: 200px;
    animation: swingBreathe 2s ease-in-out infinite, fadeIn 1s ease forwards;
    opacity: 0;
}

@keyframes swingBreathe {
    0% { transform: rotate(-10deg) scale(1); }
    50% { transform: rotate(10deg) scale(1.05); }
    100% { transform: rotate(-10deg) scale(1); }
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* Spinner texto palabra por palabra */
#spinner-text {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap; /* permite que las palabras bajen de línea en móviles */
    justify-content: center; /* centra horizontalmente */
    gap: 8px;
    font-size: 1.5rem;
    background: linear-gradient(90deg, #16A085, #1ABC9C);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center; /* para cuando las palabras hagan wrap */
    position: relative;
}

/* Palabras animadas */
.word {
    opacity: 0;
    transform: translateY(10px);
    display: inline-block;
    animation: wordFade 0.5s forwards, shine 2s linear infinite;
    background: linear-gradient(90deg, #16A085, #1ABC9C, #16A085);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
}

/* Animaciones */
@keyframes wordFade {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes shine {
    0% { background-position: 200% center; }
    100% { background-position: -200% center; }
}

/* Spinner oculto */
#spinner.hide {
    opacity: 0;
    transform: translateY(-50px);
    visibility: hidden;
    transition: opacity 0.7s ease, transform 0.7s ease, visibility 0.7s;
}

/* Ajustes responsive */
@media (max-width: 576px) {
    #spinner-text {
        font-size: 1.2rem;
        gap: 4px;
    }
}
@media (max-width: 375px) {
    #spinner-text {
        font-size: 1rem;
        gap: 3px;
    }
}
/*** topbar 2025***/
/* Fondo del Topbar */
.topbar-gobix {
    background-color: #f4f8f7; /* Turquesa Gobix */
}

/* Texto principal */
.topbar-gobix small {
    color: #005247; /* Texto blanco */
}

/* Botones de redes sociales */
.topbar-gobix .btn-sm-square {
    background-color: #FFFFFF; /* Fondo blanco */
    color: #16A085; /* Iconos turquesa */
    border: none;
    transition: all 0.3s;
}

.topbar-gobix .btn-sm-square:hover {
    background-color: #16A085; /* Turquesa más oscuro */
    color: #FFFFFF; /* Iconos en blanco al hacer hover */
}

/*** Navar ***/
/* Fondo de la navbar */
.navbar-gobix {
    background-color: #fdffff; /* Turquesa Gobix */
}

/* Links del navbar */
.navbar-gobix .nav-link {
    color: #FFFFFF; /* Blanco sobre turquesa */
    font-weight: 600;
    text-transform: uppercase;
    transition: color 0.3s;
}

.navbar-gobix .nav-link:hover,
.navbar-gobix .nav-link.active {
    color: #F8FAFB; /* Blanco suave al hover */
}

/* Dropdown menu */
.navbar-gobix .dropdown-menu {
    background-color: #16A085; /* Turquesa más oscuro */
}

.navbar-gobix .dropdown-item {
    color: #FFFFFF;
}

.navbar-gobix .dropdown-item:hover {
    background-color: #1ABC9C;
    color: #FFFFFF;
}

.btn-quote {
    background-color: #16A085; /* Turquesa Gobix */
    border: none;
    color: #FFFFFF;
    font-weight: 600;
    transition: background 0.3s, transform 0.3s; /* Agregamos transición para el scale */
}

.btn-quote:hover {
    background-color: #13876F; /* Turquesa más oscuro al hover */
    color: #FFFFFF;
    transform: scale(1.1); /* Aumenta el tamaño un 10% */
}

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

.btn-primary,
.btn-outline-primary:hover {
    color: var(--bs-light);
}

.btn-secondary,
.btn-outline-secondary:hover {
    color: var(--bs-dark);
}

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

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

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

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

.btn-xxl-square {
    width: 75px;
    height: 75px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square,
.btn-xl-square,
.btn-xxl-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}
.btn-gobix {
  background-color: #1ABC9C; /* Verde turquesa */
  color: #fff;
  border: none;
  transition: 0.3s;
}

.btn-gobix:hover {
  background-color: #16a085; /* Un tono más oscuro al hacer hover */
  color: #fff;
}
/*** Navbar ***/
.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 25px 0;
    color: var(--bs-dark);
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 600;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.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: 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 {
        margin-top: 15px;
        border-top: 1px solid #EEEEEE;
    }
}

@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 .carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    text-align: left;
    background: rgba(0, 0, 0, .7);
    padding: 3rem;
    padding-left: 11rem;
    z-index: 1;
}

.carousel .carousel-indicators {
    top: 0;
    bottom: 0;
    left: 0;
    right: auto;
    width: 80px;
    flex-direction: column;
    margin: 0;
    margin-left: 3rem;
}

.carousel .carousel-indicators [data-bs-target] {
    width: 70px;
    height: 70px;
    text-indent: 0;
    margin: 5px 0;
    border: 2px solid #FFFFFF;
    overflow: hidden;
}

.carousel .carousel-indicators [data-bs-target] img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 992px) {
    .carousel .carousel-item {
        position: relative;
        min-height: 600px;
    }
    
    .carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .carousel .carousel-indicators [data-bs-target] {
        width: 60px;
        height: 60px;
    }

    .carousel .carousel-caption {
        padding-left: 10rem;
    }
}

@media (max-width: 768px) {
    .carousel .carousel-item {
        min-height: 500px;
    }

    .carousel .carousel-indicators [data-bs-target] {
        width: 50px;
        height: 50px;
    }

    .carousel .carousel-caption {
        padding-left: 9rem;
    }
}

@media (min-width: 1200px) {
    .carousel .carousel-item .display-1 {
        font-size: 7rem;
    }
}

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

/* Botón turquesa para carrusel */
.carousel-caption .btn-primary {
    background-color: #16A085; /* Turquesa Gobix */
    border: none;
    color: #FFFFFF;
    font-weight: 600;
    transition: background 0.3s, transform 0.3s; /* Agregamos transición para el scale */
}

.carousel-caption .btn-primary:hover {
    background-color: #13876F; /* Turquesa más oscuro al hover */
    color: #FFFFFF;
    transform: scale(1.1); /* Aumenta el tamaño un 10% */
}

/* Animación inicial del texto del carrusel */
.carousel-caption h1 {
    opacity: 0;
    transform: translateY(40px); /* Comienza más abajo */
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5); /* Sombra inicial */
    transition: opacity 0.8s ease, transform 0.8s ease, text-shadow 0.3s ease;
}

/* Cuando el slide es activo */
.carousel-item.active .carousel-caption h1 {
    opacity: 1;
    transform: translateY(0); /* Texto en posición normal */
}

/* Efecto al pasar el cursor sobre el texto */
.carousel-caption h1:hover {
    transform: scale(1.08); /* Crece un 8% */
    text-shadow: 4px 4px 15px rgba(0,0,0,0.7); /* Sombra más intensa */
    transition: transform 0.3s ease, text-shadow 0.3s ease;
}

/*** Spiner ***/



/*** About ***/
.about-img {
    position: relative;
    padding-left: 45px;
}

.about-img::before {
    position: absolute;
    content: "";
    width: 200px;
    height: 300px;
    top: 0;
    left: 0;
    border: 5px solid var(--bs-primary);
    animation: animateUpDown 3s ease-in-out infinite;
    z-index: -1;
}

@keyframes animateUpDown { 
    0% { 
        top: -25px;
    }
    50% { 
        top: -45px;
    }
    100% { 
        top: -25px;
    } 
}

/* Títulos principales */
.about h1.display-6 {
    color: #1ABC9C; /* Turquesa Gobix */
}

/* Íconos en los bloques de servicios */
.about .fa {
    color: #1ABC9C;
}

/* Bordes destacados */
.about .border-primary {
    border-color: #1ABC9C !important;
}

/* Títulos de los bloques internos */
.about h5.lh-base {
    color: #1ABC9C;
}

/* Opcional: cambiar los check icons */
.about p i.fa-check-square {
    color: #1ABC9C;
}

/* Títulos principales */
.about h1.display-6 {
    color: #1ABC9C; /* Turquesa Gobix */
}

/* Íconos Font Awesome */
.about .fa {
    color: #1ABC9C; /* Turquesa Gobix */
}

/* Bordes destacados */
.about .border-primary {
    border-color: #1ABC9C !important;
}

/* Títulos de los bloques internos */
.about h5.lh-base {
    color: #1ABC9C;
}

/* Check icons */
.about p i.fa-check-square {
    color: #1ABC9C;
}

/* Íconos dentro de los bloques de servicios */
.about .flex-shrink-0 .fa {
    color: #1ABC9C;
}

/*** Features ***/
.feature {
    background: linear-gradient(to right, rgba(0, 0, 0, .1), rgba(0, 0, 0, 1) 50%), url(../img/carousel-1.jpg) left center no-repeat;
    background-size: cover;
}

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

.feature-item {
    border-color: rgba(0, 0, 0, .03) !important;
}

.feature-icon {
    position: relative;
    transition: .5s;
}

.feature-item:hover .feature-icon {
    margin-left: 3rem;
}

.feature-item a::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 1px;
    background: var(--bs-secondary);
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: -1;
}

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

.feature-item a:hover::after {
    background: var(--bs-primary);
}

.experience .progress {
    height: 5px;
}

.experience .progress .progress-bar {
    width: 0px;
    transition: 3s;
}

/* Bordes destacados en turquesa */
.feature .border-primary {
    border-color: #1ABC9C !important;
}

/* Barras de progreso turquesa */
.feature .progress-bar {
    background-color: #1ABC9C !important;
}

/* Textos destacados si quieres que resalten un poco más */
.feature .text-white {
    color: #1ABC9C !important; /* Opcional: solo si quieres que ciertos textos también sean turquesa */
}

/* Si agregas íconos dentro del módulo */
.feature .fa {
    color: #1ABC9C;
}

/* Color de fondo turquesa para los íconos */
.bg-gobix {
    background-color: #1ABC9C !important;
}

/* Íconos dentro de los botones siempre blancos */
.feature-icon .fa {
    color: #FFFFFF !important;
}

/*** Service ***/
.service .service-item {
    position: relative;
    margin-top: 45px;
}

.service .service-inner {
    position: relative;
    height: 100%;
    margin-top: 45px;
    background: var(--bs-white);
    box-shadow: 0 0 45px rgba(0, 0, 0, .05);
}

.service .service-inner::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    left: 0;
    bottom: 0;
    transition: 1s;
    background: var(--bs-primary);
}

.service .service-inner:hover::before {
    height: 100%;
    top: 0;
}

.service .service-item img {
    margin-top: -45px;
    padding-left: 45px;
}

.service .service-item * {
    position: relative;
    transition: .5s;
    z-index: 1;
}

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

.service .service-item:hover a {
    padding-left: 45px !important;
}


/*** Appoinment ***/
.appoinment {
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(../img/carousel-2.jpg) left center no-repeat;
    background-size: cover;
}


/*** Team ***/
.team .team-item {
    background: var(--bs-white);
    box-shadow: 0 0 45px rgba(0, 0, 0, .05);
}

.team .team-item .team-social {
    position: absolute;
    width: 0;
    height: 100%;
    top: 0;
    right: 0;
    transition: .5s;
    background: var(--bs-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.team .team-item:hover .team-social {
    width: 100%;
    left: 0;
}

.team .team-item .team-social .btn {
    opacity: 0;
    transition: .5s;
}

.team .team-item:hover .team-social .btn {
    opacity: 1;
}


/*** Testimonial ***/
.testimonial-img {
    position: relative;
    min-height: 400px;
    overflow: hidden;
}

.testimonial-img div {
    position: absolute;
    width: 100px;
    height: 100px;
    animation-duration: 5s;
}

.testimonial-img div:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: .1s;
}

.testimonial-img div:nth-child(2) {
    top: 60%;
    left: 20%;
    animation-delay: .4s;
}

.testimonial-img div:nth-child(3) {
    top: 20%;
    left: 60%;
    animation-delay: .7s;
}

.testimonial-img div:nth-child(4) {
    bottom: 10%;
    right: 10%;
    animation-delay: 1s;
}

.testimonial-img div::after {
    position: absolute;
    content: "";
    top: -1px;
    right: -1px;
    bottom: -1px;
    left: -1px;
    box-shadow: 0 0 10px 10px var(--bs-white) inset;
    z-index: 1;
}

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

.testimonial-carousel .owl-nav {
    margin-top: 15px;
    display: flex;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin-right: 15px;
    color: var(--bs-primary);
    font-size: 45px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--bs-dark);
}


/*** Contact ***/
@media (min-width: 992px) {
    .contact-info::after {
        position: absolute;
        content: "";
        width: 0px;
        height: 100%;
        top: 0;
        left: 50%;
        border-left: 1px dashed rgba(255, 255, 255, .2);
    }
}

@media (max-width: 991.98px) {
    .contact-info::after {
        position: absolute;
        content: "";
        width: 100%;
        height: 0px;
        top: 50%;
        left: 0;
        border-top: 1px dashed rgba(255, 255, 255, .2);
    }
}

/* Estrellas turquesa Gobix */
.testimonial-item .far.fa-star {
    color: #1ABC9C !important;
}
/* Estrellas turquesa Gobix */
.testimonial-item .far.fa-star {
    color: #1ABC9C;
    transition: color 0.3s, transform 0.3s;
}

/* Efecto hover: se agrandan y se iluminan más */
.testimonial-item .far.fa-star:hover {
    color: #16A085; /* Turquesa más intenso */
    transform: scale(1.2);
}

/* Iconos de contacto turquesa */
.footer .fa-map-marker-alt,
.footer .fa-phone-alt,
.footer .fa-envelope {
    color: #1ABC9C;
}

/* Iconos de redes sociales turquesa al pasar el mouse */
.footer .btn-square i {
    color: #1ABC9C; /* color inicial si quieres */
    transition: color 0.3s;
}

.footer .btn-square:hover i {
    color: #16A085; /* turquesa más intenso al hover */
}

.text-gobix {
    color: #1ABC9C !important;
}

.back-to-top.btn-primary {
    background-color: #1ABC9C; /* Turquesa Gobix */
    border-color: #1ABC9C;     /* Mismo color para el borde */
    color: #ffffff;            /* Ícono en blanco */
    transition: all 0.3s;
}

.back-to-top.btn-primary:hover {
    background-color: #16A085; /* Turquesa más oscuro al pasar el mouse */
    border-color: #16A085;
    color: #ffffff;
}

/*** Modal WhatsApp ***/
/*** Botón flotante y modal ***/
#whatsapp-float-btn {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #1ABC9C;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    cursor: pointer;
    z-index: 10000;
    transition: transform 0.3s;
}
#whatsapp-float-btn:hover { transform: scale(1.1); }
#whatsapp-float-btn img { width: 40px; height: 40px; border-radius: 50%; }

/* Chatbot modal */
#whatsapp-chatbox {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 300px;
    max-height: 400px;
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 9999;
    font-family: Arial, sans-serif;
}

/* Header */
#whatsapp-chatbox .chat-header {
    background-color: #1ABC9C;
    color: white;
    padding: 15px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
#whatsapp-chatbox .chat-header img { width: 35px; height: 35px; border-radius: 50%; margin-right: 10px; }
#whatsapp-chatbox .chat-header .close-btn { cursor: pointer; }

/* Mensajes */
#whatsapp-chatbox .chat-messages { flex: 1; padding: 10px; overflow-y: auto; }
.message {
    padding: 8px 12px;
    border-radius: 15px;
    margin-bottom: 10px;
    display: inline-block;
    max-width: 80%;
    word-wrap: break-word;
    font-size: 14px;
}
.message.user { background-color: #1ABC9C; color: white; align-self: flex-end; }
.message.bot { background-color: #f1f1f1; color: #333; align-self: flex-start; }

/* Botón dentro del chat */
.message .whatsapp-btn {
    margin-top: 6px;
    padding: 6px 12px;
    background-color: #25D366;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    display: inline-block;
}
.message .whatsapp-btn:hover { background-color: #1ebe5d; }

#whatsapp-greeting {
    position: fixed;
    bottom: 170px; /* ajusta según el espacio del botón */
    right: 30px;
    background-color: #1ABC9C;
    color: white;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: bold;
    text-align: center;
    line-height: 1.2; /* para separar un poco las líneas */
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    z-index: 9999;
}
#whatsapp-greeting div:first-child {
    font-size: 14px;
}
#whatsapp-greeting div:last-child {
    font-size: 12px;
    font-weight: normal;
}

/* Input */
#whatsapp-chatbox .chat-input {
    display: flex;
    border-top: 1px solid #ddd;
}

#whatsapp-chatbox .chat-input input {
    flex: 1;
    border: none;
    padding: 10px;
    font-size: 14px;
    outline: none;
}

#whatsapp-chatbox .chat-input button {
    background-color: #1ABC9C;
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    transition: background 0.3s;
}

#whatsapp-chatbox .chat-input button:hover {
    background-color: #16A085;
}

/*** Appoinment ***/
.newsletter {
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(../img/carousel-3.jpg) left center no-repeat;
    background-size: cover;
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--bs-secondary);
    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(--bs-primary);
    margin-right: 10px;
}

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

.copyright {
    background: #222222;
}

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

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

.link-footer {
    color: #ccc;
    transition: 0.3s;
}
.link-footer:hover {
    color: #1ABC9C;
}
.btn-footer {
    transition: 0.3s;
    background-color: #fff;
    color: #555;
}
.btn-footer:hover {
    background-color: #1ABC9C;
    color: #fff;
}
.hover-scale {
    transition: transform 0.3s;
}
.hover-scale:hover {
    transform: scale(1.1);
}