/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1e3a8a;
    --secondary-color: #3b82f6;
    --accent-color: #f59e0b;
    --success-color: #10b981;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
}

@font-face {
	font-family: Matter;
	src: url(../fonts/MatterThin.woff2)format("woff2"), url(../fonts/MatterThin.woff)format("woff");
	font-weight: 100;
	font-style: normal;
	font-display: swap;
	font-synthesis: none
}

@font-face {
	font-family: Matter;
	src: url(../fonts/MatterLight.woff2)format("woff2"), url(../fonts/MatterLight.woff)format("woff");
	font-weight: 300;
	font-style: normal;
	font-display: swap;
	font-synthesis: none
}

@font-face {
	font-family: Matter;
	src: url(../fonts/MatterRegular.woff2)format("woff2"), url(../fonts/MatterRegular.woff)format("woff");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
	font-synthesis: none
}

@font-face {
	font-family: Matter;
	src: url(../fonts/MatterMedium.woff2)format("woff2"), url(../fonts/MatterMedium.woff)format("woff");
	font-weight: 500;
	font-style: normal;
	font-display: swap;
	font-synthesis: none
}

@font-face {
	font-family: Matter;
	src: url(../fonts/MatterSemiBold.woff2)format("woff2"), url(../fonts/MatterSemiBold.woff)format("woff");
	font-weight: 600;
	font-style: normal;
	font-display: swap;
	font-synthesis: none
}

@font-face {
	font-family: Matter;
	src: url(../fonts/MatterBold.woff2)format("woff2"), url(../fonts/MatterBold.woff)format("woff");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
	font-synthesis: none
}

@font-face {
	font-family: Matter;
	src: url(../fonts/MatterHeavy.woff2)format("woff2"), url(../fonts/MatterHeavy.woff)format("woff");
	font-weight: 800;
	font-style: normal;
	font-display: swap;
	font-synthesis: none
}

@font-face {
	font-family: Matter;
	src: url(../fonts/MatterBlack.woff2)format("woff2"), url(../fonts/MatterBlack.woff)format("woff");
	font-weight: 900;
	font-style: normal;
	font-display: swap;
	font-synthesis: none
}

@font-face {
	font-family: Season Mix;
	src: url(../fonts/SeasonMix-Light.woff2)format("woff2"), url(../fonts/SeasonMix-Light.woff)format("woff");
	font-weight: 300;
	font-style: normal;
	font-display: swap
}

@font-face {
	font-family: Season Mix;
	src: url(../fonts/SeasonMix-Regular.woff2)format("woff2"), url(../fonts/SeasonMix-Regular.woff)format("woff");
	font-weight: 400;
	font-style: normal;
	font-display: swap
}

@font-face {
	font-family: Season Mix;
	src: url(../fonts/SeasonMix-Medium.woff2)format("woff2"), url(../fonts/SeasonMix-Medium.woff)format("woff");
	font-weight: 500;
	font-style: normal;
	font-display: swap
}

@font-face {
	font-family: Season Mix;
	src: url(../fonts/SeasonMix-SemiBold.woff2)format("woff2"), url(../fonts/SeasonMix-SemiBold.woff)format("woff");
	font-weight: 600;
	font-style: normal;
	font-display: swap
}

@font-face {
	font-family: Season Mix;
	src: url(../fonts/SeasonMix-Bold.woff2)format("woff2"), url(../fonts/SeasonMix-Bold.woff)format("woff");
	font-weight: 700;
	font-style: normal;
	font-display: swap
}

@font-face {
	font-family: Season Mix;
	src: url(../fonts/SeasonMix-Heavy.woff2)format("woff2"), url(../fonts/SeasonMix-Heavy.woff)format("woff");
	font-weight: 800;
	font-style: normal;
	font-display: swap
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #FAFAFA;
}

.contact-chat-widget {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1600;
}

.contact-chat-toggle {
    width: 54px;
    height: 54px;
    border: 0;
    border-radius: 999px;
    background: #0A59C8;
    color: #fff;
    box-shadow: 0 18px 40px rgba(21, 58, 122, 0.28);
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-chat-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 48px rgba(21, 58, 122, 0.34);
}

.contact-chat-toggle svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

