@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;600;700;800&display=swap');

/* 
   ICMEM 2025 Custom Web Font Style 
   Outfit for Headings & Navigations, Inter for Body Text
*/

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
    font-size: 15px;
    line-height: 1.6;
    color: #333333;
}

/* Headings Override */
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;
}

/* Specific elements using Oswald/Raleway in template */
.lgx-nav,
.navbar-nav,
.navbar-nav li a,
.btn,
.lgx-btn,
.lgx-banner-info .title,
.lgx-banner-info .subtitle,
.lgx-about-area .lgx-about-title,
.lgx-section-heading .title,
.lgx-section-heading .subtitle,
.lgx-single-speaker .speaker-info .title,
.lgx-single-speaker .speaker-info .designation {
    font-family: 'Outfit', sans-serif !important;
}

/* Body / paragraphs / lists readability */
p,
li,
span,
a:not(.btn):not(.lgx-btn) {
    font-family: 'Inter', sans-serif;
}


/* =============================================================
   ICMEM 2026 – Homepage Component Styles (home_2026.php)
   ============================================================= */

/* ---- Hero Banner ---- */
#hero-2026 {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://www.sbm.itb.ac.id/wp-content/themes/sbmitb2021/images/sbm-08-07.jpg') top center no-repeat fixed;
    background-size: 100% 100%;
    position: relative;
    min-height: 100vh;
    /* background: linear-gradient(135deg, #001a3a 0%, #003366 50%, #005aab 100%); */
    display: flex;
    align-items: center;
    overflow: hidden;
}

#hero-2026::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('/img/hero-2026-bg.png') center center no-repeat;
    background-size: cover;
    opacity: 0.25;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 140px 20px 100px;
    width: 100%;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    padding: 7px 20px;
    border-radius: 50px;
    margin-bottom: 24px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.hero-edition {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(13px, 2vw, 16px);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.hero-title {
    font-family: 'Outfit', sans-serif !important;
    font-size: clamp(28px, 5vw, 56px) !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    line-height: 1.15 !important;
    margin-bottom: 16px !important;
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.02em !important;
}

.hero-title span {
    color: #FFD700 !important;
}

.hero-theme {
    font-family: 'Inter', sans-serif;
    font-size: clamp(15px, 2.5vw, 22px);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    font-style: italic;
    margin-bottom: 30px;
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}

.hero-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-meta-item {
    display: flex;
    align-items: center;
    gap: 9px;
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
}

.hero-meta-item i {
    color: #FFD700;
    font-size: 18px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-hero-primary {
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 700;
    padding: 14px 36px;
    border-radius: 50px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #001a3a;
    border: none;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 165, 0, 0.4);
    display: inline-block;
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 35px rgba(255, 165, 0, 0.55);
    color: #001a3a;
    text-decoration: none;
}

.btn-hero-outline {
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 600;
    padding: 13px 34px;
    border-radius: 50px;
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.6);
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-hero-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
    color: #fff;
    text-decoration: none;
    transform: translateY(-3px);
}

/* ---- Stats Bar ---- */
#stats-bar {
    background: #fff;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    padding: 0;
    position: relative;
    z-index: 10;
}

.stats-inner {
    display: flex;
    justify-content: space-around;
    align-items: stretch;
    flex-wrap: wrap;
}

.stat-item {
    flex: 1;
    min-width: 150px;
    text-align: center;
    padding: 28px 20px;
    border-right: 1px solid #f0f0f0;
    transition: background 0.3s;
}

.stat-item:last-child {
    border-right: none;
}

.stat-item:hover {
    background: #f8fbff;
}

