/*Damos formato a la fuente*/

@font-face {
    font-family: 'longa_iberica';
    src: url(../fonts/longa_iberica/LongaIberica-DEMO.ttf);
}

/* Reset básico para evitar scroll horizontal */
* {
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    width: 100%;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
    position: relative;
    -webkit-overflow-scrolling: touch;
    
    /* Fondo degradado místico */
    background: 
        radial-gradient(circle at 20% 30%, rgba(5, 219, 197, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(4, 142, 126, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(74, 124, 89, 0.08) 0%, transparent 70%),
        linear-gradient(135deg, #f5f7fa 0%, #e8f5ef 50%, #c3cfe2 100%);
    background-attachment: fixed;
}

/* Capa de textura sutil */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    background-image: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(5, 219, 197, 0.02) 2px,
            rgba(5, 219, 197, 0.02) 4px
        );
    z-index: 0;
}

/* Efecto de viñeta suave */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    background: radial-gradient(
        ellipse at center,
        transparent 0%,
        transparent 60%,
        rgba(4, 142, 126, 0.05) 100%
    );
    z-index: 0;
}

.container {
    width: 100%;
    max-width: 100vw;
    padding: 0 10px;
    margin: 0 auto;
    overflow-x: hidden;
}

/*Header*/

.header {
    width: 100%;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    padding: 20px;
    
    /* Fondo redondeado */
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    
    /* Sombra mágica - Neblina */
    box-shadow: 
        0 0 20px rgba(5, 219, 197, 0.3),        /* Neblina turquesa cercana */
        0 0 40px rgba(5, 219, 197, 0.2),        /* Neblina turquesa media */
        0 0 60px rgba(5, 219, 197, 0.1),        /* Neblina turquesa lejana */
        0 8px 32px rgba(0, 0, 0, 0.1),          /* Sombra de profundidad */
        inset 0 1px 0 rgba(255, 255, 255, 0.8); /* Brillo superior */
    
    /* Animación de neblina */
    animation: mistyGlow 4s ease-in-out infinite;
}

/* Animación de neblina mágica */
@keyframes mistyGlow {
    0%, 100% {
        box-shadow: 
            0 0 20px rgba(5, 219, 197, 0.3),
            0 0 40px rgba(5, 219, 197, 0.2),
            0 0 60px rgba(5, 219, 197, 0.1),
            0 8px 32px rgba(0, 0, 0, 0.1),
            inset 0 1px 0 rgba(255, 255, 255, 0.8);
    }
    50% {
        box-shadow: 
            0 0 30px rgba(5, 219, 197, 0.5),    /* Neblina más intensa */
            0 0 60px rgba(5, 219, 197, 0.3),
            0 0 90px rgba(5, 219, 197, 0.15),
            0 8px 32px rgba(0, 0, 0, 0.1),
            inset 0 1px 0 rgba(255, 255, 255, 0.8);
    }
}
.header img {
    height: 40px;
    margin-right: 10px;
}

.header h1 {
    font-family: 'longa_iberica', sans-serif;
    font-weight: bolder;
    font-size: clamp(30px, 5vw, 50px);
    color: rgb(4, 142, 126);
    margin: 0 10px;
    white-space: nowrap;
}

/*Selector de Lenguaje*/
.language-selector {
    display: flex;
    align-items: center;
    gap: 10px;
}

.icon {
    cursor: pointer;
    font-size: 16px;
    margin: 0 5px;
}

#content {
    padding: 20px;
}

/*Menú*/

.navbar {
    width: 100%;
    max-width: 100%;
    margin-top: 10px;
    background: linear-gradient(to right, rgb(4, 135, 122), rgb(5, 219, 197));
    display: flex;
    align-items: center;
    justify-content: space-around;
    
    /* Bordes redondeados */
    border-radius: 15px;
    
    /* Padding para que no se pegue el contenido a los bordes */
    padding: 10px 20px;
    
    /* Sombra mágica opcional - Neblina */
    box-shadow: 
        0 0 20px rgba(5, 219, 197, 0.4),
        0 0 40px rgba(4, 142, 126, 0.2),
        0 8px 32px rgba(0, 0, 0, 0.15);
    
    /* Animación de neblina opcional */
    animation: mistyGlowNavbar 4s ease-in-out infinite;
}

