/* Estilos generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cabin', sans-serif; /* Cambiado a Cabin */
}

body {
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #34345C;
}

/* Header con efecto glassmorphism */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.15);  /* Fondo con transparencia */
    backdrop-filter: blur(10px);                  /* Efecto de desenfoque */
    -webkit-backdrop-filter: blur(10px);          /* Para compatibilidad con Safari */
    padding: 15px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);    /* Sombra sutil */
    border-bottom: 1px solid rgba(255, 255, 255, 0.3); /* Borde sutil para mejorar el efecto */
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 40px;
}

/* Menú de navegación con glassmorphism */
.nav-menu {
    display: flex;
    list-style: none;
    background-color: rgba(255, 255, 255, 0.2);  /* Fondo con transparencia */
    backdrop-filter: blur(8px);                  /* Efecto de desenfoque */
    -webkit-backdrop-filter: blur(8px);          /* Para compatibilidad con Safari */
    padding: 10px 20px;
    border-radius: 50px;                         /* Bordes redondeados */
    align-items: center;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.4);  /* Borde brillante */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);   /* Sombra suave */
}


.nav-menu {
    display: flex;
    list-style: none;
    background-color: transparent;  /* Quitar fondo */
    backdrop-filter: none;          /* Quitar desenfoque */
    -webkit-backdrop-filter: none;  /* Quitar desenfoque para Safari */
    padding: 10px 0;               /* Mantener padding vertical pero quitar horizontal */
    border-radius: 0;               /* Quitar bordes redondeados */
    align-items: center;
    position: relative;
    border: none;                   /* Quitar borde */
    box-shadow: none;               /* Quitar sombra */
}

 


.nav-menu li {
    margin: 0 10px;
    position: relative;
}

/* Mejorar el contraste de los textos en el menú */
.nav-menu a {
	position: relative;
    text-decoration: none;
    color: #333;                                 /* Color más oscuro para mejor legibilidad */
    font-size: 14px;
    font-weight: 600;                            /* Texto más grueso para mejor contraste */
    transition: all 0.3s;
    padding: 5px 0;
    display: inline-block;
    position: relative;
}

/* Efecto de resaltado mejorado */
.nav-menu a:hover, .nav-menu a.active {
    color: #E52421;
    text-shadow: 0 0 8px rgba(229, 36, 33, 0.3);  /* Brillo sutil al pasar el mouse */
}

/* Indicador de menú activo con animación */
.nav-indicator {
    position: absolute;
    bottom: -2px;
    height: 2px;
    background-color: #E52421;
    transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
    opacity: 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: #E52421;  /* Color rojo del sitio */
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;  /* Transición suave */
}

.nav-menu a:hover::after, .nav-menu a.active::after {
    width: 100%;  /* La línea se extiende al 100% en hover */
}

/* Mantener el estilo del texto en hover */
.nav-menu a:hover, .nav-menu a.active {
    color: #E52421;
}

/* Ajuste sutil al botón Registrarse manteniendo su estilo original */
.register-btn {
    padding: 10px 32px;  /* Más espacio horizontal pero manteniendo proporción */
}

/* Para mantener consistencia en dispositivos móviles */
@media (max-width: 768px) {
    .register-btn {
        margin: 10px auto;
        padding: 10px 32px;
    }
}












/* Botón de registro con efecto vidrio */
.register-btn {
    background-color: rgba(229, 36, 33, 0.85);   /* Rojo con transparencia */
    color: white !important;
    padding: 10px 32px;
    border-radius: 50px;
    font-weight: 700;
    margin-left: 15px;
    transition: all 0.3s;
    backdrop-filter: blur(4px);                  /* Efecto de desenfoque */
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.4);  /* Borde sutil */
    box-shadow: 0 4px 15px rgba(229, 36, 33, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.register-btn:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(229, 36, 33, 0.85), rgba(201, 30, 27, 0.85));
    z-index: -1;
    transition: all 0.3s ease;
}

.register-btn:hover {
    background-color: rgba(229, 36, 33, 0.95);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(229, 36, 33, 0.4);
    color: white !important;
    letter-spacing: 0.5px;
}