.stat-num {
    font-family: 'Outfit', sans-serif;
    font-size: 36px;
    font-weight: 800;
    color: #003366;
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* ---- Section Generic ---- */
.section-2026 {
    padding: 90px 0;
}

.section-2026-dark {
    background: #001a3a;
}

.section-2026-light {
    background: #f5f7fa;
}

.section-2026-white {
    background: #fff;
}

.section-title-2026 {
    font-family: 'Outfit', sans-serif !important;
    font-size: clamp(26px, 4vw, 38px) !important;
    font-weight: 800 !important;
    color: #001a3a;
    margin-bottom: 8px;
    line-height: 1.2;
}

.section-title-2026.white {
    color: #fff;
}

.section-subtitle-2026 {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #777;
    margin-bottom: 50px;
}

.section-subtitle-2026.white {
    color: rgba(255, 255, 255, 0.65);
}

.accent-line {
    width: 50px;
    height: 4px;
    background: linear-gradient(90deg, #005aab, #FFD700);
    border-radius: 2px;
    margin: 12px auto 20px;
}

.accent-line.left {
    margin-left: 0;
}

/* ---- About / Welcome Tabs ---- */
.about-tabs-2026 {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.abtab-btn {
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 50px;
    border: 2px solid #dde5f0;
    background: transparent;
    color: #003366;
    cursor: pointer;
    transition: all 0.25s;
    letter-spacing: 0.4px;
}

.abtab-btn.active,
.abtab-btn:hover {
    background: #003366;
    border-color: #003366;
    color: #fff;
}

.abtab-pane {
    display: none;
    animation: fadeInUp 0.35s ease;
}

.abtab-pane.active {
    display: block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.welcome-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 6px 30px rgba(0, 51, 102, 0.08);
    padding: 40px;
    border-left: 5px solid #003366;
}

.welcome-card p {
    font-family: 'Inter', sans-serif;
    color: #444;
    line-height: 1.8;
    text-align: justify;
    margin-bottom: 14px;
}

.welcome-card .sig-name {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 17px;
    color: #003366;
    margin-top: 28px;
    margin-bottom: 4px;
}

.welcome-card .sig-role {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #777;
    line-height: 1.5;
}

.dates-table {
    width: 100%;
}

.dates-table tr {
    border-bottom: 1px solid #eef2f8;
}

.dates-table tr:last-child {
    border-bottom: none;
}

.dates-table td {
    padding: 14px 8px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #444;
    vertical-align: top;
}

.dates-table td:first-child {
    font-weight: 600;
    color: #003366;
    padding-right: 20px;
}

.stream-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.stream-list>li {
    padding: 12px 18px;
    margin-bottom: 6px;
    border-radius: 10px;
    background: #f0f5ff;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #003366;
}

.stream-children {
    list-style: none;
    padding: 8px 0 4px 16px;
    margin: 0;
}

.stream-children li {
    padding: 6px 10px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: #555;
    display: flex;
    align-items: center;
    gap: 8px;
}

.stream-children li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #005aab;
    display: inline-block;
    flex-shrink: 0;
}

.journal-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.journal-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    border-radius: 10px;
    background: #f8faff;
    border: 1px solid #e8eef8;
    margin-bottom: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #333;
}

.journal-list li strong {
    color: #003366;
    font-weight: 600;
}

.journal-list li a {
    color: #005aab;
}

/* ---- Speakers ---- */
.speaker-card-2026 {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    height: 100%;
}

.speaker-card-2026:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 51, 102, 0.15);
}

.speaker-img-wrap {
    position: relative;
    overflow: hidden;
    padding-top: 100%;
}

.speaker-img-wrap img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.speaker-card-2026:hover .speaker-img-wrap img {
    transform: scale(1.06);
}

.speaker-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 26, 58, 0.8) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    align-items: flex-end;
    padding: 16px;
}

.speaker-card-2026:hover .speaker-overlay {
    opacity: 1;
}

.speaker-socials a {
    color: #FFD700;
    font-size: 16px;
    margin-right: 10px;
}

.speaker-body {
    padding: 18px 20px 22px;
}

.speaker-name-2026 {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #001a3a;
    margin-bottom: 4px;
}

.speaker-pos-2026 {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #777;
    line-height: 1.5;
}

/* ---- Resources / Proceedings ---- */
.resource-row {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.resource-col {
    flex: 1;
    min-width: 280px;
}

.resource-title {
    font-family: 'Outfit', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #001a3a;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.resource-title i {
    color: #005aab;
}

.resource-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.resource-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 13px 16px;
    border-radius: 10px;
    background: #f5f7fa;
    border: 1px solid #e8eef8;
    margin-bottom: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #444;
    transition: background 0.2s;
}

.resource-list li:hover {
    background: #eaf0ff;
}

.resource-list li a {
    color: #005aab;
    font-size: 16px;
}

/* ---- Sponsors ---- */
.sponsor-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.sponsor-item {
    background: #fff;
    border-radius: 12px;
    padding: 18px 28px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #eee;
    transition: all 0.25s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sponsor-item:hover {
    box-shadow: 0 8px 25px rgba(0, 51, 102, 0.12);
    transform: translateY(-3px);
}

.sponsor-item img {
    max-height: 60px;
    max-width: 150px;
    object-fit: contain;
    filter: grayscale(30%);
    transition: filter 0.25s;
}

.sponsor-item:hover img {
    filter: grayscale(0%);
}

/* ---- Venue – Jakarta ---- */
#venue-2026 {
    background: url('https://upload.wikimedia.org/wikipedia/commons/thumb/a/ab/Jakarta_Skyline_20131005.jpg/1280px-Jakarta_Skyline_20131005.jpg') center center no-repeat;
    background-size: cover;
    position: relative;
}

#venue-2026::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 26, 58, 0.88) 0%, rgba(0, 51, 102, 0.7) 100%);
}

.venue-inner {
    position: relative;
    z-index: 2;
}

