    /* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary-color: #2917a2;
    --secondary-color: #1b129f;
    --accent-color: #251199;
    --light-color: #f8f9fa;
    --dark-color: #1e0e78;
    --gray-color: #120c6a;
}

body {
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #fff;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.section-title h2 {
    color: var(--primary-color);
    font-size: 2rem;
    display: inline-block;
    padding-bottom: 10px;
    position: relative;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
}

/* Header & Navigation */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px;
    margin-right: 10px;
}

.logo-text h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
    line-height: 1.2;
}

.logo-text p {
    font-size: 0.8rem;
    color: var(--gray-color);
}

nav ul {
    display: flex;
}

nav li {
    margin-left: 25px;
    position: relative;
}

nav a {
    font-weight: 600;
    color: var(--dark-color);
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--primary-color);
}

nav a.active {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(46, 43, 220, 0.8), rgba(64, 45, 234, 0.8)), url('https://images.unsplash.com/photo-1497366216548-37526070297c?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 30px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: var(--light-color);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-text {
    flex: 1;
}

.about-text h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
}

/* Activities Section */
.activities {
    padding: 80px 0;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.activity-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.activity-card:hover {
    transform: translateY(-10px);
}

.activity-image {
    height: 200px;
    overflow: hidden;
}

.activity-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.activity-card:hover .activity-image img {
    transform: scale(1.1);
}

.activity-content {
    padding: 20px;
}

.activity-content h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.activity-date {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    margin-bottom: 15px;
}

/* Gallery Section */
.gallery {
    padding: 80px 0;
    background-color: var(--light-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    height: 200px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}
/* Contact Section */
.contact {
    padding: 80px 0;
}

.contact-container {
    display: flex;
    gap: 50px;
}

.contact-info {
    flex: 1;
}

.contact-form {
    flex: 1;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-icon {
    background-color: var(--primary-color);
    color: rgb(255, 255, 255);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 70px;
    margin-bottom: 15px;
}

.footer-links h3,
.footer-social h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3::after,
.footer-social h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a:hover {
    color: var(--accent-color);
    padding-left: 5px;
    transition: all 0.3s ease;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--accent-color);
    transform: translateY(-5px);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }

    .contact-container {
        flex-direction: column;
    }
}


@media (max-width: 576px) {
    .hero {
        padding: 70px 0;
    }

    .section-title h2 {
        font-size: 1.5rem;
    }

    .about,
    .activities,
    .gallery,
    .contact {
        padding: 60px 0;
    }
}

    /* Additional styles for new features */
    html {
        scroll-behavior: smooth;
    }

    /* Profile Section Styles */
    .profile-section {
        padding: 80px 0;
        background-color: #f8f9fa;
    }

    .vision-mission {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
        margin-bottom: 40px;
    }

    .vision,
    .mission {
        background: white;
        padding: 30px;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    }

    .vision h3,
    .mission h3 {
        color: #1a5f7a;
        margin-bottom: 20px;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .mission ul {
        list-style-type: none;
    }

    .mission ul li {
        padding: 8px 0;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 25px;
    }

    .mission ul li:before {
        content: "✓";
        position: absolute;
        left: 0;
        color: #25D366;
        font-weight: bold;
    }

    .goals {
        background: white;
        padding: 30px;
        border-radius: 10px;
        margin-bottom: 40px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    }

    .goal-list {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 15px;
        margin-top: 20px;
    }

    .goal-item {
        background: #e8f4ff;
        padding: 15px;
        border-radius: 8px;
        text-align: center;
        transition: transform 0.3s ease;
    }

    .goal-item:hover {
        transform: translateY(-5px);
        background: #d4e9ff;
    }

    .history {
        background: white;
        padding: 30px;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    }

    .timeline {
        position: relative;
        padding-left: 30px;
        margin-top: 20px;
    }

    .timeline:before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 3px;
        background: #1a5f7a;
    }

    .timeline-item {
        position: relative;
        margin-bottom: 20px;
        padding-bottom: 20px;
        border-bottom: 1px dashed #ddd;
    }

    .timeline-item:last-child {
        border-bottom: none;
    }

    .timeline-item:before {
        content: '';
        position: absolute;
        left: -36px;
        top: 0;
        width: 15px;
        height: 15px;
        border-radius: 50%;
        background: #25D366;
        border: 3px solid white;
        box-shadow: 0 0 0 3px #1a5f7a;
    }

    .year {
        font-weight: bold;
        color: #1a5f7a;
        font-size: 1.1rem;
    }

    /* Structure Section */
    .structure-section {
        padding: 80px 0;
    }

    .org-chart {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 40px 0;
    }

    .org-level {
        display: flex;
        justify-content: center;
        gap: 20px;
        margin: 20px 0;
        position: relative;
    }

    .org-position,
    .dept {
        background: #1a5f7a;
        color: white;
        padding: 15px 30px;
        border-radius: 8px;
        text-align: center;
        min-width: 200px;
        position: relative;
    }

    .org-position:after,
    .dept:after {
        content: '';
        position: absolute;
        bottom: -20px;
        left: 50%;
        transform: translateX(-50%);
        width: 2px;
        height: 20px;
        background: #1a5f7a;
    }

    .org-level:last-child .org-position:after,
    .org-level:last-child .dept:after {
        display: none;
    }

    .member-table {
        width: 100%;
        border-collapse: collapse;
        margin-top: 20px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    }

    .member-table th {
        background: #1a5f7a;
        color: white;
        padding: 15px;
        text-align: left;
    }

    .member-table td {
        padding: 12px 15px;
        border-bottom: 1px solid #eee;
    }

    .member-table tr:hover {
        background: #f5f5f5;
    }

    /* Program Section */
    .program-section {
        padding: 80px 0;
        background-color: #f8f9fa;
    }

    .program-categories {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
        margin-bottom: 40px;
    }

    .category {
        background: white;
        padding: 25px;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        transition: transform 0.3s ease;
    }

    .category:hover {
        transform: translateY(-10px);
    }

    .category h3 {
        color: #1a5f7a;
        margin-bottom: 15px;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .category ul {
        list-style-type: none;
    }

    .category ul li {
        padding: 8px 0;
        border-bottom: 1px solid #eee;
    }

    /* Finance Section */
    .finance-section {
        padding: 80px 0;
    }

    .finance-summary {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 30px;
        margin: 40px 0;
    }

    .finance-card {
        background: white;
        padding: 30px;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        text-align: center;
    }

    .finance-card h4 {
        color: #1a5f7a;
        margin-bottom: 15px;
    }

    .amount {
        font-size: 2rem;
        font-weight: bold;
        color: #25D366;
        margin: 15px 0;
    }

    /* WhatsApp Form Styles */
    .whatsapp-info {
        background-color: #e8f5e9;
        color: #2e7d32;
        padding: 10px 15px;
        border-radius: 5px;
        margin-bottom: 20px;
        font-size: 0.9rem;
        border-left: 4px solid #4caf50;
    }

    .input-hint {
        display: block;
        color: #6c757d;
        font-size: 0.8rem;
        margin-top: 5px;
    }

    .form-group select {
        width: 100%;
        padding: 12px;
        border: 1px solid #ddd;
        border-radius: 4px;
        font-size: 1rem;
        background-color: white;
        cursor: pointer;
    }

    .char-counter {
        text-align: right;
        font-size: 0.8rem;
        color: #6c757d;
        margin-top: 5px;
    }

    .form-actions {
        display: flex;
        gap: 15px;
        margin-top: 20px;
    }

    .form-actions .btn {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }

    .btn-primary {
        background-color: #2805a7 !important;
        border-color: #0f0892 !important;
    }

    .btn-primary:hover {
        background-color: transparent !important;
        color: #1a0471 !important;
    }

    .whatsapp-note {
        background-color: #f5f5f5;
        padding: 10px;
        border-radius: 5px;
        margin-top: 20px;
        text-align: center;
        font-size: 0.9rem;
        color: #6c757d;
    }

    /* WhatsApp Float Button */
    .whatsapp-float {
        position: fixed;
        bottom: 30px;
        right: 30px;
        background-color: #25D366;
        color: white;
        width: 60px;
        height: 60px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 30px;
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
        z-index: 1000;
        transition: all 0.3s ease;
        text-decoration: none;
    }

    .whatsapp-float:hover {
        background-color: #128C7E;
        transform: scale(1.1);
        color: white;
    }

    /* WhatsApp Form Fixes */
    .form-group select:focus,
    .form-group input:focus,
    .form-group textarea:focus {
        border-color: #25D366 !important;
        box-shadow: 0 0 0 2px rgba(37, 211, 102, 0.2) !important;
        outline: none !important;
    }

    .btn-primary {
        transition: all 0.3s ease !important;
    }

    .btn-primary:hover {
        transform: translateY(-2px) !important;
        box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3) !important;
    }

    .btn-outline {
        border-color: #230696 !important;
        color: #330589 !important;
    }

/* Perbaikan btn-outline:hover */
.btn-outline:hover {
    background-color: #140788 !important;
    color: white !important;
}

    /* Animation for elements */
    .animated {
        animation: fadeInUp 0.6s ease forwards;
    }

/* Perbaikan fadeInUp */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

    /* Documents Section */
    .documents-section {
        padding: 80px 0;
        background-color: #f8f9fa;
    }

    .document-categories {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 30px;
        margin-top: 40px;
    }

    .doc-category {
        background: white;
        padding: 25px;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    }

    .doc-category h4 {
        color: #1a5f7a;
        margin-bottom: 15px;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .doc-category ul {
        list-style-type: none;
    }

    .doc-category ul li {
        padding: 8px 0;
        border-bottom: 1px solid #eee;
    }

    .doc-category ul li a {
        color: #333;
        text-decoration: none;
        transition: color 0.3s ease;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .doc-category ul li a:hover {
        color: #25D366;
        padding-left: 5px;
    }

    /* Responsive Design */
    @media (max-width: 768px) {
        .org-level {
            flex-direction: column;
            align-items: center;
        }

        .form-actions {
            flex-direction: column;
        }

        .whatsapp-float {
            bottom: 20px;
            right: 20px;
            width: 50px;
            height: 50px;
            font-size: 25px;
        }

        .finance-summary {
            grid-template-columns: 1fr;
        }

        .document-categories {
            grid-template-columns: 1fr;
        }
    }

    @media (max-width: 576px) {

        .vision-mission,
        .program-categories {
            grid-template-columns: 1fr;
        }

        .goal-list {
            grid-template-columns: 1fr;
        }
    }
    
    
    /* --- MOBILE MENU SETTING --- */
nav {
    transition: 0.3s ease;
}

/* Default: sembunyikan menu di HP */
@media (max-width: 768px) {
    #mainNav ul {
        display: none;
        position: absolute;
        top: 70px;
        right: 0;
        width: 200px;
        background: #1a5f7a;
        padding: 15px 0;
        border-radius: 8px;
        text-align: right;
        box-shadow: 0px 5px 20px rgba(0,0,0,0.15);
    }

    #mainNav ul li {
        margin: 10px 0;
    }

    #mainNav ul li a {
        color: white;
        padding: 10px 20px;
        display: block;
    }

    /* Toggler button muncul di HP */
    .mobile-menu-btn {
        display: block;
        font-size: 28px;
        color: #1a5f7a;
        cursor: pointer;
    }

    /* Saat menu aktif */
    #mainNav.active ul {
        display: block;
    }

    /* Hilangkan nav default */
    nav {
        position: relative;
    }
}

