/* General Body Styles */
body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    color: #2c3e50;
}

a {
    text-decoration: none;
    color: #3498db;
}

a:hover {
    color: #2980b9;
}

.text-center {
    text-align: center;
}

/* Header and Navigation */
header {
    background-color: #2c3e50;
    color: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo a {
    color: #fff;
    font-size: 1.8em;
    font-weight: 700;
}

header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

header nav ul li {
    margin-left: 25px;
}

header nav ul li a {
    color: #fff;
    font-weight: 600;
    transition: color 0.3s ease;
}

header nav ul li a:hover {
    color: #3498db;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-report {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-align: center;
    font-weight: 600;
    margin: 10px 5px;
}

.btn-primary {
    background-color: #3498db;
    color: #fff;
    border: 2px solid #3498db;
}

.btn-primary:hover {
    background-color: #2980b9;
    border-color: #2980b9;
}

.btn-secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background-color: rgba(255,255,255,0.2);
    color: #fff;
}

.btn-report {
    background-color: #27ae60;
    color: #fff;
    border: 2px solid #27ae60;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-report img {
    margin-right: 10px;
    width: 25px; /* Adjust icon size */
    height: 25px;
}

.btn-report:hover {
    background-color: #229a56;
    border-color: #229a56;
}

/* Hero Section */
.hero-section {
    background: url('https://via.placeholder.com/1500x600/34495e/ffffff?text=Poster+Anti+Korupsi') no-repeat center center/cover;
    color: #fff;
    text-align: center;
    padding: 100px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5); /* Dark overlay */
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #fff;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #eee;
}

/* Section Styling (General) */
section {
    padding: 60px 0;
    text-align: center;
}

section:nth-of-type(even) {
    background-color: #ecf0f1;
}

section h2 {
    font-size: 2.5em;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

section h2::after {
    content: '';
    width: 60px;
    height: 3px;
    background-color: #3498db;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
}

/* Education Section */
.education-section {
    background-color: #fff;
}

.edu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.edu-item {
    background-color: #ecf0f1;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-align: left;
    transition: transform 0.3s ease;
}

.edu-item:hover {
    transform: translateY(-5px);
}

.edu-item img {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
}

.edu-item h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.edu-item p {
    font-size: 0.95em;
    line-height: 1.6;
    margin-bottom: 15px;
}

.read-more {
    font-weight: 600;
    color: #3498db;
}

/* News Section */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.news-item {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    text-align: left;
    transition: transform 0.3s ease;
}

.news-item:hover {
    transform: translateY(-5px);
}

.news-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-item h3 {
    padding: 15px 20px 0;
    font-size: 1.4em;
    margin-bottom: 10px;
}

.news-item p {
    padding: 0 20px 15px;
    font-size: 0.9em;
    color: #555;
}

.news-item .read-more {
    display: block;
    padding: 0 20px 20px;
    font-weight: 600;
}

/* Video Section */
.video-section {
    background-color: #f4f4f4;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    margin: 40px auto;
    max-width: 800px; /* Max width for consistency */
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

.video-caption {
    margin-top: 20px;
    font-style: italic;
    color: #666;
}

/* Report Section */
.report-section {
    background-color: #3498db;
    color: #fff;
}

.report-section h2 {
    color: #fff;
}

.report-section h2::after {
    background-color: #fff;
}

.report-section p {
    font-size: 1.1em;
    margin-bottom: 30px;
}

.report-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.report-links .btn-report {
    background-color: #27ae60;
    color: #fff;
    border: 2px solid #27ae60;
    min-width: 280px;
}

.report-links .btn-report:hover {
    background-color: #229a56;
    border-color: #229a56;
}

.report-section .disclaimer {
    margin-top: 30px;
    font-size: 0.9em;
    opacity: 0.8;
}

/* Quiz Section */
.quiz-section {
    background-color: #fff;
}

.quiz-section form {
    background-color: #ecf0f1;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    max-width: 700px;
    margin: 40px auto 0;
    text-align: left;
}

.question-block {
    margin-bottom: 25px;
}

.question-block p {
    font-size: 1.1em;
    font-weight: 600;
    margin-bottom: 10px;
    color: #2c3e50;
}

.question-block input[type="radio"] {
    margin-right: 8px;
}

.question-block label {
    font-size: 1em;
    cursor: pointer;
}

.quiz-section .btn-primary {
    margin-top: 20px;
    width: auto;
    padding: 10px 30px;
    font-size: 1em;
}

.quiz-result {
    margin-top: 30px;
    font-size: 1.2em;
    font-weight: 600;
    color: #2c3e50;
    display: none; /* Hidden by default */
}

/* Quote Section */
.quote-section {
    background-color: #2c3e50;
    color: #fff;
    padding: 80px 20px;
    font-style: italic;
}

.quote-section blockquote {
    font-size: 2.2em;
    max-width: 800px;
    margin: 0 auto 20px;
    line-height: 1.4;
}

.quote-section cite {
    display: block;
    font-size: 1.2em;
    font-weight: 600;
    margin-top: 15px;
    opacity: 0.9;
}

/* Footer */
footer {
    background-color: #333;
    color: #fff;
    padding: 30px 0;
    text-align: center;
    font-size: 0.9em;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

footer p {
    margin: 0;
}

.social-links a {
    color: #fff;
    margin-left: 15px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #3498db;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5em;
    }

    .hero-content p {
        font-size: 1em;
    }

    header nav {
        flex-direction: column;
    }

    header nav ul {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    header nav ul li {
        margin: 5px 10px;
    }

    .edu-grid, .news-grid {
        grid-template-columns: 1fr;
    }

    .video-wrapper {
        padding-bottom: 75%; /* Adjust for smaller screens (e.g., 4:3) */
    }

    .report-links {
        flex-direction: column;
        align-items: center;
    }

    .report-links .btn-report {
        width: 90%; /* Make buttons full width on small screens */
        max-width: 300px;
    }

    .quiz-section form {
        padding: 25px;
    }

    .quote-section blockquote {
        font-size: 1.6em;
    }

    footer .container {
        flex-direction: column;
    }

    footer p {
        margin-bottom: 15px;
    }

    .social-links {
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2em;
    }
}