@media screen and (max-width: 480px) and (orientation: portrait) {
      /* Header Styles */
      body {
        overflow-x: hidden !important;
        width: 100% !important; /*ubah*/
        max-width: 100% !important; /*ubah*/
      }





/* Banner Styles */
/* Banner Styles */
.ekskul-banner {
    width: 100% !important;
    height: 200px !important;
    position: relative !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 0 !important;
}

.ekskul-banner::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)) !important;
    z-index: 1 !important;
}

.ekskul-banner img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    margin: 0 !important;
    opacity: 1 !important;
}
.banner-content h1 {
    font-size: 20px !important; /* Smaller text for mobile */
}

.banner-content p {
    font-size: 11px !important; /* Smaller text for mobile */
}
















.akademik-banner {
    width: 100% !important;
    height: 240px !important;
    position: relative !important;
    overflow: hidden !important;
    margin-top: 0px !important;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
                url('images/akademik-banner.jpg') !important;
    background-size: contain !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-color: #f5f5f5 !important; /* Light background instead of black */
}

.banner-content {
    position: absolute;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: transparent !important; /* Remove additional dark overlay */
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 20px !important;
    z-index: 2 !important;
}




              /* Menambahkan wrapper untuk mengontrol overflow */
        html, body {
            overflow-x: hidden !important;
            position: relative !important;
            width: 100% !important;
            -webkit-box-sizing: border-box !important;
            -moz-box-sizing: border-box !important;
            box-sizing: border-box !important;
            margin: 0 !important;
            padding: 0 !important;
        }

        /* Mengatur container utama */
        .container {
            width: 100% !important;
            max-width: 100% !important;
            overflow-x: hidden !important;
            margin: 0 auto !important;
            padding: 0 !important;
            position: relative !important;
        }

        /* Memastikan semua section tidak melebihi lebar layar */
        section {
            width: 100% !important;
            max-width: 100vw !important;
            overflow-x: hidden !important;
            box-sizing: border-box !important;
        }
      .header-top {
        flex-direction: row;
        padding: 8px 5px;
        align-items: center;
        justify-content: flex-start;
        height: 60px;
        display: flex;
    }
    .logo {
        display: flex;
        align-items: center;
        gap: 3px;
        margin-right: auto;
        margin-left: 8px;
        margin-top: 3px;
    }
    .logo img {
        width: 60px !important;
        height: 60px !important;
    }
    .school-info {
        text-align: left;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .school-info h1 {
        font-size: 16px !important;
        margin: 0;
        font-weight: bold;
    }
    .school-info p {
        font-size: 10px !important;
        margin: 0;
        line-height: 1.2;
    }
    /* Contact Info */
    .contact-info {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 1px;
        margin-top: 0;
        position: absolute;
        right: 10px;
    }
    .contact-info a {
        font-size: 7px !important;
        margin-right: 10px;
    }
    .contact-info i {
        font-size: 7px !important;
        margin-right: 2px;
    }
    .header-top {
        flex-direction: row;
        padding: 8px 10px;
        align-items: center !important;
        height: 95px !important;
        display: flex;
        margin: 5px 0;
        background: white;
    }
    .logo {
        display: flex;
        align-items: center !important;
        gap: 5px;
        margin-right: 15px;
        margin-left: 10px;
        margin-top: -25px;  /* Menggeser ke atas */
    }
    .school-info {
        text-align: left;
        display: flex;
        flex-direction: column;
        justify-content: center !important;
        align-items: flex-start;
        position: relative;
        width: 100%;
        margin-top: 0;  /* Menghapus margin top */
    }
    /* Contact Info */
    .contact-info {
        display: flex;
        flex-direction: row !important;
        align-items: center;
        gap: 15px;  /* Memperbesar gap */
        position: absolute;
        left: 30px !important; /*ganti yang gap kiri dari yang telepon itu, terakhir 20px*/
        top: 70px !important;
    }
    .contact-info a {
        font-size: 8px !important;
        padding: 2px 0;  /* Menambah padding vertical */
    }
    .contact-info a {
        font-size: 6px !important;
        color: #333;
        text-decoration: none;
        display: flex;
        align-items: center;
        gap: 2px;
        transition: transform 0.2s;  /* Menambah transisi yang lebih halus */
    }
    .contact-info a:hover {
        transform: translateX(3px);  /* Mengurangi jarak geser saat hover */
    }
    .contact-info i {
        font-size: 9px !important;
        margin-right: 5px;  /* Mengurangi margin kanan icon */
    }
    .header-top {
        flex-direction: row;
        padding: 8px 5px;
        align-items: center;
        justify-content: flex-start;
        height: 70px;
        display: flex;
    }
    .logo {
        display: flex;
        align-items: center;
        gap: 5px;
        margin-right: 10px;
        margin-left: 8px;
    }
    .school-info {
        text-align: left;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    /* Contact Info */
    .contact-info {
        gap: 3px;
        margin-top: 5px;
    }
    .contact-info a {
        font-size: 8px;
    }
    .contact-info i {
        font-size: 10px;
    }
    /* Navigation */
    nav {
        height: auto;
    }
    nav ul {
        padding: 0 15px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 2px;
    }
    nav ul li {
        padding: 0;
        height: 100%;
    }
    nav ul li a {
        font-size: 9px;
        padding: 5px 2px;
        display: flex;
        align-items: center;
        height: 100%;
    }
    /* Welcome Section */
    #welcome {
        background-color: #3498DB;
        padding: 8px 0;
        min-height: 70px;
    }
    .welcome-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: -20px;
    }
    .banner-beranda {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1px;
    }
    .hero {
        margin-top: 1px;
    }
    .banner-beranda h1 {
        font-size: 20.2px !important;
        margin: 0;
        color: white;
        line-height: 1.5 !important;  /* Menambahkan jarak antar baris */
    }
    .banner-beranda p {
        font-size: 11px !important;
        margin: 0;
        color: white;
    }
    .hero {
        margin-top: 5px;
    }
    .welcome-content h1 {
        font-size: 20.2px !important;
        margin: 0;
        font-weight: bold;
        text-align: center;
        line-height: 1;
    }
    .welcome-content p {
        font-size: 11px !important;
        line-height: 1;
        margin: 0;
    }
    .welcome-content h2 {
        font-size: 14px !important;
        margin: 2px 0;
        font-weight: bold;
    }
    .welcome-content p {
        font-size: 11px !important;
        line-height: 1.2;
        margin: 5px 0;
    }
    /* Welcome Section Button */
    .welcome-section .cta-button,
    .welcome-content .cta-button,
    a.cta-button {
        padding: 5px 15px !important;
        font-size: 10px !important;
        border-radius: 15px !important;
        margin-top: -10px !important;
        margin-bottom: 10px !important;
        min-width: 80px !important;
        max-width: 100px !important;
        transform: scale(1) !important;
    }
    /* Visi Misi */
    #visi-misi {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 15px;
    }
    .visi-box h2, .misi-box h2 {
        font-size: 18px;
    }
    .visi-box p, .misi-box ol {
        font-size: 12px;
    }
    /* Statistics */
    .stats-container {
        flex-direction: column;
        gap: 15px;
    }
    .stat-item {
        width: 100%;
        padding: 15px;
    }
    .stat-item h4 {
        font-size: 16px;
    }
    .stat-item p {
        font-size: 12px;
    }
    /* Footer */
    footer {
        padding: 20px 0 0 0;
        margin: 0;
        width: 100%;
    }
    .footer-top {
        flex-direction: column;
        gap: 10px;
        padding: 0;
        margin: 0 0 0 17px;
        width: 100%;
    }
    .footer-section,
    .about-section,
    .contact-section {
        padding-left: 17px;
        margin: 0;
        width: 100%;
    }
    .social-media {
        padding-left: 15px;
        margin: 5px 0;
    }
    .social-icons {
        padding-left: 15px;
        justify-content: left;
    }
    .footer-section h3 {
        padding: 0 5px;
        margin-bottom: 10px;
    }
    .footer-section {
        font-size: 12px;
        text-align: left;
        padding-left: 0;
    }
    .footer-section h3 {
        font-size: 12px !important;
        margin-bottom: 10px;
        text-align: left;
        color: #ffffff;
        position: relative;
        padding-left: 0;
    }
    .footer-section h3::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: -5px;
        width: 25%;
        height: 2px;
        background-color: #FF6B00;
    }
    .about-section,
    .contact-section {
        width: 100%;
        padding: 0;
    }
    .social-media {
        padding-left: 0;
    }
    .social-icons {
        justify-content: left;
        padding-left: 0;
    }
    .footer-section {
        font-size: 12px;
        text-align: left;
        padding-left: 20px;
    }
    .footer-section p {
        font-size: 12px;
        margin-bottom: 5px;
    }
    .footer-section a {
        font-size: 12px;
        color: white;
        text-decoration: none;
    }
    .about-section {
        width: 100%;
        padding: 0 20px;
        text-align: left;
    }
    .footer-section {
        font-size: 12px;
        text-align: left;
        padding-left: 20px;
    }
    .footer-section p {
        font-size: 12px;
        margin-bottom: 5px;
    }
    .footer-section a {
        font-size: 12px;
        color: white;
        text-decoration: none;
        display: flex;
        align-items: center;
        gap: 0px;  /* Mengatur jarak antara icon dan teks */
    }
    .footer-section a i {
        font-size: 12px;
    }
    .about-section {
        width: 100%;
        padding: 0 20px;
        text-align: left;
    }
    .footer-top {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    .about-section,
    .contact-section {
        width: 100%;
        padding: 0 15px;
    }
    .social-icons {
        justify-content: center;
    }
    /* Sambutan Section */
    .sambutan-container h2 {
        font-size: 18px !important;
        margin-bottom: 2px;
    }
        /* Sambutan Section */
        .sambutan-container h2::after {
            content: '';
            display: block;
            width: 60%;  /* Mengurangi panjang garis dari default */
            height: 2px;
            background-color: #FF6B00;
            margin: auto;
            margin-bottom: 20px;
        }
    .sambutan-text {
        font-size: 11px !important;
        line-height: 1.4;
    }
    .sambutan-text .salam {
        font-size: 12px !important;
        margin-bottom: 8px;
        text-align: left;
    }
    .sambutan-text .first-paragraph,
    .sambutan-text .second-paragraph {
        font-size: 11px !important;
        margin-bottom: 5px;
    }
    .kepsek-image img {
        width: 170px;
        height: auto;
        margin-bottom: -10px;
    }
    .keunggulan-wrapper {
        position: relative;
        max-width: 100%;
        margin: 0 auto;
        padding: 0 30px;
    }
    
    .keunggulan-slider {
        overflow: hidden;
        padding: 20px 0;
    }
    
    .keunggulan-container {
        display: flex;
        gap: 0px;
        transition: transform 0.3s ease;
    }
    
    .keunggulan-item {
        flex: 0 0 100%;
        max-width: 100%;
        background: white;
        border-radius: 8px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        height: 650px;
        padding: 15px;
        margin: 0;
        display: flex;
        flex-direction: column;
    }
    .item-content h4 {
        font-size: 15px !important;
        margin-bottom: 8px;
        color: #0066cc;
    }
    .item-content p {
        font-size: 12px;
        line-height: 1.4;
        color: #666;
        margin: 0;
    }
    .item-content {
        background: white !important;
        padding: 15px !important;
        border-radius: 8px !important;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
        width: 100% !important;
        margin: 0 !important;
        height: 630px !important;
    }

    .item-content img {
        width: 200px !important;     /* Mengubah lebar gambar */
        height: 150px !important;    /* Menyesuaikan tinggi gambar */
        object-fit: cover !important;
        border-radius: 8px !important;
        margin: 0 auto !important;   /* Menambahkan margin auto untuk centering */
        display: block !important;    /* Memastikan gambar berada di tengah */
        margin-bottom: 10px !important;
    }

        /* Tombol navigasi */
        .nav-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 30px;
            height: 30px;
            z-index: 2;
            background: #FF6B00;
            border: none;
            border-radius: 50%;
            color: white;
            cursor: pointer;
        }
        #keunggulan .section-title h3{
            font-size: 20px;
        }
        #statistics .section-title h3 {
            font-size: 20px;
        }
        .prev-btn { left: 0; }
        .next-btn { right: 0; }
        #statistics .section-title .title-line {
            width: 80%;
            margin: 5px auto;
            border-bottom: 2px solid #FF6B00;
            display: block;
        }
