:root {
    --primary-blue: #0066cc;
    --secondary-blue: #e6f2ff;
    --accent-red: #D62828;
    --dark-text: #2c3e50;
    --light-gray: #f5f5f5;
    --border-gray: #e0e0e0;
    --white: #ffffff;
    --shadow: rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--dark-text);
    line-height: 1.6;
    background-color: var(--light-gray);
    padding-top: 80px;
}

/* ==================== NAVIGATION BAR ==================== */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-logo {
    height: 60px;
    width: auto;
}

.nav-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark-text);
    display: none;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-logo-small {
    height: 50px;
    width: auto;
}

/* ==================== MAIN MENU ==================== */
.main-menu {
    background: var(--primary-blue);
    box-shadow: 0 2px 5px var(--shadow);
}

.menu-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    gap: 5px;
}

.menu-item {
    position: relative;
}

.menu-link {
    display: block;
    padding: 15px 20px;
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.menu-link:hover {
    background: rgba(255, 255, 255, 0.1);
}

.menu-link i {
    font-size: 10px;
    margin-left: 5px;
}

/* Dropdown Menu */
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 250px;
    box-shadow: 0 8px 16px var(--shadow);
    z-index: 1000;
    border-radius: 0 0 8px 8px;
}

.dropdown-content a {
    display: block;
    padding: 12px 20px;
    color: var(--dark-text);
    text-decoration: none;
    font-size: 14px;
    transition: background 0.3s ease;
}

.dropdown-content a:hover {
    background: var(--secondary-blue);
    color: var(--primary-blue);
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* ==================== BREADCRUMB ==================== */
.breadcrumb {
    background: var(--primary-blue);
    padding: 12px 0;
}

.breadcrumb-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.breadcrumb a {
    color: var(--white);
    text-decoration: none;
    transition: opacity 0.3s;
}

.breadcrumb a:hover {
    opacity: 0.8;
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.9);
}

.breadcrumb i {
    color: rgba(255, 255, 255, 0.6);
    font-size: 10px;
}

/* ==================== PAGE HEADER ==================== */
.page-header {
    background: var(--primary-blue);
    padding: 40px 0;
    color: var(--white);
}

.page-header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

.page-header h1 {
    font-size: 36px;
    font-weight: 700;
}

/* ==================== MAIN CONTENT ==================== */
.main-content {
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 30px;
}

.content-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}

/* ==================== SIDEBAR ==================== */
.sidebar {
    background: var(--white);
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 2px 8px var(--shadow);
    height: fit-content;
}

.sidebar-item {
    display: block;
    padding: 14px 18px;
    color: var(--dark-text);
    text-decoration: none;
    font-size: 14px;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin-bottom: 5px;
}

.sidebar-item:hover {
    background: var(--secondary-blue);
    color: var(--primary-blue);
}

.sidebar-item.active {
    background: var(--primary-blue);
    color: var(--white);
    font-weight: 600;
}

/* ==================== CONTENT AREA ==================== */
.content-area {
    background: var(--white);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 8px var(--shadow);
    min-height: 600px;
}

.content-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--dark-text);
}

/* ==================== ORGANIZATION STRUCTURE ==================== */
.org-structure {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin: 40px 0;
}

