

/* ==========================================================================
   4. HERO SECTION (FULL EDGE-TO-EDGE)
   ========================================================================== */
.hero {
    position: relative;
    padding: 0 0 60px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.hero-inner {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
}

.hero-banner-container {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 65px;
}

.hero-banner-img {
    width: 100%;
    height: 650px;
    object-position: center;
    display: block;
    border-radius: 0;
}

.hero-actions {
    margin-top: -150px;
    margin-left: 4%;
    position: relative;
    z-index: 10;
}

/* ==========================================================================
   COLLABORATION SECTION
   ========================================================================== */
   .collaboration-section {
    width: 100%;
    /* 60px (atas), 20px (kanan), 0px (bawah - sebab section bawah dah ada jarak), 20px (kiri) */
    padding: 20px 20px 10px 20px; 
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
}

.collab-card {
    background: var(--white); /* Changed to solid white */
    border-radius: var(--radius-lg);
    padding: 36px 50px;
    text-align: center;
    max-width: 900px;
    width: 100%;
    box-shadow: var(--shadow); /* Matches the shadow of your other cards */
}

.collab-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
}

.collab-header i {
    font-size: 2.2rem;
    color: var(--text-dark); /* Changed icon to dark blue */
}

.collab-title {
    color: var(--text-dark); /* Changed text to dark blue */
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.collab-content {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 24px;
}

.collab-logo {
    width: 100%;
    max-width: 350px;
    height: 150px;
    justify-self: center;
    object-fit: contain;
    padding: 12px 18px;
    border: 1px solid rgba(15, 39, 71, 0.08);
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.collab-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15); /* Softened the hover shadow for a white card */
}

.collab-name {
    color: var(--text-dark); /* Changed text to dark blue */
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-top: 10px;
}

/* ==========================================================================
   6. COUNTDOWN & IMPORTANT DATES CONTAINER
   ========================================================================== */
.countdown-dates-container {
    max-width: 1400px;
    margin: 10px auto 0;
    padding: 0 0;
    display: flex;
    gap: 28px;
    align-items: stretch;
}

.countdown-section {
    flex: 1;
    min-width: 440px;
}

.important-dates-section {
    flex: 1.8;
}

.countdown-inner {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 36px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    height: 100%;
}

.countdown-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.countdown-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.countdown-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 85px;
    padding: 14px 10px;
    background: var(--light-bg);
    border-radius: var(--radius);
}

.countdown-number {
    font-size: 2.3rem;
    font-weight: 800;
    background: var(--gradient-header-btn);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 6px;
}

.countdown-label {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.countdown-colon {
    font-size: 2.3rem;
    font-weight: 800;
    color: var(--purple-accent);
    line-height: 1;
    padding-bottom: 20px;
}

.dates-inner {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding-top: 20px;
    padding: 40px 5px 5px 5px;
    height: 100%;
}

.dates-section-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-align: center;
}

/* ==========================================================================
   7. MAIN CONTENT (ABOUT & THEMES)
   ========================================================================== */
.main-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 55px 40px 24px;
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 28px;
    margin-bottom: 28px;
    align-items: stretch; /* Memaksa kotak kiri dan kanan sama tinggi */
}

.about-card {
    text-align: left;
}

.about-card p {
    max-width: 750px;
    margin: 0 0 15px auto; /* Changed from '0 auto 15px' */
    line-height: 1.6;
    
}

.themes-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.themes-header .section-title {
    margin-bottom: 0;
}

.theme-cards {
    display: grid;
    /* This creates 2 columns that won't stretch larger than 420px each */
    grid-template-columns: repeat(2, minmax(250px, 420px));
    justify-content: center; /* Centers the grid block inside its parent */
    gap: 24px;               /* Slightly increased gap for breathing room */
    margin: 0 auto;
}

.theme-card {
    display: flex;
    flex-direction: row; /* Fixes the issue! Puts the icon and text side-by-side */
    border: 1px solid #e2e8f0; /* Assuming you want the border back based on your previous designs */
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
}