.contact-chat-panel {
    position: absolute;
    right: 0;
    bottom: 80px;
    width: min(380px, calc(100vw - 32px));
    border: 1px solid rgba(21, 58, 122, 0.12);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 28px 60px rgba(15, 23, 42, 0.18);
    backdrop-filter: blur(14px);
    padding: 18px;
    opacity: 0;
    transform: translateY(16px) scale(0.98);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.contact-chat-panel.is-open {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.contact-chat-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.contact-chat-kicker {
    margin: 0 0 4px;
    color: #0f6c5f;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
}

.contact-chat-header h3 {
    margin: 0;
    font-family: 'Season Mix', Georgia, serif;
    font-size: 28px;
    line-height: 1;
    color: #14213d;
}

.contact-chat-close {
    border: 0;
    background: transparent;
    font-size: 28px;
    line-height: 1;
    color: #6b7280;
    cursor: pointer;
}

.contact-chat-form {
    display: grid;
    gap: 10px;
}

.contact-chat-form label {
    font-size: 13px;
    font-weight: 700;
    color: #334155;
}

.contact-chat-form input,
.contact-chat-form textarea {
    width: 100%;
    border: 1px solid #d7deea;
    border-radius: 14px;
    background: #fff;
    color: #0f172a;
    padding: 12px 14px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-chat-form input:focus,
.contact-chat-form textarea:focus {
    border-color: #153a7a;
    box-shadow: 0 0 0 4px rgba(21, 58, 122, 0.1);
}

.contact-chat-form textarea {
    resize: vertical;
    min-height: 110px;
}

.contact-chat-recaptcha-wrap {
    display: grid;
    gap: 8px;
    margin-top: 4px;
}

.contact-chat-recaptcha-note {
    margin: 0;
    font-size: 12px;
    color: #64748b;
}

.contact-chat-status {
    min-height: 20px;
    margin: 2px 0 0;
    font-size: 13px;
    font-weight: 600;
}

.contact-chat-status.is-success {
    color: #0f8a53;
}

.contact-chat-status.is-error {
    color: #c2410c;
}

.contact-chat-submit {
    border: 0;
    border-radius: 14px;
    background: #376DCE;
    color: #fff;
    padding: 13px 16px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.contact-chat-submit:hover {
    transform: translateY(-1px);
}

.contact-chat-submit:disabled {
    opacity: 0.7;
    cursor: wait;
}

.contact-chat-submit-spinner {
    width: 14px;
    height: 14px;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    animation: contact-chat-spin 0.75s linear infinite;
    display: none;
}

.contact-chat-submit.is-loading .contact-chat-submit-spinner {
    display: inline-block;
}

@keyframes contact-chat-spin {
    to {
        transform: rotate(360deg);
    }
}

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

/* Header Styles */
.header {
    background: var(--bg-white);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background: var(--primary-color);
    color: white;
    padding: 8px 0;
}

.header-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.govt-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.govt-logo img {
    height: 30px;
}

.govt-text {
    font-weight: 600;
}

.header-links {
    display: flex;
    gap: 20px;
}

.header-links a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: opacity 0.3s;
}

.header-links a:hover {
    opacity: 0.8;
}

.header-main {
    padding: 15px 0;
}

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

@media (max-width: 640px) {
    .contact-chat-widget {
        right: 16px;
        bottom: 16px;
    }

    .contact-chat-panel {
        right: 0;
        bottom: 76px;
        width: min(360px, calc(100vw - 20px));
        border-radius: 20px;
        padding: 16px;
    }

    .contact-chat-toggle {
        width: 42px;
        height: 42px;
    }

    .contact-chat-header h3 {
        font-size: 24px;
    }
}

.logo-section {
    display: flex;
    flex-direction: column;
}

.site-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.site-subtitle {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
}

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

.main-nav a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-color);
}

.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero-content h2 {
    font-size: 42px;
    margin-bottom: 15px;
    font-weight: 500;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn {
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

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

.btn-primary:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

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

/* Quick Stats Section */
.quick-stats {
    padding: 50px 0;
    background: var(--bg-white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.stat-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 25px;
    display: flex;
    gap: 20px;
    align-items: center;
    transition: all 0.3s;
    box-shadow: var(--shadow);
}

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

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    flex-shrink: 0;
}

.stat-content h3 {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 8px;
    font-weight: 500;
}

.stat-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 5px;
}

.stat-change {
    font-size: 12px;
    color: var(--text-light);
}

.stat-change.positive {
    color: var(--success-color);
}

/* Main Content */
.main-content {
    padding: 50px 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    color: var(--text-color);
    margin-bottom: 25px;
    padding-bottom: 10px;
    /* border-bottom: 3px solid var(--primary-color); */
}

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

.feature-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: var(--bg-white);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.feature-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--secondary-color);
}

