* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #362222;
    color: #F5EFE6;
    overflow-x: hidden;
}

.navbar {
    transition: all 0.3s ease;
    padding: 15px 0;
    background-color: rgba(54, 34, 34, 0.9);
    backdrop-filter: blur(10px);

}

.navbar .container .navbar-brand {
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
}

.navbar-nav .nav-item .nav-link {
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
}

.navbar.scrolled {
    background-color: rgba(54, 34, 34, 0.9) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}

@media (max-width: 768px) {
    .navbar-collapse {
        background-color: rgba(144, 54, 54, 0.9);
        padding: 20px;
        border-radius: 10px;
        margin-top: 15px;
    }

    .btn-custom {
        width: 100%;
        margin-top: 15px;
        text-align: center;
    }

    .nav-item {
        margin: 5px 0;
    }
}

.logo-icon {
    height: 40px;
    transition: all 0.3s ease;
}

.navbar.scrolled .logo-icon {
    height: 35px;
}

.btn-custom-red {
    background-color: #A23D3D;
    color: white;
    border-radius: 8px;
    padding: 8px 20px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-custom-red:hover {
    background-color: #8a3434;
    color: white;
}

.nav-link {
    position: relative;
    margin: 0 10px;
    font-weight: 500;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #F5EFE6;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

::-webkit-scrollbar {
    width: 10px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #781B0A;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a62c0f;
}


.scroll-bg {
    background-color: #781B0A;
    padding: 30px;
    height: 500px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.scroll-div {
    height: 100%;
    overflow-y: scroll;
}

.scroll-object {
    font-size: 1rem;
    line-height: 1.6;
    margin: 20px;
    text-align: justify;
}

.scroll-div::-webkit-scrollbar {
    width: 8px;
}

.scroll-div::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 10px;
}

.scroll-div::-webkit-scrollbar-thumb:hover {
    background-color: #555;
}

.timeline-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
    color: #fff;
}

.timeline-title {
    font-family: 'Alfa Slab One', serif;
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.timeline {
    position: relative;
    margin: 0;
    padding-left: 30px;
    border-left: 3px solid #ffc107;
}

.timeline-item {
    margin-bottom: 2rem;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 0;
    width: 20px;
    height: 20px;
    background: #ffc107;
    border-radius: 50%;
    border: 3px solid #fff;
}

.timeline-date {
    font-weight: bold;
    color: #ffc107;
    margin-bottom: 0.25rem;
    margin-left: 1rem;

}

.timeline-content {
    background: #333;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.timeline-content h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
}

.timeline-content p {
    font-family: 'Poppins', sans-serif;
}

.footer {
    background-color: #202020;
    color: #f5f5f5;
    padding: 2rem 1.5rem;
    font-family: 'Poppins', sans-serif;
    border-top: 1px solid #444;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-left,
.footer-right {
    flex: 1;
    min-width: 250px;
}

.footer-left p a {
    font-family: 'Poppins', sans-serif;
    color: #f5f5f5;
}

.footer h4 {
    margin-bottom: 0.5rem;
    color: #FFD369;
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
}

.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer ul li {
    margin-bottom: 0.4rem;
    font-size: 0.95rem;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.85rem;
    font-family: 'Poppins', sans-serif;
    color: #999;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
}


.danger-tape {
    width: 100%;
    display: flex;
    justify-content: center;

}

.danger-tape img {
    max-width: 100%;
    height: auto;
}

main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 50px;
}

.content-text {
    flex: 1.2;
}

.content-text h1 {
    font-family: 'Alfa Slab One', serif;
    font-size: 4.5rem;
    line-height: 1.2;
    color: #F5EFE6;
    margin-bottom: 1.5rem;
}

.content-text p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

.btn-about {
    text-decoration: none;
    display: inline-block;
    color: #F5EFE6;
    background-color: #A23D3D;
    padding: 0.7rem 1.7rem;
    border-radius: 8px;
    transition: background-color 0.3s ease;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

.btn-about:hover {
    background-color: #b94f4f;
}

.content-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.content-image a img {
    top: 10px;
    max-width: 80%;
    height: auto;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-12px);
    }

    100% {
        transform: translateY(0px);
    }
}

.danger-tape img {
    width: 100%;
    height: auto;
    object-fit: flex;
    max-width: flex;
    padding-top: 3rem
}

.informasi-container .content-text {
    font-family: 'Alfa Slab One', serif;
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.inf {
    padding: 2rem;
    display: flex;
    flex-wrap: wrap;
}

.card-sec {
    flex-grow: 1;
    flex-basis: 200;
    padding: 1rem;
}

.icon-download {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card {
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    border-radius: 10px;
}

.card h5{
    color: #3d2f1b;
    font-weight: bold;
}
.card p {
    color: #444;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

@media (max-width: 991px) {
    .navbar-nav {
        gap: 0.5rem;
        text-align: center;
        margin-top: 1rem;
        margin-bottom: 1rem;
    }

    .btn-custom-red {
        width: 100%;
    }

    main {
        flex-direction: column;
        text-align: center;
        padding-top: 2rem;
    }

    .content-image {
        order: -1;
        margin-bottom: 2rem;
    }

    .content-image img {
        max-width: 250px;
    }

    .content-text h1 {
        font-size: 3rem;
    }
}

@media (max-width: 500px) {
    .content-text h1 {
        font-size: 2.5rem;
    }

    .content-text p {
        font-size: 1rem;
    }
}

.faq-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    border-radius: 12px;
}

.faq-section .faq-container {
    background: #f2e4c9;
    padding: 2rem;
    border-radius: 30px;
}

.faq-title {
    font-family: 'Alfa Slab One', serif;
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.faq-item {
    margin-bottom: 1rem;
    border-bottom: 1px solid #ccc;
}

.faq-question {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    font-weight: bold;
    background-color: #e2d1b6;
    color: #3d2f1b;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #d6b88b;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding: 0 1rem;
}

.faq-answer p {
    margin: 1rem 0;
    font-size: 0.95rem;
    color: #444;
}

.sponsor-section {
    padding: 3rem 1rem;
    text-align: center;
}

.sponsor-section h2 {
    font-family: 'Alfa Slab One', serif;
    font-size: 2rem;
    color: #b0893e;
    margin-bottom: 1rem;
}

.logo-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.logo-container img {
    max-height: 90px;
    max-width: 160px;
    padding: 0.5rem;
    border-radius: 12px;
    background-color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.logo-container img:hover {
    filter: grayscale(0%);
    transform: scale(1.05);
}


.sponsor-section {
    padding: 3rem 1rem;
    text-align: center;
}

.sponsor-section h2 {
    font-family: 'Alfa Slab One', serif;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.logo-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.logo-container img:hover {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.social-media a {
    display: inline-block;
    margin: 5px 0;
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.social-media a:hover {
    color: #4267B2; /* Or your preferred hover color */
}

.social-media i {
    margin-right: 8px;
    width: 20px;
    text-align: center;
}