:root {
    /* Blue-White Color Scheme */
    --color-primary: #1e3a8a;      /* dark blue */
    --color-primary-light: #3b82f6;
    --color-primary-dark: #1e40af;
    
    --color-secondary: #60a5fa;    /* light blue */
    --color-secondary-light: #93c5fd;
    --color-secondary-lighter: #bfdbfe;
    --color-secondary-lightest: #dbeafe;
    
    --color-white: #ffffff;
    --color-gray-50: #f8fafc;
    --color-gray-100: #f1f5f9;
    --color-gray-200: #e2e8f0;
    --color-gray-300: #cbd5e1;
    --color-gray-600: #475569;
    --color-gray-800: #1e293b;
    
    --gradient-hero: linear-gradient(135deg, var(--color-white) 0%, var(--color-secondary-lightest) 50%, var(--color-secondary-lighter) 100%);
    --gradient-card: linear-gradient(145deg, var(--color-white) 0%, var(--color-secondary-lightest) 100%);
    --gradient-overlay: linear-gradient(180deg, rgba(30, 58, 138, 0.9) 0%, rgba(59, 130, 246, 0.7) 100%);
    
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    
    --shadow-sm: 0 2px 4px rgba(30, 58, 138, 0.1);
    --shadow-md: 0 4px 12px rgba(30, 58, 138, 0.15);
    --shadow-lg: 0 8px 30px rgba(30, 58, 138, 0.2);
    --shadow-xl: 0 20px 60px rgba(30, 58, 138, 0.25);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background: var(--color-white);
    color: var(--color-gray-800);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Animated Background */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-hero);
    animation: gradientShift 20s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.bg-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, var(--color-secondary-light) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, var(--color-secondary-lighter) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, var(--color-secondary-lightest) 0%, transparent 60%);
    animation: particleFloat 15s ease-in-out infinite;
}

@keyframes particleFloat {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.6; }
    50% { transform: translateY(-30px) scale(1.1); opacity: 0.8; }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-gray-200);
    transition: var(--transition);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    justify-content: space-between;
    height: 70px;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: -0.5px;
}

.logo a {
    text-decoration: none;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--color-gray-800);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary-light);
    transition: var(--transition);
}

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

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

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--color-primary);
    transition: var(--transition);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--color-white);
    padding: 20px;
    box-shadow: var(--shadow-lg);
    z-index: 999;
}

.mobile-nav.active {
    display: block;
}

.mobile-nav ul {
    list-style: none;
}

.mobile-nav li {
    margin-bottom: 15px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    justify-content: center;
    text-align: center;
    padding: 100px 0 60px;
    position: relative;
}

.hero-content {
    max-width: 800px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.text-blue-600 {
    color: var(--color-primary);
}

.hero-subtitle {
    color: var(--color-primary-light);
    font-weight: 300;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--color-gray-600);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-content: center;
    padding: 15px 35px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-xl);
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--color-primary-light);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
    background: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(59, 130, 246, 0.5);
}

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

.btn-secondary:hover {
    background: var(--color-secondary-lightest);
    border-color: var(--color-primary-light);
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    text-align: center;
    color: var(--color-primary);
    margin-bottom: 50px;
}

/* Map Section */
.map-section {
    background: var(--color-gray-50);
}

.map-container {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    margin-bottom: 40px;
}

.leaflet-map {
    width: 100%;
    height: 500px;
}

.districts-list {
    margin-top: 40px;
}

.districts-list h3 {
    text-align: center;
    color: var(--color-primary);
    margin-bottom: 25px;
}

.districts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
}

.district-card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 20px;
    background: var(--color-white);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--color-gray-800);
    font-weight: 500;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--district-color, var(--color-primary-light));
    transition: var(--transition);
}

.district-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.district-name {
    font-size: 0.95rem;
}

/* Statistics Blocks */
.blocks-section {
    background: var(--color-white);
}