.feature-item i {
    font-size: 32px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.feature-item h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text-color);
}

.feature-item p {
    color: var(--text-light);
    font-size: 14px;
}

/* Category Grid */
.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.category-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.category-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
    border-color: var(--secondary-color);
}

.category-card i {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.category-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.category-card p {
    font-size: 14px;
    color: var(--text-light);
}

/* News Section */
.news-section {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-item {
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.news-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.news-date {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.news-item h3 {
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--text-color);
}

.news-item p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.news-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.news-link:hover {
    text-decoration: underline;
}

/* Quick Links */
.quick-links {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 25px;
}

.links-list {
    list-style: none;
}

.links-list li {
    margin-bottom: 12px;
}

.links-list a {
    color: var(--text-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 5px;
    transition: all 0.3s;
}

.links-list a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.links-list i {
    color: var(--primary-color);
    width: 20px;
}

/* Footer - glow SVG layer + content */
.footer {
    position: relative;
    background: var(--text-color);
    color: white;
    padding: 50px 0 20px;
    margin-top: 50px;
    overflow: hidden;
}
.footer-glow {
    position: absolute;
    inset: 0;
    top: -20%;
    left: 50%;
    width: 120%;
    max-width: none;
    transform-origin: center bottom;
    transform: translateX(-50%) scaleX(2) scaleY(3);
    transition: transform 0.9s cubic-bezier(0.25, 0.1, 0.25, 1);
    pointer-events: none;
    z-index: 0;
    display: none;
}
.footer-glow-svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
    display: block;
}
.footer-inner {
    position: relative;
    z-index: 1;
}

.footer-content {
    display: grid;
    /* Desktop: always 3 columns */
    grid-template-columns: repeat(4, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

@media (max-width: 900px) {
    .footer-content {
        grid-template-columns: repeat(2, minmax(220px, 1fr));
    }
}
@media (max-width: 520px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
}

.footer-section h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: white;
}

.footer-section p {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
}

.footer-tagline-rest {
    display: inline;
}

.footer-logo {
    display: block;
    width: 80px;
    height: auto;
    margin-top: 14px;
    /* opacity: 0.95; */
    padding-bottom: 10px;
}

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

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

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-section i {
    margin-right: 8px;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}
.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: transform 0.2s, opacity 0.2s;
}
.footer-social a:hover {
    opacity: 0.9;
    transform: scale(1.08);
}
.footer-social a i {
    margin-right: 0;
    font-size: 18px;
}
.footer-social a[aria-label="Instagram"] { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); color: #fff; }
.footer-social a[aria-label="X (Twitter)"] { background: #14171a; color: #fff; }
.footer-social a[aria-label="Facebook"] { background: #1877f2; color: #fff; }
.footer-social-x-icon { display: block; width: 18px; height: 18px; }
.footer-social a .footer-social-x-icon { color: inherit; }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

/* Statistics Page Styles */
.page-header {
    margin-bottom: 30px;
}

.page-header h1 {
    font-size: 36px;
    color: var(--text-color);
    margin-bottom: 10px;
}

.page-header p {
    font-size: 18px;
    color: var(--text-light);
}

.statistics-filters {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: flex-end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    min-width: 200px;
}

.filter-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
}

.statistics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
}

.stat-card-large {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 25px;
    transition: all 0.3s;
    box-shadow: var(--shadow);
}

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

.stat-card-large h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
}

.stat-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.stat-row span {
    color: var(--text-light);
    font-size: 14px;
}

.stat-row strong {
    color: var(--text-color);
    font-size: 16px;
    font-weight: 600;
}

.stat-row strong.positive {
    color: var(--success-color);
}

.view-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    transition: all 0.3s;
}

.view-more:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

/* Data Page Styles */
.data-search-section {
    margin-bottom: 30px;
}

.search-box {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    display: flex;
    gap: 15px;
    align-items: center;
    box-shadow: var(--shadow);
}

.search-box i {
    color: var(--text-light);
    font-size: 20px;
}

.search-input-large {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 16px;
    transition: all 0.3s;
}

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

.data-categories-section {
    margin-bottom: 30px;
}

.category-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 15px;
    justify-content: center;
    align-items: center;
}

