
:root {
    --navy-primary: #051b35;
    --navy-secondary: #0f2b50;
    /* --yellow-accent: #fbbf24;
    --yellow-hover: #f59e0b; */
    --light-bg: #f8fafc;
    --text-dark: #1e293b;
    --color-navy: #0A192F;
    --color-navy-light: #112240;
    --color-navy-lighter: #233554;
    --yellow-accent: #FFD700;
    --yellow-hover: #FACC15;
}

body {
    font-family: 'Poppins', sans-serif; 
    color: var(--text-dark);
    background-color: var(--light-bg);
    overflow-x: hidden;
    font-weight: 400;
}

h1, h2, .navbar-brand {
    font-family: 'Playfair Display', serif;
    color: var(--navy-primary);
}

h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--navy-primary);
}

.navbar-modern {
    background-color: rgba(5, 27, 53, 0.4);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 700;
    color: white !important;
    font-size: 1.6rem;
    letter-spacing: 0.5px;
}

.nav-link {
    color: rgba(255,255,255,0.8) !important;
    font-weight: 500; /* Poppins Medium */
    font-size: 0.95rem;
    margin: 0 10px;
    transition: color 0.3s;
}

.nav-link:hover, .nav-link.active {
    color: var(--yellow-accent) !important;
}

.btn-register-nav {
    background-color: var(--yellow-accent);
    color: var(--navy-primary);
    font-weight: 600;
    border-radius: 50px;
    padding: 10px 28px;
    transition: transform 0.2s;
    font-family: 'Poppins', sans-serif;
}

.btn-register-nav:hover {
    background-color: var(--yellow-hover);
    transform: translateY(-2px);
    color: var(--navy-primary);
}

/* --- Hero Section with Rare Earth Theme --- */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--navy-primary);
    background-image: linear-gradient(135deg, rgba(5, 27, 53, 0.7) 0%, rgba(5, 27, 53, 0.5) 100%), 
                        url('/images/BG (1).jpg'); 
    background-size: cover;
    background-position: center;
    color: white;
    padding-top: 80px;
}

.hero-pattern {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0l25.98 15v30L30 60 4.02 45V15z' fill-opacity='0.05' fill='%23fbbf24' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.3;
    pointer-events: none;
}

.hero-badge {
    background: rgba(251, 191, 36, 0.15);
    border: 1px solid var(--yellow-accent);
    color: var(--yellow-accent);
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 1.5rem;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.lead {
    font-weight: 300; /* Poppins Light */
    line-height: 1.8;
}

/* --- Buttons --- */
.btn-primary-modern {
    background-color: var(--yellow-accent);
    color: var(--navy-primary);
    font-weight: 600;
    padding: 14px 36px;
    border-radius: 8px;
    border: none;
    transition: all 0.3s;
    font-family: 'Poppins', sans-serif;
}

.btn-primary-modern:hover {
    background-color: var(--yellow-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(251, 191, 36, 0.3);
    color: var(--navy-primary);
}

.btn-outline-modern {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.4);
    color: white;
    padding: 14px 36px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s;
    font-family: 'Poppins', sans-serif;
}

.btn-outline-modern:hover {
    border-color: var(--yellow-accent);
    color: var(--yellow-accent);
    background: rgba(255,255,255,0.05);
}

/* --- Section Styling --- */
.section-padding {
    padding: 6rem 0;
}

.section-header {
    margin-bottom: 4rem;
    text-align: center;
}

.section-header h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.section-header .divider {
    height: 4px;
    width: 70px;
    background-color: var(--yellow-accent);
    margin: 0 auto;
    border-radius: 2px;
}

/* --- Scope Cards --- */
.scope-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    border: 1px solid #f1f5f9;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.scope-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--navy-primary);
    transition: 0.3s;
}

.scope-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(5, 27, 53, 0.08);
    border-color: white;
}

.scope-card:hover::before {
    background: var(--yellow-accent);
}

