html, body {
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    height: 100%; /* Pastikan tinggi penuh untuk viewport */
    display: flex;
    flex-direction: column;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #ffffff;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 0;
}


header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #000000;
    padding: 10px 20px;
    height: 80px; /* Pastikan tinggi konsisten */
    margin: 0; /* Pastikan tidak ada margin yang tidak diinginkan */
}

header .logo img {
    height: 100px; /* Pastikan ukuran logo konsisten */
    margin-left: 50px; /* Pastikan margin konsisten */
}

header .header-right nav ul {
    display: flex;
    list-style: none;
    gap: 20px; /* Pastikan jarak antar item konsisten */
    margin-right: 150px; /* Pastikan margin kanan konsisten */
    align-items: center;
    padding: 0; /* Pastikan tidak ada padding yang tidak diinginkan */
}

header .header-right nav ul li a {
    text-decoration: none;
    color: white;
    font-size: 16px;
    padding: 5px 10px; /* Pastikan padding konsisten */
    display: flex;
    align-items: center;
}

header .header-right nav ul li a:hover {
    background-color: #51ceca;
    border-radius: 0px;
    color: #ffffff;
    transition: background-color 0.3s ease, color 0.3s ease;
}

header .header-right nav ul li a:active {
    background-color: #000000;
    color: #ffffff;
}

header .header-right nav ul li {
    position: relative;
    display: flex;
    align-items: center;
}

header .header-right nav ul li a {
    text-decoration: none;
    color: white;
    font-size: 16px;
    padding: 5px 10px;
    display: flex;
    align-items: center;
}

.shop a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    color: white;
    font-size: 16px;
    padding: 5px 10px;
    line-height: 40px;
}

.shop .arrow {
    margin-left: 5px;
    font-size: 12px;
    transform: rotate(0deg);
    transition: transform 0.3s ease;
}

.shop .dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #000;
    padding: 0px 0;
    list-style: none;
    z-index: 10;
}

.shop:hover .dropdown {
    display: block;
}

.shop:hover .arrow {
    transform: rotate(180deg);
}

.shop .dropdown li a {
    padding: 5px 15px;
    color: white;
    text-decoration: none;
}

.shop .dropdown li a:hover {
    background-color: #51ceca;
    display: block;
    width: 100%;
}

.shop .dropdown li a:active {
    background-color: #000000;
    color: #ffffff;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.shop:hover, .shop a {
    display: flex;
    align-items: center;
}

.swiper-container {
    width: 100%;
    height: 75vh;
    margin-top: 0;
    padding: 0;
    display: block;
    padding-bottom: 20px;
}

/* Gaya umum untuk semua gambar */
.swiper-slide img {
    width: 100%;
    height: 100%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    object-fit: cover; /* Pastikan gambar tetap proporsional */
}

/* Posisi vertikal individual */
.img-1 {
    object-position: center 40%; 
}

.img-2 {
    object-position: center center; 
}

.img-3 {
    object-position: center 70%; 
}

.img-4 {
    object-position: center 60%; 
}
.swiper-pagination {
    position: absolute;
    top: 10px;
    width: 100%;
    text-align: center;
    z-index: 10;
}

.swiper-pagination-bullet {
    width: 60px;
    height: 10px;
    background-color: #ffffff;
    opacity: 0.5;
    border-radius: 5px;
    margin: 0 5px;
    margin-top: 20px;
}

.swiper-pagination-bullet-active {
    background-color: #51ceca !important;
    opacity: 1;
}

main {
    margin-top: 0;
    padding-top: 0;
}

.content-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
    padding-top: 0;
}

.info-box {
    padding: 30px 40px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 0px;
    background-color: #000000;
    border: 1px solid #ddd;
    border-radius: 0px 0px 0px 0px;
    padding: 20px;
    box-shadow: 0 4px 10px #0000001a;
    width: 100%;
    min-height: 380px;
}

.about-section, .management-section {
    width: 48%;
    margin-left: 5px;
    text-align: center;
    padding: 50px;
}

.info-box h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #ffffff;
}

.info-box p {
    color: #ffffff;
    font-size: 16px;
    text-align: justify;
    line-height: 20pt;
}
.event-box {
    background-color: #000000;
    padding: 30px;
    width: 48%;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .info-box {
        flex-direction: column;
        gap: 15px;
    }

    .about-section, .management-section {
        width: 100%;
    }
}

footer {
    position: relative;
    text-align: center;
    background-color: #000;
    color: white;
    padding: 10px;
}

/* Bagian untuk Upcoming Events, pastikan ukuran font dan warnanya tidak berubah */
.divider {
    position: relative;
    text-align: center;
    margin: 40px 0;
    color: #ffffff;
}

