/* CSS Reset & General Styles */
:root {
	--primary: #1F3C88;
	--secondary: #2F2F2F;
	--accent: #2563eb;
}

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

body {
	font-family: 'Poppins', sans-serif;
	line-height: 1.6;
	color: #333;
	background-color: #f9f9f9;
	opacity: 0;
	transition: opacity 0.25s ease;
}

body.loaded { opacity: 1; }
body.menu-open { overflow: hidden; }

/* Logo */
.logo {
	text-decoration: none;
	color: #2563eb;
	font-weight: 700;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 1.5rem;
}

img.logokanal { width: 125px; height: auto; }

/* Hero & Section titles */
.hero-content h1,
.section-title h2 { color: var(--primary); }

/* Buttons */
.btn, .btn-cta {
	transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
	padding: 12px 26px;
	font-size: 0.95rem;
	text-decoration: none;
}
.btn:hover, .btn-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(37,99,235,0.25); }
.btn-cta { background: #2563eb; color: #fff !important; padding: 10px 20px; border-radius: 5px; }
.btn-cta { transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.2s ease; }
.btn-cta:hover { background: #1e40af; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(37,99,235,0.3); }

/* Navigation */
nav {
	display: flex; justify-content: space-between; align-items: center;
	padding: 20px 10%; background: #fff;
	position: relative; top: 0; z-index: 1000; transition: box-shadow 0.2s ease, background-color 0.2s ease;
}
nav.scrolled { box-shadow: 0 4px 12px rgba(0,0,0,0.06); }
.nav-links { list-style: none; display: flex; }
.nav-links li { margin-left: 25px; }
.nav-links a { text-decoration: none; color: #333; font-weight: 500; transition: 0.3s; position: relative; }
.nav-links a:hover { color: #2563eb; }
.nav-links a::after { content: ''; position: absolute; width: 0; height: 2px; left: 0; bottom: -6px; transition: width 0.25s ease; }
.nav-links a:hover::after { width: 100%; }
.navbar { position: sticky; top: 0; z-index: 1000; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.1);}

/* Burger & Mobile menu */
.burger { display: none; background: none; border: none; padding: 8px; font-size: 26px; line-height:1; cursor:pointer; color:#1e3a8a; position:relative; z-index:2000; }
.burger:focus { outline: none; }
.mobile-menu { position: fixed; top:0; right:-100%; width:80%; max-width:320px; height:100vh; background:#fff; padding:60px 20px; box-shadow:-10px 0 30px rgba(0,0,0,0.15); display:flex; flex-direction:column; gap:18px; transition:right 0.3s ease; z-index:999; }
.mobile-menu.active { right:0; }
.mobile-menu a { text-decoration:none; color:#1e3a8a; font-size:1.2rem; display:block; padding:16px 20px; }
.menu-cta { margin-top:auto; margin-bottom:30px; background:#2563eb; color:#fff !important; text-align:center; padding:14px; border-radius:8px; font-weight:600; }

/* Hero Section */
.hero { display:flex; align-items:center; justify-content:space-between; background: linear-gradient(135deg,#f0f7ff 0%,#ffffff 100%); }
.hero-content { flex:1; padding:80px 10%; }
.hero-content h1 { font-size:3rem; line-height:1.2; margin-bottom:20px; color:#1e3a8a; }
.hero-content p { font-size:1.1rem; margin-bottom:30px; color:#555; }
.hero-image { flex:1; text-align:right; display:flex; justify-content:center; padding-right:10%; }
.hero-image img { max-height:700px; width:auto; height:100%; border-radius:20px; object-fit:cover; }
h1.hero-h1 { font-size:5rem !important; }
h2.heroh2 { padding-bottom:30px; }

/* Program Unggulan */
div#card-progul { background:#2563eb; color:#fff; }
#card-progul h3 { color:#fff; }

/* Services */
.section { padding:90px 10%; text-align:center; scroll-margin-top:90px; }
.section + .section { margin-top:20px; }
.section-title { margin-bottom:50px; }
.section-title h2 { font-size:2rem; color:#1e3a8a; }

.pricing { padding:80px 20px; background:#f7f9fc; text-align:center; scroll-margin-top:90px; }
.pricing-title { font-size:32px; margin-bottom:50px; color:#1e3a8a; }
.pricing-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:24px; max-width:1200px; margin:0 auto; }
.pricing-card { background:#fff; border-radius:16px; padding:32px 24px; box-shadow:0 10px 30px rgba(0,0,0,0.06); position:relative; display:flex; flex-direction:column; transition: transform 0.35s ease, box-shadow 0.35s ease; }
.pricing-card:hover { transform: translateY(-6px); box-shadow:0 18px 40px rgba(0,0,0,0.12); }
.pricing-card.best { border:2px solid #2563eb; transform: translateY(-8px); }
.pricing-card.best:hover { transform: translateY(-14px); box-shadow:0 18px 40px rgba(0,0,0,0.12); }
.badge { position:absolute; top:-12px; right:20px; background:#2563eb; color:#fff; padding:6px 12px; font-size:12px; border-radius:999px; }
.card-headline { font-size:22px; margin-bottom:12px; color:#2563eb; }
.card-price { font-size:28px; font-weight:600; margin-bottom:8px; }
.card-price span { font-size:14px; font-weight:400; }
.card-package { font-weight:500; margin-bottom:12px; }
.card-target { font-size:14px; line-height:1.6; margin-bottom:16px; color:#555; }
.card-detail { font-size:14px; margin-bottom:24px; color:#333; }
.card-btn { margin-top:auto; padding:12px; border-radius:8px; text-decoration:none; background:transparent; border:1px solid #2563eb; color:#2563eb; font-weight:500; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.card-btn:hover { transform: translateY(-2px); box-shadow:0 8px 20px rgba(37,100,235,0.171); }
.card-btn.primary { background:#2563eb; color:#fff; }
.card-btn.outline { background:transparent; border:1px solid #2563eb; color:#2563eb; }

/* Grid, Cards, Footer */
.grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(250px,1fr)); gap:30px; }
.card { padding:30px; border-radius:15px; box-shadow:0 5px 15px rgba(0,0,0,0.05); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.card:hover { transform: translateY(-6px); box-shadow:0 12px 25px rgba(0,0,0,0.08); }
.card h3 { margin-bottom:15px; color:#2563eb; }
.card.tutor {
    background: #fff;
}
#kenapa { background:#2460e5; }
#kenapa h2 { color:#fff; }

footer { background:#1e3a8a; color:#fff; padding:50px 10% 20px; text-align:center; }
.footer-content { margin-bottom:30px; }
.simple-footer { background:#1e3a8a; color:#e0e7ff; text-align:center; padding:40px 10% 24px; }
.footer-brand { margin-bottom:18px; font-size:0.95rem; }
.footer-brand strong { font-size:1.25rem; color:#fff; }
.footer-links { margin-bottom:18px; }
.footer-links a { color:#c7d2fe; margin:0 10px; text-decoration:none; font-size:0.9rem; }
.footer-links a:hover { text-decoration:underline; }
.footer-bottom { font-size:0.8rem; color:#c7d2fe; }

/* FAQ and Policy */
.faq-list { max-width:800px; margin:0 auto; }
.faq-item { border-bottom:1px solid #e5e7eb; transition: background-color 0.2s ease; }
.faq-item.open { background-color:#f9fafb; }
.faq-question { width:100%; background:none; border:none; padding:18px 0; font-size:1rem; font-weight:500; color:#1F3C88; text-align:left; cursor:pointer; display:flex; justify-content:space-between; align-items:center; font-family:inherit; appearance:none; -webkit-tap-highlight-color:transparent; }
.faq-answer { display:none; text-align:left; padding-bottom:16px; color:#555; }
.faq-item.active .faq-answer { display:block; }
.faq-question .arrow { transition: transform 0.25s ease; }
.faq-item.active .arrow { transform: rotate(180deg); }
.faq-section { max-width:900px; margin:0 auto 60px; }
.faq-divider { margin:70px 0; border-top:1px dashed #e5e7eb; }
.faq-category { margin-bottom:30px; font-size:1.3rem; color:#1F3C88; text-align:center; }
.faq-nav { text-align:center; margin-bottom:40px; }
.faq-nav a { margin:0 12px; color:#2563eb; text-decoration:none; font-weight:500; }
.faq-nav a:hover { text-decoration:underline; }
.faq-tabs { display:flex; justify-content:center; gap:12px; margin-bottom:40px; }
.faq-tab { padding:10px 18px; border-radius:999px; border:1px solid #e5e7eb; background:#fff; cursor:pointer; font-size:0.9rem; color:#374151; transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease; }
.faq-tab.active { background:#2563eb; color:#fff; border-color:#2563eb; transform:scale(1.03); }
.faq-group { display:none; }
.faq-group.active { display:block; }
.faq-search { max-width:500px; margin:20px auto 40px; }
.faq-search input { width:100%; padding:12px 16px; border-radius:10px; border:1px solid #e5e7eb; font-size:0.95rem; }

.policy-content { max-width:900px; margin:0 auto; text-align:left; color:#444; }
.policy-content h3 { margin-top:40px; margin-bottom:12px; color:#1F3C88; font-size:1.2rem; }
.policy-content p, .policy-content ul { font-size:0.95rem; line-height:1.7; }
.policy-content ul { padding-left:20px; }

/* Consolidated responsive rules appended below */

/* Tablet: adjust pricing grid */
@media (max-width: 1024px) {
	.pricing-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile small: single column pricing */
@media (max-width: 600px) {
	.pricing-grid { grid-template-columns: 1fr; }
	.pricing-title { font-size: 26px; }
}

/* Mobile / small tablets: general responsive rules */
@media (max-width: 768px) {
	/* Hero */
	.hero { flex-direction: column; text-align: center; }
	.hero-image { padding: 0 !important; }
	.hero-image img { max-height: 425px; }

	/* Biaya / custom sections if present */
	#biaya { flex-direction: column; text-align: center; background: #f9f9f9; }
	.biaya-image { padding: 0 !important; }
	.biaya-image img { max-height: 425px; }
	.biaya-content { text-align: center; background: #2563eb; padding: 80px 10%; }

	/* Nav / burger */
	.nav-links { display: none; }
	.burger { display: block; }

	/* FAQ mobile refinements */
	.faq-list { padding: 0 10px; }
	.faq-question { padding: 20px 0; font-size: 0.95rem; line-height: 1.4; }
	.faq-question .arrow { font-size: 1.1rem; }
	.faq-answer { padding-bottom: 18px; font-size: 0.9rem; line-height: 1.6; }
	.faq-item { border-bottom: 1px solid #e5e7eb; }
}

/* BLOG PAGE */
/* Container Utama */
.blog-page-wrapper {
	padding: 90px 10%;
    background-color: #f8fafc;
    min-height: 100vh;
}

.blog-header {
    text-align: center;
    margin-bottom: 50px;
}

.blog-header h1 {
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: 10px;
}

/* Grid 4 Kolom */
.blog-grid-4-col {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 Kolom Sesuai Request */
    gap: 20px;
}

/* Kartu Artikel */
.blog-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.blog-item:hover {
    transform: translateY(-5px);
}

.blog-item-thumb {
    height: 150px;
    background: #ddd;
}

.blog-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-item-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-category {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.blog-item-content h3 {
    font-size: 1.15rem;
    line-height: 1.4;
    margin-bottom: 12px;
}

.blog-item-content h3 a {
    text-decoration: none;
    color: var(--primary);
}

.blog-item-content p {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 20px;
    line-height: 1.5;
}

.blog-btn-link {
    margin-top: auto;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
}

/* Responsif untuk Tablet dan HP */
@media (max-width: 1024px) {
    .blog-grid-4-col {
        grid-template-columns: repeat(2, 1fr); /* Jadi 2 Kolom di Tablet */
    }
}

@media (max-width: 640px) {
    .blog-grid-4-col {
        grid-template-columns: 1fr; /* Jadi 1 Kolom di HP */
    }
}
/* END BLOG PAGE */

/* BACA ARTIKEL */
/* --- Halaman Baca Artikel --- */
.read-article-wrapper {
    padding-top: 120px;
    padding-bottom: 80px;
    background-color: #ffffff;
    min-height: 100vh;
}

.container-read {
    max-width: 850px; /* Lebih sempit agar nyaman dibaca */
    margin: 0 auto;
    padding: 0 20px;
}

/* Breadcrumb */
.breadcrumb-baca-artikel {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 30px;
}

.breadcrumb-baca-artikel a {
    text-decoration: none;
    color: var(--accent);
}

.breadcrumb-baca-artikel span {
    margin: 0 5px;
}

/* Header Artikel */
.article-header {
    margin-bottom: 30px;
}

.badge-category {
    background: #e2e8f0;
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.article-header h1 {
    font-size: 2.5rem;
    color: var(--primary);
    margin: 15px 0;
    line-height: 1.2;
}

/* Gambar Utama */
.article-featured-image {
    width: 100%;
    margin-bottom: 40px;
    border-radius: 15px;
    overflow: hidden;
}

.article-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Isi Konten */
.article-content {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #334155;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content h2 {
    margin: 35px 0 15px;
    color: var(--primary);
}

.article-content blockquote {
    border-left: 5px solid var(--accent);
    padding: 10px 20px;
    margin: 30px 0;
    background: #f8fafc;
    font-style: italic;
    font-size: 1.2rem;
}

/* Footer Artikel */
.article-footer {
	background: #ffffff;
	color:var(--primary);
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #e2e8f0;
}

.share-box {
    margin-bottom: 30px;
	display: flex;
  	align-items: center;
	justify-content: center;
}

.share-link {
    margin-left: 10px;
    text-decoration: none;
    color: var(--primary);
    font-size: 24px;
}

.btn-back {
    display: inline-block;
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
}

/* Responsive */
@media (max-width: 768px) {
    .article-header h1 {
        font-size: 1.8rem;
    }
}
/* END BACA ARTIKEL */