/* =========================================
   KAMPUS KEMENAG - STYLE CSS LENGKAP
   ========================================= */

/* === GANTI FONT MENJADI RESMI & MODERN === */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700;800&family=Roboto:wght@400;500;700&display=swap');

/* === VARIABEL WARNA KEMENAG === */
:root {
    --primary-green: #00754A;
    --dark-green: #005233;
    --light-green: #E8F5EE;
    --accent-gold: #C9A227;
    --text-dark: #1d2327; /* Warna hitam peat untuk teks */
    --text-gray: #6B7280;
    --white: #FFFFFF;
    --soft-gray: #F3F4F6;
}

/* === RESET CSS DASAR === */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Roboto', sans-serif; color: var(--text-dark); line-height: 1.6; }
h1, h2, h3, h4, h5, h6 { font-family: 'Montserrat', sans-serif; color: #1d2327; } /* Warna hitam */
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* === NAVBAR === */
.navbar {
    background: var(--white);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.navbar-container {
    width: 100%; /* Lebar penuh sampai tepi layar */
    padding: 0 40px; /* Jarak 40px dari kiri dan kanan tepi layar */
    display: flex;
    justify-content: space-between; /* Logo kiri, Menu kanan */
    align-items: center;
    box-sizing: border-box;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: var(--dark-green);
    margin-right: auto; /* Pastikan logo tetap di kiri */
}

.logo span { color: var(--accent-gold); }

.nav-links {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.nav-links a:hover { color: var(--primary-green); }

.btn-nav {
    background: var(--primary-green);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.btn-nav:hover { background: var(--dark-green); }



/* === HERO SECTION === */
.hero {
    background: linear-gradient(135deg, var(--dark-green), var(--primary-green));
    color: var(--white);
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero h1 { color: var(--white); font-size: 2.5rem; margin-bottom: 15px; }
.hero p { font-size: 1.2rem; max-width: 700px; margin: 0 auto 30px auto; opacity: 0.9; }
.btn-hero {
    background: var(--accent-gold);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    display: inline-block;
    transition: transform 0.3s ease;
}
.btn-hero:hover { transform: translateY(-3px); }

/* === SECTION UMUM === */
.section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}
.section-title {
    text-align: center;
    margin-bottom: 40px;
}
.section-title h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}
.section-title p { color: var(--text-gray); }
.section-title span { color: var(--primary-green); font-weight: 600; }

/* === GRID FITUR === */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.feature-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--primary-green);
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--light-green);
    color: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}

/* === FOOTER === */
.footer {
    background: var(--dark-green);
    color: var(--white);
    padding: 50px 20px;
    text-align: center;
    margin-top: 40px;
}
.footer p { opacity: 0.8; }
.footer-links { display: flex; justify-content: center; gap: 20px; margin: 20px 0; }
.footer-links a:hover { color: var(--accent-gold); }




/* === STYLE HALAMAN PROFIL FRONTEND === */
.profil-header {
    background: linear-gradient(135deg, var(--dark-green), var(--primary-green));
    color: white;
    padding: 60px 20px;
    text-align: center;
    margin-bottom: 50px;
}
.profil-header h1 { color: white; font-size: 2.2rem; margin: 0 0 10px 0; }
.profil-header p { margin: 0; opacity: 0.9; font-size: 1rem; }

.container-profil {
    max-width: 900px;
    margin: 0 auto 80px auto;
    padding: 0 20px;
}

/* KONTEN STANDAR (VISI MISI DLL) */
.konten-standar {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    line-height: 1.8;
    font-size: 1.05rem;
    color: var(--text-dark);
}
.konten-standar h3 { color: var(--primary-green); margin-top: 20px; }

/* === TIMELINE SEJARAH === */
.timeline {
    position: relative;
    padding: 20px 0;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--light-green);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 60px;
}
.timeline-item:last-child { margin-bottom: 0; }

.timeline-dot {
    position: absolute;
    left: 11px;
    top: 5px;
    width: 22px;
    height: 22px;
    background: var(--accent-gold);
    border: 4px solid white;
    border-radius: 50%;
    box-shadow: 0 0 0 3px var(--light-green);
    z-index: 2;
}

.timeline-content {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}
.timeline-content:hover {
    transform: translateX(10px);
}

/* Gaya teks di dalam timeline */
.timeline-content h3 {
    color: var(--primary-green);
    margin: 0 0 15px 0;
    font-size: 1.5rem;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--light-green);
}
.timeline-content p {
    margin: 0;
    color: var(--text-dark);
    line-height: 1.7;
}

/* TIMELINE RESPONSIVE DI HP */
@media screen and (max-width: 768px) {
    .timeline-item { padding-left: 50px; }
    .timeline::before { left: 15px; }
    .timeline-dot { left: 6px; }
    .timeline-content { padding: 20px; }
    .timeline-content h3 { font-size: 1.2rem; }
}

/* === HILANGKAN SEMUA SCROLLBAR TAPI TETAP BISA DI-SCROLL === */

/* Target semua elemen HTML */
* {
    -ms-overflow-style: none;  /* IE dan Edge */
    scrollbar-width: none;     /* Firefox */
}

/* Chrome, Safari, dan Opera */
*::-webkit-scrollbar {
    display: none;
    width: 0 !important;
    height: 0 !important;
    background: transparent !important;
}