/* Importa la fuente desde Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Source Serif 4', serif; /* Cambia la fuente aquí */
}

body {
	font-size:14px;
	color:#000000;
    text-transform:initial;
    max-width:1920px;
    margin:0 auto;
	overflow-x:hidden;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background-color: #ffffff;
    padding: 10px 30px;
    z-index: 1000;
}

.header-left {
    display: flex;
    flex-direction: row; /* Cambiado de column a row */
    align-items: center;
    gap: 15px; /* Espaciado entre los elementos */
    z-index: 1100;
    
}

.logo {
    width: 100px;
    height: auto;
    margin-bottom: 5px;
}

.contact-info p {
    margin: 5px 0;
    font-size: 14px;
    display: flex;
    align-items: center;
    color: #021688;
}

.contact-info i {
    margin-right: 5px;
    color: #021688;
}

.header-menu ul {
    list-style: none;
    display: flex;
    gap: 20px;
    padding: 0;
    margin: 0;
}

.header-menu ul li {
    position: relative;
}

/* Estilos base para los enlaces */
.header-menu ul li a {
    text-decoration: none;
    color: #765050; /* Color inicial */
    font-size: 18px;
    padding-bottom: 5px;
    transition: color 0.3s ease-in-out;
}  

/* Línea debajo del texto */
.header-menu ul li a::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -3px; /* Ajuste de posición */
    left: 0;
    background-color: transparent;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease-in-out, background-color 0.3s ease-in-out;
}

/* Efecto hover */
.header-menu ul li:hover a {
    color: #1e7cff; /* Azul */
}

.header-menu ul li:hover a::after {
    background-color: #1e7cff; /* Línea azul */
    transform: scaleX(1); /* Aparece la línea */
}

/* Botón hamburguesa por defecto oculto */
.menu-toggle {
    display: none !important;
    cursor:pointer;
}

/* Responsive */
@media (max-width: 768px) {
    .header-left {
        position: relative;
    }

    /* Mostrar botón hamburguesa y aumentar tamaño */
    .menu-toggle {
        display: block !important;
        z-index: 1201;
        font-size: 30px; /* Aumenta el tamaño del icono del menú */
        color: #000000;
    }

    .header-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 70%;
        height: 100%;
        background-color: #ffffff;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 60px 20px;
        transition: left 0.3s ease;
        z-index: 1000;
    }

    .header-menu.active {
        left: 0;
    }

    .header-menu ul {
        flex-direction: column;
        gap: 8px;
        width: 100%;
    }

    .header-menu ul li {
        width: 40%;
        margin-top: 10px;
    }

    .header-menu ul li a {
        width: 100%;
        display: block;
        padding: 10px 0;
    }
}

/* welcome  */
.welcome-hero {
    position: relative;
    background: url(../imgs/architecture-2503141_1280.jpg) no-repeat;
    background-position: center;
    background-size: cover;
    text-align: center;
    height: 800px;
    z-index: 1;
}

.welcome-hero:before {
    position: absolute;
    content: " ";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(65, 73, 89, .65);
    z-index: -1;
}

.welcome-hero-txt {
    padding-top: 16%;
    color: #fff; /* Asegura que el texto sea blanco para mejor visibilidad */
    text-align: center; /* Asegura que el texto esté centrado */
}

.welcome-hero-txt h2 {
    font-size: 48px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.4px;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    display: inline-block;
    text-align: center;
    margin-bottom: 20px; /* Añadido para separar un poco los párrafos del título */
}

