/* styles.css - Actualización del header */
header {
    background: linear-gradient(135deg, #0072bc 0%, #004e8c 100%);
    padding: 1em 0;
    color: white;
    position: relative;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Estilos para el logo */
.logo-container {
    display: flex;
    align-items: center;
    padding: 10px 20px;
}

.logo {
    max-height: 60px; /* Ajusta según el tamaño deseado */
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05); /* Efecto sutil al pasar el mouse */
}

/* Estilos para el header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff; /* Color de fondo del encabezado */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* Sombra sutil */
    padding: 0 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav li {
    margin-left: 20px;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

nav a:hover {
    background-color: #f0f0f0;
}
    

.logo {
    height: 80px;
    position: absolute;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

nav ul li {
    margin: 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 1.1em;
}

nav ul li a:hover {
    background-color: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .logo {
        position: static;
        transform: none;
        display: block;
        margin: 0 auto 15px;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    nav ul li {
        margin: 5px 0;
    }
}

/* styles.css - Galería mejorada */
/* Estilos para la galería */
.slideshow-container {
    max-width: 800px;
    position: relative;
    margin: auto;
    margin-top: 2%;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.mySlides {
    display: none;
    width: 100%;
    transition: opacity 1s ease;
}

.mySlides img {
    width: 100%;
    vertical-align: middle;
    height: 400px;
    object-fit: cover;
}

/* Controles de navegación */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 24px;
    transition: 0.3s;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0,0,0,0.5);
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
}

/* Indicadores de puntos */
.dots-container {
    text-align: center;
    padding: 15px 0;
}

.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s;
}

.dot.active, .dot:hover {
    background-color: #0072bc;
}

/* Animación de fade */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
}

/* styles.css - Secciones mejoradas */
.container2 {
    max-width: 1200px;
    margin: 40px auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    padding: 20px;
}

.section {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border-top: 4px solid #0072bc;
    text-align: center;
}

.section:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.section h2 {
    color: #0072bc;
    margin-top: 0;
    font-size: 1.4em;
}

.section p {
    color: #555;
    line-height: 1.6;
}

/* styles.css - Sección de servicios con imágenes */

.container3 {
    max-width: 1540px;
    width: 90%;
    margin: 40px auto;
    padding: 20px;
    background-color: #FFFFFF;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.section3 {
    padding: 20px;
    background-color: #F0FAFD;
    border-left: 5px solid #afd5f5;
    border-top: 5px solid #afd5f5;

    border-radius: 0 8px 8px 0;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100px;
}

.service-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 15px;
}

.section3 p {
    margin: 0;
    font-size: 1.1em;
    color: #333;
    font-weight: 500;
}

.section3:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    background-color: #e1f5fe;
}

.services-title {
    grid-column: 1 / -1;
    text-align: center;
    color: #0072bc;
    margin-bottom: 20px;
    font-size: 2em;
}

@media (max-width: 768px) {
    .container3 {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .service-img {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .container3 {
        grid-template-columns: 1fr;
    }
}

/* Estilos para el footer */
footer {
    background-color: #f8f9fa;
    padding: 30px 20px; /* Aumenté el padding vertical para más altura */
    text-align: center;
    border-top: 1px solid #e0e0e0;
    min-height: 120px; /* Altura mínima garantizada */
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 20px; /* Espacio entre elementos cuando se apilen */
}

.footer-left {
    text-align: left;
    flex: 1;
    min-width: 250px; /* Ancho mínimo para evitar compresión */
}

.footer-right {
    text-align: right;
    flex: 1;
    min-width: 250px; /* Ancho mínimo para evitar compresión */
}

/* Estilos para el enlace "Ubícanos" */
.ubicacion-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: #2a6496;
    font-weight: bold;
    transition: transform 0.3s ease;
    padding: 8px 15px;
    border: 2px solid #2a6496;
    border-radius: 50px; /* Forma ovalada */
}

.ubicacion-link:hover {
    transform: scale(1.05);
    color: #1a4b7a;
    background-color: #f0f7ff;
}

.ubicacion-logo {
    width: 25px;
    height: 25px;
    margin-right: 8px;
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-left, .footer-right {
        text-align: center;
        min-width: 100%;
    }
    
    footer {
        padding: 25px 15px;
        min-height: 150px; /* Más alto en móviles */
    }
}
/* Estilos para el enlace "Ubícanos" */
.ubicacion-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: #2a6496;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.ubicacion-link:hover {
    transform: scale(1.05);
    color: #1a4b7a;
}

.ubicacion-logo {
    width: 30px;
    height: 30px;
    margin-right: 8px;
}

/* styles.css - Efectos globales */
body {
    font-family: 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8fafc;
}

h1, h2, h3 {
    font-weight: 600;
    color: #0072bc;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.container, .container2, .container3 {
    animation: fadeIn 0.6s ease-out forwards;
}

/* Botones */
.gallery-control, .prev, .next {
    background: #0072bc;
    border: none;
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.gallery-control:hover, .prev:hover, .next:hover {
    background: #005a9c;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}