/* Reset & base */
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}
*, *::before, *::after {
    box-sizing: border-box;
}
body {
    font-family: 'Poppins', sans-serif;
    background: #f5f0ff;
    color: #3c1361;
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header with logo and title */
header {
    background: linear-gradient(135deg, #7f528f, #b68bbe);
    color: white;
    padding: 1rem 1.5rem;
    box-shadow: 0 4px 8px rgb(127 82 143 / 0.3);
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}
header img.logo {
    height: 70px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
}
header h1 {
    font-weight: 700;
    font-size: clamp(1.6rem, 5vw, 2.4rem);
    letter-spacing: 0.05em;
    margin: 0;
    flex-grow: 1;
    text-align: center;
    min-width: 0;
}

main {
    flex-grow: 1;
    max-width: 1200px;
    margin: 2rem auto 3rem;
    padding: 0 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.back-button {
    position: fixed;
    bottom: 20px; /* Jarak dari bawah */
    left: 20px; /* Jarak dari kiri */
    z-index: 1000; /* Pastikan tombol di atas konten lainnya */
}

.btn-back {
    text-decoration: none;
    color: #fff;
    background-color: #543572;
    padding: 10px 15px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 5px;
    font-style: Times;
    transition: background-color 0.3s;
    min-width: 160px;
}

.btn-back:hover {
    background-color: #432a5a;
}

.arrow-icon {
    width: 30px;
    height: auto;
}

@media (min-width: 700px) {
    .content-wrapper {
        flex-direction: row;
    }
    .left-col, .right-col {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 3rem;
    }
    .middle-col {
        flex: 1.5;
    }
}

@media (min-width: 1025px) {
    main {
        margin: 2.5rem auto 4rem;
        padding: 0 2rem;
    }
    .content-wrapper {
        gap: 4rem;
        align-items: flex-start;
    }
    .left-col, .right-col, .middle-col {
        max-width: 360px;
        min-width: 280px;
    }
}

#intro {
    background: white;
    padding: 2rem 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 6px 20px rgb(160 88 252 / 0.1);
    color: #4a2c8c;
    font-size: 1rem;
    line-height: 1.7;
    user-select: text;
}
#intro p + p {
    margin-top: 1rem;
}

#creators {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.creator-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 6px 20px rgb(160 88 252 / 0.15);
    padding: 1rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: box-shadow 0.3s ease;
    user-select: none;
}
.creator-card:focus,
.creator-card:hover {
    box-shadow: 0 9px 28px rgb(127 82 143 / 0.5);
    outline: none;
}

.creator-image {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 14px rgb(131 90 255 / 0.6);
    margin-bottom: 1rem;
    border: 4px solid #b68bbe;
    transition: transform 0.3s ease;
}
.creator-card:hover .creator-image {
    transform: scale(1.05);
}

.creator-name {
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #7f528f;
    text-align: center;
}

.creator-info {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.5s ease;
    opacity: 0;
    color: #6D549F;
    text-align: center;
    font-size: 0.95rem;
    line-height: 1.5;
}
.creator-info.show {
    max-height: 350px;
    opacity: 1;
    margin-top: 1rem;
}
.creator-info p {
    margin: 0.4rem 0;
}
.info-label {
    font-weight: 600;
    color: #9c77af;
}

#org-logos {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}
#org-logos h2 {
    font-size: 1.6rem;
    color: #7f528f;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}

.logos-row {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}
@media (max-width: 700px) {
    .logos-row {
        justify-content: center;
        gap: 1.5rem;
    }
}
.org-logo {
    width: 120px;
    height: 120px;
    border-radius: 1rem;
    background: transparent;
    box-shadow: none;
    object-fit: contain;
    transition: transform 0.3s ease;
    cursor: default;
}
.org-logo:hover {
    transform: scale(1.1);
}

footer {
    padding: 1.5rem 2rem;
    background: #7f528f;
    text-align: center;
    box-shadow: 0 -4px 8px rgb(127 82 143 / 0.3);
}

button.return-btn {
    background: white;
    border: none;
    padding: 0.85rem 3rem;
    border-radius: 2rem;
    font-weight: 700;
    font-size: 1.1rem;
    color: #7f528f;
    box-shadow: 0 8px 28px rgb(255 255 255 / 0.7);
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
    user-select: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
button.return-btn:hover,
button.return-btn:focus {
    background-color: #a376b7;
    color: white;
    outline: none;
    box-shadow: 0 10px 32px rgb(176 141 255 / 0.9);
}

@media (max-width: 1024px) {
    main {
        max-width: 90vw;
    }
}

@media (max-width: 700px) {
    .content-wrapper {
        flex-direction: column;
        gap: 3rem;
    }
    .left-col, .middle-col, .right-col {
        max-width: 100%;
        min-width: auto;
    }
    .creator-image {
        width: 120px;
        height: 120px;
        border-color: #b68bbe;
    }
    .creator-name {
        font-size: 1.1rem;
        color: #7f528f;
    }
    #intro {
        font-size: 1rem;
        padding: 1.5rem 1.5rem;
    }
    #intro h2 {
        font-size: 1.4rem;
        color: #7f528f;
    }
    .org-logo {
        width: 100px;
        height: 100px;
    }
    footer {
        padding: 1rem 1rem;
        background: #7f528f;
    }
    button.return-btn {
        width: 100%;
        padding: 1rem 0;
        font-size: 1.1rem;
        color: #7f528f;
    }
}
