/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8fafc;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Header Styles */
.header {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    background: #1e40af;
    color: white;
    padding: 8px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-text h1 {
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

.logo-text p {
    font-size: 12px;
    color: #6b7280;
    margin: 0;
}

/* Desktop Navigation */
.desktop-nav {
    display: none;
    gap: 8px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 6px;
    text-decoration: none;
    color: #4b5563;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s ease;
}

.nav-link:hover {
    background: #f3f4f6;
    color: #1e40af;
}

.nav-link.active {
    background: #dbeafe;
    color: #1e40af;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    padding: 8px;
    border-radius: 6px;
    color: #4b5563;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mobile-menu-btn:hover {
    background: #f3f4f6;
    color: #1e40af;
}

.mobile-nav {
    display: none;
    border-top: 1px solid #e5e7eb;
    padding: 16px 0;
    flex-direction: column;
    gap: 8px;
}

.mobile-nav.active {
    display: flex;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    border-radius: 6px;
    text-decoration: none;
    color: #4b5563;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s ease;
}

.mobile-nav-link:hover {
    background: #f3f4f6;
    color: #1e40af;
}

.mobile-nav-link.active {
    background: #dbeafe;
    color: #1e40af;
}

.hidden {
    display: none !important;
}

/* Page Styles */
.page {
    display: none;
}

.page.active {
    display: block;
}

.page-content {
    padding: 64px 16px;
    max-width: 1000px;
}

.page-content h1 {
    font-size: 36px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 32px;
}

.lead {
    font-size: 20px;
    color: #6b7280;
    margin-bottom: 32px;
    line-height: 1.5;
}

/* Banner Slider */
.banner-slider {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
    padding: 0 16px;
}

.slide-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slide-content p {
    font-size: 18px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    padding: 12px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 3;
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.prev-btn {
    left: 16px;
}

.next-btn {
    right: 16px;
}

.slider-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 3;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: white;
}

/* Section Styles */
.services-section,
.gallery-section {
    padding: 64px 0;
    background: #f8fafc;
}

.news-section {
    padding: 64px 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 18px;
    color: #6b7280;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.service-card {
    background: white;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.service-icon {
    color: #1e40af;
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
}

.service-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 8px;
}

.service-card p {
    color: #6b7280;
    line-height: 1.5;
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.news-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.news-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-content {
    padding: 24px;
}

.news-date {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 8px;
}

.news-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 8px;
}

.news-card p {
    color: #6b7280;
    margin-bottom: 16px;
    line-height: 1.5;
}

.read-more {
    background: none;
    border: none;
    color: #1e40af;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.2s ease;
}

.read-more:hover {
    color: #1d4ed8;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h3 {
    color: white;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    padding: 0 16px;
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-bottom: 32px;
}

.content-card {
    background: white;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.content-card h2 {
    font-size: 24px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 16px;
}

.content-card p {
    color: #6b7280;
    margin-bottom: 16px;
    line-height: 1.6;
}

.content-card ul {
    list-style: none;
    padding-left: 0;
}

.content-card li {
    color: #6b7280;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.content-card li::before {
    content: '•';
    color: #1e40af;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Stats Section */
.stats-section {
    background: white;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    margin-top: 32px;
}

.stats-section h2 {
    font-size: 24px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 24px;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 32px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: #1e40af;
    margin-bottom: 8px;
}

.stat-label {
    color: #6b7280;
    font-weight: 500;
}

/* Organization Structure */
.org-structure {
    margin-bottom: 48px;
}

.org-structure h2 {
    font-size: 24px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 32px;
    text-align: center;
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-bottom: 48px;
}

.leadership-card {
    background: white;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.leadership-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.leadership-icon.blue {
    background: #dbeafe;
    color: #1e40af;
}

.leadership-icon.green {
    background: #d1fae5;
    color: #059669;
}

.leadership-icon.orange {
    background: #fed7aa;
    color: #d97706;
}

.leadership-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 8px;
}

.leadership-card p {
    color: #6b7280;
    line-height: 1.5;
}

.department-list {
    list-style: none;
    padding: 0;
}

.department-list li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    color: #6b7280;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 12px;
    flex-shrink: 0;
}

.dot.blue { background: #1e40af; }
.dot.green { background: #059669; }
.dot.orange { background: #d97706; }
.dot.red { background: #dc2626; }
.dot.purple { background: #7c3aed; }

/* Help Page */
.help-icon {
    color: #1e40af;
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
}

.faq-list {
    margin-top: 24px;
}

.faq-item {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e5e7eb;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 8px;
}

.faq-item p {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.5;
}

.contact-info {
    margin-top: 24px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: #6b7280;
}

.operating-hours {
    margin-top: 24px;
}

.operating-hours h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 8px;
}

.operating-hours p {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 4px;
}

/* Contact Form */
.contact-form-section {
    background: white;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    margin-top: 32px;
}

.contact-form-section h2 {
    font-size: 24px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 24px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 500;
    color: #374151;
    margin-bottom: 4px;
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1e40af;
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.submit-btn {
    background: #1e40af;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
    align-self: flex-start;
}

.submit-btn:hover {
    background: #1d4ed8;
}

/* Auth Pages */
.auth-divider {
    text-align: center;
    margin: 24px 0;
    position: relative;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e5e7eb;
}

.auth-divider span {
    background: white;
    padding: 0 16px;
    color: #6b7280;
    font-size: 14px;
}

.social-login {
    margin-bottom: 24px;
}

.social-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: white;
    color: #374151;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.social-btn:hover {
    background: #f9fafb;
    border-color: #9ca3af;
}

.login-benefits {
    margin-top: 32px;
    padding: 24px;
    background: #f8fafc;
    border-radius: 8px;
}

.login-benefits h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 12px;
}

.login-benefits ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.login-benefits li {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.login-benefits li::before {
    content: '✓';
    color: #059669;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.register-card {
    max-width: 600px;
}

.registration-info {
    margin-top: 32px;
    padding: 24px;
    background: #f8fafc;
    border-radius: 8px;
}

.registration-info h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 12px;
}

.registration-info ol {
    margin: 0;
    padding-left: 20px;
}

.registration-info li {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 8px;
    line-height: 1.4;
}

.form-group select {
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.2s ease;
    background: white;
}

.form-group select:focus {
    outline: none;
    border-color: #1e40af;
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.form-group small {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #6b7280;
}

.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    padding: 32px 16px;
}

.auth-card {
    background: white;
    padding: 48px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
}

.auth-header {
    text-align: center;
    margin-bottom: 32px;
}

.auth-header svg {
    color: #1e40af;
    margin-bottom: 16px;
}

.auth-header h1 {
    font-size: 24px;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #6b7280;
    cursor: pointer;
}

.checkbox-label input {
    margin: 0;
}

.forgot-password {
    background: none;
    border: none;
    color: #1e40af;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
}

.forgot-password:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.auth-btn {
    background: #1e40af;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
    margin-top: 8px;
}

.auth-btn:hover {
    background: #1d4ed8;
}

.auth-btn.register {
    background: #059669;
}

.auth-btn.register:hover {
    background: #047857;
}

.auth-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: #6b7280;
}

.auth-link {
    background: none;
    border: none;
    color: #1e40af;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
}

.auth-link:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 48px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-bottom: 32px;
}

.footer-section h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section li {
    margin-bottom: 8px;
}

.footer-section a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
    cursor: pointer;
}

.footer-section a:hover {
    color: white;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo .logo-text h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.footer-logo .logo-text p {
    font-size: 12px;
    color: #9ca3af;
    margin: 0;
}

.footer-section p {
    color: #9ca3af;
    font-size: 14px;
    line-height: 1.5;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    color: #9ca3af;
    font-size: 14px;
    margin: 0;
}

/* Responsive Design */
@media (min-width: 768px) {
    .container {
        padding: 0 24px;
    }
    
    .banner-slider {
        height: 500px;
    }
    
    .slide-content h2 {
        font-size: 48px;
    }
    
    .slide-content p {
        font-size: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .desktop-nav {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: none;
    }
    
    .container {
        padding: 0 32px;
    }
}

@media (max-width: 767px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .auth-card {
        padding: 32px 24px;
    }
    
    .slide-content h2 {
        font-size: 24px;
    }
    
    .slide-content p {
        font-size: 16px;
    }
    
    .services-grid,
    .news-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .leadership-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
    
    .stat-number {
        font-size: 24px;
    }
/* Fix dropdown agar muncul ke bawah */
.anggota-dropdown {
  position: relative;
}

.anggota-dropdown .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  min-width: 160px;
  z-index: 999;
  padding: 8px 0;
  list-style: none;
}

/* Tampilkan dropdown pas hover */
.anggota-dropdown:hover .dropdown-menu {
  display: block;
}

/* Style item dropdown */
.dropdown-menu li a {
  display: block;
  padding: 10px 16px;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  transition: background 0.2s ease;
}

.dropdown-menu li a:hover {
  background-color: #f7f7f7;
}

}