/* Base Styles - Reka Bentuk Kemas & Konsisten */
:root {
    --primary-color: #e53935; /* Merah terang */
    --secondary-color: #c62828; /* Merah tua */
    --accent-color: #d50000; /* Merah accent */
    --light-color: #ffffff; /* Putih */
    --dark-color: #b71c1c; /* Merah gelap */
    --text-color: #212121; /* Hitam untuk teks */
    --light-text: #ffffff; /* Putih untuk teks */
    --highlight-color: #ffcdd2; /* Merah muda highlight */
    --bg-light-gray: #f7f7f7; /* Latar belakang kelabu cerah */
    --section-padding: 3rem 2.5rem; /* Padding atas/bawah 3rem, KIRI/KANAN 2.5rem */
    --border-radius: 8px;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
    position: relative;
    overflow-x: hidden;
}

/* Alert Banner */
.alert-banner {
    background-color: var(--accent-color);
    color: var(--light-text);
    text-align: center;
    padding: 0.8rem 2.5rem;
    font-weight: bold;
    font-size: 1.1rem;
    position: relative;
    z-index: 10;
}

/* Main Content - Gambar Utama */
section.main-content,
div.main-content {
    width: 100%;
    text-align: center;
    padding: 0; 
    background-color: var(--light-color);
    line-height: 0;
}

.main-image {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border: 3px solid var(--primary-color);
    display: inline-block;
}

.main-content .main-image {
    border-radius: 0;
    box-shadow: none;
    border: none;
}

.desktop-image {
    display: block;
}

.mobile-image {
    display: none;
}

/* Sections */
section {
    padding: var(--section-padding);
    position: relative;
}

/* Container untuk mengehadkan lebar kandungan */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Latar Belakang Berselang-seli */
.section-about,
.section-prevention,
.section-benefits {
    background-color: var(--bg-light-gray);
}

.section-effects,
.section-testimonials,
.section-methods {
    background-color: var(--light-color);
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-header h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    padding: 0 1rem;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
}

.highlight {
    color: var(--accent-color);
    font-weight: bold;
    background-color: var(--highlight-color);
    padding: 0 0.3rem;
}

/* Section: Effects */
.two-column-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.column h3 {
    color: var(--secondary-color);
    margin: 1.5rem 0 1rem;
    font-size: 1.3rem;
    border-left: 4px solid var(--accent-color);
    padding-left: 1rem;
}

.column ul {
    list-style-position: inside;
    margin-left: 1rem;
}

.column li {
    margin-bottom: 0.8rem;
    padding-left: 0.5rem;
}

/* Section: Prevention */
.section-prevention ul {
    list-style-type: none;
    margin: 1.5rem 0;
}

.section-prevention li {
    padding: 0.8rem 1rem;
    margin-bottom: 0.5rem;
    background-color: var(--highlight-color);
    border-left: 4px solid var(--accent-color);
    color: var(--text-color);
    font-weight: 500;
}

/* Section: Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.testimonial-card {
    background-color: var(--light-color);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border: 2px solid var(--primary-color);
    position: relative;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.testimonial-card i {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1rem;
}

.rating {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.testimonial-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.testimonial-card p:last-child {
    font-weight: bold;
    color: var(--secondary-color);
    font-style: normal;
}

/* Section: Benefits */
.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.benefit-card {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    border: 2px solid var(--primary-color);
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    border-color: var(--accent-color);
}

.benefit-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 2px solid var(--primary-color);
}

.benefit-card h3 {
    padding: 1rem;
    text-align: center;
    color: var(--primary-color);
    background-color: var(--highlight-color);
}

/* Section: Methods */
.methods-grid {
    margin-bottom: 2rem;
}

.methods-image-container {
    text-align: center;
    margin-bottom: 1rem;
}

.methods-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border: 3px solid var(--primary-color);
}

.methods-image-container h3 {
    color: var(--secondary-color);
    margin-top: 1rem;
    background-color: var(--highlight-color);
    padding: 0.5rem;
    border-radius: var(--border-radius);
    display: inline-block;
}

.methods-content ul {
    list-style-type: none;
}

