:root {
    /* Primary Colors - Dark Blue Modern Theme */
    --primary-color: #2c5aa0;        /* Deep Blue - consistent with sejarah */
    --primary-dark: #1E293B;         /* Dark Slate */
    --primary-light: #EFF6FF;        /* Very Light Blue */
    --primary-accent: #3B82F6;       /* Bright Blue */
    
    /* Secondary & Neutral Colors */
    --secondary-color: #64748B;      /* Slate Gray */
    --secondary-light: #E2E8F0;      /* Light Slate */
    --secondary-dark: #475569;       /* Dark Slate Gray */
    
    /* Status Colors */
    --success-color: #059669;        /* Emerald */
    --danger-color: #DC2626;         /* Red */
    --warning-color: #D97706;        /* Amber */
    --info-color: #2563EB;           /* Blue */
    
    /* Background & Text Colors */
    --light-color: #F8FAFC;          /* Very Light Gray */
    --dark-color: #0F172A;           /* Very Dark Blue */
    --white-color: #FFFFFF;          /* Pure White */
    --background-color: #FFFFFF;     /* Main Background */
    --background-secondary: #F8FAFC; /* Secondary Background */
    
    /* Text Colors */
    --text-primary: #0F172A;         /* Dark Blue Text */
    --text-secondary: #64748B;       /* Gray Text */
    --text-muted: #94A3B8;           /* Light Gray Text */
    
    /* Border & Dividers */
    --border-color: #E2E8F0;         /* Light Border */
    --border-dark: #CBD5E1;          /* Darker Border */
    
    /* Modern Shadows */
    --shadow-light: 0 1px 3px 0 rgba(15, 23, 42, 0.08), 0 1px 2px 0 rgba(15, 23, 42, 0.06);
    --shadow-medium: 0 4px 6px -1px rgba(15, 23, 42, 0.12), 0 2px 4px -1px rgba(15, 23, 42, 0.08);
    --shadow-large: 0 10px 15px -3px rgba(15, 23, 42, 0.15), 0 4px 6px -2px rgba(15, 23, 42, 0.08);
    --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.18), 0 10px 10px -5px rgba(15, 23, 42, 0.04);
    
    /* Typography */
    --font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    /* Border Radius */
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --border-radius-xl: 16px;
    --border-radius-2xl: 20px;
    
    /* Smooth Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global 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(--white-color);
}

/* Global Main Title Styling - Consistent across all pages */
.main-title, .page-main-title {
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.main-title::after, .page-main-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-accent));
    border-radius: 2px;
}

/* Responsive main title */
@media (max-width: 768px) {
    .main-title, .page-main-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 576px) {
    .main-title, .page-main-title {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }
}

/* Header Styles */
.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white-color);
    box-shadow: var(--shadow-medium);
    border-bottom: 1px solid var(--border-color);
}

.main-header .top-bar {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    padding: 24px 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.main-header .top-bar::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 60 60"><defs><pattern id="moderngrid" width="60" height="60" patternUnits="userSpaceOnUse"><circle cx="30" cy="30" r="0.8" fill="%23ffffff" opacity="0.06"/><circle cx="0" cy="0" r="0.8" fill="%23ffffff" opacity="0.06"/><circle cx="60" cy="60" r="0.8" fill="%23ffffff" opacity="0.06"/></pattern></defs><rect width="100%" height="100%" fill="url(%23moderngrid)"/></svg>') repeat;
    pointer-events: none;
}

.main-header .top-bar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.3) 50%, transparent 100%);
}

.logo-section {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
}

.logo {
    height: 45px;
    width: auto;
    max-height: 120px;
    margin-right: 20px;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}



.logo-text h1 {
    font-size: 1.75rem;
    font-weight: var(--font-weight-bold);
    color: white;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0,0,0,0.25);
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.logo-text p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.92);
    margin: 0;
    text-shadow: 0 1px 3px rgba(0,0,0,0.2);
    font-weight: var(--font-weight-medium);
    letter-spacing: 0.01em;
}

.operating-hours {
    text-align: right;
    color: rgba(255,255,255,0.95);
    font-size: 0.95rem;
    position: relative;
    z-index: 2;
    background: rgba(255,255,255,0.08);
    padding: 16px 24px;
    border-radius: var(--border-radius-xl);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.15);
    font-weight: var(--font-weight-medium);
}



.operating-hours i {
    color: #ffd700;
    margin-right: 10px;
    font-size: 1.1rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Navigation */
.navbar {
    background: var(--white-color) !important;
    box-shadow: var(--shadow-medium);
    padding: 0;
    border-top: 3px solid var(--primary-color);
}

.navbar-nav {
    align-items: center;
}

.navbar-nav .nav-link {
    font-weight: var(--font-weight-semibold);
    padding: 1.2rem 1.5rem;
    transition: var(--transition);
    color: var(--text-primary) !important;
    position: relative;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    border-radius: var(--border-radius);
    margin: 0 2px;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-accent) 100%);
    transform: translateX(-50%);
    border-radius: 2px;
}



.navbar-nav .nav-item.active .nav-link,
.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
    background-color: var(--primary-light);
    font-weight: var(--font-weight-bold);
}

.navbar-nav .nav-item.active .nav-link::before,
.navbar-nav .nav-link.active::before {
    width: 85%;
}

/* Hero Section - Modern Dark Blue Theme */
.hero-section {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    color: white;
    padding: 20px 0 !important;
    min-height: 180px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hero-section::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 80 80"><defs><pattern id="modernhero" width="80" height="80" patternUnits="userSpaceOnUse"><circle cx="40" cy="40" r="1" fill="%23ffffff" opacity="0.08"/><circle cx="0" cy="0" r="0.5" fill="%23ffffff" opacity="0.05"/><circle cx="80" cy="80" r="0.5" fill="%23ffffff" opacity="0.05"/></pattern></defs><rect width="100%" height="100%" fill="url(%23modernhero)"/></svg>') repeat;
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.4) 50%, transparent 100%);
}

.hero-section h1 {
    font-size: 2.5rem !important;
    font-weight: var(--font-weight-bold);
    margin-bottom: 20px;
    text-shadow: 0 4px 12px rgba(0,0,0,0.25);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.hero-section .lead {
    font-size: 1.15rem !important;
    line-height: 1.6;
    margin-bottom: 0;
    opacity: 0.92;
    font-weight: var(--font-weight-medium);
    text-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* Container padding adjustment */
.hero-section .container {
    padding-top: 10px;
    padding-bottom: 10px;
    position: relative;
    z-index: 2;
}

/* Bidang Banner Card Styles */
.bidang-banner-card {
    background: var(--white-color);
    border-radius: var(--border-radius-xl);
    padding: 40px;
    text-align: center;
    box-shadow: var(--shadow-large);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.bidang-banner-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    pointer-events: none;
}



.bidang-banner-card .banner-icon {
    display: inline-block;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-accent));
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
}

.bidang-banner-card .banner-icon i {
    font-size: 32px;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.bidang-banner-card h3 {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-dark);
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.bidang-banner-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    position: relative;
    z-index: 2;
}

/* Bidang Stats Styles */
.bidang-stats .stats-card {
    background: var(--white-color);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
}



.bidang-stats .stats-card h4 {
    color: var(--primary-color);
    font-weight: var(--font-weight-bold);
    margin-bottom: 25px;
    text-align: center;
    font-size: 1.1rem;
}

/* Welcome Divider */
.welcome-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-accent));
    border-radius: 2px;
    margin: 0 auto 32px;
    position: relative;
}

.welcome-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0.3;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Custom Breadcrumb */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
}

.breadcrumb-item a {
    color: #1E3A8A;

}

.breadcrumb-item a:hover {
    color: #3B82F6;
}

.breadcrumb-item.active {
    color: #6B7280;
}

/* Task Card Container */
.task-card {
    background: var(--white-color);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    animation: bounceIn 0.8s ease-out 0.4s both;
    margin-bottom: 24px;
}

.task-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(135, 206, 235, 0.1), transparent);
    transition: left 0.5s;
}

.task-card:hover::before {
    left: 100%;
}



/* Card Header */
.card-header-custom {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 20px 24px;
    border-bottom: none;
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.card-header-custom h4 {
    font-size: 1.25rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    margin: 0;
    letter-spacing: 0.025em;
}

.card-header-custom i {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-right: 12px;
}

/* Card Body */
.card-body-custom {
    padding: 24px;
    background: var(--white-color);
}

/* Task List */
.task-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Individual Task Item */
.task-item {
    display: flex;
    align-items: flex-start;
    padding: 18px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(249, 250, 251, 0.9));
    border-radius: 16px;
    border: 1px solid rgba(102, 126, 234, 0.2);
    position: relative;
    overflow: hidden;
}



.task-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    transform: scaleY(1);
}

.task-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);

}





/* Task Content */
.task-content {
    flex: 1;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    position: relative;
}

.task-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);

    position: relative;
    z-index: 2;
}

.task-number::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;

}



.task-text {
    flex: 1;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #2D3748;
    font-weight: 500;
    margin-top: 8px;
    position: relative;
}

.task-text::before {
    content: '✨';
    position: absolute;
    left: -25px;
    top: 0;
    font-size: 1rem;
    opacity: 0;
    transform: translateX(0) rotate(0deg);
}


}

