/* Reset default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

/* Header & Navigation */
header {
    background-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-radius: 0 0 20px 20px;
    backdrop-filter: blur(5px);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo h1 {
    color: #5CB338;
    font-size: 2rem;
}

.logo img {
    width: 50px;
    height: 50px;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #5CB338;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: #FFC145;
}

/* Hero Section */
#hero {
    height: 100vh;
    background: linear-gradient(135deg, #5CB338 0%, #ECE852 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 1rem;
}

.hero-content {
    color: white;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    background-color: #ffffff;
    color: #5CB338;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.cta-button:hover {
    transform: translateY(-3px);
    background-color: #FFC145;
    color: #ffffff;
    border-color: #ffffff;
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* Features Section */
#features {
    padding: 5rem 1rem;
    background-color: #ECE852;
}

#features h2 {
    text-align: center;
    color: #5CB338;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    justify-items: center;
    align-items: center;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
    width: 100%;
    max-width: 300px;
}

.feature-card:hover {
    transform: translateY(-5px);
    border: 2px solid #5CB338;
}

.feature-card h3 {
    color: #5CB338;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #666;
}

.feature-card img {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
    object-fit: contain;
}


/* Footer */
footer {
    background-color: #5CB338;
    color: white;
    text-align: center;
    padding: 1.5rem;
}

.footer-info {
    display: flex;
    justify-content: left;
    padding: 2rem 5%;
    background-color: #5CB338;
}

.contact-section {
    max-width: 300px;
    text-align: left;
}

.contact-section h4 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.contact-details {
    color: #ECE852;
}

.contact-group {
    margin-bottom: 1.5rem;
}

.contact-group h5 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.contact-group p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.contact-group strong {
    color: #FFC145;
}

/* Registration Section */
#registration {
    padding: 4rem 5%;
    background-color: #ECE852;
}

.registration-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.registration-content h2 {
    font-size: 2.5rem;
    color: #5CB338;
    margin-bottom: 1.5rem;
}

.registration-content p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.requirements {
    text-align: left;
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.requirements h3 {
    color: #5CB338;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.requirements ul {
    list-style-type: none;
    padding: 0;
}

.requirements ul li {
    color: #555;
    padding: 0.5rem 0;
    font-size: 1.1rem;
    position: relative;
    padding-left: 1.5rem;
}

.requirements ul li:before {
    content: "•";
    color: #5CB338;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.registration-cta {
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(255,255,255,0.9);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.registration-cta p {
    font-size: 1.3rem;
    color: #5CB338;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.registration-cta .cta-button {
    background: #5CB338;
    color: white;
    font-size: 1.2rem;
    padding: 1.2rem 3rem;
}

.registration-cta .cta-button:hover {
    background: #FFC145;
    transform: translateY(-3px) scale(1.05);
}

@media (max-width: 768px) {
    .registration-content h2 {
        font-size: 2rem;
    }
    
    .requirements {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .footer-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .contact-section {
        width: 100%;
        padding: 0 1rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
}

/* Menyembunyikan scrollbar */
::-webkit-scrollbar {
    display: none;
}

/* Untuk Firefox */
* {
    scrollbar-width: none;
}

/* Untuk Internet Explorer dan Edge */
* {
    -ms-overflow-style: none;
}

/* Hamburger Menu Styles */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
    transition: transform 0.3s ease;
}

.hamburger:hover {
    transform: scale(1.1);
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #5CB338;
    margin: 2px 0;
    transition: all 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
}

/* Animasi hamburger menu saat aktif */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.95);
        padding: 1rem 0;
        text-align: center;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        border-radius: 20px;
        backdrop-filter: blur(5px);
        animation: slideDown 0.3s ease-out forwards;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .nav-links.active li {
        margin: 1rem 0;
        animation: fadeIn 0.5s ease-out forwards;
        opacity: 0;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateX(-20px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }
}
