  /* ========== Reset CSS untuk konsistensi ========== */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
} 

body {
    font-family: 'Times New Roman', Times, serif;
    background-color: #f8f9fa;
    color: #333;
}

  /* ========== Navbar ========== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #2a4d2f; 
    font-family: 'Times New Roman', Times, serif;
    font-size: 1.25rem;
    font-weight: 500;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 15px 30px;
}

.navbar-brand img {
    height: 40px;
}

.navbar-nav {
    display: flex;
    justify-content: center;
    flex-grow: 1;
}

.navbar-nav .nav-item {
    margin-left: 20px;
}

.nav-link {
    color: #2a4d2f !important;
}

.nav-link:hover {
    color: #2a4d2f !important;
}

.btn-primary {
    margin-left: 10px;
    white-space: nowrap;
    background-color: #ffffff; 
    border-color: #2a4d2f;
    color: #2a4d2f; 
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    background-color: #1b3d29; 
    border-color: #1b3d29; 
    color: white;
}

.btn-primary:active, .btn-primary:focus {
    background-color: #1b3d29 !important;
    border-color: #1b3d29 !important;
    color: white !important;
}

/* ========== Video Header Full Width ========== */
.video-container {
    position: relative;
    width: 100vw;
    max-height: 400px;
    overflow: hidden;
}

.video-header {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

/* ========== Marquee Text ========== */
.marquee-container {
    position: absolute;
    bottom: 20px;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    background: rgba(0, 0, 0, 0.5);
    padding: 5px 0;
    display: flex;
    justify-content: center;
}

/* ========== News Section Styling ========== */
.news-box {
    max-width: 100%; /* Menyesuaikan lebar kotak dengan kontainer */
    width: 100%; /* Menyesuaikan lebar kotak dengan kontainer */
    max-width: 800px; /* Menambahkan batasan lebar maksimal kotak agar tidak melebihi 800px */
    margin: 20px auto; /* Meratakan kotak di tengah */
    padding: 20px;
    border: 1px solid #ddd; /* Border kotak */
    border-radius: 8px; /* Agar sudut kotak tumpul */
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Bayangan agar kotak lebih menonjol */
    margin-bottom: 30px; /* Memberi jarak antar kotak */
    overflow: hidden; /* Menyembunyikan konten yang meluap */
}

/* Gaya untuk judul berita */
.news-subtitle {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2a4d2f;
    margin-bottom: 15px; /* Jarak antara judul dan konten berita */
}

/* Gaya untuk deskripsi berita */
.news-description {
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
    margin-bottom: 20px;
    word-wrap: break-word; /* Membungkus kata yang panjang agar tidak melebihi kotak */
}

/* Gaya untuk bagian tanggal */
.news-date {
    font-size: 0.875rem;
    color: #888;
}

/* Styling untuk gambar berita */
.news-box img {
    width: 100%;
    max-height: 300px; /* Membatasi tinggi gambar agar tidak terlalu besar */
    object-fit: cover; /* Menjaga proporsi gambar tetap baik meskipun terpotong */
    border-radius: 8px;
    margin-bottom: 15px; /* Jarak antara gambar dan teks */
}

/* Responsif pada layar kecil */
@media (max-width: 768px) {
    .news-box {
        padding: 15px; /* Mengurangi padding pada layar kecil */
        width: 90%; /* Mengurangi lebar kotak untuk layar kecil */
    }

    .news-subtitle {
        font-size: 1.25rem; /* Ukuran font yang lebih kecil pada layar kecil */
    }

    .news-description {
        font-size: 0.9rem; /* Ukuran font deskripsi lebih kecil */
    }

    .news-date {
        font-size: 0.75rem; /* Ukuran font tanggal lebih kecil */
    }
}
/* ========== CSS untuk Merchandise Section ========== */
.merchandise-box {
    width: 300px;  /* Fixed width */
    height: 400px;  /* Fixed height */
    margin: 15px auto;
    padding: 0; /* No padding since the image is the main content */
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;  /* To prevent the image from spilling out */
}

/* Image within the merchandise box */
.merchandise-box img {
    width: 100%;
    height: 100%;  /* Adjust image to the box size */
    object-fit: cover;  /* Maintain aspect ratio */
    border-radius: 8px;
}


/* Kotak berita dengan gambar yang sesuai */
.news-box {
    width: 100%;
    max-width: 800px;
    margin: 20px auto;
    padding: 0;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    overflow: hidden; /* Agar gambar tidak keluar kotak */
}

/* Gambar di dalam kotak berita */
.news-box img {
    width: 100%;
    height: 300px; /* Ukuran gambar tetap */
    object-fit: cover; /* Menjaga proporsi gambar */
    border-radius: 8px;
}

/* Kotak berita */
.news-box {
    width: 100%;
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    overflow: hidden;
}


/* ========== CSS untuk News Section tanpa Gambar dan Testimonial ========== */
.testimonial-section {
    padding: 40px 0;
}

.testimonial-section h3 {
    font-size: 2rem;
    color: #2a4d2f;
    text-align: center;
    margin-bottom: 30px;
}

.testimonial-box {
    background-color: #f1f1f1;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.testimonial-text {
    font-size: 1rem;
    color: #333;
    margin-bottom: 10px;
}

.testimonial-author {
    font-weight: 700;
    color: #2a4d2f;
    text-align: center;
}

.testimonial-box p {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 10px;
}

.testimonial-box h5 {
    font-size: 1.1rem;
    font-weight: bold;
    color: #2a4d2f;
}

/* Styling for the Reviews Section */
.reviews-section {
    padding: 40px 0;
}

.reviews-section h3 {
    font-size: 2rem;
    color: #2a4d2f;
    text-align: center;
    margin-bottom: 30px;
}

.review-box {
    background-color: #f1f1f1;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.review-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #2a4d2f;
}

.review-text {
    font-size: 1rem;
    color: #333;
    margin-bottom: 15px;
}


.marquee-text {
    display: inline-block;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    animation: marquee-scroll 10s linear infinite;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    white-space: normal;
    text-align: center;
}

@keyframes marquee-scroll {
    from { transform: translateX(100%); }
    to { transform: translateX(-100%); }
}

/* ========== Footer ========== */
.footer {
    background-color: #2a4d2f;
    color: white;
    padding: 20px 0;
    text-align: center;
    margin-top: 50px;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
}

.footer-logo-img {
    height: 40px;
    margin-right: 10px;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

.social-icon {
    font-size: 30px;
    color: white;
    transition: color 0.3s ease-in-out;
}

.social-icon:hover {
    color: #e8f5e9;
}

.footer-jargon {
    margin-top: 15px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #e8f5e9;
}

/* ========== Fade-in Effect ========== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}