/* Responsive Design */
@media (max-width: 768px) {
    .bidang-pemerintahan {
        padding: 1rem 0;
    }
    
    .page-title {
        font-size: 2.2rem;
        margin-bottom: 0.5rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .task-card {
        margin: 0 1rem;
        border-radius: 16px;
    }
    
    .task-item {
        padding: 20px 15px;
        margin: 0 10px;
    }
    
    .task-content {
        gap: 12px;
    }
    
    .task-number {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .task-text {
        font-size: 1rem;
        margin-top: 5px;
    }
    

}

@media (max-width: 480px) {
    .page-title {
        font-size: 1.8rem;
    }
    
    .task-item {
        padding: 15px 10px;
    }
    
    .task-number {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
    
    .task-text {
        font-size: 0.95rem;
    }
}
}

.task-content p {
    margin: 0;
    color: #374151;
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: justify;
}

/* Back Button */
.btn-back {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: var(--transition);
    box-shadow: var(--shadow-medium);
    letter-spacing: 0.025em;
}

.btn-back:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #2F5F8F 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-large);
    text-decoration: none;
}

.btn-back i {
    transition: var(--transition);
    margin-right: 8px;
}

.btn-back:hover i {
    transform: translateX(-3px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-title {
        font-size: 1.8rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    .card-header-custom {
        padding: 15px 20px;
    }
    
    .card-header-custom h4 {
        font-size: 1.1rem;
    }
    
    .card-body-custom {
        padding: 20px;
    }
    
    .task-item {
        padding: 15px;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .task-icon {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .task-content {
        flex-direction: column;
        gap: 5px;
    }
    
    .task-number {
        margin-top: 0;
    }
    
    .btn-back {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .task-list {
        gap: 15px;
    }
    
    .task-item {
        padding: 12px;
    }
    
    .task-content p {
        font-size: 0.9rem;
    }
}

/* Icon size adjustment */
.hero-section .fa-5x {
    font-size: 3rem !important;
}

.welcome-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.welcome-message {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    background: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.kadis-signature {
    margin-top: 30px;
}

.kadis-signature .quote {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.kadis-signature .signature {
    font-weight: 600;
    color: #ffd700;
}

/* Visitor Stats */
.visitor-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.stats-card {
    background: var(--white-color);
    color: var(--text-color);
    padding: 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-medium);
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
}



.stats-card h3 {
    color: var(--primary-color);
    margin-bottom: 25px;
    font-weight: var(--font-weight-bold);
}

.stats-item {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
}

.stats-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-right: 15px;
}

.stats-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #333;
}

.stats-label {
    display: block;
    font-size: 0.9rem;
    color: #666;
    margin-top: 5px;
}

/* News Section */
.news-section {
    background: #f8f9fa;
    padding: 50px 0;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.section-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.news-card {
    background: var(--white-color);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    height: 100%;
    border: 1px solid var(--border-color);
    margin-bottom: 20px;
}

/* Mengurangi jarak antar card berita */
.news-section .col-lg-4,
.news-section .col-md-6 {
    margin-bottom: 20px;
}

@media (min-width: 992px) {
    .news-section .col-lg-4:nth-child(3n) {
        margin-bottom: 0;
    }
}

@media (max-width: 991px) {
    .news-section .col-md-6:nth-child(2n) {
        margin-bottom: 0;
    }
}

/* Responsif untuk mobile */
@media (max-width: 768px) {
    .news-section {
        padding: 30px 0;
    }
    
    .hero-section {
        min-height: 150px !important;
        padding: 15px 0 !important;
    }
    
    .quick-links {
        padding: 30px 0;
    }
    
    .main-footer {
        padding: 15px 0;
    }
    
    .main-footer .social-media {
        flex-direction: column;
        gap: 8px;
        margin-top: 8px;
    }
    
    .main-footer .col-md-4 {
        margin-bottom: 8px;
    }
    
    .main-footer h5 {
        margin-bottom: 8px;
    }
    
    .main-footer p {
        margin-bottom: 3px;
    }
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.news-image {
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    animation: fadeInZoom 0.8s ease-out;
}

.news-card:hover .news-image img {
    transform: scale(1.08);
    filter: brightness(1.1);
}

/* Fade in zoom animation for news images */
@keyframes fadeInZoom {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.news-content {
    padding: 15px;
}

.news-date {
    color: #667eea;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.news-date i {
    margin-right: 5px;
}

.news-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.4;
}

.news-excerpt {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 12px;
}

/* Quick Links Section */
.quick-links {
    padding: 40px 0;
}

.quick-link-card {
    background: var(--white-color);
    padding: 40px 24px;
    border-radius: var(--border-radius-xl);
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 51, 102, 0.12);
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(0, 51, 102, 0.08);
    position: relative;
    overflow: hidden;
}

.quick-link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-accent), var(--primary-dark));
    transform: scaleX(0);
    transition: var(--transition);
    transform-origin: left;
}

.quick-link-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 51, 102, 0.18);
    border-color: var(--primary-color);
}

.quick-link-card:hover::before {
    transform: scaleX(1);
}

.quick-link-card .icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    transition: var(--transition);
    position: relative;
    box-shadow: 0 8px 20px rgba(0, 51, 102, 0.25);
}

.quick-link-card .icon::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-accent));
    border-radius: var(--border-radius-lg);
    z-index: -1;
    opacity: 0.3;
    transition: var(--transition);
}

.quick-link-card:hover .icon {
    transform: scale(1.08) rotate(-5deg);
    box-shadow: 0 12px 30px rgba(0, 51, 102, 0.35);
}

.quick-link-card:hover .icon::before {
    opacity: 0.5;
    transform: scale(1.1);
}

.quick-link-card .icon i {
    font-size: 2rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.quick-link-card h4 {
    color: var(--primary-dark);
    font-weight: var(--font-weight-semibold);
    margin-bottom: 16px;
    font-size: 1.2rem;
    letter-spacing: -0.01em;
}

.quick-link-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 24px;
    letter-spacing: 0.01em;
}

/* Footer - Simple Design */
.main-footer {
    background: #0A2A66 !important;
    padding: 20px 0;
    text-align: center;
}

.main-footer *,
.main-footer h1,
.main-footer h2,
.main-footer h3,
.main-footer h4,
.main-footer h5,
.main-footer h6,
.main-footer p,
.main-footer span,
.main-footer a,
.main-footer i {
    color: #ffffff !important;
    text-align: center;
}

.main-footer h5 {
    color: #ffffff !important;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 1.1rem;
}

.main-footer p {
    color: #ffffff !important;
    margin-bottom: 5px;
    font-size: 0.95rem;
    text-align: center;
}

.main-footer .contact-info p {
    margin-bottom: 5px;
    color: #ffffff !important;
    text-align: center;
}

.main-footer .contact-info i {
    color: #ffffff !important;
    margin-right: 8px;
}

.main-footer .social-media {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

.main-footer .social-link {
    color: #ffffff !important;
    text-decoration: none;
    font-size: 0.95rem;
    transition: opacity 0.3s ease;
}

.main-footer .social-link:hover {
    opacity: 0.8;
}

.main-footer .social-link i {
    margin-right: 8px;
    color: #ffffff !important;
}

.main-footer .row {
    justify-content: center;
}

.main-footer .col-md-4 {
    text-align: center;
    margin-bottom: 10px;
}

/* Hero Section - Perbaikan ukuran judul */
.hero-section h1.display-4 {
    font-size: 2.8rem !important; /* Diperkecil dari default display-4 (3.5rem) */
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-section .lead {
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.5;
}

/* Welcome Banner in Hero Section */
.hero-section .welcome-banner-container {
    text-align: center;
    padding: 10px;
    background: var(--white-color);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--border-color);
}

.hero-section .welcome-banner-image {
    max-width: 100%;
    width: auto;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    display: block;
    margin: 0 auto;
    animation: floatingBanner 4s ease-in-out infinite;
    will-change: transform;
}

.hero-section .welcome-banner-image:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
    animation-play-state: paused;
}

/* Keyframe animations for banner */
@keyframes floatingBanner {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }
    25% {
        transform: translateY(-5px) scale(1.01);
    }
    50% {
        transform: translateY(-10px) scale(1.02);
    }
    75% {
        transform: translateY(-5px) scale(1.01);
    }
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: var(--shadow-light);
    }
    50% {
        box-shadow: 0 8px 25px rgba(44, 90, 160, 0.3), var(--shadow-medium);
    }
}

/* Add pulse glow effect on container */
.hero-section .welcome-banner-container {
    animation: pulseGlow 4s ease-in-out infinite;
}

