:root {
    --forensic-dark: #1a2a3a;
    --forensic-light: #2c3e50;
    --accent: #c71f0c;
    --accent-gold: #ffd700;
    --light-bg: #f8f9fa;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #666d81;
    background-color: #f9fafb;
}

.navbar {
    background-color: #c71f0c;
    padding: 15px 0;
}

.logo {
    width: 80px;
}

.logo2 {
    display: block;
        margin-left: auto;
        margin-right: auto;
        width: 40%;
}

/* HERO SECTION MEJORADA */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.1)), url('./img/5855.png');
    background-size: cover;
    background-position: center;
    padding: 120px 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(199, 31, 12, 0.2) 0%, rgba(26, 42, 58, 0.4) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.event-year {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.main-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.highlight {
    color: var(--accent-gold);
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent-gold);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s ease;
}

.hero:hover .highlight::after {
    transform: scaleX(1);
    transform-origin: left;
}

.subtitle {
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.4;
}

.quote-text {
    font-style: italic;
    font-size: 1.3rem;
    border-left: 4px solid var(--accent-gold);
    padding-left: 20px;
    margin: 30px auto;
    max-width: 700px;
    text-align: left;
}

.event-details {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 30px;
    backdrop-filter: blur(5px);
}

.detail-item i {
    color: var(--accent-gold);
    font-size: 1.5rem;
}

.btn-hero {
    background: linear-gradient(45deg, var(--accent), #e74c3c);
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.2rem;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(199, 31, 12, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(199, 31, 12, 0.6);
}

.btn-hero:hover::before {
    left: 100%;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 30px 0;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 10px;
    min-width: 80px;
    backdrop-filter: blur(5px);
}

.countdown-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-gold);
}

.countdown-label {
    font-size: 0.9rem;
    text-transform: uppercase;
}

/* Media queries para responsividad del Hero */
@media (max-width: 768px) {
    .main-title {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1.4rem;
    }

    .event-details {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .countdown {
        flex-wrap: wrap;
    }

    .detail-item {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

/* Resto del CSS se mantiene igual */
.card-event {
    border: none;
    border-radius: 10px;
    color: #666d81;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.card-event:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

.tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.btn-forensic {
    background-color: var(--forensic-light);
    color: white;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-forensic:hover {
    background-color: var(--accent);
    color: white;
    transform: translateY(-2px);
}

.section-title {
    position: relative;
    margin-bottom: 40px;
    font-weight: 700;
    text-align: center;
}

.section-title:after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent);
    margin: 15px auto 0;
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--forensic-light);
    margin-bottom: 20px;
}

.testimonial {
    background-color: var(--light-bg);
    padding: 80px 0;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    margin: 15px;
}

.speaker-card {
    border: none;
    color: #666d81;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s;
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.speaker-card:hover {
    transform: translateY(-5px);
}

.speaker-img {
    height: 250px;
    object-fit: cover;
}

.avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}

footer {
    background-color: var(--forensic-dark);
    color: white;
    padding: 60px 0 30px;
}

.social-icon {
    font-size: 1.5rem;
    margin-right: 15px;
    color: white;
    transition: color 0.3s;
}

.social-icon2 {
    font-size: 1.5rem;
    margin-right: 15px;
    color: rgb(230, 3, 3);
    transition: color 0.3s;
}

.social-icon:hover {
    color: var(--accent);
}

/* Estilos para la nueva sección de eventos */
.eventos-container {
    padding: 40px 0;
}

.info-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 4px solid var(--accent);
    padding: 25px;
    height: 100%;
}

.info-card h4 {
    color: var(--forensic-light);
    margin-bottom: 20px;
    font-weight: 700;
}

.info-card ul {
    padding-left: 20px;
}

.info-card li {
    margin-bottom: 12px;
    position: relative;
}

.info-card li:before {
    content: '•';
    color: var(--accent);
    font-weight: bold;
    position: absolute;
    left: -15px;
}

.main-event-card {
    border-top: 5px solid var(--accent);
    animation: subtle-pulse 4s infinite;


}

.card-body {
    padding: 25px;

}

.siguenos {
    width: 200px;

}

@keyframes subtle-pulse {
    0% {
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    50% {
        box-shadow: 0 5px 20px rgba(199, 31, 12, 0.2);
    }

    100% {
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
}

.event-detail {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.event-detail i {
    color: var(--accent);
    margin-right: 10px;
    font-size: 1.2rem;
    width: 24px;
}

.alert-info {
    background-color: rgba(13, 110, 253, 0.1);
    border: none;
    color: #0d6efd;
}

@media (max-width: 992px) {
    .info-card {
        margin-bottom: 20px;
    }
}