﻿/* =========================
   RESET
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI',sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #ffffff;
    color: #2c3e50;
    padding-top: 70px;
}

/* =========================
   NAVBAR
========================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    border-bottom: 1px solid #e5e7eb;
    z-index: 1000;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 16px;
    color: #111827;
}

    .navbar-brand img {
        width: 80px;
    }

    .navbar-brand span {
        color: #0073ea;
    }

.navbar-menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 28px;
}

    .navbar-menu a {
        text-decoration: none;
        color: #4b5563;
        font-size: 14px;
        font-weight: 500;
        transition: .2s;
    }

        .navbar-menu a:hover {
            color: #0073ea;
        }

.btn-orange-cta {
    background: #b19913;
    color: #ffffff !important;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    box-shadow: 0 6px 18px rgba(177,153,19,.25);
}
/* =========================
   COMITÉ CIENTÍFICO (NUEVO)
========================= */

.committee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
    justify-content: center;
}

.member-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 35px 20px 25px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

    .member-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    }

.member-avatar-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid #f39c12; /* Borde naranja decorativo */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background: #f8fafc;
    overflow: hidden;
}

    .member-avatar-wrapper i {
        font-size: 32px;
        color: #64748b;
    }

    .member-avatar-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.member-name {
    font-size: 15px;
    font-weight: 700;
    color: #0d233a;
    margin-bottom: 8px;
    line-height: 1.4;
}

.member-institution {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: auto; /* Empuja la etiqueta del país al fondo */
    padding-bottom: 20px;
}

.member-country {
    display: inline-block;
    background: #f1f5f9;
    color: #334155;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 16px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


/* =========================
   HERO
========================= */

.hero-container {
    width: 100%;
    min-height: 250px;
    position: relative;
    overflow: hidden;
    background:
    /*linear-gradient(
        90deg,
        rgba(0,18,42,0.98) 0%,
        rgba(0,18,42,0.96) 28%,
        rgba(13,42,74,0.78) 55%,
        rgba(13,42,74,0.28) 74%,
        rgba(13,42,74,0.02) 100%
    ),*/
    url('/images/fondo_congreso1.png');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 90px 40px;
    border-bottom: 4px solid #b19913;
}

    /* glow */
    .hero-container::before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient( circle at 78% 50%, rgba(0,195,255,.14) 0%, rgba(0,195,255,.06) 18%, transparent 42% );
        pointer-events: none;
    }

    /* lineas decorativas */
    .hero-container::after {
        content: "";
        position: absolute;
        width: 100%;
        height: 100%;
        background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px);
        background-size: 28px 28px;
        opacity: .08;
        pointer-events: none;
    }

.hero-content {
    width: 100%;
    max-width: 1140px;
    position: relative;
    z-index: 2;
}

.hero-text-block {
    max-width: 650px;
}

/* badge */

.tech-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.15);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .8px;
    margin-bottom: 24px;
    backdrop-filter: blur(6px);
}

/* titulo */

.hero-title {
    line-height: 1.08;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 26px;
    letter-spacing: -1.5px;
}

/* descripcion */

.hero-description {
    font-size: 18px;
    line-height: 1.8;
    color: #d6e3f1;
    margin-bottom: 38px;
    max-width: 620px;
}

/* botones */

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-hero-white {
    background: #ffffff;
    color: #0d2a4a;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: .2s;
}

    .btn-hero-white:hover {
        transform: translateY(-2px);
    }

.btn-hero-dark {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.08);
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: .2s;
}

    .btn-hero-dark:hover {
        background: rgba(255,255,255,.14);
    }

/* =========================
   SECCIONES
========================= */

.main-content {
    max-width: 1140px;
    margin: auto;
    padding: 80px 20px;
}

.section-heading {
    text-align: center;
    font-size: 28px;
    font-weight: 800;
    color: #0d233a;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.section-divider {
    width: 50px;
    height: 4px;
    background: #b19913;
    margin: 0 auto 50px;
    border-radius: 999px;
}

/* =========================
   CARDS
========================= */

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
    gap: 24px;
}

.tech-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 34px 26px;
    text-align: center;
    transition: .25s;
    box-shadow: 0 4px 12px rgba(0,0,0,.03);
}

    .tech-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 35px rgba(0,0,0,.08);
    }

    .tech-card i {
        font-size: 32px;
        color: #0073ea;
        margin-bottom: 18px;
    }

    .tech-card h3 {
        font-size: 16px;
        font-weight: 700;
        margin-bottom: 12px;
        color: #0d233a;
    }

    .tech-card p {
        font-size: 14px;
        line-height: 1.7;
        color: #64748b;
    }