/* Responsive adjustments for banner in hero */
@media (max-width: 768px) {
    .hero-section .welcome-banner-container {
        padding: 8px;
        margin-bottom: 15px;
    }
    
    .hero-section .welcome-banner-image {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .hero-section .welcome-banner-container {
        padding: 6px;
        margin-bottom: 10px;
    }
    
    .hero-section .welcome-banner-image {
        max-width: 100%;
    }
}

/* Section Title - Ukuran yang lebih proporsional */
.section-title {
    font-size: 2rem !important; /* Diperkecil dari 2.2rem */
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
    line-height: 1.3;
}

/* Info Card Title - Ukuran yang konsisten */
.info-card h4 {
    font-size: 1.1rem !important; /* Diperkecil dari 18px */
    font-weight: 600;
    margin-bottom: 15px;
    color: #2c3e50;
}

/* Info Number - Ukuran yang lebih seimbang */
.info-number {
    font-size: 2.2rem !important; /* Diperkecil dari 36px */
    font-weight: 700;
    color: #ff6b35;
    margin-bottom: 10px;
    line-height: 1;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-section {
        padding: 30px 0 !important;
        min-height: 200px !important;
    }
    
    .hero-section h1 {
        font-size: 1.9rem !important;
    }
    
    .hero-section .lead {
        font-size: 0.95rem !important;
    }
    
    .hero-section .fa-5x {
        font-size: 2.5rem !important;
    }
    
    .hero-section h1.display-4 {
        font-size: 2.2rem !important;
    }
    
    .section-title {
        font-size: 1.8rem !important;
    }
    
    .info-number {
        font-size: 2rem !important;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 25px 0 !important;
        min-height: 180px !important;
        text-align: center;
    }
    
    .hero-section h1 {
        font-size: 1.7rem !important;
        margin-bottom: 10px;
    }
    
    .hero-section .lead {
        font-size: 0.9rem !important;
    }
    
    .hero-section .fa-5x {
        font-size: 2rem !important;
    }
    
    .hero-section h1.display-4 {
        font-size: 1.9rem !important;
    }
    
    .welcome-content h1 {
        font-size: 2rem;
    }
    
    .logo-text h1 {
        font-size: 1.2rem;
    }
    
    .operating-hours {
        text-align: left;
        margin-top: 10px;
    }
    
    .stats-card {
        margin-top: 30px;
    }
    
    .section-title {
        font-size: 1.6rem !important;
    }
    
    .info-card h4 {
        font-size: 1rem !important;
    }
    
    .info-number {
        font-size: 1.8rem !important;
    }
    
    .quick-link-card {
        margin-bottom: 20px;
    }
    
    .sejarah-section .section-title {
        font-size: 2rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .paragraph-content {
        padding: 1.5rem;
    }
    
    .paragraph-content p {
        font-size: 1rem;
    }
    
    .nav-card {
        flex-direction: column;
        text-align: center;
    }
    
    .nav-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .misi-list li {
        padding: 12px 15px;
        margin-left: 20px;
    }
    
    .misi-list li::before {
        width: 25px;
        height: 25px;
        font-size: 0.8rem;
        left: -12px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 20px 0 !important;
        min-height: 150px !important;
    }
    
    .hero-section h1 {
        font-size: 1.5rem !important;
    }
    
    .hero-section .lead {
        font-size: 0.85rem !important;
    }
    
    .hero-section .fa-5x {
        font-size: 1.8rem !important;
    }
    
    .hero-section h1.display-4 {
        font-size: 1.7rem !important;
    }
    
    .section-title {
        font-size: 1.4rem !important;
    }
    
    .info-number {
        font-size: 1.6rem !important;
    }
}

/* Profile Pages Enhanced Styles */
.profile-page {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
    padding: 20px 0;
}

.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 4rem 0 2rem;
    /* Hero Section Enhancements */
    
    .hero-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.3);
        z-index: 1;
    }
    
    .hero-content {
        position: relative;
        z-index: 2;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 100%;
        text-align: center;
    }
    
    .hero-title {
        font-size: 3.5rem !important;
        font-weight: 700;
        color: white;
        margin-bottom: 1.5rem;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
        text-align: center !important;
        white-space: nowrap !important;
        line-height: 1.2;
        width: 100%;
        display: block;
    }
    
    .hero-subtitle {
        font-size: 1.3rem !important;
        color: rgba(255, 255, 255, 0.9);
        line-height: 1.6;
        margin-bottom: 0;
        text-align: center !important;
        max-width: 100%;
        white-space: nowrap !important;
        display: block;
        width: 100%;
    }
    
    /* Responsive hero title */
    @media (max-width: 1200px) {
        .hero-title {
            font-size: 3.2rem !important;
            white-space: nowrap !important;
        }
    }
    
    @media (max-width: 1024px) {
        .hero-title {
            font-size: 2.8rem !important;
            white-space: nowrap !important;
        }
    }
    
    @media (max-width: 992px) {
        .hero-title {
            font-size: 2.5rem !important;
            white-space: nowrap !important;
        }
        .hero-subtitle {
            font-size: 1.1rem !important;
            white-space: nowrap !important;
        }
    }
    
    @media (max-width: 768px) {
        .hero-title {
            font-size: 2.2rem !important;
            white-space: nowrap !important;
        }
        .hero-subtitle {
            font-size: 1rem !important;
            white-space: nowrap !important;
        }
    }
    
    @media (max-width: 576px) {
        .hero-title {
            font-size: 1.8rem !important;
            white-space: nowrap !important;
        }
        .hero-subtitle {
            font-size: 0.9rem !important;
            white-space: nowrap !important;
        }
    }
    
    .hero-stats {
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        border-radius: 15px;
        padding: 2rem;
        border: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .stat-item {
        text-align: center;
        color: white;
    }
    
    .stat-number {
        font-size: 2.5rem;
        font-weight: 700;
        display: block;
        margin-bottom: 0.5rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
        opacity: 0.9;
    }
    
    /* Breadcrumb Enhancements */
    .breadcrumb-section {
        background: #f8f9fa;
        padding: 1rem 0;
        border-bottom: 1px solid #e9ecef;
    }
    
    .breadcrumb {
        background: transparent;
        margin-bottom: 0;
        padding: 0;
    }
    
    .breadcrumb-item a {
        color: #6c757d;
        text-decoration: none;
        transition: color 0.3s ease;
    }
    
    .breadcrumb-item a:hover {
        color: #007bff;
    }
    
    .breadcrumb-item.active {
        color: #495057;
        font-weight: 500;
    }
    
    /* Main Content */
    .main-content {
        padding: 3rem 0;
        background: #f8f9fa;
    }
    
    /* Timeline Section */
    .timeline-section {
        margin-bottom: 3rem;
    }
    
    .section-header {
        margin-bottom: 2rem;
        text-align: center;
    }
    
    .section-title {
        font-size: 2rem;
        font-weight: 600;
        color: #2c3e50;
        margin-bottom: 1rem;
    }
    
    .section-title i {
        margin-right: 0.5rem;
    }
    
    .section-divider {
        width: 80px;
        height: 4px;
        background: linear-gradient(90deg, #007bff, #6610f2);
        margin: 0 auto;
        border-radius: 2px;
    }
    
    /* Content Card */
    .content-card {
        background: white;
        border-radius: 15px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        overflow: hidden;
    
    }
    
    .content-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    }
    
    .content-card .card-body {
        padding: 2.5rem;
    }
    
    .content-text {
        font-size: 1.1rem;
        line-height: 1.8;
        color: #495057;
    }
    
    .content-paragraph {
        margin-bottom: 1.5rem;
        text-align: justify;
    }
    
    /* Milestone Timeline */
    .milestone-timeline {
        margin-top: 3rem;
    }
    
    .timeline {
        position: relative;
        padding: 2rem 0;
    }
    
    .timeline::before {
        content: '';
        position: absolute;
        left: 50%;
        top: 0;
        bottom: 0;
        width: 3px;
        background: linear-gradient(180deg, #007bff, #6610f2);
        transform: translateX(-50%);
    }
    
    .timeline-item {
        position: relative;
        margin-bottom: 3rem;
        display: flex;
        align-items: center;
    }
    
    .timeline-item:nth-child(odd) {
        flex-direction: row;
    }
    
    .timeline-item:nth-child(even) {
        flex-direction: row-reverse;
    }
    
    .timeline-marker {
        width: 20px;
        height: 20px;
        background: #007bff;
        border-radius: 50%;
        border: 4px solid white;
        box-shadow: 0 0 0 3px #007bff;
        z-index: 2;
        margin: 0 2rem;
    }
    
    .timeline-content {
        background: white;
        padding: 1.5rem;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        flex: 1;
        max-width: 400px;
    }
    
    .timeline-content h4 {
        color: #007bff;
        font-weight: 600;
        margin-bottom: 0.5rem;
    }
    
    .timeline-content p {
        margin-bottom: 0;
        color: #6c757d;
    }
    
    /* Sidebar */
    .sidebar {
        padding-left: 2rem;
    }
    
    .info-card, .nav-card {
        background: white;
        border-radius: 15px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
        margin-bottom: 2rem;
        overflow: hidden;
        transition: transform 0.3s ease;
    }
    
    .info-card:hover, .nav-card:hover {
        transform: translateY(-3px);
    }
    
    .card-header {
        background: linear-gradient(135deg, #007bff, #6610f2);
        color: white;
        padding: 1rem 1.5rem;
        border-bottom: none;
    }
    
    .card-header h4 {
        margin: 0;
        font-size: 1.1rem;
        font-weight: 600;
    }
    
    .card-body {
        padding: 1.5rem;
    }
    
    .info-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.75rem 0;
        border-bottom: 1px solid #f1f3f4;
    }
    
    .info-item:last-child {
        border-bottom: none;
    }
    
    .info-item strong {
        color: #495057;
        font-weight: 600;
    }
    
    .badge {
        padding: 0.4rem 0.8rem;
        border-radius: 20px;
        font-size: 0.8rem;
        font-weight: 500;
    }
    
    .badge-success {
        background: #28a745;
        color: white;
    }
    
    .nav-link-item {
        display: flex;
        align-items: center;
        padding: 0.75rem 0;
        color: #495057;
        text-decoration: none;
        border-bottom: 1px solid #f1f3f4;
        transition: color 0.3s ease;
    }
    
    .nav-link-item:last-child {
        border-bottom: none;
    }
    
    .nav-link-item:hover {
        color: #007bff;
        text-decoration: none;
    }
    
    .nav-link-item i {
        margin-right: 0.75rem;
        width: 20px;
        text-align: center;
    }
    
    /* Empty State */
    .empty-state {
        text-align: center;
        padding: 4rem 2rem;
        background: white;
        border-radius: 15px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    }
    
    .empty-icon {
        font-size: 4rem;
        color: #6c757d;
        margin-bottom: 1.5rem;
    }
    
    .empty-state h3 {
        color: #495057;
        margin-bottom: 1rem;
    }
    
    .empty-state p {
        color: #6c757d;
        font-size: 1.1rem;
    }
    
    /* Responsive Design */
    @media (max-width: 768px) {
        .hero-title {
            font-size: 2.5rem;
        }
        
        .hero-subtitle {
            font-size: 1rem;
        }
        
        .hero-stats {
            margin-top: 2rem;
            padding: 1.5rem;
        }
        
        .timeline::before {
            left: 20px;
        }
        
        .timeline-item {
            flex-direction: row !important;
            padding-left: 50px;
        }
        
        .timeline-marker {
            position: absolute;
            left: 11px;
            margin: 0;
        }
        
        .timeline-content {
            max-width: none;
        }
        
        .sidebar {
            padding-left: 0;
            margin-top: 2rem;
        }
        
        .main-content {
            padding: 2rem 0;
        }
    }
    
    @media (max-width: 576px) {
        .hero-section {
            min-height: 300px;
        }
        
        .hero-title {
            font-size: 2rem;
        }
        
        .section-title {
            font-size: 1.5rem;
        }
        
        .content-card .card-body {
            padding: 1.5rem;
        }
        
        .timeline-content {
            padding: 1rem;
        }
    }
    
    /* Loading Animation */
.loading {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sejarah Section Styles */
.sejarah-section .section-header {
    margin-bottom: 3rem;
}

.sejarah-section .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 2rem 0 1.5rem 0;
    padding: 1rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    text-align: center;
}

/* Responsive typography for section titles */
@media (max-width: 768px) {
    .sejarah-section .section-title {
        font-size: 2rem;
        margin: 1.5rem 0 1rem 0;
        padding: 0.8rem 0;
        gap: 0.8rem;
    }
}

@media (max-width: 576px) {
    .sejarah-section .section-title {
        font-size: 1.8rem;
        margin: 1rem 0 0.8rem 0;
        padding: 0.6rem 0;
        gap: 0.6rem;
        flex-direction: column;
    }
}

.sejarah-section .section-title i {
    font-size: 2rem;
}

.sejarah-section .section-divider {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    margin: 0 auto;
    border-radius: 2px;
}

.sejarah-content {
    max-width: 900px;
    margin: 0 auto;
}

.paragraph-item {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.paragraph-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.paragraph-header {
    display: flex;
    align-items: center;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    margin-bottom: 0;
}

.paragraph-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.5rem;
}

.paragraph-header h4 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.paragraph-content {
    padding: 2rem;
    text-align: justify;
}

.paragraph-content p {
    margin: 0;
    line-height: 1.8;
    color: #495057;
    font-size: 1.1rem;
    text-align: justify;
    text-justify: inter-word;
}

/* Text Justify Utility */
.text-justify {
    text-align: justify;
    text-justify: inter-word;
}

.sejarah-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(102, 126, 234, 0.1);
    border-left: 4px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Visi Misi Page Specific Styles */

/* Visi Section */
.visi-section {
    margin-bottom: 4rem;
}

.visi-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.3);
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.visi-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(102, 126, 234, 0.4);
}