/* Footer Copyright */
        .footer-bottom {
            font-size: 10px;  /* Mengecilkan ukuran font */
            padding: 5px 0;  /* Mengurangi padding atas bawah */
            text-align: center;
        }
        .footer-bottom p {
            margin: 0;
            font-size: 10px;  /* Memastikan ukuran teks konsisten */
        }
/*kontak section*/
.contact-main .page-header h2 {
    font-size: 18px !important;
}
    /* Navigation */
    nav ul li a {
        font-size: 9px;
        padding: 5px 2px;
        display: flex;
        align-items: center;
        height: 100%;
        position: relative;  /* Menambahkan ini */
    }
    nav ul li a.active {
        color: #FF6B00 !important;
        font-weight: bold;
    }
    nav ul li a.active::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 2px;
        background-color: #FF6B00;
        transition: width 0.3s ease;  /* Menambahkan transisi */
    }
/* Contact Section */
    /* Contact Page Styles */
    .contact-container {
        flex-direction: column;
        padding: 0 15px;
        gap: 20px;
    }
    .map-container {
        width: 100%;
        margin: 0;
        height: auto;
    }
    .map-container iframe {
        width: 100%;
        height: 350px !important;  /* Mengurangi tinggi map */
        border: none;
    }
    /* Contact Page Styles */
    .info-container {
        width: 100%;
        padding: 10px;
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    .info-section {
        padding: 10px;
        background: white;
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }
    .info-section p {
        font-size: 12px;
        margin-bottom: 5px;
    }
    .info-section h3 {
        font-size: 16px;
        margin-bottom: 10px;
        position: relative;
    }
    .info-section h3::after {
        content: '';
        position: center;
        bottom: -5px;
        left: 0;
        width: 30%;  /* Mengurangi panjang garis orange */
        height: 2px;
        background-color: #FF6B00;
    }
    .operation-hours {
        padding: 10px;
        margin-top: 10px;
        background: white;
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }
    .operation-hours h3 {
        font-size: 16px;
        margin-bottom: 10px;
        position: relative;
    }
    .operation-hours h3::after {
        content: '';
        position: center;
        bottom: -5px;
        left: 0;
        width: 40%;  /* Mengurangi panjang garis orange */
        height: 2px;
        background-color: #FF6B00;
    }
    .operation-hours p {
        font-size: 12px;
        margin-bottom: 5px;
    }
    .social-links {
        margin-top: 10px;
    }
    .social-links a {
        font-size: 18px;
    }
    .map-container {
        flex: 2;
        margin-right: 2rem;
        height: 100px;  /* Mengurangi tinggi dari 300px */
    }
    .map-container iframe {
        width: 100%;
        height: 250px;  /* Mengurangi tinggi dari 528px */
        border: none;
        display: block;
    }
        /* Contact Form Styles */
        .contact-form {
            text-align: center;
            margin: 0px 0;
        }
        .ask-button {
            padding: 6px 15px !important;  /* Mengurangi padding */
            font-size: 10px !important;    /* Mengecilkan ukuran font */
            border-radius: 15px !important;
            display: inline-block !important;
            margin: 5px auto !important;
        }
        .ask-button {
            padding: 8px 20px;
            font-size: 12px;
            border-radius: 20px;
            background: #25D366;
            color: white;
        }
        .form-note {
            font-size: 10px;
            color: #666;
            margin-top: 0px;
        }
    /* Section Headings */
        .section-heading h3 {
            font-size: 18px !important;
            margin-bottom: 20px;
            text-align: center;
            position: relative;
        }
        
        /* Section Headings */
        .section-heading h3::after {
            content: '';
            display: block;
            width: 110%;  /* Memperpanjang dari 60% */
            height: 2px;
            background-color: #FF6B00;
            margin: auto;
            margin-top: 10px;
        }
        /* Sejarah Section */
        .sambutan-container h2::after {
            content: '';
            display: block;
            width: 100%;  /* Memperpanjang dari 60% */
            height: 2px;
            background-color: #FF6B00;
            margin: auto;
            margin-bottom: 20px;
        }
    .sejarah-content {
            display: flex;
            flex-direction: column;
            padding: 0 15px;
        }
        .sejarah-top {
            display: flex;
            flex-direction: row;
            gap: 20px;
            margin-bottom: 0px;
            margin-top: 18px;
        }

        .sejarah-image {
            flex: 1;
            max-width: 300px;
        }

        .sejarah-image img {
            width: 100%;
            height: auto;
            border-radius: 8px;
        }

        .sejarah-text {
            flex: 2;
            padding: 0 10px;
        }
        .sejarah-text p:nth-child(2){
            font-size: 11px !important;
            line-height: 1.4;
            text-align: justify;
            margin-bottom: 10px;
            padding: 0 5px;
            color: #333;
            margin-left: -130px;
            margin-right: -5px;
        }
        .sejarah-bottom p:first-child {
            font-size: 11px !important;
            line-height: 1.4;
            text-align: justify;
            margin-bottom: 10px;
            padding: 0 5px;
            color: #333;
            margin-left: -3px;
            margin-top: -12px;
            margin-right: 6px;
        }
        .sejarah-bottom p:last-child {
            font-size: 11px !important;
            line-height: 1.4;
            text-align: justify;
            margin-bottom: 15px;
            padding: 0 5px;
            color: #333;
            margin-left: -3px;
            margin-right: 6px;
        }
        .sejarah-text {
            font-size: 11px !important;
            line-height: 1.4;
            text-align: justify;
        }
        .sejarah-image {
            width: 100%;
            margin-bottom: 15px;
        }
        .sejarah-image img {
            margin-top: 0px;
            width: 115%;
            height: 170px;
            border-radius: 8px;
        }
        /* Tenaga Pendidik */
        .guru-card {
            padding: 10px;
            margin-bottom: 15px;
        }
        .guru-nama {
            font-size: 12px !important;
            margin: 5px 0;
        }
        .guru-mapel,
        .guru-pendidikan {
            font-size: 11px !important;
        }
        /* Fasilitas Section */
        .fasilitas-grid {
            display: grid;
            grid-template-columns: 1fr !important;
            gap: 15px;
            padding: 10px;
        }
        .fasilitas-info h4 {
            font-size: 12px !important;
            margin: 8px 0;
        }
        .fasilitas-info p {
            font-size: 11px !important;
            line-height: 1.4;
        }
    /* Tenaga Pendidik Section */
        .pendidik-container h2 {
            font-size: 18px !important;
            margin-bottom: 2px;
        }
        .pendidik-container h2::after {
            content: '';
            display: block;
            width: 60%;
            height: 2px;
            background-color: #FF6B00;
            margin: auto;
            margin-bottom: 20px;
        }
        .pendidik-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 15px;
            padding: 10px;
        }
        .pendidik-item {
            background: white;
            padding: 10px;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }
        .pendidik-item h4 {
            font-size: 12px !important;
            margin-bottom: 5px;
            color: #0066cc;
        }
        .pendidik-item p {
            font-size: 11px !important;
            line-height: 1.3;
            margin-bottom: 5px;
        }
        /* Fasilitas Section */
        .fasilitas-container h2 {
            font-size: 18px !important;
            margin-bottom: 2px;
        }
        .fasilitas-container h2::after {
            content: '';
            display: block;
            width: 60%;
            height: 2px;
            background-color: #FF6B00;
            margin: auto;
            margin-bottom: 20px;
        }
        .fasilitas-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 15px;
            padding: 10px;
        }
        .fasilitas-item {
            background: white;
            padding: 12px;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }
        .fasilitas-item h4 {
            font-size: 12px !important;
            margin-bottom: 5px;
            color: #0066cc;
        }
        .fasilitas-item p {
            font-size: 11px !important;
            line-height: 1.3;
            margin-bottom: 5px;
        }
            /* Kepala Sekolah Section */ 
    .kepsek-profile {
        padding: 10px;
        margin-bottom: 20px;
    }
    .kepsek-photo {
        width: 100%;
        max-width: 300px;  /* Memperlebar maksimal foto */
        margin: 0 auto;
    }
    .kepsek-photo img {
        width: 100%;
        height: auto;
        border-radius: 8px;
        display: block;
        margin-top: 25px;
    }
    .kepsek-info {
        text-align: center;
    }
    .kepsek-info .jabatan {
        font-size: 12px !important;
        margin-bottom: 5px;
    }
    .kepsek-info h4 {
        font-size: 14px !important;
        margin: 5px 0;
    }
    .kepsek-info p {
        font-size: 11px !important;
        line-height: 1.3;
        margin: 5px 0;
        margin-left: 5px;
    }
    /* Wakasek & Guru Grid */
    .wakasek-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px;
        padding: 10px;
    }
    .wakasek-card {
        padding: 8px;
    }
    .wakasek-info .jabatan {
        font-size: 10px !important;
        margin-bottom: 3px;
    }
    .wakasek-info h4 {
        font-size: 11px !important;
        margin: 3px 0;
    }
    .wakasek-info p {
        font-size: 9px !important;
    }
    .guru-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px;
        padding: 10px;
    }
    .guru-card {
        padding: 8px;
    }
    .guru-nama {
        font-size: 11px !important;
        margin: 3px 0;
    }
    .guru-mapel,
    .guru-pendidikan {
        font-size: 9px !important;
        margin: 2px 0;
    }