.title-line {
    display: inline-block;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.title-line.animate-title {
    opacity: 1;
    transform: scale(1);
}

.welcome-hero-txt p {
    font-size: 20px;
    margin-top: 25px;
    opacity: 0;
    color: #ffffff;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 0.5s ease-out;
}

.welcome-hero-txt p.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* Media Queries */

@media screen and (max-width: 768px) {
    .welcome-hero {
        height: 700px; /* Ajustamos la altura para pantallas más pequeñas */
    }

    .welcome-hero-txt h2 {
        font-size: 32px; /* Reducimos el tamaño del texto del título */
        letter-spacing: 1.8px; /* Menos espaciado entre letras */
        margin-top: 15%;
    }

    .welcome-hero-txt p {
        font-size: 16px; /* Reducimos el tamaño del párrafo */
        margin: 10px 10px;
    }
}

@media screen and (max-width: 480px) {
    .welcome-hero {
        height: 500px; /* Reducimos aún más la altura en pantallas muy pequeñas */
    }

    .welcome-hero-txt h2 {
        font-size: 28px; /* Ajustamos el tamaño de la fuente */
        letter-spacing: 1.2px;
    }

    .welcome-hero-txt p {
        font-size: 14px; /* Ajustamos el tamaño de los párrafos */
        margin-top: 15px;
    }
}

/* ---------------------------------------------------------------------------------------------------------------------------------------- */

.section-divider {
    border: none;
    height: 2px;
    background: linear-gradient(to right, transparent, #48a7d7, transparent);
    margin: 40px 0;
}


/* -------------------------------------5. List-topics --------------------------------------*/
/* 5. List-topics */

.list-topics-content {
    position: relative;
    top: -98px;
    z-index: 1;
    display: flex;
    justify-content: center;  /* Centra los elementos dentro del contenedor */
    align-items: center;
    flex-wrap: wrap;  /* Asegura que los elementos se acomoden en varias filas si es necesario */
}

/* Estilo para los elementos en pantallas grandes (PC) */
.list-topics-content ul {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;  /* Espacio entre las columnas */
    width: 70%;
    padding: 0;
}

.list-topics-content ul li {
    flex: 1;
    margin: 10px;  /* Espaciado entre los items */
}

.single-list-topics-content {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    height: 170px;
    background: #fff;
    border-radius: 3px;
    box-shadow: 0 0px 10px rgba(71,71,71,.2);
    -webkit-transition: .3s linear;
    -moz-transition: .3s linear;
    -ms-transition:.3s linear;
    -o-transition:.3s linear;
    transition: .3s linear;
    padding: 15px;
    text-align: center;
}

.single-list-topics-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto; /* Centra el icono dentro del contenedor */
}

.single-list-topics-icon img {
    width: 100%;
    height: auto;
    object-fit: contain; /* Asegura que la imagen mantenga su aspecto sin deformarse */
}

/* Estilo cuando se hace hover sobre un elemento */
.single-list-topics-content {
    transition: background 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.single-list-topics-content:hover {
    color: #fff;
    background: #1e7cff;
    box-shadow: 0 5px 10px rgba(71,71,71,.4);
}

/* Transición del texto */
.single-list-topics-content h2 a,
.single-list-topics-content p {
    transition: color 0.3s ease-in-out;
}

.single-list-topics-content:hover h2 a,
.single-list-topics-content:hover p {
    color: #fff !important;
}

/* Estilos para los iconos (PNG) cuando se hace hover */
.single-list-topics-icon img {
    transition: filter 0.3s ease-in-out; /* Transición suave */
}

.single-list-topics-content:hover .single-list-topics-icon img {
    filter: brightness(0) invert(1); /* Convierte la imagen a blanco */
}

h2 a {
    font-size: 18px;
    text-decoration: none;
    color: #333;
    font-weight: bold;
    margin-bottom: 5px;
}

p {
    font-size: 14px;
    color: #777;
    text-align: center;
}

/* Media query para pantallas pequeñas (móviles y tabletas) */
@media (max-width: 768px) {
    .list-topics-content ul {
        display: flex;
        flex-wrap: wrap;  /* Permite que los elementos se acomoden en varias filas */
        justify-content: space-around;
    }

    .list-topics-content ul li {
        flex: 0 0 40%;  /* Dos columnas (48% de ancho cada una) */
        margin: 10px;
    }
}

/*--------------Carousel-----------------------/* Carousel Styles */
/* Carousel Styles */
.image-carousel {
    padding: 50px 0;
    text-align: center;
}

.carousel-container {
    position: relative;
    width: fit-content;
    margin: auto;
    overflow: hidden;
    height: 300px; /* Fija la altura del slider */
}

.carousel {
    display: flex;
    width: 100%;
    animation: slide 50s linear infinite; /* Animación infinita */
}

.carousel-item {
    min-width: 28%;

}
.carousel-item img {
    width: 100%;
    height: 200px; /* Fija la altura de las imágenes a 200px */
    object-fit: cover; /* Asegura que las imágenes no se deformen */
    border-radius: 10px;
}

/* Animación del carrusel */
@keyframes slide {
    0% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-100%);
    }
    50% {
        transform: translateX(-200%);
    }
    75% {
        transform: translateX(-300%);
    }
    100% {
        transform: translateX(-400%);
    }
}