.visi-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    pointer-events: none;
}

.visi-card .card-body {
    padding: 3rem 2rem;
    position: relative;
    z-index: 2;
}

.visi-icon {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.visi-quote {
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.6;
    color: white;
    margin: 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    font-style: italic;
}

/* Misi Section */
.misi-section {
    margin-bottom: 4rem;
}

.misi-list {
    display: grid;
    gap: 1.5rem;
}

.misi-item {
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    padding: 0;
    position: relative;
}

.misi-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.misi-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(180deg, #28a745, #20c997);
    transition: width 0.3s ease;
}

.misi-item:hover::before {
    width: 8px;
}

.misi-number {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
    position: relative;
}

.misi-number::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid #28a745;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
}

.misi-content {
    padding: 1.5rem 2rem;
    flex: 1;
}

.misi-content h5 {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #2c3e50;
    font-weight: 500;
}

/* Info Section */
.info-section .info-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
    transition: transform 0.3s ease;
}

.info-section .info-card:hover {
    transform: translateY(-3px);
}

.info-section .info-icon {
    font-size: 3rem;
    color: #667eea;
}

.info-section h5 {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 1rem;
}

.info-section p {
    color: #6c757d;
    font-size: 1rem;
}

/* Navigation Section */
.navigation-section {
    padding-top: 2rem;
    border-top: 2px solid #f1f3f4;
}

.navigation-section .nav-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    border: 1px solid #e9ecef;
}

.navigation-section .nav-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

.nav-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.nav-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.nav-content {
    flex: 1;
}

.nav-content h5 {
    margin: 0 0 0.5rem 0;
    font-weight: 600;
    color: #2c3e50;
}

.nav-content p {
    margin: 0;
    color: #6c757d;
    font-size: 0.9rem;
}

.nav-arrow {
    color: #667eea;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.nav-card:hover .nav-arrow {
    transform: translateX(5px);
}

