:root {
    --ikc-blue: #0033a0;
    --ikc-red: #da291c;
    --ikc-yellow: #ffcd00;
    --ikc-green: #009639;
}

.text-ikc-red { color: var(--ikc-red); }
.text-ikc-green { color: var(--ikc-green); }
.btn-ikc { 
    background-color: var(--ikc-red); 
    color: white; 
    border: none; 
}
.btn-ikc:hover { 
    background-color: #b31e15; 
    color: white; 
}
.transition-transform { transition: transform 0.3s ease; }
.transition-transform:hover { transform: scale(1.05); }

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('../img/logoikc2027.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 80vmin;
    
    
    opacity: 0.4; 
    z-index: -1; 
    pointer-events: none;
}

[data-bs-theme="dark"] body::before {
    opacity: 0.02; 
    filter: grayscale(100%) brightness(1.5); 
}

.navbar-brand img { height: 60px; }

.hero-section {
    background: linear-gradient(rgba(11, 25, 219, 0.7), rgba(231, 224, 15, 0.7)), url('../img/logoikc2027.png') center/cover;
    color: white;
    padding: 150px 0 100px;
}

.maintenance-banner {
    background-color: rgba(255, 205, 0, 0.95);
    color: #4a2c00;
    font-size: 0.95rem;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.nav-pills .nav-link { margin-bottom: 0.5rem; transition: all 0.3s ease; }
.nav-pills .nav-link.active {
    background-color: var(--ikc-red) !important;
    color: white !important;
}
.nav-pills .nav-link:not(.active) {
    color: var(--bs-body-color);
    background-color: var(--bs-tertiary-bg);
    border: 1px solid var(--bs-border-color);
}

.table th, .table td { white-space: nowrap; vertical-align: middle; padding: 0.5rem; font-size: 0.85rem;}

.table-responsive { max-height: 600px; overflow-y: auto; }
.table-dark th { position: sticky; top: 0; z-index: 1; }

.hotel-card { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.hotel-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.15) !important; }
.amenity-icon { width: 30px; text-align: center; color: var(--ikc-red); }
.badge-premium { background-color: #2c3e50; color: white; }
.badge-mid { background-color: var(--ikc-blue); color: white; }
.badge-eco { background-color: #27ae60; color: white; }

.instructor-img {
    width: 200px;
    height: 200px;
    object-fit: cover; 
    object-position: center top; 
    border: 4px solid var(--ikc-red);
    padding: 5px;
    background-color: var(--bs-body-bg);
    margin-top: -30px;
}

.instructor-img-sm {
    width: 150px;
    height: 150px;
    object-position: center top;
}

.instructor-card {
    margin-top: 30px;
}

.countdown-box {
    background-color: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: 1rem;
    padding: 1.5rem 0.5rem;
    box-shadow: 0 0.25rem 0.5rem rgba(0,0,0,0.05);
}
.countdown-num {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--ikc-red);
    line-height: 1;
}
.countdown-lbl {
    font-size: 0.75rem;
    letter-spacing: 1px;
    color: var(--bs-secondary-color);
}

.pricing-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}
.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
}
.pricing-card.popular {
    border-color: var(--ikc-red);
    position: relative;
}
.badge-popular {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--ikc-red);
    color: white;
    padding: 5px 20px;
    border-radius: 20px;
    font-weight: bold;
    letter-spacing: 1px;
    z-index: 1;
    white-space: nowrap;
}
.price-amount {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1;
    color: var(--ikc-blue);
}
[data-bs-theme="dark"] .price-amount { color: #fff; }
.currency { font-size: 1.5rem; vertical-align: top; font-weight: 700; color: #6c757d; }

.list-group-item { background: transparent; border-color: rgba(0,0,0,0.05); }
[data-bs-theme="dark"] .list-group-item { border-color: rgba(255,255,255,0.05); }

.timeline-section { background-color: var(--ikc-blue); color: white; border-radius: 1rem; }

.countdown-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--ikc-red);
    line-height: 1;
}
.countdown-label {
    font-size: 0.85rem;
    letter-spacing: 2px;
    color: var(--bs-secondary-color);
}
.coming-soon-hero {
    background: linear-gradient(rgba(0, 26, 82, 0.85), rgba(0, 0, 0, 0.9)), url('../img/logika.png') center/cover fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.sponsor-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.sponsor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15) !important;
}
.tier-bronze { border-top: 5px solid #cd7f32; }
.tier-silver { border-top: 5px solid #c0c0c0; }
.tier-gold { border-top: 5px solid #ffd700; }

.price-display {
    font-size: 3rem;
    font-weight: 900;
    color: var(--ikc-blue);
    line-height: 1.2;
}
[data-bs-theme="dark"] .price-display { color: #fff; }

.timeline {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 2rem;
}
.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 4px;
    background: var(--bs-border-color);
    border-radius: 4px;
}
.timeline-item {
    position: relative;
    margin-bottom: 2.5rem;
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: -2.45rem;
    top: 0.25rem;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--ikc-red);
    border: 4px solid var(--bs-body-bg);
    box-shadow: 0 0 0 2px var(--ikc-red);
}
.timeline-date {
    font-size: 1.25rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--ikc-blue);
    margin-bottom: 1rem;
}
[data-bs-theme="dark"] .timeline-date { color: #fff; }

.event-card {
    border-left: 4px solid var(--bs-secondary-bg);
    transition: transform 0.2s ease, border-color 0.2s ease;
}
.event-card:hover {
    transform: translateX(5px);
    border-color: var(--ikc-red);
}
.event-time {
    font-weight: bold;
    color: var(--ikc-red);
    min-width: 90px;
    display: inline-block;
}

.organizers-img {
    height: 130px; 
    width: 100%; 
    object-fit: contain; 
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.15)); 
}


