/* Dogiyai Kabupaten - Custom CSS Framework */
/* Professional Government Website with Enhanced Design */

/* CSS Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

::placeholder {
    color: #475569;
    opacity: 0.8;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #1a202c;
    background: #f8fafc;
    overflow-x: hidden;
}

/* Enhanced Typography */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;600;700&display=swap');

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #0f172a;
    letter-spacing: -0.025em;
}

/* Enhanced Color Scheme (Dogiyai Navy & Gold) */
:root {
    --primary-gradient: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    --secondary-gradient: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.3);
    
    --primary-color: #1e3a8a;
    --primary-light: #3b82f6;
    --accent-color: #fbbf24;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --info-color: #0ea5e9;
    --dark-color: #0f172a;

    --light-bg: #ffffff;
    --gray-bg: #f8fafc;
    --dark-bg: #1e293b;

    --text-primary: #0f172a;
    --text-secondary: #334155;
    --text-muted: #475569;

    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-premium: 0 25px 50px -12px rgba(30, 58, 138, 0.25);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 32px;

    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Grid System */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

[class*="col-"] {
    padding: 0 15px;
    width: 100%;
    /* Default mobile behavior */
}

@media (min-width: 768px) {
    .col-md-1 {
        flex: 0 0 8.333333%;
        max-width: 8.333333%;
    }

    .col-md-2 {
        flex: 0 0 16.666667%;
        max-width: 16.666667%;
    }

    .col-md-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }

    .col-md-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }

    .col-md-5 {
        flex: 0 0 41.666667%;
        max-width: 41.666667%;
    }

    .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .col-md-7 {
        flex: 0 0 58.333333%;
        max-width: 58.333333%;
    }

    .col-md-8 {
        flex: 0 0 66.666667%;
        max-width: 66.666667%;
    }

    .col-md-9 {
        flex: 0 0 75%;
        max-width: 75%;
    }

    .col-md-10 {
        flex: 0 0 83.333333%;
        max-width: 83.333333%;
    }

    .col-md-11 {
        flex: 0 0 91.666667%;
        max-width: 91.666667%;
    }

    .col-md-12 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (min-width: 1024px) {
    .col-lg-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }
}

