* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}



nav a {
    color: white;
    margin-left: 20px;
    text-decoration: none;
    font-weight: 500;

}


section {
    padding: 135px 0px 10px;
    max-width: 1200px;
    margin: auto;
}

.servicios {
    padding: 30px 0px 10px !important;
    max-width: 1200px;
    margin: auto;
}

section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    padding: 20px;
}

.card {
    background: #f8fafc;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-top: 5px solid #ff6600;
    transition: transform 0.6s ease, box-shadow 0.4s ease;
    will-change: transform, box-shadow;
}

.scale3d:hover {
    transform: scale3d(1.05, 1.05, 1);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.1);
    z-index: 1;
    display: flex;
    justify-content: center;
    text-align: center;

}

.contact {
    background: #e2e8f0;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;

}


footer {
    background: #003366;
    color: white;
    text-align: center;
    padding: 30px 20px;
}

/* Slider */
.glide__slide img {
    width: 100%;
    height: 450px;
}

.glide__slide {
    filter: blur(3px);
    opacity: .7;
    transition: .3s linear;
}

.glide__slide--active {
    opacity: 1;
    filter: none;
    transform: scale(1.1) !important;
}


.glide__slide:hover {
    opacity: 1;
    filter: none;
    transform: scale(1.0)
}

.glide__slides {
    overflow: visible;
}

/* Estilos para el list slider */
.listslider {
    display: flex;
    /* Para que los elementos de la lista estén alineados horizontalmente */
    justify-content: center;
    /* Centrar los elementos de la lista */
    margin-top: 20px;
    /* Espacio superior */
    padding: 0;
    list-style: none;
    /* Eliminar puntos de lista */
}

.listslider li {
    margin: 0 10px;
    /* Espacio entre los ítems del list slider */
}

.listslider a {
    display: block;
    width: 75px;
    /* Ancho del ítem */
    height: 10px;
    /* Hacerlos circulares */
    background-color: #7c7b7b;
    /* Color de fondo por defecto */
    transition: background-color 0.3s ease;
    cursor: pointer;
    border-radius: 3px;
    /* Cambiar el cursor para indicar que son interactivos */
}

.listslider a:hover {
    background-color: white;
    /* Cambiar color de fondo al pasar el ratón */
}

.listslider .item-select-slid {
    background-color: white;
    /* Color de fondo para el ítem activo */
}

/* Contenedor del slide */
.slide-hero {
    position: relative;
    overflow: hidden;
}


/* Capa superpuesta */
.slide-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: end;
    text-align: center;
}

/* Título central */
.slide-title {
    font-size: 1.5rem;
    color: #fff;
    font-weight: 800;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
    background-color: rgba(0, 0, 0, 0.4);
    padding: 1rem 2rem;
    transition: transform 0.3s ease;
}

/* Frase destacada */
.slide-title .highlight {
    color: #ff9800;
    display: block;
    font-size: 1.0rem;
    margin-top: 0.5rem;
    font-weight: 600;
    letter-spacing: 1px;
}


/* Responsive */
@media (min-width: 768px) {
    .slide-title {
        font-size: 2.0rem !important;
    }

    .slide-title .highlight {
        font-size: 1.5rem !important;
    }
}


@media (max-width: 992px) {
    .glide__arrows {
        display: none;
    }

    section {
        padding: 100px 0px 10px 0px;
        max-width: 1200px;
        margin: auto;
    }

}