

/*** Spinner End ***/

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    transition: 0.5s;
    z-index: 99;
}


/*** 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: 40px;
    height: 40px;
}

.btn-lg-square {
    width: 46px;
    height: 46px;
}

.btn-xl-square {
    width: 56px;
    height: 56px;
}

.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);
    border: none;
}

.btn.btn-primary:hover {
    background: var(--bs-dark);
    color: var(--bs-white);
}

.btn.btn-light {
    color: var(--bs-primary);
    border: none;
}

.btn.btn-light:hover {
    color: var(--bs-white);
    background: var(--bs-primary);
}

.navbar-brand .logo {
    max-width: 100px; /* Ajusta el tamaño del logo para móviles */
}

/* Logo más grande para pantallas grandes */
@media (min-width: 992px) {
    .navbar-brand .logo {
        max-width: 150px; /* Ajusta el tamaño del logo para pantallas grandes */
    }
}

/*** Navbar End ***/


/*** Carousel Hero Header Start ***/
.hero-section {
    background-image: url(../img/Mesadetrabajo2.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    width: 100%;
    height: 700px;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-section {
    background-image: url(../img/Mesadetrabajo2.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    width: 100%;
    height: 700px;
    display: flex;
    align-items: center;
    position: relative;
}


/*** Carousel Hero Header Start ***/
.header-carousel .header-carousel-item {
    height: 700px;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--bs-white);
    color: var(--bs-primary);
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
}

.header-carousel .owl-nav .owl-prev {
    bottom: 30px;
    left: 0;
}
.header-carousel .owl-nav .owl-next {
    bottom: 30px;
    right: 0;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    box-shadow: inset 0 0 65px 0 var(--bs-primary);
    color: var(--bs-dark);
}

.header-carousel .header-carousel-item .carousel-caption {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .2);
    display: flex;
    align-items: center;
    z-index: 9;
}

@media (max-width: 991px) {
    .header-carousel .header-carousel-item .carousel-caption {
        padding-top: 45px;
    }

    .header-carousel.owl-carousel,
    .header-carousel .header-carousel-item {
        height: 400px;
    }
}
/*** Carousel Hero Header End ***/


/*** Single Page Hero Header Start ***/
.bg-breadcrumb {
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(../img/Mesadetrabajo2_1.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 60px 0 60px 0;
    transition: 0.5s;
}

.bg-breadcrumb .breadcrumb {
    position: relative;
}

.bg-breadcrumb .breadcrumb .breadcrumb-item a {
    color: var(--bs-white);
}
/*** Single Page Hero Header End ***/


/*** Banner Start ***/
.banner {
    position: relative;
    overflow: hidden;
    background:  url(../img/banner-mediapagina.png);
    background-position: center center;
    background-repeat: no-repeat;
   
    z-index: 9;
}

.banner .container {
    position: relative;
    z-index: 99;
}


/*** Banner End ***/

/*** Service Start ***/
.service .nav .nav-item {
    width: 75%;
    border: 1px solid var(--bs-primary);
    background: var(--bs-light);
}

.service .nav .nav-item a {
    display: flex;
    justify-content: center;
}


.owl-stage-outer {
    margin-right: -1px;
}
.service .nav-item a.active {
    background: var(--bs-primary);
}

.service .nav-item a span {
    color: var(--bs-dark);
}

.service .nav-item a.active span {
    color: var(--bs-white);
}

.service-carousel .owl-nav .owl-prev,
.service-carousel .owl-nav .owl-next {
    position: absolute;
    padding: 10px 35px;
    border: 1px solid var(--bs-primary);
    color: var(--bs-dark);
    background: var(--bs-light);
    transition: 0.5s;
}

.service-carousel .owl-nav .owl-prev:hover,
.service-carousel .owl-nav .owl-next:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

@media (min-width: 992px) {
    .service-carousel .owl-nav .owl-prev {
        top: 0;
        left: -115px;
    }
    
    .service-carousel .owl-nav .owl-next {
        bottom: 0;
        left: -115px;
    }
}

@media (max-width: 991px) {
    .owl-stage-outer {
        margin-bottom: 70px;
    }
    .service-carousel .owl-nav .owl-prev {
        bottom: -70px;
        left: 0;
    }

    .service-carousel .owl-nav .owl-next {
        bottom: -70px;
        right: 0;
    }

    .service .nav {
        display: flex;
        justify-content: center;
    }
}
/*** Service End ***/

/*** Projects Start ***/
.projects .nav-item {
    box-shadow: 0 0 30px rgba(0, 0, 0, .09);
}

.projects-item .projects-content {
    box-shadow: 0 0 30px rgba(0, 0, 0, .1);
}

.projects .nav-item a.active {
    background: var(--bs-primary);
}

.projects .nav-item a span {
    color: var(--bs-dark);
}

.projects .nav-item a.active span {
    color: var(--bs-white);
}

.projects .nav-item a.active .projects-icon {
    background: var(--bs-dark) !important;
}

.projects .nav-item a.active .projects-icon span {
    color: var(--bs-primary);
}
/*** Projects End ***/


/*** Blog Start ***/
.blog .blog-item {
    height: 100%;
    background: var(--bs-light);
}

.blog .blog-item .blog-img {
    position: relative;
    overflow: hidden;
}

.blog .blog-item .blog-img::after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    top: 0;
    left: 0;
    display: flex;
    background: rgba(246, 138, 10, .3);
    transition: 0.5s;
}

.blog .blog-item:hover .blog-img::after {
    width: 100%;
    height: 100%;
}

.blog .blog-item .blog-img img {
    transition: 0.5s;
}

.blog .blog-item:hover .blog-img img {
    transform: scale(1.2);
}

.blog .blog-item .blog-heading {
    position: relative;
    background: var(--bs-white);
}

.blog .blog-item .blog-heading a.h4 {
    position: relative;
    width: 100%;
    display: inline-flex;
    transition: 0.5s;
    z-index: 2;
}

.blog .blog-item .blog-heading::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 100%;
    right: 0;
    bottom: 0;
    transition: 0.5s;
    z-index: 1;
}