.divider span {         
    position: relative;
    z-index: 2;
    font-size: 52px; /* Ukuran font yang sudah ditetapkan */
    font-weight: bold;
    padding: 0 20px;
    color: #ffffff; /* Warna yang sudah ditetapkan */
    margin-top: 120px;
    top: -10px;
}

.events-container {
    position: relative;
    background: linear-gradient(to bottom, #ffffff, #51ceca);
    padding: 60px; /* Tambahkan padding untuk memberi ruang lebih besar di dalam */
    padding-bottom: 60px;
    display: flex;
    background-size: 100% 100%;
    justify-content: space-between;
    gap: 40px; /* Lebih besar agar elemen dalam memiliki jarak lebih luas */
    width: 100%; /* Tetap memenuhi lebar layar */
    height: auto; /* Masih otomatis menyesuaikan konten */
    margin-top: 40px;
    min-height: 820px; /* Tinggi minimal ditingkatkan menjadi 800px */
    z-index: 0;
}
.events-container:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1400px; /* Atur tinggi background */
    background: linear-gradient(to bottom, #ffffff, #51ceca);
    z-index: -10; /* Letakkan di belakang konten */
}



/* Pastikan event-box tetap berada di atas gradient */
.events-container {
    display: flex; /* Menggunakan flexbox */
    justify-content: center; /* Menyelaraskan konten ke tengah */
    align-items: center; /* Menyelaraskan konten secara vertikal */
    gap: 20px; /* Jarak antar kotak */
    margin-top: 40px; /* Jarak atas */
}
.event-box {
    position: relative;
    background-color: #000000; /* Latar belakang hitam untuk event-box */
    padding: 20px;  /* Memperbesar padding dalam event-box */
    width: 40%;
    min-height: 400px;
    border-radius: 10px;
    justify-content: center;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Menambahkan efek bayangan */
    margin-bottom: 40px;
}

.event-box h4 {
    font-size: 36px;
    color: #ffffff;
    margin-bottom: 10px;
}

.event-box .event-date {
    font-size: 28px;
    color: #ffffff;
    margin-bottom: 15px;
    font-weight: bold;
}

.event-box .event-circuit {
    font-size: 20px;
    color: #ffffff;
    margin-top: 15px;
    font-weight: 600;
}

.event-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    object-position: center;
}

.event-description {
    font-size: 22px;
    margin-top: 20px;
    color: #ffffff;
    font-weight: 600;
}

.image-banner {
    position: relative; /* Kontainer harus memiliki positioning untuk mengatur gambar di dalamnya */
    margin-top: -300px;
    width: 100%;
    height: 250px; /* Tetap menggunakan tinggi yang sama */
    overflow: hidden; /* Pastikan gambar yang lebih besar dari kotak tidak keluar */
}

.image-banner img {
    margin-top: -500px;
    position: absolute; /* Gambar diatur secara absolut terhadap .image-banner */
    top: 0px; /* Geser gambar ke atas 20px */
    left: 0;
    width: 100%;
    height: auto; /* Agar gambar tetap proporsional */
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    animation: zoomInOut 120s infinite;
}


.upcoming-text {    /* tulisan ng ngisor upcoming teks */
    font-size: 20px;
    color: #ffffff; /* Warna teks */
    text-align: center;
    margin-bottom: 50px; /* Jarak dengan banner */
    line-height: 1.6; /* Tinggi garis */
    font-weight: 900; /* Ketebalan font */
    position: relative;
    z-index: 10;
    top: -55px;
}

  .highlight-us {
    color: #51ceca; /* Warna highlight untuk "US" */
    font-weight: bold; /* Opsional: Menebalkan teks */
}
h5 {
    font-size: 56px;
    text-align: center;
    line-height: 1.5;
    color: #ffffff;
    position: absolute;
    top: 1700px;
    z-index: 10;
    margin-top: -120px;
}



/* cek tiktok kita*/
.check-tiktok-text {
    color: #ffffff;
    font-size: 25px;
    top: 190px; /* Sesuaikan dengan jarak yang Anda inginkan */
    position: relative; /* Agar tetap dalam aliran dokumen */
    z-index: 30; /* Menghindari tumpang tindih dengan elemen lain */
}

/* Container untuk iframe TikTok */
.tiktok-container {
    position: relative; /* Posisi relatif untuk pengaturan elemen dalamnya */
    z-index: 10; /* Pastikan lebih tinggi dari elemen lainnya */
    display: flex;
    justify-content: space-between; /* Mengatur konten di tengah secara horizontal */
    align-items: center; /* Mengatur konten di tengah secara vertikal */
    gap: 90px;
    top: 200px;
    margin-top: 100px; /* Menurunkan container putih lebih banyak, sesuaikan jika perlu */
    padding: 40px;
    background-color: rgba(255, 255, 255, 0.9); /* Background semi transparan */
    border-radius: 8px; /* Border melengkung */
}