/* Animación de neblina para navbar (opcional) */
@keyframes mistyGlowNavbar {
    0%, 100% {
        box-shadow: 
            0 0 20px rgba(5, 219, 197, 0.4),
            0 0 40px rgba(4, 142, 126, 0.2),
            0 8px 32px rgba(0, 0, 0, 0.15);
    }
    50% {
        box-shadow: 
            0 0 30px rgba(5, 219, 197, 0.6),
            0 0 60px rgba(4, 142, 126, 0.3),
            0 8px 32px rgba(0, 0, 0, 0.15);
    }
}

.navbar-brand {
    color: white !important;
    font-weight: bolder;
}

.navbar-nav .nav-link {
    color: white !important;
}

.dropdown-menu .dropdown-item {
    color: white !important;
    text-align: left;
    padding: 0;
    margin-right: 20px;
    margin-left: 10px;
}

.dropdown-menu {
    background-color: rgb(64, 224, 208);
    border: none;
}

.dropdown-menu .dropdown-item:hover {
    width: auto;
    background-color: rgba(255, 255, 255, 0.2);
}


/*Galería de Fotos - Carousel de imágenes RESPONSIVE*/

#carouselExampleIndicators {
    width: 100%;
    max-width: 100%;
    max-height: 300px;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin: 10px 0;
}

#carouselExampleIndicators img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
}

.carousel {
    width: 100%;
    max-width: 100%;
}

.carousel-inner {
    width: 100%;
}

/*Texto Introductorio*/

.introduccion {
    text-align: center;
    margin: 30px auto;
    padding: 40px 20px;
    max-width: 1000px;
    
    /* Recuadro con bordes redondeados */
    background: rgba(255, 255, 255, 0.95);
    border-radius: 25px;
    border: 2px solid rgba(5, 219, 197, 0.3);
    
    /* Sombra mágica - Neblina brillante */
    box-shadow: 
        0 0 25px rgba(5, 219, 197, 0.4),        /* Neblina turquesa brillante */
        0 0 50px rgba(4, 142, 126, 0.3),        /* Neblina verde-turquesa */
        0 0 75px rgba(5, 219, 197, 0.2),        /* Neblina difuminada */
        0 10px 40px rgba(0, 0, 0, 0.15),        /* Sombra de profundidad */
        inset 0 2px 0 rgba(255, 255, 255, 0.8), /* Brillo interior superior */
        inset 0 -2px 0 rgba(5, 219, 197, 0.1);  /* Brillo interior inferior */
    
    /* Animación de neblina */
    animation: mistyGlowBox 5s ease-in-out infinite;
}

/* Animación específica para cajas */
@keyframes mistyGlowBox {
    0%, 100% {
        box-shadow: 
            0 0 25px rgba(5, 219, 197, 0.4),
            0 0 50px rgba(4, 142, 126, 0.3),
            0 0 75px rgba(5, 219, 197, 0.2),
            0 10px 40px rgba(0, 0, 0, 0.15),
            inset 0 2px 0 rgba(255, 255, 255, 0.8),
            inset 0 -2px 0 rgba(5, 219, 197, 0.1);
    }
    50% {
        box-shadow: 
            0 0 35px rgba(5, 219, 197, 0.6),    /* Neblina más intensa */
            0 0 70px rgba(4, 142, 126, 0.4),
            0 0 100px rgba(5, 219, 197, 0.25),
            0 10px 40px rgba(0, 0, 0, 0.15),
            inset 0 2px 0 rgba(255, 255, 255, 0.8),
            inset 0 -2px 0 rgba(5, 219, 197, 0.2);
    }
}

.introduccion h1 {
    font-family: 'longa_iberica', sans-serif;
    font-weight: bolder;
    color: black;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    font-size: clamp(24px, 5vw, 40px);
}

.introduccion p {
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(14px, 3vw, 20px);
}

/*Efecto de revelado*/
.samain p {
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(14px, 3vw, 20px);
}

