/* Reset y configuración base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #1e3a8a;
    --secondary-blue: #3b82f6;
    --accent-green: #10b981;
    --accent-light-blue: #06b6d4;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-lg: rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] {
    --primary-blue: #3b82f6;
    --secondary-blue: #60a5fa;
    --accent-green: #34d399;
    --accent-light-blue: #22d3ee;
    --text-dark: #f9fafb;
    --text-light: #d1d5db;
    --bg-white: #1f2937;
    --bg-light: #111827;
    --shadow: rgba(0, 0, 0, 0.3);
    --shadow-lg: rgba(0, 0, 0, 0.4);
}

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    transition: all 0.3s ease;
}


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

/* Header Principal */
.main-header {
    background: #000;
    color: white;
    padding: 60px 0;
    min-height: 500px;
    height: 100vh;
    max-height: 800px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    width: 100%;
    z-index: 0;
}

.header-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.header-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 0;
    left: 0;
    display: none;
}

.header-bg-img.fallback-img {
    display: block;
    z-index: -1;
}

/* Mostrar imagen de fallback mientras el video carga */
.header-bg-video:not([src]) ~ .fallback-img,
.header-bg-video[readyState="0"] ~ .fallback-img {
    display: block;
}

.header-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    background: transparent;
    display: block !important;
    min-width: 100%;
    min-height: 100%;
    z-index: -2;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Asegurar que el video se adapte en pantallas pequeñas */
@media (max-width: 768px) {
    .main-header {
        min-height: 400px;
        height: 60vh;
        max-height: 600px;
    }
    
    .header-bg-video {
        width: 100%;
        height: 100%;
    }
}

@media (max-width: 480px) {
    .main-header {
        min-height: 300px;
        height: 50vh;
        max-height: 500px;
    }
}

/* Ocultar imagen de fallback cuando el video está cargado */
.header-bg-video:not([poster]) ~ .fallback-img {
    display: none;
}

.main-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.15);
    z-index: -1;
    pointer-events: none;
}

/* Navbar debajo del header, pero sticky al hacer scroll */