.methods-content li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    border-bottom: 1px dashed var(--highlight-color);
    padding-bottom: 0.5rem;
}

.methods-content li::before {
    content: "•";
    color: var(--accent-color);
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.5rem;
    line-height: 1;
}

.methods-content li strong {
    color: var(--secondary-color);
}

/* Section: Registration */
.section-registration {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-color) 100%);
    color: var(--light-text);
    text-align: center;
}

.registration-grid {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.price-box {
    background-color: var(--light-color);
    color: var(--text-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 1.5rem;
    border: 3px solid var(--accent-color);
}

.price-box p:first-child {
    color: var(--secondary-color);
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.price-box h3 {
    color: var(--accent-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.price-box p:last-child {
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.btn-register {
    background-color: var(--accent-color);
    color: var(--light-text);
    border: none;
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: bold;
    display: inline-block;
    text-decoration: none;
    border: 2px solid var(--light-color);
}

.btn-register:hover {
    background-color: var(--dark-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.countdown-box {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    border: 2px solid var(--light-color);
}

.countdown-box p {
    margin-bottom: 0.5rem;
}

#participant-count {
    font-size: 3.5rem;
    font-weight: bold;
    color: var(--light-color);
    margin: 0.5rem 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-button-container {
    margin-top: 2rem;
}

.cta-button {
    padding: 1rem 3rem;
    font-size: 1.2rem;
    background-color: var(--light-color);
    color: var(--accent-color);
    border: 2px solid var(--light-color);
}

.cta-button:hover {
    background-color: transparent;
    color: var(--light-text);
}

/* Background Pattern */
.background-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSg0NSkiPjxyZWN0IHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgZmlsbD0icmdiYSgyMjksIDU3LCA1MywgMC4wNSkiLz48L3BhdHRlcm4+PC9kZWZzPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjcGF0dGVybikiLz48L3N2Zz4=');
    z-index: -1;
    opacity: 0.3;
}

/* Counting Animation */
.counting {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* === Responsive Styles === */
@media (max-width: 767px) {
    :root {
        --section-padding: 3rem 1rem;
    }

    .alert-banner {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .desktop-image {
        display: none;
    }
    
    .mobile-image {
        display: block;
        width: 100%;
    }

    /* ===== PERUBAHAN UNTUK MUDAH ALIH ===== */
    .section-header h2 {
        font-size: 1.5rem; /* Saiz tajuk dikecilkan */
    }

    .price-box {
        padding: 1.5rem;
    }
    
    .price-box h3 {
        font-size: 1.8rem; /* Saiz harga dikecilkan */
    }
    
    #participant-count {
        font-size: 2.8rem; /* Saiz nombor pendaftaran dikecilkan */
    }

    .countdown-box {
        padding: 1.5rem;
    }

    .countdown-box p {
        font-size: 0.9rem;
    }
}

@media (min-width: 768px) {
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .two-column-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .methods-image {
        max-width: 100%;
    }
}

@media (min-width: 992px) {
    .testimonials-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
    
    .section-header h2 {
        font-size: 2.5rem;
    }
    
    .price-box {
        padding: 2.5rem;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

/* Ensure images don't overflow */
img {
    max-width: 100%;
    height: auto;
}

/* === Footer Styles === */
.site-footer {
    background-color: #1c1c1c; /* Warna kelabu gelap */
    color: #b0b0b0; /* Warna teks kelabu cerah */
    font-size: 0.8rem;
    line-height: 1.7;
}

.footer-bar {
    background-color: #000000; /* Bar hitam untuk copyright */
    color: #ffffff;
    padding: 1rem;
    text-align: center;
    font-size: 0.9rem;
}

.footer-bar p {
    margin: 0;
}

.footer-disclaimer {
    padding: 2.5rem;
    max-width: 800px; /* Lebar maksimum untuk mudah baca */
    margin: 0 auto; /* Tengahkannya */
    text-align: justify;
}

.footer-disclaimer p {
    margin-bottom: 1.5rem;
}

.footer-disclaimer p:last-child {
    margin-bottom: 0;
}

.footer-disclaimer strong {
    color: #ffffff; /* Tajuk kecil dalam disclaimer berwarna putih */
}