body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #f8f9fc; /* Warna latar belakang yang lembut */
    color: #333;
    line-height: 1.6;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #3a6ea5; /* Biru lembut */
    color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.logo span {
    font-size: 1.5rem;
    font-weight: bold;
}

.menu a {
    text-decoration: none;
    color: white;
    font-size: 1rem;
}

.login {
    background-color: white;
    color: #3a6ea5;
    padding: 7px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s, color 0.3s;
    margin-right: 35px;
}

.login:hover {
    background-color: #2c4f7c; /* Biru gelap */
    color: white;
}

.banner {
    margin-top: 60px;
    width: 100%;
    height: auto; /* Sesuaikan tinggi dengan konten */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.banner img {
    width: 100%;
    height: auto; /* Menjaga proporsi gambar */
    object-fit: cover;
    object-position: center;
}

.banner_lembaga {
    width: 100%;
    height: auto; /* Sesuaikan tinggi dengan konten */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.banner_lembaga img {
    width: 100%;
    height: auto; /* Sesuaikan tinggi khusus untuk banner di dalam section */
    object-fit: cover;
    border-radius: 8px 8px 0 0; /* Menambahkan radius hanya pada bagian atas */
}

.marquee-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: #eef3f7; /* Warna latar belakang lembut */
    padding: 20px 0;
}
.marquee {
    display: inline-block;
    white-space: nowrap;
    animation: marquee 15s linear infinite, fadeIn 2s ease-in;
    font-size: 1.4rem;
    color: #3a6ea5; /* Warna biru lembut */
    font-weight: bold;
}
@keyframes marquee {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

.content {
    padding: 10px;
    text-align: center;
    background: linear-gradient(135deg, #f7fafc, #d8e9f0); /* Gradasi lembut */
}

.content .ppdb-info {
    margin: 10px 0;
    font-size: 1.2rem;
}

.ppdb-info a {
    color: #3a6ea5;
    text-decoration: none;
    font-weight: bold;
}

.sections {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px; /* Jarak antar section lebih kecil */
    padding: 10px;
}

.info-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 15px;
    margin: 10px auto;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 800px;
}

.ppdb-info, .rekening-info {
    flex: 1;
    padding: 10px;
    text-align: center;
    min-width: 250px;
}

.rekening-info {
    border-left: 3px solid #3a6ea5;
}

.download-btn {
    background: #3a6ea5;
    color: white;
    padding: 8px 12px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}

.download-btn:hover {
    background: #2c4f7c;
}

/* Responsif untuk layar kecil */
@media (max-width: 600px) {
    .info-container {
        flex-direction: column;
        text-align: center;
    }
    .rekening-info {
        border-left: none;
        border-top: 3px solid #3a6ea5;
        margin-top: 10px;
    }
}


.section {
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    background-color: #fff; /* Warna latar belakang untuk teks */
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, box-shadow 0.3s;
}

.section:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.banner img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
}

.content {
    padding: 5px 10px; /* Padding teks lebih kecil */
    text-align: center;
}

.content h2 {
    font-size: 1.4rem; /* Ukuran font lebih kecil */
    margin: 5px 0; /* Mengurangi margin atas dan bawah */
    color: #333;
}

.content p {
    font-size: 1rem;
    margin: 0; /* Menghilangkan margin default */
    margin-bottom: 5px;
    color: #555;
}

.icon-check {
    color: #28a745;
}

@media (max-width: 480px) {
    .content h2 {
        font-size: 1rem; /* Ukuran font lebih kecil untuk layar sangat kecil */
        margin: 3px 0;
    }

    .content p {
        font-size: 0.8rem; /* Ukuran font lebih kecil */
        margin-bottom: 3px;
    }
    
    .marquee{
        font-size: 0.8rem;
    }
}

@media (min-width: 768px) {
    .sections {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .marquee{
        font-size: 1rem;
    }
    
    .content h2 {
        font-size: 1.2rem; /* Ukuran font lebih kecil untuk layar kecil */
        margin: 4px 0;
    }

    .content p {
        font-size: 0.9rem; /* Ukuran font lebih kecil */
        margin-bottom: 4px;
    }
}

@media (min-width: 1024px) {
    .sections {
        grid-template-columns: repeat(3, 1fr);
    }
}
