@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Poppins:wght@400;500;600;700;800&display=swap");

:root {
    --primary: #1a237e;
    --primary-light: #3949ab;
    --primary-dark: #0d1453;
    --accent: #577BC1;
    --accent-light: #7986cb;
    --white: #ffffff;
    --black: #111827;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --max-width: 1200px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--gray-800);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

::selection {
    background: var(--primary);
    color: #fff;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.header-logo {
    flex-shrink: 0;
}

.header-logo a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-logo .logo-img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    border-radius: 8px;
}

.header-logo .logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.header-logo .logo-text strong {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
    white-space: nowrap;
}

.header-logo .logo-text small {
    font-size: 0.7rem;
    color: var(--gray-500);
    font-weight: 400;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-item .nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0.5rem 0.85rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray-600);
    border-radius: var(--radius);
    transition: var(--transition);
    white-space: nowrap;
}

.nav-item .nav-link:hover,
.nav-item .nav-link.active {
    color: var(--primary);
    background: rgba(26, 35, 126, 0.06);
}

.nav-item .nav-link i {
    font-size: 0.6rem;
    transition: transform 0.2s;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0.6rem 1.25rem;
    font-size: 0.85rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    font-family: inherit;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1.5px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-sm {
    padding: 0.45rem 1rem;
    font-size: 0.8rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 10001;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: var(--transition);
}

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

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

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

/* ===== HERO ===== */
.hero {
    position: relative;
    margin-top: 70px;
    height: 85vh;
    min-height: 500px;
    max-height: 800px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 2rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3.25rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    max-width: 700px;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    animation: fadeInUp 0.8s ease-out;
}

.hero-content p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.9);
    max-width: 550px;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

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

/* ===== SECTION ===== */
.section {
    padding: 5rem 0;
}

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

.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gray-800);
    margin-bottom: 0.75rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

.section-desc {
    font-size: 1rem;
    color: var(--gray-500);
    max-width: 600px;
    margin: 1rem auto 0;
}

/* ===== ABOUT / PROFIL ===== */
.about-section {
    background: var(--gray-50);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--gray-800);
    margin-bottom: 1rem;
}

.about-content p {
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.about-content .location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 1.5rem;
}

.about-content .location i {
    font-size: 1rem;
}

.service-list {
    display: grid;
    gap: 1rem;
}

.service-list-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
}

.service-list-item:hover {
    transform: translateX(6px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.service-list-item .icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: var(--radius);
    flex-shrink: 0;
}

.service-list-item .icon img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.service-list-item h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-700);
    line-height: 1.3;
}

/* ===== SEJARAH / PARALLAX ===== */
.parallax-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 5rem 0;
}

.parallax-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26,35,126,0.85), rgba(0,0,0,0.7));
}

.parallax-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 1.5rem;
}

.parallax-content h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.parallax-content p {
    font-size: 1rem;
    color: rgba(255,255,255,0.9);
    line-height: 1.9;
}

/* ===== VISI MISI ===== */
.visi-misi-section {
    background: var(--white);
}

.visi-misi-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: start;
}

.visi-misi-logo {
    text-align: center;
    padding: 2rem;
    background: var(--gray-50);
    border-radius: var(--radius-xl);
}

.visi-misi-logo img {
    width: 140px;
    margin: 0 auto 1rem;
}

.visi-misi-logo h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.visi-misi-logo p {
    font-size: 0.85rem;
    color: var(--gray-500);
}

.visi-misi-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--accent);
    display: inline-block;
}

.visi-misi-content p,
.visi-misi-content ol {
    color: var(--gray-600);
    line-height: 1.8;
    font-size: 0.95rem;
}

.visi-misi-content ol {
    padding-left: 1.25rem;
    list-style: decimal;
}

.visi-misi-content ol li {
    margin-bottom: 0.5rem;
}

.visi-misi-content .visi-block {
    margin-bottom: 2.5rem;
}

/* visi-misi nested content fix */
.visi-misi-content .visi-block p h2,
.visi-misi-content .visi-block h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-800);
    margin: 1.5rem 0 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--accent);
    display: inline-block;
}