.blog .blog-item:hover .blog-heading::after {
    width: 100%;
    background: var(--bs-primary);
}

.blog .blog-item:hover .blog-heading a.h4 {
    color: var(--bs-white);
}

.blog .blog-item:hover .blog-heading a.h4:hover {
    color: var(--bs-dark);
}
/*** Blog End ***/

/*** Team Start ***/
.team .team-item .team-img {
    position: relative;
    overflow: hidden;
}

.team .team-item .team-img img {
    transition: 0.5s;
}

.team .team-item:hover .team-img img {
    transform: scale(1.1);
}

.team .team-item .team-img .team-icon {
    position: absolute;
    bottom: 20px; right: -100%;
    z-index: 9;
    transition: 0.5s;
}

.team .team-item:hover .team-img .team-icon {
    right: 25px;
}

.team .team-item .team-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    background: rgba(246, 138, 10, .2);
    transition: 0.5s;
    z-index: 1;
}

.team .team-item:hover .team-img::after {
    height: 100%;
}

.team .team-item .team-content {
    transition: 0.5s;
}

.team .team-item:hover .team-content {
    box-shadow: 0 0 20px rgba(0, 0, 0, .2);
}
/*** Team End ***/

/*** FAQs Start ***/
.faq-section .accordion .accordion-item {
    margin-bottom: 20px;
    box-shadow: 0 0 30px rgba(0, 0, 0, .08);
    border: none;
}

.faq-section .accordion .accordion-item .accordion-header .accordion-button {
    color: var(--bs-white);
    background: #3F9C38;
    font-size: 18px;
}

.faq-section .accordion .accordion-item .accordion-header .accordion-button.collapsed {
    color: var(--bs-dark);
    background: var(--bs-light);
}
/*** FAQs End ***/

/*** Testimonial Start ***/
.testimonial-carousel .owl-stage-outer {
    margin-right: -1px;
}

.testimonial .testimonial-item {
    position: relative;
    margin-top: 35px;
}

.testimonial .testimonial-item .customer-text {
    border: 1px solid var(--bs-primary);
    border-top: none;
}

.testimonial .testimonial-item .testimonial-quote {
    position: absolute;
    width: 50px;
    height: 50px;
    top: 0;
    right: 25px;
    transform: translateY(-50%);
    color: var(--bs-dark);
    background: var(--bs-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial .testimonial-item .testimonial-inner {
    display: flex;
    align-items: center;
    background: var(--bs-white);
}

.testimonial .testimonial-item .testimonial-inner img {
    width: 100px; 
    height: 100px;
    border: 2px solid var(--bs-primary);
}

.testimonial-carousel .owl-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.testimonial-carousel .owl-dots .owl-dot {
    width: 30px;
    height: 30px;
    margin: 30px 10px 0 10px;
    background: var(--bs-white);
    transition: 0.5s;
}

@media (max-width: 991px) {
    .testimonial-carousel .owl-dots .owl-dot {
        margin: 0 10px 0 10px;
    }
}

.testimonial-carousel .owl-dots .owl-dot.active {
    width: 30px;
    height: 30px;
    background: var(--bs-primary);
    transition: 0.5s;
}

.testimonial-carousel .owl-dots .owl-dot span {
    position: relative;
    margin-top: 50%;
    margin-left: 50%;
    transform: translate(-50%, -50%);
    margin-right: -1px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.testimonial-carousel .owl-dots .owl-dot.active span::after {
    background: var(--bs-white);
}

.testimonial-carousel .owl-dots .owl-dot span::after {
    content: "";
    width: 15px;
    height: 15px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--bs-primary);
    transition: 0.5s;
}
/*** Testimonial End ***/

/*** Footer Start ***/
.footer {
    background: var(--bs-dark);
}

.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-primary);
}

