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

:root {
    --hijau: #1a7f37;
    --kuning: #ffd700;
    --merah: #dc3545;
    --hijau-tua: #0d5c28;
    --kuning-tua: #e6c200;
    --merah-tua: #c82333;
}

body {
    font-family: 'Roboto', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Header & Navigation */
header {
    background: transparent;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

header.scrolled {
    background: linear-gradient(135deg, rgba(26, 127, 55, 0.95) 0%, rgba(13, 92, 40, 0.95) 100%);
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1001;
}

.logo img {
    height: 50px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--kuning);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: all 0.3s;
    border-radius: 3px;
}

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

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.btn-primary {
    background: var(--kuning);
    color: var(--hijau-tua);
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    background: var(--kuning-tua);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.btn-secondary {
    background: white;
    color: var(--hijau);
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s;
    border: 2px solid white;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    background: red;
    color: white !important;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    padding: 6rem 2rem 8rem 2rem; /* Add more bottom padding for the wave */
    position: relative;
    overflow: hidden;
}

.hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../../kantor-gub1.jpeg') center/cover;
    z-index: -2;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 127, 55, 0.85) 0%, rgba(13, 92, 40, 0.9) 100%);
    z-index: -1;
}

.hero-container {
    max-width: 1200px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    z-index: 2;
}

/* Wave Shape at bottom of hero */
.wave-shape {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%; 
    overflow: hidden;
    line-height: 0;
    transform: translateY(1px); /* Force it to cover the gap */
}

.wave-shape svg {
    position: relative;
    display: block;
    width: 100%;
    height: 120px; /* Increased height for a more gentle curve */
}

.wave-shape .shape-fill-primary {
    fill: #f8f9fa; /* Match the background of the next section */
}

.wave-shape .shape-fill-secondary {
    fill: rgba(255, 255, 255, 0.2);
}

.hero-content {
    flex: 1;
    max-width: 50%;
    text-align: left;
}

.hero-illustration {
    flex: 1;
    max-width: 45%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-illustration svg {
    width: 100%;
    max-width: 450px;
    height: auto;
    animation: float 6s ease-in-out infinite;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease;
    line-height: 1.2;
}

.hero h1 span {
    color: var(--kuning);
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 90%;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    animation: fadeInUp 1.2s ease;
}

.hero-content .btn-primary {
    font-size: 1.1rem;
    padding: 1rem 2rem;
}


@keyframes float {
    0%, 100% { transform: scale(1); }
    50% { transform: translateY(-20px) scale(1.02); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Breadcrumb Banner Section */
.breadcrumb-banner {
    position: relative;
    color: white;
    padding: 8rem 2rem 10rem 2rem; /* Padding atas dan bawah untuk konten */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    height: 380px; /* Tinggi banner */
}

.breadcrumb-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 127, 55, 0.85) 0%, rgba(13, 92, 40, 0.9) 100%);
    z-index: -1;
}

.breadcrumb-banner-content {
    z-index: 2;
}

.breadcrumb-banner h1 {
    font-size: 2.8rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.breadcrumb-banner .breadcrumb {
    background: transparent;
    padding: 0;
}

.breadcrumb-banner .breadcrumb-item a {
    color: var(--kuning);
    text-decoration: none;
}

.breadcrumb-banner .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.8);
}

/* Section Styles */
section {
    padding: 5rem 2rem;

    margin-top: 0; /* Remove margin-top */
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--hijau-tua);
    margin-bottom: 0.5rem;
}

.section-title h2 span {
    color: var(--merah);
}

.section-title p {
    color: #666;
    font-size: 1.1rem;
}

/* Definition Section */
.definition {
    background: #f8f9fa; /* Pastikan warna ini sama dengan .shape-fill-primary */
    padding: 4rem 2rem;
}

.definition-content {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-left: 5px solid var(--hijau);
}

.definition-content h3 {
    color: var(--hijau-tua);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.definition-content h3 span {
    color: var(--merah);
}

/* Criteria Grid */
.criteria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
padding: 0rem 2rem;
    gap: 2rem;
    margin-top: 2rem;
}

