/* === Estilos básicos y reseteo === */
*,
body,
html,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
/* === Variables ===  24595D 008E47 F9F1E4 DBA526 A74A1D */
:root {
  --primary-color: #008e47;
  --secondary-color: #dba526;
  --tertiary-color: #24595d;
  --quaternary-color: #f9f1e4;
  --quinary-color: #a74a1d;
}
/* LOGO NAVBAR */
.logo {
  height: 56px;
  width: auto;
}

@media (max-width: 768px) {
  .logo {
    height: 40px;
  }
}

.nav-item a:hover {
  color: var(--primary-color);
  font-size: 17px;
  font-weight: bold;
}
/* SECTION SLIDE INDEX */

.slider-section {
  position: relative;
  overflow: hidden;
  background-color: #fff;
  border-bottom: 2px solid #fff;
}
.carousel-index {
  position: relative;
  z-index: 1; /* Asegura que el slider esté detrás del SVG */
}

.imagen-slide {
  background-color: rgba(0, 0, 0, 2);
}
.slider-svg {
  position: absolute;
  bottom: -1px; /* Ajuste para superponer cualquier línea */
  left: 0;
  width: 100%;
  height: auto; /* Mantiene la proporción correcta del SVG */
  z-index: 2;
  pointer-events: none; /* Evita que interfiera con el slider */
}
/* Estilos base del carrusel */
.carousel-index-inner {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.imagen-slide {
    position: relative;
    height: 100vh;
}

/* Overlay oscuro para mejorar legibilidad del texto */
.imagen-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Contenedor principal */
.imagen-slide .container {
    position: relative; /* Para que esté por encima del overlay */
    z-index: 2;
}

/* Ajustes de texto */
.imagen-slide h1 {
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.imagen-slide .text-warning {
    font-weight: 600;
}

.imagen-slide .text-white.h1 {
    font-weight: 700;
    font-size: 2.5rem;
    margin-top: 0.5rem;
}

.imagen-slide p {
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Estilos del botón */
.imagen-slide .btn-warning {
    padding: 0.75rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.imagen-slide .btn-warning:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.warning-slide {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  color: white;
  font-size: 1rem;
  border-radius: 0.25rem;
}
.warning-slide:hover {
  transform: translateY(-2px);
  background-color: var(--secondary-color);
  animation: shake 0.82s cubic-bezier(.36,.07,.19,.97) both;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  perspective: 1000px;
}

@keyframes shake {
  10%, 90% {
    transform: translate3d(-1px, 0, 0);
  }
  
  20%, 80% {
    transform: translate3d(2px, 0, 0);
  }

  30%, 50%, 70% {
    transform: translate3d(-4px, 0, 0);
  }

  40%, 60% {
    transform: translate3d(4px, 0, 0);
  }
  
}

/* Media Queries */
@media (max-width: 768px) {
    .imagen-slide {
        height: 100vh;
        text-align: center;
    }
    
    .imagen-slide .container {
        padding: 0 15px;
    }
    
    .imagen-slide .row {
        justify-content: center;
    }
    
    .imagen-slide .col-md-10 {
        padding: 0 20px;
    }
    
    .imagen-slide h1 {
        margin-bottom: 1rem;
    }
    
    .imagen-slide .text-warning {
        font-size: 1.5rem;
    }
    
    .imagen-slide .text-white.h1 {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .imagen-slide p {
        font-size: 1.1rem !important;
        margin-bottom: 1.5rem;
        padding: 0 10px;
    }
    
    .imagen-slide .btn-warning {
        padding: 0.625rem 1.75rem;
        font-size: 1rem;
    }
}

/* Ajustes para pantallas muy pequeñas */
@media (max-width: 480px) {
    .imagen-slide .text-warning {
        font-size: 1.25rem;
    }
    
    .imagen-slide .text-white.h1 {
        font-size: 1.75rem;
    }
    
    .imagen-slide p {
        font-size: 1rem !important;
        padding: 0 5px;
    }
    
    /* Ajuste para evitar que el texto toque los bordes */
    .imagen-slide .col-md-10 {
        padding: 0 15px;
    }
}

/* Ajustes para pantallas muy altas (como móviles en landscape) */
@media (max-height: 600px) {
    .imagen-slide {
        min-height: 500px;
        height: auto;
    }
    
    .imagen-slide .container {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
}
/* SECTION SERVICE CARDS */

.wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  justify-content: center;
}

.single-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Distribuye el contenido dejando espacio entre */
  align-items: center; /* Centra el contenido horizontalmente */
  height: 100%; /* Asegura que todas las tarjetas tengan el mismo tamaño */
  position: relative;
  width: 230px;
  height: 380px;
  margin: 15px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
  transition: box-shadow 0.3s ease;
  overflow: hidden;
  background: #fff;
  border-radius: 15px;
  transition: all 0.8s ease-in-out;
}

.single-card:hover {
  transform: translateY(-10px);
}

.single-card.hide {
  display: none;
}

.img-area {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.img-area img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.img-area:hover img {
  transform: scale(1.1);
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.single-card:hover .overlay {
  opacity: 0.5;
}

.view-details {
  font-family: Helvetica, sans-serif;
  background-color: #fff;
  color: #fff;
  padding: 10px 15px;
  border-radius: 4px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin-bottom: 10px;
  margin-top: auto;
  background-color: var(--primary-color);
}

.view-details:hover {
  background-color: orangered;
  color: #fff;
  border: none;
}

.info {
  padding: 10px;
  flex: 1; /* Toma el espacio restante */
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Distribuye texto y botón */
}

.info,
.info h3 {
  font-family: Arial, Helvetica, sans-serif;
  align-items: center;
  text-align: center;
  font-size: 16px;
  font-weight: bold;
}

.info .price,
.p {
  padding-top: 5px;
  align-items: center;
  text-align: center;
  font-size: 17px;
  font-weight: bold;
  color: darkblue;
}
/* MODALES  */
/* Modal personalizado */
.modalcard .modal-content {
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.modalcard .modal-header {
  background-color: #007bff;
  color: #fff;
  border-bottom: none;
}

.modalcard .modal-title {
  font-size: 1.5rem;
  font-weight: bold;
}

.modalcard .modal-body h4 {
  font-size: 1.25rem;
  margin-bottom: 15px;
}

.modalcard .modal-body p {
  font-size: 1rem;
  line-height: 1.5;
}

/* Responsividad */
@media (max-width: 768px) {
  .modalcard .modal-dialog {
    margin: 10px;
  }

  .modalcard .modal-body h4 {
    font-size: 1.2rem;
  }

  .modalcard .modal-body p {
    font-size: 0.95rem;
  }
}
/* SECCION COMMENTS  */
.comments {
  background-image: url(../img/bg-clients.jpeg);
  background-position: center;
  background-size: cover;
}
.comments_img {
  --tamano: 80px;
  width: var(--tamano);
  height: var(--tamano);
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 7px 7px 7px rgba(0, 0, 0 / 0.5);
  border: 3px ridge #fff;
}
.trasnform-turn {
  transform: rotate(0.5turn);
}
.comments.linear-white::after {
  top: 0;
}
.linear-white::after {
  content: "";
  display: block;
  width: 100%;
  height: 10px;
  background-color: #fff;
  position: absolute;
  left: 0;
  bottom: 0;
}

/* CAROUSEL SECTION */
.carousel-caption {
  background-color: rgba(0, 0, 0, 0.2); /* Fondo oscuro translúcido */
  padding: 20px;
  border-radius: 10px;
}
.carousel-caption {
  top: 35%;
}
@media screen and (max-width: 768px) {
  .vh-50 {
    height: 50vmax;
  }
}

/* === TESTIMONIAL SECTION === */
.testimonial-card {
  border-radius: 15px;
  padding: 20px;
  margin: 20px 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.star-rating {
  color: #f7c042;
}

.info-card {
  margin-bottom: 30px;
  top: 80px;
  margin-right: 90px;
  margin-left: 90px;
  padding: 10px;
}

.profile {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem; /* Espacio entre la imagen y el nombre */
}

.profile-pic {
  max-width: 100%;
  height: 80px;
  border: 2px solid #ddd;
}

@media (max-width: 768) {
  .tarjeta-información {
    justify-content: center;
    align-items: center;
    text-align: center;
  }
}
/* === CARD FINAL SECTION END === */

/* === EQUIPO SECTION  === */
.equipo .card {
  max-width: 300px; /* Cambia el ancho máximo */
  margin: 0 auto; /* Centra las tarjetas en cada columna */
}
.card-img-top {
  height: 250px; /* Ajusta la altura según tus necesidades */
  object-fit: cover; /* Recorta la imagen si es necesario para llenar el área */
  width: 100%; /* Asegúrate de que la imagen ocupe todo el ancho del contenedor */
  border-radius: 50%; /* Asegúrate de que no haya esquinas redondeadas si no las necesitas */
}

.equipo .card img {
  height: 280px; /* Cambia la altura máxima de las imágenes */
  object-fit: cover; /* Asegura que la imagen mantenga sus proporciones */
}
/* === EQUIPO SECTION END=== */

/* === GALERY SECTION  == */
.gallery-container {
  padding: 2rem 0;
}

.gallery-slide {
  margin: 0 10px;
}

.gallery-item {
  position: relative;
  cursor: pointer;
  margin-bottom: 1rem;
  border-radius: 8px;
  overflow: hidden;
}

.gallery-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image {
  transform: scale(1.05);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 0.5rem;
  font-size: 1rem;
}

.carousel-control-prev,
.carousel-control-next {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
}

.modal-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.modal-dialog {
  max-width: 800px;
}

@media (max-width: 768px) {
  .gallery-image {
    height: 200px;
  }
}
#youtubeCarousel {
  background-color: #f8f9fa; /* Color de fondo suave */
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}
iframe {
  border-radius: 10px;
  border: 2px solid #ddd;
}

.link-red1 a{
    text-decoration:none;
    color: red;
}

.link-red2 a{
    text-decoration: none;
    color: blue;
}
/* === FOOTER SECTION=== */
.footer-site h5 {
  font-size: 1.25rem;
}

.social-icons a {
  font-size: 1.5rem; /* Tamaño de los iconos */
  transition: color 0.3s ease;
  text-decoration: none;
}

.social-icons a:hover i {
  color: #f7c042; /* Cambiar color del ícono cuando el enlace es hover */
}

.footer-site {
  padding: 40px; /* Espaciado superior e inferior del footer */
}

.footer-site h5 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.footer-site .social-icons a {
  font-size: 1.5rem; /* Tamaño de íconos */
}

.footer-logo {
  width: 70%; /* Ajusta el ancho del logo */
  height: auto; /* Mantiene la proporción del logo */
  display: block; /* Para asegurarse de que el margen automático funcione */
}
/* === FOOTER SECTION END=== */
.whatsapp-float {
  position: fixed;
  bottom: 40px;
  right: 40px;
  z-index: 1000;
}

.whatsapp-icon {
  width: auto; /* Permite que la imagen mantenga su proporción */
  height: auto; /* Permite que la imagen mantenga su proporción */
  max-width: 240px; /* Ajusta según el tamaño que necesites */
  max-height: 100px; /* Ajusta según el tamaño que necesites */
  border-radius: 0;
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 30px;
    right: 30px;
  }
  .whatsapp-icon {
    max-width: 160px;
    max-height: 60px;
  }
}

@media (max-width: 576px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
  }
  .whatsapp-icon {
    max-width: 140px;
    max-height: 50px;
  }
}

/*=============== FORMULARIO DE CONTACTO ===============*/
.content-contact-form {
  width: 100%;
  max-width: 1170px;
  margin-left: auto;
  margin-right: auto;
  padding: 1rem;
  overflow-x: hidden;
}

.contact-wrapper {
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.3);
  width: 100%;
  margin: 0 auto;
}

.contact-wrapper > * {
  padding: 0.8rem;
}

.contact-form {
  background: #fff;
  width: 100%;
}

.contact-form label {
  font-weight: bold;
  color: var(--primary-color);
  display: block;
  margin-bottom: 0.5rem;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.contact-form form p {
  margin: 0 0 1rem 0;
  padding: 0;
  width: 100%;
  box-sizing: border-box;
}

.contact-form form input,
.contact-form form textarea {
  width: 100%;
  padding: 0.7rem;
  border: none;
  background: none;
  border-bottom: 1px solid #003366;
  outline: 0;
  box-sizing: border-box;
}

.contact-form form small {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.85rem;
}


.btn-warning {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  color: white;
  font-size: 1rem;
  padding: 0.5rem 1.5rem;
  border-radius: 0.25rem;
  margin: 1.5rem auto;
}

.warning-contact {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  color: white;
  font-size: 1rem;
  padding: 0.5rem 1.5rem;
  border-radius: 0.25rem;
  margin: 1rem auto;
}

.contact-info {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  padding: 1rem;
  width: 100%;
  box-sizing: border-box;
}

.logo-contact {
  width: 100%;
  max-width: 180px;
  height: auto;
  margin: auto;
}

/*=============== BREAKPOINTS ===============*/
/* Móvil pequeño */
@media (max-width: 320px) {
  .content-contact-form {
    padding: 0.5rem;
  }
  
  .contact-form form {
    padding: 0 10px;
  }
  
  .btn-warning {
    width: 100%;
    max-width: 200px;
  }
}

/* Móvil a Tablet */
@media (min-width: 321px) and (max-width: 767px) {
  .content-contact-form {
    padding: 0.8rem;
  }
  
  .contact-form form {
    padding: 0 15px;
  }
}

/* Tablet en adelante */
@media (min-width: 768px) {
  .contact-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
  }
  
  .content-contact-form {
    padding: 1.5rem;
  }
  
  .contact-form form {
    padding: 0 2rem;
  }
  
  .contact-info {
    padding: 2rem;
  }
}

/* Pantallas grandes */
@media (min-width: 1024px) {
  .content-contact-form {
    padding: 2rem;
  }
  
  .contact-form form {
    padding: 0 3rem;
  }
}