.visi-misi-content .visi-block p {
    color: var(--gray-600);
    line-height: 1.8;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

/* ===== STRUKTUR ===== */
.struktur-section {
    background: var(--gray-50);
}

.struktur-swiper {
    padding: 1rem 0 4rem;
}

.struktur-slide {
    text-align: center;
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.struktur-slide:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.struktur-slide img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.struktur-slide-info {
    padding: 1rem;
}

.struktur-slide-info h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 0.15rem;
}

.struktur-slide-info p {
    font-size: 0.8rem;
    color: var(--gray-500);
}

/* ===== BERITA / BLOG ===== */
.blog-section {
    background: var(--white);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.blog-card-img {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-img img {
    transform: scale(1.08);
}

.blog-card-body {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.78rem;
    color: var(--gray-400);
}

.blog-card-meta i {
    margin-right: 4px;
    color: var(--accent);
}

.blog-card-body h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-800);
    line-height: 1.4;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-body p {
    font-size: 0.85rem;
    color: var(--gray-500);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===== TESTIMONI ===== */
.testimoni-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.testimoni-section .section-title {
    color: var(--white);
}

.testimoni-section .section-title::after {
    background: var(--accent-light);
}

.testimoni-section .section-desc {
    color: rgba(255,255,255,0.7);
}

.testimoni-card {
    max-width: 650px;
    margin: 0 auto;
    text-align: center;
    padding: 2rem;
}

.testimoni-card .quote-icon {
    font-size: 3rem;
    color: rgba(255,255,255,0.1);
    margin-bottom: 1rem;
}

.testimoni-card p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.9);
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimoni-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.testimoni-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255,255,255,0.3);
}

.testimoni-author-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
}

.testimoni-author-info span {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
}

/* ===== KONTAK / MAP ===== */
.kontak-section {
    background: var(--gray-50);
}

.kontak-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.kontak-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 1rem;
}

.kontak-info p {
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.kontak-info .wa-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.75rem 1.5rem;
    background: #25d366;
    color: var(--white);
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.kontak-info .wa-link:hover {
    background: #1da851;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.map-wrapper {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.map-wrapper iframe {
    width: 100%;
    height: 350px;
    border: 0;
    display: block;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--gray-800);
    color: var(--gray-300);
    padding-top: 4rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
}

.footer-about .footer-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    margin-bottom: 1rem;
    border-radius: 8px;
}

.footer-about h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.footer-about p {
    font-size: 0.85rem;
    line-height: 1.7;
    color: var(--gray-400);
    margin-bottom: 1.25rem;
}

.footer-socials {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-700);
    color: var(--gray-400);
    border-radius: var(--radius);
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-socials a:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-col h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent);
    display: inline-block;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-links a {
    font-size: 0.85rem;
    color: var(--gray-400);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-links a:hover {
    color: var(--accent-light);
    padding-left: 4px;
}

.footer-links a i {
    width: 16px;
}

.footer-bottom {
    border-top: 1px solid var(--gray-700);
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.8rem;
    color: var(--gray-500);
}

/* ===== WHATSAPP FLOAT ===== */
.wa-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9998;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25d366;
    color: var(--white);
    border-radius: 50%;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    animation: waPulse 2s infinite;
}

.wa-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

@keyframes waPulse {
    0%, 100% { box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 25px rgba(37, 211, 102, 0.6); }
}

/* ===== SCROLL TO TOP ===== */
.scroll-top-btn {
    position: fixed;
    bottom: 90px;
    right: 24px;
    width: 44px;
    height: 44px;
    background: var(--primary);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ===== SWIPER CUSTOM ===== */
.swiper-pagination-bullet {
    background: var(--gray-300) !important;
    opacity: 1 !important;
}

.swiper-pagination-bullet-active {
    background: var(--accent) !important;
}

.testimoni-section .swiper-pagination-bullet {
    background: rgba(255,255,255,0.4) !important;
}

.testimoni-section .swiper-pagination-bullet-active {
    background: var(--white) !important;
}

/* ===== ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== NEWS DETAIL PAGE ===== */
.page-header {
    margin-top: 70px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 3rem 0 2.5rem;
    text-align: center;
}

.page-header h1 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--white);
    max-width: 700px;
    margin: 0 auto 1rem;
    line-height: 1.3;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    font-size: 0.85rem;
}

.breadcrumb a {
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--white);
}

.breadcrumb i {
    font-size: 0.6rem;
    color: rgba(255,255,255,0.4);
}

.breadcrumb span {
    color: var(--white);
    font-weight: 500;
}

/* news detail layout */
.news-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
    align-items: start;
    padding: 2rem 0;
}

.news-main {
    min-width: 0;
}

.news-header {
    margin-bottom: 2rem;
}

.news-title {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--gray-800);
    line-height: 1.3;
    margin-bottom: 1rem;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.85rem;
    color: var(--gray-500);
}

.news-meta i {
    margin-right: 5px;
    color: var(--accent);
}

.news-image-wrap {
    margin-bottom: 2rem;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.news-image-wrap img {
    width: 100%;
    height: auto;
    display: block;
}

.news-body {
    font-size: 1rem;
    line-height: 1.9;
    color: var(--gray-700);
}

.news-body p {
    margin-bottom: 1.25rem;
}

.news-body h2,
.news-body h3 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: var(--gray-800);
}

