/* Root Variables - Color System based on Stikubank Logo */
:root {
    --primary-color: #A42554;      /* Maroon from logo */
    --primary-dark: #8B1E45;       /* Darker maroon */
    --primary-light: #C44D6E;      /* Lighter maroon */
    --secondary-color: #FFFFFF;     /* White */
    --accent-color: #FFB800;        /* Gold from Garuda */
    --accent-dark: #E6A600;         /* Darker gold */
    
    --text-primary: #2C3E50;        /* Dark blue-gray */
    --text-secondary: #5A6C7D;      /* Medium gray */
    --text-light: #8492A6;          /* Light gray */
    
    --bg-primary: #FFFFFF;          /* White background */
    --bg-secondary: #F8F9FA;        /* Light gray background */
    --bg-accent: #FFF9F0;           /* Light golden background */
    
    --border-color: #E5E7EB;        /* Light border */
    --shadow-light: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-medium: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-heavy: 0 8px 25px rgba(0,0,0,0.15);
    
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
}

.container-fluid {
    padding-left: 15px;
    padding-right: 15px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

/* Header Styles */
.header {
    background: var(--bg-primary);
    box-shadow: var(--shadow-light);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-bar {
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 8px 0;
    font-size: 0.875rem;
}

.contact-info span {
    margin-right: 20px;
}

.contact-info i {
    margin-right: 5px;
    color: var(--accent-color);
}

.social-links {
    text-align: right;
}

.social-links a {
    color: var(--secondary-color);
    margin-left: 10px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--accent-color);
}

.main-nav {
    padding: 15px 0;
    background: var(--bg-primary);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    height: 50px;
    width: auto;
}

.brand-text .brand-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    line-height: 1.2;
    max-width: 280px;
    white-space: normal;
}

.brand-text .brand-subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.2;
}

.navbar-nav .nav-link {
    color: var(--text-primary);
    font-weight: 500;
    padding: 8px 16px;
    transition: var(--transition);
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color);
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: var(--primary-color);
}

.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-medium);
    border-radius: var(--border-radius);
    padding: 8px 0;
}

.dropdown-item {
    padding: 8px 20px;
    transition: var(--transition);
}

.dropdown-item:hover {
    background-color: var(--bg-accent);
    color: var(--primary-color);
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-box input {
    border: 1px solid var(--border-color);
    border-radius: 25px;
    padding: 8px 40px 8px 15px;
    width: 200px;
    font-size: 0.9rem;
}

.search-box button {
    position: absolute;
    right: 5px;
    border: none;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Announcement Banner Styles */
.announcement-banner {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-dark) 100%);
    color: var(--text-primary);
    padding: 12px 0;
    position: relative;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.2);
    animation: slideDown 0.3s ease-out;
}

.announcement-content {
    position: relative;
}

.announcement-icon {
    text-align: center;
    font-size: 1.2rem;
    color: var(--primary-color);
    animation: pulse 2s infinite;
}

.announcement-text {
    font-size: 0.95rem;
    line-height: 1.4;
}

.announcement-text strong {
    color: var(--primary-color);
    font-weight: 600;
}

.announcement-link {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 500;
    transition: var(--transition);
}

.announcement-link:hover {
    color: var(--primary-dark);
    text-decoration: none;
}

.announcement-close {
    background: none;
    border: none;
    color: var(--primary-color);
    opacity: 0.7;
    transition: var(--transition);
}

.announcement-close:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Announcement Modal Styles */
.modal-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border-bottom: none;
}

.modal-header .btn-close {
    filter: invert(1);
}

.modal-body {
    padding: 2rem;
}

.table-responsive {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
}

.table thead th {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
    border: none;
    padding: 15px;
}

.table tbody tr:nth-child(even) {
    background-color: var(--bg-secondary);
}

.table tbody tr:hover {
    background-color: var(--bg-accent);
    transition: var(--transition);
}

.table tbody td {
    padding: 12px 15px;
    border-color: var(--border-color);
    vertical-align: middle;
}

/* Animations */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(-100%);
        opacity: 0;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .announcement-banner {
        padding: 10px 0;
    }
    
    .announcement-text {
        font-size: 0.85rem;
        text-align: center;
    }
    
    .announcement-icon {
        margin-bottom: 5px;
    }
    
    .modal-body {
        padding: 1rem;
    }
    
    .table-responsive {
        font-size: 0.85rem;
    }
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--bg-accent) 0%, var(--bg-secondary) 100%);
    padding: 80px 0;
    overflow: hidden;
}