/* PPDB Styles */
    .ppdb-content {
        padding: 8px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        box-sizing: border-box !important;
    }

    .ppdb-content h2 {
        font-size: 15px !important;
        text-align: center;
        margin-bottom: 20px;
        position: relative;
    }

    .ppdb-content h2::after {
        content: '';
        display: block;
        width: 80% !important;
        height: 2px;
        background-color: #FF6B00;
        margin: 10px auto;
    }

    /* Jadwal Section */
    .jadwal-section {
        width: 95% !important;
        margin: 10px auto !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }
    .jadwal-item {
        width: 100% !important;
        box-sizing: border-box !important;
        margin: 0 auto 5px auto !important;
    }
    /* Jalur Section */
    .jalur-section {
        width: 95% !important;
        margin: 10px auto !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    .jalur-item {
        width: 100% !important;
        max-width: none !important;
        box-sizing: border-box !important;
        margin: 0 auto 5px auto !important;
        padding: 8px !important;
    }

    .ppdb-info h3 {
        font-size: 16px !important;
        margin-bottom: 0px !important;
        width: 300px;
        margin-left: -25px;
    }

    .ppdb-info p {
        font-size: 11px !important;
        margin-bottom: 10px !important;
        width: 300px;
        margin-left: -25px;
    }
    .catatan {
        font-size: 11px!important;
    }
    .persyaratan-section{
        font-size: 11px;
    }
    .jalur-item{
        margin-bottom: 10px !important;
    }

    /* Jadwal Section */
    .jadwal-section {
        width: 300px !important;
        align-items: center !important;
        margin-left: -25px !important;
    }
    .jadwal-section h4 {
        font-size: 15px !important;     /* Mengubah dari 18px */
        text-align: center;
        margin-bottom: 8px !important;
    }

    /* Jalur Section */
    .jalur-section h4 {
        font-size: 15px !important;     /* Mengubah dari 18px */
        text-align: center;
        margin-bottom: 8px !important;
    }

    /* Persyaratan Section */
    .persyaratan-section h4 {
        font-size: 15px !important;     /* Menambahkan style untuk heading persyaratan */
        text-align: center;
        margin-bottom: 8px !important;
    }

    /* Tata Cara Section */
    .tatacara-section h4 {
        font-size: 15px !important;     /* Menambahkan style untuk heading tata cara */
        text-align: center;
        margin-bottom: 8px !important;
    }

    .jadwal-title, .jadwal-date {
        font-size: 12px !important;
    }

    /* Jalur Section */
    .jalur-section h4 {
        font-size: 16px !important;
        text-align: center;
        margin-bottom: 8px !important;
    }

    .jalur-kuota {
        font-size: 12px !important;
    }

    .jalur-title {
        font-size: 12px !important;
    }

    .jalur-desc {
        font-size: 12px !important;
        line-height: 1.3 !important;
    }

    .requirement-list li {
        font-size: 12px !important;
        line-height: 1.3 !important;
    }

    /* Persyaratan Section */
    .persyaratan-section {
        width: 95% !important;
        margin: 10px auto !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    .persyaratan-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
        padding: 5px !important;
    }

    .persyaratan-item {
        background: #f8f9fa !important;
        padding: 8px !important;
        border-radius: 6px !important;
        display: flex !important;
        align-items: center !important;
        gap: 0px !important;
        height: 100px !important;
        box-sizing: border-box !important;
    }

    .persyaratan-item i {
        font-size: 14px !important;
        width: 25px !important;         /* Tetapkan lebar tetap */
        height: 25px !important;        /* Tetapkan tinggi tetap */
        background: #001f3f !important; /* Warna background */
        color: white !important;        /* Warna icon */
        border-radius: 50% !important;  /* Membuat lingkaran */
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin-top: 2px !important;     /* Sedikit jarak dari atas */
        flex-shrink: 0 !important;      /* Mencegah icon menyusut */

    }

    .persyaratan-item span {
        font-size: 11px !important;
        line-height: 1.2 !important;
        flex: 1 !important;
    }

    /* Tata Cara Section */
    .tatacara-section {
        width: 95% !important;
        margin: 10px auto !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    .tatacara-list {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
        padding: 5px !important;
    }

    .tatacara-item {
        width: 100% !important;
        background: #f8f9fa !important;
        padding: 8px 12px !important;
        border-radius: 6px !important;
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
    }

    .step-number {
        width: 24px !important;
        height: 24px !important;
        min-width: 24px !important;
        font-size: 12px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: #001f3f !important;
        color: white !important;
        border-radius: 50% !important;
    }

    .step-content {
        flex: 1 !important;
    }

    .step-title {
        font-size: 11px !important;
        line-height: 1.3 !important;
        margin: 0 !important;
    }

    .step-content p {
        font-size: 10px !important;
        margin: 2px 0 0 0 !important;
    }

    .step-content a {
        color: #0066cc !important;
        text-decoration: none !important;
    }
    .kontak-section h4 {
        font-size: 13px !important;
        text-align: center;
        margin-bottom: 6px !important;
    }
    .kontak-item {
        display: flex;
        gap: 10px;
        margin-bottom: 10px;
        font-size: 11px;
    }

    .kontak-detail strong {          /* Menambahkan style untuk sub judul */
        font-size: 10px !important;  /* Mengecilkan ukuran font sub judul */
        display: block;
        margin-bottom: 2px;
    }

    .kontak-detail span {
        font-size: 11px;
        display: block;
    }
        /* Video Tutorial Section */
        .video-tutorial-container {
            width: 95% !important;
            margin: 20px auto !important;
            padding: 10px !important;
        }
    
        .video-tutorial-container h4 {
            font-size: 18px !important;
            text-align: center !important;
            margin-bottom: 15px !important;
        }
    
        .video-qr-wrapper {
            display: flex !important;
            flex-direction: column !important;
            gap: 15px !important;
            align-items: center !important;
        }
    
        .video-wrapper {
            width: 100% !important;
            height: 700px !important;  /* Menambah tinggi dari 550px ke 700px */
            border-radius: 8px !important;
            overflow: hidden !important;
            margin: 0 auto !important;
            position: relative !important;
        }
    
        .video-wrapper iframe {
            width: 100% !important;
            height: 100% !important;
            border: none !important;
            position: absolute !important;
            top: 0 !important;
            left: 0 !important;
            object-fit: cover !important;  /* Memastikan video mengisi container dengan baik */
        }
    
        .qr-wrapper {
            text-align: center !important;
            margin-top: 10px !important;  /* Mengurangi jarak dari video */
        }
    
        .qr-wrapper img {
            width: 100px !important;  /* Mengubah dari 150px menjadi 100px */
            height: 100px !important;  /* Mengubah dari 150px menjadi 100px */
            margin-bottom: 5px !important;  /* Mengurangi margin bottom */
        }
    
        .qr-wrapper p {
            font-size: 10px !important;  /* Mengecilkan ukuran font */
            color: #666 !important;
            margin-top: 0 !important;
        }
    /* Informasi Penting */
    .informasi-penting {
        margin: 15px 0;
        padding: 10px;
        background: #fff3e0;
        border-radius: 8px;
    }
    .informasi-penting h5 {
        font-size: 13px !important;
        text-align: center;
        margin-bottom: 10px;
    }
    .informasi-penting ul li {
        font-size: 11px;
        margin-bottom: 5px;
        margin-left: 15px;
    }
    .daftar-button-container {
        text-align: center !important;
        margin: 30px auto !important;
        width: 60% !important;
    }

    .daftar-button {
        padding: 8px 30px !important;
        font-size: 11px !important;
        border-radius: 18px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 10px auto !important;
        width: 80% !important;
        gap: 5px !important;              /* Menambah gap antara ikon dan teks */
    }

    .daftar-button i.fas {               /* Target spesifik untuk Font Awesome icon */
        font-size: 0.9em !important;      /* Ukuran relatif terhadap parent */
        width: auto !important;
        height: auto !important;
        display: inline-block !important;
        vertical-align: middle !important;
    }
    .prestasi-header h1 {
        font-size: 16px !important;
        margin-bottom: 10px;
        margin-top: -20px;
    }
    .prestasi-header p {
        font-size: 11px !important;
        line-height: 1.3;
        margin-bottom: 5px;
    }
    .prestasi-header p:last-child {
        margin-bottom: -20px !important;
    }
    .semester-btn {
        padding: 8px 15px;
        font-size: 11px;
    }
    .prestasi-table {
        font-size: 11px;
    }
    .prestasi-table th,
    .prestasi-table td {
        padding: 8px 5px;
    }
    .badge {
        padding: 3px 6px;
        font-size: 9px;
    }
    /* Table scroll untuk mobile */
    .table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin-bottom: 15px;
    }
    .kisah-inspiratif {
        width: 320px;
        align-items: center !important;
        margin-left: -13px;

    }
    .kisah-inspiratif h2{
        font-size: 16px !important;
    }
    .kisah-inspiratif p{
        font-size: 11px !important;
        margin-left: -10px;
        margin-right: -10px;
    }
    .testimonial-section{
        width: 350px;
        margin-left: -15px;
        gap: 5px !important; 
    }
    .testimonial-content{
        font-size: 11px;
        margin-top: -5px;
        margin-bottom: 5px !important;
        padding: 8px !important;
    }
    .testimonial-name{
        font-size: 14px;
    }
    .testimonial-class{
        font-size: 11px;
    }
    .testimonial-avatar{
        font-size: 15px;
    }
    /* Table scroll untuk mobile */
    .table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 15px -15px;
        padding: 0 15px;
        max-height: 500px
    }
    .prestasi-table {
        min-width: 800px;
        width: 100%;
        border-collapse: collapse;
        table-layout: fixed;
    }

    .prestasi-table th,
    .prestasi-table td {
        border: 1px solid #ddd;    /* Menambahkan border */
        padding: 8px;              /* Padding yang konsisten */
        text-align: center;          /* Alignment teks */
        vertical-align: middle;    /* Vertical alignment */
    }

    /* Menyesuaikan lebar kolom */
    .prestasi-table th:nth-child(1), 
    .prestasi-table td:nth-child(1) { 
        width: 40px;
        min-width: 40px;
        text-align: center;
    }

    .prestasi-table th:nth-child(2) { width: 15.3%; }
    .prestasi-table th:nth-child(3) { width: 8%; }   /* Mengurangi lebar kolom kelas */
    .prestasi-table th:nth-child(4) { width: 15.5%; }
    .prestasi-table th:nth-child(5) { width: 15%; }
    .prestasi-table th:nth-child(6) { width: 12.3%; }
    .prestasi-table th:nth-child(7) { width: 15.5%; }
    .prestasi-table th:nth-child(8) { width: 16.3%; }  
        /* Tombol navigasi */
        .nav-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: auto;           /* Menghapus lebar tetap */
            height: auto;          /* Menghapus tinggi tetap */
            z-index: 2;
            background: transparent;  /* Menghapus background */
            border: none;
            color: #FF6B00;       /* Warna panah */
            cursor: pointer;
            font-size: 24px;      /* Ukuran panah */
            padding: 10px;        /* Padding untuk area klik */
        }
        .prev-btn { 
            left: 5px;           /* Menggeser sedikit dari pinggir */
        }
        .next-btn { 
            right: 5px;          /* Menggeser sedikit dari pinggir */
        }
        .banner-content h1 {
            font-size: 24px;
        }
        .banner-content p {
            font-size: 12px;
        }
        .fitur-kurikulum h2{
            font-size: 16px;
        }
        .fitur-kurikulum h3{
            font-size: 13px;
        }
        .fitur-kurikulum p{
            font-size: 11px;
        }
        .fitur-container {
            display: grid;
            grid-template-columns: repeat(2, 1fr) !important; /* Mengubah menjadi 2 kolom */
            gap: 15px !important;
            padding: 10px !important;
        }
    
        .fitur-item {
            background: #fff;
            padding: 15px !important;
            border-radius: 8px;
            text-align: center;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
            height: auto !important;  /* Mengubah height menjadi auto */
            min-height: 160px !important;  /* Menambah minimum height */
            display: flex !important;
            flex-direction: column !important;
            justify-content: flex-start !important;
        }
    
        .fitur-icon {
            margin-bottom: 8px !important;
        }
    
        .fitur-icon i {
            font-size: 24px !important;
            color: #001f3f !important;
        }
    
        .fitur-item h3 {
            font-size: 11px !important;  /* Mengecilkan ukuran font */
            margin-bottom: 6px !important;
            line-height: 1.3 !important;
            flex-grow: 0 !important;
        }
    
        .fitur-item p {
            font-size: 10px !important;  /* Mengecilkan ukuran font */
            line-height: 1.4 !important;
            margin: 0 !important;
            flex-grow: 1 !important;
        }
        .p5-section .p5-projects h2{
            font-size: 16px;
            margin-top: -30px;
        }
        .p5-section .p5-projects p{
            font-size: 11px;
            text-align: center;
        }
        .p5-section {
            padding: 15px !important;
            width: 95% !important;
            margin: 0 auto !important;
        }

        .p5-cards {
            display: grid !important;
            grid-template-columns: repeat(1fr) !important;
            gap: 20px !important;
            padding: 5px !important;
            width: 250px;
            margin-left: -24px;
        }

        .p5-card {
            background: #fff;
            padding: 12px !important;
            border-radius: 8px;
            text-align: center;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
            height: auto !important;
            min-height: 140px !important;
            display: flex !important;
            flex-direction: column !important;
            align-items: center !important;
        }

        .p5-card .card-icon {
            margin-bottom: 8px !important;
        }

        .p5-card .card-icon i {
            font-size: 20px !important;
            color: #001f3f !important;
        }

        .p5-card h3 {
            font-size: 11px !important;
            margin-bottom: 6px !important;
            line-height: 1.3 !important;
        }

        .p5-card p {
            font-size: 10px !important;
            line-height: 1.4 !important;
            margin: 0 !important;
        }
        .sistem-section .sistem-pembelajaran h2{
            font-size: 16px;
            margin-top: -30px;
        }
        .sistem-section .sistem-pembelajaran p{
            font-size: 11px;
            text-align: center;
        }
        .sistem-section {
            padding: 15px !important;
            width: 95% !important;
            margin: 30px auto !important;
        }

        .sistem-cards {
            display: flex !important;
            flex-direction: column !important;  /* Mengubah ke arah kolom */
            gap: 15px !important;
            padding: 5px !important;
            width: 100% !important;
            margin: 0 auto !important;
        }

        .sistem-card {
            width: 100% !important;  /* Card mengambil lebar penuh */
            background: #fff;
            padding: 15px !important;
            border-radius: 8px;
            text-align: center;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
            display: flex !important;
            flex-direction: column !important;
            align-items: center !important;
            min-height: 120px !important;
        }

        .sistem-card .card-icon {
            margin-bottom: 10px !important;
        }

        .sistem-card .card-icon i {
            font-size: 24px !important;
            color: #001f3f !important;
        }

        .sistem-card h3 {
            font-size: 14px !important;
            margin-bottom: 8px !important;
            line-height: 1.3 !important;
        }

        .sistem-card p {
            font-size: 12px !important;
            line-height: 1.4 !important;
            margin: 0 !important;
        }

        .penilaian-section .penilaian-container h2{
            font-size: 16px;
            margin-top: -30px;
        }
        .penilaian-section .penilaian-container p{
            font-size: 11px;
            text-align: center;
        }
        .penilaian-section {
            padding: 15px !important;
            width: 95% !important;
            margin: 30px auto !important;
        }

        .penilaian-section .penilaian-container h2 {
            font-size: 16px !important;
            margin-top: -30px !important;
            margin-bottom: 10px !important;
        }

        .penilaian-section .penilaian-container p {
            font-size: 11px !important;
            text-align: center !important;
            margin-bottom: 15px !important;
        }

        .penilaian-cards {
            display: flex !important;
            flex-direction: column !important;
            gap: 12px !important;
            padding: 5px !important;
            width: 250px !important;
            margin-left: -24px !important;
        }

        .penilaian-card {
            width: 100% !important;
            background: #fff;
            padding: 12px !important;
            border-radius: 8px;
            text-align: center;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
            display: flex !important;
            flex-direction: column !important;
            align-items: center !important;
            min-height: 80px !important;
        }

        .penilaian-card .card-icon {
            margin-bottom: 6px !important;
        }

        .penilaian-card .card-icon i {
            font-size: 18px !important;
            color: #001f3f !important;
        }

        .penilaian-card h3 {
            font-size: 11px !important;
            margin-bottom: 4px !important;
            line-height: 1.2 !important;
        }

        .penilaian-card p {
            font-size: 10px !important;
            line-height: 1.3 !important;
            margin: 0 !important;
        }
        .penilaian-section {
            padding: 15px !important;
            width: 95% !important;
            margin: 30px auto !important;
        }

        .penilaian-section .penilaian-container h2 {
            font-size: 16px !important;
            margin-top: -30px !important;
            margin-bottom: 10px !important;
        }

        .penilaian-section .penilaian-container p {
            font-size: 11px !important;
            text-align: center !important;
            margin-bottom: 15px !important;
        }

        .penilaian-cards {
            display: flex !important;
            flex-direction: column !important;
            gap: 12px !important;
            padding: 5px !important;
            width: 250px !important;
            margin-left: -24px !important;
        }

        .penilaian-card {
            width: 100% !important;
            background: #fff;
            padding: 12px !important;
            border-radius: 8px;
            text-align: center;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
            display: flex !important;
            flex-direction: column !important;
            align-items: center !important;
            min-height: 80px !important;
        }

        .penilaian-card .card-icon {
            margin-bottom: 6px !important;
        }

        .penilaian-card .card-icon i {
            font-size: 18px !important;
            color: #001f3f !important;
        }

        .penilaian-card h3 {
            font-size: 11px !important;
            margin-bottom: 4px !important;
            line-height: 1.2 !important;
        }

        .penilaian-card p {
            font-size: 10px !important;
            line-height: 1.3 !important;
            margin: 0 !important;
        }
        .penilaian-section {
            padding: 15px !important;
            width: 95% !important;
            margin: 0 auto !important;
        }

        .penilaian-list {
            display: grid !important;
            grid-template-columns: repeat(1, 1fr) !important;
            gap: 20px !important;
            padding: 5px !important;
            width: 250px !important;
            margin-left: -3px !important;
        }

        .penilaian-item {
            background: #fff;
            padding: 12px !important;
            border-radius: 8px;
            text-align: center;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
            height: auto !important;
            min-height: 80px !important;
            display: flex !important;
            flex-direction: column !important;
            align-items: center !important;
        }

        .item-icon {
            margin-bottom: 8px !important;
        }

        .item-icon i {
            font-size: 20px !important;
            color: #001f3f !important;
        }

        .penilaian-item h3 {
            font-size: 11px !important;
            margin-bottom: 6px !important;
            line-height: 1.3 !important;
        }

        .penilaian-intro {
            font-size: 11px !important;
            text-align: center !important;
            margin-bottom: 15px !important;
        }
        .pembinaan-section {
            padding: 15px !important;
            width: 95% !important;
            margin: 0 auto !important;
        }

        .pembinaan-grid {
            display: grid !important;
            grid-template-columns: repeat(2, 1fr) !important;
            gap: 10px !important;
            padding: 5px !important;
            width: 250px !important;
            margin-left: -24px !important;
        }

        .pembinaan-item {
            background: #fff;
            padding: 10px !important;
            border-radius: 8px;
            text-align: center;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
            height: auto !important;
            min-height: 80px !important;
            display: flex !important;
            flex-direction: column !important;
            align-items: center !important;
        }

        .item-icon {
            margin-bottom: 6px !important;
        }

        .item-icon i {
            font-size: 16px !important;
            color: #001f3f !important;
        }

        .pembinaan-item h3 {
            font-size: 10px !important;
            margin-bottom: 4px !important;
            line-height: 1.2 !important;
        }

        .pembinaan-section .pembinaan-container h2 {
            font-size: 16px !important;
            margin-top: 0px !important;
            margin-bottom: 10px !important;
        }

        .pembinaan-section .pembinaan-container p {
            font-size: 11px !important;
            text-align: center !important;
            margin-bottom: 15px !important;
        }
        .pembinaan-grid {
            display: grid !important;
            grid-template-columns: repeat(2, 1fr) !important;
            gap: 12px !important;
            padding: 5px !important;
            width: 300px !important;
            margin-left: -28px !important;
        }

        .pembinaan-item {
            background: #fff;
            padding: 12px !important;
            border-radius: 8px;
            text-align: center;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
            height: auto !important;
            min-height: 100px !important;
            display: flex !important;
            flex-direction: column !important;
            align-items: center !important;
            justify-content: center !important;
        }

        .item-icon {
            margin-bottom: 8px !important;
        }

        .item-icon i {
            font-size: 18px !important;
            color: #001f3f !important;
        }

        .pembinaan-item h3 {
            font-size: 11px !important;
            margin-bottom: 4px !important;
            line-height: 1.3 !important;
        }
        .pembinaan-item {
            background: #fff;
            padding: 12px !important;
            border-radius: 8px;
            text-align: center;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
            height: auto !important;
            min-height: 100px !important;
            display: flex !important;
            flex-direction: column !important;
            align-items: center !important;
            justify-content: center !important;
            margin-top: 15px !important;  /* Added margin-top */
        }
        .pembinaan-section {
            padding: 15px !important;
            width: 95% !important;
            margin: 0 auto !important;
            background: #fff !important;  /* White background */
            border-radius: 8px !important;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
            margin-top: 30px !important;  /* Added margin-top */
        }
        .p5-section {
            padding: 15px !important;
            width: 95% !important;
            margin: 0 auto !important;
            background: #fff !important;
            border-radius: 8px !important;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
            margin-top: 30px !important;
        }

        .p5-cards {
            display: grid !important;
            grid-template-columns: repeat(1fr) !important;
            gap: 20px !important;
            padding: 5px !important;
            width: 250px;
            margin-left: -24px;
        }
}