.header-container {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 15px 20px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.main-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="2"/><circle cx="50" cy="50" r="20" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></svg>') no-repeat;
    background-size: contain;
    opacity: 0.3;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.header-left {
    flex: 1;
    margin-top: -265px;
}

.main-title {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    text-align: left;
}

.header-right {
    display: flex;
    align-items: flex-start;
    margin-top: -5px;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}



.infinity-symbol {
    position: relative;
    width: 100%;
    height: 100%;
}

.infinity-left {
    position: absolute;
    width: 25px;
    height: 25px;
    border: 3px solid #10b981;
    border-radius: 50%;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.infinity-right {
    position: absolute;
    width: 25px;
    height: 25px;
    border: 3px solid #3b82f6;
    border-radius: 50%;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.infinity-center {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #60a5fa;
    border-radius: 50%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.symbol-circle {
    position: absolute;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    animation: float 3s ease-in-out infinite;
}

.symbol-circle.green {
    background: var(--accent-green);
    top: 0;
    left: 0;
    animation-delay: 0s;
}

.symbol-circle.blue {
    background: var(--accent-light-blue);
    bottom: 0;
    right: 0;
    animation-delay: 1.5s;
}


.header-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Selector de idiomas - Toggle simple */
.language-toggle {
    background: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
}

.language-toggle:hover {
    background: var(--secondary-blue);
    transform: scale(1.05);
}

.theme-toggle {
    background: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.theme-toggle:hover {
    background: var(--secondary-blue);
    transform: scale(1.1);
}

/* Navegación - Se hace fixed cuando se hace scroll */
.navbar {
    background: var(--bg-white);
    box-shadow: 0 2px 10px var(--shadow);
    position: relative;
    width: 100%;
    z-index: 1001;
    transition: box-shadow 0.3s ease, background 0.3s ease;
    margin-top: 0;
}

/* Clase para cuando el navbar está fijo */
.navbar.fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Spacer para evitar salto cuando el navbar se vuelve fixed */
.navbar-spacer {
    height: 0;
    transition: height 0.2s ease-out;
    visibility: hidden;
    display: block;
}

.navbar-spacer.active {
    height: 70px; /* Altura del navbar */
    visibility: visible;
}

[data-theme="dark"] .navbar {
    background: #1f2937;
    box-shadow: 0 2px 10px var(--shadow);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-controls {
    display: flex;
    gap: 10px;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0;
    margin: 0;
    padding: 0;
}

.nav-item {
    margin: 0;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 15px 25px;
    display: block;
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
    border-radius: 5px;
    margin: 5px;
}

.nav-link:hover {
    color: var(--primary-blue);
    border-color: var(--primary-blue);
    background: rgba(59, 130, 246, 0.05);
}

.nav-link.active {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
}

.nav-link.active:hover {
    background: var(--secondary-blue);
    border-color: var(--secondary-blue);
}

/* Estilos específicos para tema oscuro */
[data-theme="dark"] .nav-link {
    color: var(--text-dark);
}

[data-theme="dark"] .nav-link:hover {
    color: var(--primary-blue);
    background: rgba(59, 130, 246, 0.1);
}

[data-theme="dark"] .nav-link.active {
    background: var(--primary-blue);
    color: white;
}

[data-theme="dark"] .nav-link.active:hover {
    background: var(--secondary-blue);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

[data-theme="dark"] .bar {
    background-color: var(--text-dark);
}

/* Sección Principal - Tres Columnas */
.main-content {
    padding: 60px 0;
    background: var(--bg-white);
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.content-column {
    background: var(--bg-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow);
    position: relative;
}

.content-column:hover {
    box-shadow: 0 20px 40px var(--shadow-lg);
}

.column-header {
    padding: 25px 25px 15px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: white;
}

.column-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
    text-align: center;
    letter-spacing: 1px;
}

.column-image {
    position: relative;
    height: 390px;
    overflow: hidden;
}

.category-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Sin animaciones en las imágenes */

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.content-column:hover .image-overlay {
    transform: translateY(0);
}

.image-description {
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0;
}

.column-content {
    padding: 25px;
}

.column-content p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.column-content ul {
    list-style: none;
    padding: 0;
}

.column-content li {
    color: var(--text-dark);
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    font-size: 0.9rem;
    font-weight: 500;
}

.column-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-green);
    font-weight: bold;
    font-size: 1.1rem;
}

/* Secciones */
.section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 3rem;
    color: var(--primary-blue);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background: var(--primary-blue);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.text-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
}

.text-content h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.text-content p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

.text-content ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.text-content li {
    margin-bottom: 0.5rem;
    text-align: justify;
}

/* Sección de Videos */
.videos-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 80px 0;
    margin-top: 80px;
}

.videos-section .section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.videos-section .section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Video principal */
.main-video-container {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.main-video {
    width: 100%;
    height: 400px;
    object-fit: cover;
    background: #000;
}

/* Tira de miniaturas */
.video-strip {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 10px 0;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-blue) transparent;
}

.video-strip::-webkit-scrollbar {
    height: 8px;
}

.video-strip::-webkit-scrollbar-track {
    background: transparent;
}

.video-strip::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 4px;
}

.video-thumbnail {
    flex-shrink: 0;
    width: 200px;
    height: 120px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.video-thumbnail:hover {
    transform: scale(1.05);
    border-color: var(--primary-blue);
}

.video-thumbnail.active {
    border-color: var(--primary-blue);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.thumbnail-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
    display: none;
}

.thumbnail-poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

/* Estilos para eventos del calendario */
.eventos-container {
    margin-top: 30px;
}

.eventos-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.mes-container {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px var(--shadow);
}

.mes-titulo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
}

.eventos-mes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.evento-card {
    background: var(--bg-gray-light);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.evento-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--shadow-lg);
}

.evento-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-blue);
}