/* Responsive Design for Visi Misi */
@media (max-width: 768px) {
    .visi-card .card-body {
        padding: 2rem 1.5rem;
    }
    
    .visi-quote {
        font-size: 1.2rem;
    }
    
    .visi-icon {
        font-size: 3rem;
    }
    
    .misi-item {
        flex-direction: column;
        text-align: center;
    }
    
    .misi-number {
        width: 100%;
        height: 60px;
        border-radius: 0;
    }
    
    .misi-number::after {
        display: none;
    }
    
    .misi-content {
        padding: 1.5rem;
    }
    
    .nav-card {
        padding: 1rem;
    }
    
    .nav-icon {
        width: 50px;
        height: 50px;
    }
    
    .nav-icon i {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .visi-quote {
        font-size: 1.1rem;
    }
    
    .misi-content h5 {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
}

/* Animation Enhancements */
.misi-item {
    opacity: 0;
    animation: slideInUp 0.6s ease forwards;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading State */
.loading {
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Compact Sejarah Page Styles */

/* Hero Section Compact */
.hero-section-compact {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 3rem 0 2rem;
    color: white;
}

.hero-title-compact {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle-compact {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 0;
}

/* Breadcrumb Compact */
.breadcrumb-compact {
    background: #f8f9fa;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e9ecef;
}

.breadcrumb-compact .breadcrumb {
    background: transparent;
    margin-bottom: 0;
    padding: 0;
    font-size: 0.9rem;
}

.breadcrumb-compact .breadcrumb-item a {
    color: #6c757d;
    text-decoration: none;
}

.breadcrumb-compact .breadcrumb-item a:hover {
    color: #007bff;
}

.breadcrumb-compact .breadcrumb-item.active {
    color: #495057;
}

/* Main Content Compact */
.main-content-compact {
    padding: 2rem 0;
    background: #f8f9fa;
}

/* Content Section */
.content-section {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 2rem;
}

.content-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 1.5rem 2rem;
    color: white;
}

.section-title-compact {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.content-body {
    padding: 0;
}

/* Paragraph Cards */
.paragraph-card {
    border-bottom: 1px solid #f1f3f4;
    transition: background-color 0.3s ease;
}

.paragraph-card:last-child {
    border-bottom: none;
}

.paragraph-card:hover {
    background-color: #f8f9fa;
}

.paragraph-content {
    padding: 1.5rem 2rem;
}

.paragraph-content p {
    margin: 0;
    line-height: 1.7;
    color: #495057;
    font-size: 1rem;
    text-align: justify;
}

/* Info Card Compact */
.info-card-compact {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
    border-left: 4px solid #667eea;
}

.info-content h6 {
    margin: 0 0 0.25rem 0;
    font-weight: 600;
    color: #495057;
    font-size: 0.9rem;
}

.info-content p {
    margin: 0;
    color: #6c757d;
    font-size: 0.85rem;
}

/* Navigation Compact */
.navigation-compact {
    margin-top: 1rem;
}

.nav-link-compact {
    text-decoration: none;
    color: inherit;
    display: block;
}

.nav-card-compact {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    padding: 1.25rem;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    height: 100%;
}

.nav-card-compact:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    border-color: #667eea;
}

.nav-card-compact h6 {
    margin: 0 0 0.5rem 0;
    font-weight: 600;
    color: #2c3e50;
    font-size: 1rem;
}

.nav-card-compact p {
    margin: 0;
    color: #6c757d;
    font-size: 0.85rem;
    line-height: 1.4;
}

/* Empty State Compact */
.empty-state-compact {
    text-align: center;
    padding: 3rem 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.empty-state-compact h3 {
    color: #495057;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.empty-state-compact p {
    color: #6c757d;
    font-size: 1rem;
    margin: 0;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.empty-icon {
    font-size: 4rem;
    color: #6c757d;
    margin-bottom: 2rem;
    opacity: 0.5;
}

.empty-state h3 {
    color: #495057;
    margin-bottom: 1rem;
}

.empty-state p {
    color: #6c757d;
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto;
}

/* Misi List Styling */
.misi-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.misi-list li {
    background: #f8f9fa;
    border-left: 4px solid #007bff;
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 0 8px 8px 0;
    position: relative;
    transition: all 0.3s ease;
}

.misi-list li:hover {
    background: #e3f2fd;
    transform: translateX(5px);
}

.misi-list li::before {
    content: counter(item);
    counter-increment: item;
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    background: #007bff;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
}

.paragraph-content {
    counter-reset: item;
}

/* Sejarah Page Specific Styles */

/* Floating Elements Animation */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.floating-icon {
    position: absolute;
    color: rgba(255, 255, 255, 0.1);
    font-size: 3rem;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.floating-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-2 {
    top: 60%;
    right: 15%;
    animation-delay: 1s;
}

.floating-3 {
    bottom: 30%;
    left: 20%;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
        opacity: 0.6;
    }
}

/* Timeline Styles */
.timeline-header {
    margin-bottom: 3rem;
}

.section-description {
    font-size: 1.1rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.timeline-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #667eea, #764ba2);
    transform: translateX(-50%);
    border-radius: 2px;
    opacity: 0;
}

@keyframes growLine {
    from {
        height: 0;
        opacity: 0;
    }
    to {
        height: 100%;
        opacity: 1;
    }
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
}

.timeline-left {
    flex-direction: row;
}

.timeline-right {
    flex-direction: row-reverse;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.timeline-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    border: 4px solid white;
    transition: all 0.3s ease;
}

.timeline-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
}

.timeline-content {
    flex: 1;
    max-width: 45%;
    margin: 0 2rem;
}

.timeline-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.timeline-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.timeline-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.timeline-number {
    position: absolute;
    top: -10px;
    right: 15px;
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.timeline-text {
    padding: 2rem;
    padding-top: 2.5rem;
}

.timeline-text p {
    margin: 0;
    line-height: 1.7;
    color: #495057;
    font-size: 1rem;
}

/* Timeline Arrow */
.timeline-left .timeline-card::after {
    content: '';
    position: absolute;
    top: 30px;
    right: -10px;
    width: 0;
    height: 0;
    border-left: 10px solid white;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
}

.timeline-right .timeline-card::after {
    content: '';
    position: absolute;
    top: 30px;
    left: -10px;
    width: 0;
    height: 0;
    border-right: 10px solid white;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
}



/* Responsive Design */
@media (max-width: 768px) {
    .timeline-line {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: row !important;
    }
    
    .timeline-marker {
        left: 30px;
        transform: translateX(-50%);
    }
    
    .timeline-content {
        max-width: calc(100% - 100px);
        margin-left: 80px;
        margin-right: 0;
    }
    
    .timeline-card::after {
        display: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .floating-icon {
        display: none;
    }
    
    .nav-card {
        flex-direction: column;
        text-align: center;
    }
    
    .nav-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .hero-title-compact {
        font-size: 2rem;
    }
    
    .hero-subtitle-compact {
        font-size: 0.9rem;
    }
    
    .content-header {
        padding: 1.25rem 1.5rem;
    }
    
    .section-title-compact {
        font-size: 1.25rem;
    }
    
    .paragraph-content {
        padding: 1.25rem 1.5rem;
    }
    
    .nav-card-compact {
        padding: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-section-compact {
        padding: 2rem 0 1.5rem;
    }
    
    .main-content-compact {
        padding: 1.5rem 0;
    }
    
    .paragraph-content {
        padding: 1rem 1.25rem;
    }
    
    .content-header {
        padding: 1rem 1.25rem;
    }
}

/* Modern Visi Misi Styles */
.hero-section-modern {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.hero-overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 50px;
    color: white;
    font-size: 0.9rem;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.hero-badge i {
    margin-right: 8px;
}

.hero-title-modern {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle-modern {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.decoration-line {
    width: 50px;
    height: 2px;
    background: rgba(255, 255, 255, 0.5);
}

.decoration-dot {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}

.breadcrumb-modern {
    background: #f8f9fa;
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
}

.breadcrumb-modern .breadcrumb {
    margin: 0;
    background: none;
    padding: 0;
}

.breadcrumb-modern .breadcrumb-item a {
    color: #6c757d;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-modern .breadcrumb-item a:hover {
    color: #495057;
}

.main-content-modern {
    padding: 80px 0;
    background: #f8f9fa;
}

.section-header-modern {
    margin-bottom: 60px;
}

.section-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.section-icon i {
    font-size: 2rem;
    color: white;
}

.section-title-modern {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 10px;
}

.section-subtitle {
    color: #718096;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.section-divider-modern {
    width: 100px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    margin: 0 auto;
    border-radius: 2px;
}

.visi-card-modern {
    background: white;
    border-radius: 20px;
    padding: 60px 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    max-width: 800px;
}

.visi-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.05;
}

.visi-pattern {
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, #667eea 2px, transparent 2px);
    background-size: 30px 30px;
}

.visi-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.visi-icon-large {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #ffeaa7 0%, #fab1a0 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    box-shadow: 0 15px 35px rgba(255, 171, 160, 0.4);
}

.visi-icon-large i {
    font-size: 2.5rem;
    color: white;
}

.visi-quote-modern {
    font-size: 1.4rem;
    line-height: 1.8;
    color: #2d3748;
    font-style: italic;
    position: relative;
    margin: 0;
}

.quote-mark-start,
.quote-mark-end {
    font-size: 3rem;
    color: #667eea;
    font-weight: bold;
    line-height: 1;
}

.quote-mark-start {
    margin-right: 10px;
}

.quote-mark-end {
    margin-left: 10px;
}

.misi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.misi-card-modern {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border-left: 5px solid #667eea;
}

.misi-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.misi-number-modern {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.misi-content-modern {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.misi-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #a8e6cf 0%, #88d8a3 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 5px;
}

.misi-icon i {
    color: white;
    font-size: 1rem;
}

.misi-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #2d3748;
    margin: 0;
    font-weight: 500;
}

.misi-decoration {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.stats-section-modern {
    margin-top: 80px;
}

.stat-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.stat-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #ffeaa7 0%, #fab1a0 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 10px 25px rgba(255, 171, 160, 0.3);
}

.stat-icon i {
    font-size: 1.8rem;
    color: white;
}

.stat-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 10px;
}

.stat-content p {
    color: #718096;
    margin: 0;
    font-size: 1rem;
}

.navigation-section-modern {
    margin-top: 80px;
}

.nav-card-modern {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 15px;
    padding: 25px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.nav-card-modern:hover {
    transform: translateX(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    color: inherit;
}

.nav-card-modern .nav-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #a8e6cf 0%, #88d8a3 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.nav-card-modern .nav-icon i {
    font-size: 1.5rem;
    color: white;
}

.nav-card-modern .nav-content {
    flex: 1;
}

.nav-card-modern .nav-content h5 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 5px;
}

.nav-card-modern .nav-content p {
    color: #718096;
    margin: 0;
    font-size: 0.95rem;
}

.nav-card-modern .nav-arrow {
    color: #667eea;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.nav-card-modern:hover .nav-arrow {
    transform: translateX(5px);
}

.empty-state-modern {
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.empty-illustration {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #ddd6fe 0%, #c4b5fd 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

.empty-illustration i {
    font-size: 3rem;
    color: white;
}

.empty-state-modern h3 {
    color: #2d3748;
    margin-bottom: 15px;
}

.empty-state-modern p {
    color: #718096;
    margin-bottom: 30px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Design for Modern Visi Misi */
@media (max-width: 768px) {
    .hero-title-modern {
        font-size: 2.5rem;
    }
    
    .hero-subtitle-modern {
        font-size: 1rem;
    }
    
    .section-title-modern {
        font-size: 2rem;
    }
    
    .visi-card-modern {
        padding: 40px 20px;
    }
    
    .visi-quote-modern {
        font-size: 1.2rem;
    }
    
    .misi-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-card-modern {
        flex-direction: column;
        text-align: center;
    }
    
    .nav-card-modern .nav-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

/* Tupoksi Page Specific Styles */

/* Landasan Hukum Section */
.landasan-card-modern {
    background: white;
    border-radius: 25px;
    padding: 50px 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    margin-bottom: 60px;
    transition: all 0.4s ease;
    border: 2px solid rgba(102, 126, 234, 0.1);
}

.landasan-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
    border-color: rgba(102, 126, 234, 0.3);
}

.landasan-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.03) 0%, rgba(118, 75, 162, 0.03) 100%);
    z-index: 1;
}

.landasan-pattern {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><polygon points="50,10 90,90 10,90" fill="%23667eea" opacity="0.05"/></svg>') repeat;
    animation: patternMove 25s linear infinite;
}

.landasan-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 30px;
}

.landasan-icon-large {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.3);
    animation: iconFloat 3s ease-in-out infinite;
}

.landasan-icon-large i {
    font-size: 2.5rem;
    color: white;
}

.regulation-info h4 {
    color: #2d3748;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.regulation-number {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-block;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.regulation-about {
    color: #718096;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

/* Tugas Pokok Section */
.tugas-pokok-card-modern {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 25px;
    padding: 50px 40px;
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
    margin-bottom: 60px;
    transition: all 0.4s ease;
}

.tugas-pokok-card-modern:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 80px rgba(102, 126, 234, 0.4);
}

.tugas-pokok-card-modern::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"><circle cx="50" cy="50" r="3" fill="%23ffffff" opacity="0.1"/></svg>') repeat;
    animation: patternMove 20s linear infinite;
}

.tugas-pokok-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 25px;
}

.tugas-pokok-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    animation: iconBounce 2s ease-in-out infinite;
}

.tugas-pokok-icon i {
    font-size: 2rem;
    color: white;
}

.tugas-pokok-text {
    flex: 1;
}

.tugas-pokok-text p {
    color: white;
    font-size: 1.3rem;
    line-height: 1.7;
    margin: 0;
    font-weight: 400;
}

.tugas-pokok-text strong {
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Perbaikan Fungsi Grid - Layout lebih compact */
.fungsi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.fungsi-card-modern {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(102, 126, 234, 0.1);
    min-height: 140px;
    display: flex;
    flex-direction: column;
}

.fungsi-card-modern:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    border-color: rgba(102, 126, 234, 0.3);
}

.fungsi-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.fungsi-card-modern:hover::before {
    transform: scaleX(1);
}

.fungsi-number-modern {
    position: absolute;
    top: -10px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1rem;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
    animation: numberFloat 3s ease-in-out infinite;
}

.fungsi-content-modern {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 5px;
    flex: 1;
}

.fungsi-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.fungsi-icon i {
    color: #667eea;
    font-size: 1.2rem;
}

.fungsi-text {
    color: #2d3748;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
    font-weight: 500;
    flex: 1;
}

.fungsi-decoration {
    position: absolute;
    bottom: 10px;
    right: 20px;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #667eea);
    border-radius: 1px;
    animation: decorationSlide 3s ease-in-out infinite;
}

/* Perbaikan Kepala Dinas Grid - Layout lebih compact */
.kepala-dinas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.kepala-dinas-card-modern {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 3px solid transparent;
    min-height: 100px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.kepala-dinas-card-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    border-left-color: #667eea;
}

.kepala-dinas-number {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 0.85rem;
    flex-shrink: 0;
    margin-top: 2px;
    box-shadow: 0 3px 10px rgba(102, 126, 234, 0.3);
    animation: numberPulse 2s ease-in-out infinite;
}

.kepala-dinas-content {
    flex: 1;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.kepala-dinas-icon {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

.kepala-dinas-icon i {
    color: #667eea;
    font-size: 1rem;
}

.kepala-dinas-text {
    color: #2d3748;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
    font-weight: 400;
    flex: 1;
}

.kepala-dinas-decoration {
    position: absolute;
    bottom: 8px;
    left: 25px;
    width: 25px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.3));
    border-radius: 1px;
    animation: decorationSlide 4s ease-in-out infinite;
}

/* Animasi yang lebih smooth */
@keyframes numberFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-3px) rotate(2deg);
    }
}



@keyframes cardSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Perbaikan Section Spacing */
.tugas-pokok-section,
.fungsi-section,
.kepala-dinas-section {
    margin-bottom: 40px;
}

.section-header-modern {
    margin-bottom: 30px;
}

/* Responsive Design yang lebih baik */
@media (max-width: 992px) {
    .landasan-content {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }
    
    .tugas-pokok-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .fungsi-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 20px;
    }
    
    .kepala-dinas-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .landasan-card-modern {
        padding: 30px 25px;
    }
    
    .tugas-pokok-card-modern {
        padding: 30px 25px;
    }
    
    .tugas-pokok-text p {
        font-size: 1.1rem;
    }
    
    .fungsi-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .kepala-dinas-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .fungsi-card-modern,
    .kepala-dinas-card-modern {
        padding: 15px;
        min-height: auto;
    }
    
    .fungsi-text,
    .kepala-dinas-text {
        font-size: 0.9rem;
    }
    
    .kepala-dinas-card-modern {
        flex-direction: column;
        gap: 10px;
    }
    
    .kepala-dinas-number {
        align-self: flex-start;
        margin-top: 0;
    }
}

