* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: #333;
    background: linear-gradient(135deg, #f6f8fc 60%, #8aa8ff 60%);
    background-size: 200% 200%;
}

/* 🔹 Background miring biru muda */
body::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: #e9eefc;
    clip-path: polygon(80% 0, 100% 0, 100% 100%, 0 100%);
    z-index: -1;
    /* 🔹 penting: taruh di belakang konten */
    animation: fadeSlide 1s ease-in-out;
}



@keyframes fadeSlide {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

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

/* 🔹 Container utama */
.container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 90%;
    max-width: 1200px;
    gap: 40px;
    padding: 60px 0;
    animation: fadeIn 1s ease;
    position: relative;
    /* 🔹 supaya di atas background */
    z-index: 1;
    /* 🔹 pastikan di depan */
}

.text-section {
    flex: 1;
    animation: fadeInUp 1s ease;
    text-align: right;
    /* 🔹 Judul rata kanan */
}

/* 🔹 Judul lebih rapat */
.text-section h1 {
    color: #415da1;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.15;
    /* 🔹 spasi antarbaris lebih rapat */
    letter-spacing: -0.5px;
    /* 🔹 huruf lebih rapat */
    margin-bottom: 15px;
    font-family: "Poppins", sans-serif;
}

/* 🔹 Paragraf juga sedikit lebih rapat */
.text-section p {
    font-size: 1.2rem;
    color: #444;
    line-height: 1.2;
    /* 🔹 spasi antarbaris lebih padat */
    letter-spacing: -0.2px;
    /* 🔹 huruf lebih rapat */
    margin-bottom: 25px;
    text-align: justify;
    max-width: 150%;
    margin-left: 10px;
    /* 🔹 biar tetap rata kanan */
    font-family: "Poppins", sans-serif;
}

.btn-login {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #2f3d69, #415da1);
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    float: left;
    box-shadow: 0 4px 10px rgba(65, 93, 161, 0.2);
}

.btn-login i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.btn-login:hover {
    background: linear-gradient(135deg, #1e2a52, #2f3d69);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(47, 61, 105, 0.3);
}

.btn-login:hover i {
    transform: rotate(-10deg) translateX(3px);
}


/* 🔹 Gambar */
.image-section {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    animation: fadeInRight 1.2s ease;
}

.image-section img {
    /* width: 100%; */
    /* max-width: 550px; */
    width: 700px;
    height: 450px;
    border-radius: 0;
    box-shadow: none;
    user-select: none;
}

/* 🔹 Animasi Fade */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

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

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

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

/* 🔹 Responsif untuk HP */
@media (max-width: 768px) {

    .container {
        flex-direction: column;
        text-align: center;
        gap: 25px;
        padding: 40px 20px;
    }

    .image-section {
        order: -1;
        /* gambar di atas */
        justify-content: center;
    }

    .text-section h1 {
        font-size: 2rem;
    }

    .text-section p {
        max-width: 100%;
        text-align: justify;
    }

    .image-section img {
        width: 450px;
        height: 300px;
    }

    /* 🔹 Tambahan untuk gambar SINERGI */
    .sinergi-logo {
        width: 150px;
        /* Ukuran menyesuaikan layar HP */
        height: 20px;
        /* Biar proporsional */
    }
}