.samain {
    text-align: center;
    margin: 30px auto;
    padding: 40px 20px;
    max-width: 1000px;
    
    /* Recuadro con bordes redondeados */
    background: rgba(255, 255, 255, 0.95);
    border-radius: 25px;
    border: 2px solid rgba(4, 142, 126, 0.3);
    
    /* Sombra mágica - Neblina esmeralda */
    box-shadow: 
        0 0 25px rgba(4, 142, 126, 0.4),        /* Neblina esmeralda */
        0 0 50px rgba(5, 219, 197, 0.3),        /* Neblina turquesa */
        0 0 75px rgba(4, 142, 126, 0.2),        /* Neblina difuminada */
        0 10px 40px rgba(0, 0, 0, 0.15),        /* Sombra de profundidad */
        inset 0 2px 0 rgba(255, 255, 255, 0.8), /* Brillo interior */
        inset 0 -2px 0 rgba(4, 142, 126, 0.1);  /* Brillo verde inferior */
    
    /* Animación de neblina */
    animation: mistyGlowBox 5s ease-in-out infinite;
    animation-delay: 1s; /* Desfase con introduccion */
}

.samain p {
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(14px, 3vw, 20px);
    color: #333;
    line-height: 1.8;
}

.reveal {
    opacity: 0;
    transition: opacity 1.5s ease, transform 1.5s ease;
    transform: translateY(20px);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/*Estilo para la línea divisoria*/
.divider {
    text-align: center;
    padding: 0 15px;
}

.divider img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 10px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.samain button {
    width: 90%;
    max-width: 300px;
    padding: 10px 20px;
    border-radius: 10px;
    background-color: rgb(64, 224, 208);
    font-weight: bolder;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    border: none;
    cursor: pointer;
}

/* Estilos para el carousel de videos */
.carousel-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    padding: 40 20px;
}

.carousel-title {
    text-align: center;
    color: #333;
    font-size: 2rem;
    margin-bottom: 30px;
    font-weight: bold;
}

.carousel-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    background: #f8f9fa;
    padding: 0 50px;
}

.carousel-track {
    display: flex;
    gap: 20px;
    transition: transform 0.4s ease-in-out;
    width: 100%;
}

.video-item {
    position: relative;
    flex: 0 0 calc(33.333% - 14px);
    aspect-ratio: 16/9;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

.video-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: background 0.3s ease;
    pointer-events: none;
}

.video-item:hover .video-overlay {
    background: rgba(0,0,0,0.5);
}

.video-item.playing .video-overlay {
    opacity: 0;
}

.play-icon {
    width: 70px;
    height: 70px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.video-item:hover .play-icon {
    transform: scale(1.15);
    background: rgba(255,255,255,1);
}

.play-icon::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 18px solid #667eea;
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
    margin-left: 4px;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.95);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.carousel-btn:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

.carousel-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-btn.prev {
    left: 0;
}

.carousel-btn.next {
    right: 0;
}

.carousel-btn::after {
    content: '';
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}

.carousel-btn.prev::after {
    border-right: 12px solid #667eea;
    margin-right: 2px;
}

.carousel-btn.next::after {
    border-left: 12px solid #667eea;
    margin-left: 2px;
}

