:root {
    /* Primary Color - Hijau Segar */
    --primary: #0D8D49;
    --primary-dark: #0B5E30;
    /* Lebih gelap dari primary */
    --primary-light: #4CAF84;
    /* Lebih terang dari primary */

    /* Secondary Color - Abu Gelap Elegan */
    --secondary: #0A5E32;
    --secondary-light: #0D8D49;

    /* Accent (Aksen Cerah untuk CTA / Hover) */
    --accent: #ffab00;

    /* Netral / Background / Text */
    --light: #f5f7fa;
    --dark: #263238;
    --text: #37474f;
    --text-light: #78909c;

    /* Status Colors */
    --success: #388e3c;
    --info: #0288d1;
    --warning: #f57c00;
    --error: #d32f2f;

    /* Shadows & Transitions */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    color: var(--text);
    background-color: var(--light);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ===== MOBILE-FIRST HEADER ===== */
header {
    background: #2c3e50;
    padding: 0.7rem 1rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* Logo - Slimmer version */
.logo {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    /* lebih kecil supaya teks dan ikon mendekat */
    text-decoration: none;
    transform: scale(0.95);
    /* sedikit kecilkan agar pas di header */
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon img {
    width: 40px;
    height: auto;
    object-fit: contain;
    display: block;
}

.logo-text h1 {
    font-size: 0.9rem !important;
    font-weight: 600;
    color: white;
    margin: 0;
    line-height: 1.1;
    white-space: nowrap;
}

.logo-text p {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1;
}


/* ===== BASE STYLES ===== */
header {
    background: #2c3e50;
    padding: 0.7rem 1rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== LOGO STYLES ===== */
.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
}

.logo-icon img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.logo-icon {
    margin-right: -8px;
    /* Jarak 10px ke kanan */
}

.logo-text h1 {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin: 0;
    line-height: 1.2;
}

.logo-text p {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* ===== MOBILE MENU STYLES ===== */
.menu-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 1.4rem;
    padding: 0.4rem;
    display: block;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.nav-menu {
    position: fixed;
    align-items: center;
    top: 60px;
    left: 0;
    width: 100%;
    height: calc(100vh - 60px);
    background: linear-gradient(to top, var(--secondary), var(--secondary-light));
    padding: 1.5rem;
    transform: translateX(-100%);
    transition: transform 0.3s ease-out;
    overflow-y: auto;
}

.nav-menu.active {
    transform: translateX(0);
}

.nav-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1.5rem;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.95rem;
    padding: 0.6rem 0;
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.nav-links i {
    width: 20px;
    text-align: center;
    font-size: 0.9rem;
}

.auth-dropdown {
    position: relative;
    display: inline-block;
}

/* Tombol Akun */
.auth-toggle {
    background: transparent;
    color: white;
    font-weight: 500;
    padding: 12px 18px;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
    border: 1.5px solid #ddd;
}

/* Caret default */
.auth-toggle .caret-icon {
    transition: transform 0.3s ease;
}

/* Dropdown Menu */
.auth-dropdown .auth-menu {
    position: absolute;
    top: 120%;
    left: auto;
    right: 0;
    background: white;
    min-width: 200px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 999;
    padding: 0;
}

/* Dropdown Item */
.auth-menu li {
    list-style: none;
}

.auth-menu li a {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 12px 18px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s ease, color 0.2s ease;
}

.auth-menu li a:hover {
    background-color: #f5f5f5;
    color: #0D8D49;
}

/* Show dropdown on hover */
/* .auth-dropdown:hover .auth-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
} */

/* Caret rotate on hover */
.auth-dropdown:hover .auth-toggle .caret-icon {
    transform: rotate(180deg);
}

/* HOVER normal semua item */
.auth-menu li a:hover {
    background-color: #f5f5f5;
    color: #0D8D49;
    border-radius: 0;
    /* pastikan default tidak membulat semua */
}

/* Item pertama */
.auth-menu li:first-child a:hover {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

/* Item terakhir */
.auth-menu li:last-child a:hover {
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.auth-menu a.disabled {
    pointer-events: none;
    /* Tidak bisa diklik */
    opacity: 0.5;
    /* Tampil transparan */
    cursor: not-allowed;
    /* Tunjukkan tidak aktif */
}


.user-status {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: white;
    padding: 0.8rem 0;
}

.user-avatar {
    width: 32px;
    height: 32px;
    background: #d32f2f;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* ===== DESKTOP STYLES ===== */
@media (min-width: 1024px) {
    header {
        padding: 0.7rem 2rem;
    }

    .menu-toggle {
        display: none;
    }

    .nav-menu {
        position: static;
        width: auto;
        height: auto;
        background: transparent;
        padding: 0;
        transform: none;
        overflow-y: visible;
        display: flex;
        align-items: center;
        gap: 1.5rem;
    }

    .auto-close-menu {
        display: none;
    }

    .nav-links {
        flex-direction: row;
        gap: 1.2rem;
        padding: 0;
        border: none;
        margin: 0;
    }

    .nav-links a {
        padding: 0.4rem 0;
        position: relative;
    }

    .nav-links a::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background-color: rgba(255, 255, 255, 0.9);
        transition: width 0.3s ease;
    }

    .nav-links a:hover::after {
        width: 100%;
    }

    .auth-section {
        width: auto;
    }

    .auth-toggle {
        width: auto;
        padding: 0.5rem 1rem;
    }

    .auth-menu {
        position: absolute;
        width: 180px;
        right: 0;
        background: white;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .auth-menu a {
        color: #333;
    }

    .auth-menu a:hover {
        background: #f5f5f5;
        color: #d32f2f;
    }
}

@media (max-width: 1023px) {
    .auto-close-menu {
        position: absolute;
        top: 1.2rem;
        right: 1.5rem;
        background: none;
        border: none;
        font-size: 2rem;
        color: white;
        z-index: 1101;
        cursor: pointer;
    }

    .auto-close-menu i {
        pointer-events: none;
    }
}


@media (max-width: 1023px) {
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: linear-gradient(to top, var(--secondary), var(--secondary-light));
        padding: 2rem 1.5rem;
        transform: translateX(-100%);

        overflow-y: auto;
        z-index: 999;

        /* Transisi untuk animasi buka/tutup */
        transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;

        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;

        opacity: 0;
        visibility: hidden;
    }

    .nav-menu.active {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        padding: 0;
        margin: 0;
        width: 100%;
    }

    .nav-links li {
        list-style: none;
    }

    .nav-links i{
        display: none;
    }

    .nav-links a {
        display: block;
        width: 100%;
        font-size: 1rem;
        color: white;
        padding: 1rem;
        border-radius: 8px;

        text-decoration: none;
        transition: background 0.3s;
    }

    .nav-links a:hover {
        background-color: rgba(255, 255, 255, 0.15);
    }

    .dropdown .dropdown-menu {
        position: static;
        transform: none;
        visibility: visible;
        opacity: 1;
        margin-top: 0.5rem;
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: 8px;
        box-shadow: none;
    }

    .dropdown .dropdown-menu li a {
        padding: 0.75rem 1rem;
        color: #fff;
    }

    .auth-dropdown {
        margin-top: 2rem;
        width: 100%;
    }

    .auth-toggle {
        width: 100%;
        padding: 1rem;
        font-size: 1rem;
        background-color: white;
        color: var(--secondary, #007bff);
        border-radius: 8px;
        border: none;
        text-align: center;
    }

    .auth-menu {
        margin-top: 0.5rem;
        background: white;
        border-radius: 8px;
        overflow: hidden;
    }

    .auth-menu a {
        display: block;
        padding: 0.8rem 1rem;
        color: #333;
    }

    .auth-menu a:hover {
        background-color: #f0f0f0;
        color: #d32f2f;
    }

    /* Tambahan opsional: tombol close dalam menu mobile */
    .menu-toggle .fa-times {
        font-size: 2rem;
        color: white;
        z-index: 1100;
    }
}


@media (max-width: 992px) {
    header {
        padding: 0.5rem 0;
        /* Hilangkan padding horizontal */
    }

    .header-container {
        padding: 0 15px;
        /* Atur padding container lebih kecil */
        margin: 0 -10px;
        /* "Tarik" element keluar dengan margin negatif */
    }

    .logo {
        margin-left: -2.5rem;
        /* Tarik logo lebih ke kiri */
        transform: scale(0.9);
        /* Optional: perkecil sedikit jika perlu */
    }

    .menu-toggle {
        margin-right: -2rem;
        /* Tarik toggle lebih ke kanan */
        padding: 8px 12px;
        /* Atur padding toggle */
    }
}

/* ===== UTILITY STYLES ===== */
#beranda,
#about,
#activities,
#members {
    scroll-margin-top: 80px;
}

/* index stykle indexxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx */

/* Hero Section */
.hero {
    background:
        linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
        url('../../uploads/foto/Screenshot (6).png') no-repeat center center;
    background-size: cover;
    color: white;
    padding: 120px 20px;
    text-align: center;
    position: relative;
}



html {
    scroll-behavior: smooth;
}


.hero-title {
    font-size: 3.5rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInDown 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease;
}



.btn {
    padding: 12px 30px;
    border-radius: 6px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    backdrop-filter: blur(5px);
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

/* About Section */
.about {
    padding: 80px 20px;
    background-color: #f9f9f9;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 50px;
    position: relative;
    justify-content: center;
    text-align: center;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #d32f2f;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease;
}

.about-image:hover {
    transform: scale(1.03);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.about-text p {
    margin-bottom: 20px;
}

.values-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.value-icon {
    color: #d32f2f;
    font-size: 1.5rem;
    margin-top: 5px;
}

.value-content h4 {
    color: #2c3e50;
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.value-content p {
    font-size: 0.95rem;
    margin-bottom: 0;
    color: #666;
}

/* Features Section */
.features {
    padding: 80px 20px;
    background-color: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: white;
    border-radius: 10px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: #d32f2f;
}

.feature-icon {
    font-size: 3rem;
    color: #d32f2f;
    margin-bottom: 25px;
}

.feature-title {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
}

.feature-desc {
    color: #666;
    font-size: 1rem;
    line-height: 1.7;
}

/* Activities Section */
.activities {
    padding: 80px 20px;
    background-color: #f5f7fa;
}

.activity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.activity-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.activity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.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: 25px;
}

.activity-date {
    display: inline-block;
    background-color: #d32f2f;
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.activity-title {
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 15px;
    line-height: 1.3;
}

.activity-desc {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.7;
}

.read-more {
    color: #d32f2f;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: #b71c1c;
    gap: 10px;
}

/* Testimonials */
.testimonials {
    padding: 80px 20px;
    background-color: white;
}

.testimonial-slider {
    max-width: 800px;
    margin: 50px auto 0;
}

.testimonial-item {
    background: #f9f9f9;
    border-radius: 10px;
    padding: 30px;
    margin: 0 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
}

.testimonial-item::before {
    content: '\201C';
    font-family: Georgia, serif;
    font-size: 5rem;
    color: rgba(211, 47, 47, 0.1);
    position: absolute;
    top: 10px;
    left: 20px;
    line-height: 1;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #d32f2f;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    color: #2c3e50;
    margin-bottom: 5px;
}

.author-info p {
    color: #78909c;
    font-size: 0.9rem;
}

/* Gallery Section */
.gallery {
    padding: 80px 20px;
    background-color: #f5f7fa;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    aspect-ratio: 1/1;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(44, 62, 80, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-icon {
    color: white;
    font-size: 2rem;
}

/* CTA Section */
.cta {
    padding: 100px 20px;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('../../uploads/684c6cb68c492.png') no-repeat center center;
    background-size: cover;
    color: white;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.7;
    opacity: 0.9;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
    }

    .about-image {
        max-width: 600px;
        margin: 0 auto;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 100px 20px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 1rem;
    }

    .values-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}

/* </style>
   end indexxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx */

/* Main Content */
main {
    flex: 1;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
    width: 100%;
}

.page-header {
    margin-bottom: 2.5rem;
    text-align: center;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0.5rem;
    background: linear-gradient(to right, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.org-title {
    color: var(--primary);
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.welcome-text {
    max-width: 800px;
    margin: 0 auto 2rem;
    color: var(--text);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Stats Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}


.stat-card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-top: 4px solid var(--text-light);
    margin-top: 7rem;
    margin-bottom: 7rem;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Features Section */
.features {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
    text-align: center;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.feature-desc {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.feature-btn {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background-color: var(--primary);
    color: white;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
    border: 2px solid var(--primary);
}

.feature-btn:hover {
    background-color: white;
    color: var(--primary);
    box-shadow: var(--shadow-md);
}

/* Quick Actions */
.quick-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.action-btn {
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.7rem;
    box-shadow: var(--shadow-sm);
}

.primary-btn {
    background-color: var(--primary);
    color: white;
    border: 2px solid var(--primary);
}

.primary-btn:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.secondary-btn {
    background-color: white;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.secondary-btn:hover {
    background-color: var(--primary-light);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* User Status (conditional display) */
.user-status {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
}

.user-name {
    font-weight: 500;
    color: white;
}

.logout-btn {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.9rem;
    transition: var(--transition);
}

.logout-btn:hover {
    color: var(--primary-light);
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    color: white;
    padding: 3rem 0 1.5rem;
    margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-col h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary);
}

.footer-about p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
    line-height: 1.8;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: white;
    opacity: 0.9;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary-light);
    padding-left: 5px;
}

.footer-links i {
    font-size: 0.8rem;
}

.footer-contact .contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.2rem;
    align-items: flex-start;
}

.contact-icon {
    color: var(--white);
    font-size: 1.1rem;
    margin-top: 0.2rem;
}

.contact-info {
    opacity: 0.9;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: white;
}

.social-icon:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 992px) {
    .header-container {
        padding: 0 1.5rem;
    }

    .nav-links {
        gap: 1rem;
        margin-right: 1rem;
    }
}

@media (max-width: 768px) {


    nav {
        width: 100%;
        justify-content: center;
    }

    .nav-links {
        margin-right: 0;
        margin-bottom: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .auth-buttons {
        width: 100%;
        justify-content: center;
    }

    .page-title {
        font-size: 2rem;
    }

    .org-title {
        font-size: 1.1rem;
    }

    .quick-actions {
        flex-direction: column;
        align-items: center;
    }

    .action-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .stats {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}





/* Auth Styless loginnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 200px);
    padding: 2rem 1rem;
}

.auth-card {
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 450px;
    padding: 2.5rem;
    border-top: 4px solid var(--primary);
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    color: var(--text-light);
    font-size: 0.95rem;
}

.auth-message {
    padding: 0.8rem 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.9rem;
}

.error-message {
    background-color: rgba(211, 47, 47, 0.1);
    color: var(--error);
}

.success-message {
    background-color: rgba(56, 142, 60, 0.1);
    color: var(--success);

}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--secondary-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-icon {
    color: var(--text-light);
    font-size: 0.9rem;
}

.form-input {
    padding: 0.8rem 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: var(--transition);
    background-color: #f9f9f9;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
    background-color: white;
}

.form-actions {
    margin-top: 0.5rem;
}

/* Style dasar untuk semua .auth-btn */
.auth-btn {
    padding: 0.8rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    cursor: pointer;
}

/* Style khusus untuk tombol dalam .auth-buttons */
.auth-buttons .auth-btn {
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
}

/* Style untuk link di footer */
.auth-footer a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.auth-footer a:hover {
    text-decoration: underline;
}

.auth-btn i {
    font-size: 0.9rem;
}

.full-width {
    width: 100%;
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.auth-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.auth-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .auth-card {
        padding: 1.5rem;
    }

    .auth-title {
        font-size: 1.5rem;
    }
}

/* 
dataaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa */

/* Data Management Styles */
.data-container {
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    padding: 2rem;
    margin-bottom: 3rem;
    border-top: 4px solid var(--primary);
}

.data-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.user-welcome {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.1rem;
    color: var(--secondary);
    font-weight: 500;
}

.user-icon {
    font-size: 1.5rem;
    color: var(--primary);
}

.data-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.search-group {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input {
    padding: 0.7rem 1rem 0.7rem 2.5rem;
    border: 1px solid #e0e0e0;
    border-radius: 50px;
    font-size: 0.95rem;
    transition: var(--transition);
    min-width: 250px;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
}

.search-button {
    position: absolute;
    right: 1rem;
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}

.search-input:focus+.search-button {
    color: var(--primary);
}

.reset-button {
    margin-left: 1rem;
    color: var(--error);
    text-decoration: underline;
    font-weight: 600;
    transition: var(--transition);
}

.table-responsive {
    overflow-x: auto;
    margin-bottom: 2rem;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.data-table th {
    background-color: var(--primary);
    color: white;
    font-weight: 600;
    padding: 1rem;
    text-align: left;
}

.data-table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    vertical-align: middle;
}

.data-table tr:not(:last-child) td {
    border-bottom: 1px solid #eee;
}

.data-table tr:hover td {
    background-color: rgba(255, 171, 0, 0.05);
}

.action-buttons {
    display: flex;
    gap: 0.8rem;
}

.edit-btn,
.delete-btn,
.detail-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    transition: var(--transition);
    color: var(--text-light);
}

.edit-btn {
    background-color: rgba(2, 136, 209, 0.1);
}

.edit-btn:hover {
    background-color: var(--info);
    color: white;
}

.delete-btn {
    background-color: rgba(211, 47, 47, 0.1);
}

.delete-btn:hover {
    background-color: var(--error);
    color: white;
}

.detail-btn {
    background-color: rgba(56, 142, 60, 0.1);
}

.detail-btn:hover {
    background-color: var(--success);
    color: white;
}

.logout-section {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.logout-btn {
    padding: 0.7rem 1.5rem;
    background-color: var(--error);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    transition: var(--transition);
    cursor: pointer;
}

.logout-btn:hover {
    background-color: var(--primary-dark);
    box-shadow: var(--shadow-md);
}

/* Responsive adjustments */
/* Existing styles */
.data-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.action-btn {
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.7rem;
    white-space: nowrap;
}

.search-form {
    flex: 1;
    min-width: 200px;
}

.search-group {
    position: relative;
    display: flex;
    width: 100%;
}

.search-input {
    padding: 0.7rem 1rem 0.7rem 2.5rem;
    border: 1px solid #e0e0e0;
    border-radius: 50px;
    font-size: 0.95rem;
    transition: var(--transition);
    width: 100%;
}

/* Responsive adjustments */
@media (max-width: 875px) {
    .data-header {
        flex-direction: column;
        align-items: stretch;
        gap: 1.5rem;
    }

    .data-actions {
        flex-direction: column;
        gap: 1rem;
    }

    .action-btn,
    .search-form {
        width: 100%;
    }

    .action-btn {
        justify-content: center;
        padding: 0.8rem;
    }

    .search-group {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .action-btn {
        font-size: 0.9rem;
        padding: 0.7rem;
    }

    .search-input {
        padding: 0.6rem 1rem 0.6rem 2.3rem;
    }
}

/* 
/* modifikasi dataaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa */
/* add dataaaaaaaaaaaaaaaa */


/* Additional custom styles */
.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.file-upload {
    position: relative;
    overflow: hidden;
    display: inline-block;
    width: 100%;
}

.file-input {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.file-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 0.8rem 1rem;
    background-color: #f9f9f9;
    border: 1px dashed #e0e0e0;
    border-radius: 8px;
    color: var(--text-light);
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
    width: 100%;
}

.file-upload-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.file-preview {
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    animation: fadeIn 0.3s ease;
}

.file-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--success);
    font-size: 0.9rem;
    font-weight: 500;
}

.file-info i {
    font-size: 1.2rem;
}

.image-preview {
    width: 100%;
    max-height: 150px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f9f9f9;
}

.image-preview img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.file-label:hover {
    border-color: var(--primary-light);
    background-color: rgba(255, 171, 0, 0.05);
}

.file-label i {
    font-size: 1.2rem;
    color: var(--primary);
}

textarea.form-input {
    min-height: 100px;
    resize: vertical;
}

select.form-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2378909c' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px 12px;
    padding-right: 2.5rem;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* modifikasi/* detaill profileeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee */

/* Enhanced Member Detail Styling */
.member-detail-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0;
    background: transparent;
    box-shadow: none;
    border-top: none;
}

.member-profile {
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transition: var(--transition);
}

.member-profile:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-2px);
}

.profile-header {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 3rem;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(255, 171, 0, 0.03), rgba(211, 47, 47, 0.03));
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.profile-image {
    position: relative;
    width: 200px;
    height: 200px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    background: var(--light);
}

.member-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.profile-image:hover .member-photo {
    transform: scale(1.05);
}

.member-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    z-index: 2;
}

.profile-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.member-name {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.member-id {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(44, 62, 80, 0.1);
    color: var(--secondary-light);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    width: fit-content;
}

.member-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--text);
    background: white;
    padding: 0.7rem 1.2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.meta-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.meta-item i {
    color: var(--primary);
}

.profile-details {
    padding: 2rem 3rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.detail-section {
    margin-bottom: 0;
}

.section-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.section-title i {
    color: var(--primary);
    width: 30px;
    height: 30px;
    background: rgba(211, 47, 47, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.detail-item {
    margin-bottom: 1.5rem;
}

.detail-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0.3rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-value {
    font-size: 1.05rem;
    color: var(--text);
    line-height: 1.6;
    padding: 0.8rem;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 8px;
    border-left: 3px solid var(--primary);
}

.data-actions {
    margin-top: 2rem;
    display: flex;
    justify-content: flex-end;
}

/* Responsive Design */
@media (max-width: 992px) {
    .profile-header {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }

    .profile-image {
        margin: 0 auto;
    }

    .profile-info {
        text-align: center;
    }

    .member-id {
        margin: 0 auto 1.5rem;
    }

    .member-meta {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .member-detail-container {
        margin: 1rem auto;
    }

    .profile-header {
        padding: 1.5rem;
    }

    .profile-details {
        padding: 1.5rem;
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .member-name {
        font-size: 1.8rem;
    }

    .profile-image {
        width: 160px;
        height: 160px;
    }
}

@media (max-width: 576px) {
    .profile-header {
        padding: 1.5rem 1rem;
    }

    .profile-details {
        padding: 1.5rem 1rem;
    }

    .member-name {
        font-size: 1.6rem;
    }

    .meta-item {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }

    .detail-value {
        font-size: 0.95rem;
    }

    .data-actions {
        justify-content: center;
    }
}