:root{
    --colorGreen:#1F4343;
}

html{
    scroll-behavior: smooth;
}



.titleThemeColor{
    color: var(--colorGreen);
}

.hero-img2 {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.info-sectionAboutUs{
    width: 100%;
    height: auto;
    padding: 50px 0px;
    background-color: #ebebeb;
}

.contentCardUnit{
    width: 100%;
    height: auto;
    padding: 10px;
}

/* form css */

/* Contenedor del grupo para manejar la transición global de la línea */
.custom-input-group {
    border-bottom: 1px solid #b6b6b6 !important;
    transition: border-color 0.3s ease;
}

/* Estilo del contenedor del icono */
.custom-icon {
    background-color: transparent !important;
    border: none !important;
    color: #495057; /* Color sutil para el icono */
    padding-left: 0.2rem;
    padding-right: 0.6rem;
    font-size: 1.1rem;
}

/* Inputs sin bordes individuales ya que el borde lo maneja el grupo */
.custom-input {
    border: none !important;
    border-radius: 0 !important;
    padding: 0.75rem 0.1rem !important;
    background-color: transparent !important;
    box-shadow: none !important;
}

/* Cambio de color cuando el usuario hace clic para escribir */
.custom-input-group:focus-within {
    border-color: #1c3d3a !important; /* El color verde oscuro de tu marca */
}

.custom-input-group:focus-within .custom-icon {
    color: #1c3d3a; /* El icono también se ilumina con el color de la marca */
}

/* Estilo del botón (Manteniendo tu línea de diseño) */
.btn-custom-submit {
    background-color: transparent;
    border: 1px solid #1c3d3a;
    color: #1c3d3a;
    font-weight: 500;
    letter-spacing: 1.5px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.btn-custom-submit:hover {
    background-color: #1c3d3a;
    color: #ffffff;
}

/* Contenedor de la flecha (área donde el usuario hace click) */
.scroll-down-container {
    width: 100%;
    cursor: pointer;
    padding: 10px;
    display: flex;
    justify-content: center;
}

/* Adaptación para el icono Bootstrap */
.arrow-down {
    display: inline-block; /* Necesario para que las transformaciones y animaciones funcionen bien */
    font-size: 3rem;       /* Controla el tamaño del icono (puedes usar px, rem o em) */
    color: var(--colorGreen);        /* El color de tu flecha */
    text-align: center;
    /* Vinculación de la animación */
    animation: bounce 2s infinite;
}

/* Definición de la animación de rebote (simplificada sin la rotación de 45° de antes) */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
        opacity: 0.7;
    }
    40% {
        transform: translateY(-12px); /* Se mueve hacia arriba */
        opacity: 1;
    }
    60% {
        transform: translateY(-6px);  /* Un pequeño rebote secundario */
        opacity: 1;
    }
}


.cardUnits-horizontal{
    width: 100%;
    height: auto;
    padding: 60px 0px;
    background-color: #ebebeb;
}

.cardUnit{
    width: 100%;
    height: auto;
    background-color: white;
    margin-bottom: 20px;
}

.cardUnit img{
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.cardUnit ul {padding: 0px;}
.cardUnit ul li{list-style: none; font-size: 1.2rem;}


.custom-footer {
    background-color: #1c3d37; 
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.custom-footer .branding-text {
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.custom-footer .footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 2px; 
    transition: color 0.3s ease;
}

.custom-footer .footer-links a:hover {
    color: #ffffff; 
}

.custom-footer .footer-socials a i {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    transition: transform 0.3s ease, color 0.3s ease;
    display: inline-block;
}

.custom-footer .footer-socials a:hover i {
    color: #ffffff;
    transform: translateY(-2px); 
}

/* Estilo para la miniatura que NO está activa (semi-transparente) */
#thumbnail-carousel .splide__slide {
  opacity: 0.6;
  transition: opacity 0.3s;
  cursor: pointer;
}

/* Estilo para la miniatura ACTIVA (completamente visible y con borde) */
#thumbnail-carousel .splide__slide.is-active {
  opacity: 1;
  
}

.carousel-container {
  display: flex;
  gap: 15px;            /* Espacio entre las miniaturas y el carrusel principal */
  max-width: 800px;     /* Ajusta al ancho de tu diseño */
  margin: 0 auto;
}

#main-carousel {
  flex-grow: 1;         /* El carrusel principal ocupa todo el espacio restante */
}

/* Estilos de selección (igual que antes) */
#thumbnail-carousel .splide__slide {
  opacity: 0.5;
  transition: opacity 0.3s;
  cursor: pointer;
}

#thumbnail-carousel .splide__slide.is-active {
  opacity: 1;
  border: 2px solid  var(--colorGreen);
}

.splide{
    width: 70%;
    height: auto;
    margin: auto;
}

.splide img{
   width: 100%;
   height: 600px;
   object-fit: cover;
}

.section-unitInfo{
    width: 100%;
    height: auto;
    padding: 60px 0px;
    background-color: #ebebeb;
}



        /* Contenedor de la galería en Grid */
        .galeria-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
            width: 100%;
        }

        /* Estilos de las tarjetas de imagen */
        .galeria-item {
            overflow: hidden;
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
            transition: transform 0.3s ease;
        }

        .galeria-item:hover {
            transform: scale(1.03);
        }

        .galeria-item img {
            width: 100%;
            height: 220px;
            object-fit: cover;
            display: block;
            cursor: pointer;
        }
        


@media screen and (min-width:576px) {

}
@media screen and (min-width:768px) {
    .contact-form-container{
        width: 90%;
        height: auto;
        margin: auto;
    }

    .swiper {
    width: 60%;
    height: auto;
    margin: auto;
    }

    .img-slide{
        height: 550px;
    }

    
}
@media screen and (min-width:992px) {
    .hero-img2 {
    width: 100%;
    height: auto;
    margin-left: 7%;

}
}

@media screen and (min-width:1200px) {
 
}
@media screen and (min-width:1400px) {

}
