body {
    margin: 0;
    padding: 0;
}

main {
    display: flex;
    flex-direction: column;
}

.ppdb-banner {
    width: 100%;
}

.ppdb-banner img {
    width: 100%;
    height: auto;
    display: block;
}

.ppdb-content {
    max-width: 1400px;
    margin: 30px auto;
    padding: 20px;
}

.ppdb-info {
    background: #fff;
    padding: 30px 50px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    border-radius: 8px;
}

.ppdb-info p {
    color: white;
    text-align: center;
    font-size: 15px;
    background: #0A2647;
    padding: 15px 40px;
    margin: 0 0 50px 0;  /* Menambah margin bawah di sini */
    border-radius: 0 0 8px 8px;
}

.jadwal-section h4 {
    color: #0A2647;
    margin-top: 20px;  /* Menambah margin atas */
    margin-bottom: 20px;
    text-decoration: underline;
    font-size: 20px;
    font-weight: bold;
}

.jadwal-item {
    margin-bottom: 10px;
    background: #E8F4FF;
    border-left: 4px solid #0A2647;
    border: 1px solid #ccc;  /* Menambahkan border */
    padding: 15px;
    display: block;
    transition: all 0.3s ease;
    border-radius: 8px;  /* Menambahkan border-radius */
}

.jadwal-item:hover {
    transform: translateX(10px);
    box-shadow: 0 2px 8px rgba(10, 38, 71, 0.2);
    background: #d9ebff;
    border-color: #0A2647;  /* Border berubah warna saat hover */
}

.jadwal-title {
    color: #0A2647;
    font-weight: bold;
    display: block;
    font-size: 16px;
    margin-bottom: 5px;  /* Tambah margin bawah */
}

.jadwal-date {
    color: #666;
    display: block;
}

.catatan {
    color: #FF8A1D;
    font-style: italic;
    margin-top: 20px;
    font-size: 14px;
    text-align: left;
    background: #fff;
    padding: 5px;
}

.ppdb-content h2 {
    color: #3498DB;
    text-align: center;
    font-size: 24px;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
    width: 100%;
}

.ppdb-content h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 450px;
    height: 2px;
    background: #FF8A1D;
}

.ppdb-info h3 {
    color: #FF8A1D;
    text-align: center;
    font-size: 26px;
    font-weight: bold;
    background: #0A2647;
    padding: 30px 40px 10px;  /* Kurangi padding bawah */
    border-radius: 8px 8px 0 0;
    margin: 0;
}

.ppdb-info p {
    color: white;
    text-align: center;
    font-size: 15px;
    background: #0A2647;
    padding: 5px 40px 25px;  /* Sesuaikan padding atas dan bawah */
    margin: 0;
    border-radius: 0 0 8px 8px;
    line-height: 1.5;  /* Tambah line-height untuk keterbacaan */
}

.jalur-section {
    margin-top: 40px;
    background: #fff;
    padding: 30px 50px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    border-radius: 8px;
}

.jalur-section h4 {
    color: #0A2647;
    margin-bottom: 20px;
    text-decoration: underline;
    font-size: 20px;
    font-weight: bold;
}

.jalur-item {
    background: #E8F4FF;
    padding: 20px;
    margin-bottom: 15px;
    position: relative;
    border-left: 4px solid #0A2647;
    border-radius: 8px;
    transition: all 0.3s ease;  /* Menambahkan transisi */
}

.jalur-item:hover {
    transform: translateX(10px);
    box-shadow: 0 2px 8px rgba(10, 38, 71, 0.2);
    background: #d9ebff;
}

.jalur-title {
    color: #0A2647;
    font-size: 16px;
    font-weight: bold;
    display: inline-block;
}

.jalur-desc {
    color: #666;
    font-size: 14px;
    margin: 10px 0;
}

.jalur-kuota {
    float: right;
    background: #0A2647;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
}

.requirement-list {
    list-style: none;
    padding: 0;
    margin: 15px 0 0 0;
}

.requirement-list li {
    color: #666;
    padding-left: 25px;
    margin: 8px 0;
    position: relative;
    font-size: 14px;
    border-bottom: 1px dashed #ccc;
    padding-bottom: 8px;
}

.requirement-list li:before {
    content: "✓";
    color: #28a745;
    position: absolute;
    left: 0;
}

.persyaratan-section {
    margin-top: 40px;
    background: #fff;
    padding: 30px 50px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    border-radius: 8px;
}