.hero-content {
    padding-right: 20px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}


.hero-description {
    max-width: 900px;
    margin: 0 auto;
}
.hero-description p {
    text-align: justify;
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
}

.hero-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-heavy);
}

/* Buttons */
.btn {
    border-radius: var(--border-radius);
    padding: 12px 24px;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
}

/* Stats Section */
.stats-section {
    background: var(--primary-color);
    color: white;
    padding: 60px 0;
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-item:hover {
    transform: translateY(-5px);
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 5px;
}

/* Utility Classes for Better Contrast */
.text-high-contrast {
    color: var(--text-primary) !important;
    font-weight: 600;
}

.bg-high-contrast {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #FFFFFF;
}

.shadow-enhanced {
    box-shadow: 0 4px 15px rgba(0,0,0,0.15), 0 2px 4px rgba(0,0,0,0.1);
}

.text-shadow {
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.text-shadow-strong {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* Enhanced Animations */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fadeInScale {
    animation: fadeInScale 0.6s ease-out;
}

.animate-slideInLeft {
    animation: slideInLeft 0.6s ease-out;
}

.animate-slideInRight {
    animation: slideInRight 0.6s ease-out;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .stat-number {
        text-shadow: 4px 4px 8px rgba(0,0,0,0.6);
        filter: drop-shadow(3px 3px 6px rgba(0,0,0,0.5));
    }
    
    .section-title {
        text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    }
    
    .btn-primary {
        box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    }
}

/* Dark Mode Support - DISABLED for consistent light theme */
/*
@media (prefers-color-scheme: dark) {
    :root {
        --text-primary: #F8F9FA;
        --text-secondary: #E9ECEF;
        --bg-primary: #212529;
        --bg-secondary: #343A40;
    }
}
*/

@keyframes counterGlow {
    0% {
        text-shadow: 3px 3px 6px rgba(0,0,0,0.4);
    }
    100% {
        text-shadow: 3px 3px 6px rgba(0,0,0,0.4), 0 0 15px rgba(255,255,255,0.3);
    }
}

.stat-label {
    font-size: 1.1rem;
    color: var(--accent-color);
    font-weight: 500;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sections */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.featured-section,
.activities-section,
.news-section {
    padding: 80px 0;
}

.news-section {
    background-color: var(--bg-secondary);
}

/* Content Cards */
.content-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.content-card.featured {
    border-top: 4px solid var(--accent-color);
}

.card-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.content-card:hover .card-image img {
    transform: scale(1.05);
}

.card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--accent-color);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.card-title a {
    color: var(--text-primary);
    text-decoration: none;
}

.card-title a:hover {
    color: var(--primary-color);
}

.card-excerpt {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: auto;
}

.card-meta {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    color: var(--text-primary);
    margin-top: 50px;
    border-top: 1px solid var(--border-color);
}

.footer-main {
    padding: 60px 0 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 40px;
    width: auto;
}

.footer-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.2;
}

.footer-subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.2;
}

.footer-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-heading {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-contact .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
}

.footer-contact i {
    color: var(--primary-color);
    margin-top: 2px;
    width: 20px;
}

.footer-bottom {
    background: var(--bg-primary);
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
}

.copyright {
    margin: 0;
    color: var(--text-secondary);
}

.footer-social {
    text-align: right;
}

.footer-social a {
    color: var(--text-secondary);
    margin-left: 15px;
    font-size: 1.1rem;
    transition: var(--transition);
}

.footer-social a:hover {
    color: var(--primary-color);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary-color);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
    z-index: 1000;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .search-box input {
        width: 150px;
    }
    
    .social-links,
    .footer-social {
        text-align: center;
        margin-top: 10px;
    }
    
    .contact-info {
        text-align: center;
    }
    
    .contact-info span {
        display: block;
        margin: 5px 0;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
}
    .hero-section {
        padding: 50px 0;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .navbar-brand .brand-text {
        display: none;
    }
    
    .search-box {
        margin-top: 10px;
    }
    
    .search-box input {
        width: 100%;
    }
}

/* Utility Classes */
.text-primary { color: var(--primary-color) !important; }
.bg-primary { background-color: var(--primary-color) !important; }
.bg-accent { background-color: var(--bg-accent) !important; }
.border-primary { border-color: var(--primary-color) !important; }

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading States */
.loading {
    position: relative;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-top: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ========== New Pages Styling ========== */

/* Structure Organization Page */
.org-chart {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-accent) 100%);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
}