/* Desktop: menu tampil normal */
@media (min-width: 769px) {
    .mobile-menu-btn {
        display: none;
    }

    #mainNav ul {
        display: flex !important;
        gap: 20px;
    }
}

/* =======================
   NAVBAR FIX (FINAL)
======================= */

/* Default Desktop */
nav {
    display: flex;
    align-items: center;
    transition: 0.3s ease;
}

#mainNav ul {
    display: flex;
    gap: 25px;
}

.mobile-menu-btn {
    display: none;
}

/* MOBILE */
@media (max-width: 768px) {

    /* Tampilkan tombol hamburger */
    .mobile-menu-btn {
        display: block;
        font-size: 28px;
        color: var(--primary-color);
        cursor: pointer;
        z-index: 1001;
    }

    /* Reset nav jadi relative */
    nav {
        position: relative;
        width: auto;
    }

    /* Sembunyikan menu default */
    #mainNav ul {
        display: none;
        position: absolute;
        top: 70px;
        right: 0;
        background: #1a5f7a;
        width: 220px;
        padding: 15px 0;
        text-align: right;
        border-radius: 10px;
        box-shadow: 0px 5px 20px rgba(0,0,0,0.2);
        z-index: 1000;
    }

    #mainNav ul li {
        margin: 10px 0;
    }

    #mainNav ul li a {
        display: block;
        padding: 12px 20px;
        color: white;
    }

    /* Saat hamburger diklik → nav.active */
    #mainNav.active ul {
        display: block;
    }
}

/* Desktop */
@media (min-width: 769px) {
    .mobile-menu-btn {
        display: none;
    }

    #mainNav ul {
        display: flex !important;
    }
}