.blocks-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 25px;
}
@media (max-width: 1200px) {    .blocks-grid {        grid-template-columns: repeat(2, minmax(0, 1fr));    }}@media (max-width: 600px) {    .blocks-grid {        grid-template-columns: 1fr;    }}

.stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 180px;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow: hidden;
    padding: 25px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: 15px;
    opacity: 0.8;
}
.stat-content {
    flex: none;
    width: 100%;
}

.stat-number {
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.2;
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
    font-size: clamp(1.2rem, 2.5vw, 2rem);
}

.stat-label {
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    height: 3em;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.95rem;
    opacity: 0.9;
    margin-top: 10px;
}

/* News Section */
.news-section {
    background: var(--color-secondary-lightest);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.news-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.news-image {
    height: 200px;
    overflow: hidden;
}

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

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

.news-content {
    padding: 25px;
}

.news-date {
    display: block;
    color: var(--color-primary-light);
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 10px;
}

.news-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 10px;
    line-height: 1.3;
}

.news-excerpt {
    color: var(--color-gray-600);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.news-link {
    color: var(--color-primary-light);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

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

.news-more {
    text-align: center;
    margin-top: 40px;
}

/* Footer */
.footer {
    position: relative;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 80px 0 30px;
    overflow: hidden;
}

.footer-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.footer-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-overlay);
}

.footer-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.25rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-section p,
.footer-section li {
    margin-bottom: 10px;
    opacity: 0.9;
}

.footer-section a {
    color: var(--color-secondary-light);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--color-white);
}

.footer-section ul {
    list-style: none;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
}

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

.footer-bottom {
    position: relative;
    z-index: 1;
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}

/* Animations */
.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
}

/* Scroll animations handled by GSAP */

/* Breadcrumbs */
.breadcrumbs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    font-size: 0.9rem;
    color: var(--color-gray-600);
}

.breadcrumbs a {
    color: var(--color-primary-light);
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs .current {
    color: var(--color-gray-800);
    font-weight: 500;
}

/* News Detail Page */
.news-detail {
    padding-top: 120px;
    padding-bottom: 60px;
    min-height: 60vh;
}

.news-detail-header {
    margin-bottom: 30px;
}

.news-detail-date {
    display: block;
    color: var(--color-primary-light);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 15px;
}

.news-detail-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--color-primary);
    line-height: 1.2;
}

.news-detail-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: var(--shadow-lg);
}

.news-detail-image img {
    width: 100%;
    height: auto;
    display: block;
}

.news-detail-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-gray-800);
    max-width: 800px;
}

.news-detail-content p {
    margin-bottom: 20px;
}

/* News List Page */
.news-list-page {
    padding-top: 120px;
    padding-bottom: 60px;
    min-height: 60vh;
}

.news-list-page .section-title {
    text-align: left;
    margin-bottom: 40px;
}

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
}

.page-info {
    color: var(--color-gray-600);
    font-weight: 500;
}

/* District Detail Page */
.district-detail {
    padding-top: 120px;
    padding-bottom: 60px;
    min-height: 60vh;
}

.district-detail-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 4px solid;
}

.district-detail-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--color-primary);
}

.district-detail-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: var(--shadow-lg);
}

.district-detail-image img {
    width: 100%;
    height: auto;
    display: block;
}

.district-detail-content {
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 800px;
}

.district-detail-content p {
    margin-bottom: 20px;
}

.district-stats {
    margin-top: 40px;
    margin-bottom: 40px;
}

.district-stats h2 {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.stat-item {
    background: var(--color-white);
    padding: 20px 25px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.stat-item-label {
    font-size: 0.875rem;
    color: var(--color-gray-600);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.stat-item-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

/* Leaflet popup styling */
.district-popup h3 {
    color: var(--color-primary);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.district-popup p {
    color: var(--color-gray-600);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

/* Map tiles blue tint */
.map-tiles {
    filter: hue-rotate(200deg) saturate(1.2);
}

/* Districts/Contacts Section - Different Background */
.districts-section {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 60px 0;
}