.theme-accent {
    width: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.theme-accent i {
    font-size: 1.6rem;
    color: var(--white);
}

.theme-accent-blue { background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 100%); }
.theme-accent-purple { background: linear-gradient(180deg, #7c3aed 0%, #6d28d9 100%); }

.theme-body {
    padding: 20px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centers the content vertically */
    align-items: center;     /* Centers the content block horizontally */
}

.theme-body h3 {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: 0.05em;
    margin-bottom: 14px;
    line-height: 1.4;
    text-align: center; /* Added to center the title */
}

.theme-body ul {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-start; /* Keeps the bullets in a neat vertical line */
}

.theme-body p {
    font-size: 0.85rem;
    color: var(--text-dark);
    position: relative;
    line-height: 1.5;
    margin-bottom: 14px;
}

.theme-body li {
    font-size: 0.85rem;
    color: var(--text-dark);
    padding-left: 14px;
    position: relative;
    line-height: 1.5;
}

.theme-body li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--blue-accent);
    font-weight: 700;
}


.theme-card:last-child .theme-body li::before {
    color: var(--purple-accent);
}

.themes-card {
    display: flex;
    flex-direction: column;
    justify-content: center; 
    height: 100%;
}



/* ==========================================================================
   8. CONFERENCE FLOWCHART SECTION
   ========================================================================== */
.flowchart-section {
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 40px;
}

.flowchart-inner {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 40px;
    text-align: center;
}

.flowchart-main-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.flowchart-sub-text {
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 32px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.flowchart-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #ffffff;
    padding: 16px;
    border-radius: 16px;
    margin: 10px auto 0;
    box-sizing: border-box;
}

.flowchart-img {
    width: 100%;
    max-width: 1000px;
    height: auto;
    display: block;
    object-fit: contain;
    border: 1px solid #e2e8f0;
}

/* ==========================================================================
   9. MOBILE RESPONSIVENESS (Add to the bottom of index.css)
   ========================================================================== */

/* TABLET ADJUSTMENTS */
@media (max-width: 992px) {
    /* Scale down the massive 700px banner */
    .hero-banner-img {
        height: 450px;
        object-fit: cover;
    }
    /* Center the action button */
    .hero-actions {
        margin-top: -90px;
        margin-left: 0;
        display: flex;
        justify-content: center;
        width: 100%;
    }
}

/* ==========================================================================
   MOBILE "NO-ZOOM" FIX (Paste at the very bottom of index.css)
   ========================================================================== */

   @media (max-width: 768px) {
    /* 1. Stop containers from stretching wider than the phone screen */
    body, html {
        overflow-x: hidden; /* Prevents sideways scrolling */
    }

    .main-content, 
    .content-grid,
    .countdown-section {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }

    .main-content {
        padding-bottom: 20px;
    }

    /* 2. Force the About and Scopes sections to stack top-to-bottom */
    .content-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
    }

    /* 3. Make sure the banner scales down correctly without being tiny */
    .hero-banner-img {
        width: 100% !important;
        height: auto !important;
        max-height: 250px !important; /* Prevents it from being too tall */
        object-fit: contain !important;
    }
    
    .hero-actions {
        margin-top: -20px !important;
    }
    
    /* 4. Fix any other side-by-side elements */
    .theme-card,
    .countdown-dates-container {
        display: flex !important;
        flex-direction: column !important;
    }

    /* Di dalam @media (max-width: 768px) */
    .collaboration-section {
        padding: 20px 20px 5px 20px; 
    }
    
    .collab-card {
        padding: 30px 20px;
    }
    
    .collab-title {
        font-size: 1rem;
    }

    .collab-content {
        grid-template-columns: 1fr;
    }
    
    .collab-logo {
        max-width: 260px;
    }
}

/* SMALL MOBILE (E.G., OLDER IPHONES) */
@media (max-width: 480px) {
    .hero-banner-img {
        height: 220px;
    }
    .hero-actions {
        margin-top: -55px;
    }
    .theme-cards {
        grid-template-columns: 1fr; /* Forces 1 column on tiny screens */
    }
}

/* Add this inside your existing @media (max-width: 768px) */

