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

/* Base Styles */
:root {
    --primary-color: #7dc045; /* Green */
    --primary-dark: #659e35;
    --primary-light: #f7fee7;
    --secondary-color: #64748b;
    --bg-light: #f8fafb;
    --card-bg: #ffffff;
    --border-color: #e5e7eb;
    --input-bg: #f1f5f9;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --radius: 10px;
    --shadow: 0 4px 12px rgba(0,0,0,0.05);
    --transition: all 0.2s ease-in-out;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

body {
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-light);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-size: 0.9375rem;
    font-weight: 400;
}

/* Navigation Styles */
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.75rem 2rem;
}

nav {
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    color: #0f172a;
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: none;
    letter-spacing: -0.02em;
    text-decoration: none;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 16px;
}
.logo img {
    height: 54px !important;
    transition: transform 0.2s ease;
}
.logo:hover img {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-links li {
    margin-left: 1.5rem;
}

.nav-links a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    padding: 0.5rem 0;
    position: relative;
    white-space: nowrap;
}

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

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.nav-submit-btn {
    background-color: var(--primary-color) !important;
    color: white !important;
    padding: 0.65rem 1.5rem !important;
    border: none !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.8rem !important;
    border-radius: var(--radius) !important;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(125, 192, 69, 0.2);
}

.nav-submit-btn:hover {
    background-color: var(--primary-dark) !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(125, 192, 69, 0.3);
}

.nav-submit-btn.active::after {
    display: none;
}

/* Hero Section */
.hero {
    background: white;
    color: var(--text-main);
    padding: 4rem 5%;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

/* Main Content */
main {
    flex: 1;
    padding: 2rem 0;
}

/* Datasets Table Styles */
.datasets-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.datasets-table-container {
    width: 100%;
    overflow-x: auto;
    margin-bottom: 1.5rem;
    border: none;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.datasets-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    font-size: 0.9rem;
}

.datasets-table th,
.datasets-table td {
    padding: 1.25rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

.datasets-table th {
    background-color: #f8fafc;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.datasets-table th:hover {
    background-color: #e5e7eb;
}

.datasets-table th i {
    margin-left: 0.5rem;
    color: var(--secondary-color);
    font-size: 0.7em;
}

.datasets-table tbody tr {
    transition: all 0.2s ease;
}

.datasets-table tbody tr:nth-child(even) {
    background-color: #f9fafb;
}

.datasets-table tbody tr:hover {
    background-color: #f1f5f9;
}

.datasets-table tbody tr:last-child td {
    border-bottom: none;
}

.datasets-table td {
    color: #374151;
}

/* Compact mode */
.datasets-table.compact th,
.datasets-table.compact td {
    padding: 0.6rem 0.8rem;
    font-size: 0.85rem;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .datasets-table {
        font-size: 0.85rem;
    }

    .datasets-table th,
    .datasets-table td {
        padding: 0.7rem 0.8rem;
    }
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #2d3748;
    transition: all 0.2s ease-in-out;
}

.form-label {
    color: #2d3748;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-control,
.form-select {
    padding: 0.75rem 1rem;
    border: none;
    background-color: var(--input-bg);
    border-radius: var(--radius);
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
    background-color: #e2e8f0;
    box-shadow: 0 0 0 2px rgba(13, 148, 136, 0.1);
    outline: none;
}

.input-group-text {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #4a6fa5;
    padding: 0.75rem 1rem;
    transition: all 0.2s ease-in-out;
}

.input-group:focus-within .input-group-text {
    border-color: #4a6fa5;
    background-color: #edf2f7;
}

.form-text {
    font-size: 0.875rem;
    color: #718096;
    margin-top: 0.25rem;
}

/* Form Steps */
.step-indicator {
    width: 40px;
    height: 40px;
    border-radius: 0;
    background-color: #f3f4f6;
    color: var(--secondary-color);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    position: relative;
    z-index: 1;
    transition: all 0.2s ease;
}

.step-line {
    flex: 1;
    height: 3px;
    background-color: #e2e8f0;
    margin: 0 -10px;
    position: relative;
    top: 20px;
}

.step-indicator.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: none;
}

.step-indicator.completed {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
}

/* Form Steps Content */
.form-step {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.form-step.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

/* Multiselect Styles */
.multiselect {
    position: relative;
    width: 100%;
}

.select-box {
    position: relative;
    cursor: pointer;
}

.select-box select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    background-color: white;
    appearance: none;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.checkboxes {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    max-height: 300px;
    overflow-y: auto;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    margin-top: 0.25rem;
    z-index: 1000;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    padding: 0.5rem;
}

.checkboxes.show {
    display: block;
    animation: fadeIn 0.2s ease-in-out;
}

.country-list {
    max-height: 250px;
    overflow-y: auto;
    padding: 0.25rem;
}

.country-list .form-check {
    padding: 0.5rem;
    margin: 0.25rem 0;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
}

.country-list .form-check:hover {
    background-color: #f8fafc;
}

.country-list .form-check-input {
    margin-top: 0.25rem;
}

.country-list .form-check-label {
    margin-left: 0.5rem;
    cursor: pointer;
}

/* Selected Tags */
.selected-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.tag {
    background-color: #e2e8f0;
    color: #2d3748;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.tag-remove {
    color: #64748b;
    cursor: pointer;
    font-size: 1.25rem;
    line-height: 1;
    padding: 0.125rem;
    margin-left: 0.25rem;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.tag-remove:hover {
    background-color: #cbd5e0;
    color: #1a202c;
}

/* Form Actions */
.form-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 1rem;
    }

    .form-row .form-group {
        width: 100%;
    }

    .step-indicator {
        width: 32px;
        height: 32px;
        font-size: 0.875rem;
    }

    .step-line {
        top: 16px;
    }
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: var(--transition);
    gap: 0.5rem;
    border: 1px solid transparent;
    cursor: pointer;
}

.btn-lg {
    padding: 0.875rem 1.75rem;
    font-size: 0.95rem;
}

.btn-sm {
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: none;
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.2);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(13, 148, 136, 0.3);
}

.btn-outline-secondary {
    background-color: transparent;
    border-color: var(--border-color);
    color: var(--secondary-color);
}

.btn-outline-secondary:hover {
    background-color: #f3f4f6;
    border-color: #d1d5db;
    color: var(--primary-color);
}

.btn-success {
    background-color: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}

.btn-success:hover {
    background-color: #6da93f;
    border-color: #6da93f;
}

.btn-link {
    color: #4a6fa5;
    text-decoration: none;
    padding: 0.5rem 1rem;
    background: none;
    border: none;
}

.btn-link:hover {
    text-decoration: underline;
    color: #3a5a8c;
}

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

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

.animate-slide-up {
    animation: slideInUp 0.3s ease-out forwards;
}

.form-group input[type="text"],
.form-group input[type="number"],
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 0;
    font-size: 0.95rem;
    transition: border-color 0.2s;
    background-color: white;
}