/* Media Query para dispositivos móviles */
@media (max-width: 768px) {
    .carousel-container {
        height: 300px; /* Reduce la altura del carrusel para pantallas pequeñas */
    }
    
    .carousel-item {
        min-width: 50%; /* Muestra dos imágenes a la vez */
    }

    .carousel-item img {
        height: 150px; /* Ajusta la altura de las imágenes para pantallas pequeñas */
    }
}

/* Media Query para pantallas muy pequeñas (móviles muy pequeños o dispositivos con pantallas más estrechas) */
@media (max-width: 480px) {
    .carousel-container {
        height: 250px; /* Reduce aún más la altura del carrusel */
    }
    
    .carousel-item {
        min-width: 100%; /* Muestra una imagen a la vez */
    }

    .carousel-item img {
        height: 120px; /* Ajusta la altura de las imágenes */
    }
}


/* ------------------------------------------servicios -------------------------------------------*/


/* Estilos para la sección de Servicios */
#servicio {
    padding: 80px 20px;
    background-color: #ffffff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.section-title {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, #0072ff, #00c6ff);
    bottom: -10px;
    left: 20%;
    border-radius: 3px;
}

#servicio > p {
    color: #666;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 50px;
    line-height: 1.6;
}

.service-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.service-item {
    background: white;
    border-radius: 12px;
    padding: 35px 25px;
    width: 100%;
    max-width: 350px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #0072ff, #00c6ff);
    z-index: -1;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.service-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
    object-fit: contain;
}

.service-item h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 15px;
}

.line {
    width: 50%;
    height: 2px;
    background: linear-gradient(90deg, #0072ff, #00c6ff);
    margin: 0 auto 20px;
}

.service-item p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.service-item a {
    display: inline-block;
    color: #0072ff;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.service-item a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: #0072ff;
    bottom: -5px;
    right: 0; /* Cambié de left: 0 a right: 0 */
    transition: width 0.3s ease;
}

.service-item a:hover {
    color: #0056b3;
}

.service-item a:hover::after {
    width: 100%;
    right: auto; /* Asegura que la barra no se mueva al hacer hover */
    left: 0; /* La barra empieza desde el lado izquierdo cuando se llena */
}


/* Botón de solicitar servicio */
.service-request-btn-container {
    margin-top: 40px;
    text-align: center;
}

.cta {
    border: none;
    background: none;
    cursor: pointer;
  }
  
  .cta span {
    padding-bottom: 7px;
    letter-spacing: 4px;
    font-size: 14px;
    padding-right: 15px;
    text-transform: uppercase;
  }
  
  .cta svg {
    transform: translateX(-8px);
    transition: all 0.3s ease;
  }
  
  .cta:hover svg {
    transform: translateX(0);
  }
  
  .cta:active svg {
    transform: scale(0.9);
  }
  
  .hover-underline-animation {
    position: relative;
    color: #0036f8;
    padding-bottom: 20px;
  }
  
  .hover-underline-animation:after {
    content: "";
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #00fc6d;
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
  }
  
  .cta:hover .hover-underline-animation:after {
    transform: scaleX(1);
    transform-origin: bottom left;
  }
  
/* Responsive */
@media (max-width: 768px) {
    .service-container {
        flex-direction: column;
        align-items: center;
    }
    
    .service-item {
        max-width: 100%;
    }
    
    .section-title {
        font-size: 2rem;
    }
}


/* estructuras */
/* Estilos para sección de Estructuras */
.estructuras {
    padding: 80px 0;
    background-color: #ffffff;
    font-family: 'Montserrat', sans-serif;
}

.container-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title-estructure {
    font-size: 2.5rem;
    color: #222;
    text-align: center;
    margin-bottom: 15px;
    font-weight: 500;
    position: relative;
}

.section-title-estructure::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background: #0072ff;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-description {
    text-align: center;
    color: #555;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 50px;
    line-height: 1.6;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.image-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    opacity: 0.7;
}

