@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@media (max-width: 360px) {
    body {
        margin: 0;
        padding: 0;
        overflow-x: hidden;
    }
}

html {
    scroll-behavior: smooth;
}
        /* Header */
/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between; /* Logo di kiri, menu di kanan */
    align-items: center;
    padding: 15px 20px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.header.transparent {
    background-color: transparent;
    box-shadow: none;
}

.header.sticky {
    background-color: var(--warna-utama);
    color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Container Header */
.container-header {
    width: 90%;
    max-width: 1500px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between; /* Memastikan logo di kiri dan menu di kanan */
    align-items: center;
    background-color:rgba(255,255,255,0.8);
    border-radius:80px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding:5px;
}

.header.sticky .container-header {
    width: 90%;
    max-width: 1500px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between; /* Memastikan logo di kiri dan menu di kanan */
    align-items: center;
    background-color:white;
    border-radius:80px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding:5px;
}

/* Logo */
.logo {
    display: flex;
    justify-content: center; /* Pusatkan logo secara horizontal */
    align-items: center; /* Pusatkan logo secara vertikal */
}

.logo img {
    max-height: 100%; /* Sesuaikan tinggi gambar dengan area logo */
    max-width: 70px; /* Pastikan gambar tidak melampaui lebar area logo */
    object-fit: contain; /* Memastikan gambar tidak terpotong */
    margin-left:20px;
    padding:10px;
}

.logo p{
    font-size: 1.5rem;
    margin-top: 5px;
    font-weight: 900;
    font-style: italic;
}
/* Navigation Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

/* Dropdown Menu */
.nav-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-menu ul li {
    position: relative;
}

.nav-menu ul a {
    text-decoration: none;
    font-size: 1.1rem;
    color: var(--warna-aksen);
    padding: 10px 15px;
    font-weight:bold;
}

.nav-menu ul a:hover {
    color: var(--warna-aksen);
    text-shadow: 2px 2px 4px var(--warna-utama);
}

/* Dropdown Container */
.dropdown-content {
    display: block; /* Mengganti dari none ke block untuk memungkinkan animasi */
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--warna-utama);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    overflow: hidden;
    z-index: 10;
    opacity: 0; /* Mulai dengan transparansi */
    visibility: hidden; /* Menyembunyikan elemen */
    transform: translateY(-10px); /* Posisi awal lebih tinggi */
    transition: all 0.3s ease-in-out; /* Transisi untuk semua properti */
}

.header.transparent .dropdown-content a {
    color:white;
}

.header.sticky .dropdown-content a {
    color:white;
}

.dropdown-content a {
    display: block;
    padding: 10px 15px;
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    white-space: nowrap;
}

.dropdown-content a:hover {
    background-color: var(--warna-aksen);
}

.dropdown:hover .dropdown-content {
    opacity: 1; /* Tampilkan elemen */
    visibility: visible; /* Ubah visibilitas */
    transform: translateY(0); /* Kembali ke posisi semula */
}
/* Login Button */
.btn-login {
    margin-right:30px;
    padding: 8px 16px;
    border: 2px solid var(--warna-aksen);
    border-radius: 10px;
    background-color: transparent;
    font-weight: 600;
    color: var(--warna-aksen);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size:1.1rem;
}

.btn-login:hover {
    background-color: var(--warna-utama);
    border: 2px solid var(--warna-utama);
    box-shadow: var(--warna-aksen) 0px 5px 9px;
    color: white;
}



@media (max-width: 768px) {
    .nav-menu {
        display:none;
    }
    
    .logo{
        display:flex;
        justify-content:center;
        margin:0 auto;
    }
    
    .logo img {
        margin-left:-20px;
        max-width: 50px; /* Pastikan gambar tidak melampaui lebar area logo */
        object-fit: contain; /* Memastikan gambar tidak terpotong */
    }
    
    .logo p {
        display: block;
        font-size: 1.5rem;
        font-weight: bold;
        margin-top: 13px;
        margin-left: 10px;
    }
    
    .header{
        z-index:20;    
    }
    
    .container-header{
        justify-content:center;
        z-index:20;
        padding:0;
    }
    
    .header.sticky .container-header {
        justify-content:center;
        z-index:20;
        padding:0;
    }
}