/* Enhanced Grid System (for display: grid) */
.grid {
    display: grid;
    gap: 30px;
    margin-top: 30px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

h1 { font-size: 3rem; letter-spacing: -0.04em; }
h2 { font-size: 2.25rem; letter-spacing: -0.03em; }
h3 { font-size: 1.75rem; letter-spacing: -0.02em; }

p {
    margin-bottom: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

a {
    color: var(--primary-light);
    text-decoration: none;
    transition: var(--transition-normal);
}

a:hover {
    color: var(--primary-color);
}

/* Header & Navigation */
.top-bar {
    background: #0f172a;
    color: #f1f5f9;
    padding: 12px 0;
    font-size: 0.825rem;
    font-weight: 500;
    border-bottom: 2px solid var(--primary-color);
    position: relative;
    z-index: 1100;
}

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

.top-bar-left, .top-bar-right {
    display: flex;
    gap: 30px;
    align-items: center;
}

.top-bar span {
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-normal);
}

.top-bar span i {
    color: var(--primary-light);
    width: 16px;
    height: 16px;
}

.top-bar span:hover {
    color: var(--primary-light);
}

.top-bar-social {
    display: flex;
    gap: 12px;
    margin-left: 20px;
    padding-left: 20px;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.top-bar-social a {
    color: #cbd5e1;
    background: rgba(255, 255, 255, 0.05);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.top-bar-social a:hover {
    color: #fff;
    background: var(--primary-color);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.top-bar-social i {
    width: 14px;
    height: 14px;
}


.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.header-main {
    padding: 15px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.logo-section {
    display: flex;
    align-items: center;
}

.logo {
    width: 55px;
    height: 55px;
    margin-right: 18px;
    object-fit: contain;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}

.site-title h1 {
    font-size: 1.4rem;
    margin-bottom: 2px;
    color: var(--primary-color);
    line-height: 1.1;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.site-title p {
    font-size: 0.8rem;
    color: #475569;
    font-weight: 700;
    letter-spacing: 1px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

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

.search-input {
    width: 100%;
    padding: 10px 18px;
    padding-right: 45px;
    border: 2px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.85rem;
    background: var(--gray-bg);
    transition: var(--transition-normal);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-light);
    background: white;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.search-btn {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-gradient);
    border: none;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: var(--transition-normal);
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    margin-top: 10px;
    display: none;
    z-index: 1200;
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid var(--border-color);
}

.search-result-item {
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-normal);
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: var(--gray-bg);
}

.search-result-item a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-primary);
    font-weight: 600;
    text-decoration: none;
}

.search-result-item strong {
    color: var(--primary-color);
}

.search-result-type {
    font-size: 0.75rem;
    padding: 2px 8px;
    background: #f1f5f9;
    color: #475569;
    border-radius: 4px;
    text-transform: uppercase;
}

mark {
    background: #fef08a;
    color: #854d0e;
    padding: 0 2px;
}

.nav {
    background: white;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    padding: 18px 24px;
    font-weight: 600;
    transition: var(--transition-normal);
    text-decoration: none;
    height: 100%;
    white-space: nowrap;
    font-size: 0.9rem;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--primary-gradient);
    transition: var(--transition-normal);
    transform: translateX(-50%);
}

.nav-link:hover {
    color: var(--primary-color);
}

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

.nav-link.active {
    color: var(--primary-color);
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
}

.nav-link.active {
    background: rgba(255, 255, 255, 0.2);
}

.nav-list {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    justify-content: center;
}

.nav-item {
    position: relative;
    height: 100%;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    border-radius: 0 0 12px 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

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

.dropdown-item {
    display: block;
    padding: 12px 20px;
    color: #2c3e50;
    border-bottom: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 0.9rem;
}

.dropdown-item:hover {
    background: #f7fafc;
    color: var(--primary-color);
}

.dropdown-item:last-child {
    border-bottom: none;
}

/* Hero Section */
.hero {
    background: var(--primary-gradient);
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    color: white;
    position: relative;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".25" fill="%23ffffff"/><path d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,18.2,98.6,35.4,31.77,15.34,63.37,37.4,97.28,39.4,39.94,2.76,81.21-9.84,119.48-19.3,36.38-9.1,72.77-18.2,108.87-27.6,56.73-14.4,113.45-28.8,169.18-43.2V0Z" opacity=".5" fill="%23ffffff"/><path d="M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z" fill="%23ffffff"/></svg>') no-repeat bottom;
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 25px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Cards */
.card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 30px;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.card-header {
    background: linear-gradient(90deg, var(--primary-light) 0%, var(--primary-light) 100%);
    color: white;
    padding: 20px;
    font-weight: 600;
}

.card-body {
    padding: 20px;
}

.card-footer {
    background: #f7fafc;
    padding: 15px 20px;
    border-top: 1px solid #e2e8f0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(90deg, var(--primary-light) 0%, var(--primary-light) 100%);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(90deg, var(--primary-light) 0%, #2a4e7c 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(49, 130, 206, 0.3);
}

.btn-secondary {
    background: #718096;
    color: white;
}

.btn-secondary:hover {
    background: #4a5568;
}

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

.btn-outline:hover {
    background: var(--primary-light);
    color: white;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #2c3e50;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1);
}

/* Tables */
.table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.table th,
.table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.table th {
    background: #f7fafc;
    font-weight: 600;
    color: #2c3e50;
}

.table tr:hover {
    background: #f7fafc;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    list-style: none;
    padding: 15px 0;
    background: #f7fafc;
    border-radius: 6px;
    margin-bottom: 30px;
}

.breadcrumb-item {
    color: #475569;
}

.breadcrumb-item a {
    color: var(--primary-light);
}

.breadcrumb-item.active {
    color: #2c3e50;
    font-weight: 600;
}

.breadcrumb-item+.breadcrumb-item::before {
    content: '/';
    margin: 0 10px;
    color: var(--text-muted);
}

/* Footer */
.footer {
    background: var(--primary-gradient);
    color: white;
    padding: 50px 0 20px;
}

.footer h5 {
    color: white;
    margin-bottom: 20px;
}

.footer-logo {
    max-width: 120px;
    height: auto;
    margin-bottom: 20px;
    display: block;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer ul li a {
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.footer ul li a:hover {
    color: white;
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mt-4 {
    margin-top: 2rem;
}

.mt-5 {
    margin-top: 3rem;
}

.p-1 {
    padding: 0.5rem;
}

.p-2 {
    padding: 1rem;
}

.p-3 {
    padding: 1.5rem;
}

.p-4 {
    padding: 2rem;
}

.p-5 {
    padding: 3rem;
}

.py-1 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.py-2 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.py-3 {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.py-4 {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.py-5 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .header-main {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .search-box {
        width: 100%;
    }

    .nav-list {
        flex-direction: column;
    }

    .nav-item {
        width: 100%;
    }

    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(0, 0, 0, 0.05);
        display: none;
    }

    .nav-item:hover .dropdown {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .col-sm-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .col-sm-12 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .hero h1 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    [class*="col-"] {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Custom Components for Dogiyai */
.dogiyai-gradient {
    background: var(--primary-gradient);
}

.dogiyai-card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: var(--transition-normal);
    position: relative;
    border: 1px solid var(--border-color);
}

.dogiyai-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    opacity: 0;
    transition: var(--transition-normal);
}

.dogiyai-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-premium);
}

.dogiyai-card:hover::before {
    opacity: 1;
}

.dogiyai-btn {
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
}

.dogiyai-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.dogiyai-btn:hover::before {
    left: 100%;
}

.dogiyai-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 58, 138, 0.3);
}

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

.dogiyai-btn.btn-outline:hover {
    background: white;
    color: var(--primary-color);
}

/* Member Grid */
.member-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.member-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.member-card {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.member-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.member-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 20px;
    border: 5px solid var(--primary-color);
    padding: 5px;
    background: white;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.4);
}

/* Additional Styles for Homepage Components */

/* Hero Section */
.hero-buttons {
    margin-top: 30px;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

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

.btn-outline:hover {
    background: white;
    color: var(--primary-color);
}

/* Quick Info Section */
.quick-info {
    background: #f8fafc;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.quick-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
}

.quick-info::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
}

.quick-info .container {
    position: relative;
    z-index: 1;
}

.quick-info .row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
    align-items: stretch;
}

.quick-info .col-md-3 {
    padding: 0 15px;
    margin-bottom: 30px;
}

.quick-info .dogiyai-card {
    height: 100%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.quick-info .dogiyai-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--primary-gradient);
}

.quick-info .dogiyai-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin: 0 auto 20px;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.quick-info .dogiyai-card:hover .card-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.4);
}

