/* ----- GENERAL & ROOT STYLES ----- */
:root {
    --primary-color: #0B3D91; /* Biru Dongker Lembaga */
    --secondary-color: #D4AF37; /* Emas Tua sebagai Aksen Institusional */
    --accent-color: #F5F5DC; /* Krem Netral sebagai Penyeimbang */
    --dark-color: #1C1C1C; /* Abu Gelap Kontras */
    --text-color: #2E2E2E; /* Abu untuk Teks yang Stabil */
    --light-gray-color: #FAFAFA; /* Putih Abu Ringan */
    --white-color: #ffffff;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
}


html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Jarak untuk header saat navigasi link */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--white-color);
    font-weight: 400;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

.section-title { text-align: center; margin-bottom: 60px; }
.section-title h3, .section-title-light h3 { font-size: 2.3rem; font-weight: 700; color: var(--primary-color); margin-bottom: 10px; position: relative; display: inline-block; padding-bottom: 15px; }
.section-title h3::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 70px; height: 4px; background-color: var(--accent-color); border-radius: 2px; }
.section-title p { font-size: 1.1rem; color: #6c757d; max-width: 600px; margin: 0 auto; }

/* ----- ANIMATION ON SCROLL ----- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}
/* Delay untuk item-item grid agar tidak muncul bersamaan */
.services-grid .animate-on-scroll:nth-child(2),
.stats-grid .animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.services-grid .animate-on-scroll:nth-child(3),
.stats-grid .animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.services-grid .animate-on-scroll:nth-child(4),
.stats-grid .animate-on-scroll:nth-child(4) { transition-delay: 0.3s; }
.banner-text .animate-on-scroll:nth-child(2) { transition-delay: 0.2s; }

/* ----- HEADER & NAVIGATION ----- */
header {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    transition: background-color 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
    backdrop-filter: blur(5px); /* Efek glassmorphism */
    border-bottom: 1px solid transparent;
}
header.scrolled {
    background-color: var(--white-color);
    box-shadow: var(--shadow);
    padding: 0.8rem 0;
    border-bottom: 1px solid #eee;
}
.header-content { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; }
.logo img { height: 55px; margin-right: 25px; transition: height 0.4s ease; transform: scale(1.5);}
header.scrolled .logo img { height: 50px; }
.logo-text h1 { font-size: 1.4rem; color: var(--primary-color); font-weight: 700; margin: 0; line-height: 1.2; }
.logo-text p { font-size: 0.85rem; color: var(--text-color); margin: 0; font-weight: 300; }
.main-nav ul { list-style-type: none; display: flex; gap: 30px; }
.main-nav a { color: var(--text-color); font-weight: 600; padding-bottom: 5px; position: relative; transition: color 0.3s ease; }
.main-nav a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 3px; background-color: var(--accent-color); transition: width 0.3s ease-in-out; }
.main-nav a:hover, .main-nav a.active { color: var(--primary-color); }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }

/* ----- BANNER SECTION ----- */
.banner { position: relative; height: 60vh; min-height: 450px; background-image: url('banner-image.html'); background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--white-color); }
.banner-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(45deg, rgba(13, 71, 161, 0.75), rgba(10, 47, 108, 0.85)); }
.banner-text { position: relative; z-index: 2; }
.banner-text h2 { font-size: 3rem; font-weight: 700; text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5); margin-bottom: 0.5rem; }
.banner-text p { font-size: 1.3rem; font-weight: 300; text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5); }

/* ----- SERVICES SECTION ----- */
.services-section { padding: 90px 0; background-color: var(--light-gray-color); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.service-card { background: var(--white-color); border-radius: 10px; padding: 40px 30px; text-align: center; box-shadow: var(--shadow); border-bottom: 4px solid var(--primary-color); transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; }
.service-card:hover { transform: translateY(-12px); box-shadow: var(--shadow-hover); border-bottom-color: var(--accent-color); }
.service-card i { font-size: 3.2rem; color: var(--primary-color); margin-bottom: 25px; transition: color 0.3s ease, transform 0.3s ease; }
.service-card:hover i { color: var(--accent-color); transform: scale(1.1); }
.service-card h4 { font-size: 1.3rem; margin-bottom: 15px; color: var(--dark-color); }
.service-card p { font-size: 0.95rem; margin-bottom: 30px; color: #6c757d; }
.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--secondary-color); color: var(--white-color); padding: 12px 28px; border-radius: 50px; font-weight: 600; transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease; }
.btn:hover { background: var(--primary-color); transform: scale(1.05); box-shadow: 0 4px 15px rgba(25, 118, 210, 0.4); }
.btn i { transition: transform 0.3s ease; }
.btn:hover i { transform: translateX(4px); }