.org-level {
    margin-bottom: 2rem;
}

.org-box {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
    border-top: 4px solid var(--primary-color);
}

.org-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.org-box.director { border-top-color: var(--accent-color); }
.org-box.deputy { border-top-color: var(--primary-color); }
.org-box.staff { border-top-color: var(--text-secondary); }
.org-box.division { border-top-color: var(--primary-light); }

.position-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.position-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.position-level {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.875rem;
    display: inline-block;
}

/* Team Cards */
.team-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    border-left: 4px solid var(--primary-color);
}

.team-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.team-avatar {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.team-info h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.team-position {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 1rem;
}

.team-details span {
    display: block;
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.team-details i {
    color: var(--accent-color);
    margin-right: 0.5rem;
}

/* Statistics Cards */
.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    border-top: 4px solid var(--primary-color);
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-weight: 500;
}

/* Tasks and Functions Page */
.function-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    height: 100%;
}

.function-card.primary { border-left: 6px solid var(--primary-color); }
.function-card.secondary { border-left: 6px solid var(--accent-color); }

.function-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.function-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.function-details {
    list-style: none;
    padding: 0;
}

.function-details li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.function-details li:last-child {
    border-bottom: none;
}

/* Division Tasks */
.division-tasks {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
}

.division-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.division-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-right: 1rem;
}

.division-header h3 {
    color: var(--text-primary);
    margin: 0;
}

.task-item {
    display: flex;
    align-items: flex-start;
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.task-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.task-number {
    background: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-right: 1rem;
    flex-shrink: 0;
}

.task-content h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.task-content p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

/* Authority and Responsibility Cards */
.authority-card, .responsibility-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    height: 100%;
    transition: var(--transition);
}

.authority-card {
    border-left: 6px solid var(--primary-color);
}

.responsibility-card {
    border-left: 6px solid var(--accent-color);
}

.authority-card:hover, .responsibility-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.authority-icon, .responsibility-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.authority-icon {
    color: var(--primary-color);
}

.responsibility-icon {
    color: var(--accent-color);
}

.authority-list, .responsibility-list {
    list-style: none;
    padding: 0;
}

.authority-list li, .responsibility-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.authority-list li:before, .responsibility-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.authority-list li:last-child, .responsibility-list li:last-child {
    border-bottom: none;
}

/* AMI Process Steps */
.process-step {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    text-align: center;
    transition: var(--transition);
    height: 100%;
    position: relative;
    border-top: 4px solid var(--primary-color);
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.25rem;
}

.step-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin: 1.5rem 0 1rem;
}

.step-details {
    margin-top: 1rem;
}

.step-details li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

/* Standard Cards */
.standard-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    height: 100%;
}