.persyaratan-section h4 {
    color: #0A2647;
    margin-bottom: 20px;
    text-decoration: underline;
    font-size: 20px;
    font-weight: bold;
}

.persyaratan-desc {
    color: #666;
    margin-bottom: 20px;
}

.persyaratan-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.persyaratan-item {
    background: #E8F4FF;
    padding: 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    border: 1px solid #ccc;
}

.persyaratan-item:hover {
    transform: translateY(-5px);  /* Geser ke atas instead of kanan */
    box-shadow: 0 5px 15px rgba(10, 38, 71, 0.15);
    background: #d9ebff;
    border-color: #0A2647;
}

.persyaratan-item i {
    color: #0A2647;
    margin-right: 15px;
    font-size: 24px;
    background: #fff;
    padding: 10px;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.persyaratan-item span {
    color: #0A2647;
    font-size: 14px;
    line-height: 1.4;
}
/* Style untuk semua section */
.ppdb-info,
.jadwal-section,
.jalur-section,
.persyaratan-section,
.tatacara-section {
    margin-bottom: 15px;  /* Jarak antar section */
    background: #fff;
    padding: 30px 50px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    border-radius: 8px;
    box-sizing: border-box;
}

/* Hapus semua style section individual yang lama */
.tatacara-section {
    margin: 15px auto;  /* ⚠️ INI YANG BIKIN MASALAH! */
    background: #fff;
    padding: 30px 50px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    border-radius: 8px;
    box-sizing: border-box;
    max-width: calc(100% - 40px);
}

/* Dan ganti dengan ini saja */
.tatacara-section {
    margin: 0 auto 20px auto;  /* Atur margin bawah 20px, sisanya auto */
}

.persyaratan-section {
    margin: 40px auto 0 auto;  /* Atur margin atas 20px, sisanya auto */
}

/* Tambahkan style untuk judul tatacara-section */
.tatacara-section h4 {
    color: #0A2647;
    margin-bottom: 20px;
    text-decoration: underline;
    font-size: 20px;
    font-weight: bold;
}

.tatacara-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    padding: 20px 0;
}

.tatacara-item {
    width: 100%;
    margin: 0;
    background: #E8F4FF;
    padding: 30px;
    border-radius: 15px;
    position: relative;
    transition: all 0.4s ease;
    border: 2px solid transparent;
    box-sizing: border-box;
}

/* Atur posisi item no 4 dan 5 */
.tatacara-item:nth-child(4) {
    grid-column: 1;
    grid-row: 2;
    width: 100%;
}

.tatacara-item:nth-child(5) {
    grid-column: 2;
    grid-row: 2;
    width: 100%;
}

/* Hapus style yang membuat item #5 terlalu panjang */
.tatacara-item:nth-child(5) {
    grid-column: 2;
    grid-row: 2;
}

.tatacara-item:nth-child(5) {
    grid-column: 2;
    grid-row: 2;
    width: 100%;
    margin: 0;
    background: #E8F4FF;
    padding: 30px;
}

.step-content p {
    font-size: 15px;
    line-height: 1.6;
}

.step-number {
    position: absolute;
    top: -15px;
    left: -15px;
    width: 40px;
    height: 40px;
    background: #0A2647;
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    box-shadow: 4px 4px 10px rgba(0,0,0,0.1);
    transform: rotate(-10deg);
}

.step-content {
    text-align: left;
    margin-top: 10px;
    padding: 10px;
}