/* ----- PROFILE SECTION ----- */
.profile-section { padding: 90px 0; background-color: var(--white-color); }
.profile-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 60px; align-items: flex-start; }
.profile-description p { color: var(--text-color); font-size: 1rem; line-height: 1.8; text-align: justify; }
.vision-mission h4 { font-size: 1.4rem; color: var(--primary-color); margin-bottom: 10px; margin-top: 20px; border-left: 4px solid var(--accent-color); padding-left: 15px; }
.vision-mission h4:first-child { margin-top: 0; }
.vision-mission p { font-style: italic; color: #555; margin-bottom: 15px; padding-left: 19px; }
.vision-mission ul { list-style-type: none; padding-left: 0; }
.vision-mission li { margin-bottom: 12px; color: var(--text-color); display: flex; align-items: flex-start; transition: color 0.3s ease; }
.vision-mission li:hover { color: var(--primary-color); }
.vision-mission li i { color: var(--secondary-color); margin-right: 15px; margin-top: 6px; }

/* ----- FEATURED PROGRAMS SECTION ----- */
.featured-programs { padding: 90px 0; background-color: var(--light-gray-color); }
.program-item { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-bottom: 80px; }
.program-item:last-child { margin-bottom: 0; }
.program-item.reverse .program-image-wrapper { order: 2; }
.program-image-wrapper { border-radius: 10px; box-shadow: var(--shadow); overflow: hidden; }
.program-image-wrapper img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.program-image-wrapper:hover img { transform: scale(1.05); }
.program-text h4 { font-size: 1.8rem; color: var(--primary-color); margin-bottom: 15px; }
.program-text p { color: #6c757d; margin-bottom: 25px; }
.program-text a { font-weight: 600; color: var(--secondary-color); transition: color 0.3s ease; display: inline-flex; align-items: center; gap: 8px; }
.program-text a i { transition: transform 0.3s ease; }
.program-text a:hover { color: var(--primary-color); }
.program-text a:hover i { transform: translateX(5px); }

/* ----- STATS SECTION ----- */
.stats-section { background: linear-gradient(45deg, var(--dark-color), var(--primary-color)); padding: 90px 0; color: var(--white-color); }
.section-title-light h3 { color: var(--white-color); text-align: center; margin-bottom: 60px; }
.section-title-light h3::after { background-color: var(--accent-color); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; text-align: center; }
.stat-item { background: rgba(255, 255, 255, 0.05); padding: 30px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.1); transition: background-color 0.3s ease, transform 0.3s ease; }
.stat-item:hover { background: rgba(255, 255, 255, 0.1); transform: translateY(-8px); }
.stat-item i { font-size: 3rem; color: var(--accent-color); margin-bottom: 15px; }
.stat-number { display: inline-block; font-size: 2.8rem; font-weight: 700; line-height: 1.2; }
.stat-label { display: block; font-size: 1rem; opacity: 0.8; font-weight: 300; }

/* ----- CTA SECTION ----- */
.cta-section { background-color: var(--white-color); padding: 90px 20px; text-align: center; }
.cta-section h2 { font-size: 2.2rem; color: var(--primary-color); margin-bottom: 15px; }
.cta-section p { color: #6c757d; max-width: 600px; margin: 0 auto 35px auto; }
.btn-accent { background: var(--accent-color); color: var(--dark-color); font-size: 1.1rem; padding: 15px 40px; }
.btn-accent:hover { background-color: #ffb300; color: #000; box-shadow: 0 4px 20px rgba(255, 193, 7, 0.4); }

/* ----- FOOTER ----- */
footer { background-color: var(--dark-color); color: rgba(255, 255, 255, 0.7); padding: 60px 0 0; }
.footer-content { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px; padding-bottom: 40px; }
.footer-about h4, .footer-social h4 { color: var(--white-color); font-size: 1.2rem; margin-bottom: 20px; }
.footer-about p { margin-bottom: 10px; line-height: 1.8; }
.footer-about a { color: var(--accent-color); transition: color 0.3s ease; font-weight: 600;}
.footer-about a:hover { color: var(--white-color); }
.footer-social a { color: rgba(255, 255, 255, 0.7); font-size: 1.5rem; margin-right: 20px; transition: color 0.3s ease, transform 0.3s ease; }
.footer-social a:last-child { margin-right: 0; }
.footer-social a:hover { color: var(--accent-color); transform: translateY(-4px); }
.footer-bottom { background-color: rgba(0, 0, 0, 0.2); text-align: center; padding: 20px 0; font-size: 0.9rem; }

/* ----- SCROLL TO TOP BUTTON ----- */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease, background-color 0.3s ease;
    z-index: 999;
}
.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.scroll-top-btn:hover {
    background-color: var(--accent-color);
    color: var(--dark-color);
}


/* ----- RESPONSIVE DESIGN ----- */
@media (max-width: 992px) {
    html { scroll-padding-top: 130px; /* Sesuaikan untuk header yang lebih tinggi */ }
    .program-item, .program-item.reverse { grid-template-columns: 1fr; }
    .program-item.reverse .program-image-wrapper { order: 0; }
    .program-image-wrapper { margin-bottom: 30px; }
    .header-content { flex-direction: column; gap: 20px; }
}

@media (max-width: 768px) {
    .main-nav ul { flex-wrap: wrap; justify-content: center; gap: 15px 25px; }
    .banner-text h2 { font-size: 2.2rem; }
    .banner-text p { font-size: 1.1rem; }
    .section-title h3, .section-title-light h3 { font-size: 1.8rem; }
    .footer-content { flex-direction: column; text-align: center; }
    .footer-social { margin-top: 20px; }
    .footer-social a { margin: 0 12px; }
}

/* =================================== */
/* ===== STYLES FOR PPDB.HTML PAGE ===== */
/* =================================== */

/* Hero Section Halaman Internal */
.page-hero {
    padding: 60px 0;
    background-color: var(--dark-color);
    background-image: linear-gradient(45deg, var(--dark-color), var(--primary-color));
    color: var(--white-color);
    text-align: center;
}

.page-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.page-hero p {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 300;
}

/* Kartu Informasi Cepat (Colorful) */
.info-cards-section {
    padding: 80px 0;
    background-color: var(--light-gray-color);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    border-radius: 8px;
    background-color: var(--white-color);
    box-shadow: var(--shadow);
    border-left: 6px solid;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.info-card-icon {
    font-size: 2.2rem;
}

.info-card h4 {
    margin-bottom: 5px;
    font-size: 1.2rem;
    color: var(--text-color);
}

.info-card p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #6c757d;
}

/* Definisi Warna Kartu */
.info-card.color-1 { border-color: #17a2b8; } /* Teal */
.info-card.color-1 .info-card-icon { color: #17a2b8; }

.info-card.color-2 { border-color: #28a745; } /* Green */
.info-card.color-2 .info-card-icon { color: #28a745; }

.info-card.color-3 { border-color: #007bff; } /* Blue */
.info-card.color-3 .info-card-icon { color: #007bff; }

.info-card.color-4 { border-color: #fd7e14; } /* Orange */
.info-card.color-4 .info-card-icon { color: #fd7e14; }

/* Timeline Section */
.timeline-section {
    padding: 80px 0;
    background-color: var(--white-color);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}
.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: #e9ecef;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
}
.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: var(--white-color);
    border: 4px solid var(--secondary-color);
    top: 25px;
    border-radius: 50%;
    z-index: 1;
}

/* Posisi Kiri dan Kanan */
.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}
.timeline-item:nth-child(even) {
    left: 50%;
}
.timeline-item:nth-child(even)::after {
    left: -10px;
}

.timeline-content {
    padding: 20px 30px;
    background-color: var(--light-gray-color);
    border-radius: 6px;
    position: relative;
}
.timeline-date {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
    display: block;
}
.timeline-content h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background-color: var(--light-gray-color);
}
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    background-color: #fff;
    margin-bottom: 10px;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: 1px solid #e9ecef;
}
.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px;
    text-align: left;
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-question::after {
    content: '\f067'; /* Font Awesome Plus Icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--secondary-color);
    transition: transform 0.3s ease;
}
.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
}
.faq-answer p {
    padding: 0 20px 20px 20px;
    line-height: 1.8;
}

/* Helpdesk Section */
.helpdesk-section {
    padding: 60px 0;
    background-color: var(--dark-color);
    color: var(--white-color);
    text-align: center;
}
.helpdesk-section i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}
.helpdesk-section h2 {
    margin-bottom: 10px;
}
.helpdesk-section p {
    opacity: 0.8;
    margin-bottom: 30px;
}
.helpdesk-info {
    display: flex;
    justify-content: center;
    gap: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    flex-wrap: wrap;
}
.helpdesk-info span i {
    font-size: 1.1rem;
    color: var(--accent-color);
    margin-right: 10px;
}

/* Responsive untuk Timeline */
@media screen and (max-width: 768px) {
    .timeline::after {
        left: 20px;
    }
    .timeline-item {
        width: 100%;
        padding-left: 50px;
        padding-right: 10px;
    }
    .timeline-item:nth-child(odd), .timeline-item:nth-child(even) {
        left: 0;
        text-align: left;
    }
    .timeline-item::after {
        left: 10px;
    }
}

/* =============================================== */
/* ===== STYLES FOR DATA-PENDIDIKAN.HTML PAGE ===== */
/* =============================================== */

/* KPI Section */
.kpi-section {
    padding: 80px 0;
    background-color: var(--light-gray-color);
}
.kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.kpi-card {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-bottom: 5px solid var(--secondary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.kpi-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
.kpi-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}
.kpi-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    line-height: 1.2;
}
.kpi-label {
    font-size: 1rem;
    color: #6c757d;
}

/* Visualization Section */
.visualization-section {
    padding: 80px 0;
    background-color: #fff;
}
.chart-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 50px;
    align-items: flex-start;
}
.chart-container {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}
.chart-container h4 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.3rem;
    color: var(--primary-color);
}
.chart-note {
    font-size: 0.8rem;
    text-align: center;
    color: #999;
    margin-top: 20px;
}

/* Pie Chart Simulation */
.pie-chart-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}
.pie-chart {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: conic-gradient(
        #0275d8 0% 45%,      /* SD */
        #5cb85c 45% 85%,   /* PAUD 40% */
        #f0ad4e 85% 100%     /* SMP 15% */
    );
}
.pie-legend div {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}
.pie-legend .dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    margin-right: 10px;
    display: inline-block;
}
.pie-legend .color-sd { background-color: #0275d8; }
.pie-legend .color-paud { background-color: #5cb85c; }
.pie-legend .color-smp { background-color: #f0ad4e; }

/* Bar Chart Simulation */
.bar-chart-wrapper {
    height: 200px;
    border-left: 2px solid #ccc;
    border-bottom: 2px solid #ccc;
    padding-left: 10px;
    display: flex;
    align-items: flex-end;
}
.bar-chart {
    display: flex;
    justify-content: space-around;
    gap: 15px;
    width: 100%;
    height: 100%;
}
.bar {
    width: 15%;
    background-color: var(--secondary-color);
    border-radius: 5px 5px 0 0;
    height: var(--height);
    position: relative;
    transition: background-color 0.3s ease;
}
.bar:hover {
    background-color: var(--primary-color);
}
.bar-label {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    font-weight: 600;
}

/* Data Download Section */
.data-download-section {
    padding: 80px 0;
    background-color: var(--light-gray-color);
}
.data-table {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: var(--shadow);
    overflow: hidden;
}
.data-row {
    display: grid;
    grid-template-columns: 2fr 3fr 1.5fr 1.5fr;
    gap: 20px;
    padding: 20px;
    align-items: center;
    border-bottom: 1px solid #e9ecef;
}
.data-row:last-child {
    border-bottom: none;
}
.data-row.header {
    background-color: var(--dark-color);
    color: var(--white-color);
    font-weight: 600;
}
.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 5px;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    margin-right: 10px;
    transition: opacity 0.3s;
}
.download-btn:hover {
    opacity: 0.85;
}
.download-btn.xlsx { background-color: #217346; } /* Excel Green */
.download-btn.pdf { background-color: #B30B00; }  /* PDF Red */

/* Disclaimer Section */
.disclaimer-section {
    padding: 40px 0;
    background-color: #e3f2fd; /* Light info blue */
}
.disclaimer-section .container {
    display: flex;
    align-items: center;
    gap: 20px;
    color: #014361;
}
.disclaimer-section i {
    font-size: 1.8rem;
}

/* Responsive for Data Table */
@media (max-width: 992px) {
    .data-row {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 15px;
    }
    .data-row.header {
        display: none; /* Hide header on mobile, use data-labels */
    }
    .data-cell {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .data-cell::before {
        content: attr(data-label);
        font-weight: 600;
        margin-right: 10px;
    }
}

/* ======================================= */
/* ===== STYLES FOR BEASISWA.HTML PAGE ===== */
/* ======================================= */

/* Program Section */
.program-section {
    padding: 80px 0;
    background-color: var(--white-color);
}
.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}
.program-card {
    background: var(--light-gray-color);
    border-radius: 10px;
    padding: 40px 30px;
    text-align: center;
    border-top: 6px solid;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.program-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}
.program-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}
.program-card h3 {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-bottom: 15px;
}
.program-card p {
    color: #6c757d;
    margin-bottom: 25px;
    min-height: 80px; /* Jaga tinggi paragraf agar sama */
}
.program-benefits {
    list-style-type: none;
    padding: 0;
    text-align: left;
    color: var(--text-color);
}
.program-benefits li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}
.program-benefits li i {
    margin-right: 10px;
    font-size: 1rem;
}

/* Definisi Warna Kartu Program */
.program-card.prestasi { border-color: #ffc107; } /* Gold */
.program-card.prestasi .program-icon,
.program-card.prestasi .program-benefits li i { color: #ffc107; }

.program-card.bantuan { border-color: #28a745; } /* Green */
.program-card.bantuan .program-icon,
.program-card.bantuan .program-benefits li i { color: #28a745; }

.program-card.khusus { border-color: #17a2b8; } /* Teal */
.program-card.khusus .program-icon,
.program-card.khusus .program-benefits li i { color: #17a2b8; }

/* How To Apply Section */
.how-to-apply-section {
    padding: 80px 0;
    background-color: var(--light-gray-color);
}
.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.step-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}
.step-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(13, 71, 161, 0.3);
}
.step-content h4 {
    font-size: 1.2rem;
    color: var(--dark-color);
    margin-bottom: 8px;
}
.step-content p {
    color: #6c757d;
}

/* Testimonial Section */
.testimonial-section {
    padding: 80px 0;
    background-color: #fff;
}
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}
.testimonial-card {
    background-color: var(--light-gray-color);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    position: relative;
    border-left: 6px solid var(--accent-color);
}
.testimonial-card::before {
    content: '\f10d'; /* Font Awesome Quote Left */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 3rem;
    color: rgba(0,0,0,0.08);
    position: absolute;
    top: 20px;
    left: 20px;
}
.testimonial-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 4px solid var(--white-color);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}
.testimonial-quote {
    font-style: italic;
    color: var(--text-color);
    margin-bottom: 20px;
}
.testimonial-name {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}
.testimonial-info {
    font-size: 0.9rem;
    color: #6c757d;
}

/* CTA Guidebook Section */
.cta-guidebook-section {
    padding: 60px 0;
    background-image: linear-gradient(45deg, var(--dark-color), var(--primary-color));
    color: white;
    text-align: center;
}
.cta-guidebook-section h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}
.cta-guidebook-section p {
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 30px auto;
}

/* ===================================== */
/* ===== STYLES FOR PROFIL.HTML PAGE ===== */
/* ===================================== */

/* Welcome Section */
.welcome-section {
    padding: 80px 0;
    background-color: #fff;
}
.welcome-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.welcome-subtitle {
    font-weight: 600;
    color: var(--secondary-color);
    display: block;
    margin-bottom: 10px;
}
.welcome-text h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.3;
}
.welcome-text p {
    color: #6c757d;
    line-height: 1.8;
    margin-bottom: 30px;
}
.signature {
    margin-top: 20px;
}
.head-name {
    font-size: 1.2rem;
    color: var(--dark-color);
    margin-bottom: 0;
}
.signature span {
    color: #6c757d;
    font-weight: 300;
}
.welcome-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.profile-section .vision-mission.full-width {
    grid-column: 1 / -1; /* Make it span full width if inside grid */
}

/* Tupoksi Tabs Section */
.tupoksi-section {
    padding: 80px 0;
    background-color: var(--light-gray-color);
}
.tabs-container {
    max-width: 900px;
    margin: 0 auto;
}
.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}
.tab-btn {
    padding: 12px 30px;
    border: 2px solid var(--primary-color);
    background-color: var(--white-color);
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.tab-btn:hover {
    background-color: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
}
.tab-btn.active {
    background-color: var(--primary-color);
    color: white;
}
.tab-content-wrapper {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    min-height: 250px;
}
.tab-content {
    display: none;
    animation: fadeIn 0.5s;
}
.tab-content.active {
    display: block;
}
.tab-content ul {
    list-style-type: none;
    padding-left: 0;
}
.tab-content ul li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 12px;
}
.tab-content ul li::before {
    content: '\f0da'; /* Font Awesome Angle Right */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--accent-color);
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Organizational Structure Section */
.org-structure-section {
    padding: 80px 0;
    background-color: #fff;
}
.org-chart {
    text-align: center;
}
.org-chart ul {
    padding-top: 20px;
    position: relative;
    transition: all 0.5s;
    list-style-type: none;
}
.org-chart li {
    float: left;
    text-align: center;
    list-style-type: none;
    position: relative;
    padding: 20px 5px 0 5px;
    transition: all 0.5s;
}
/* Garis penghubung */
.org-chart li::before, .org-chart li::after {
    content: '';
    position: absolute;
    top: 0;
    right: 50%;
    border-top: 2px solid #ccc;
    width: 50%;
    height: 20px;
}
.org-chart li::after {
    right: auto;
    left: 50%;
    border-left: 2px solid #ccc;
}
/* Hapus garis untuk elemen yang tidak perlu */
.org-chart li:only-child::after, .org-chart li:only-child::before {
    display: none;
}
.org-chart li:first-child::before, .org-chart li:last-child::after {
    border: 0 none;
}
.org-chart li:last-child::before {
    border-right: 2px solid #ccc;
    border-radius: 0 5px 0 0;
}
.org-chart li:first-child::after {
    border-radius: 5px 0 0 0;
}
.org-chart ul ul::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    border-left: 2px solid #ccc;
    width: 0;
    height: 20px;
}
.org-chart li span {
    border: 2px solid var(--secondary-color);
    padding: 15px 20px;
    display: inline-block;
    border-radius: 8px;
    min-width: 200px;
    background-color: #fff;
    transition: all 0.3s ease;
}
.org-chart li span:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: var(--accent-color);
}
.org-chart li span h5 {
    font-size: 1.1rem;
    color: var(--dark-color);
    margin: 0;
}
.org-chart li span p {
    font-size: 0.9rem;
    color: #6c757d;
    margin: 5px 0 0 0;
    font-weight: 300;
}