.register-btn:hover:before {
    background: linear-gradient(to bottom, rgba(255, 60, 56, 0.95), rgba(229, 36, 33, 0.95));
}

.register-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(229, 36, 33, 0.3);
}

.register-btn::after {
    display: none;
}





.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .register-btn {
        margin: 10px auto;
        padding: 10px 32px;
    }
}

/* Hero Section actualizado para parecerse al diseño de referencia */
.header-hero-section {
    background-image: url('assets/img/textura.png'); /* Mantener la textura existente o cambiarla si es necesario */
    background-repeat: repeat;
    background-size: auto;
    position: relative;
    padding-top: 0;
    padding-bottom: 50px;
    overflow: hidden; /* Para asegurar que las formas no se salgan */
}

/* Uso de before para agregar un overlay de patrón sutil */
.header-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.92)), 
                     url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23f0f0f0' fill-opacity='0.4' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.7;
    z-index: 0;
}

.hero-container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding-top: 0;
    width: 100%;
    position: relative;
    z-index: 1; /* Asegurar que el contenido esté por encima del overlay */
}

/* Ajustar el contenido de texto a la izquierda */
.hero-content {
    position: relative;
    padding: 30px 20px 20px 20px; /* Más padding en la parte superior */
    background-color: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-radius: 0;
    border: none;
    box-shadow: none;
    transition: none;
    margin-left: 20px;
    width: 50%; /* Reducir un poco el ancho para dar más espacio a la imagen */
    z-index: 2;
}

/* Estilo más parecido al diseño de referencia */
.hero-title {
    color: #E52421;
    font-size: 4.2rem;
    font-weight: 700;
    margin-bottom: 0;
    line-height: 1;
    text-shadow: none;
    letter-spacing: -1px; /* Reducir un poco el espacio entre letras */
}

.hero-subtitle {
    color: #34345C;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    max-width: 100%;
    line-height: 1.4;
    text-shadow: none;
}

.hero-date {
    color: #E52421;
    font-size: 3.6rem;
    font-weight: 700;
    margin-bottom: 0;
    line-height: 1;
    text-shadow: none;
}

.hero-location {
    color: #34345C;
    font-size: 1.2rem;
    margin-bottom: 20px;
    max-width: 100%;
    line-height: 1.2;
    text-shadow: none;
    font-weight: 500;
}

/* Reposicionamos el botón de registro y lo hacemos visible */
.hero-content .btn {
    display: inline-block;
    background-color: #E52421;
    color: white;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    outline: none;
    margin-top: 10px;
    box-shadow: 0 4px 8px rgba(229, 36, 33, 0.3);
}

.hero-content .btn:hover {
    background-color: #c91e1b;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(229, 36, 33, 0.4);
}

/* Reemplazar la imagen actual con formas geométricas coloridas más angostas */
.hero-logo {
    display: block;
    width: 40%;
    max-width: 420px;
    height: 430px;
    margin: 0;
    padding: 0;
    position: relative;
    align-self: flex-start;
}

/* Esconder la imagen actual si preferimos usar formas CSS */
.hero-logo img {
    opacity: 0; /* Opcional: si queremos ocultar la imagen actual */
}

/* Formas geométricas ajustadas para ser más angostas */
.hero-logo::before {
    content: '';
    position: absolute;
    top: 40px;
    right: 20px;
    width: 170px; /* Más angosto */
    height: 480px;
    background-color: #E52421; /* Forma roja */
    border-radius: 85px; /* La mitad del ancho */
    z-index: 1;
}

.hero-logo::after {
    content: '';
    position: absolute;
    top: 40px;
    right: 140px;
    width: 160px;
    height: 160px;
    background-color: #F7AABE; /* Forma rosa claro */
    border-radius: 50%;
    z-index: 0;
}