@media (max-width: 576px) {
    .regulation-info h4 {
        font-size: 1.2rem;
    }
    
    .regulation-number {
        font-size: 1rem;
        padding: 6px 15px;
    }
    
    .tugas-pokok-text p {
        font-size: 1rem;
    }
    
    .landasan-icon-large {
        width: 80px;
        height: 80px;
    }
    
    .landasan-icon-large i {
        font-size: 2rem;
    }
    
    .tugas-pokok-icon {
        width: 60px;
        height: 60px;
    }
    
    .tugas-pokok-icon i {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .fungsi-grid,
    .kepala-dinas-grid {
        gap: 10px;
    }
    
    .fungsi-card-modern,
    .kepala-dinas-card-modern {
        padding: 12px;
    }
    
    .fungsi-number-modern {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .kepala-dinas-number {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
}

/* Title Box Styling */
.title-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px 40px;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.title-box::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"><circle cx="50" cy="50" r="2" fill="%23ffffff" opacity="0.1"/></svg>') repeat;
    z-index: 1;
}

.title-box .section-icon {
    position: relative;
    z-index: 2;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.title-box .section-icon i {
    font-size: 1.8rem;
    color: white;
}

.title-box .section-title-modern {
    position: relative;
    z-index: 2;
    color: white;
    margin-bottom: 10px;
    font-size: 2.2rem;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.title-box .section-subtitle {
    position: relative;
    z-index: 2;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin: 0;
    font-weight: 400;
}

/* Remove all animations */
.landasan-icon-large,
.tugas-pokok-icon,
.fungsi-number-modern,
.kepala-dinas-number,
.fungsi-decoration {
    animation: none !important;
}

/* Remove AOS animations */
[data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

/* Remove hover animations */
.landasan-card-modern:hover,
.tugas-pokok-card-modern:hover,
.fungsi-card-modern:hover,
.kepala-dinas-card-modern:hover {
    transform: none !important;
    animation: none !important;
}

/* Remove pattern animations */
.landasan-pattern,
.tugas-pokok-card-modern::before {
    animation: none !important;
}

/* Static styling for better readability */
.fungsi-card-modern,
.kepala-dinas-card-modern {
    transition: box-shadow 0.2s ease;
}

.fungsi-card-modern:hover,
.kepala-dinas-card-modern:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

/* Navigation Card Styling */
.nav-card .card {
    border: 1px solid #e9ecef;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav-card .card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #667eea;
}

.nav-card .card-body {
    padding: 1.5rem;
}

.nav-card h6 {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.nav-card small {
    font-size: 0.875rem;
}

.nav-card .fas.fa-arrow-right {
    transition: transform 0.3s ease;
}

.nav-card:hover .fas.fa-arrow-right {
    transform: translateX(5px);
}

/* Struktur Organisasi Chart Styling - Sesuai kolom judul */
.struktur-chart-container {
    max-width: 100%;
    margin: 15px auto;
    padding: 15px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    overflow: hidden;
}

.chart-wrapper {
    position: relative;
    display: inline-block;
    margin: 0;
    padding: 0;
    line-height: 0;
    width: 100%;
}

.struktur-chart-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    margin: 0 auto;
    padding: 0;
    object-fit: contain;
}

.struktur-chart-image:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border-color: #007bff;
}

.chart-title {
    text-align: center;
    color: white;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.chart-description {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin: 20px 0;
    line-height: 1.6;
}

.chart-note {
    text-align: center;
    color: #888;
    font-size: 0.9rem;
    margin-top: 15px;
    font-style: italic;
}

.chart-note i {
    color: #667eea;
    margin-right: 5px;
}

/* Struktur List Styling */
.struktur-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.struktur-list li {
    background: #f8f9fa;
    border-left: 4px solid #007bff;
    padding: 12px 20px;
    margin-bottom: 10px;
    border-radius: 0 8px 8px 0;
    transition: all 0.3s ease;
}

.struktur-list li:hover {
    background: #e3f2fd;
    transform: translateX(5px);
}

.struktur-list li strong {
    color: #007bff;
    font-weight: 600;
}



/* Loading state */
.struktur-chart-image[src=""] {
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.struktur-chart-image[src=""]::before {
    content: "Loading...";
    color: #6c757d;
    font-size: 1.1rem;
}

/* Responsive breakpoints */
@media (max-width: 1200px) {
    .struktur-chart-container {
        margin: 10px;
        padding: 12px;
    }
    
    .struktur-chart-image {
        max-width: 700px;
    }
}

@media (max-width: 992px) {
    .struktur-chart-container {
        margin: 8px;
        padding: 10px;
    }
    
    .struktur-chart-image {
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    .struktur-chart-container {
        margin: 5px;
        padding: 8px;
    }
    
    .struktur-chart-image {
        max-width: 100%;
        border-width: 1px;
    }
    
    .click-hint {
        font-size: 11px;
    }
    
    .chart-title {
        font-size: 1.5rem;
    }
    
    .info-cards {
        grid-template-columns: 1fr;
        gap: 4px;
        margin-top: 6px;
    }
    
    .nav-cards {
        gap: 3px;
        margin-top: 6px;
    }
    
    .nav-card {
        padding: 5px 10px;
        font-size: 11px;
    }
    
    .close-modal {
        top: 10px;
        right: 15px;
        font-size: 30px;
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 576px) {
    .struktur-chart-container {
        margin: 3px;
        padding: 6px;
    }
    
    .struktur-chart-image {
        border-width: 1px;
    }
    
    .click-hint {
        font-size: 10px;
        margin-top: 5px;
    }
    
    .chart-title {
        font-size: 1.3rem;
    }
    
    .chart-description {
        font-size: 1rem;
    }
    
    .info-card {
        padding: 6px;
    }
    
    .info-card h4 {
        font-size: 11px;
    }
    
    .info-card p {
        font-size: 9px;
    }
    
    .nav-card {
        padding: 3px 6px;
        font-size: 9px;
    }
}

/* Responsive title box */
@media (max-width: 768px) {
    .title-box {
        padding: 25px 20px;
    }
    
    .title-box .section-title-modern {
        font-size: 1.8rem;
    }
    
    .title-box .section-subtitle {
        font-size: 1rem;
    }
    
    .title-box .section-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 15px;
    }
    
    .title-box .section-icon i {
        font-size: 1.5rem;
    }
    
    .struktur-list li {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
}



@media (max-width: 480px) {
    .title-box {
        padding: 20px 15px;
    }
    
    .title-box .section-title-modern {
        font-size: 1.5rem;
    }
    
    .title-box .section-subtitle {
        font-size: 0.9rem;
    }
}





/* Click hint styling */
.click-hint {
    font-size: 12px;
    color: #6c757d;
    margin-top: 8px;
    font-style: italic;
    display: block;
}

/* Modal untuk zoom gambar */
.image-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 95%;
    max-height: 95%;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.modal-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.close-modal:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Info cards styling - minimal */
.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-top: 24px;
    padding: 0;
}

.info-card {
    background: var(--white-color);
    padding: 20px 16px;
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(0, 51, 102, 0.08);
    transition: var(--transition);
    margin: 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 51, 102, 0.08);
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-accent), var(--primary-dark));
    transform: scaleX(0);
    transition: var(--transition);
    transform-origin: left;
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 51, 102, 0.15);
    border-color: var(--primary-color);
}

.info-card:hover::before {
    transform: scaleX(1);
}

.info-card h4 {
    color: var(--primary-dark);
    margin: 0 0 8px 0;
    font-size: 0.95rem;
    font-weight: var(--font-weight-semibold);
    letter-spacing: -0.01em;
}

.info-card h4 i {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 8px;
    display: block;
    text-shadow: 0 2px 4px rgba(0, 51, 102, 0.1);
}

.info-card p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.4;
    letter-spacing: 0.01em;
}

/* Navigation cards - minimal */
.navigation-section-modern {
    margin: 50px 0;
    padding: 40px 0;
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f2ff 100%);
    border-radius: 20px;
}

.nav-cards {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.nav-card {
    background: #007bff;
    color: white;
    padding: 4px 8px;
    border-radius: 3px;
    text-decoration: none;
    font-size: 10px;
    font-weight: 500;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.nav-card:hover {
    background: #0056b3;
    transform: translateY(-1px);
    box-shadow: 0 1px 4px rgba(0, 123, 255, 0.3);
    color: white;
    text-decoration: none;
}

.nav-card i {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 15px;
    display: block;
}

.nav-card h5 {
        color: #333;
        font-weight: 600;
        margin: 0;
        font-size: 1.1rem;
    }

/* Animation keyframes */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Paragraph content styling untuk konsistensi */
.paragraph-content {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #007bff;
    margin-bottom: 20px;
}

.paragraph-content .struktur-chart-container {
    background: transparent;
    box-shadow: none;
    padding: 0;
    margin: 0;
}

/* Pegawai Cards Styling - 5 Columns Layout */
.pegawai-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    margin: 30px 0;
}

.pegawai-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.pegawai-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.pegawai-image {
    width: 100%;
    height: 80px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}

.pegawai-image img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 1px 5px rgba(0,0,0,0.1);
}

.pegawai-info {
    padding: 10px;
    text-align: center;
}

.pegawai-info h4 {
    color: #2c3e50;
    margin: 0 0 5px 0;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
}

.pegawai-info p {
    color: #7f8c8d;
    margin: 2px 0;
    font-size: 10px;
    line-height: 1.2;
}

.pegawai-info .position {
    color: #3498db;
    font-weight: 500;
    font-size: 11px;
    margin-bottom: 5px;
    line-height: 1.2;
}

.pegawai-position {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
    display: inline-block;
}

.pegawai-name {
    color: #2c3e50;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
}

.pegawai-nip {
    color: #7f8c8d;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    font-family: 'Courier New', monospace;
}

.pegawai-grade {
    color: #27ae60;
    font-size: 13px;
    font-weight: 600;
    background: rgba(39, 174, 96, 0.1);
    padding: 5px 12px;
    border-radius: 15px;
    display: inline-block;
}

/* Info Cards */
.info-card {
    background: #fff;
    padding: 30px 20px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.info-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 24px;
}

.info-card h4 {
    color: #2c3e50;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

.info-number {
    font-size: 36px;
    font-weight: 700;
    color: #ff6b35;
    margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .pegawai-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
    }
}

@media (max-width: 992px) {
    .pegawai-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    
    .pegawai-image {
        height: 70px;
    }
    
    .pegawai-image img {
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 768px) {
    .pegawai-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .pegawai-image {
        height: 60px;
    }
    
    .pegawai-image img {
        width: 40px;
        height: 40px;
    }
    
    .pegawai-info {
        padding: 8px;
    }
    
    .pegawai-info h4 {
        font-size: 11px;
    }
    
    .pegawai-info p {
        font-size: 9px;
    }
    
    .pegawai-name {
        font-size: 16px;
    }
    
    .info-number {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .pegawai-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 6px;
    }
    
    .pegawai-image {
        height: 50px;
    }
    
    .pegawai-image img {
        width: 35px;
        height: 35px;
    }
    
    .pegawai-position {
        font-size: 11px;
        padding: 6px 12px;
    }
    
    .pegawai-name {
        font-size: 15px;
    }
}

/* ===== ADMIN MENU STYLES ===== */
.admin-menu .admin-link {
    background: linear-gradient(45deg, #28a745, #20c997);
    border-radius: 5px;
    padding: 8px 15px !important;
    margin-left: 10px;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(40, 167, 69, 0.3);
    transition: all 0.3s ease;
    color: white !important;
}

.admin-menu .admin-link:hover {
    background: linear-gradient(45deg, #218838, #1ea080);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.4);
    color: white !important;
}

.admin-dropdown {
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    padding: 10px 0;
    min-width: 220px;
    margin-top: 5px;
}

.admin-dropdown .dropdown-item {
    padding: 10px 20px;
    transition: all 0.3s ease;
    border-radius: 0;
    color: #495057;
}

.admin-dropdown .dropdown-item:hover {
    background: linear-gradient(45deg, #f8f9fa, #e9ecef);
    padding-left: 25px;
    color: #28a745;
}

.admin-dropdown .dropdown-item i {
    width: 20px;
    margin-right: 10px;
    text-align: center;
    color: #6c757d;
}

.admin-dropdown .dropdown-item:hover i {
    color: #28a745;
}

.admin-dropdown .dropdown-item.text-danger {
    color: #dc3545 !important;
}

.admin-dropdown .dropdown-item.text-danger:hover {
    background: linear-gradient(45deg, #f8d7da, #f5c6cb);
    color: #721c24 !important;
}

.admin-dropdown .dropdown-item.text-danger:hover i {
    color: #721c24 !important;
}

.admin-dropdown .dropdown-divider {
    margin: 8px 0;
    border-color: #dee2e6;
}

/* Responsive Admin Menu */
@media (max-width: 991px) {
    .admin-menu .admin-link {
        margin-left: 0;
        margin-top: 10px;
        display: inline-block;
        width: auto;
    }
    
    .admin-dropdown {
        position: static !important;
        transform: none !important;
        box-shadow: none;
        border: 1px solid #dee2e6;
        margin-top: 10px;
    }
}

/* Admin Menu Animation */
@keyframes adminPulse {
    0% {
        box-shadow: 0 2px 4px rgba(40, 167, 69, 0.3);
    }
    50% {
        box-shadow: 0 4px 8px rgba(40, 167, 69, 0.5);
    }
    100% {
        box-shadow: 0 2px 4px rgba(40, 167, 69, 0.3);
    }
}

.admin-menu .admin-link:focus {
    animation: adminPulse 1s ease-in-out;
}

/* Dropdown Menu Styles - Modern Design */
.dropdown-menu {
    padding: 12px 0;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    border: none;
    background: white;
    backdrop-filter: blur(10px);
    margin-top: 8px;
    min-width: 220px;
    animation: dropdownFadeIn 0.3s ease-out;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item {
    padding: 14px 20px;
    font-size: 14px;
    color: #495057;
    transition: all 0.3s ease;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.dropdown-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s ease;
    z-index: -1;
}

.dropdown-item:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    color: #667eea;
    transform: translateX(8px);
    border-radius: 8px;
    margin: 0 8px;
}

.dropdown-item:hover::before {
    width: 4px;
}

.dropdown-item i {
    margin-right: 10px;
    width: 16px;
    text-align: center;
    color: #6c757d;
    transition: color 0.3s ease;
}

.dropdown-item:hover i {
    color: #667eea;
}

/* Active State for Menu Items */
.navbar-nav .nav-link.active {
    color: #667eea !important;
    font-weight: 700;
}

.navbar-nav .nav-link.active::before {
    width: 80%;
}

.dropdown-item.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white !important;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.dropdown-item.active::before {
    width: 100%;
    background: rgba(255,255,255,0.2);
}

.dropdown-item.active i {
    color: white !important;
}

.dropdown-item.active:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
    color: white !important;
    transform: translateX(0);
}

.dropdown-item.active:hover i {
    color: white !important;
}

/* Bidang Menu with Modern Arrow */
.bidang-menu {
    position: relative;
}

.arrow-right {
    font-size: 12px;
    color: #6c757d;
    margin-left: auto;
    transition: all 0.3s ease;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.bidang-menu:hover .arrow-right {
    color: #667eea;
    transform: translateY(-50%) translateX(3px);
}

.bidang-menu[aria-expanded="true"] .arrow-right,
.bidang-menu.submenu-active .arrow-right {
    color: #667eea;
    transform: translateY(-50%) rotate(90deg);
}

/* Submenu Active State */
.dropdown-toggle.submenu-active {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    color: #667eea !important;
    border-radius: 8px;
    margin: 0 8px;
}

/* Submenu Arrow Indicator */
.dropdown-submenu > .dropdown-item {
    position: relative;
    padding-right: 50px;
}

.dropdown-submenu > .dropdown-item::after {
    content: "\f054";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
    color: #6c757d;
    font-size: 12px;
}

.dropdown-submenu:hover > .dropdown-item::after {
    color: #667eea;
    transform: translateY(-50%) translateX(3px);
}

/* Enhanced Dropdown Submenu Styles - Smooth Horizontal Sidebar */
.dropdown-submenu {
    position: relative;
}

.vertical-submenu {
    position: absolute;
    top: -8px;
    left: 100%;
    width: 320px;
    margin-top: 0;
    margin-left: 15px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15), 0 8px 16px rgba(15, 23, 42, 0.1);
    display: none;
    padding: 16px 0;
    z-index: 1001;
    backdrop-filter: blur(20px);
    opacity: 0;
    transform: translateX(-20px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}

.vertical-submenu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-accent));
    border-radius: 16px 16px 0 0;
}

.dropdown-submenu:hover .vertical-submenu,
.dropdown-submenu .vertical-submenu.show {
    display: block;
    opacity: 1;
    transform: translateX(0) scale(1);
    animation: smoothSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Flyout Submenu Styling */
.flyout-submenu {
    position: absolute;
    top: 0;
    left: 100%;
    min-width: 180px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), 0 8px 16px rgba(0, 0, 0, 0.1);
    padding: 12px 0;
    margin: 0;
    display: none;
    opacity: 0;
    transform: translateX(-10px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 1050;
}

.dropdown-submenu:hover .flyout-submenu,
.dropdown-submenu .flyout-submenu.show {
    display: block;
    opacity: 1;
    transform: translateX(0) scale(1);
    animation: flyoutSlideIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes flyoutSlideIn {
    0% {
        opacity: 0;
        transform: translateX(-10px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.flyout-submenu .dropdown-item {
    padding: 10px 20px;
    font-size: 13px;
    color: var(--text-primary);
    background-color: transparent;
    white-space: nowrap;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    margin: 1px 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.flyout-submenu .dropdown-item:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-accent));
    color: white;
    transform: translateX(3px);
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.3);
}

.flyout-submenu .dropdown-item.active {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-accent));
    color: white;
    font-weight: 600;
}

@keyframes smoothSlideIn {
    0% {
        opacity: 0;
        transform: translateX(-20px) scale(0.95);
    }
    50% {
        opacity: 0.7;
        transform: translateX(-5px) scale(0.98);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.vertical-submenu .dropdown-item {
    padding: 16px 24px;
    font-size: 14px;
    color: var(--text-primary);
    background-color: transparent;
    white-space: nowrap;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    margin: 2px 12px;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-left: 3px solid transparent;
    text-decoration: none;
}

.vertical-submenu .dropdown-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-accent) 100%);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: -1;
    border-radius: 12px;
}

.vertical-submenu .dropdown-item::after {
    content: '';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s ease;
}

.vertical-submenu .dropdown-item:hover {
    background: linear-gradient(135deg, rgba(44, 90, 160, 0.08) 0%, rgba(59, 130, 246, 0.08) 100%);
    color: var(--primary-color);
    transform: translateX(12px) scale(1.02);
    border-left-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(44, 90, 160, 0.15);
}

.vertical-submenu .dropdown-item:hover::before {
    width: 100%;
    opacity: 0.05;
}

.vertical-submenu .dropdown-item:hover::after {
    opacity: 1;
    transform: translateY(-50%) scale(1.2);
}

.vertical-submenu .dropdown-item:active {
    transform: translateX(8px) scale(0.98);
    transition: all 0.1s ease;
}

.vertical-submenu .dropdown-item i {
    margin-right: 12px;
    width: 18px;
    text-align: center;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    font-size: 14px;
}

.vertical-submenu .dropdown-item:hover i {
    color: var(--primary-color);
    transform: scale(1.1);
}

/* Remove default Bootstrap dropdown toggle arrow */
.dropdown-toggle::after {
    display: none;
}

/* Spacing between menu items */
.dropdown-menu > li:not(:last-child) {
    margin-bottom: 2px;
}

.vertical-submenu > li:not(:last-child) {
    margin-bottom: 1px;
}

/* Enhanced Responsive Design for Dropdown Submenu */
@media (max-width: 991.98px) {
    .vertical-submenu {
        position: static;
        width: 100%;
        margin: 8px 0 0 0;
        box-shadow: inset 0 2px 8px rgba(44, 90, 160, 0.1);
        background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
        border-radius: 12px;
        border-left: 4px solid var(--primary-color);
        transform: none;
        opacity: 1;
        animation: mobileSlideDown 0.3s ease-out;
    }
    
    .vertical-submenu .dropdown-item {
        margin: 1px 8px;
        padding: 12px 20px;
        transform: none;
        border-left: none;
    }
    
    .vertical-submenu .dropdown-item:hover {
        transform: translateX(8px);
        background: linear-gradient(135deg, rgba(44, 90, 160, 0.12) 0%, rgba(59, 130, 246, 0.12) 100%);
    }
    
    @keyframes mobileSlideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

@media (max-width: 576px) {
    .vertical-submenu {
        margin: 6px 0 0 0;
        padding: 8px 0;
    }
    
    .vertical-submenu .dropdown-item {
        padding: 10px 16px;
        font-size: 13px;
        margin: 1px 6px;
    }
    
    .vertical-submenu .dropdown-item i {
        width: 16px;
        font-size: 12px;
        margin-right: 10px;
    }
}

/* Enhanced Arrow Animation for Bidang Menu */
.bidang-menu .arrow-right {
    display: inline-block;
    margin-left: 8px;
    font-size: 10px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    color: var(--text-secondary);
}

.bidang-menu:hover .arrow-right,
.bidang-menu[aria-expanded="true"] .arrow-right {
    color: var(--primary-color);
    transform: rotate(90deg) scale(1.2);
}

/* Smooth Focus States */
.vertical-submenu .dropdown-item:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    background: linear-gradient(135deg, rgba(44, 90, 160, 0.08) 0%, rgba(59, 130, 246, 0.08) 100%);
}

/* Responsive Design */
@media (max-width: 991px) {
    .main-header .top-bar {
        padding: 12px 0;
    }
    
    .logo {
        width: 40px;
        height: 40px;
        margin-right: 15px;
    }
    
    .logo-text h1 {
        font-size: 1.3rem;
    }
    
    .logo-text p {
        font-size: 0.85rem;
    }
    
    .operating-hours {
        font-size: 0.8rem;
        padding: 8px 15px;
    }
    
    .navbar-nav .nav-link {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }
    
    .dropdown-menu {
        width: 100%;
        margin-top: 0;
        border-radius: 8px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.1);
        border: none;
        background: white;
        position: static !important;
        transform: none !important;
    }
    
    .dropdown-item {
        padding: 15px 20px;
        font-size: 16px;
        margin: 0;
        border-radius: 0;
        border-bottom: 1px solid #f8f9fa;
    }
    
    .dropdown-item:last-child {
        border-bottom: none;
    }
    
    .dropdown-item:hover {
        margin: 0;
        transform: none;
        background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    }
    
    .dropdown-item.active {
        margin: 0;
        border-radius: 0;
    }
    
    .vertical-submenu {
        position: static !important;
        width: 100%;
        margin-left: 0;
        background: #f8f9fa;
        border-radius: 8px;
        margin: 4px 0;
        box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
        transform: none !important;
        left: auto !important;
        top: auto !important;
    }
    
    .vertical-submenu .dropdown-item {
        padding: 12px 30px;
        font-size: 15px;
        background: transparent;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    
    .vertical-submenu .dropdown-item:last-child {
        border-bottom: none;
    }
    
    .vertical-submenu .dropdown-item:hover {
        transform: none;
        padding-left: 35px;
        background: rgba(102, 126, 234, 0.1);
    }
    
    .dropdown-submenu > .dropdown-item::after {
        content: "\f078";
        transform: translateY(-50%);
        transition: transform 0.3s ease;
    }
    
    .dropdown-submenu.submenu-active > .dropdown-item::after,
    .dropdown-submenu:hover > .dropdown-item::after {
        transform: translateY(-50%) rotate(180deg);
    }
    
    .arrow-right {
        font-size: 14px;
    }
    
    /* Mobile menu toggle improvements */
    .navbar-toggler {
        border: 2px solid rgba(255,255,255,0.3);
        border-radius: 8px;
        padding: 8px 12px;
    }
    
    .navbar-toggler:focus {
        box-shadow: 0 0 0 0.2rem rgba(255,255,255,0.25);
    }
    
    .navbar-collapse {
        margin-top: 1rem;
        border-top: 1px solid rgba(255,255,255,0.1);
        padding-top: 1rem;
    }
    
    /* Admin menu mobile improvements */
     .admin-menu .admin-dropdown {
         position: static !important;
         transform: none !important;
         width: 100%;
         margin-top: 0;
     }
}

/* Tablet and Medium Devices */
@media (min-width: 768px) and (max-width: 991px) {
    .dropdown-menu {
        min-width: 280px;
    }
    
    .vertical-submenu {
        width: 320px;
        left: 100%;
        top: -8px;
    }
    
    .dropdown-item {
        padding: 16px 24px;
        font-size: 15px;
    }
    
    .vertical-submenu .dropdown-item {
        padding: 14px 24px;
        font-size: 14px;
    }
}

/* Large Screens */
@media (min-width: 1200px) {
    .dropdown-menu {
        min-width: 250px;
    }
    
    .vertical-submenu {
        width: 320px;
    }
    
    .dropdown-item {
        padding: 16px 24px;
    }
    
    .vertical-submenu .dropdown-item {
        padding: 15px 24px;
    }
}

/* Welcome Section Styles - Dark Blue Modern Theme */
.welcome-section {
    background: linear-gradient(135deg, var(--white-color) 0%, #f8faff 100%);
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

.welcome-section::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="dots" width="25" height="25" patternUnits="userSpaceOnUse"><circle cx="12.5" cy="12.5" r="1.5" fill="%23003366" opacity="0.08"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>') repeat;
    pointer-events: none;
}

.welcome-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-accent), var(--primary-color));
    z-index: 1;
}

