/* Styling untuk Desain Modern dan Responsif */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&family=Playfair+Display:wght@700&display=swap');

/* Basic Reset & Global Styles */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f8f8;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 25px;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    color: #004085; /* Deep blue for headings */
    margin-top: 0;
    margin-bottom: 20px;
}

h1 {
    font-size: 3.8em;
    font-weight: 700;
    line-height: 1.1;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

h2 {
    font-size: 2.8em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
    color: #0056b3;
}
h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background-color: #007bff; /* Primary blue accent */
    border-radius: 5px;
}

h3 {
    font-size: 1.9em;
    font-weight: 600;
    color: #0056b3;
    margin-bottom: 15px;
}

p {
    margin-bottom: 1em;
    font-size: 1.1em;
    line-height: 1.7;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

ul li {
    padding-left: 30px;
    position: relative;
    margin-bottom: 12px;
    font-size: 1.05em;
}

ul li::before {
    content: '→'; /* Custom bullet point */
    position: absolute;
    left: 0;
    color: #007bff; /* Blue arrow */
    font-weight: bold;
    font-size: 1.2em;
    top: 0;
}

strong {
    color: #004085;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #0056b3 0%, #007bff 100%); /* Gradient background */
    color: white;
    padding: 120px 20px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom-left-radius: 50px; /* Unique rounded corner */
    border-bottom-right-radius: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.hero-subtitle {
    font-size: 1.8em;
    font-weight: 300;
    margin-bottom: 50px;
    opacity: 0.9;
}

.hero-image-container {
    margin-top: 40px;
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 20px; /* Rounded rectangle */
    overflow: hidden;
    border: 6px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.hero-main-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Content Sections */
.content-section {
    padding: 90px 0;
    border-bottom: 1px solid #eee;
}

.content-section:last-of-type {
    border-bottom: none;
}

.bg-light {
    background-color: #f0f4f8; /* Light blue-grey background */
}

/* Content Split Layout (Text & Image) */
.content-split {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 50px;
}

.content-split.reverse-split {
    flex-direction: row-reverse;
}

.content-text {
    flex: 2; /* Text takes more space */
    min-width: 320px;
}

.content-image-right,
.content-image-left {
    flex: 1; /* Image takes less space */
    min-width: 250px;
}

.section-image {
    max-width: 100%;
    height: auto;
    border-radius: 15px; /* Softer rounded corners */
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    display: block;
    margin: 0 auto;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
    margin-top: 40px;
}

.feature-item {
    background-color: white;
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    border-top: 5px solid #007bff; /* Accent border */
}

.feature-item:hover {
    transform: translateY(-12px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.feature-item h3 {
    font-size: 1.6em;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.feature-item .icon-bulb::before { content: '💡'; }
.feature-item .icon-megaphone::before { content: '📣'; }
.feature-item .icon-chart::before { content: '📊'; }
.feature-item [class^="icon-"]::before {
    font-size: 1.5em;
    color: #007bff;
}

/* Initiative Cards */
.section-tagline {
    font-size: 1.3em;
    text-align: center;
    margin-bottom: 60px;
    color: #555;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.initiative-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card {
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 6px solid #28a745; /* Green accent */
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.12);
}

.card h3 {
    font-size: 1.7em;
    color: #28a745; /* Green for card titles */
    margin-bottom: 10px;
}

/* Footer */
.main-footer {
    background-color: #222;
    color: white;
    padding: 50px 20px;
    text-align: center;
    font-size: 0.95em;
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.2);
}

.footer-nav {
    margin-top: 25px;
}

.footer-nav a {
    color: white;
    text-decoration: none;
    margin: 0 18px;
    font-weight: 400;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: #007bff;
}

/* Animations */
/* Fade-in for Hero elements */
.animate-fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards ease-out;
}

.animate-fade-in-up.delay-1 { animation-delay: 0.2s; }
.animate-fade-in-up.delay-2 { animation-delay: 0.4s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll-triggered animations for sections */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 992px) {
    h1 {
        font-size: 3em;
    }
    h2 {
        font-size: 2.2em;
    }
    h3 {
        font-size: 1.6em;
    }
    .hero-section {
        padding: 90px 20px 60px;
    }
    .content-section {
        padding: 70px 0;
    }
    .content-split {
        flex-direction: column;
        gap: 40px;
    }
    .content-split.reverse-split {
        flex-direction: column;
    }
    .content-image-right,
    .content-image-left {
        order: -1; /* Image appears first on mobile */
    }
    .feature-grid,
    .initiative-cards {
        grid-template-columns: 1fr; /* Single column on smaller screens */
    }
    .feature-item h3 {
        justify-content: flex-start; /* Align text left in mobile feature items */
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5em;
    }
    .hero-subtitle {
        font-size: 1.5em;
    }
    .hero-section {
        border-bottom-left-radius: 30px;
        border-bottom-right-radius: 30px;
    }
    .main-footer {
        border-top-left-radius: 30px;
        border-top-right-radius: 30px;
    }
    .footer-nav a {
        display: block;
        margin: 10px 0;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2em;
    }
    h2 {
        font-size: 1.8em;
    }
    .container {
        padding: 0 15px;
    }
    .hero-image-container {
        max-width: 250px;
    }
}