.gallery-label {
    position: absolute;
    bottom: 15px;
    left: 15px;
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.gallery-label span {
    font-size: 0.9rem;
    font-weight: 400;
    display: block;
}

.request-section {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.request-section h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 25px;
    font-weight: 500;
}

.request-form {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* Estilos para ambos select */
.structure-select,
.department-select {
    flex: 1;
    min-width: 250px;
    padding: 12px 20px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    color: #555;
    background-color: #f9f9f9;
    transition: all 0.3s ease;
}

/* Efecto al enfocar */
.structure-select:focus,
.department-select:focus {
    outline: none;
    border-color: #0072ff;
    box-shadow: 0 0 0 2px rgba(0, 114, 255, 0.2);
}

/* boton de solicitar */
.request-btn {
    cursor: pointer;
    position: relative;
    padding: 10px 30px;
    font-size: 20px;
    font-weight: 400;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #050505;
    transition: all 100ms;
    overflow: hidden;
    height: 50px;
    width: 190px; /* Ajuste para el ícono */
}

.left-span, .right-span {
    position: absolute;
    height: 50px;
    width: 30px;
    border-top: 2px solid #1100cb;
    border-bottom: 2px solid #1100cb;
    transition: all 500ms;
}

.left-span { left: 0; border-left: 2px solid #1100cb; }
.right-span { right: 0; border-right: 2px solid #1100cb; }

.text-btn, .hidden-text-btn {
    position: absolute;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px; /* Espacio entre texto e icono */
    transition: all 200ms;
    color: #000000;
    font-size: 16px;
}

.text-btn {
    transform: translateX(0px);
    opacity: 1;
}

.hidden-text-btn {
    transform: translateX(100%);
    opacity: 0;
}

.request-btn i {
    font-size: 22px; /* Tamaño del icono */
    color: #25D366; /* Color de WhatsApp */
}

/* Hover Effects */
.request-btn:hover .text-btn {
    transform: translateX(-100%);
    opacity: 0;
}

.request-btn:hover .hidden-text-btn {
    transform: translateX(0);
    opacity: 1;
}

.request-btn:hover .right-span,
.request-btn:hover .left-span {
    width: 100%;
}

/* Responsive */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .request-form {
        flex-direction: column;
    }
    
    .structure-select, .request-btn {
        width: 100%;
    }
}


/* sobre nosotros */

.container-us {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 700px;
}


.section-title-us {
    font-size: 2.5rem;
    color: #222;
    text-align: center;
    margin-bottom: 15px;
    font-weight: 500;
    position: relative;
}


.section-title-us::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background: #0072ff; 
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    transition: background 0.3s ease; 
}


.about-card:hover .section-title-us::after {
    background: #ff5a00; 
}


.section-subtitle {
    text-align: center;
    color: #555;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 50px;
    line-height: 1.6;
}


.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    align-items: center;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto;
}

.image-text-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}


.about-image-container {
    position: relative;
    width: 200px; 
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}


.about-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.image-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 8px 12px;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 5px;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}


.about-content {
    flex: 1;
    text-align: left;
}

/* Efecto hover en toda la tarjeta */
.about-card {
    padding: 20px;
    border-left: 5px solid #0072ff; 
    transition: all 0.3s ease;
}

/* Cambia el color de la línea y mueve la card */
.about-card:hover {
    border-left: 5px solid #1aff00; 
    transform: translateX(10px);
}