/* Forma morada más angosta */
.hero-geometric-shape {
    position: absolute;
    bottom: 10px;
    right: 120px;
    width: 150px; /* Más angosto */
    height: 300px;
    background-color: #5B5299; /* Forma morada */
    border-radius: 75px; /* La mitad del ancho */
    z-index: 0;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-date {
        font-size: 3rem;
    }
    
    .hero-logo::before {
        width: 140px;
        height: 350px;
        top: 100px;
        right: 30px;
        border-radius: 70px;
    }
    
    .hero-logo::after {
        width: 130px;
        height: 130px;
        top: 50px;
        right: 120px;
    }
    
    .hero-geometric-shape {
        width: 120px;
        height: 250px;
        bottom: 50px;
        right: 100px;
        border-radius: 60px;
    }
}

@media (max-width: 768px) {
    .hero-container {
        flex-direction: column;
    }
    
    .hero-content {
        width: 100%;
        margin-left: 0;
        text-align: center;
        padding: 20px 15px;
    }
    
    .hero-logo {
        width: 100%;
        height: 300px;
        margin-top: 20px;
    }
    
    .hero-logo::before {
        width: 120px;
        height: 300px;
        top: 20px;
        right: 50%;
        transform: translateX(40%);
        border-radius: 60px;
    }
    
    .hero-logo::after {
        width: 110px;
        height: 110px;
        top: 30px;
        right: 30%;
    }
    
    .hero-geometric-shape {
        width: 100px;
        height: 200px;
        bottom: 30px;
        right: 60%;
        border-radius: 50px;
    }
}

/* Botón en el hero con efecto glassmorphism */
.btn {
    background-color: rgba(229, 36, 33, 0.85);
    color: white;
    padding: 14px 32px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 4px 6px rgba(229, 36, 33, 0.3);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(229, 36, 33, 0.85), rgba(201, 30, 27, 0.85));
    z-index: -1;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(229, 36, 33, 0.4);
    letter-spacing: 0.5px;
}

.btn:hover:before {
    background: linear-gradient(to bottom, rgba(255, 60, 56, 0.95), rgba(229, 36, 33, 0.95));
}

.btn:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(229, 36, 33, 0.3);
}

/* Welcome Section */
.welcome {
    background-color: #34345C;
    color: white;
    padding: 50px 0;
}

.welcome-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.welcome-col {
    flex: 1;
    min-width: 300px;
}

.welcome-subtitle {
    color: #FFF;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    display: inline-block;
    padding-bottom: 5px;
    border-bottom: 3px solid #E52421;
}

.welcome-text {
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.welcome-text1 {
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.welcome-hashtags {
    color: #ccc;
    margin-top: 20px;
}

.welcome-hashtags span {
    display: inline-block;
    margin-right: 3px;
    margin-bottom: 3px;
}

/* Speakers Section */
.speakers {
    background-color: #fff;
    padding: 50px 0;
}

.speakers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.speaker-card {
    background-color: #f9f9f9;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.speaker-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 20px auto;
    border: 4px solid #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.speaker-name {
    font-weight: 700;
    color: #34345C;
    margin-bottom: 5px;
    font-size: 1rem;
}

.speaker-info {
    font-size: 0.8rem;
    color: #666;
    padding: 0 15px 20px;
}

/* Certificates Section */
.certificates {
    background-color: #34345C;
    padding: 40px 0;
    text-align: center;
    color: white;
}

.certificates-subtitle {
    color: #FFF;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    display: inline-block;
    padding-bottom: 5px;
    border-bottom: 3px solid #E52421;
}

. {
    color: #000;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    display: inline-block;
    padding-bottom: 5px;
    border-bottom: 3px solid #E52421;
}

.certificates-info {
    margin: 15px 0;
    font-size: 1.4rem;
    color: #ccc;
}

/* Sección de registro */
.registration {
    background-color: #fff;
    padding: 60px 0;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 40 40"><rect width="40" height="40" fill="%23ffffff"/><path fill="%23f5f5f5" d="M0 0h10v10H0zm10 10h10v10H10zm10 10h10v10H20zm10-10h10v10H30zm-20 0h10v10H10zm20-10h10v10H30z"/></svg>');
}

.registration-subtitle {
    color: #34345C;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 25px;
    display: inline-block;
    padding-bottom: 5px;
    border-bottom: 3px solid #E52421;
    text-align: center;
}

/* Estilos para el texto informativo previo al formulario */
.info-container {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    padding: 25px;
    max-width: 800px;
    margin: 0 auto 30px;
    text-align: left;
}

.form-info {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #444;
}

.form-info:last-child {
    margin-bottom: 0;
}

.form-link {
    color: #E52421;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.form-link:hover {
    text-decoration: underline;
}

.form-container {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    padding: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-weight: 600;
    color: #34345C;
    margin-bottom: 5px;
}

.form-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-input:focus {
    border-color: #E52421;
    outline: none;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.form-col {
    flex: 1;
    min-width: 250px;
}

.form-select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    background-color: white;
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="6" viewBox="0 0 12 6"><path fill="%23333" d="M0 0h12L6 6z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 15px center;
    cursor: pointer;
}

.form-select:focus {
    border-color: #E52421;
    outline: none;
}

.form-checkbox-group {
    margin-top: 5px;
}

.form-checkbox {
    margin-right: 5px;
    cursor: pointer;
}

.form-checkbox-label {
    font-size: 0.9rem;
    cursor: pointer;
}

.form-submit {
    background-color: #E52421;
    color: white;
    padding: 14px 32px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    display: block;
    margin: 30px auto 0;
    min-width: 220px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 4px 6px rgba(229, 36, 33, 0.3);
}

.form-submit:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, #E52421, #c91e1b);
    z-index: -1;
    transition: all 0.3s ease;
}

.form-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(229, 36, 33, 0.4);
    letter-spacing: 0.5px;
}