.criteria-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
    border-top: 4px solid var(--hijau);
    position: relative;
    overflow: hidden;
}

.criteria-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--hijau), var(--kuning), var(--merah));
    transform: scaleX(0);
    transition: transform 0.3s;
}

.criteria-card:hover::before {
    transform: scaleX(1);
}

.criteria-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.criteria-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--hijau), var(--hijau-tua));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.criteria-card h4 {
    color: var(--hijau-tua);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

/* Procedure Section */
.procedure {
    background: white;
}

.procedure-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.procedure-image {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.procedure-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.step {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--hijau);
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    transition: all 0.3s;
    cursor: pointer;
}

.step:hover {
    border-left-color: var(--merah);
    box-shadow: 0 5px 20px rgba(0,0,0,0.12);
    transform: translateX(5px);
}

.step h4 {
    color: var(--hijau-tua);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.step-number {
    width: 30px;
    height: 30px;
    background: var(--kuning);
    color: var(--hijau-tua);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

/* Statistics Section */
.statistics {
    background: linear-gradient(135deg, var(--hijau-tua) 0%, var(--hijau) 100%);
    color: white;
}

.statistics .section-title h2,
.statistics .section-title p {
    color: white;
}

.stats-container {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.stat-bars {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-label {
    color: var(--hijau-tua);
    font-weight: bold;
    display: flex;
    justify-content: space-between;
}

.stat-bar {
    height: 30px;
    background: #e9ecef;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.stat-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--hijau), var(--kuning));
    border-radius: 15px;
    transition: width 1s ease;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 1rem;
    color: white;
    font-weight: bold;
}

/* Footer */
footer {
    background: var(--hijau-tua);
    color: white;
    padding: 3rem 2rem 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--kuning);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
    padding-left: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--kuning);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: start;
}

.contact-item i {
    color: var(--kuning);
    margin-top: 0.2rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Highlight Box */
.highlight-box {
    background: linear-gradient(135deg, var(--kuning) 0%, var(--kuning-tua) 100%);
    color: var(--hijau-tua);
    padding: 2rem;
    border-radius: 15px;
    margin-top: 2rem;
    text-align: center;
    font-weight: bold;
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.3);
}

/* Responsive */
@media (max-width: 968px) {
    .procedure-container {
        grid-template-columns: 1fr;
    }

    .criteria-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

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

    .nav-links {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: linear-gradient(135deg, var(--hijau) 0%, var(--hijau-tua) 100%);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: 0 10px 27px rgba(0,0,0,0.1);
        padding: 2rem 0;
        gap: 0;
    }

    .nav-links li {
        width: 100%;
        padding: 1rem 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .nav-links.active {
        left: 0;
    }

    .hero {
        min-height: 90vh;
        padding: 6rem 1rem 1rem; /* Tambahkan padding-top untuk konten */
    }

    .hero-container {
        flex-direction: column; /* Mengubah arah flex menjadi vertikal */
        justify-content: center; /* Pusatkan konten secara vertikal */
        gap: 1rem; /* Beri sedikit jarak antar elemen */
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
        order: 2; /* Pindahkan konten teks ke bawah ilustrasi */
    }

    .hero-illustration {
        order: 1; /* Pindahkan ilustrasi ke atas konten teks */
        max-width: 60%; /* Sesuaikan ukuran ilustrasi agar tidak terlalu besar */
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .whistle-icon {
        width: 100px;
        height: 100px;
    }

    .whistle-icon i {
        font-size: 2.5rem;
    }

    section {
        padding: 3rem 1rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .definition-content {
        padding: 2rem 1.5rem;
    }

    .stats-container {
        padding: 2rem 1.5rem;
    }

    .criteria-grid {
        grid-template-columns: 1fr;
        padding: 0rem;
        gap: 1.5rem;
    }

    nav {
        padding: 1rem;
    }

    .logo {
        font-size: 1.5rem;
    }

    .wave-shape svg {
        height: 80px;
    }

   
}

/* Scroll Animation */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, transform;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem;
    }

    .section-title h2 {
        font-size: 1.7rem;
    }

    .definition-content h3 {
        font-size: 1.5rem;
    }

    .btn-primary, .btn-secondary {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}