
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    background-color: #E6F0FA;
    color: #333;
    position: relative;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Merriweather', serif;
}

.contenedor {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}
.titulo{
    padding-top:8px;
    font-size: 0.7rem;
    text-align: center;
    background-color: #005566;
    color:#fff;
}
/* Header */
header {
    background-color: #005566;
    color: #FFFFFF;
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    
}

.logo {
    text-align: center;
}

.logo img {
    height: 3.5rem;
    width: auto;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.menu {
    display: flex;
    justify-content: center;
    align-items: center;
}

.menu ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.menu ul li a {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.menu ul li a:hover {
    color: #00A896;
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #FFFFFF;
    position: absolute;
    right: 1rem;
    top: 1.5rem;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, rgba(0, 85, 102, 0.9), rgba(0, 168, 150, 0.7));
    background-size: cover;
    background-position: center;
    color: #FFFFFF;
    text-align: center;
    padding: 6rem 1rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.hero p {
    font-size: clamp(1rem, 3vw, 1.3rem);
    margin-bottom: 1.5rem;
}

.btn-cta {
    background-color: #00A896;
    color: #FFFFFF;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-cta:hover {
    background-color: #008573;
    transform: translateY(-2px);
}

/* Videos */
.slider-videos {
    margin: 3rem 0;
}

.slider-videos h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.videos .video-item {
    padding: 0.75rem;
}

.videos .video-item iframe {
    width: 100%;
    height: 250px;
    border-radius: 12px;
    border: 2px solid var(--secondary);
    transition: transform 0.3s ease;
}

.videos .video-item iframe:hover {
    transform: scale(1.02);
}

.slick-prev, .slick-next {
    font-size: 0;
    line-height: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: block;
    width: 40px;
    height: 40px;
    padding: 0;
    cursor: pointer;
    border: none;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    transition: background-color 0.3s ease;
    z-index: 10;
}

.slick-prev:hover, .slick-next:hover {
    background-color: var(--secondary);
}

.slick-prev i, .slick-next i {
    font-size: 1.5rem;
}

.slick-prev {
    left: -50px;
}

.slick-next {
    right: -50px;
}

.slick-dots {
    text-align: center;
    margin-top: 1rem;
}

.slick-dots li {
    display: inline-block;
    margin: 0 5px;
}

.slick-dots li button {
    font-size: 0;
    width: 12px;
    height: 12px;
    background: var(--primary);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.slick-dots li.slick-active button {
    background: var(--secondary);
}

/* Noticias */
.slider-noticias {
    margin: 3rem 0;
}

.slider-noticias h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.noticia-item {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    margin: 0 0.5rem;
}

.noticia-item:hover {
    transform: translateY(-5px);
}

.noticia-item h3 {
    margin-bottom: 0.8rem;
}

.noticia-item p {
    font-size: clamp(0.9rem, 2vw, 1rem);
    margin-bottom: 1rem;
}

.imagen-principal {
    width: 100%;
    max-height: 200px;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.imagen-principal img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.imagen-principal img:hover {
    transform: scale(1.05);
}

/* Formulario */
.contacto {
    background-color: #FFFFFF;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    margin: 2rem auto;
    max-width: 700px;
    text-align: center;
}

.contacto h2 {
    color: #005566;
    font-size: clamp(1.8rem, 4vw, 2.2rem);
    margin-bottom: 0.75rem;
}

.contacto p {
    color: #005566;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    margin-bottom: 1.5rem;
}

.contacto form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contacto input, .contacto select, .contacto textarea {
    padding: 1rem;
    border: 1px solid #005566;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contacto input:focus, .contacto select:focus, .contacto textarea:focus {
    border-color: #00A896;
    outline: none;
}

.contacto button {
    background-color: #00A896;
    color: #FFFFFF;
    border: none;
    padding: 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.contacto button:hover {
    background-color: #008573;
    transform: translateY(-2px);
}

.exito {
    color: #00A896;
    text-align: center;
    font-weight: 700;
}

.error {
    color: #FF0000;
    text-align: center;
    font-weight: 700;
}

/* Footer */
.footer {
    background: linear-gradient(180deg, #005566 0%, #003c4a 100%);
    color: #FFFFFF;
    padding: 4rem 1rem;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
}

.footer .contenedor {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    text-align: center;
}

.footer-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-section h2 {
    color: #FFFFFF;
    font-size: clamp(1.3rem, 3vw, 1.7rem);
    margin-bottom: 1.2rem;
    position: relative;
    font-weight: 700;
}

.footer-section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #00A896;
    margin: 0.6rem auto;
}

.footer-section .contact {
    list-style: none;
    padding: 0;
}

.footer-section .contact li {
    margin-bottom: 0.75rem;
}

.footer-section .contact p {
    color: #FFFFFF;
    font-size: clamp(0.95rem, 2vw, 1.1rem);
}

.footer-section .contact a.tels,
.footer-section .contact a {
    color: #FFFFFF !important;
    text-decoration: none !important;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-flex;
    align-items: center;
    padding: 0.5rem;
    border-radius: 5px;
}

.footer-section .contact a.tels:hover,
.footer-section .contact a:hover {
    color: #00A896 !important;
    transform: translateY(-2px);
}

.footer-section .contact i {
    margin-right: 0.6rem;
    color: #00A896;
    font-size: 1.2rem;
}

.footer-section .map-container {
    margin-top: 1.2rem;
    width: 100%;
    transition: transform 0.3s ease;
}

.footer-section .map-container:hover {
    transform: scale(1.02);
}

.footer-section .map-container iframe {
    width: 100%;
    height: 220px;
    border-radius: 10px;
    border: 3px solid #00A896;
}

.footer-section .social-links {
    list-style: none;
    padding: 0;
}

.footer-section .social-links li {
    margin-bottom: 0.75rem;
}

.footer-section .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF !important;
    text-decoration: none !important;
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    background-color: rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.footer-section .social-links a:hover {
    background-color: rgba(0, 168, 150, 0.2);
    color: #00A896 !important;
    transform: translateY(-2px);
}

.footer-section .social-links i {
    margin-right: 0.6rem;
    font-size: 1.3rem;
    color: #00A896;
}

.footer-bottom {
    text-align: center;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #00A896;
}

.footer-bottom p {
    color: #FFFFFF;
    font-size: clamp(0.85rem, 2vw, 0.95rem);
}
/* Social Icons */
.social-icons {
    position: fixed;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 1000;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.social-icons a:hover {
    background-color: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.social-icons i {
    font-size: 1.5rem;
}

/* Media Queries para Responsividad */
@media (max-width: 768px) {
    .social-icons {
        position: absolute;
        bottom: 80px;
        right: 10px;
        transform: none;
        top: auto;
      }
    .contenedor {
        padding: 1.5rem 1rem;
    }

    .logo {
        text-align: left;
    }

    .menu {
        justify-content: flex-end;
    }

    .menu ul {
        display: none;
        flex-direction: column;
        background-color: #005566;
        position: absolute;
        top: 4.5rem;
        left: 0;
        width: 100%;
        padding: 1.5rem;
        text-align: center;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }

    .menu ul.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .hero {
        padding: 4rem 1rem;
    }

    .hero h1 {
        font-size: clamp(1.8rem, 4vw, 2.2rem);
    }

    .hero p {
        font-size: clamp(0.95rem, 2.5vw, 1.1rem);
    }

    .videos .video-item iframe {
        height: 220px;
    }

    .imagen-principal {
        max-height: 160px;
    }

    .contacto {
        padding: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-section {
        align-items: center;
    }

    .footer-section h2::after {
        margin: 0.6rem auto;
    }

    .footer-section .map-container iframe {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 3rem 0.75rem;
    }

    .videos .video-item iframe {
        height: 180px;
    }

    .contacto form {
        gap: 1rem;
    }

    .contacto input, .contacto select, .contacto textarea {
        font-size: 0.95rem;
    }

    .contacto button {
        padding: 0.75rem;
    }

    .footer-section h2 {
        font-size: clamp(1.2rem, 2.5vw, 1.4rem);
    }

    .footer-section .contact p,
    .footer-section .social-links a {
        font-size: clamp(0.85rem, 2vw, 0.95rem);
    }
}