/* RESPONSIVE: Móvil (una sola columna) */
@media (max-width: 900px) {
    .container-us {
        height: 1900px;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .image-text-wrapper {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .about-image-container {
        width: 100%;
        height: auto;
        max-width: 300px;
    }

    .image-title {
        font-size: 1.4rem;
    }
}

/* proyectos */

/* Estilos para la sección de Proyectos */
.projects-section {
    padding: 100px 20px;
    background-color: #f8f9fa;
    overflow: hidden;
}

.section-title-pro {
    font-size: 2.5rem;
    color: #222;
    text-align: center;
    margin-bottom: 15px;
    font-weight: 500;
    position: relative;
}

.section-title-pro::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background: #0072ff; 
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    transition: background 0.3s ease; 
}

.section-subtitle-pro {
    font-size: 1.2rem;
    color: #555;
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px;
    font-weight: 400;
}

.projects-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(200px, auto);
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.projects-gallery, h3 {
    color: #000000;
}

.proyecto-detalles{
    color: #000000;
}

/* Configuración del collage - IMPORTANTE */
.project-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(-50px);
}

/* Definición de tamaños para imágenes verticales/horizontales */
.project-item.horizontal {
    grid-column: span 2;
    height: 250px;
}

.project-item.vertical {
    grid-row: span 2;
    height: 515px; /* 250px + 250px + 15px gap */
}

.project-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.50), transparent);
    color: white;
    transition: bottom 0.3s ease;
}

.project-overlay h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 500;
}

.project-item:hover img {
    transform: scale(1.05);
}

.project-item:hover .project-overlay {
    bottom: 0;
}

/* Animación de caída */
.animate-drop {
    animation: dropIn 1s ease forwards;
}

/* Estilos para el botón "Solicitar Proyecto" */
.button-container {
    display: flex;
    justify-content: center; 
    align-items: center; 
    height: 10vh;
    margin-top: 5%;
  }
  
  .fancy {
    background-color: transparent;
    border: 2px solid #000;
    border-radius: 0;
    box-sizing: border-box;
    color: #fff;
    cursor: pointer;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin: 0;
    outline: none;
    overflow: visible;
    padding: 1.25em 2em;
    text-align: center;
    text-decoration: none;
    text-transform: none;
    transition: all 0.3s ease-in-out;
    user-select: none;
    font-size: 13px;
  }
  

.fancy i {
    font-size: 25px; 
    margin-right: 10px; 
    vertical-align: middle;
    transition: color 0.3s ease-in-out;
    color: #00fc6d;
}

.fancy::before {
    content: " ";
    width: 1.5625rem;
    height: 2px;
    background: black;
    top: 50%;
    left: 1.5em;
    position: absolute;
    transform: translateY(-50%);
    transform-origin: center;
    transition: background 0.3s linear, width 0.3s linear;
}

.fancy .text {
    font-size: 1.125em;
    line-height: 1.33333em;
    padding-left: 2em;
    display: block;
    text-align: left;
    transition: all 0.3s ease-in-out;
    text-transform: uppercase;
    text-decoration: none;
    color: black;
}

.fancy .top-key {
    height: 2px;
    width: 1.5625rem;
    top: -2px;
    left: 0.625rem;
    position: absolute;
    background: #e8e8e8;
    transition: width 0.5s ease-out, left 0.3s ease-out;
}

.fancy .bottom-key-1 {
    height: 2px;
    width: 1.5625rem;
    right: 1.875rem;
    bottom: -2px;
    position: absolute;
    background: #e8e8e8;
    transition: width 0.5s ease-out, right 0.3s ease-out;
}

.fancy .bottom-key-2 {
    height: 2px;
    width: 0.625rem;
    right: 0.625rem;
    bottom: -2px;
    position: absolute;
    background: #e8e8e8;
    transition: width 0.5s ease-out, right 0.3s ease-out;
}

.fancy:hover {
    color: white;
    background: rgb(15, 218, 52);
}

.fancy:hover::before {
    width: 0.9375rem;
    background: white;
}

.fancy:hover .text {
    color: white;
    padding-left: 1.5em;
}

.fancy:hover .top-key {
    left: -2px;
    width: 0;
}

.fancy:hover .bottom-key-1,
.fancy:hover .bottom-key-2 {
    right: 0;
    width: 0;
}

.fancy:hover i {
    color: white; /* Cambiar el color del ícono al hacer hover */
}