.form-group input[type="text"]:focus,
.form-group input[type="number"]:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary-color);
    outline: none;
}

.form-group textarea {
    min-height: 80px;
    resize: vertical;
}

.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

/* Multiselect Styles */
.multiselect {
    position: relative;
    width: 100%;
}

.select-box {
    position: relative;
    cursor: pointer;
}

.select-box select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background-color: white;
    appearance: none;
    cursor: pointer;
}

.over-select {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: transparent;
}

.checkboxes {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    max-height: 200px;
    overflow-y: auto;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    margin-top: 4px;
    z-index: 1000;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.checkboxes label {
    display: block;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

.checkboxes label:hover {
    background-color: #f7fafc;
}

.checkboxes input[type="checkbox"] {
    margin-right: 0.75rem;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    overflow-y: auto;
    padding: 2rem 1rem;
}

.modal-content {
    position: relative;
    background-color: white;
    margin: 2rem auto;
    max-width: 700px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.modal-header {
    padding: 1.5rem;
    background-color: #4a6fa5;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
}

.modal-body {
    padding: 1.5rem;
}

.close {
    font-size: 1.8rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
}

.close:hover {
    color: #e2e8f0;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
    margin-top: 2rem;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 1.2rem;
    border: 1px solid transparent;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.btn i {
    margin-right: 0.5rem;
}

.btn-primary {
    background-color: #4a6fa5;
    color: white;
    border-color: #3a5a8c;
}

.btn-primary:hover {
    background-color: #3a5a8c;
}

.btn-outline {
    background-color: transparent;
    border: 1px solid #e2e8f0;
    color: #4a5568;
}

.btn-outline:hover {
    background-color: #f7fafc;
    border-color: #cbd5e0;
}

/* Datasets Header */
.datasets-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.datasets-header h3 {
    margin: 0;
    font-size: 1.5rem;
    color: #2d3748;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

#pageInfo {
    font-weight: 500;
    color: #495057;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .datasets-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .datasets-table th,
    .datasets-table td {
        padding: 0.75rem 0.5rem;
        font-size: 0.9rem;
    }
}

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

.page-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e0e0e0;
}

/* Cards */
.card {
    background: white;
    border-radius: 0;
    border: 1px solid var(--border-color);
    box-shadow: none;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

/* CMS Content Pages (About, FAQ) */
.cms-content {
    padding: 2rem 0 4rem;
    color: var(--text-main);
}

.cms-content .hero {
    background: linear-gradient(180deg, #f4faee 0%, #ffffff 100%);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 3.25rem 2rem;
    margin-bottom: 2.25rem;
    text-align: center;
}
.cms-content .hero h1 {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0f172a;
    margin-bottom: 1rem;
}
.cms-content .hero p {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.7;
}

.cms-content .card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    box-shadow: var(--shadow);
    padding: 2rem 2.25rem;
    margin-bottom: 1.5rem;
}
.cms-content .card h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #eef1f5;
}
.cms-content .card h2::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 1.05em;
    background: var(--primary-color);
    border-radius: 3px;
    margin-right: 0.6rem;
    vertical-align: -0.12em;
}
.cms-content .card p {
    color: #475569;
    line-height: 1.8;
    margin-bottom: 0.75rem;
}
.cms-content .card ul {
    padding-left: 1.25rem;
    margin: 0.25rem 0 0;
}
.cms-content .card li {
    color: #475569;
    line-height: 1.8;
    padding: 0.2rem 0;
}
.cms-content .card li::marker { color: var(--primary-color); }
.cms-content .card a { color: var(--primary-color); font-weight: 600; }
.cms-content .card a:hover { color: var(--primary-dark); }

/* CMS page hero + Word-pasted content typography */
.cms-main { max-width: 960px; }

.cms-page-hero {
    background: linear-gradient(160deg, #5a9a32 0%, #3e711f 100%);
    color: #fff;
    border-radius: 16px;
    padding: 2.75rem 2.25rem;
    margin-bottom: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
}
.cms-page-hero h1 {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0;
    color: #fff;
}
.cms-eyebrow {
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    opacity: .85;
    margin-bottom: .5rem;
}

.cms-content .section-heading {
    font-size: 1.35rem !important;
    font-weight: 700;
    color: #0f172a;
    margin: 2rem 0 1rem;
    padding-bottom: .6rem;
    border-bottom: 2px solid #eef4e9;
}
.cms-content .section-heading span { font-size: inherit !important; }

.cms-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin: 1.75rem 0 .75rem;
}
.cms-content h3 span { font-size: inherit !important; }

.cms-content p,
.cms-content .MsoNormal {
    font-size: 1rem;
    line-height: 1.8;
    color: #475569;
    margin: 0 0 1.1rem;
}
.cms-content ol,
.cms-content ul {
    margin: 0 0 1.25rem;
    padding-left: 1.5rem;
}
.cms-content li {
    font-size: 1rem;
    line-height: 1.8;
    color: #475569;
    padding: .15rem 0;
}
.cms-content li p { margin: 0; }
.cms-content li::marker { color: var(--primary-color); }
.cms-content a { color: var(--primary-color); font-weight: 600; }
.cms-content a:hover { color: var(--primary-dark); }
.cms-content strong { color: #1f2937; }

@media (max-width: 768px) {
    .cms-content .hero { padding: 2.5rem 1.5rem; }
    .cms-content .hero h1 { font-size: 1.75rem; }
    .cms-content .card { padding: 1.5rem; }
    .cms-page-hero { padding: 2rem 1.5rem; }
    .cms-page-hero h1 { font-size: 1.6rem; }
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: white;
    margin-top: auto;
    border-top: 4px solid var(--accent-color);
}

/* View Page Styles */
.view-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1.5rem;
}

.section-card {
    background: #fff;
    border-radius: 0;
    box-shadow: none;
    padding: 2rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.section-card:hover {
    border-color: #d1d5db;
}

.section-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--border-color);
    font-weight: 700;
    font-size: 1.15rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.25rem;
}

.details-grid dt {
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 0.25rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.details-grid dd {
    margin-bottom: 1rem;
    color: var(--dark-color);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Badges */
.badge {
    font-weight: 500;
    padding: 0.35em 0.65em;
    border-radius: 50rem;
    font-size: 0.75em;
    letter-spacing: 0.3px;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    display: inline-flex;
    align-items: center;
    line-height: 1.2;
}

.badge i {
    margin-right: 0.25rem;
    font-size: 0.9em;
}

/* Tabs */
.nav-tabs {
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 1.5rem;
}

.nav-tabs .nav-link {
    border: none;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.75rem 1.25rem;
    margin-right: 0.5rem;
    border-radius: 0;
    transition: var(--transition);
    background: transparent;
}

.nav-tabs .nav-link:hover {
    color: var(--primary-color);
    background-color: #f3f4f6;
}

.nav-tabs .nav-link.active {
    color: var(--primary-color);
    background-color: transparent;
    border-bottom: 3px solid var(--accent-color);
}

/* Buttons */
.btn {
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn i {
    margin-right: 0.5rem;
}

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

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

/* Dataset Header */
.dataset-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.dataset-header h1 {
    color: var(--dark-color);
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}

.action-buttons {
    display: flex;
    gap: 0.75rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .details-grid {
        grid-template-columns: 1fr;
    }

    .dataset-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .action-buttons {
        width: 100%;
        flex-wrap: wrap;
    }

    .action-buttons .btn {
        flex: 1;
        min-width: 120px;
    }
}

/* Loading animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

.section-card {
    animation: fadeIn 0.3s ease-out forwards;
}

/* Tooltips */
[data-bs-toggle="tooltip"] {
    cursor: help;
    border-bottom: 1px dotted var(--secondary-color);
}

/* Footer */
.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 5%;
}

.footer-section {
    flex: 1;
    min-width: 200px;
    margin-bottom: 1.5rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #a5d6a7;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: #a5d6a7;
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem 0;
    background-color: #0f172a;
    font-size: 0.85rem;
    color: #9ca3af;
}

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

    .nav-links {
        margin-top: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-links li {
        margin: 0.5rem 1rem;
    }

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

    .footer-content {
        flex-direction: column;
    }

    .footer-section {
        margin-bottom: 2rem;
    }
}

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

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

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

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

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

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

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