.quick-info .dogiyai-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.quick-info .dogiyai-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0;
    position: relative;
    z-index: 2;
    font-size: 0.95rem;
}

/* Responsive Design for Quick Info */
@media (max-width: 768px) {
    .quick-info {
        padding: 60px 0;
    }

    .quick-info .col-md-3 {
        margin-bottom: 20px;
    }

    .quick-info .dogiyai-card {
        padding: 25px 20px;
    }

    .card-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }

    .quick-info .dogiyai-card h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 576px) {
    .quick-info {
        padding: 40px 0;
    }

    .quick-info .dogiyai-card {
        padding: 20px 15px;
    }

    .card-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 15px;
    }

    .quick-info .dogiyai-card h3 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }

    .quick-info .dogiyai-card p {
        font-size: 0.9rem;
    }
}

/* Latest News Section */
.latest-news {
    background: white;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.section-header h2 {
    margin: 0;
    color: #1e293b;
}

.view-all {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.view-all:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

.news-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.news-item {
    display: flex;
    gap: 25px;
    padding: 25px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-left: 0 solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.news-item::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: var(--primary-gradient);
    transition: width 0.3s ease;
}

.news-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.news-item:hover::after {
    width: 6px;
}

.news-image {
    flex-shrink: 0;
    width: 220px;
    height: 140px;
    border-radius: 12px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.news-item:hover .news-image img {
    transform: scale(1.1);
}

.news-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-content h3 {
    margin: 0 0 12px;
    font-size: 1.4rem;
    line-height: 1.3;
}

.news-content h3 a {
    color: #1e293b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-content h3 a:hover {
    color: #4f46e5;
}

.news-content p {
    margin: 0 0 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
}

.news-meta {
    display: flex;
    gap: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.news-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.news-meta i {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .news-item {
        flex-direction: column;
        gap: 20px;
    }

    .news-image {
        width: 100%;
        height: 200px;
    }
}

/* Events Section */
.event-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.event-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: #f8fafc;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.event-item:hover {
    background: #f1f5f9;
    transform: translateX(5px);
}

.event-date {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
}

.event-day {
    font-size: 1.5rem;
    line-height: 1;
}

.event-month {
    font-size: 0.8rem;
    text-transform: uppercase;
}

.event-info h4 {
    margin: 0 0 5px;
    font-size: 1rem;
    color: #1e293b;
}

.event-info p {
    margin: 0 0 5px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.event-time {
    font-size: 0.8rem;
    color: var(--primary-color);
    font-weight: 600;
}

/* Quick Links */
.quick-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.quick-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8fafc;
    border-radius: 8px;
    color: #1e293b;
    text-decoration: none;
    transition: all 0.3s ease;
}

.quick-link:hover {
    background: #e2e8f0;
    transform: translateX(5px);
}

.quick-link i {
    width: 40px;
    height: 40px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

/* Statistics Section */
.statistics {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.stat-item {
    padding: 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
}

/* Additional Icon Styles */
/* Icons removed in favor of Lucide SVGs */

/* Additional Styles for New Pages */

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header .lead {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* Vision & Mission Styles */
.vision-container {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
}

.vision-icon {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
}

.vision-content h4 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #1e293b;
}

.vision-text {
    font-size: 1.3rem;
    font-weight: 600;
    color: #4f46e5;
    margin-bottom: 15px;
    font-style: italic;
}

.vision-description {
    color: var(--text-secondary);
    line-height: 1.7;
}

.mission-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.mission-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    border-radius: 12px;
    background: #f8fafc;
    background: var(--bg-white);
    transition: all 0.3s ease;
}

.mission-item:hover {
    background: var(--bg-light);
    transform: translateX(10px);
}

.mission-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
}

.mission-content h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #1e293b;
}

.mission-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.value-item {
    text-align: center;
    padding: 30px;
    border-radius: 12px;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.value-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin: 0 auto 20px;
}

.value-item h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #1e293b;
}

.value-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Strategic Goals */
.strategic-goals {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.goal-item {
    padding: 25px;
    border-radius: 12px;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.goal-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.goal-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
}

.goal-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.goal-header h4 {
    font-size: 1.3rem;
    color: #1e293b;
}

.goal-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Timeline */
.strategy-timeline {
    position: relative;
    padding-left: 30px;
}

.strategy-timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-gradient);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 40px;
}