.form-submit:hover:before {
    background: linear-gradient(to bottom, #ff3c38, #E52421);
}

.form-submit:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(229, 36, 33, 0.3);
}

.required-field {
    color: #E52421;
}

.form-note {
    font-size: 0.8rem;
    color: #666;
    margin-top: 5px;
}

/* Sponsors Section */
.sponsors {
    background-color: #fff;
    padding: 50px 0;
}

.sponsor-category {
    margin-top: 30px;
}

.sponsor-category-title {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
    color: #34345C;
    margin-bottom: 20px;
}

.sponsor-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
    padding: 20px;
    background-color: #f5f5f5;
    border-radius: 10px;
}

.sponsor-logo {
    max-width: 120px;
    height: auto;
}

/* CTA Section */
.cta {
    background-color: #34345C;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><rect width="20" height="20" fill="%2330304f"/><circle cx="10" cy="10" r="1" fill="%23444472"/></svg>');
    color: white;
    padding: 30px 0;
    text-align: center;
}

.cta-text {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
}

/* Map Section */
.map-section {
    background-color: #fff;
    padding: 50px 0;
}

.map-container {
    height: 350px;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    margin-top: 20px;
    border: 5px solid #34345C;
}

.map-info {
    margin-top: 20px;
    text-align: center;
    font-weight: 600;
    color: #34345C;
}

.map-info a {
    color: #E52421;
    text-decoration: none;
}