.standard-card.education { border-left: 6px solid #3B82F6; }
.standard-card.research { border-left: 6px solid #10B981; }
.standard-card.service { border-left: 6px solid #F59E0B; }

.standard-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.standard-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.standard-card.education .standard-icon { color: #3B82F6; }
.standard-card.research .standard-icon { color: #10B981; }
.standard-card.service .standard-icon { color: #F59E0B; }

.standard-list {
    list-style: none;
    padding: 0;
}

.standard-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.standard-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.standard-list li:last-child {
    border-bottom: none;
}

/* Timeline Styles */
.schedule-timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline-item {
    display: flex;
    margin-bottom: 2rem;
    position: relative;
}

.timeline-date {
    background: var(--primary-color);
    color: white;
    padding: 1rem;
    border-radius: var(--border-radius);
    text-align: center;
    min-width: 120px;
    margin-right: 2rem;
}

.date-month {
    font-weight: 600;
    font-size: 1rem;
}

.date-year {
    font-size: 0.875rem;
    opacity: 0.9;
}

.timeline-content {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    flex: 1;
    transition: var(--transition);
}

.timeline-content:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.timeline-content h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.timeline-status {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.875rem;
    font-weight: 500;
}

.timeline-status.completed {
    background: #D1FAE5;
    color: #065F46;
}

.timeline-status.in-progress {
    background: #FEF3C7;
    color: #92400E;
}

.timeline-status.upcoming {
    background: #DBEAFE;
    color: #1E40AF;
}

/* Evaluation Process Cards */
.process-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    height: 100%;
    overflow: hidden;
}

.process-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.card-header {
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
    position: relative;
}

.card-header.phase-1 { background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%); }
.card-header.phase-2 { background: linear-gradient(135deg, #10B981 0%, #047857 100%); }
.card-header.phase-3 { background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%); }

.phase-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.25rem;
    box-shadow: var(--shadow-medium);
}

.card-body {
    padding: 1.5rem;
}

.process-steps {
    list-style: none;
    padding: 0;
    margin-bottom: 1rem;
}

.process-steps li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.process-steps li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.process-steps li:last-child {
    border-bottom: none;
}

.process-tools {
    margin-top: 1rem;
}

.tool-tag {
    background: var(--bg-accent);
    color: var(--text-primary);
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    margin-right: 0.5rem;
    margin-bottom: 0.25rem;
    display: inline-block;
}

/* Area Cards */
.area-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    height: 100%;
}

.area-card.academic { border-left: 6px solid #3B82F6; }
.area-card.research { border-left: 6px solid #10B981; }
.area-card.service { border-left: 6px solid #F59E0B; }
.area-card.management { border-left: 6px solid #8B5CF6; }

.area-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.area-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.area-card.academic .area-icon { color: #3B82F6; }
.area-card.research .area-icon { color: #10B981; }
.area-card.service .area-icon { color: #F59E0B; }
.area-card.management .area-icon { color: #8B5CF6; }

.area-items ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1rem;
}

.area-items li {
    padding: 0.25rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1rem;
}

.area-items li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.area-indicators {
    margin-top: 1rem;
}

.indicator {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    margin-right: 0.5rem;
    margin-bottom: 0.25rem;
    display: inline-block;
}

/* Instrument Cards */
.instrument-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    text-align: center;
    transition: var(--transition);
    height: 100%;
}

.instrument-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.instrument-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.instrument-features {
    margin: 1.5rem 0;
}

.feature {
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.875rem;
    margin: 0.25rem;
    display: inline-block;
}

/* Results Cards */
.result-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    height: 100%;
}

.result-card.achievements {
    border-left: 6px solid #10B981;
}

.result-card.improvements {
    border-left: 6px solid #3B82F6;
}

.result-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.result-header i {
    font-size: 2rem;
    margin-right: 1rem;
}

.result-card.achievements .result-header i {
    color: #10B981;
}

.result-card.improvements .result-header i {
    color: #3B82F6;
}

.achievement-list, .improvement-list {
    list-style: none;
    padding: 0;
}

.achievement-item, .improvement-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
}

.achievement-metric {
    font-size: 2rem;
    font-weight: 700;
    color: #10B981;
    margin-right: 1rem;
}

.achievement-desc {
    color: var(--text-secondary);
}

.improvement-item i {
    margin-right: 1rem;
    font-size: 1.25rem;
}

/* Monitoring Framework */
.framework-step {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    text-align: center;
    transition: var(--transition);
    height: 100%;
    position: relative;
}

.framework-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.framework-step.step-1 { border-top: 4px solid #3B82F6; }
.framework-step.step-2 { border-top: 4px solid #10B981; }
.framework-step.step-3 { border-top: 4px solid #F59E0B; }
.framework-step.step-4 { border-top: 4px solid #8B5CF6; }

.detail-tag {
    background: var(--bg-accent);
    color: var(--text-primary);
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    margin: 0.25rem;
    display: inline-block;
}

/* KPI Dashboard */
.kpi-category {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    overflow: hidden;
    height: 100%;
}

.kpi-category.academic {
    border-top: 4px solid #3B82F6;
}

.kpi-category.research {
    border-top: 4px solid #10B981;
}

.category-header {
    background: var(--bg-secondary);
    padding: 1.5rem;
    display: flex;
    align-items: center;
}

.category-header i {
    font-size: 2rem;
    margin-right: 1rem;
}

.kpi-category.academic .category-header i {
    color: #3B82F6;
}

.kpi-category.research .category-header i {
    color: #10B981;
}

.kpi-items {
    padding: 1.5rem;
}

.kpi-item {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.kpi-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.kpi-metric {
    display: flex;
    align-items: baseline;
    margin-bottom: 0.5rem;
}

.kpi-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-right: 0.5rem;
}

.kpi-unit {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-right: 1rem;
}

.kpi-trend {
    font-size: 0.875rem;
    font-weight: 500;
}

.kpi-trend.up {
    color: #10B981;
}

.kpi-trend.down {
    color: #EF4444;
}

.kpi-label {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.kpi-progress .progress {
    height: 8px;
    background: var(--bg-secondary);
    border-radius: 4px;
    margin-bottom: 0.25rem;
}

.kpi-progress small {
    color: var(--text-light);
    font-size: 0.75rem;
}

/* Monitoring Tools */
.tool-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    text-align: center;
    transition: var(--transition);
    height: 100%;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.tool-card.dashboard-tool { border-left: 6px solid #3B82F6; }
.tool-card.reporting-tool { border-left: 6px solid #10B981; }
.tool-card.survey-tool { border-left: 6px solid #F59E0B; }

.tool-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.tool-features {
    margin: 1.5rem 0;
}

.feature-tag {
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.875rem;
    margin: 0.25rem;
    display: inline-block;
}

.tool-access {
    margin-top: 1.5rem;
}

/* Method Cards */
.method-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    height: 100%;
    transition: var(--transition);
}

.method-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.method-card.quantitative { border-left: 6px solid #3B82F6; }
.method-card.qualitative { border-left: 6px solid #10B981; }

.method-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.method-header i {
    font-size: 2rem;
    margin-right: 1rem;
}

.method-card.quantitative .method-header i { color: #3B82F6; }
.method-card.qualitative .method-header i { color: #10B981; }

.method-techniques ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1rem;
}

.method-techniques li {
    padding: 0.25rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1rem;
}

.method-techniques li:before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.indicator-tag {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    margin-right: 0.5rem;
    margin-bottom: 0.25rem;
    display: inline-block;
}

/* Schedule Cards */
.schedule-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    height: 100%;
}

.schedule-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.schedule-card.monthly { border-left: 6px solid #3B82F6; }
.schedule-card.quarterly { border-left: 6px solid #10B981; }
.schedule-card.annually { border-left: 6px solid #F59E0B; }
.schedule-card.adhoc { border-left: 6px solid #EF4444; }

.schedule-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.schedule-header i {
    font-size: 1.5rem;
    margin-right: 0.75rem;
}

.schedule-card.monthly .schedule-header i { color: #3B82F6; }
.schedule-card.quarterly .schedule-header i { color: #10B981; }
.schedule-card.annually .schedule-header i { color: #F59E0B; }
.schedule-card.adhoc .schedule-header i { color: #EF4444; }

.schedule-frequency {
    background: var(--bg-accent);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    margin-bottom: 1rem;
    text-align: center;
}

.schedule-scope ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1rem;
}

.schedule-scope li {
    padding: 0.25rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1rem;
}

.schedule-scope li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.recipient-tag {
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    margin: 0.25rem;
    display: inline-block;
}

/* Training Categories */
.category-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    height: 100%;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.category-card.basic { border-left: 6px solid #3B82F6; }
.category-card.intermediate { border-left: 6px solid #10B981; }
.category-card.advanced { border-left: 6px solid #F59E0B; }

.category-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.category-topics ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1rem;
}

.category-topics li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.category-topics li:before {
    content: "📚";
    position: absolute;
    left: 0;
    font-size: 0.875rem;
}

.category-topics li:last-child {
    border-bottom: none;
}

.category-target {
    background: var(--bg-accent);
    padding: 0.75rem;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-size: 0.875rem;
}

.category-duration {
    display: flex;
    align-items: center;
    color: var(--text-secondary);
    font-weight: 500;
}

.category-duration i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

/* Training Methods */
.method-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    height: 100%;
}

.method-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.method-card.classroom { border-left: 6px solid #3B82F6; }
.method-card.online { border-left: 6px solid #10B981; }
.method-card.blended { border-left: 6px solid #F59E0B; }
.method-card.mentoring { border-left: 6px solid #8B5CF6; }

.method-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.method-features, .method-advantages {
    margin-bottom: 1.5rem;
}

.method-features ul, .method-advantages ul {
    list-style: none;
    padding: 0;
}

.method-features li, .method-advantages li {
    padding: 0.25rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1rem;
}

.method-features li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.method-advantages li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10B981;
}

/* Certification Cards */
.certification-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    text-align: center;
    transition: var(--transition);
    height: 100%;
}

.certification-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.certification-card.basic-cert { border-top: 4px solid #3B82F6; }
.certification-card.auditor-cert { border-top: 4px solid #10B981; }
.certification-card.master-cert { border-top: 4px solid #F59E0B; }

.cert-badge {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.cert-requirements ul {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-bottom: 1rem;
}

.cert-requirements li {
    padding: 0.25rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1rem;
}

.cert-requirements li:before {
    content: "□";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.cert-validity {
    background: var(--bg-accent);
    padding: 0.75rem;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-size: 0.875rem;
}

.benefit-tag {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    margin: 0.25rem;
    display: inline-block;
}

/* Document Management */
.guide-categories, .documents-section {
    margin-bottom: 3rem;
}

.category-card.spmi-guides { border-left: 6px solid #3B82F6; }
.category-card.audit-guides { border-left: 6px solid #10B981; }
.category-card.evaluation-guides { border-left: 6px solid #F59E0B; }

.category-stats {
    display: flex;
    justify-content: space-between;
    margin: 1rem 0;
    font-size: 0.875rem;
}

.stat-item {
    color: var(--text-secondary);
}

.stat-item i {
    color: var(--primary-color);
    margin-right: 0.25rem;
}

/* Document Cards */
.document-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    height: 100%;
    border-left: 4px solid var(--border-color);
}

.document-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.document-card.featured {
    border-left-color: var(--accent-color);
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-accent) 100%);
}

.document-card.audit-manual {
    border-left-color: #10B981;
}

.document-card.evaluation-manual {
    border-left-color: #F59E0B;
}

.document-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.document-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.document-type {
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

.document-card h4 {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.document-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.document-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.meta-item {
    color: var(--text-light);
    display: flex;
    align-items: center;
}

.meta-item i {
    margin-right: 0.25rem;
    color: var(--primary-color);
}

.document-actions {
    display: flex;
    gap: 0.5rem;
}

/* Quick Links */
.quick-link-card {
    display: block;
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    text-align: center;
    border-left: 4px solid var(--primary-color);
}

.quick-link-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
    text-decoration: none;
    color: inherit;
}

.quick-link-card .link-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.quick-link-card h5 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.quick-link-card p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.875rem;
}

/* SOP Styles */
.sop-overview {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-accent) 100%);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
}

.benefit-list {
    list-style: none;
    padding: 0;
}

.benefit-list li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
}

.benefit-list i {
    margin-right: 0.75rem;
}

/* SOP Category Tabs */
.category-tabs .nav-pills .nav-link {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    border-radius: var(--border-radius);
    padding: 1rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.category-tabs .nav-pills .nav-link i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.category-tabs .nav-pills .nav-link:hover {
    background: var(--bg-accent);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.category-tabs .nav-pills .nav-link.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* SOP Cards */
.sop-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    height: 100%;
    border-left: 4px solid var(--border-color);
}

.sop-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
    border-left-color: var(--primary-color);
}

.sop-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.sop-code {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 0.875rem;
}

.sop-status {
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
}

.sop-status.active {
    background: #D1FAE5;
    color: #065F46;
}

.sop-status.draft {
    background: #FEF3C7;
    color: #92400E;
}

.sop-status.revision {
    background: #DBEAFE;
    color: #1E40AF;
}

.sop-card h4 {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.sop-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.sop-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.sop-actions {
    display: flex;
    gap: 0.5rem;
}

/* SOP Statistics */
.stat-card.total-sops { border-top-color: #3B82F6; }
.stat-card.active-sops { border-top-color: #10B981; }
.stat-card.updated-sops { border-top-color: #F59E0B; }
.stat-card.downloads { border-top-color: #8B5CF6; }

.stat-detail {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* SOP Tools */
.tool-card.sop-builder { border-left-color: #3B82F6; }
.tool-card.version-control { border-left-color: #10B981; }
.tool-card.compliance-check { border-left-color: #F59E0B; }

/* Responsive Design */
@media (max-width: 768px) {
    .org-level .col-lg-4,
    .org-level .col-md-6 {
        margin-bottom: 1rem;
    }
    
    .timeline-item {
        flex-direction: column;
    }
    
    .timeline-date {
        margin-right: 0;
        margin-bottom: 1rem;
        align-self: flex-start;
    }
    
    .category-tabs .nav-pills .nav-link {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }
    
    .category-tabs .nav-pills .nav-link i {
        font-size: 1.25rem;
        margin-bottom: 0.25rem;
    }
    
    .document-actions {
        flex-direction: column;
    }
    
    .sop-actions {
        flex-direction: column;
    }
    
    .document-meta,
    .sop-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 576px) {
    .process-card,
    .framework-step,
    .category-card {
        margin-bottom: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .kpi-value {
        font-size: 1.5rem;
    }
    
    .tool-card,
    .certification-card,
    .method-card {
        text-align: left;
    }
    
    .tool-card .tool-icon,
    .certification-card .cert-badge,
    .method-card .method-icon {
        text-align: center;
    }
}

/* Formulir Page Styles */
.search-box {
    margin-bottom: 2rem;
}

.search-box .input-group {
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.search-box .form-control {
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

.search-box .btn {
    border: none;
    padding: 0.75rem 1.5rem;
}

.form-categories {
    margin-bottom: 3rem;
}

.category-card {
    background: #fff;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: 2px solid transparent;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.category-card.audit-forms {
    border-color: #28a745;
}

.category-card.evaluation-forms {
    border-color: #17a2b8;
}

.category-card.monitoring-forms {
    border-color: #ffc107;
}

.category-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #fff;
}

.category-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.category-stats {
    margin: 1.5rem 0;
    display: flex;
    justify-content: space-around;
    padding: 1rem 0;
    border-top: 1px solid #e9ecef;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.9rem;
    color: #6c757d;
}

.stat-item i {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.forms-grid .form-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    height: 100%;
}

.form-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.form-card.audit {
    border-left-color: #28a745;
}

.form-card.evaluation {
    border-left-color: #17a2b8;
}

.form-card.monitoring {
    border-left-color: #ffc107;
}

.form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.form-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.form-type {
    background: #e9ecef;
    color: #495057;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.form-card h4 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.form-meta {
    margin: 1rem 0;
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #6c757d;
}

.meta-item {
    display: flex;
    align-items: center;
}

.meta-item i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.form-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.form-builder-section {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 3rem 0;
    border-radius: 15px;
    margin-top: 3rem;
}

.tool-card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.tool-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
}

.tool-features {
    margin: 1rem 0;
}

.feature-tag {
    background: #e9ecef;
    color: #495057;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    margin: 0.25rem;
    display: inline-block;
}

/* Laporan Page Styles */
.report-filters {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.kpi-dashboard {
    margin-bottom: 3rem;
}

.kpi-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-color);
    height: 100%;
}

.kpi-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.kpi-card .kpi-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.kpi-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.kpi-label {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.kpi-trend {
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.kpi-trend.positive {
    color: #28a745;
}

.kpi-trend.negative {
    color: #dc3545;
}

.kpi-progress {
    margin-top: 1rem;
}

.kpi-progress .progress {
    height: 6px;
    background: #f8f9fa;
}

.report-category-card {
    background: #fff;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.report-category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.category-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.category-header .category-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
}

.category-header h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 1.5rem 0;
    padding: 1.5rem 0;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

.stat-grid .stat-item {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.8rem;
    color: #6c757d;
}

.category-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.report-table-container {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
}

.report-table {
    margin: 0;
}

.report-table th {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: #fff;
    border: none;
    padding: 1rem;
    font-weight: 600;
}

.report-table td {
    padding: 1rem;
    border-color: #e9ecef;
    vertical-align: middle;
}

.unit-info strong {
    color: var(--primary-color);
}

.score-display {
    text-align: center;
}

.score-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.score-bar {
    width: 50px;
    height: 4px;
    background: #e9ecef;
    border-radius: 2px;
    margin: 0.5rem auto 0;
    overflow: hidden;
}

.score-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.findings-count {
    font-weight: 600;
    color: var(--primary-color);
}

.action-buttons {
    display: flex;
    gap: 0.25rem;
}

.chart-container {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    height: 100%;
}

.chart-title {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-align: center;
}

.chart-mock {
    height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    height: 200px;
    padding: 1rem 0;
}

.bar {
    width: 40px;
    background: linear-gradient(to top, var(--primary-color), var(--accent-color));
    border-radius: 4px 4px 0 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 0.5rem;
    color: #fff;
    font-weight: 600;
    font-size: 0.8rem;
}

.chart-labels {
    display: flex;
    justify-content: space-around;
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 500;
}

.export-tools {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 3rem 0;
    border-radius: 15px;
}

.export-option {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.export-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.export-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
}

/* Kontak Page Styles */
.contact-quick-info {
    margin-bottom: 3rem;
}

.contact-info-card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    border-top: 4px solid var(--primary-color);
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.contact-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
}

.contact-info-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.contact-info-card a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-info-card a:hover {
    text-decoration: underline;
}

.contact-form-section {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.contact-form .form-label {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-form .form-control,
.contact-form .form-select {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 0.75rem;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(164, 37, 84, 0.25);
}

.contact-form-actions {
    display: flex;
    gap: 1rem;
}

.map-section {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.map-placeholder {
    position: relative;
    height: 400px;
}

.map-overlay {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(255,255,255,0.95);
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    z-index: 10;
    max-width: 250px;
}

.map-info h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.map-address {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 1rem;
}

.map-actions {
    display: flex;
    gap: 0.5rem;
}

.transportation-info h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.transport-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.transport-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.transport-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

.transport-details strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.25rem;
}

.team-directory {
    margin: 3rem 0;
}

.team-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.team-photo {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(164, 37, 84, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.team-card:hover .team-overlay {
    opacity: 1;
}

.team-social {
    display: flex;
    gap: 1rem;
}

.team-social a {
    width: 40px;
    height: 40px;
    background: #fff;
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.team-social a:hover {
    background: var(--accent-color);
    color: #fff;
    transform: scale(1.1);
}

.team-info {
    padding: 1.5rem;
}

.team-info h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 1.1rem;
}

.team-position {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.team-description {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.team-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-item {
    font-size: 0.85rem;
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-item:hover {
    color: var(--primary-color);
}

.contact-item i {
    color: var(--primary-color);
    width: 16px;
}

.faq-section {
    margin: 3rem 0;
}

.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.accordion-button {
    background: #fff;
    border: none;
    color: var(--primary-color);
    font-weight: 600;
    padding: 1.5rem;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: #fff;
    box-shadow: none;
}

.accordion-button:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(164, 37, 84, 0.25);
}

.accordion-body {
    padding: 1.5rem;
    color: #6c757d;
}

.char-counter {
    text-align: right;
    margin-top: 0.5rem;
}



/* ========== Homepage: compact hero, quick access ========== */
.hero-section.hero-compact {
    padding: 60px 0 50px;
}

.hero-compact .hero-content {
    padding-right: 0;
}

.hero-compact .hero-title {
    font-size: 2.5rem;
    line-height: 1.2;
}

.hero-intro {
    max-width: 760px;
    margin: 0 auto;
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.hero-compact .hero-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.quick-access-section {
    margin-top: -30px;
    padding-bottom: 40px;
    position: relative;
}

.quick-access-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.35rem;
    height: 100%;
    padding: 1.5rem 1rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
}

.quick-access-card:hover,
.quick-access-card:focus {
    transform: translateY(-4px);
    box-shadow: var(--shadow-heavy);
    color: var(--primary-color);
}

.quick-access-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--bg-accent);
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 0.25rem;
}

.quick-access-title {
    font-weight: 600;
    line-height: 1.3;
}

.quick-access-text {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.4;
}

.category-label {
    display: inline-block;
    align-self: flex-start;
    background: var(--bg-accent);
    color: var(--primary-color);
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.card-image-placeholder {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    color: var(--primary-color);
    opacity: 0.7;
}

/* Full description on the profile page (same text as the homepage settings) */
.profile-intro p {
    line-height: 1.8;
    margin-bottom: 1.2rem;
}

@media (max-width: 768px) {
    .hero-section.hero-compact {
        padding: 40px 0 50px;
    }

    .hero-compact .hero-title {
        font-size: 1.75rem;
    }

    .hero-intro {
        font-size: 1rem;
    }

    .quick-access-card {
        padding: 1rem 0.5rem;
    }

    .quick-access-text {
        display: none;
    }

    .brand-text .brand-title {
        max-width: 200px;
        font-size: 0.85rem;
    }
}