.org-box {
    background: linear-gradient(135deg, var(--primary-blue), #0052a3);
    padding: 25px 35px;
    border-radius: 12px;
    box-shadow: 0 4px 12px var(--shadow);
    text-align: center;
    color: var(--white);
    max-width: 350px;
}

.org-position {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.org-name {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 15px;
}

.org-photo {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    margin: 15px auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.org-photo i {
    font-size: 35px;
    color: rgba(255, 255, 255, 0.7);
}

.org-line-v {
    width: 3px;
    height: 40px;
    background: var(--border-gray);
}

.level-2 {
    background: linear-gradient(135deg, #4a90e2, #357ab8);
}

/* Sub Units Grid */
.org-sub-units {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
    max-width: 1000px;
}

.org-sub-box {
    background: var(--secondary-blue);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    border: 2px solid var(--primary-blue);
    transition: all 0.3s ease;
}

.org-sub-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px var(--shadow);
}

.org-sub-box .org-photo {
    width: 60px;
    height: 60px;
    background: var(--white);
    margin: 0 auto 12px;
    border: 2px solid var(--primary-blue);
}

.org-sub-box .org-photo i {
    font-size: 25px;
    color: var(--primary-blue);
}

.org-sub-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--dark-text);
    line-height: 1.4;
}

/* Info Note */
.info-note {
    background: var(--secondary-blue);
    border-left: 4px solid var(--primary-blue);
    padding: 20px;
    border-radius: 8px;
    margin-top: 40px;
    display: flex;
    gap: 15px;
    align-items: start;
}

.info-note i {
    color: var(--primary-blue);
    font-size: 20px;
    margin-top: 2px;
}

.info-note p {
    flex: 1;
    font-size: 14px;
    line-height: 1.6;
}

/* ==================== FOOTER ==================== */
.footer {
    background: #333333;
    color: var(--white);
    margin-top: 60px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 50px 30px 30px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
}

.footer-logo-section {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.footer-logo {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.footer-info {
    flex: 1;
}

.footer-info h3 {
    font-size: 20px;
    margin-bottom: 5px;
    font-weight: 600;
}

.footer-info h4 {
    font-size: 16px;
    margin-bottom: 20px;
    font-weight: 500;
    opacity: 0.9;
}

.footer-section h3 {
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: 600;
}

.footer-section p {
    font-size: 14px;
    margin-bottom: 10px;
    opacity: 0.9;
    line-height: 1.6;
}

.footer-section i {
    margin-right: 10px;
    opacity: 0.8;
    width: 20px;
}

.social-section h3 {
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: 600;
}

.social-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 20px;
}

.social-links a:hover {
    background: var(--primary-blue);
    transform: translateY(-3px);
}

.footer-map-section h3 {
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: 600;
}

.footer-map {
    margin-bottom: 12px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.footer-map iframe {
    display: block;
}

.footer-map-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s ease;
}

.footer-map-link:hover {
    color: var(--primary-blue);
}

.footer-map-link i {
    font-size: 12px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 30px;
    text-align: center;
    font-size: 13px;
    opacity: 0.8;
}

/* ==================== ACCESSIBILITY BUTTON ==================== */
.accessibility-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 12px var(--shadow);
    transition: all 0.3s ease;
    z-index: 1000;
}

.accessibility-btn:hover {
    background: #0052a3;
    transform: scale(1.1);
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 1024px) {
    .org-sub-units {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-map-section {
        order: -1;
    }
}

@media (max-width: 768px) {
    .content-container {
        grid-template-columns: 1fr;
    }
    
    .nav-container {
        padding: 0 20px;
    }

    .nav-left {
        gap: 10px;
    }

    .nav-logo {
        height: 50px;
    }
    
    .nav-title {
        font-size: 13px;
    }
    
    .nav-right {
        gap: 15px;
    }

    .nav-logo-small {
        height: 40px;
    }
    
    .menu-container {
        flex-wrap: wrap;
    }
    
    .menu-link {
        padding: 12px 15px;
        font-size: 13px;
    }
    
    .org-sub-units {
        grid-template-columns: 1fr;
    }
    
    .accessibility-btn {
        bottom: 80px;
        left: 20px;
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 70px;
    }

    .navbar {
        padding: 10px 0;
    }

    .nav-container {
        padding: 0 15px;
    }

    .nav-logo {
        height: 45px;
    }

    .nav-logo-small {
        height: 35px;
    }

    .nav-right {
        gap: 10px;
    }
    
    .menu-container {
        padding: 0 15px;
    }
    
    .main-content {
        padding: 0 15px;
        margin: 20px auto;
    }
    
    .content-area {
        padding: 20px;
    }
    
    .page-header h1 {
        font-size: 24px;
    }
    
    .content-title {
        font-size: 20px;
    }

    .accessibility-btn {
        bottom: 75px;
        left: 15px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

/* ==================== FLOATING BUTTON ==================== */
.floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #D62828, #b01f1f);
    color: white;
    padding: 16px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 6px 25px rgba(214, 40, 40, 0.4);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 999;
    transition: all 0.3s ease;
    animation: floatPulse 2s ease-in-out infinite;
}

.floating-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 35px rgba(214, 40, 40, 0.6);
}

.floating-btn i {
    font-size: 18px;
}

@keyframes floatPulse {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

@media (max-width: 768px) {
    .floating-btn {
        bottom: 20px;
        right: 20px;
        padding: 14px 20px;
        font-size: 14px;
    }
    
    .floating-btn i {
        font-size: 16px;
    }
}
