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

body {
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

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

.section {
    padding: 5rem 0;
    position: relative;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(30, 60, 114, 0.1), transparent);
}

/* Header Styles */
header {
    background: rgba(30, 60, 114, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: white;
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-img {
    width: 50px;
    height: 50px;
}

.logo-text h1 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0;
}

.logo-text p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
}

/* Navigation Styles */
.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-nav .nav-link {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.main-nav .nav-link:hover,
.main-nav .nav-link.active {
    background-color: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    display: block; /* Override .main-nav ul flex to stack vertically */
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border-radius: 5px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: #333;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

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

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Main Content */
main {
    margin-top: 80px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 4rem 0;
    display: flex;
    align-items: center;
    min-height: 500px;
}

.hero-content {
    flex: 1;
    padding: 2rem;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.hero-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #b3d9ff;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-img {
    max-width: 100%;
    height: auto;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: #1e3c72;
    color: white;
}

.btn-primary:hover {
    background-color: #2a5298;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(30,60,114,0.3);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: white;
    color: #1e3c72;
}

.btn-outline {
    background-color: transparent;
    color: #1e3c72;
    border: 2px solid #1e3c72;
}

.btn-outline:hover {
    background-color: #1e3c72;
    color: white;
}

/* Content Sections */
.content-section {
    padding: 4rem 0;
}

.content-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1e3c72;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.bg-light {
    background-color: #f8f9fa;
}

/* Document Grid */
.document-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.document-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.document-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.document-icon {
    font-size: 3rem;
    color: #1e3c72;
    margin-bottom: 1rem;
}

.document-card h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.document-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.document-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 250px;
    background: #ddd;
}

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

/* Agenda Timeline */
.agenda-timeline {
    max-width: 800px;
    margin: 0 auto;
}

.agenda-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.agenda-date {
    text-align: center;
    background: #1e3c72;
    color: white;
    padding: 1rem;
    border-radius: 10px;
    min-width: 80px;
}

.agenda-date .month {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.agenda-date .day {
    display: block;
    font-size: 2rem;
    font-weight: bold;
}

.agenda-content h3 {
    color: #333;
    margin-bottom: 0.5rem;
}

.agenda-time {
    color: #666;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 0.5rem;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.contact-card h3 {
    color: #1976d2;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.5rem;
    text-decoration: none;
    color: #333;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.social-link:hover {
    background-color: #f8f9fa;
}

.social-link.facebook:hover { background-color: #1565c0; color: white; }
.social-link.instagram:hover { background-color: #1976d2; color: white; }
.social-link.youtube:hover { background-color: #2196f3; color: white; }
.social-link.twitter:hover { background-color: #42a5f5; color: white; }

/* Vision Mission */
.vision-mission {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.vision, .mission {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.vision h3, .mission h3 {
    color: #1976d2;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
}

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

.mission li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 2rem;
}

.mission li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #1976d2;
    font-weight: bold;
}

/* Function Grid */
.function-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.function-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.function-card:hover {
    transform: translateY(-5px);
}

.function-icon {
    font-size: 3rem;
    color: #1976d2;
    margin-bottom: 1rem;
}

.function-card h3 {
    color: #333;
    margin-bottom: 1rem;
}

/* Leadership Grid */
.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.leader-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.leader-card:hover {
    transform: translateY(-5px);
}

.leader-photo {
    width: 150px;
    height: 150px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    overflow: hidden;
    background: #ddd;
}

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

.leader-info h3 {
    color: #333;
    margin-bottom: 0.5rem;
}

.position {
    color: #1976d2;
    font-weight: bold;
    margin-bottom: 1rem;
}

.description {
    color: #666;
    font-size: 0.9rem;
}

/* Organizational Chart */
.organizational-chart {
    max-width: 1000px;
    margin: 0 auto;
}

.org-level {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.org-box {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    min-width: 200px;
    position: relative;
}

.org-box.ketua {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
}

.org-box.wakil { border-left: 4px solid #1976d2; }
.org-box.sekretaris { border-left: 4px solid #2196f3; }
.org-box.bendahara { border-left: 4px solid #42a5f5; }

.org-box h4 {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.org-box p {
    font-size: 0.9rem;
    margin: 0;
}

/* Kelengkapan Grid */
.kelengkapan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.kelengkapan-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.kelengkapan-card h3 {
    color: #1976d2;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.kelengkapan-card li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.kelengkapan-card li:last-child {
    border-bottom: none;
}

/* Kwarcab Grid */
.kwarcab-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.kwarcab-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.kwarcab-card:hover {
    transform: translateY(-5px);
}

.kwarcab-card h3 {
    color: #333;
    margin-bottom: 1rem;
}

.kwarcab-card p {
    color: #666;
    margin-bottom: 1.5rem;
}

.kwarcab-note {
    text-align: center;
    margin-top: 2rem;
    padding: 1rem;
    background: #e3f2fd;
    border-radius: 5px;
    color: #1976d2;
}

/* External Link */
.external-link {
    text-align: center;
    margin-top: 2rem;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #b3d9ff;
}

.footer-section p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-section .social-links {
    display: flex;
    gap: 1rem;
}

.footer-section .social-links a {
    color: white;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.footer-section .social-links a:hover {
    color: #b3d9ff;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.2);
    opacity: 0.8;
}

/* Contact Grid Styles */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(30, 60, 114, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(30, 60, 114, 0.15);
}

.contact-icon {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-info h3 {
    color: #1e3c72;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-info p {
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* Social Media Grid */
.social-media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.social-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(30, 60, 114, 0.1);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(30, 60, 114, 0.15);
}

.social-icon {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
}

.social-info h3 {
    color: #1e3c72;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.social-info p {
    color: #666;
    margin-bottom: 1rem;
    font-weight: 500;
}

/* Map Container */
.map-container {
    margin-top: 2rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(30, 60, 114, 0.1);
}

/* Timeline Styles */
.timeline {
    position: relative;
    margin: 2rem 0;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #1e3c72, #2a5298);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(30, 60, 114, 0.1);
    margin-left: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -3rem;
    top: 1.5rem;
    width: 12px;
    height: 12px;
    background: #1e3c72;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 3px #1e3c72;
}

.timeline-date {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.timeline-content h4 {
    color: #1976d2;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* Vision Mission Grid */
.vision-mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.vision-card, .mission-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(30, 60, 114, 0.1);
    transition: transform 0.3s ease;
}

.vision-card:hover, .mission-card:hover {
    transform: translateY(-5px);
}

.card-icon {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.vision-card h3, .mission-card h3 {
    color: #1e3c72;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

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

.mission-card li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #666;
    line-height: 1.6;
}

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

/* Organization Structure */
.org-structure {
    margin-top: 2rem;
}

.org-level {
    margin-bottom: 2rem;
    text-align: center;
}

.org-level h3 {
    color: #1e3c72;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.org-item {
    background: white;
    padding: 1rem 2rem;
    border-radius: 25px;
    box-shadow: 0 4px 6px rgba(30, 60, 114, 0.1);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.5rem;
    transition: transform 0.3s ease;
}

.org-item:hover {
    transform: translateY(-3px);
}

.org-item.active {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
}

.org-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

/* Golongan Grid */
.golongan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.golongan-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(30, 60, 114, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.golongan-card:hover {
    transform: translateY(-5px);
}

.golongan-icon {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
}

.golongan-card h3 {
    color: #1e3c72;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.golongan-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

/* Symbol Grid */
.symbol-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.symbol-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(30, 60, 114, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.symbol-card:hover {
    transform: translateY(-5px);
}

.symbol-icon {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
}

.symbol-image {
    margin-bottom: 1.5rem;
}

.symbol-card h3 {
    color: #1e3c72;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.symbol-card p {
    color: #666;
    line-height: 1.6;
}

/* Leadership Styles */
.leader-main {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 2rem;
    margin-top: 2rem;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(30, 60, 114, 0.1);
}

.leader-photo .photo-placeholder {
    width: 200px;
    height: 250px;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
}

.leader-info h3 {
    color: #1e3c72;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.position {
    color: #2a5298;
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.period {
    color: #666;
    margin-bottom: 1.5rem;
}

.leader-bio h4 {
    color: #1e3c72;
    margin: 1.5rem 0 0.5rem 0;
}

.leader-bio p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Deputy Leaders */
.deputy-leaders {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.deputy-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(30, 60, 114, 0.1);
    transition: transform 0.3s ease;
}

.deputy-card:hover {
    transform: translateY(-5px);
}

.deputy-photo .photo-placeholder {
    width: 100px;
    height: 120px;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin: 0 auto 1rem;
}

.deputy-info {
    text-align: center;
}

.deputy-info h3 {
    color: #1e3c72;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.responsibility {
    color: #2a5298;
    font-style: italic;
    margin-top: 0.5rem;
}

/* Officials Grid */
.officials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.official-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(30, 60, 114, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.official-card:hover {
    transform: translateY(-5px);
}

.official-icon {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
}

.official-card h3 {
    color: #1e3c72;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.official-card h4 {
    color: #2a5298;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.official-card p {
    color: #666;
    line-height: 1.6;
}

/* Andalan and Bidang Grid */
.andalan-grid, .bidang-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.andalan-card, .bidang-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(30, 60, 114, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.andalan-card:hover, .bidang-card:hover {
    transform: translateY(-5px);
}

.andalan-icon, .bidang-icon {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 1.5rem;
}

.andalan-card h3, .bidang-card h3 {
    color: #1e3c72;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.andalan-card h4, .bidang-card h4 {
    color: #2a5298;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.andalan-card p, .bidang-card p {
    color: #666;
    line-height: 1.6;
    font-size: 0.9rem;
}

/* Period Info */
.period-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.period-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(30, 60, 114, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.period-card:hover {
    transform: translateY(-5px);
}

.period-icon {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
}

.period-card h3 {
    color: #1e3c72;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.period-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

/* Kwarcab Website Styles */
.search-filter {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(30, 60, 114, 0.1);
    margin-bottom: 2rem;
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

.search-box {
    position: relative;
    flex: 1;
    min-width: 250px;
}

.search-box i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #1e3c72;
}

.search-box input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.search-box input:focus {
    outline: none;
    border-color: #1e3c72;
}

.filter-buttons {
    display: flex;
    gap: 0.5rem;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    border: 2px solid #1e3c72;
    background: white;
    color: #1e3c72;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn:hover, .filter-btn.active {
    background: #1e3c72;
    color: white;
}

/* Kwarcab Grid */
.kwarcab-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.kwarcab-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(30, 60, 114, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.kwarcab-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(30, 60, 114, 0.15);
}

.kwarcab-header {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.kwarcab-icon {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.kwarcab-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.kwarcab-status.online {
    color: #1976d2;
}

.kwarcab-status.maintenance {
    color: #2196f3;
}

.kwarcab-status.offline {
    color: #42a5f5;
}

.kwarcab-status i {
    font-size: 0.7rem;
}

.kwarcab-card h3 {
    color: #1e3c72;
    margin: 1rem 1.5rem 0.5rem;
    font-size: 1.3rem;
}

.kwarcab-type {
    color: #2a5298;
    margin: 0 1.5rem 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
}

.kwarcab-desc {
    color: #666;
    margin: 0 1.5rem 1rem;
    line-height: 1.6;
}

.kwarcab-stats {
    padding: 0 1.5rem;
    margin-bottom: 1rem;
}

.stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.stat i {
    color: #1e3c72;
    width: 16px;
}

.kwarcab-actions {
    padding: 1.5rem;
    background: #f8f9fa;
    display: flex;
    gap: 1rem;
}

.kwarcab-actions .btn {
    flex: 1;
    text-align: center;
    text-decoration: none;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.more-card {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border: 2px dashed #1e3c72;
}

.more-content {
    text-align: center;
}

.more-icon {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
}

.more-content h3 {
    color: #1e3c72;
    margin-bottom: 1rem;
}

.more-content p {
    color: #666;
    margin-bottom: 1.5rem;
}

/* Statistics Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(30, 60, 114, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    color: white;
}

.stat-icon.online {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
}

.stat-icon.maintenance {
    background: linear-gradient(135deg, #1976d2, #2196f3);
}

.stat-icon.offline {
    background: linear-gradient(135deg, #42a5f5, #64b5f6);
}

.stat-icon.total {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
}

.stat-card h3 {
    color: #1e3c72;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.stat-card p {
    color: #666;
    font-weight: 500;
}

/* Contact Info Box */
.contact-info-box {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(30, 60, 114, 0.1);
    margin-top: 2rem;
}

.contact-info-box p {
    color: #1e3c72;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #666;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.contact-item i {
    color: #1976d2;
    width: 20px;
    text-align: center;
}

/* Modern Table Styles */
.data-section {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.data-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.data-section h2 {
    color: #1e3c72;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.data-section h2::before {
    content: '';
    width: 4px;
    height: 24px;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    border-radius: 2px;
}

.modern-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.modern-table thead {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
}

.modern-table th {
    padding: 1rem 1.5rem;
    color: white;
    font-weight: 600;
    text-align: left;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.modern-table td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #f1f3f4;
    color: #2c3e50;
    font-size: 0.9rem;
}

.modern-table tbody tr {
    transition: all 0.2s ease;
}

.modern-table tbody tr:hover {
    background: rgba(30, 60, 114, 0.05);
    transform: scale(1.01);
}

.modern-table tbody tr:last-child td {
    border-bottom: none;
}

.btn-view-all {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(30, 60, 114, 0.3);
    margin-top: 1rem;
}

.btn-view-all:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 60, 114, 0.4);
    color: white;
    text-decoration: none;
}

.btn-view-all i {
    transition: transform 0.3s ease;
}

.btn-view-all:hover i {
    transform: translateX(3px);
}

.document-date {
    color: #6c757d;
    font-size: 0.85rem;
    font-weight: 500;
}

.document-name {
    color: #1e3c72;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

/* Enhanced Hero Section */
.hero {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::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 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #ffffff, #b3d9ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #b3d9ff;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

/* Page Header */
.page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
}

.page-header h1 {
    color: #1e3c72;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-header p {
    color: #64748b;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Table Controls */
.table-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.search-box {
    position: relative;
    flex: 1;
    max-width: 400px;
}

.search-box input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.search-box input:focus {
    outline: none;
    border-color: #1976d2;
    box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.1);
}

.search-box i {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 1rem;
}

.filter-box select {
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    background: white;
    color: #334155;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 150px;
}

.filter-box select:focus {
    outline: none;
    border-color: #1976d2;
    box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.1);
}

/* Enhanced Modern Table */
.modern-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.modern-table thead {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
}

.modern-table th {
    padding: 1.25rem 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.modern-table td {
    padding: 1.25rem 1rem;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: top;
}

.modern-table tbody tr {
    transition: all 0.3s ease;
}

.modern-table tbody tr:hover {
    background: linear-gradient(135deg, rgba(25, 118, 210, 0.02) 0%, rgba(42, 82, 152, 0.02) 100%);
    transform: translateY(-1px);
}

.modern-table tbody tr:last-child td {
    border-bottom: none;
}

/* Document Elements */
.document-name {
    font-weight: 600;
    color: #1e293b;
    font-size: 1rem;
    margin-bottom: 0.25rem;
    line-height: 1.4;
}

.document-desc {
    color: #64748b;
    font-size: 0.875rem;
    line-height: 1.4;
}

.document-date {
    color: #1976d2;
    font-weight: 500;
    font-size: 0.9rem;
}

.file-size {
    color: #64748b;
    font-size: 0.875rem;
    font-weight: 500;
}

.location {
    color: #059669;
    font-weight: 500;
    font-size: 0.9rem;
}

/* Document Type and Status Badges */
.document-type, .status {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.document-type.sk {
    background: linear-gradient(135deg, #1976d2, #1565c0);
    color: white;
}

.document-type.jukran {
    background: linear-gradient(135deg, #2196f3, #1976d2);
    color: white;
}

.document-type.album {
    background: linear-gradient(135deg, #42a5f5, #2196f3);
    color: white;
}

.document-type.foto {
    background: linear-gradient(135deg, #64b5f6, #42a5f5);
    color: white;
}

.document-type.video {
    background: linear-gradient(135deg, #90caf9, #64b5f6);
    color: white;
}

.status.akan-datang {
    background: linear-gradient(135deg, #1976d2, #1565c0);
    color: white;
}

.status.berlangsung {
    background: linear-gradient(135deg, #2196f3, #1976d2);
    color: white;
}

.status.selesai {
    background: linear-gradient(135deg, #42a5f5, #2196f3);
    color: white;
}

/* Action Buttons */
.btn-download, .btn-view {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.btn-download {
    background: linear-gradient(135deg, #1976d2, #1565c0);
    color: white;
}

.btn-download:hover {
    background: linear-gradient(135deg, #1565c0, #0d47a1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(25, 118, 210, 0.3);
}

.btn-view {
    background: linear-gradient(135deg, #42a5f5, #2196f3);
    color: white;
}

.btn-view:hover {
    background: linear-gradient(135deg, #2196f3, #1976d2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(66, 165, 245, 0.3);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-page {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #1976d2, #1565c0);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-page:hover {
    background: linear-gradient(135deg, #1565c0, #0d47a1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(25, 118, 210, 0.3);
}

.btn-page:disabled {
    background: #e2e8f0;
    color: #94a3b8;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.page-info {
    color: #64748b;
    font-weight: 500;
    font-size: 0.9rem;
}

/* Responsive Design for Tables */
@media (max-width: 768px) {
    .table-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-box {
        max-width: none;
    }
    
    .modern-table {
        font-size: 0.875rem;
    }
    
    .modern-table th,
    .modern-table td {
        padding: 0.75rem 0.5rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .btn-download, .btn-view {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .content-section h2 {
        font-size: 2rem;
    }
    
    .document-grid,
    .gallery-grid,
    .contact-grid,
    .function-grid,
    .leadership-grid,
    .kelengkapan-grid,
    .kwarcab-grid {
        grid-template-columns: 1fr;
    }
    
    .vision-mission {
        grid-template-columns: 1fr;
    }
    
    .org-level {
        flex-direction: column;
        align-items: center;
    }
    
    .agenda-item {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .leader-main {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .leader-photo .photo-placeholder {
        margin: 0 auto;
    }
    
    .search-filter {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-box {
        min-width: auto;
    }
    
    .filter-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .social-media-grid {
        grid-template-columns: 1fr;
    }
    
    .vision-mission-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline {
        padding-left: 1rem;
    }
    
    .timeline-item {
        margin-left: 1rem;
    }
    
    .timeline-item::before {
        left: -2rem;
    }
    
    .data-section {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .modern-table th,
    .modern-table td {
        padding: 0.75rem 1rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .content-section {
        padding: 2rem 0;
    }
    
    .hero-content {
        padding: 1rem;
    }
    
    .document-card,
    .contact-card,
    .function-card,
    .leader-card,
    .kelengkapan-card,
    .kwarcab-card {
        padding: 1.5rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
.loading {
    opacity: 0;
    animation: fadeIn 0.5s ease-in-out forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}