.timeline-dot {
    position: absolute;
    left: -23px;
    top: 5px;
    width: 16px;
    height: 16px;
    background: white;
    border: 4px solid var(--primary-color);
    border-radius: 50%;
}

.timeline-content {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 20px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid white;
}

.timeline-content h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #1e293b;
}

.timeline-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0;
}

.timeline-year {
    position: absolute;
    right: 20px;
    top: 20px;
    background: var(--primary-gradient);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Metrics Grid */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.metric-item {
    text-align: center;
    padding: 30px;
    border-radius: 12px;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.metric-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.metric-value {
    font-size: 3rem;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.metric-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 10px;
}

.metric-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Gallery Styles */
.gallery-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.tab-btn {
    padding: 12px 30px;
    border: none;
    background: #f1f5f9;
    color: var(--text-secondary);
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    background: #e2e8f0;
}

.tab-btn.active {
    background: var(--primary-gradient);
    color: white;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 20px;
    border: none;
    background: #f1f5f9;
    color: var(--text-secondary);
    border-radius: 20px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: #e2e8f0;
}

.filter-btn.active {
    background: var(--primary-gradient);
    color: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.gallery-img-container {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-content {
    text-align: center;
    color: white;
    padding: 20px;
}

.gallery-content h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.gallery-content p {
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.view-btn {
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.gallery-info {
    padding: 20px;
    background: white;
}

.gallery-info h5 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #1e293b;
}

.gallery-date {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Video Grid */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.video-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.video-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.video-thumbnail {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.video-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.video-item:hover .video-img {
    transform: scale(1.05);
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(102, 126, 234, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-play-btn:hover {
    background: rgba(102, 126, 234, 1);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-info {
    padding: 20px;
    background: white;
}

.video-info h5 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #1e293b;
}

.video-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 15px;
}

.video-meta {
    display: flex;
    justify-content: space-between;
    color: var(--text-secondary);
    font-size: 0.8rem;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    overflow: auto;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    z-index: 2001;
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#modalImage {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 8px;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: #f1f5f9;
    color: var(--text-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-btn:hover {
    background: #e2e8f0;
}

.pagination-btn.active {
    background: var(--primary-gradient);
    color: white;
}

.pagination-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Organizational Chart */
.org-chart {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 30px 0;
}

.org-level-1,
.org-level-2,
.org-level-3,
.org-level-4 {
    display: flex;
    justify-content: center;
    gap: 20px;
    width: 100%;
}

.org-level-4 {
    flex-wrap: wrap;
}

.org-box {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    min-width: 200px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.org-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.org-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 5px;
}

.org-subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 5px;
}

.org-count {
    font-size: 0.8rem;
    color: var(--primary-color);
    font-weight: 600;
}

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

.leader-item {
    display: flex;
    gap: 20px;
    padding: 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.leader-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.leader-photo {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--primary-color);
}

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

.leader-info h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: #1e293b;
}

.leader-position {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.leader-party {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.leader-contact {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.leader-contact span {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Commissions Grid */
.commissions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.commission-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.commission-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.commission-header {
    background: var(--primary-gradient);
    color: white;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.commission-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.commission-info h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: white;
}

.commission-info p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.commission-details {
    padding: 20px;
}

.commission-details h5 {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 10px;
}

.commission-details ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.commission-details ul li {
    padding: 5px 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 20px;
}

.commission-details ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.commission-members {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.member-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background: #f8fafc;
    border-radius: 8px;
}

.member-name {
    font-weight: 500;
    color: #1e293b;
}

.member-party {
    background: var(--primary-gradient);
    color: white;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
}

.member-position {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

/* Factions Grid */
.factions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.faction-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.faction-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.faction-header {
    background: var(--primary-gradient);
    color: white;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.faction-logo {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.faction-info h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: white;
}

.faction-info p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.faction-count {
    background: rgba(255, 255, 255, 0.2);
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    display: inline-block;
    margin-top: 5px;
}

.faction-details {
    padding: 20px;
}

.faction-details h5 {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 10px;
}

.faction-leader {
    background: #f8fafc;
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.leader-name {
    font-weight: 500;
    color: #1e293b;
}

.faction-members {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Secretariat Structure */
.secretariat-structure {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.secretariat-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.secretariat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.secretariat-header {
    background: var(--primary-gradient);
    color: white;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.secretariat-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.secretariat-info h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: white;
}

.secretariat-info p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.secretariat-details {
    padding: 20px;
}

.secretariat-details p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Contact Form Styles */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.contact-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.contact-details h5 {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 5px;
}

.contact-details p {
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.social-link.facebook {
    background: #1877f2;
}

.social-link.twitter {
    background: #1da1f2;
}

.social-link.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-link.youtube {
    background: #ff0000;
}

/* FAQ Styles */
.faq-item {
    border-bottom: 1px solid #e2e8f0;
    padding: 20px 0;
}

.faq-question {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-question h5 {
    margin: 0;
    color: #1e293b;
}

.faq-answer {
    display: none;
    padding-top: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.faq-answer ul {
    list-style: none;
    padding: 0;
}

.faq-answer ul li {
    padding: 5px 0;
    position: relative;
    padding-left: 20px;
}

.faq-answer ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Lucide icons are used throughout the site via data-lucide attributes */

.icon-arrow-up::before {
    content: "↑";
}

.icon-map-marker::before {
    content: "📍";
}

.icon-globe::before {
    content: "🌐";
}

.icon-facebook::before {
    content: "f";
}

.icon-twitter::before {
    content: "𝕏";
}

.icon-instagram::before {
    content: "📷";
}

.icon-youtube::before {
    content: "▶";
}

.icon-paper-plane::before {
    content: "📤";
}

.icon-info-circle::before {
    content: "ℹ";
}

.icon-share-alt::before {
    content: "🔗";
}

.icon-question-circle::before {
    content: "❓";
}

.icon-envelope::before {
    content: "📧";
}

.icon-bullseye::before {
    content: "🎯";
}

/* Form Check Styles */
.form-check {
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-check-input {
    width: 20px;
    height: 20px;
    accent-color: var(--primary-color);
}

.form-check-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.form-check-label a {
    color: var(--primary-color);
    text-decoration: none;
}

.form-check-label a:hover {
    text-decoration: underline;
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    .vision-container {
        flex-direction: column;
        text-align: center;
    }

    .mission-item {
        flex-direction: column;
        text-align: center;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .commissions-grid {
        grid-template-columns: 1fr;
    }

    .factions-grid {
        grid-template-columns: 1fr;
    }

    .secretariat-structure {
        grid-template-columns: 1fr;
    }

    .leadership-grid {
        grid-template-columns: 1fr;
    }

    .leader-item {
        flex-direction: column;
        text-align: center;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .video-grid {
        grid-template-columns: 1fr;
    }

    .org-level-1,
    .org-level-2,
    .org-level-3,
    .org-level-4 {
        flex-direction: column;
    }

    .strategy-timeline {
        padding-left: 20px;
    }

    /* Main Content */
    .main-content {
        padding: 60px 0;
        min-height: calc(100vh - 200px);
    }

    /* Section Spacing */
    .py-5 {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    /* Enhanced Section Headers */
    .section-header {
        text-align: center;
        margin-bottom: 60px;
        position: relative;
    }

    .section-header::after {
        content: '';
        position: absolute;
        bottom: -20px;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 4px;
        background: var(--primary-gradient);
        border-radius: 2px;
    }

    /* Enhanced Card Spacing */
    .dogiyai-card {
        margin-bottom: 40px;
    }

    /* Enhanced Row Spacing */
    .row {
        margin-bottom: 40px;
    }

    .row:last-child {
        margin-bottom: 0;
    }

    /* Enhanced Content Sections */
    .quick-info,
    .latest-news,
    .statistics {
        padding: 80px 0;
    }

    /* Enhanced Button Spacing */
    .hero-buttons {
        margin-top: 50px;
        margin-bottom: 20px;
    }

    /* Enhanced News Container */
    .news-container {
        gap: 40px;
    }

    /* Enhanced Event List */
    .event-list {
        gap: 30px;
    }

    /* Enhanced Quick Links */
    .quick-links {
        gap: 20px;
    }

    .timeline-item {
        padding-left: 30px;
    }

    .timeline-dot {
        left: -28px;
    }

    .timeline-year {
        position: static;
        margin-top: 10px;
        display: inline-block;
    }
}

/* === MAX CONTRAST OVERRIDES === */
.footer, .footer *, .footer h5, .footer p, .footer ul li, .footer ul li a, .footer-bottom, .footer .social-link {
    color: #ffffff !important;
}

.top-bar, .top-bar *, .top-bar span, .top-bar i {
    color: #ffffff !important;
}

.hero p, .hero h1 {
    color: #ffffff !important;
}

.breadcrumb, .breadcrumb-item, .breadcrumb-item::before {
    color: #333333 !important;
}

.breadcrumb-item.active {
    color: #000000 !important;
    font-weight: 700 !important;
}

.nav-link {
    color: var(--text-primary) !important;
    font-weight: 700 !important;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color) !important;
}

.dropdown-item {
    color: #1a202c !important;
}

.dropdown-item:hover {
    color: #4f46e5 !important;
}

.site-title p {
    color: #1e293b !important;
}

/* Fix old paniai button class name if any */
.dogiyai-btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    background: linear-gradient(90deg, var(--primary-light) 0%, var(--primary-light) 100%);
    color: white !important;
}

.dogiyai-btn:hover {
    background: linear-gradient(90deg, var(--primary-light) 0%, #2a4e7c 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(49, 130, 206, 0.3);
}

.dogiyai-btn.btn-outline {
    background: transparent;
    border: 2px solid #ffffff;
    color: #ffffff !important;
}

.dogiyai-btn.btn-outline:hover {
    background: #ffffff;
    color: var(--primary-light) !important;
}
/* ================================ */
/* Premium News Detail Styling */
:root {
    --article-width: 800px;
}

/* Reading Progress Bar */
.progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    z-index: 2000;
}

.progress-bar {
    height: 4px;
    background: var(--primary-gradient);
    width: 0%;
    transition: width 0.1s ease;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

.news-detail {
    background: white;
    border-radius: 24px;
    box-shadow: var(--shadow-premium);
    overflow: hidden;
    margin-bottom: 60px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.news-header {
    padding: 80px 60px 40px;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    text-align: center;
    position: relative;
}

.news-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--primary-gradient);
}

.news-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
    margin-bottom: 30px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
}

.news-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: #f1f5f9;
    border-radius: 100px;
    transition: var(--transition-normal);
}

.news-meta span:hover {
    background: #e2e8f0;
    color: var(--primary-color);
}

.news-meta i {
    color: var(--primary-color);
    width: 16px;
    height: 16px;
}

.news-header h1 {
    font-size: 3.2rem;
    color: var(--text-primary);
    line-height: 1.1;
    max-width: 900px;
    margin: 0 auto;
    letter-spacing: -0.02em;
    font-weight: 800;
}

.news-featured-image {
    padding: 0 40px;
    margin-top: 20px;
}

.news-featured-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.15);
    transition: transform 0.5s ease;
}

.news-featured-image:hover img {
    transform: scale(1.02);
}

.news-content-wrapper {
    display: flex;
    padding: 50px 60px;
    gap: 60px;
    position: relative;
}

.news-content {
    flex: 1;
    max-width: var(--article-width);
    font-size: 1.25rem;
    line-height: 1.9;
    color: #334155;
}

.news-content p {
    margin-bottom: 30px;
    text-align: justify;
}

.news-content h2, .news-content h3 {
    margin: 50px 0 25px;
    color: var(--primary-color);
}

.news-content blockquote {
    border-left: 5px solid var(--accent-color);
    padding: 20px 30px;
    background: #fff9eb;
    margin: 40px 0;
    font-style: italic;
    border-radius: 0 16px 16px 0;
    font-weight: 500;
}

/* Sticky Sidebar */
.article-sidebar {
    width: 250px;
    flex-shrink: 0;
}

.sticky-sidebar {
    position: sticky;
    top: 120px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.sidebar-widget {
    background: #f8fafc;
    padding: 25px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
}

.sidebar-widget h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px;
    display: inline-block;
}

.share-stack {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.share-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: white;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.share-link:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
    color: white !important;
}

.share-link.fb:hover { background: #1877f2; }
.share-link.tw:hover { background: #1da1f2; }
.share-link.wa:hover { background: #25d366; }

.news-detail-footer {
    padding: 40px 60px 80px;
    border-top: 1px solid #f1f5f9;
    background: #f8fafc;
    text-align: center;
}

.back-link {
    margin-top: 20px;
}

@media (max-width: 1200px) {
    .news-content-wrapper { flex-direction: column; gap: 40px; }
    .article-sidebar { width: 100%; }
    .sticky-sidebar { position: static; flex-direction: row; flex-wrap: wrap; }
    .sidebar-widget { flex: 1; min-width: 300px; }
    .share-stack { flex-direction: row; }
}

@media (max-width: 991px) {
    .news-header { padding: 60px 40px 30px; }
    .news-header h1 { font-size: 2.6rem; }
    .news-featured-image { padding: 0 20px; }
    .news-featured-image img { height: 400px; }
    .news-content-wrapper { padding: 40px 20px; }
    .news-content { font-size: 1.15rem; }
}

@media (max-width: 640px) {
    .news-header h1 { font-size: 2rem; }
    .news-meta { gap: 10px; }
    .news-meta span { padding: 4px 12px; font-size: 0.8rem; }
    .news-featured-image img { height: 250px; }
    .share-stack { flex-direction: column; }
}


/* ================================ */
/* Premium Page Components */
.dogiyai-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    margin-bottom: 40px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dogiyai-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.dogiyai-card .card-header {
    background: var(--primary-gradient);
    padding: 25px 40px;
}

.dogiyai-card .card-header h3 {
    margin-bottom: 0;
    color: white !important;
    font-size: 1.5rem;
    letter-spacing: 0.02em;
}

.dogiyai-card .card-body {
    padding: 40px;
}

/* Mission/Feature Items */
.premium-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.feature-box {
    padding: 30px;
    background: #f8fafc;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.feature-box:hover {
    background: white;
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.1);
    border-color: var(--primary-color);
}

.feature-icon-circle {
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
    font-weight: 700;
}

/* Leadership Profiles */
.leadership-premium-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.leader-premium-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    border: 1px solid #f1f5f9;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
}

.leader-premium-photo {
    width: 180px;
    height: 180px;
    margin: 0 auto 25px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid #f1f5f9;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

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

.leader-premium-info h4 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.leader-pos-tag {
    display: inline-block;
    padding: 6px 16px;
    background: #e0e7ff;
    color: #312e81;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.8rem;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.leader-party-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

/* Sidebar Info */
.info-premium-box {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.info-item-row {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.info-item-row:last-child {
    margin-bottom: 0;
}

.info-item-row i {
    width: 45px;
    height: 45px;
    background: #f8fafc;
    color: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.info-item-text h5 {
    margin-bottom: 5px;
    font-size: 1rem;
    color: #1e293b;
}

.info-item-text p {
    margin-bottom: 0 !important;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* Member & Faction Sections */
.faction-section {
    margin-bottom: 50px;
}

.faction-title {
    padding-bottom: 15px;
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 30px;
    color: var(--primary-color);
    font-weight: 700;
}

.member-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 25px;
}

.member-card {
    background: #f8fafc;
    padding: 25px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.member-card:hover {
    background: white;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.member-card h5 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.member-position {
    font-size: 0.9rem;
    color: #4338ca;
    font-weight: 600;
    margin-bottom: 5px;
}

.member-dapil {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 5px;
}

.member-party {
    font-size: 0.8rem;
    font-weight: 700;
    color: #1e293b;
    text-transform: uppercase;
}

/* Home News & Metrics Upgrades */
.news-item-premium {
    display: flex;
    gap: 30px;
    padding: 30px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.news-item-premium:hover {
    transform: translateX(10px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.1);
    border-color: var(--primary-color);
}

.news-item-premium .news-image {
    width: 280px;
    height: 180px;
    border-radius: 12px;
}

.news-item-premium h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.metric-item {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
}

.metric-item:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.1);
}

.metric-value {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color) 0%, #4338ca 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.metric-label {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Premium Archive Pages (Berita Archive) */
.premium-hero {
    padding: 120px 0 80px;
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
}

.premium-hero .badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.premium-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.premium-hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Premium Filters */
.filter-card {
    margin-top: -60px;
    z-index: 10;
    position: relative;
    border: none !important;
}

.news-filters-premium {
    display: flex;
    gap: 20px;
    align-items: flex-end;
    flex-wrap: wrap;
}

.filter-item {
    flex: 1;
    min-width: 200px;
}

.filter-item label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: #475569;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.form-control-premium {
    width: 100%;
    padding: 14px 20px;
    border-radius: 12px;
    border: 2px solid #f1f5f9;
    background: #f8fafc;
    font-size: 1rem;
    color: #1e293b;
    transition: all 0.3s ease;
}

.form-control-premium:focus {
    background: white;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
    outline: none;
}

/* Premium News Grid */
.premium-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
}

.news-card-premium {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.news-card-premium:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.news-card-premium .card-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.news-card-premium .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.news-card-premium:hover .card-image img {
    transform: scale(1.1);
}

.news-card-premium .card-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary-gradient);
    color: white;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 2;
}

.news-card-premium .card-body {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-card-premium .card-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    color: #64748b;
    font-size: 0.85rem;
    font-weight: 500;
}

.news-card-premium .card-meta i {
    width: 16px;
    height: 16px;
    stroke-width: 2.5px;
}

.news-card-premium h3 {
    font-size: 1.4rem;
    line-height: 1.4;
    margin-bottom: 15px;
    color: #1e293b;
    font-weight: 800;
}

.news-card-premium h3 a {
    color: inherit;
    transition: color 0.3s ease;
}

.news-card-premium:hover h3 a {
    color: var(--primary-color);
}

.news-card-premium p {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-premium .read-more {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.95rem;
    transition: gap 0.3s ease;
}

.news-card-premium:hover .read-more {
    gap: 15px;
}

/* Alat Kelengkapan & Factions */
.faction-box {
    background: #f8fafc;
    border-radius: 20px;
    padding: 30px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.faction-box:hover {
    background: white;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.faction-item-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e2e8f0;
}

.faction-icon {
    width: 50px;
    height: 50px;
    background: white;
    color: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.faction-item-header h4 {
    font-size: 1.15rem;
    margin-bottom: 5px;
    color: #1e293b;
}

.kursi-tag {
    font-size: 0.75rem;
    font-weight: 700;
    background: #e0e7ff;
    color: #4338ca;
    padding: 4px 12px;
    border-radius: 30px;
}

.faction-body p {
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.faction-body ul {
    margin-left: 20px;
    font-size: 0.9rem;
    color: #64748b;
}

@media (max-width: 768px) {
    .premium-hero h1 { font-size: 2.5rem; }
    .news-filters-premium { flex-direction: column; align-items: stretch; }
    .premium-news-grid { grid-template-columns: 1fr; }
}
