/* ===== RESET & DASAR ===== */
* {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #f8f9fa;
    line-height: 1.6;
}

/* ===== NAVBAR ===== */
.navbar-custom {
    background: linear-gradient(135deg, #2E7D32 0%, #1B5E20 100%);
    padding: 1rem 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.navbar-custom .navbar-brand {
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}

.navbar-custom .nav-link {
    color: rgba(255,255,255,0.9) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    margin: 0 0.2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
    background: rgba(255,255,255,0.15);
    color: white !important;
    transform: translateY(-2px);
}

.btn-login-nav {
    background: white;
    color: #2E7D32 !important;
    font-weight: 600;
    padding: 0.5rem 1.5rem !important;
    border-radius: 50px;
}

.btn-login-nav:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

/* ===== PAGE HEADER (HERO) ===== */
.hero-section {
    background: linear-gradient(135deg, #1B5E20 0%, #2E7D32 100%);
    color: white;
    padding: 80px 0;
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,170.7C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.1;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
    margin-bottom: 2rem;
}

.page-header {
    background: linear-gradient(135deg, #1B5E20 0%, #2E7D32 100%);
    color: white;
    padding: 50px 0;
    margin-bottom: 50px;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

.page-header .breadcrumb {
    background: transparent;
    justify-content: center;
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
}

.page-header .breadcrumb-item.active {
    color: white;
}

/* ===== SECTION TITLE ===== */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title.text-start {
    text-align: left;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e2a3a;
    margin-bottom: 1rem;
}

.section-title .divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #2E7D32, #81C784);
    margin: 0 auto;
    border-radius: 2px;
}

.section-title.text-start .divider {
    margin-left: 0;
}

/* ===== BUTTONS ===== */
.btn-custom {
    background: #2E7D32;
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    display: inline-block;
}

.btn-custom:hover {
    background: #1B5E20;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 125, 50, 0.4);
}

.btn-outline-custom {
    border: 2px solid #2E7D32;
    color: #2E7D32;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-outline-custom:hover {
    background: #2E7D32;
    color: white;
    transform: translateY(-2px);
}

.btn-submit {
    background: #2E7D32;
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    transition: all 0.3s;
    width: 100%;
}

.btn-submit:hover {
    background: #1B5E20;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46,125,50,0.4);
}

/* ===== CARDS ===== */
.card-custom {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    height: 100%;
    background: white;
}

.card-custom:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(46, 125, 50, 0.15);
}

.card-custom .card-body {
    padding: 2rem;
}

.card-icon {
    font-size: 2.5rem;
    color: #2E7D32;
    margin-bottom: 1.5rem;
}

.icon-circle {
    width: 70px;
    height: 70px;
    background: rgba(46, 125, 50, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: #2E7D32;
    font-size: 2rem;
}

/* News Card */
.news-card {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
    background: white;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.news-card .card-body {
    padding: 1.5rem;
}

.news-date {
    color: #2E7D32;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
}

.news-title {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 1rem;
    color: #1e2a3a;
}

.news-excerpt {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.read-more {
    color: #2E7D32;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.read-more:hover {
    color: #1B5E20;
    gap: 0.8rem;
}

/* Program Card (khusus untuk halaman program) */
.program-card {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px rgba(46,125,50,0.1);
}

.program-header {
    background: linear-gradient(135deg, #2E7D32, #1B5E20);
    color: white;
    padding: 1.5rem;
    text-align: center;
}

.program-header i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.program-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0;
}

.program-body {
    padding: 2rem;
}

.program-detail {
    margin-bottom: 1.5rem;
}

.program-detail h5 {
    color: #2E7D32;
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.program-detail p {
    color: #6c757d;
    line-height: 1.7;
}

.badge-program {
    background: rgba(46,125,50,0.1);
    color: #2E7D32;
    font-weight: 500;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    display: inline-block;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

/* ===== STATS COUNTER ===== */
.stats-section {
    background: white;
    padding: 50px 0;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2E7D32;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #6c757d;
    font-weight: 500;
}

/* ===== STRUKTUR ORGANISASI ===== */
.struktur-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.03);
}

.struktur-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.struktur-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.struktur-icon i {
    font-size: 1.8rem;
    color: #2E7D32;
}

/* ===== KONTAK ===== */
.contact-info {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 45px;
    height: 45px;
    background: rgba(46,125,50,0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2E7D32;
    font-size: 1.2rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.contact-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    height: 100%;
    transition: transform 0.3s;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(46,125,50,0.1);
}

.contact-icon-large {
    width: 70px;
    height: 70px;
    background: rgba(46,125,50,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: #2E7D32;
    font-size: 2rem;
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-top: 30px;
}

/* ===== FORM ===== */
.form-control, .form-select {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    transition: all 0.3s;
}

.form-control:focus, .form-select:focus {
    border-color: #2E7D32;
    box-shadow: 0 0 0 0.2rem rgba(46,125,50,0.25);
}

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(135deg, #1B5E20 0%, #2E7D32 100%);
    color: white;
    padding: 50px 0 20px;
    margin-top: 70px;
}

.footer h5 {
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 0.75rem;
}

.footer ul li a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: padding-left 0.3s ease;
}

.footer ul li a:hover {
    color: white;
    padding-left: 5px;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    margin-right: 1rem;
    transition: transform 0.3s ease;
    display: inline-block;
}

.social-links a:hover {
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 30px;
    padding-top: 20px;
    text-align: center;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

/* ===== UTILITY ===== */
.back-link {
    display: inline-block;
    margin-bottom: 2rem;
    color: #2E7D32;
    text-decoration: none;
    font-weight: 500;
}

.back-link:hover {
    color: #1B5E20;
}

.struktur-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}
.struktur-icon {
    width: 70px;
    text-align: center;
}
.struktur-icon img, .struktur-icon i {
    width: 60px;
    height: 60px;
    object-fit: cover;
}