[data-bs-theme="dark"] .seccion-mapa-logos .text-dark {
    color: #f8f9fa !important;
}

.page-header {
    background: linear-gradient(135deg, var(--ikc-blue) 0%, #001a52 100%);
    color: white;
    padding: 100px 0 50px;
    margin-bottom: 3rem;
}


.division-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--ikc-red);
}
.division-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}


.instructor-card {
    margin-top: 75px; 
}
.instructor-img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 4px solid var(--ikc-red);
    margin-top: -75px;
    background-color: var(--bs-body-bg); 
}
.instructor-img-sm {
    width: 120px;
    height: 120px;
    margin-top: -60px;
}


.footer-custom {
    border-top: 4px solid var(--ikc-red) !important;
}





        .nav-pills .nav-link { margin-bottom: 0.5rem; transition: all 0.3s ease; }
        .nav-pills .nav-link.active {
            background-color: var(--ikc-red) !important;
            color: white !important;
        }
        .nav-pills .nav-link:not(.active) {
            color: var(--bs-body-color); 
            background-color: var(--bs-tertiary-bg);
            border: 1px solid var(--bs-border-color);
        }
        
        .table th, .table td { white-space: nowrap; vertical-align: middle; padding: 0.6rem; font-size: 0.9rem;}
        
        
        .table-responsive { max-height: 600px; overflow-y: auto; }
        .table-dark th { position: sticky; top: 0; z-index: 1; }













.seccion-mapa-logos {
    position: relative;
    
    background-image: url('../img/mapaki.png');
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat;
    background-attachment: fixed; 
    z-index: 1;
}


.seccion-mapa-logos::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    
    background-color: rgba(255, 255, 255, 0.50); 
    z-index: -1; 
}


[data-bs-theme="dark"] .seccion-mapa-logos::before {
    
    background-color: rgba(0, 0, 0, 0.50) !important;
}


.seccion-mapa-logos img {
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1)); 
    max-height: 100px; 
    object-fit: contain;
}






.navbar-nav .nav-link.active {
    color: var(--ikc-blue) !important;
    border-bottom: 3px solid var(--ikc-yellow);
    padding-bottom: 0.3rem; 
}


.dropdown-menu .dropdown-item.active {
    background-color: rgba(218, 41, 28, 0.1) !important; 
    color: var(--ikc-blue) !important;
    font-weight: 900;
    border-left: 4px solid var(--ikc-yellow); 
}




.promo-hero {
    background: linear-gradient(rgba(0, 26, 82, 0.85), rgba(0, 0, 0, 0.9)), url('../img/logika.png') center/cover fixed;
    min-height: 90vh;
    display: flex;
    align-items: center;
    color: white;
    padding-top: 80px; 
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--ikc-yellow);
    line-height: 1;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; 
    height: 0;
    overflow: hidden;
    border-radius: 1rem;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}


.promo-countdown-box {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 15px 5px;
    backdrop-filter: blur(5px);
}

.promo-countdown-num {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--ikc-yellow);
    line-height: 1;
}

.promo-countdown-lbl {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
    font-weight: bold;
}






@media (max-width: 575.98px) {
    
    .display-3 { font-size: 2.5rem; }
    .display-4 { font-size: 2rem; }
    
    
    .hero-section img { max-width: 250px !important; }
    
    
    .page-header { padding: 80px 0 30px; }
    .hero-section { padding: 100px 0 60px; min-height: 60vh !important; }
    
    
    .navbar-brand img { height: 45px; }
}


@media (max-width: 991.98px) {
    
    .navbar-nav .dropdown-menu { border: none; background-color: rgba(0,0,0,0.05); }
    [data-bs-theme="dark"] .navbar-nav .dropdown-menu { background-color: rgba(255,255,255,0.05); }
}


@media (min-width: 1400px) {
    
    .container { max-width: 1320px; }
    
    
    body { font-size: 1.1rem; }
    .display-3 { font-size: 5rem; }
}