/* =========================
   CUOTAS
========================= */

.bg-alt-section {
    background: #f8fafc;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(240px,1fr));
    gap: 22px;
}

.price-card {
    background: #ffffff;
    border-radius: 14px;
    border-top: 4px solid #b19913;
    padding: 28px;
    box-shadow: 0 4px 12px rgba(0,0,0,.03);
}

    .price-card h3 {
        font-size: 15px;
        line-height: 1.5;
        margin-bottom: 22px;
        color: #0d233a;
    }

.price-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 14px;
    font-size: 14px;
}

.price-value {
    font-weight: 700;
    color: #0073ea;
}

/* =========================
   TEMAS
========================= */

.topic-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 28px;
}

.topic-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    margin-bottom: 14px;
    color: #0d233a;
}

    .topic-header i {
        color: #b19913;
    }

.topic-card p {
    color: #64748b;
    line-height: 1.7;
}

/* =========================
   SLIDER
========================= */

.slider-container {
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #ffffff;
    padding: 30px 0;
}

.slider-track {
    display: flex;
    width: calc(200px * 20);
    animation: scrollLogos 35s linear infinite;
}

.slide-item {
    width: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 24px;
}

    .slide-item img {
        max-width: 100%;
        max-height: 70px;
        object-fit: contain;
        /*filter:grayscale(100%);

    opacity:.55;*/
    }

@keyframes scrollLogos {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-200px * 10));
    }
}

/* =========================
   FOOTER
========================= */

footer {
    padding: 40px 20px;
    text-align: center;
    color: #64748b;
    border-top: 1px solid #e5e7eb;
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:900px) {

    .navbar-menu {
        display: none;
    }

    .hero-container {
        min-height: auto;
        background-position: 72% center;
        padding: 80px 24px;
    }

    .hero-title {
        font-size: 42px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-text-block {
        text-align: center;
        margin: auto;
    }
}

.btn-comite {
    background: #0a2d57;
    color: #fff;
    border: none;
    padding: 14px 30px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
}

.comite-cientifico-container {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    margin: 20px auto;
    max-width: 1200px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.comite-header h2 {
    font-size: 20px;
    color: #1a202c;
    margin: 0 0 20px 0;
    font-weight: 700;
}

/* AJUSTES DE TEXTO INTERNO */
.email {
    display: block;
    font-size: 12px;
    color: #7481d1;
    margin-top: 4px;
}

.col-num {
    width: 50px;
}

.text-center {
    text-align: center;
    font-weight: bold;
    color: #718096;
}

/* PERSONALIZACIÓN DE ELEMENTOS NATIVOS DATATABLES */
.dataTables_wrapper .dataTables_filter input {
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 6px 12px;
    margin-left: 8px;
    outline: none;
}

    .dataTables_wrapper .dataTables_filter input:focus {
        border-color: #7481d1;
        box-shadow: 0 0 0 3px rgba(116, 129, 209, 0.15);
    }

.dataTables_wrapper .dataTables_length select {
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 5px 8px;
}

.comite-table th {
    background-color: #f7fafc !important;
    color: #4a5568;
    border-bottom: 2px solid #e2e8f0 !important;
}

/* BADGES DE PAÍSES */
.tag-pais {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

    .tag-pais.mexico {
        background-color: #e6fffa;
        color: #234e52;
    }

    .tag-pais.cuba {
        background-color: #eef2ff;
        color: #3730a3;
    }

    .tag-pais.chile {
        background-color: #fff5f5;
        color: #9b2c2c;
    }

    .tag-pais.espana {
        background-color: #fffaf0;
        color: #9c4221;
    }

    .tag-pais.colombia {
        background-color: #f0fff4;
        color: #22543d;
    }

    .tag-pais.guatemala {
        background-color: #e6fffa;
        color: #00a3c4;
    }

    .tag-pais.peru {
        background-color: #fff5f5;
        color: #9b2c2c;
    }

    .tag-pais.honduras {
        background-color: #ebf8ff;
        color: #2b6cb0;
    }

    .tag-pais.portugal {
        background-color: #f7fafc;
        color: #4a5568;
    }

    .tag-pais.argentina {
        background-color: #ebf8ff;
        color: #2c5282;
    }

    .tag-pais.brasil {
        background-color: #f0fff4;
        color: #234e52;
    }