.scope-icon {
    width: 64px;
    height: 64px;
    background-color: rgba(5, 27, 53, 0.03);
    color: var(--navy-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    border-radius: 16px; 
    margin-bottom: 1.5rem;
    transition: 0.3s;
}

.scope-card:hover .scope-icon {
    background-color: var(--navy-primary);
    color: var(--yellow-accent);
}

/* --- SPEAKERS SECTION --- */
.keynote-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(5, 27, 53, 0.08);
    border: 1px solid rgba(255,255,255,0.5);
    transition: transform 0.3s;
}

.keynote-card:hover {
    transform: translateY(-5px);
}

.keynote-badge {
    background-color: var(--navy-primary);
    color: var(--yellow-accent);
    padding: 8px 24px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    display: inline-block;
    margin-bottom: 1.2rem;
    border-radius: 50px;
}

.keynote-img-container {
    height: 100%;
    min-height: 400px;
    position: relative;
    overflow: hidden;
}

.keynote-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Invited Speaker Card */

.invited-card {
    background: white;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
}

.invited-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.invited-img-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 15px auto;
}

.invited-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.speaker-name {
    color: var(--navy-primary);
    font-weight: 700; /* Poppins Bold */
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

.speaker-aff {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    font-weight: 400;
}

.speaker-topic {
    color: var(--yellow-hover);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Dates Timeline --- */
.date-box {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid #eee;
    position: relative;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

.date-box:hover {
    border-color: var(--yellow-accent);
    transform: translateY(-5px);
}

.date-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--navy-primary);
    line-height: 1;
    font-family: 'Playfair Display', serif;
    margin-bottom: 0.5rem;
}

.date-month {
    font-weight: 700;
    color: var(--yellow-hover);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1rem;
    margin-bottom: -0.5rem;
}

/* --- Footer --- */
footer {
    background-color: var(--navy-primary);
    color: rgba(255,255,255,0.7);
    padding: 5rem 0 3rem;
    position: relative;
}

footer h3 {
    color: white;
    font-family: 'Playfair Display', serif;
    margin-bottom: 1.5rem;
}

footer h5 {
    color: white;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

footer ul li {
    margin-bottom: 0.8rem;
}

.flag-indo {
    background: linear-gradient(to bottom, #FF0000 50%, #FFFFFF 50%);
    border: 1px solid #e2e8f0; /* Border halus agar warna putih terlihat di bg putih */
    display: inline-block;
}
.flag-sg {
    background-image: url('https://flagcdn.com/w80/sg.png');
    background-size: cover;
}
.flag-au {
    background-image: url('https://flagcdn.com/w80/au.png');
    background-size: cover;
}
.flag-my {
    background-image: url('https://flagcdn.com/w80/my.png');
    background-size: cover;
}
.flag-overlay {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 3px solid #ffffff; /* Border tebal agar terpisah dari foto */
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
    z-index: 2;
}

/* --- Timeline Styles (New) --- */
.timeline-box {
    position: relative;
    padding-left: 15px; /* Space for line */
}

/* Garis Vertikal */
.timeline-box::before {
    content: '';
    position: absolute;
    left: 16px; /* Posisi garis di tengah marker */
    top: 10px;
    bottom: 0;
    width: 2px;
    background-color: #e2e8f0;
}

.timeline-step {
    position: relative;
    margin-bottom: 40px;
    padding-left: 50px; /* Space teks dari marker */
}

.timeline-step:last-child { margin-bottom: 0; }

/* Lingkaran Angka */
.timeline-marker {
    position: absolute;
    left: 0;
    top: 0;
    width: 34px;
    height: 34px;
    background-color: var(--navy-primary);
    color: var(--yellow-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    border: 4px solid white;
    box-shadow: 0 0 0 2px #e2e8f0;
    z-index: 1;
    font-family: 'Poppins', sans-serif;
}

.timeline-step:hover .timeline-marker {
    background-color: var(--yellow-accent);
    color: var(--navy-primary);
    transform: scale(1.1);
    transition: 0.3s;
    box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.2);
}

.timeline-step h5 { margin-bottom: 5px; color: var(--navy-primary); font-weight: 600; }

@media (max-width: 1200px) {
    .col-xl-2-4 {
        width: auto !important;
        flex: 0 0 auto;
    }
}