@media (max-width: 768px) {
    .logo p {
        display: block;
        font-size: 1rem;
        font-weight: bold;
        margin-top: 3px;
        margin-left: 5px;
    }
}
            
.container {
    align-items: center;
    width: 80%;
    margin: auto;
    margin-top: 150px;
}
        
.info-section {
    width: 40%;
    color: #333;
    margin-top: 10px;
}
    
.info-section h1 {
    font-size: 40px;
    font-weight: black;
    text-align: left;
    margin-top: 20px;
}
        
.info-section h3 {
    font-size: 16px;
    text-align: left;
    font-weight: normal;
}
    
.form-section {
    margin-top: 20px;
    padding: 10px;
    width: 60%;
    margin: 0 auto;
}
        
.form-section h2 {
    font-size: 24px;
    margin-bottom: 15px;
    text-align: center;
}
        
form {
    display: flex;
    flex-direction: column;
}
        
form a {
    font-size:0.7rem;
    text-decoration:none;
    font-style:italic;
    color:black;
    margin-bottom:10px;
}
        
input[type="text"],
input[type="email"],
input[type="password"] {
    padding: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    transition: all 0.3s ease;
}

input[type="text"]:focus,
input[type="date"]:focus,
input[type="password"]:focus {
    border-color: var(--warna-aksen);
    box-shadow: 0 0 5px var(--warna-aksen);
    outline: none;
}
        
input::placeholder {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: grey; /* Warna abu-abu untuk placeholder */
}
        
select {
    padding: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    transition: all 0.3s ease;
}
        
select:focus {
    border-color: var(--warna-aksen);
    box-shadow: 0 0 5px var(--warna-aksen);
    outline: none;
}
        
select::placeholder {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: grey; /* Warna abu-abu untuk placeholder */
}
        
button {
    background-color: var(--warna-utama);
    color: white;
    padding: 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}
        
button:hover {
    background-color: var(--warna-aksen);
}
        
.h2 {
    font-size:15px;
    text-align:center;
}
        
.video {
    display:block;
    justify-content:center;
    text-align:center;
    color:white;
}

.p {
    font-size:10px;
    text-align:center;
}

.mobile-info-section{
    display: none;    
}
        
/* Media query untuk layar tablet */
@media (max-width: 992px) {
    header {
        display: flex;
        justify-content:space-between;
        padding: 10px 20px;
    }

    header .login-desktop {
        display: none;
    }
    
    .container {
        flex-direction: column;
        align-items: center;
    }

    .info-section {
        max-width: 100%;
        text-align: center;
    }
    
    .form-section {
        width: 50%;
        margin-top: 20px;
    }
    
    .info-section h1 {
        font-size: 36px;
    }
}
    
@media (max-width: 768px) {
    .container {
        width: 90%;
        margin-top: 120px;
        display: flex;
    }
    .info-section {
        width:100%;
        display:block;
    }
    .form-section {
        width: 100%;
        margin: 0 auto;
        margin-top:-20px;
    }
    
    .info-section h1, h4{
        display: none;
    }
    
    .mobile-info-section{
        display: block;    
    }
    
    .mobile-info-section h1{
        font-size: 1.5rem;
        text-align: center;
    }
    .mobile-info-section h5{
        font-size: 0.8rem;
        text-align: center;
        font-weight: normal;
        margin-bottom: -40px;
    }
} 
.password-container {
    position: relative;
    display: flex;
    align-items: center;
}
    
.password-container input {
    flex: 1;
    padding-right: 40px; /* Beri ruang untuk ikon */
    font-family: 'Poppins', sans-serif;
}
    
.password-container .toggle-password {
    position: absolute;
    right: 10px;
    font-size: 18px;
    color: grey;
    cursor: pointer;
    margin-bottom:15px;
}
    
.password-container .toggle-password:hover {
    color: var(--warna-aksen);
}
    
    
/* Styling untuk Section Kontak */
.kontak {
    padding:20px;
    background-color: var(--warna-aksen);
}

.kontak h2{
    font-size:2rem;
    color:white;
    text-align:center;
}

.kontak-container {
    display: flex;
    width:80%;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 40px 20px;
    margin:0 auto;
    gap: 20px;
}

.logo-bawah{
    padding:20px;
    margin:0;
    justify-content:center;
    align-items:center;
}