/* Footer */
footer {
    background-color: #34345C;
    color: white;
    padding: 30px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-col {
    flex: 1;
    min-width: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo {
    height: 50px;
    margin-bottom: 15px;
}

.footer-info {
    font-size: 0.9rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.social-icon {
    background-color: white;
    color: #34345C;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
}

.social-icon:hover {
    background-color: #E52421;
    color: white;
}

.copyright {
    width: 100%;
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* Estilo para los enlaces del footer */
.footer-link {
    color: #E52421;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
    margin-bottom: 5px;
}

.footer-link:hover {
    text-decoration: underline;
}

/* Estilo para el ícono de X (antes Twitter) */
.x-icon {
    font-family: sans-serif;
    font-style: normal;
    font-size: 1.2em;
    display: inline-block;
    line-height: 1;
}

/* Media Queries */
@media (max-width: 992px) {
    .hero-content {
        width: 60%;
    }
    
    .hero-logo {
        width: 40%;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-date {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    /* Menú móvil mejorado */
    .nav-menu {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        width: 90%;
        margin: 0 auto;
        display: none;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.9);  /* Más opaco en móviles para mejor lectura */
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        z-index: 101;
    }
    
    .nav-menu li {
        margin: 10px 0;
        text-align: center;
    }
    
    .nav-menu a::after {
        bottom: -5px;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .nav-menu a:hover::after {
        width: 50%;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-content {
        width: 100%;
        margin-top: 20px;
        margin-left: 0;
        text-align: center;
    }
    
    .hero-logo {
        width: 100%;
        max-width: 80%;
        margin: 0 auto 30px;
    }
    
    .hero-container {
        flex-direction: column;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
    
    .hero-date {
        font-size: 2.5rem;
    }
    
    .hero-location {
        font-size: 1.2rem;
    }
    
    /* Ajustes welcome section */
    .welcome-col {
        flex: 100%;
    }
    
    /* Ajustes formulario */
    .info-container {
        padding: 20px;
    }
    
    .form-info {
        font-size: 0.95rem;
    }
    
    /* Otros ajustes responsivos */
    .speakers-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .footer-col {
        min-width: 100%;
        margin-bottom: 20px;
    }
    
    .register-btn {
        margin: 10px auto;
        padding: 10px 25px;
    }
}

@media (max-width: 576px) {
    .hero-content {
        text-align: center;
        padding: 15px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-date {
        font-size: 1.4rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .info-container {
        padding: 15px;
    }
    
    .form-info {
        font-size: 0.9rem;
    }
    
    /* Ajustes speakers */
    .speakers-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .speaker-img {
        width: 80px;
        height: 80px;
    }
    
    /* Ajustes sponsors */
    .sponsor-logos {
        gap: 15px;
    }
    
    .sponsor-logo {
        max-width: 100px;
    }
    
    /* Ajustes footer */
    .footer-col {
        padding: 0 10px;
    }
    
    /* Ajustes formulario */
    .form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .form-col {
        min-width: 100%;
    }
}
/* Map Section */
.map-section {
    background-color: #fff;
    padding: 60px 0;
}

/* Contenedor principal del mapa */
.venue-container {
    width: 100%;
    background-color: #34345C;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    padding: 0;
}


.map-wrapper {
    width: 100%;
    margin: 15px auto;
    padding: 0 15px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    box-sizing: border-box;
}

.map-wrapper iframe {
    width: 100%;
    height: 320px;
    border: none;
    display: block;
    position: relative;
    z-index: 1;
    border-radius: 5px;
}


.venue-info {
    color: white;
    padding: 25px 30px 30px;
    text-align: center;
}

.venue-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: white;
}

.venue-name {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.venue-address {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.venue-email {
    color: #E52421; /* Color rojo usado en otros enlaces */
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

.venue-email:hover {
    text-decoration: underline;
    color: #f54541;
}

@media (max-width: 768px) {
    .map-wrapper {
        margin: 12px auto;
        padding: 0 12px;
    }
    
    .venue-info {
        padding: 20px 20px 25px;
    }
}

@media (max-width: 576px) {
    .map-wrapper {
        margin: 10px auto;
        padding: 0 10px;
    }
    
    .venue-info {
        padding: 15px 15px 20px;
    }
}

  /* VCards */
 /* Sección de Disertantes */
/* Sección de Disertantes */
#disertantes {
    background-color: #f8f8f8;
    padding: 60px 0;
}

#disertantes .welcome-subtitle {
    color: #34345C;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 25px;
    display: inline-block;
    padding-bottom: 5px;
    border-bottom: 3px solid #E52421;
}

.vcard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    justify-content: center;
    margin-top: 30px;
}

.vcard {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.vcard:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.vcard-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 15px;
    overflow: hidden;
    border: 4px solid #34345C;
}

.vcard-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vcard-name {
    font-size: 18px;
    font-weight: bold;
    color: #34345C;
    margin-bottom: 10px;
    /*text-transform: uppercase;*/
}

.vcard-position {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    flex-grow: 1;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .vcard-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .vcard-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 20px;
    }
    
    .vcard-image {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 576px) {
    .vcard-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Estilos para la sección de Sponsors */
/* Estilos para la sección de Sponsors */
.sponsors-section {
    padding: 60px 0;
    background-color: #fff;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 40 40"><rect width="40" height="40" fill="%23ffffff"/><path fill="%23f5f5f5" d="M0 0h10v10H0zm10 10h10v10H10zm10 10h10v10H20zm10-10h10v10H30zm-20 0h10v10H10zm20-10h10v10H30z"/></svg>');
}

.sponsors-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #34345C;
    margin-bottom: 10px;
}

.sponsors-title-line {
    width: 70px;
    height: 4px;
    background-color: #E52421;
    margin: 0 auto 40px;
    border-radius: 2px;
}

.sponsors-category {
    margin-bottom: 50px;
    background-color: #f5f5f5;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.category-title {
    text-align: center;
    font-size: 1.6rem;
    font-weight: 600;
    color: #34345C;
    margin-bottom: 30px;
}

.sponsors-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
    width: 60%; /* Ocupar solo el 60% del ancho disponible */
    margin: 0 auto; /* Centrar horizontalmente */
}

.sponsor-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    transition: transform 0.3s ease;
    width: 180px; /* Ancho fijo para todos los logos */
    height: 100px; /* Altura fija para todos los logos */
}

.sponsor-logo:hover {
    transform: translateY(-5px);
}

.sponsor-logo img {
    max-width: 85%;
    max-height: 70px; /* Tamaño uniforme para todos los logos */
    object-fit: contain;
}

/* Estilos específicos para cada nivel */
.platino-grid {
    justify-content: space-around;
}

.oro-grid {
    justify-content: center;
}

/* Responsive */
@media (max-width: 992px) {
    .sponsors-grid {
        gap: 30px;
        width: 80%; /* Aumentar ancho en tablets */
    }
    
    .sponsor-logo {
        width: 160px;
        height: 90px;
    }
    
    .sponsor-logo img {
        max-height: 60px;
    }
}

@media (max-width: 768px) {
    .sponsors-category {
        padding: 20px;
    }
    
    .sponsors-grid {
        gap: 25px;
        width: 90%; /* Más ancho en dispositivos móviles */
    }
    
    .sponsor-logo {
        padding: 10px;
        width: 140px;
        height: 80px;
    }
    
    .sponsor-logo img {
        max-height: 50px;
    }
    
    .category-title {
        font-size: 1.4rem;
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .sponsors-section {
        padding: 40px 0;
    }
    
    .sponsors-title {
        font-size: 2rem;
    }
    
    .sponsors-grid {
        gap: 15px;
        width: 100%; /* Ancho completo en móviles pequeños */
    }
    
    .sponsor-logo {
        width: 120px;
        height: 70px;
    }
    
    .sponsor-logo img {
        max-height: 45px;
    }
}

/* Estilos unificados para títulos de sección */
.section-title,
.welcome-subtitle,
.certificates-subtitle,
.registration-subtitle,
.venue-title,
.map-section .section-title,
#disertantes .welcome-subtitle {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #34345C;
    margin-bottom: 10px;
    padding-bottom: 0; /* Eliminar padding-bottom para quitar subrayados anteriores */
    border-bottom: none; /* Eliminar bordes anteriores */
    display: block; /* Cambiar de inline-block a block para centrado completo */
}

/* Línea roja debajo de cada título de sección */
.section-title::after,
.welcome-subtitle::after,
.certificates-subtitle::after,
.registration-subtitle::after,
.venue-title::after,
.map-section .section-title::after,
#disertantes .welcome-subtitle::after {
    content: '';
    display: block;
    width: 70px;
    height: 4px;
    background-color: #E52421;
    margin: 10px auto 40px;
    border-radius: 2px;
}

/* Excepción para títulos en fondos oscuros */
.welcome .welcome-subtitle,
.certificates .certificates-subtitle,
.venue-title {
    color: #FFF;
}

/* Ajustar espaciado específico para cada sección si es necesario */
.registration-subtitle::after {
    margin-bottom: 25px; /* Menos espacio para la sección de registro */
}

.map-section .section-title::after {
    margin-bottom: 30px;
}

/* Responsive */
@media (max-width: 768px) {
    .section-title,
    .welcome-subtitle,
    .certificates-subtitle,
    .registration-subtitle,
    .venue-title,
    .map-section .section-title,
    #disertantes .welcome-subtitle {
        font-size: 2rem;
    }
    
    .section-title::after,
    .welcome-subtitle::after,
    .certificates-subtitle::after,
    .registration-subtitle::after,
    .venue-title::after,
    .map-section .section-title::after,
    #disertantes .welcome-subtitle::after {
        width: 60px;
        margin: 8px auto 30px;
    }
}

@media (max-width: 576px) {
    .section-title,
    .welcome-subtitle,
    .certificates-subtitle,
    .registration-subtitle,
    .venue-title,
    .map-section .section-title,
    #disertantes .welcome-subtitle {
        font-size: 1.8rem;
    }
    
    .section-title::after,
    .welcome-subtitle::after,
    .certificates-subtitle::after,
    .registration-subtitle::after,
    .venue-title::after,
    .map-section .section-title::after,
    #disertantes .welcome-subtitle::after {
        width: 50px;
        height: 3px;
        margin: 8px auto 25px;
    }
}
.certificates-disertante {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #34345C;
    margin-bottom: 10px;
    padding-bottom: 0;
    border-bottom: none;
    display: block;
}

.certificates-disertante::after {
    content: '';
    display: block;
    width: 70px;
    height: 4px;
    background-color: #E52421;
    margin: 10px auto 40px;
    border-radius: 2px;
}
/* Corrección para asegurar que el botón sea visible - añadir al final del CSS */
.hero-content .btn,
.header-hero-section .btn {
    display: inline-block !important; /* Uso de !important para sobrescribir otras reglas */
    background-color: #E52421 !important;
    color: white !important;
    padding: 12px 28px !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    text-decoration: none !important;
    transition: all 0.3s !important;
    border: none !important;
    outline: none !important;
    margin-top: 10px !important;
    box-shadow: 0 4px 8px rgba(229, 36, 33, 0.3) !important;
    visibility: visible !important; /* Garantizar visibilidad */
    opacity: 1 !important; /* Garantizar opacidad completa */
}

.hero-content .btn:hover,
.header-hero-section .btn:hover {
    background-color: #c91e1b !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 12px rgba(229, 36, 33, 0.4) !important;
}

/* 
 * Solución ajustada con un 50% más del tamaño original
 * Estos estilos deben ser añadidos AL FINAL del archivo styles.css
 */

/* Ajustes globales para la sección de sponsors */
#sponsors .sponsors-category {
    padding: 30px 20px;
}

#sponsors .sponsors-grid {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    gap: 60px 40px; /* Mayor separación entre logos */
}

