:root {
    --primary-color: #2C5F7C;
    --primary-dark: #1A3D52;
    --primary-light: #4A7C9D;
    --secondary-color: #7FA99B;
    --accent-color: #B4CEC8;
    --success-color: #6B9B8E;
    --danger-color: #dc3545;
    --warning-color: #E8B86D;
    --info-color: #5BA3C5;
    --dark-color: #1E3A4C;
    --light-color: #F0F4F3;
    --navy: #2C4A5F;
    --navy-light: #3D6B8F;
    --teal: #4A9B8E;
    --teal-light: #6BB5A7;
    --sage: #8FB5AA;
    --mint: #B8D4CE;
    --cream: #F5F8F7;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Sarabun', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #2C4A5F;
    background: linear-gradient(135deg, #E8F3F1 0%, #D4E7E3 50%, #C5DDD8 100%);
    background-attachment: fixed;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(74, 155, 142, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(44, 95, 124, 0.08) 0%, transparent 50%),
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(44, 95, 124, 0.02) 2px, rgba(44, 95, 124, 0.02) 4px);
    pointer-events: none;
    z-index: -1;
}

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

/* Top Bar */
.top-bar {
    font-size: 14px;
    background: linear-gradient(135deg, #2C5F7C 0%, #3D6B8F 100%) !important;
    border-bottom: 1px solid rgba(123, 181, 169, 0.3);
    backdrop-filter: blur(10px);
}

.top-bar i {
    color: var(--teal-light);
}

/* Navbar */
.navbar {
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 2px solid rgba(74, 155, 142, 0.2);
    box-shadow: 0 4px 20px rgba(44, 95, 124, 0.1);
}

.navbar-brand {
    transition: transform 0.3s ease;
}

.navbar-brand:hover {
    transform: translateY(-2px);
}

.brand-text h5 {
    font-size: 1.1rem;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.brand-text small {
    font-size: 0.8rem;
    color: var(--sage);
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
    position: relative;
    color: var(--navy) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--teal) 0%, var(--navy-light) 100%);
    transition: width 0.3s ease;
    box-shadow: 0 2px 8px rgba(74, 155, 142, 0.4);
    border-radius: 2px;
}

.nav-link:hover {
    color: var(--teal) !important;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.nav-link.active {
    color: var(--teal) !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #2C5F7C 0%, #3D6B8F 50%, #4A9B8E 100%);
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(107, 181, 167, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(184, 212, 206, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(74, 155, 142, 0.15) 0%, transparent 50%);
    opacity: 0.8;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(184,212,206,0.15)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.4;
}

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

.hero-section h1 {
    font-weight: 800;
    letter-spacing: 1px;
    text-shadow: 0 4px 20px rgba(44, 95, 124, 0.3);
    background: linear-gradient(135deg, #fff 0%, #B8D4CE 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-section .lead {
    color: var(--mint);
    font-weight: 500;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Cards */
.card {
    border: none;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: 
        0 8px 32px rgba(44, 95, 124, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 1),
        0 0 0 1px rgba(74, 155, 142, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(74, 155, 142, 0.1), transparent);
    transition: left 0.5s;
}

.card:hover::before {
    left: 100%;
}

.card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 20px 60px rgba(44, 95, 124, 0.15),
        0 0 0 1px rgba(74, 155, 142, 0.2),
        0 0 30px rgba(107, 181, 167, 0.15);
}

.card-img-top {
    height: 220px;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover .card-img-top {
    transform: scale(1.1);
}

.card-title {
    font-weight: 700;
    color: var(--navy);
    letter-spacing: 0.3px;
}

.card-text {
    color: #5A7D8C;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* News Card */
.news-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 30px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(74, 155, 142, 0.1);
}

.news-card:hover {
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(74, 155, 142, 0.3),
        0 0 30px rgba(74, 155, 142, 0.15);
    transform: translateY(-5px);
}

.news-image {
    height: 250px;
    object-fit: cover;
    width: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-card:hover .news-image {
    transform: scale(1.05);
}

.news-content {
    padding: 30px;
}

.news-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: var(--navy);
}

.news-meta i {
    margin-right: 5px;
    color: var(--teal);
}

/* Document Card */
.document-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-left: 4px solid var(--teal);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 25px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(74, 155, 142, 0.1);
}

.document-card:hover {
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(74, 155, 142, 0.3),
        0 0 20px rgba(74, 155, 142, 0.1);
    transform: translateX(8px);
    border-left-width: 6px;
    border-left-color: var(--teal-light);
}

.document-type-badge {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: 0.3px;
}

.badge-law {
    background: linear-gradient(135deg, rgba(25, 118, 210, 0.1) 0%, rgba(25, 118, 210, 0.2) 100%);
    color: #1976d2;
    border: 1px solid rgba(25, 118, 210, 0.3);
}

.badge-regulation {
    background: linear-gradient(135deg, rgba(123, 31, 162, 0.1) 0%, rgba(123, 31, 162, 0.2) 100%);
    color: #7b1fa2;
    border: 1px solid rgba(123, 31, 162, 0.3);
}

.badge-announcement {
    background: linear-gradient(135deg, rgba(230, 81, 0, 0.1) 0%, rgba(230, 81, 0, 0.2) 100%);
    color: #e65100;
    border: 1px solid rgba(230, 81, 0, 0.3);
}

/* Search Box */
.search-box {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 35px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 0 0 1px rgba(74, 155, 142, 0.2);
    margin-bottom: 30px;
}

.search-box .form-control {
    border-radius: 12px;
    padding: 14px 24px;
    border: 2px solid rgba(74, 155, 142, 0.2);
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
}

.search-box .form-control:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 0.2rem rgba(74, 155, 142, 0.2), 0 5px 20px rgba(74, 155, 142, 0.1);
    background: white;
}

/* Pagination */
.pagination {
    margin-top: 40px;
}

.page-link {
    border-radius: 10px;
    margin: 0 5px;
    padding: 12px 18px;
    border: 2px solid rgba(74, 155, 142, 0.2);
    color: var(--navy);
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
}

.page-link:hover {
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-light) 100%);
    color: #2C5F7C;
    border-color: var(--teal-light);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 155, 142, 0.3);
}