.logo-bawah img {
    width:250px;
    height:auto;
    padding:10px;
    background-color:white;
    align-items:center;
    border-radius:10px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* Bagian Kontak (Kiri) */
.kontak-left {
    flex: 1;
    padding: 20px;
    text-align:left;
}

.kontak-left h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: white;
}

.kontak-left p {
    font-size: 0.9rem;
    color: white;
    line-height: 1.5;
    margin-bottom: 10px;
}

/* Bagian Link Terkait (Tengah) */
.kontak-center {
    flex: 1;
    padding: 20px;
    text-align: left;
}

.kontak-center h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: white;
}

.kontak-center ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.kontak-center li {
    margin-bottom: 10px;
}

.kontak-center a {
    text-decoration: none;
    font-size: 0.9rem;
    color: white;
}

.kontak-center a:hover {
    text-decoration: underline;
}

/* Bagian Sosial Media (Kanan) */
.kontak-right {
    flex: 1;
    padding: 20px;
}

.kontak-right h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: white;
}

.social-media-icons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-media-item {
    font-size: 1rem;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-media-item i {
    font-size: 1.5rem;
    color: white;
}


.kontak-mobile {
    display:none;
    flex: 1;
    padding: 20px;
}

.kontak-mobile h3 {
    font-size: 1rem;
    margin-bottom: 15px;
    color: white;
}

.mobile-social-media-icons {
    display: flex;
    gap: 20px;
    margin:0 auto;
    justify-content:center;
}

.mobile-social-media-item i {
    font-size: 1.2rem;
    color: white;
}

/* Responsif untuk Mobile */
@media screen and (max-width: 768px) {
    .kontak-container {
        display:flex;
        flex-direction:column;
        justify-content:center;
        text-align:center;
        margin-top: -60px;
    }
    
    .logo-bawah{
        display:none;
    }
    
    .logo-bawah,
    .kontak-left {
        text-align:center;
        font-size:0.7rem;
    }
    
    .kontak-right,
    .kontak-center{
        display:none;
    }
    
    .kontak h2{
        font-size:1.2rem;
        color:white;
        text-align:center;
    }
    .kontak h3{
        display: none;
    }
    
    .kontak-mobile{
        display:block;
    }
}

@media screen and (max-width: 360px) {
    .kontak-container{
        
    }
    .kontak h2{
        font-size:1rem;
        color:white;
        text-align:center;
    }
    
    .kontak-left,
    .kontak-mobile{
        margin-left:-20px;
    }
}

.footer-container {
    background-color: #545454;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-container p {
    margin: 0;
    color: white;
    font-size: 0.9rem;
    font-style: italic;
    text-align: center;
}

/* Tombol WhatsApp */
#whatsapp-btn {
    position: fixed;
    bottom: 40px;
    right: 100px;
    width: 150px;
    height: 30px;
    background-color: var(--warna-utama); /* Hijau WhatsApp */
    color: white;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 0.9rem;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out; /* Tambahkan transisi */
}

#whatsapp-btn i{
    font-size:1.2rem;
}

/* Efek hover */
#whatsapp-btn:hover {
    background-color: var(--warna-aksen); /* Warna lebih gelap */
    transform: scale(1.1); /* Perbesar dan sedikit putar */
}

#whatsapp-btn:focus {
    outline: none;
    text-decoration: none;
}

@media (max-width: 768px) {
    #whatsapp-btn {
        top: 50%;
        transform:rotate(270deg);
        right: -60px;
    }
    #whatsapp-btn:hover {
        background-color: #1ebe57; /* Warna lebih gelap */
        transform: scale(1.1); /* Perbesar dan sedikit putar */
        transform:rotate(270deg);
    }
}

@media (max-width: 360px) {
    #whatsapp-btn {
        top: 50%;
        transform:rotate(270deg);
        right: -60px;
    }
    #whatsapp-btn:hover {
        background-color: #1ebe57; /* Warna lebih gelap */
        transform: scale(1.1); /* Perbesar dan sedikit putar */
        transform:rotate(270deg);
    }
}