/* Atur iframe TikTok */
.tiktok-container blockquote {
    width: 48%; /* Atur lebar iframe */
    height: 700px; /* Tetap tinggi */
    margin-top: 0; /* Hilangkan margin yang tidak perlu */
    transform: translateY(-20px); /* Menggeser video TikTok ke bawah sedikit */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Efek bayangan */
}


/* Pengaturan iframe TikTok */
.tiktok-embed {
    margin-top: 20px; /* Pastikan iframe tidak punya margin tambahan */
    width: 100%;
    height: 100%;
}


/* Container gambar */
.image-box {
    position: relative;
    background-image: url('foto/bgkursi.jpg'); /* Pastikan path gambar benar */
    background-size: cover;
    background-position: center;
    color: white;
    padding: 40px 20px;
    margin-top: -1000px; /* Sesuaikan posisi gambar jika perlu */
    width: 100%;
    min-height: 1200px;
    z-index: 5; /* Gambar berada di bawah */
}




/* Animasi zoom maju dan mundur */
@keyframes zoomInOut {
    0% {
        transform: scale(1); /* Ukuran normal */
    }
    50% {
        transform: scale(1.5); /* Zoom in ke 2.5x */
    }
    100% {
        transform: scale(1); /* Kembali ke ukuran normal */
    }
}

@media (max-width: 768px) {
    .image-banner img {
        height: 300px; /* Tinggi lebih kecil untuk layar kecil */
    }

    .event-image {
        height: 200px;
    }
    
}
.box-2 {
    width: 100%; /* Lebar penuh */
    height: 500px; /* Atur tinggi yang sesuai */
    background: linear-gradient(to right, #51ceca, #000000); 
}

#sponsor-footer {
    background-color: #000; /* Warna hitam */
    color: #fff; /* Warna teks */
    padding: 20px 0; /* Ruang atas-bawah */
    margin-top: auto; /* Menempel di bawah */
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sponsor-section h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #ffffff;
}

.sponsor-grid {
    display: flex;
    justify-content: center; /* Ratakan logo di tengah */
    gap: 20px; /* Jarak antar logo */
    flex-wrap: wrap; /* Agar logo yang terlalu banyak pindah ke baris berikutnya */
    padding: 10px 0;
    align-items: center; /* Ratakan logo secara vertikal */
}

/* Default ukuran untuk semua logo */
.sponsor-logo img {
    height: 100px;
    width: auto; /* Jaga proporsi gambar */
    object-fit: contain;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Ukuran khusus untuk masing-masing logo */
.sponsor-logo.garuda img {
    height: 190px; /* Atur tinggi untuk Garuda */
    margin-top: -100;
}

.sponsor-logo.kahf img {
    height: 130px; /* Atur tinggi untuk Kahf */
}

.sponsor-logo.irc img {
    height: 100px; /* Atur tinggi untuk IRC */
}

.sponsor-logo.bni img {
    height: 70px; /* Atur tinggi untuk BNI */
}

/* Efek hover tetap konsisten */
.sponsor-logo a:hover img {
    transform: scale(1.1);
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.horizontal-line {
    width: 80%; /* Lebar garis */
    height: 2px; /* Tinggi garis */
    background-color: #ccc; /* Warna garis */
    margin: 20px auto; /* Memastikan tengah */
    border-radius: 1px;
}

.footer-content {
    margin-top: 20px;
    font-size: 14px;
    color: #fff;
    text-align: center;
}
@media (max-width: 768px) {
    .sponsor-logo a:hover img {
        transform: scale(1.05); /* Kurangi efek hover untuk layar kecil */
    }
}
.achievement-section h3 {
    font-size: 2.5rem; /* Ubah ukuran font sesuai kebutuhan */
    color: #000000; /* Pastikan warna teks tetap terlihat */
    margin-bottom: 20px; /* Tambahkan margin bawah jika perlu */
}

.achievement-card {
    background: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    max-width: 300px;
    text-align: center; /* Center align text */
    display: flex; /* Use flexbox */
    flex-direction: column; /* Stack children vertically */
    align-items: center; /* Center children horizontally */
    justify-content: center; /* Center children vertically */
    height: 200px; /* Set a fixed height for vertical centering */
}

.achievement-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0; /* Remove margin to help with vertical centering */
}

.achievement-card p {
    font-size: 1rem;
    color: #555;
    line-height: 1.5;
    margin: 0; /* Remove margin to help with vertical centering */
}