/********** Template CSS **********/
:root {
    --primary: #00a85a;
    --secondary: #E93C05;
    --tertiary: #555555;
    --light: #DFE4FD;
    --dark: #84716b;
}


    .contact-section {
        font-family: 'Segoe UI', sans-serif;
        background-color: #f9f9fc; /* fondo suave */
        border-radius: 16px;
        padding: 35px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08); /* sombra elegante */
        transition: all 0.3s ease-in-out;
    }

    .contact-section:hover {
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12); /* más sombra al pasar el mouse */
    }

    .contact-section p,
.contact-section h5 {
    text-align: justify;
    font-size: 1.1rem; /* Aumentado desde 0.95rem */
}

.contact-section h5 {
    font-size: 1.25rem; /* Aumentado desde 1.05rem */
}

.contact-section h1 {
    font-size: 2.5rem; /* Aumentado desde 2rem */
    margin-bottom: 1rem;
}

.contact-section .section-title {
    font-size: 1.2rem; /* Aumentado desde 1rem */
    padding: 8px 18px;
    background-color: #fff;
    border: 1px solid #ccc;
    display: inline-block;
    border-radius: 10px;
    color: #00a85a;
    margin-bottom: 1rem;
}






    .container-valores {
      max-width: 800px;
      margin: 30px auto;
    }

    .titulo {
      text-align: center;
      font-weight: bold;
      font-size: 1.8rem;
      color: #4e342e;
      margin-bottom: 25px;
    }

    .valor-item {
      display: flex;
      align-items: center;
      background-color: white;
      border-radius: 10px;
      padding: 10px;
      margin-bottom: 15px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.05);
      transition: 0.3s;
      cursor: pointer;
    }

    .valor-item:hover {
      box-shadow: 0 4px 12px rgba(33, 150, 243, 0.2);
    }

    .valor-item.selected {
      background-color: #0d6efd;
      color: white;
    }

    .valor-item.selected h5,
    .valor-item.selected p {
      color: white;
    }

    .valor-text {
      margin-left: 15px;
      font-size: 0.9rem;
    }

    .valor-item img {
      width: 80px;
      height: 80px;
      object-fit: cover;
      border-radius: 8px;
    }
    .valor-item:hover {
      background-color: #9ed4bb; /* Color suave al pasar el cursor */
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); /* Sombra azul clara */
    }

    .titulo-corporativo {
  text-align: center;
  margin-bottom: 30px;
}

.titulo-corporativo h2 {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 700;
  font-size: 28px;
  color:  #84716b; /* Azul corporativo oscuro */
  margin: 0;
}

.linea-decorativa {
  width: 80px;
  height: 4px;
  background-color: #00a85a; /* Mismo color que el título */
  margin: 10px auto 0 auto;
  border-radius: 2px;
}












    

  .project-slider {
    display: flex;
    justify-content: center;
    gap: 15px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 20px 0;
  }

  .project-card {
    flex: 0 0 auto;
    width: 250px;
    scroll-snap-align: center;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.2s;
    cursor: pointer;
  }

  .project-card:hover {
    transform: scale(1.02);
  }

  .project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
  }

  .project-title {
    font-weight: 600;
    padding: 15px 10px;
    margin: 0;
    font-size: 1rem;
  }

  /* Scrollbar oculto en navegadores compatibles */
  .project-slider::-webkit-scrollbar {
    display: none;
  }

  .project-slider {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  /* Modal */
  .modal-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
  }





.valor-glass-card {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  transition: all 0.4s ease;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  cursor: pointer;
}

.valor-glass-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.75);
}

.icon-container {
  width: 64px;
  height: 64px;
  margin: 0 auto;
  background: linear-gradient(135deg, #00b894, #55efc4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.valor-glass-card:hover .icon-container {
  transform: rotate(6deg) scale(1.05);
}

.icon-img {
  width: 80px;
  height: 80px;
  filter: drop-shadow(1px 1px 1px rgba(0,0,0,0.1));
  object-fit: cover;
  border-radius: 50%; /* Opcional, si quieres que las imágenes sean circulares */
}




.valor-card {
    transition: background-color 0.4s ease, transform 0.3s ease;
    border-radius: 1.25rem;
    cursor: pointer;
}

.valor-card:hover {
    background-color: #198754; /* verde profesional */
    transform: scale(1.02);
}

.valor-card:hover .transition-content {
    color: white;
}

.valor-card .transition-content h5,
.valor-card .transition-content p {
    transition: color 0.3s ease;
}

.valor-img {
    width: 50%;
    overflow: hidden;
    border-right: 1px solid #eee;
}

.valor-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.valor-card:hover .valor-img img {
    transform: scale(1.05);
}





.section-title h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 40px;
    background: linear-gradient(to right,#00bf6f, #f7f8f8);
    animation: slide-bar 6s infinite ease-in-out;
    border-radius: 2px;
}

/* Animación de la barra */
@keyframes slide-bar {
    0% { left: 0; }
    50% { left: calc(70% - 40px); }
    100% { left: 0; }
}

/* === Estilos para los enlaces del footer === */
.link-animated a {
    position: relative;
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
    padding-bottom: 3px;
}

/* Subrayado animado al pasar el mouse */
.link-animated a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background: #00bf6f;
    transition: width 0.3s ease;
}