/* Clearfix untuk float */
.org-chart ul::after {
    content: "";
    display: table;
    clear: both;
}

/* Responsive */
@media (max-width: 992px) {
    .welcome-grid {
        grid-template-columns: 1fr;
    }
    .welcome-image {
        order: -1; /* Pindah gambar ke atas */
        margin-bottom: 40px;
    }
}

/* ======================================= */
/* ===== STYLES FOR PROGRAM.HTML PAGE ===== */
/* ======================================= */

/* Program Intro Section */
.program-intro-section {
    padding: 40px 0;
    text-align: center;
    background-color: var(--white-color);
}
.program-intro-section p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: #6c757d;
}

/* Program List Section */
.program-list-section {
    padding: 40px 0 80px 0;
    background-color: var(--light-gray-color);
}
.program-detail-item {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    align-items: center;
    background-color: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
    border-left: 8px solid; /* Default border color */
}

/* Layout Reverse untuk item selang-seling */
.program-detail-item.reverse {
    grid-template-columns: 1.5fr 1fr;
}
.program-detail-item.reverse .program-detail-image {
    order: 2;
}
.program-detail-item.reverse .program-detail-content {
    order: 1;
}

.program-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.program-detail-content h3 {
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 15px;
}
.program-description {
    color: #6c757d;
    margin-bottom: 30px;
    line-height: 1.8;
}
.program-detail-content h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-top: 25px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.program-detail-content ul {
    list-style-type: none;
    padding-left: 0;
}
.program-detail-content ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}
.program-detail-content ul li::before {
    content: '\f058'; /* Font Awesome Check Circle */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

/* Status Badge */
.program-status {
    position: absolute;
    top: 20px;
    right: -1px;
    background-color: var(--accent-color);
    color: var(--dark-color);
    padding: 5px 25px 5px 15px;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 20px 0 0 20px;
    box-shadow: -2px 2px 8px rgba(0,0,0,0.1);
}

/* Tema Warna per Program */
.program-detail-item.theme-digital { border-color: #17a2b8; } /* Teal */
.program-detail-item.theme-digital .program-status { background-color: #17a2b8; color: white; }

.program-detail-item.theme-guru { border-color: #007bff; } /* Blue */
.program-detail-item.theme-guru .program-status { background-color: #007bff; color: white; }

.program-detail-item.theme-karakter { border-color: #fd7e14; } /* Orange */
.program-detail-item.theme-karakter .program-status { background-color: #fd7e14; color: white; }

/* Responsive untuk Detail Program */
@media (max-width: 992px) {
    .program-detail-item,
    .program-detail-item.reverse {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px;
    }
    .program-detail-item.reverse .program-detail-image {
        order: 0; /* Reset order */
    }
    .program-detail-content h3 {
        font-size: 1.8rem;
    }
}

/* ======================================= */
/* ===== STYLES FOR LAYANAN.HTML PAGE ===== */
/* ======================================= */

/* Featured Service Section */
.featured-service-section {
    padding: 80px 0;
    background-color: var(--light-gray-color);
}
.featured-service-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}
.featured-tag {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--dark-color);
    padding: 5px 15px;
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 15px;
}
.featured-service-text h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}
.featured-service-text p {
    line-height: 1.8;
    color: #6c757d;
    margin-bottom: 30px;
}
.featured-service-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

/* All Services Section */
.all-services-section {
    padding: 80px 0;
    background-color: #fff;
}
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.service-grid-card {
    display: block;
    background-color: #fff;
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #e9ecef;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    color: var(--text-color);
    text-decoration: none;
}
.service-grid-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--secondary-color);
}
.service-grid-card i {
    font-size: 3rem;
    margin-bottom: 25px;
    color: var(--primary-color);
    transition: color 0.3s ease;
}
.service-grid-card:hover i {
    color: var(--secondary-color);
}
.service-grid-card h3 {
    color: var(--dark-color);
    font-size: 1.3rem;
    margin-bottom: 10px;
}
.service-grid-card p {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Service Hours Section */
.service-hours-section {
    padding: 40px 0;
    background-color: var(--light-gray-color);
    border-top: 1px solid #dee2e6;
}
.service-hours-section .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    color: var(--text-color);
}
.service-hours-section i {
    font-size: 2rem;
    color: var(--primary-color);
}
.service-hours-text h4 {
    font-size: 1.2rem;
    margin: 0 0 5px 0;
}
.service-hours-text p {
    margin: 0;
    color: #6c757d;
}

/* Responsive */
@media (max-width: 992px) {
    .featured-service-grid {
        grid-template-columns: 1fr;
    }
    .featured-service-image {
        order: -1;
        margin-bottom: 40px;
    }
}

/* ======================================= */
/* ===== STYLES FOR KONTAK.HTML PAGE ===== */
/* ======================================= */

/* Contact Main Section */
.contact-main-section {
    padding: 80px 0;
    background-color: #fff;
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}
.contact-info h3, .contact-form h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}
.contact-info p, .contact-form p {
    color: #6c757d;
    margin-bottom: 30px;
    line-height: 1.7;
}

/* Kolom Kiri: Info Kontak */
.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
}
.info-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-top: 5px;
    width: 25px;
    text-align: center;
}
.info-item div {
    display: flex;
    flex-direction: column;
}
.info-item strong {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 2px;
}
.info-item span {
    color: #6c757d;
}
.social-title {
    margin-top: 40px;
}
.contact-social-icons {
    display: flex;
    gap: 15px;
}
.contact-social-icons a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--light-gray-color);
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}
.contact-social-icons a:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-5px);
}

/* Kolom Kanan: Form */
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-color);
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.2);
}
.submit-btn {
    width: 100%;
    padding: 15px;
    border-radius: 6px;
    background-color: var(--primary-color);
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.submit-btn:hover {
    background-color: var(--dark-color);
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Location Section (Map Alternative) */
.location-section {
    padding: 80px 0;
    background-color: var(--light-gray-color);
}
.location-image {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 30px auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}
.location-image img {
    width: 100%;
    display: block;
}
.location-address {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color);
}


/* Responsive */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .contact-info {
        margin-bottom: 50px;
    }
}