.tab-btn {
    padding: 10px 20px;
    border: 1px solid var(--border-color);
    background: var(--bg-white);
    border-radius: 24px;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-color);
    transition: all 0.3s;
}

.tab-btn:hover {
    border-color: var(--secondary-color);
    color: var(--primary-color);
}

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

.datasets-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.dataset-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 25px;
    transition: all 0.3s;
    box-shadow: var(--shadow);
}

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

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

.dataset-header h3 {
    font-size: 20px;
    color: var(--text-color);
    margin: 0;
}

.dataset-badge {
    background: var(--primary-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.dataset-description {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.6;
}

.dataset-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--text-light);
}

.dataset-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

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

.dataset-actions {
    display: flex;
    gap: 10px;
}

.dataset-actions .btn {
    padding: 10px 20px;
    font-size: 14px;
}

/* Reports Page Styles */
.reports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 25px;
}

.report-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 25px;
    display: flex;
    gap: 20px;
    transition: all 0.3s;
    box-shadow: var(--shadow);
}

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

.report-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    flex-shrink: 0;
}

.report-content {
    flex: 1;
}

.report-content h3 {
    font-size: 20px;
    color: var(--text-color);
    margin-bottom: 10px;
}

.report-content p {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.6;
}

.report-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--text-light);
}

.report-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

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

.report-actions {
    display: flex;
    gap: 10px;
}

/* About Page Styles */
.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-section {
    margin-bottom: 40px;
    text-align: center;
    background: var(--bg-white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.about-section h2 {
    font-size: 14px;
    background: #f8fafc;
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    margin: 0 auto 24px;
    display: inline-block;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.about-section p {
    color: var(--text-color);
    line-height: 1.8;
    margin: 0 auto 15px;
    max-width: 800px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
    justify-content: center;
}

.feature-box {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s;
    box-shadow: var(--shadow);
}

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

.feature-box i {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.feature-box h3 {
    font-size: 18px;
    color: var(--text-color);
    margin-bottom: 10px;
}

.feature-box p {
    color: var(--text-light);
    font-size: 14px;
    margin: 0;
}

.category-list {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 0 auto;
}

.category-list li {
    padding: 15px;
    margin-bottom: 10px;
    background: var(--bg-white);
    border-left: 4px solid var(--primary-color);
    border-radius: 5px;
    box-shadow: var(--shadow);
    text-align: center;
}

.category-list strong {
    color: var(--primary-color);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    padding: 20px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
    max-width: 400px;
    width: 100%;
}

.contact-item i {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.contact-item strong {
    display: block;
    color: var(--text-color);
    margin-bottom: 5px;
}

.contact-item p {
    color: var(--text-light);
    margin: 0;
}

.terms-page .about-section {
    text-align: left;
}

.terms-page .about-section h2 {
    margin-left: 0;
    margin-right: 0;
}

.terms-page .about-section p,
.terms-page .about-section ul {
    max-width: none;
}

.terms-page .about-section ul {
    margin: 0;
    padding-left: 20px;
    color: var(--text-color);
    line-height: 1.8;
}

.terms-page .about-section li + li {
    margin-top: 8px;
}

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

    .main-nav ul {
        flex-wrap: wrap;
        gap: 15px;
        justify-content: center;
    }

    .hero-content h2 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

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

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    /* Footer: center-align on mobile / narrow viewports */
    .footer-content {
        justify-items: center;
    }

    .footer-section {
        text-align: center;
        width: 100%;
    }

    .footer-logo {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-tagline-rest {
        display: block;
    }

    .footer-section ul {
        padding-left: 0;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        justify-content: center;
        align-items: center;
    }

    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .category-grid {
        grid-template-columns: 1fr;
    }

    .header-top-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .header-links {
        justify-content: center;
    }
}

.summary-stats {
    display: none;
}

.dataset-badge {
    display: none;
}
/* Site-wide responsive & iOS fixes (mobile, tablet, laptop, desktop) */
@import url("responsive.css");