.mobile-nav {
    display: none;
    position: fixed;
    bottom: 25px; /* Ditarik ke atas sebesar 20px dari bawah */
    left: 50%;
    transform: translateX(-50%); /* Agar tetap di tengah */
    width: 90%; /* Lebar 90% */
    background-color: #ffffff;
    border-radius: 20px; /* Sudut melengkung */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15); /* Bayangan lembut */
    z-index: 1000;
    padding: 10px 0; /* Ruang dalam */
}

.mobile-nav-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px 0;
    text-decoration:none;
}

.nav-item {
    text-align: center;
    flex-grow: 1;
    position: relative;
    transition: all 0.3s ease-in-out;
    text-decoration: none; /* Menghapus garis bawah pada link */
}

.nav-item a {
    color:var(--warna-utama);
    text-decoration: none; /* Pastikan tidak ada garis bawah */
}

.nav-item p {
    text-decoration: none; /* Tambahkan di sini untuk memastikan */
    font-size: 0.8rem;
    color: var(--warna-utama);
    margin: 0;
    transition: color 0.3s ease-in-out;
}

.mobile-nav .nav-item i {
    font-size:1rem;
    color: var(--warna-utama);
    transition: color 0.3s ease;
}

.mobile-nav .nav-item:hover img {
    filter: brightness(0) saturate(100%) invert(38%) sepia(74%) saturate(174%) hue-rotate(141deg) brightness(91%) contrast(97%);
}

/* Mobile Navigation Dropdown */
.mobile-nav .dropdown {
    position: relative;
    z-index: 1050; /* Pastikan dropdown di atas navbar dan elemen lain */
}

.mobile-nav .mobile-dropdown-menu {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: #ffffff;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    padding: 10px 0;
    z-index: 1100; /* Pastikan lebih tinggi dari navbar */
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none; /* Menonaktifkan klik saat tersembunyi */
    transition: opacity 0.3s ease, transform 0.3s ease;
}


.mobile-nav .mobile-dropdown-menu li {
    list-style: none;
}

.mobile-nav .mobile-dropdown-menu .dropdown-item {
    font-size: 0.85rem;
    color: #333;
    padding: 10px 15px;
    text-decoration: none;
    display: block;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

.mobile-nav .mobile-dropdown-menu .dropdown-item:hover {
    background-color: #f7f7f7;
    color: var(--warna-utama);
}

.mobile-nav .dropdown.active .mobile-dropdown-menu {
    transform: translateX(-50%) translateY(0); /* Geser ke posisi semula */
    opacity: 1; /* Tampilkan menu */
    visibility: visible; /* Pastikan terlihat dan dapat diakses */
    pointer-events: auto; /* Aktifkan klik */
}

@media (max-width: 768px) {
    .mobile-nav {
        display: block; /* Tampilkan hanya untuk layar dengan lebar maksimal 768px */
    }
}

@media (max-width: 360px) {
    .mobile-nav {
        width:100%;
        max-width:360px;
    }
    
    .nav-item p {
        font-size: 0.6rem;
    }
    
    .mobile-nav .nav-item i {
        font-size:0.9rem;
    }

}

.pendaftar-section {
  padding: 20px 10px;
}

.pendaftar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));
  gap: 10px;
}

.pendaftar-card {
    background: linear-gradient(45deg, #4a90e2, #4560d4); /* Biru ke Ungu */
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: white; /* Agar teks tetap kontras */
    font-weight: bold;
}

.pendaftar-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.pendaftar-card h3 {
  font-size: 0.8rem;
  color: white;
  text-align:center;
}

.pendaftar-card .jumlah {
  font-size: 2rem;
  font-weight: bold;
  color: white;
}

@media (max-width: 768px) {
    .pendaftar-section {
        margin-top:10px;
    }
    
    .pendaftar-card {
        padding: 8px;
    }

    .pendaftar-grid {
        width:95%;
        margin:0 auto;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(60px, 2fr));
        gap: 10px;
    }
    
    .pendaftar-card h3 {
        font-size: 0.6rem;
        text-align:center;
    }

    .pendaftar-card .jumlah {
        margin-top:-5px;
        font-size: 2rem;
        font-weight:bold;
    }
  
    .pendaftar-card p {
        font-size: 0.6rem;
    }
}