.carousel-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.carousel-btn:disabled:hover {
    transform: translateY(-50%) scale(1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Modal de video */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.video-modal.active {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    animation: scaleIn 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

@keyframes scaleIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.video-modal-content video {
    max-width: 100%;
    max-height: 90vh;
    width: auto;
    height: auto;
    display: block;
}

.video-modal-content.vertical {
    max-width: 600px;
}

.video-modal-content.vertical video {
    width: 100%;
    height: auto;
}

.video-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

.video-modal-close:hover {
    background: white;
    transform: scale(1.1) rotate(90deg);
}

.video-modal-close::before {
    content: '×';
}

/* Sección de Últimas Noticias */
.updates-section {
    width: 100%;
    padding: 40px 15px;
    background: linear-gradient(135deg, #b1f9eb 0%, #5aebdc 100%);
    border-radius: 20px;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin: 20px 0;
}

.section-title {
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.updates-carousel-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 45px;
}

.updates-carousel-container {
    overflow: hidden;
    width: 100%;
}

.updates-carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 15px;
}

.update-card {
    flex: 0 0 100%;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.update-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.update-card-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.update-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.update-card-content {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.update-card-date {
    font-size: 0.85rem;
    color: #7f8c8d;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.update-card-date::before {
    content: "📅";
}

.update-card-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 12px;
    line-height: 1.4;
}

.update-card-description {
    font-size: 0.9rem;
    color: #546e7a;
    line-height: 1.6;
    margin-bottom: 15px;
    flex-grow: 1;
}

.update-card-link {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, #66ead6 0%, #4ba29e 100%);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    align-self: flex-start;
}

.update-card-link:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    text-decoration: none;
    color: white;
}

.updates-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: 2px solid #667eea;
    color: #667eea;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.updates-carousel-btn:hover {
    background: #66eae3;
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 15px rgba(102, 234, 214, 0.4);
}

.updates-carousel-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.updates-carousel-btn.prev {
    left: 5px;
}

.updates-carousel-btn.next {
    right: 5px;
}

.updates-carousel-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    background: #f5f5f5;
    border-color: #ccc;
    color: #ccc;
}

.updates-carousel-btn:disabled:hover {
    background: #f5f5f5;
    color: #ccc;
    transform: translateY(-50%);
}

.updates-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e0;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.carousel-dot.active {
    background: #667eea;
    width: 25px;
    border-radius: 6px;
}

.carousel-dot:hover {
    background: #a0aec0;
}

/*Footer*/

footer {
    width: 100%;
    background: linear-gradient(to right, rgb(4, 135, 122), rgb(5, 219, 197));
    margin-top: 40px;
    padding: 40px 20px 20px;
    
    /* Bordes redondeados superiores */
    border-radius: 30px 30px 0 0;
    
    /* Sombra mágica - Neblina superior */
    box-shadow: 
        0 -5px 25px rgba(5, 219, 197, 0.4),     /* Neblina turquesa desde arriba */
        0 -10px 50px rgba(4, 142, 126, 0.3),    /* Neblina esmeralda */
        0 -15px 75px rgba(5, 219, 197, 0.2),    /* Neblina difuminada */
        0 -8px 32px rgba(0, 0, 0, 0.2),         /* Sombra de profundidad */
        inset 0 2px 0 rgba(255, 255, 255, 0.15); /* Brillo interior superior */
    
    /* Animación de neblina */
    animation: mistyGlowFooter 6s ease-in-out infinite;
}

/* Animación específica para footer */
@keyframes mistyGlowFooter {
    0%, 100% {
        box-shadow: 
            0 -5px 25px rgba(5, 219, 197, 0.4),
            0 -10px 50px rgba(4, 142, 126, 0.3),
            0 -15px 75px rgba(5, 219, 197, 0.2),
            0 -8px 32px rgba(0, 0, 0, 0.2),
            inset 0 2px 0 rgba(255, 255, 255, 0.15);
    }
    50% {
        box-shadow: 
            0 -8px 35px rgba(5, 219, 197, 0.6),  /* Neblina más intensa */
            0 -15px 70px rgba(4, 142, 126, 0.4),
            0 -20px 100px rgba(5, 219, 197, 0.25),
            0 -8px 32px rgba(0, 0, 0, 0.2),
            inset 0 2px 0 rgba(255, 255, 255, 0.2);
    }
}

.main-sections {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.quienes_somos,
.contacto,
.ultimas_noticias {
    width: 100%;
}

.phone,
.fax,
.email,
.location {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 5px 0;
}

.main-sections p {
    color: white;
}

h2 {
    font-family: 'longa_iberica', sans-serif;
    font-size: clamp(24px, 5vw, 40px);
    color: red;
    font-weight: bold;
    letter-spacing: 3px;
}

p {
    font-family: Arial, Helvetica, sans-serif;
    color: black;
}

li {
    color: white;
}

.tweet_text a {
    text-decoration: none;
    color: white;
}

.tweet_time {
    color: orange;
}

.conditions {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.conditions a {
    text-decoration: none;
    color: rgb(243, 238, 238);
    padding: 10px 5px;
    display: block;
}

.logo {
    text-align: center;
    padding: 20px 0;
}

.logo img {
    margin: 10px;
    max-width: 80px;
    height: auto;
}

/*Cuadro de Cookies*/

#cookieConsent {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 500px;
    background: rgba(250, 236, 236, 0.95);
    color: #333;
    padding: 15px;
    border-radius: 10px;
    z-index: 1000;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

#acceptCookies,
#declineCookies {
    background-color: rgb(64, 224, 208);
    color: white;
    border: none;
    padding: 10px 20px;
    margin: 5px;
    border-radius: 5px;
    cursor: pointer;
}

/* RESPONSIVE - Tablets */
@media screen and (min-width: 768px) {
    
    #carouselExampleIndicators {
        max-height: 450px;
    }

    #carouselExampleIndicators img {
        height: 450px;
    }

    .video-item {
        min-width: calc(50% - 10px);
        height: 220px;
    }

    .update-card {
        flex: 0 0 calc(50% - 10px);
    }

    .update-card-image {
        height: 200px;
    }

    .main-sections {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .quienes_somos,
    .contacto,
    .ultimas_noticias {
        flex: 1;
        min-width: 250px;
    }

    .carousel-btn {
        width: 45px;
        height: 45px;
    }

    .carousel-btn.prev {
        left: 10px;
    }

    .carousel-btn.next {
        right: 10px;
    }
}

/* RESPONSIVE - Escritorio */
@media screen and (min-width: 1024px) {
    
    body {
        margin-left: 10px;
    }

    .container {
        max-width: 1400px;
        padding: 0 20px;
    }

    .header {
        max-width: 1400px;
        margin: 20px auto;
    }

    .header h1 {
        font-size: 70px;
    }

    .header img {
        height: 70px;
    }

    .navbar {
        max-width: 1400px;
        margin: 10px auto;
    }

    .navbar a {
        margin-left: 40px;
    }

    #carouselExampleIndicators {
        max-height: 580px;
        max-width: 1400px;
        margin: 10px auto;
    }

    #carouselExampleIndicators img {
        height: 580px;
    }

    .carousel {
        max-width: 1400px;
        margin: 10px auto;
    }

    .video-item {
        min-width: calc(33.333% - 14px);
        height: 250px;
    }

    .update-card {
        flex: 0 0 calc(33.333% - 14px);
    }

    .update-card-image {
        height: 200px;
    }

    .divider {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 20px;
    }

    .divider img {
        max-width: 30vw;
    }

    .updates-carousel-wrapper {
        padding: 0 60px;
    }

    .updates-carousel-btn {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }

    .updates-carousel-btn.prev {
        left: 0;
    }

    .updates-carousel-btn.next {
        right: 0;
    }

    .carousel-btn {
        width: 50px;
        height: 50px;
    }

    .carousel-btn.prev {
        left: -25px;
    }

    .carousel-btn.next {
        right: -25px;
    }

    .logo img {
        max-width: 80px;
        margin: 0 20px;
    }

    .conditions {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .conditions li {
        margin: 0 15px;
    }

    #cookieConsent {
        width: 40vw;
        max-width: 600px;
    }
}