.venue-inner p {
    font-family: 'Inter', sans-serif;
    color: rgba(255, 255, 255, 0.88);
    font-size: 16px;
    line-height: 1.8;
    text-align: justify;
    margin-bottom: 16px;
}

.venue-feature {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 16px;
}

.venue-feature i {
    color: #FFD700;
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 3px;
}

.venue-feature p {
    margin: 0 !important;
}

/* ---- FAQ ---- */
.faq-item {
    border-radius: 12px;
    border: 1px solid #e8eef8;
    margin-bottom: 10px;
    overflow: hidden;
}

.faq-question {
    padding: 18px 22px;
    background: #fff;
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #003366;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s;
}

.faq-question:hover {
    background: #f0f5ff;
}

.faq-question i {
    transition: transform 0.3s;
    color: #005aab;
}

.faq-item.open .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding: 18px 22px;
    background: #fafbff;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #555;
    line-height: 1.75;
    border-top: 1px solid #eef2f8;
}

.faq-item.open .faq-answer {
    display: block;
}

/* ---- Countdown ---- */
.countdown-wrap {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.countdown-item {
    text-align: center;
}

.countdown-num {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(40px, 8vw, 72px);
    font-weight: 800;
    color: #FFD700;
    line-height: 1;
    display: block;
}

.countdown-lbl {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-top: 6px;
}

.countdown-sep {
    font-family: 'Outfit', sans-serif;
    font-size: 60px;
    color: rgba(255, 255, 255, 0.3);
    line-height: 1;
    align-self: flex-start;
    padding-top: 4px;
}

/* ---- Utilities ---- */
.text-gold {
    color: #FFD700;
}

.text-navy {
    color: #003366;
}

@media (max-width: 767px) {
    .stat-item {
        min-width: 50%;
    }

    .resource-row {
        flex-direction: column;
    }

    .welcome-card {
        padding: 24px 20px;
    }

    #hero-2026 {
        min-height: 85vh;
    }

    .hero-content {
        padding: 100px 20px 80px;
    }
}
/* ---- Speaker Modal – fix text readability on dark modal background ---- */

/* Override tema lgx-modal yang set background: #1b273d pada .modal-body */
#def-modal.lgx-modal .modal-dialog .modal-content .modal-body,
#def-modal .modal-body {
    background: #ffffff !important;
    width: 100% !important;
    color: #333333 !important;
}

#def-modal .modal-header {
    background: #f8faff !important;
    border-bottom: 2px solid #003366 !important;
    padding: 18px 24px 16px !important;
}

#def-modal .modal-footer {
    background: #f8faff !important;
    border-top: 1px solid #e8eef8 !important;
}

/* Judul modal */
#def-modal .modal-title,
#def-modal .modal-header h4 {
    color: #003366 !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 18px !important;
    font-weight: 700 !important;
}

#def-modal .modal-header small {
    display: block !important;
    font-size: 13px !important;
    color: #666 !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 400 !important;
    margin-top: 4px !important;
}

/* Semua teks dalam modal body */
#def-modal .modal-body *,
#def-modal .modal-body p,
#def-modal .modal-body li,
#def-modal .modal-body span,
#def-modal .modal-body div,
#def-modal .modal-body h1,
#def-modal .modal-body h2,
#def-modal .modal-body h3,
#def-modal .modal-body h4 {
    color: #333333 !important;
    font-family: 'Inter', sans-serif;
}

#def-modal .modal-body strong,
#def-modal .modal-body b {
    color: #001a3a !important;
}

/* Tombol close */
#def-modal .close {
    color: #003366 !important;
    opacity: 0.7 !important;
    font-size: 24px !important;
    text-shadow: none !important;
}

#def-modal .close:hover {
    opacity: 1 !important;
    color: #001a3a !important;
}

/* Tombol footer */
#def-modal .btn-primary {
    background: #003366 !important;
    border-color: #003366 !important;
    color: #fff !important;
}

#def-modal .btn-primary:hover {
    background: #001a3a !important;
    border-color: #001a3a !important;
}

/* ==========================================
   CHAIR PROFILE CARD STYLES
   ========================================== */
.chair-profile-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.chair-profile-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.chair-avatar {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.chair-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.chair-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.chair-name {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #003366;
    display: flex;
    align-items: center;
    gap: 8px;
}

.chair-name .profile-link {
    font-size: 14px;
    color: #005aab;
    transition: color 0.2s ease;
}

.chair-name .profile-link:hover {
    color: #FFD700;
}

.chair-title {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #475569;
    font-weight: 500;
    line-height: 1.4;
}

@media (max-width: 576px) {
    .chair-profile-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding: 16px;
    }
    
    .chair-avatar {
        width: 70px;
        height: 70px;
    }
}