/* Reset para los contenedores de logos (50% más grandes que el original) */
#sponsors .sponsor-logo {
    width: auto !important;
    height: auto !important;
    min-width: 270px !important; /* 180px + 50% = 270px */
    min-height: 150px !important; /* 100px + 50% = 150px */
    padding: 15px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

/* Tamaño base para todas las imágenes (50% más grandes que el original) */
#sponsors .sponsor-logo img {
    max-width: none !important;
    width: auto !important;
    height: auto !important;
    max-height: 105px !important; /* 70px + 50% = 105px */
    min-height: 40px !important;
    object-fit: contain !important;
}

/* Ajuste especial para Novartis */
#sponsors .sponsor-logo[data-sponsor="novartis"] img {
    max-height: 120px !important;
    min-height: 50px !important;
}

/* Ajuste especial para Bristol-Myers Squibb */
#sponsors .sponsor-logo[data-sponsor="bristol-myers-squibb"] img {
    max-height: 120px !important;
    min-height: 50px !important;
}

/* Ajustes específicos para cada grid */
#sponsors .platino-grid {
    justify-content: space-around !important;
}

#sponsors .oro-grid {
    justify-content: center !important;
}

/* Media queries para asegurar responsividad */
@media (max-width: 992px) {
    #sponsors .sponsors-grid {
        gap: 50px 35px;
    }
    
    #sponsors .sponsor-logo {
        min-width: 240px !important;
        min-height: 135px !important;
    }
    
    #sponsors .sponsor-logo img {
        max-height: 90px !important;
    }
    
    #sponsors .sponsor-logo[data-sponsor="novartis"] img,
    #sponsors .sponsor-logo[data-sponsor="bristol-myers-squibb"] img {
        max-height: 105px !important;
    }
}