/* RESPONSIVE - Tablets */
@media (max-width: 1024px) {
    .video-item {
        flex: 0 0 calc(50% - 10px); /* 2 videos en tablet */
    }
    
    .carousel-title {
        font-size: 1.75rem;
    }
}

/* RESPONSIVE - Móvil */
@media (max-width: 768px) {
    .carousel-wrapper {
        padding: 0 40px;
    }
    
    .carousel-track {
        gap: 15px;
    }
    
    .video-item {
        flex: 0 0 100%; /* 1 video en móvil */
    }
    
    .carousel-title {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
    }
    
    .play-icon {
        width: 60px;
        height: 60px;
    }
    
    .play-icon::after {
        border-left-width: 16px;
        border-top-width: 10px;
        border-bottom-width: 10px;
    }
}

@media (max-width: 480px) {
    .carousel-container {
        padding: 30px 15px;
    }
    
    .carousel-wrapper {
        padding: 0 35px;
    }
    
    .carousel-btn {
        width: 30px;
        height: 30px;
    }
    
    .video-modal-content {
        width: 95%;
    }
    
    .video-modal-close {
        top: -35px;
        width: 35px;
        height: 35px;
    }
}

/*Redes Sociales*/
.footer-social-section {
    text-align: center;
    padding: 30px 20px;
    background-color: rgba(0, 0, 0, 0.05);
    border-top: 2px solid rgba(255, 255, 255, 0.1);
}

.footer-social-section h3 {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: white;
    font-size: 28px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.footer-social-link.facebook {
    background-color: #1877f2;
}

.footer-social-link.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.footer-social-link:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .footer-social-section h3 {
        font-size: 1.3rem;
    }
    
    .footer-social-link {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .footer-social-icons {
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .footer-social-section {
        padding: 20px 15px;
    }
    
    .footer-social-section h3 {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    .footer-social-link {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
}