/* Hover */
.link-animated a:hover {
    color:#00bf6f;
}

.link-animated a:hover::after {
    width: 100%;
}



.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

a.transition:hover {
    color: #fefefe !important;
    transition: 0.3s ease-in-out;
}

.btn-social:hover {
    background-color: white !important;
    color: #00a85a !important;
    transform: scale(1.1);
    transition: 0.3s;
}

.social-icon {
    width: 25px;
    height: 25px;
    background-color: white;
    color: #00a85a;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

.social-icon:hover {
    background-color: #84716b;
    color: #000;
    transform: translateY(-3px);
}



footer h5::after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    background: #fff;
    margin-top: 10px;
    border-radius: 2px;
}

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;
}


/*** 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;
}


/*** Button ***/
.btn {
    transition: .5s;
    font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
    color: var(--light);
}

.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;
}


/*** Navbar ***/
.fixed-top {
    transition: .5s;
}

.top-bar {
    height: 45px;
    border-bottom: 1px solid rgba(53, 94, 252, .07);
}

.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, .07);
        background: #FFFFFF;
    }

    .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: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** 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: var(--primary);
    border: 10px solid var(--primary);
}

.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/header.jpg) 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(53, 94, 252, .95), rgba(53, 94, 252, .95)), url(../img/bg.png);
}


/*** Callback ***/
.callback {
    position: relative;
}

.callback::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 50%;
    top: 0;
    left: 0;
    background: linear-gradient(rgba(53, 94, 252, .95), rgba(53, 94, 252, .95)), url(../img/bg.png);
    z-index: -1;
}


/*** Feature ***/
.feature .feature-box,
.feature .feature-box * {
    transition: .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: .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, .5);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    opacity: 0;
    transition: .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: .5s;
}

.project-item:hover .project-title {
    background: var(--primary);
    border-color: var(--primary);
}

.project-item .project-title h4 {
    transition: .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: .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: .5s;
    z-index: 1;
}

.team-item:hover .team-text {
    background: var(--primary);
    border-color: var(--primary);
}

.team-item .team-text h4 {
    transition: .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: .5s;
}

.testimonial-carousel .owl-dot::after {
    position: absolute;
    content: "";
    width: 16px;
    height: 16px;
    top: 6px;
    left: 6px;
    border-radius: 16px;
    background: var(--light);
    transition: .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: .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: #84716b;
}

.copyright a {
    color: var(--light);
}

.copyright a:hover {
    color: var(--primary);
}

.gallery-item {
    position: relative;
    cursor: pointer;
    border-radius: 10px;
    overflow: hidden;
}

.gallery-item img {
    transition: 0.5s ease;
}

.gallery-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    opacity: 0;
    transition: 0.5s ease;
    font-size: 2rem;
}

.gallery-item:hover img {
    transform: scale(1.05);
    filter: brightness(70%);
}

.gallery-item:hover .overlay {
    opacity: 1;
}

.eye-icon {
    color: white;
    font-size: 2.5rem;
    text-decoration: none;
}

.eye-icon:hover {
    color: #0d6efd; /* color corporativo azul */
}














.flip-card {
  background-color: transparent;
  width: 100%;
  height: 250px;
  perspective: 1000px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 1rem;
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.flip-card-front {
  background-color: #ffffff;
}

.flip-card-back {
  background: linear-gradient(135deg, #4ae6e0, #00a850);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  transform: rotateY(180deg);
}



/* forma para los registros fotograficos */
.fixed-img {
  width: 100%;
  height: 220px;   /* 🔹 Ajusta este valor según lo alto que quieras las tarjetas */
  object-fit: cover; /* 🔹 Mantiene proporción y recorta si sobra */
  border-radius: 10px; /* opcional, bordes redondeados */
}


/* las flechas */
  /* Mueve los botones de control más hacia afuera */
  #newsCarousel .carousel-control-prev,
  #newsCarousel .carousel-control-next {
    width: 5%; /* achica el área clickeable */
  }

  #newsCarousel .carousel-control-prev {
    left: -60px; /* desplaza hacia la izquierda */
  }

  #newsCarousel .carousel-control-next {
    right: -60px; /* desplaza hacia la derecha */
  }

  /* Opcional: hacer más sutiles las flechas */
  #newsCarousel .carousel-control-prev-icon,
  #newsCarousel .carousel-control-next-icon {
    background-size: 100%, 100%;
    border-radius: 50%;
    box-shadow: 0px 0px 8px rgba(0,0,0,0.2);
  }



/* carrusel */
  #header-carousel .carousel-item img {
  height: 650px;        /* Cambia este valor según lo quieras (ej: 300px, 500px) */
  object-fit: cover;    /* Ajusta la imagen para que se recorte y no se deforme */
}






  