.news-body img {
    border-radius: var(--radius-lg);
    margin: 1.5rem 0;
    box-shadow: var(--shadow);
}

.news-body ul,
.news-body ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

.news-body li {
    margin-bottom: 0.5rem;
}

.news-sidebar-inner {
    position: sticky;
    top: 90px;
}

.sidebar-widget {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.sidebar-widget h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--accent);
}

.sidebar-post {
    display: flex;
    gap: 0.85rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--gray-100);
}

.sidebar-post:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sidebar-post img {
    width: 72px;
    height: 56px;
    object-fit: cover;
    border-radius: var(--radius);
    flex-shrink: 0;
}

.sidebar-post div {
    min-width: 0;
}

.sidebar-post a {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-700);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: var(--transition);
}

.sidebar-post a:hover {
    color: var(--primary);
}

.sidebar-post span {
    display: flex;
    align-items: center;
    font-size: 0.75rem;
    color: var(--gray-400);
    margin-top: 0.25rem;
}

.sidebar-post span i {
    margin-right: 4px;
    font-size: 0.7rem;
}

/* news detail header fix */
.news-detail-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.news-detail-header .header-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

/* ===== RESPONSIVE: TABLET ===== */
@media (max-width: 991px) {
    .header-nav {
        position: fixed;
        top: 0;
        right: -300px;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: stretch;
        padding: 5rem 1.5rem 2rem;
        gap: 0.25rem;
        box-shadow: var(--shadow-xl);
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        z-index: 10000;
    }

    .header-nav.open {
        right: 0;
    }

    .nav-item .nav-link {
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
        border-radius: var(--radius);
    }

    .hamburger {
        display: flex;
    }

    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.5);
        z-index: 9999;
        opacity: 0;
        transition: opacity 0.3s;
    }

    .nav-overlay.active {
        display: block;
        opacity: 1;
    }

    .hero {
        height: 60vh;
        min-height: 400px;
    }

    .hero-content h1 {
        font-size: 2.25rem;
    }

    .section {
        padding: 4rem 0;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .visi-misi-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .kontak-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-about {
        grid-column: 1 / -1;
    }

    .news-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .news-sidebar-inner {
        position: static;
    }

    .news-title {
        font-size: 1.45rem;
    }
}

/* ===== RESPONSIVE: MOBILE ===== */
@media (max-width: 600px) {
    .header-container {
        height: 60px;
    }

    .header-logo .logo-img {
        width: 36px;
        height: 36px;
    }

    .header-logo .logo-text strong {
        font-size: 0.75rem;
        max-width: 120px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .header-logo .logo-text small {
        font-size: 0.6rem;
    }

    .header-nav {
        width: 260px;
    }

    .btn-login-desktop {
        display: none;
    }

    .hero {
        margin-top: 60px;
        height: 55vh;
        min-height: 350px;
    }

    .hero-content {
        padding: 0 1.25rem;
    }

    .hero-content h1 {
        font-size: 1.65rem;
    }

    .hero-content p {
        font-size: 0.9rem;
    }

    .section {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-desc {
        font-size: 0.9rem;
    }

    .about-content h2 {
        font-size: 1.35rem;
    }

    .service-list-item {
        padding: 0.75rem 1rem;
        gap: 0.75rem;
    }

    .service-list-item .icon {
        width: 36px;
        height: 36px;
    }

    .service-list-item .icon img {
        width: 18px;
        height: 18px;
    }

    .service-list-item h4 {
        font-size: 0.82rem;
    }

    .parallax-content h2 {
        font-size: 1.5rem;
    }

    .parallax-content p {
        font-size: 0.9rem;
    }

    .visi-misi-logo img {
        width: 100px;
    }

    .visi-misi-content h3 {
        font-size: 1.25rem;
    }

    .struktur-slide img {
        height: 220px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .blog-card-img {
        height: 180px;
    }

    .kontak-info h3 {
        font-size: 1.25rem;
    }

    .map-wrapper iframe {
        height: 250px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-about {
        grid-column: auto;
    }

    .footer {
        padding-top: 2.5rem;
    }

    .wa-float {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        bottom: 16px;
        right: 16px;
    }

    .scroll-top-btn {
        width: 40px;
        height: 40px;
        bottom: 76px;
        right: 16px;
        font-size: 0.9rem;
    }

    .news-title {
        font-size: 1.25rem;
    }

    .news-meta {
        flex-wrap: wrap;
        gap: 0.75rem;
        font-size: 0.8rem;
    }

    .news-body {
        font-size: 0.92rem;
        line-height: 1.8;
    }

    .sidebar-post img {
        width: 60px;
        height: 48px;
    }
}
