:root {
    --color-primary: #8d9bf1; 
    --color-secondary: #ffb8b8; 
    --color-accent: #ffda9a; 
    --color-text: #5c5c7b; 
    --bg-light: #fdfcff; 
    --font-main: 'Quicksand', sans-serif;
    
    --bg-card-1: #fff0f3; --title-card-1: #ff8fab;
    --bg-card-2: #f4f2ff; --title-card-2: #a78bfa;
    --bg-card-3: #ecfaff; --title-card-3: #7dd3fc;
}

body {
    font-family: var(--font-main);
    background: linear-gradient(-45deg, #fcede8, #eef0ff, #e8f9f7, #fff0e9);
    background-size: 400% 400%;
    animation: background-pan 25s ease infinite;
    color: var(--color-text);
    margin: 0;
    overflow-x: hidden;
}

@keyframes background-pan {
    0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; }
}

.container { max-width: 1280px; margin: auto; padding: 0 20px; }
h1, h2, h3 { font-weight: 600; }
h1, h2 { color: var(--color-primary); }
section { text-align: center; }


.navbar {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    padding: 10px 0;
    box-shadow: 0 4px 15px rgba(141, 155, 241, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.navbar .container { display: flex; align-items: center; gap: 20px; }
.navbar .logo { font-size: 1.8rem; text-decoration: none; color: var(--color-primary); font-weight: 700; margin-right: auto; }


.main-nav ul { margin: 0; padding: 0; list-style: none; display: flex; gap: 1px; }
.main-nav ul li a { text-decoration: none; color: var(--color-text); font-weight: 700; font-size: 1rem; padding: 10px 15px; border-radius: 50px; transition: all 0.3s ease; }
.main-nav ul li a:hover { background-color: var(--bg-card-2); color: var(--color-primary); }

.btn-cta { background: var(--color-secondary); color: #fff; padding: 12px 25px; border-radius: 50px; text-decoration: none; font-weight: 700; transition: all 0.3s ease; }
.btn-cta:hover { background-color: var(--color-primary); }

.hero { padding-top: 40px; padding-bottom: 40px; }
.hero-container { max-width: 1280px; margin: auto; padding: 0 40px; display: flex; align-items: center; gap: 40px; text-align: left; }
.hero-text { flex: 1; }
.hero-image { flex: 1; text-align: center; }
.hero-image img { width: 100%; max-width: 500px; height: auto; border-radius: 25px; }

.badge { 
    display: inline-block; 
    background-color: var(--color-accent); 
    color: var(--color-text); 
    padding: 8px 18px; 
    border-radius: 50px; 
    font-weight: 700; 
    margin-bottom: 10px; 
}

.hero-text h1 { 
    font-size: 2.5rem; /* Boleh 2.5rem atau 2.8rem */
    line-height: 1.2; 
    margin-top: 0; 
    margin-bottom: 10px; 
}
.hero-text p { font-size: 1.1rem; font-weight: 500; margin-bottom: 10px; }
.btn-cta-primary { display: inline-block; background-color: var(--color-primary); color: white; padding: 18px 40px; font-size: 1.2rem; border-radius: 50px; text-decoration: none; font-weight: 700; transition: background-color 0.3s ease; box-shadow: 0 5px 15px rgba(141, 155, 241, 0.3); }
.btn-cta-primary:hover { background-color: var(--color-secondary); box-shadow: 0 5px 15px rgba(255, 184, 184, 0.4); }

.services-section { padding: 70px 0; background-color: var(--bg-light); }
.services-section h2 { font-size: 2.8rem; margin-bottom: 50px; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.service-card { padding: 40px 30px; border-radius: 20px; box-shadow: 0 8px 32px 0 rgba(141, 155, 241, 0.1); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.service-card:hover { transform: translateY(-8px); box-shadow: 0 12px 40px 0 rgba(141, 155, 241, 0.15); }
.service-icon { font-size: 3rem; margin-bottom: 15px; }
.service-card h3 { font-size: 1.5rem; margin-bottom: 10px; }
.service-card p { font-weight: 500; }
.service-card:nth-child(1) { background-color: var(--bg-card-1); }
.service-card:nth-child(1) h3 { color: var(--title-card-1); }
.service-card:nth-child(2) { background-color: var(--bg-card-2); }
.service-card:nth-child(2) h3 { color: var(--title-card-2); }
.service-card:nth-child(3) { background-color: var(--bg-card-3); }
.service-card:nth-child(3) h3 { color: var(--title-card-3); }

.lokasi-section { padding: 70px 0; }
.lokasi-section h2 { font-size: 2.5rem; margin-bottom: 50px; }
.lokasi-grid { display: flex; align-items: center; gap: 40px; text-align: left; }
.lokasi-info, .map-container { flex: 1; }
.lokasi-info h3 { color: var(--color-secondary); }
.map-container iframe { border-radius: 20px; box-shadow: 0 8px 32px 0 rgba(141, 155, 241, 0.15); }

.edukasi-section { padding: 70px 0; background-color: var(--bg-light); }
.edukasi-section h2 { font-size: 2.5rem; margin-bottom: 50px; }
.edukasi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.edukasi-card { background-color: #fff; padding: 30px; border-radius: 20px; box-shadow: 0 8px 32px 0 rgba(141, 155, 241, 0.1); }
.edukasi-icon { font-size: 2.5rem; margin-bottom: 15px; }
.edukasi-card h4 { font-size: 1.3rem; margin-top: 0; color: var(--color-primary); }

.artikel-section { padding: 70px 20px; background-color: #fdfcff; text-align: center; }
.artikel-section h2 { font-size: 2.5rem; margin-bottom: 50px; color: var(--color-text); }
.artikel-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; max-width: 1200px; margin: 0 auto; }
.artikel-card { background-color: #fff; border-radius: 15px; box-shadow: 0 8px 32px 0 rgba(141, 155, 241, 0.1); text-align: left; overflow: hidden; transition: transform 0.3s ease; }
.artikel-card:hover { transform: translateY(-8px); }
.artikel-card img { width: 100%; height: 270px; object-fit: cover; display: block; margin-left: auto;  margin-right: auto; }
.artikel-content { padding: 25px; }
.artikel-content h4 { margin-top: 0; margin-bottom: 10px; color: var(--color-primary); }
.artikel-content p { margin: 0; font-size: 14px; line-height: 1.6; }


.footer { background: #fff; color: var(--color-text); text-align: center; padding: 25px 0; font-weight: 700; border-top: 1px solid #eee; }

@media (max-width: 1024px) {
    .main-nav { display: none; } 
}
@media (max-width: 768px) {
    .container { padding: 0 20px; }
    .hero-container { flex-direction: column; text-align: center; }
    .hero-text { padding: 0; margin-bottom: 30px; }
    .hero-image { text-align: center; width: 100%; }
    .hero-image img { border-radius: 20px; max-width: 400px; }
    .hero-text h1 { font-size: 2.5rem; }
    .lokasi-grid { flex-direction: column; }
}


.btn-cancel {
    background-color: #ff8fab; 
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 25px; 
    cursor: pointer;
    font-family: var(--font-main); 
    font-weight: bold;
    font-size: 0.9rem;
    margin-top: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(255, 143, 171, 0.3); 
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.btn-cancel:hover {
    background-color: #ff5c8d; 
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 92, 141, 0.4);
}

.btn-cancel:active {
    transform: translateY(-1px);
}