@media (max-width: 768px) {
    #sponsors .sponsors-grid {
        gap: 40px 30px;
    }
    
    #sponsors .sponsor-logo {
        min-width: 210px !important;
        min-height: 120px !important;
    }
    
    #sponsors .sponsor-logo img {
        max-height: 80px !important;
    }
    
    #sponsors .sponsor-logo[data-sponsor="novartis"] img,
    #sponsors .sponsor-logo[data-sponsor="bristol-myers-squibb"] img {
        max-height: 95px !important;
    }
}

@media (max-width: 576px) {
    #sponsors .sponsors-grid {
        gap: 30px 20px;
    }
    
    #sponsors .sponsor-logo {
        min-width: 180px !important;
        min-height: 105px !important;
        padding: 10px !important;
    }
    
    #sponsors .sponsor-logo img {
        max-height: 70px !important;
    }
    
    #sponsors .sponsor-logo[data-sponsor="novartis"] img,
    #sponsors .sponsor-logo[data-sponsor="bristol-myers-squibb"] img {
        max-height: 85px !important;
    }
}

/* Estilos actualizados para la sección Programa con fondo gris claro */
#programa.certificates {
    background-color: #f5f5f5; /* Cambiado a gris claro */
    padding: 40px 0;
    text-align: center;
    color: #333; /* Cambiado a color oscuro para mejor contraste */
}