.page-item.active .page-link {
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-light) 100%);
    border-color: var(--teal-light);
    color: #2C5F7C;
    box-shadow: 0 5px 15px rgba(74, 155, 142, 0.4);
}

.page-item.disabled .page-link {
    background: rgba(255, 255, 255, 0.5);
    border-color: rgba(74, 155, 142, 0.1);
}

/* Badges */
.badge {
    padding: 6px 14px;
    font-weight: 600;
    border-radius: 8px;
    letter-spacing: 0.3px;
}

.badge.bg-primary {
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-light) 100%) !important;
    color: #2C5F7C;
    box-shadow: 0 2px 10px rgba(74, 155, 142, 0.3);
}

.badge.bg-danger {
    background: linear-gradient(135deg, #dc3545 0%, #ff4757 100%) !important;
    box-shadow: 0 2px 10px rgba(220, 53, 69, 0.3);
}

.badge.bg-success {
    background: linear-gradient(135deg, #198754 0%, #28a745 100%) !important;
    box-shadow: 0 2px 10px rgba(25, 135, 84, 0.3);
}

.badge.bg-light {
    background: rgba(255, 255, 255, 0.9) !important;
    color: var(--navy);
    border: 1px solid rgba(74, 155, 142, 0.3);
}

/* Buttons */
.btn {
    border-radius: 12px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    border: none;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
    box-shadow: 0 4px 15px rgba(74, 155, 142, 0.3);
    color: white;
    position: relative;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(74, 155, 142, 0.4);
    background: linear-gradient(135deg, var(--teal) 0%, var(--navy-light) 100%);
    color: white;
}

.btn-outline-primary {
    border: 2px solid var(--teal);
    color: var(--teal);
    background: transparent;
}

.btn-outline-primary:hover {
    background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
    border-color: var(--teal);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(74, 155, 142, 0.3);
}

.btn-light {
    background: rgba(255, 255, 255, 0.95);
    color: var(--navy);
    border: 1px solid rgba(74, 155, 142, 0.2);
}

.btn-light:hover {
    background: white;
    color: var(--teal);
    border-color: var(--teal);
    box-shadow: 0 5px 20px rgba(74, 155, 142, 0.2);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: white;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--mint);
    color: var(--mint);
    backdrop-filter: blur(10px);
}

/* Back to Top Button */
.btn-floating {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    z-index: 999;
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-light) 100%);
    box-shadow: 0 8px 25px rgba(74, 155, 142, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    color: #2C5F7C;
}

.btn-floating:hover {
    transform: translateY(-8px) rotate(5deg);
    box-shadow: 0 15px 40px rgba(74, 155, 142, 0.6);
    color: #1E3A4C;
}

.btn-floating.show {
    display: flex;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1E3A4C 0%, #2C5F7C 50%, #1E3A4C 100%);
    border-top: 1px solid rgba(74, 155, 142, 0.2);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--teal), transparent);
}

.footer h5 {
    color: var(--teal-light);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.footer a:hover {
    color: var(--teal-light) !important;
    transform: translateX(5px);
    transition: all 0.3s;
}

.footer .list-group-item {
    transition: all 0.3s;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(74, 155, 142, 0.1);
    border: 2px solid rgba(74, 155, 142, 0.3);
    font-size: 1.3rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-links a:hover {
    transform: translateY(-5px) rotate(5deg);
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-light) 100%);
    border-color: var(--teal-light);
    box-shadow: 0 10px 30px rgba(74, 155, 142, 0.4);
    color: #2C5F7C !important;
}

.footer-bottom {
    background: #0a0a14;
    border-top: 1px solid rgba(74, 155, 142, 0.1);
}