.step-title {
    color: #0A2647;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}

.step-link {
    color: #3498DB;
    text-decoration: none;
    font-size: 14px;
    padding: 8px 15px;
    border-radius: 8px;
    background: white;
    display: inline-block;
    margin-top: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.tatacara-item:hover {
    transform: translateY(-10px) rotate(2deg);
    border-color: #0A2647;
    box-shadow: 0 15px 30px rgba(10, 38, 71, 0.15);
}

.step-link:hover {
    background: #3498DB;
    color: white;
}
.kontak-section h4 {
    color: #0A2647;
    margin-bottom: 20px;
    text-decoration: underline;
    font-size: 20px;
    font-weight: bold;
}

.kontak-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 30px 0;
}

.kontak-item {
    display: flex;
    align-items: center;
    padding: 20px;
    border-bottom: 2px solid #E8F4FF;
    transition: all 0.3s ease;
    background: transparent;
}

.kontak-item:hover {
    border-bottom-color: #0A2647;
    transform: translateX(10px);
    background: linear-gradient(to right, #E8F4FF, transparent);
}

.kontak-item i {
    color: #0A2647;
    font-size: 24px;
    background: #E8F4FF;
    padding: 15px;
    border-radius: 50%;
    margin-right: 25px;
    transition: all 0.3s ease;
}

.kontak-item:hover i {
    background: #0A2647;
    color: white;
    transform: rotate(10deg);
}

.kontak-detail strong {
    color: #0A2647;
    font-size: 18px;
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.kontak-detail span {
    color: #666;
    font-size: 15px;
}

/* Gunakan style yang sama dengan section lainnya */
.kontak-section {
    margin: 8px auto;
    background: #fff;
    padding: 30px 50px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    border-radius: 8px;
    max-width: 1310px;  /* Sesuaikan dengan max-width ppdb-content */
    width: 100%;
    box-sizing: border-box;
}


/* Update informasi penting section */
.informasi-penting {
    background: #FFE5E5;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #FF8A1D;
    margin: 20px auto;  /* Ubah margin untuk memberikan jarak dari kontak section */
    max-width: 1310px;
    width: 100%;
    box-sizing: border-box;
}

.informasi-penting h5 {
    color: #FF8A1D;
    margin: 0 0 15px;
    font-size: 16px;
}

.informasi-penting ul {
    margin: 0;
    padding-left: 20px;
    color: #666;
    font-size: 14px;
    line-height: 1.8;
}

.daftar-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(145deg, #FF8A1D, #e67300);
    color: white;
    padding: 20px 60px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 20px;
    position: relative;
    transform-style: preserve-3d;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 
        0 10px 20px rgba(0, 0, 0, 0.3),
        0 6px 6px rgba(0, 0, 0, 0.2),
        0 0 50px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform: translateZ(20px);
}

.daftar-button::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.4) 0%,
        rgba(255, 255, 255, 0.2) 50%,
        transparent 100%
    );
    transform: translateZ(-1px);
}

.daftar-button:hover {
    transform: translateZ(50px) rotateX(-15deg);
    background: linear-gradient(145deg, #e67300, #cc5500);
    box-shadow: 
        0 30px 40px rgba(0, 0, 0, 0.4),
        0 0 150px rgba(0, 0, 0, 0.2);
}

.daftar-button:active {
    transform: translateZ(10px) scale(0.95);
    background: linear-gradient(145deg, #cc5500, #b34700);
}

.daftar-button i {
    font-size: 22px;
    transform: translateZ(10px);
}
.daftar-button {
    display: inline-block;
    background: #FF8A1D;
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.daftar-button:hover {
    background: #e67300;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 138, 29, 0.3);
}
.daftar-button-container {
    text-align: center;
    margin: 40px 0;
    perspective: 1000px;
}

.daftar-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: rgba(255, 138, 29, 0.9);
    color: white;
    padding: 20px 60px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 20px;
    position: relative;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform-style: preserve-3d;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 
        0 10px 20px rgba(0, 0, 0, 0.4),
        0 6px 6px rgba(0, 0, 0, 0.3),
        0 0 100px rgba(0, 0, 0, 0.2);
}

.daftar-button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.3) 0%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 100%
    );
    transform: translateZ(-1px);
}

.daftar-button:hover {
    transform: translateZ(50px) rotateX(-10deg);
    box-shadow: 
        0 20px 30px rgba(0, 0, 0, 0.5),
        0 0 150px rgba(0, 0, 0, 0.4);
}

.daftar-button:active {
    transform: translateZ(25px) scale(0.98);
}

.daftar-button i {
    font-size: 22px;
    transform: translateZ(10px);
}
.video-tutorial-container {
    margin-top: 40px;
    padding: 20px;
    background: #E8F4FF;
    border-radius: 15px;
}

.video-tutorial-container h4 {
    color: #0A2647;
    margin-bottom: 20px;
    text-decoration: underline;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
}

.video-qr-wrapper {
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1000px; /* Batasi lebar maksimal */
    margin: 0 auto;
}

.video-wrapper {
    flex: 1;
    min-width: 250px; /* Kurangi minimum width */
    max-width: 600px; /* Tambah maximum width */
    position: relative;
    padding-bottom: 40%; /* Kurangi ratio tinggi */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

.qr-wrapper {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.qr-wrapper img {
    max-width: 200px;
    height: auto;
    margin-bottom: 15px;
}

.qr-wrapper p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

@media (max-width: 768px) {
    .video-qr-wrapper {
        flex-direction: column;
    }
    
    .video-wrapper {
        width: 100%;
    }
    
    .qr-wrapper {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
}