#programa .certificates-subtitle {
    color: #34345C; /* Cambiado a color azul oscuro para mejor contraste */
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 5px;
    display: inline-block;
    padding-bottom: 5px;
   /* border-bottom: 3px solid #E52421;*/
}

#programa .certificates-info {
    margin: 15px 0;
    font-size: 1.4rem;
    color: #555; /* Cambiado a gris oscuro para mejor contraste */
}

#programa .btn {
    display: inline-block;
    background-color: #E52421;
    color: white;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    outline: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 4px 8px rgba(229, 36, 33, 0.3);
}

#programa .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(229, 36, 33, 0.4);
    letter-spacing: 0.5px;
}

/* Asegurar que todos los estilos se apliquen correctamente */
#programa.certificates .btn:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(229, 36, 33, 0.85), rgba(201, 30, 27, 0.85));
    z-index: -1;
    transition: all 0.3s ease;
}

#programa.certificates .btn:hover:before {
    background: linear-gradient(to bottom, rgba(255, 60, 56, 0.95), rgba(229, 36, 33, 0.95));
}

/* Estilo unificado para el título de sección (como en otras secciones) */
#programa .certificates-subtitle::after {
    content: '';
    display: block;
    width: 70px;
    height: 4px;
    background-color: #E52421;
    margin: 10px auto 40px;
    border-radius: 2px;
}

/* Agregar un sutil patrón de fondo para darle más interés visual */
#programa {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 40 40"><rect width="40" height="40" fill="%23f5f5f5"/><path fill="%23ebebeb" d="M0 0h10v10H0zm10 10h10v10H10zm10 10h10v10H20zm10-10h10v10H30zm-20 0h10v10H10zm20-10h10v10H30z"/></svg>');
}

/* Responsive */
@media (max-width: 768px) {
    #programa .certificates-subtitle {
        font-size: 2rem;
    }
    
    #programa .certificates-subtitle::after {
        width: 60px;
        margin: 8px auto 30px;
    }
    
    #programa .certificates-info {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    #programa .certificates-subtitle {
        font-size: 1.8rem;
    }
    
    #programa .certificates-subtitle::after {
        width: 50px;
        height: 3px;
        margin: 8px auto 25px;
    }
    
    #programa .certificates-info {
        font-size: 1.1rem;
    }
}