.footer .footer-item .footer-btn a {
    transition: 0.5s;
}

.footer .footer-item .footer-btn a:hover {
    background: var(--bs-white);
}

.footer .footer-item .footer-btn a:hover {
    color: var(--bs-primary);
}
/*** Footer End ***/

/*** copyright Start ***/
.copyright {
    border-top: 1px solid #3F9C38;
    background: #3F9C38;
}
/*** copyright end ***/

/* Estilo general para el logo */
.team-img img {
    width: 100%;
    height: 380px; /* Ajusta la altura según necesites */
    object-fit: cover; /* Esto recortará la imagen si es necesario para mantener la proporción */
}

.team-content {
    min-height: 180px; /* Asegura que todos los bloques tengan la misma altura */
}
.navbar-nav .nav-link.active {
    color: green !important;
    border: 2px solid green;
    border-radius: 5px;
    padding: 5px 10px;
}
.position-relative {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.position-relative img {
    width: 100%;
    height: auto; /* Mantiene la proporción */
    object-fit: contain; /* Asegura que la imagen no se recorte */
}

.experience-box {
    position: absolute;
    left: -12%;
    bottom: -200%; /* Ajusta la posición para que no se superponga */
    width: 130px;
    max-width: 130px;
    background-color: #ffffff00; /* Color del fondo */
    padding: 15px;
    text-align: center;
    border-radius: 10px solid #3F9C38;
    border: 1px solid #3F9C38;
}

.experience-box h4 {
    font-size: 2.5rem; /* Tamaño más grande */
    color: #3F9C38;
}

.experience-box p {
    color: #3F9C38;
    font-size: 1.2rem;
    margin: 0;
}


/* Estilos generales del carousel */
.hero-section {
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 700px; /* Altura en pantallas grandes */
    display: flex;
    align-items: center;
    position: relative;
}

/* Ajustes para móviles */
@media (max-width: 768px) {
    .hero-section {
        height: 400px; /* Reducir la altura en móviles */
        max-height: 400px; /* Limitar altura en móviles */
    }

    .carousel-caption {
        padding: 20px;
    }

    .carousel-caption h2 {
        font-size: 20px; /* Reducir el tamaño del texto */
    }

    .carousel-caption .btn {
        padding: 10px 20px; /* Ajustar botones */
        font-size: 14px;
    }
}

/* Ajuste para el video en móvil */
@media (max-width: 768px) {
    .video-container video {
        height: auto;
        max-height: 400px; /* Limitar altura en móviles */
    }
}
/* Ocultar los botones de navegación del carrusel */
.owl-nav {
    display: none !important;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px; /* Ajusta el padding para mejor distribución */
    flex-wrap: nowrap; /* Evita que los elementos se apilen */
}

/* Asegura que la navbar se mantenga alineada */
.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap; /* No permite que los elementos se bajen */
}

/* Tamaño del logo en PC */
.navbar-brand img {
    max-height: 200px; /* Logo grande en PC */
    width: auto;
}

/* Mantener el botón de hamburguesa al lado derecho */
.navbar-toggler {
    order: 1;
}

/* Mantener el logo alineado a la izquierda */
.navbar-brand {
    order: 0;
}

/* Ajustes para móviles */
@media (max-width: 768px) { 
    .navbar {
        padding: 5px 15px; /* Reduce el padding para evitar desbordes */
    }

    .navbar-brand img {
        max-height: 130px; /* Tamaño adecuado en móvil */
    }

    .navbar-toggler {
        order: 1; /* Sigue alineado a la derecha */
    }

    .navbar-brand {
        order: 0; /* Sigue alineado a la izquierda */
    }

    /* Ajusta el contenedor para mantener el diseño en una sola línea */
    .navbar .container {
        flex-wrap: nowrap;
    }
}



        /* Botones superiores */
        .buttons {
            display: flex;
            justify-content: center;
            margin: 20px 0;
            gap: 10px;
        }

        .buttons button {
            padding: 10px 20px;
            border: none;
            background: #80a07e;
            color: white;
            cursor: pointer;
            border-radius: 5px;
        }

        .buttons button.active {
            background: #3F9C38;
        }

    /* Contenedor del slider */
.slider-container {
    position: relative;
    width: 100vw;
    max-width: 100vw;
    margin: auto;
    overflow: hidden;
    border-radius: 10px;
}