/* Stats Section */
.stats-box {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 
        0 8px 32px rgba(44, 95, 124, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 1),
        0 0 0 1px rgba(74, 155, 142, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.stats-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--teal) 0%, var(--navy-light) 50%, var(--teal) 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.stats-box:hover::before {
    opacity: 1;
}

.stats-box:hover {
    transform: translateY(-10px);
    box-shadow: 
        0 20px 60px rgba(44, 95, 124, 0.12),
        0 0 0 1px rgba(74, 155, 142, 0.2),
        0 0 40px rgba(107, 181, 167, 0.15);
}

.stats-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2.5rem;
    background: linear-gradient(135deg, rgba(74, 155, 142, 0.1) 0%, rgba(107, 181, 167, 0.2) 100%);
    border: 3px solid rgba(74, 155, 142, 0.3);
    box-shadow: 0 10px 30px rgba(74, 155, 142, 0.15);
    transition: all 0.4s;
    color: var(--teal);
}

.stats-box:hover .stats-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, rgba(107, 181, 167, 0.2) 0%, rgba(143, 181, 170, 0.3) 100%);
    border-color: var(--teal);
    box-shadow: 0 15px 40px rgba(74, 155, 142, 0.25);
}

.stats-number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
    text-shadow: 0 5px 15px rgba(74, 155, 142, 0.1);
}

/* Alert */
.alert {
    border-radius: 10px;
    border: none;
}

/* Breadcrumb */
.breadcrumb {
    background-color: transparent;
    padding: 20px 0;
    margin-bottom: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    font-size: 1.2rem;
}

/* Section Title */
.section-title {
    position: relative;
    padding-bottom: 20px;
    margin-bottom: 50px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--teal) 0%, var(--teal-light) 100%);
    border-radius: 2px;
    box-shadow: 0 2px 10px rgba(74, 155, 142, 0.4);
}

.section-title.text-center::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-title i {
    color: var(--teal);
    filter: drop-shadow(0 2px 5px rgba(74, 155, 142, 0.3));
}

/* Loading Spinner */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.15em;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .stats-number {
        font-size: 2rem;
    }
    
    .card-img-top {
        height: 180px;
    }
    
    .news-image {
        height: 200px;
    }
    
    .btn-floating {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

/* Print Styles */
@media print {
    .navbar, .footer, .btn-floating, .search-box {
        display: none;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Section Backgrounds */
.bg-light {
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(10px);
}

section.py-5 {
    position: relative;
}

section.py-5.bg-light {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.6) 0%, rgba(42, 42, 62, 0.6) 100%) !important;
    backdrop-filter: blur(20px);
}

section.py-5:not(.bg-light) {
    background: transparent;
}

/* Breadcrumb Luxury Style */
.breadcrumb {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 15px 20px;
    border: 1px solid rgba(74, 155, 142, 0.2);
}

.breadcrumb-item a {
    color: var(--teal-light);
    text-decoration: none;
    transition: all 0.3s;
}

.breadcrumb-item a:hover {
    color: var(--teal);
}

.breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--teal);
}

/* Alert Luxury Style */
.alert {
    border-radius: 12px;
    border: none;
    backdrop-filter: blur(10px);
}

.alert-info {
    background: rgba(13, 202, 240, 0.15);
    color: #0dcaf0;
    border-left: 4px solid #0dcaf0;
}

.alert-success {
    background: rgba(25, 135, 84, 0.15);
    color: #198754;
    border-left: 4px solid #198754;
}

.alert-danger {
    background: rgba(220, 53, 69, 0.15);
    color: #dc3545;
    border-left: 4px solid #dc3545;
}

.alert-warning {
    background: rgba(255, 193, 7, 0.15);
    color: #ffc107;
    border-left: 4px solid #ffc107;
}

/* Input Luxury Style */
.form-control {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(74, 155, 142, 0.2);
    border-radius: 10px;
    transition: all 0.3s;
}

.form-control:focus {
    background: white;
    border-color: var(--teal);
    box-shadow: 0 0 0 0.2rem rgba(74, 155, 142, 0.25);
}

/* List Group Luxury Style */
.list-group-item {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(74, 155, 142, 0.1);
    transition: all 0.3s;
}

.list-group-item:hover {
    background: rgba(74, 155, 142, 0.05);
    border-color: rgba(74, 155, 142, 0.3);
    transform: translateX(5px);
}

.list-group-item.active {
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-light) 100%);
    border-color: var(--teal-light);
    color: #2C5F7C;
}

/* Card Header Luxury Style */
.card-header {
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-light) 100%) !important;
    border: none;
    color: #2C5F7C !important;
    font-weight: 700;
    border-radius: 20px 20px 0 0 !important;
}

.card-header.bg-primary {
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-light) 100%) !important;
}

/* Improve text readability on dark background */
.container h1, .container h2, .container h3, 
.container h4, .container h5, .container h6 {
    color: inherit;
}

section.py-5.bg-light .container h2,
section.py-5.bg-light .container h3,
section.py-5.bg-light .container p {
    color: rgba(255, 255, 255, 0.95);
}

section.py-5.bg-light .text-muted {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* Shimmer Effect for Luxury Elements */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.stats-number::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(143, 181, 170, 0.3),
        transparent
    );
    animation: shimmer 3s infinite;
}

/* Hover glow effect */
.card:hover,
.stats-box:hover,
.news-card:hover,
.document-card:hover {
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(74, 155, 142, 0.3),
        0 0 40px rgba(74, 155, 142, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