.evento-card.tipo-conferencia::before { background: #1e40af; }
.evento-card.tipo-taller::before { background: #166534; }
.evento-card.tipo-reunion::before { background: #92400e; }
.evento-card.tipo-evento-especial::before { background: #be185d; }

.evento-header {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.evento-fecha {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--primary-blue);
    color: white;
    border-radius: 8px;
    padding: 10px;
    min-width: 60px;
    text-align: center;
}

.evento-fecha .dia {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.evento-fecha .mes {
    font-size: 0.8rem;
    text-transform: uppercase;
    opacity: 0.9;
}

.evento-card.tipo-conferencia .evento-fecha { background: #1e40af; }
.evento-card.tipo-taller .evento-fecha { background: #166534; }
.evento-card.tipo-reunion .evento-fecha { background: #92400e; }
.evento-card.tipo-evento-especial .evento-fecha { background: #be185d; }

.evento-info {
    flex: 1;
}

.evento-titulo {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.3;
}

.evento-meta {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 10px;
}

.evento-hora,
.evento-lugar {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.evento-hora i,
.evento-lugar i {
    color: var(--primary-blue);
    width: 14px;
}

.evento-descripcion {
    color: var(--text-dark);
    line-height: 1.5;
    margin-bottom: 15px;
}

.evento-tipo {
    display: flex;
    justify-content: flex-end;
}

.tipo-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
}

.tipo-badge.tipo-general { background: #e5e7eb; color: #374151; }
.tipo-badge.tipo-conferencia { background: #dbeafe; color: #1e40af; }
.tipo-badge.tipo-taller { background: #dcfce7; color: #166534; }
.tipo-badge.tipo-reunion { background: #fef3c7; color: #92400e; }
.tipo-badge.tipo-evento-especial { background: #fce7f3; color: #be185d; }

.empty-events {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
}

.empty-events i {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--border-color);
}

.empty-events h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.empty-events p {
    font-size: 1rem;
}

/* Responsive para eventos */
@media (max-width: 768px) {
    .eventos-mes {
        grid-template-columns: 1fr;
    }
    
    .evento-header {
        flex-direction: column;
        gap: 10px;
    }
    
    .evento-fecha {
        align-self: flex-start;
        flex-direction: row;
        gap: 10px;
        min-width: auto;
    }
    
    .evento-fecha .dia {
        font-size: 1.2rem;
    }
    
    .evento-meta {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .mes-container {
        padding: 20px;
    }
    
    .evento-card {
        padding: 15px;
    }
    
    .evento-titulo {
        font-size: 1.1rem;
    }
    
    .evento-meta {
        flex-direction: column;
        gap: 5px;
    }
}

/* Footer */
.footer {
    background: var(--primary-blue);
    color: white;
    padding: 60px 0 30px;
    position: relative;
    margin-top: 80px;
}

.footer-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.footer-motto {
    margin-bottom: 40px;
}

.motto-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
}

.footer-address {
    margin-bottom: 40px;
}

.footer-address p {
    margin-bottom: 5px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

.footer-address p:first-child {
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
}

.footer-contact {
    margin-bottom: 40px;
    text-align: center;
}

.footer-contact p {
    margin-bottom: 5px;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
}

.footer-contact p strong {
    font-weight: 700;
    color: white;
    display: block;
    margin-bottom: 10px;
    text-align: center;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Sin efectos de scroll para las imágenes */

/* Efectos hover mejorados */
.content-column::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, var(--accent-green), var(--accent-light-blue));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    border-radius: 15px;
}

.content-column:hover::before {
    opacity: 0.1;
}

.content-column > * {
    position: relative;
    z-index: 2;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        background-color: var(--bg-white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px var(--shadow);
        padding: 2rem 0;
        height: 100vh;
        overflow-y: auto;
    }

    .nav-controls {
        position: relative;
        right: auto;
        top: auto;
        z-index: 1001;
    }

    [data-theme="dark"] .nav-menu {
        background-color: #1f2937;
        box-shadow: 0 10px 27px var(--shadow);
    }

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

    .nav-menu li {
        margin: 1rem 0;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }


    .section-title {
        font-size: 2rem;
    }

    .section {
        padding: 60px 0;
    }

    .footer-info {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .motto-text {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .main-title {
        font-size: 1.5rem;
    }

    .infinity-left, .infinity-right {
        width: 20px;
        height: 20px;
    }
    
    .videos-section {
        padding: 60px 0;
    }
    
    .videos-section .section-title {
        font-size: 2rem;
    }
    
    .videos-section .section-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .main-video {
        height: 250px;
    }
    
    .video-thumbnail {
        width: 150px;
        height: 90px;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 1.2rem;
    }
    
    .logo-text {
        font-size: 0.9rem;
    }
    
    .header-container {
        padding: 15px;
    }

    .container {
        padding: 0 15px;
    }

    .nav-container {
        padding: 0 15px;
    }

    .column-image {
        height: 325px;
    }

    .column-content {
        padding: 20px;
    }

    .footer-motto {
        padding: 0 20px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Estilos para contenido dinámico */
.content-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow);
    margin-bottom: 2rem;
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-lg);
}

.content-card h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.content-card h4 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.donation-info {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: white;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 15px 40px var(--shadow-lg);
}

.donation-info h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    font-weight: 700;
}

.donation-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.donation-option {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.donation-option h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.donation-option p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.donation-details {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.donation-details p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.donation-button {
    display: inline-block;
    background: white;
    color: var(--primary-blue);
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    margin-top: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.donation-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    background: var(--accent-green);
    color: white;
}

.event-list {
    display: grid;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.event-item {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary-blue);
    transition: all 0.3s ease;
}

.event-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px var(--shadow);
}

.event-item h4 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.event-item p {
    margin: 0;
    color: var(--text-light);
    line-height: 1.6;
}