@keyframes dropIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive para pantallas medianas y pequeñas */
@media (max-width: 900px) {
    .projects-gallery {
        grid-template-columns: repeat(2, 1fr); /* 2 columnas */
    }

    .project-item.horizontal {
        grid-column: span 2; /* Las horizontales ocupan toda la fila */
        height: 200px; /* Ajusta la altura de las imágenes horizontales */
    }

    .project-item.vertical {
        grid-column: span 1; /* Las verticales ocupan solo 1 columna */
        height: 300px; /* Ajusta la altura de las imágenes verticales */
    }
}

@media (max-width: 600px) {
    .projects-gallery {
        grid-template-columns: 1fr; /* 1 columna */
    }

    /* Imagen horizontal en móviles */
    .project-item.horizontal {
        grid-column: span 1; /* Ocupa solo 1 columna */
        height: 200px; /* Ajusta la altura de las imágenes horizontales */
    }

    /* Imagen vertical en móviles */
    .project-item.vertical {
        grid-column: span 1; /* Las verticales siguen ocupando solo 1 columna */
        height: 350px; /* Ajusta la altura de las imágenes verticales */
    }
}


/* contacto */

.contact-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%); /* Fondo suave y elegante */
}

/* Contenedor principal */
.container-cont {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title-cont {
    font-size: 2.5rem;
    color: #222;
    text-align: center;
    margin-bottom: 15px;
    font-weight: 500;
    position: relative;
}

.section-title-cont::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background: #0072ff; 
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    transition: background 0.3s ease; 
}



.section-subtitle-cont {
    font-size: 1.2rem;
    color: #555;
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px;
    font-weight: 400;
}

/* Grid de contacto */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Información de contacto */
.contact-inf {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-method {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.contact-icon {
    font-size: 1.8rem;
    color: #3498db;
    margin-right: 15px;
}

.contact-details h3 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 5px;
    text-align: center;
}

.contact-details a {
    color: #7f8c8d;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: #3498db;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-icon {
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.2);
}

.texx h4 {
    font-size: 0.9rem;
    color: #7f8c8d;
    margin-top: 15px;
    font-weight: 400;
}

/* Formulario de cotización */
.contact-form {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 600;
}

.form-group, .form-group-cont {
    position: relative;
    margin-bottom: 25px;
}

.form-group input, .department-select-cont {
    width: 100%;
    padding: 12px 15px;
    font-size: 1rem;
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-group input:focus, .department-select-cont:focus {
    border-color: #3498db;
}

.form-group label {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    color: #7f8c8d;
    font-size: 1rem;
    pointer-events: none;
    transition: all 0.3s ease;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label {
    top: -10px;
    left: 10px;
    font-size: 0.8rem;
    color: #3498db;
    background: #ffffff;
    padding: 0 5px;
}

.department-select-cont {
    appearance: none;
    background: url('data:image/svg+xml;utf8,<svg fill="%237f8c8d" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>') no-repeat right 10px center;
    padding-right: 40px;
}

.submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px;
    background: #3498db;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.submit-btn i {
    margin-right: 8px;
}

.submit-btn:hover {
    background: #2980b9;
}

/* Responsividad */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title-cont {
        font-size: 2rem;
    }
    
    .contact-form, .contact-info {
        padding: 20px;
    }
}


/* Footer */
.footer-section {
    background: #2c3e50; /* Fondo oscuro elegante */
    color: #ecf0f1;
    padding: 60px 0 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-size: 1.8rem;
    color: #ecf0f1;
    margin-bottom: 15px;
    font-weight: 600;
}

.footer-col h4 {
    font-size: 1.2rem;
    color: #3498db;
    margin-bottom: 15px;
    font-weight: 600;
}

.footer-col p {
    font-size: 0.9rem;
    color: #bdc3c7;
    line-height: 1.6;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: #3498db;
}

.footer-col p i {
    margin-right: 8px;
    color: #3498db;
}

.footer-social-links {
    display: flex;
    gap: 15px;
}

.footer-social-links .social-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.footer-social-links .social-icon:hover {
    transform: scale(1.2);
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: #7f8c8d;
}

/* Responsividad */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-social-links {
        justify-content: center;
    }
}