@media (max-width: 360px) {
    .pendaftar-grid {
        width:90%;
        margin:0 auto;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(50px, 2fr));
        gap: 10px;
        padding:0%;
        text-align:center;
    }
    
    .pendaftar-card {
        padding: 5px;
    }
    
    .pendaftar-card h3 {
        font-size: 0.5rem;
        text-align:center;
    }

    .pendaftar-card .jumlah {
        margin-top:-15px;
        font-size: 1.5rem;
        font-weight:bold;
    }
  
    .pendaftar-card p {
        font-size: 0.5rem;
    }
}

.container-form {
    display:flex;
}

.registration-container {
    text-align: center;
    padding: 30px 14px;
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 20px;
}

.icon {
    width: 50px;
    height: 50px;
    background: #ff8c00;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 15px;
}

.content {
    text-align: left;
}

h2 {
    font-size: 1.2rem;
    margin: 0;
    color: #333;
}

p {
    font-size: 0.9rem;
    margin: 5px 0 0;
    color: #666;
}

.final {
    background: #ffcc00;
}

.final .icon {
    background: #ff4500;
}

.carousel-container {
    margin-top: 20px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
    position: relative;
    overflow: hidden;
}

.carousel {
    position: relative;
    width: 60%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-item {
    position: absolute;
    width: 80%;
    height: 80%;
    transition: transform 0.6s ease, opacity 0.6s ease;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
}

/* Posisi gambar utama (besar di tengah) */
.carousel-item.active {
    transform: scale(1);
    z-index: 2;
}

/* Posisi gambar kiri (lebih kecil, agak ke belakang) */
.carousel-item.left {
    transform: translateX(-50%) scale(0.8);
    z-index: 1;
    opacity: 0.7;
}

/* Posisi gambar kanan (lebih kecil, agak ke belakang) */
.carousel-item.right {
    transform: translateX(50%) scale(0.8);
    z-index: 1;
    opacity: 0.7;
}

.tombol-footer {
    display: flex;
    justify-content: start;
    gap: 15px;
    margin-top: 20px;
}

.tombol-footer button {
    padding: 12px 20px;
    font-size: 16px;
    font-weight: bold;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    position: relative;
    overflow: hidden;
}

.btn-daftar {
    background: linear-gradient(45deg, #ff416c, #ff4b2b);
    box-shadow: 0 4px 10px rgba(255, 65, 108, 0.3);
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}
.btn-brosur {
    background: linear-gradient(45deg, #ff9a44, #ffcc33);
    box-shadow: 0 4px 10px rgba(30, 60, 114, 0.3);
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-info {
    background: linear-gradient(45deg, #07a11d, #1bbc1f);
    box-shadow: 0 4px 10px rgba(30, 60, 114, 0.3);
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}
/* Efek Hover */
.tombol-footer button:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
}

/* Efek Klik */
.tombol-footer button:active {
    transform: scale(0.98);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.mobile-form-section{
    display: none;
}
@media screen and (max-width: 768px) {
    .carousel {
        width: 90%; /* Lebih lebar di layar kecil */
    }
    .container-form {
        display:block;
        justify-content: center;
    }

    .carousel-item {
        width: 90%; /* Sesuaikan ukuran item */
        height: 75%;
    }
    
    .tombol-footer {
        justify-content: center;
        margin-top: -20px;
    }
    
    .container-form .mobile-form-section{
        display: block;
    }
    
    .form-section{
        display: none;
    }
}

/* Style untuk form group */
.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
}

/* Label */
.form-group label {
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

/* Input & Select */
.form-group input,
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
}

.form-field{
    display:flex;
    justify-content:space-between;
    width:100%;
    gap:5px;
}

.form-field .form-group {
    width:100%;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

/* Konten Modal */
.modal-content {
    background: white;
    width: 80%;
    max-width: 1200px;
    display: flex;
    flex-direction: row;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Gambar di Modal */
.modal-image {
    flex: 1;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-image img {
    width: 100%;
    max-width: 250px;
    height: auto;
}

/* Body Modal */
.modal-body {
    flex: 2;
    padding: 20px;
    position: relative;
}

/* Tombol Close */
.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 20px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
}

.closeModalDaftar{
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 20px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
}


/* Langkah-langkah pendaftaran */
.step {
    display: none;
}

.step.active {
    display: block;
}

/* Tombol Navigasi */
button {
    background-color: #28a745;
    color: white;
    padding: 10px 15px;
    margin: 10px 5px 0;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}

button:hover {
    background-color: #218838;
}

/* Tombol Back */
.backBtn {
    background-color: #6c757d;
}

.backBtn:hover {
    background-color: #5a6268;
}

/* Pesan Kesalahan */
#errorMessage {
    color: red;
    font-size: 14px;
    display: none;
    margin-top: 10px;
}

/* Responsif */
/* Responsif */
@media screen and (max-width: 600px) {
    .modal-content {
        flex-direction: column;
        width: 90%;
        max-height: 90vh;
        overflow: hidden;
        font-size: 0.8rem;
    }

    .modal-body {
        padding: 15px;
        overflow-y: auto;
        max-height: calc(100vh - 100px); /* Batas ketinggian agar tidak terlalu panjang */
    }

    .modal-image {
        display: none;
    }

    .form-field {
        flex-direction: column;
        width: 100%;
    }

    .form-group input,
    .form-group select {
        font-size: 12px;
        padding: 8px;
    }

    /* Tombol Navigasi di Mobile */
    .form-navigation {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: white;
        padding: 10px;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
        display: flex;
        justify-content: space-between;
    }

    .form-navigation button {
        width: 48%;
        font-size: 14px;
    }
}


/* Container */
.ppdb-container {
    display: flex;
    width: 100%;
    max-width: 1200px;
    margin: auto;
    background: #f3fdf5;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Sidebar Menu */
.sidebar {
    width: 250px;
    background: linear-gradient(45deg, #4CAF50, #81C784);
    padding: 20px;
    border-radius: 10px 0 0 10px;
}

.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar ul li {
    padding: 15px;
    font-size: 16px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    border-radius: 5px;
}

.sidebar ul li i {
    margin-right: 10px;
}

.sidebar ul li:hover, 
.sidebar ul li.active {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

/* Content */
.content {
    flex: 1;
    padding: 20px;
    background: white;
    border-radius: 0 10px 10px 0;
}

/* Tab Content */
.tab-content {
    display: none;
    padding-left: 40px;
    animation: fadeIn 0.5s ease-in-out;
}

.tab-content.active {
    display: block;
}

.list-kontak {
    list-style: none;
    padding: 0;
}

.list-kontak li {
    margin-bottom: 5px;
}

.list-kontak a {
    text-decoration: none;
    color: #2c7a4b; /* Warna hijau lembut */
    font-weight: bold;
}

.list-kontak a:hover {
    color: #1e5631; /* Warna hijau lebih gelap saat hover */
}

#info-ppdb h5{
    margin:0 auto;
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
}

/* Animasi */
@keyframes fadeIn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

/* --- Responsif untuk Mobile --- */
@media (max-width: 768px) {
    .ppdb-container {
        flex-direction: column;
        align-items: center;
    }

    .sidebar {
        width: 100%;
        text-align: center;
    }

    .sidebar li {
        justify-content: center;
    }

    .content {
        width: 100%;
        padding: 15px;
    }

    #info-ppdb h5 {
        font-size: 22px;
    }
}

/* Gaya untuk container input */
.hasil-seleksi-container {
    text-align: center;
    margin: 30px auto;
    padding: 20px;
    max-width: 400px;
    background: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.hasil-seleksi-container h3 {
    color: #2c7a7b;
    font-size: 20px;
    margin-bottom: 15px;
}

.hasil-seleksi-container input {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 10px;
    text-align: center;
}

.hasil-seleksi-container button {
    background: #2c7a7b;
    color: white;
    padding: 10px 15px;
    border: none;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.3s;
}

.hasil-seleksi-container button:hover {
    background: #225c5d;
}

/* Gaya untuk modal */
.modal-cek {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content-cek {
    background-color: white;
    margin: 10% auto;
    padding: 20px;
    width: 40%;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

.close {
    float: right;
    font-size: 20px;
    cursor: pointer;
    color: #999;
}

.close:hover {
    color: #333;
}

#statusSeleksi {
    font-size: 18px;
    margin: 15px 0;
}

#btnCetakKartu {
    background: #3182ce;
    color: white;
    padding: 10px 15px;
    border: none;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.3s;
    display: none;
    margin:0 auto;
}

#btnCetakKartu:hover {
    background: #2b6cb0;
}

@media (max-width: 768px) {
    .modal-content-cek{
        width:90%;
    }
}