.welcome-card {
    background: var(--white-color);
    border-radius: var(--border-radius-xl);
    box-shadow: 0 20px 60px rgba(0, 51, 102, 0.12);
    padding: 70px;
    position: relative;
    z-index: 2;
    border: 1px solid rgba(0, 51, 102, 0.08);
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.welcome-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 35px 80px rgba(0, 51, 102, 0.18);
    border-color: var(--primary-color);
}

.welcome-header {
    position: relative;
}

.welcome-icon {
    display: inline-block;
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 32px;
    box-shadow: 0 12px 30px rgba(0, 51, 102, 0.25);
    transition: var(--transition);
    position: relative;
}

.welcome-icon::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-accent));
    border-radius: var(--border-radius-lg);
    z-index: -1;
    opacity: 0.3;
    transition: var(--transition);
}

.welcome-icon:hover {
    transform: scale(1.08) rotate(5deg);
    box-shadow: 0 20px 50px rgba(0, 51, 102, 0.35);
}

.welcome-icon:hover::before {
    opacity: 0.5;
    transform: scale(1.1);
}

.welcome-icon i {
    font-size: 28px;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.welcome-title {
    font-size: 2.8rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-dark);
    margin-bottom: 32px;
    position: relative;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 4px rgba(0, 51, 102, 0.1);
}

