/* Custom CSS untuk Desain yang Belum Pernah Ada (Pendekatan Minimalis Modern) */

/* Basic Reset & Typography */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&family=Merriweather:wght@400;700&display=swap');

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f8f8; /* Very light grey */
    scroll-behavior: smooth;
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    font-family: 'Merriweather', serif;
    color: #004085; /* Darker blue for headings */
    margin-top: 0;
    margin-bottom: 20px;
}

h1 {
    font-size: 3.5em; /* Large for impact */
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: 2.5em;
    font-weight: 600;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}
h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #0056b3; /* Primary blue accent */
    border-radius: 5px;
}

h3 {
    font-size: 1.8em;
    font-weight: 600;
    color: #0056b3;
    margin-bottom: 15px;
}

p {
    margin-bottom: 1em;
    font-size: 1.1em;
    line-height: 1.7;
}

ul {
    list-style: none; /* Remove default bullet points */
    padding: 0;
    margin: 0;
}

ul li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 10px;
    font-size: 1.05em;
}

ul li::before {
    content: '✓'; /* Custom bullet point */
    position: absolute;
    left: 0;
    color: #28a745; /* Green checkmark */
    font-weight: bold;
}

/* Header & Hero Section */
.hero {
    background-color: #0056b3; /* Deep blue background */
    color: white;
    padding: 100px 20px 60px; /* Adjust padding for visual balance */
    text-align: center;
    overflow: hidden; /* Clear floats/margins for children */
    position: relative; /* For image positioning */
}

.hero h1 {
    color: white;
    margin-bottom: 15px;
}

.subtitle {
    font-size: 1.5em;
    font-weight: 300;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-image-wrapper {
    margin-top: 40px;
    max-width: 250px; /* Max width for image */
    margin-left: auto;
    margin-right: auto;
    border-radius: 50%; /* Circular image */
    overflow: hidden;
    border: 5px solid rgba(255, 255, 255, 0.3); /* Subtle border effect */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Main Content Sections */
.section-content {
    padding: 80px 0;
    border-bottom: 1px solid #eee; /* Subtle separator */
}

.section-content:last-of-type {
    border-bottom: none;
}

.section-content:nth-of-type(even) {
    background-color: #f0f0f0; /* Alternating background for visual interest */
}

/* Content Row Layout (for image and text side-by-side) */
.content-row {
    display: flex;
    flex-wrap: wrap; /* Allows stacking on smaller screens */
    align-items: center;
    gap: 40px; /* Space between text and image */
}

.content-row.reverse-row {
    flex-direction: row-reverse; /* Swap order on desktop */
}

.content-text,
.content-image {
    flex: 1; /* Allow them to grow */
    min-width: 300px; /* Minimum width before wrapping */
}

.section-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px; /* Slightly rounded corners */
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    display: block;
    margin: 0 auto; /* Center image if it doesn't fill width */
}

/* Featured Section (e.g., Sinergi Kamtibmas) */
.featured-section {
    background-color: #e6f0fa; /* Lighter blue for emphasis */
    padding: 80px 0;
    text-align: center;
}

.section-description {
    font-size: 1.2em;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: #555;
}

.grid-3-col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Responsive grid */
    gap: 30px;
}

.grid-item {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left; /* Align text left within grid item */
}

.grid-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.grid-item h3 {
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.grid-item .icon {
    font-size: 1.5em; /* Icon size */
    color: #0056b3;
}

/* Icon Placeholders (using Unicode or simple shapes) */
.icon-people::before { content: '👥'; } /* People icon */
.icon-government::before { content: '🏛️'; } /* Building/Government icon */
.icon-trust::before { content: '🤝'; } /* Handshake/Trust icon */


/* Footer */
footer {
    background-color: #333; /* Dark footer */
    color: white;
    padding: 40px 20px;
    text-align: center;
    font-size: 0.9em;
}

.footer-nav {
    margin-top: 20px;
}

.footer-nav a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: #0056b3;
}

/* Animations (for "design that hasn't existed") */
/* Opacity and Transform for Fade-In Effect */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.8s forwards;
}

.fade-in.delay-1 { animation-delay: 0.2s; }
.fade-in.delay-2 { animation-delay: 0.4s; }

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll-triggered Fade-In Sections */
.fade-in-section {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5em;
    }
    h2 {
        font-size: 2em;
    }
    .hero {
        padding: 80px 20px 40px;
    }
    .content-row {
        flex-direction: column; /* Stack columns on small screens */
        gap: 30px;
    }
    .content-row.reverse-row {
        flex-direction: column; /* Keep stacked */
    }
    .section-content {
        padding: 50px 0;
    }
    .section-image {
        margin-bottom: 20px; /* Add space when stacked */
    }
    .grid-3-col {
        grid-template-columns: 1fr; /* Single column on mobile */
    }
    .footer-nav a {
        display: block;
        margin: 10px 0;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2em;
    }
    .subtitle {
        font-size: 1.2em;
    }
}