/* Cada slide */
.slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100vw;
}

.slide {
    min-width: 100vw;
    position: relative;
}

/* Imagen del slide */
.slide img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    display: block;
}

/* Contenido del texto centrado */
.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    background: rgba(75, 182, 32, 0.315);
    padding: 20px;
    border-radius: 10px;
    color: white;
    font-family: 'Glacial Indifference', sans-serif;
    max-width: 90%;
}

.slide-content h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.slide-content .subtitulo {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 5px;
}

.slide-content .descripcion {
    font-size: 16px;
    font-weight: normal;
}

/* Botones laterales */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 20px;
    border-radius: 5px;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

/* Plan activo */
.plan {
    display: none;
    position: relative;
}

.plan.active {
    display: block;
}

/* Media Query */
@media (max-width: 768px) {
    .slide img {
        height: auto;
    }

    .slide-content h2 {
        font-size: 15px;
    }

    .slide-content .subtitulo {
        font-size: 14px;
        color: #3c961b;
    }

    .slide-content .descripcion {
        font-size: 13px;
    }

    .prev, .next {
        font-size: 16px;
        padding: 8px 12px;
    }

    .buttons {
        flex-wrap: wrap;
    }
    .slide-content{
        background: rgba(255, 255, 255, 0.842);

    }
 
}
.btn-mas-info {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #4ab620;
    color: white;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn-mas-info:hover {
    background-color: #3c961b;
    color: white;
}

.catalog-container {
    text-align: center;
    padding: 20px;
}

.catalog-title {
    font-size: 24px;
    margin-bottom: 10px;
}

.catalog-description {
    font-size: 16px;
    margin-bottom: 20px;
    color: #1b1b1b;
}

.carousel-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.carousel-container {
    width: 100%;
    max-width: 900px; 
    margin: auto;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.card {
    min-width: 500px; /* Tamaño de cada tarjeta */
    max-width: 500px;
    text-align: center;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 10px;
    margin: 10px;
    box-sizing: border-box;
}

.nav-btn {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 20px;
    border-radius: 5px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.prev { left: 10px; }
.next { right: 10px; }

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    /* otros estilos */
}
/*contacto*/
.form-floating select {
    height: calc(3.5rem + 2px); /* Ajusta la altura */
}

.navbar-collapse {
    background-color: white;
    z-index: 1000;
    padding: 15px;
}
@media (max-width: 991.98px) {
    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }

    .navbar {
        position: relative;
    }
}

.carousel-img {
    position: relative;
    width: 100%;
    height: auto;
}

.carousel-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.carousel-img img.active {
    opacity: 1;
    position: relative;
}

/**/
.plan-carousel {
    width: 100%;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box;
  }
  .plan-carousel-img {
    max-height: 700px;
    object-fit: cover;
    width: 100%;
  }
  
  .plan-carousel-prev,
  .plan-carousel-next {
    top: 50%;
    transform: translateY(-50%);
    position: absolute;
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.5); /* opcional: fondo oscuro semi-transparente */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
  }
  
  .plan-carousel-prev {
    left: 200px; /* fuera del carrusel pero alineado al medio */
  }
  
  .plan-carousel-next {
    right: 200px; /* fuera del carrusel pero alineado al medio */
  }
  
  @media (max-width: 768px) {
    .plan-carousel-img {
      max-height: 400px;
      display: center;
    }
  
    .plan-carousel-prev,
    .plan-carousel-next {
  
      width: 30px;
      height: 30px;
    }
  
    .plan-carousel-prev {
      left: 10px;
    }
  
    .plan-carousel-next {
      right: 10px;
    }
    .plan-carousel-prev {
        left: 10px; /* fuera del carrusel pero alineado al medio */
      }
      
      .plan-carousel-next {
        right:10px; /* fuera del carrusel pero alineado al medio */
      }
      
  }
  
  body {
    overflow-x: hidden;
  }
  .imagenes-en-fila {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.imagenes-en-fila img {
    width: 200px; /* Fijo para mantener la forma de grilla */
    height: auto;
    transition: transform 0.3s ease;
}

.imagenes-en-fila img:hover {
    transform: scale(1.05);
}

/* Responsive: en móviles se ve como grilla vertical */
@media (max-width: 768px) {
    .imagenes-en-fila {
        justify-content: center;
    }

    .imagenes-en-fila img {
        width: 45%; /* 2 por fila aprox */
    }
}

@media (max-width: 480px) {
    .imagenes-en-fila img {
        width: 90%; /* 1 por fila en celulares muy chicos */
    }
}
@import url('https://cdn-uicons.flaticon.com/2.6.0/uicons-solid-rounded/css/uicons-solid-rounded.css')