.welcome-divider {
    width: 100px;
    height: 5px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-accent), var(--primary-dark));
    margin: 0 auto;
    border-radius: var(--border-radius);
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 51, 102, 0.3);
}

.welcome-divider::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -10px;
    right: -10px;
    height: 11px;
    background: linear-gradient(135deg, transparent, rgba(0, 51, 102, 0.1), transparent);
    border-radius: var(--border-radius);
    z-index: -1;
}

.welcome-divider::after {
    content: '';
    position: absolute;
    top: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 11px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-accent));
    border-radius: var(--border-radius-lg);
    box-shadow: 0 2px 8px rgba(0, 51, 102, 0.4);
}

.profile-section {
    position: relative;
}

.profile-image {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.profile-image img {
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: var(--border-radius-xl);
    border: 8px solid white;
    box-shadow: 0 20px 60px rgba(0, 51, 102, 0.25);
    transition: var(--transition);
    animation: breathingProfile 4s ease-in-out infinite;
}

.profile-image::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-accent), var(--primary-dark));
    border-radius: var(--border-radius-xl);
    z-index: -1;
    opacity: 0.15;
    transition: var(--transition);
}

.profile-image:hover img {
    transform: scale(1.03) rotate(-2deg);
    box-shadow: 0 30px 80px rgba(0, 51, 102, 0.35);
    border-color: var(--primary-light);
    animation-play-state: paused;
}

/* Breathing animation for profile image */
@keyframes breathingProfile {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

.profile-image:hover::before {
    opacity: 0.25;
    transform: scale(1.05);
}

.profile-name {
    font-size: 1.6rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-dark);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
    text-shadow: 0 1px 3px rgba(0, 51, 102, 0.1);
}

.profile-title {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: var(--font-weight-medium);
    line-height: 1.6;
    letter-spacing: 0.01em;
}

.welcome-content {
    padding-left: 40px;
}

.greeting {
    border-left: 5px solid var(--primary-color);
    padding-left: 32px;
    margin-bottom: 40px;
    border-radius: 0 var(--border-radius-lg) var(--border-radius-lg) 0;
    background: linear-gradient(90deg, rgba(0, 51, 102, 0.05), transparent);
    padding-top: 24px;
    padding-bottom: 24px;
    position: relative;
}

.greeting::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-accent));
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.arabic-greeting {
    font-size: 1.2rem;
    font-weight: var(--font-weight-semibold);
    color: var(--primary-color);
    font-style: italic;
    margin-bottom: 12px;
    letter-spacing: 0.02em;
    text-shadow: 0 1px 2px rgba(0, 51, 102, 0.1);
}

.general-greeting {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 0;
    font-weight: var(--font-weight-medium);
    letter-spacing: 0.01em;
}

.welcome-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-primary);
    text-align: justify;
    letter-spacing: 0.01em;
}

.welcome-text p {
    margin-bottom: 28px;
    transition: var(--transition);
    position: relative;
}

.welcome-text p:hover {
    color: var(--primary-dark);
    transform: translateX(4px);
}

.welcome-text p::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-accent));
    border-radius: var(--border-radius);
    opacity: 0;
    transition: var(--transition);
}

.welcome-text p:hover::before {
    opacity: 1;
}

.closing-greeting {
    font-weight: var(--font-weight-semibold);
    color: var(--primary-dark);
    font-style: italic;
    border-top: 3px solid rgba(0, 51, 102, 0.1);
    padding-top: 32px;
    margin-top: 40px;
    position: relative;
    letter-spacing: 0.01em;
}

.closing-greeting::before {
    content: '';
    position: absolute;
    top: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-accent));
    border-radius: var(--border-radius);
}

/* Responsive Design for Welcome Section */
@media (max-width: 768px) {
    .welcome-card {
        padding: 30px 20px;
        border-radius: 15px;
    }
    
    .welcome-title {
        font-size: 2rem;
    }
    
    .welcome-content {
        padding-left: 0;
        margin-top: 30px;
    }
    
    .profile-image img {
        width: 150px;
        height: 150px;
    }
    
    .profile-name {
        font-size: 1.2rem;
    }
    
    .welcome-text {
        font-size: 0.95rem;
        text-align: justify;
    }
    
    .greeting {
        padding-left: 15px;
    }
}

@media (max-width: 576px) {
    .welcome-section {
        padding: 30px 0;
    }
    
    .welcome-card {
        padding: 25px 15px;
        margin: 0 10px;
    }
    
    .welcome-title {
        font-size: 1.8rem;
    }
    
    .profile-image img {
        width: 120px;
        height: 120px;
    }
    
    .welcome-icon {
        width: 50px;
        height: 50px;
    }
    
    .welcome-icon i {
        font-size: 20px;
    }
}

/* Modern Button Styles */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border: none;
    border-radius: var(--border-radius);
    padding: 12px 24px;
    font-weight: 600;
    letter-spacing: 0.025em;
    transition: var(--transition);
    box-shadow: var(--shadow-medium);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #2F5F8F 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-large);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
    border-radius: var(--border-radius);
    padding: 10px 24px;
    font-weight: 600;
    letter-spacing: 0.025em;
    transition: var(--transition);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Form Styles */
.form-control {
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 12px 16px;
    transition: var(--transition);
    background: var(--white-color);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(135, 206, 235, 0.25);
    background: var(--white-color);
}

/* Card Modern Styles */
.card {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    background: var(--white-color);
}

.card:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-4px);
}

.card-header {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--light-color) 100%);
    border-bottom: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
    padding: 20px 24px;
}

.card-body {
    padding: 24px;
}

/* Alert Styles */
.alert {
    border-radius: var(--border-radius);
    border: none;
    padding: 16px 20px;
}

.alert-primary {
    background: var(--primary-light);
    color: var(--primary-dark);
    border-left: 4px solid var(--primary-color);
}

.alert-success {
    background: #F0FDF4;
    color: #166534;
    border-left: 4px solid var(--success-color);
}

.alert-warning {
    background: #FFFBEB;
    color: #92400E;
    border-left: 4px solid var(--warning-color);
}

.alert-danger {
    background: #FEF2F2;
    color: #991B1B;
    border-left: 4px solid var(--danger-color);
    }
}