@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Serif:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined');

.material-symbols-outlined {
    font-variation-settings:
        'FILL' 0,
        'wght' 400,
        'GRAD' 0,
        'opsz' 24
}

/* Site-wide CSS Variables and Base Styles */
:root {
    /* Light theme variables */
    --bg-primary: #faf8f3;
    --bg-secondary: #ffffff;
    --bg-tertiary: #f0f4f8;
    --text-primary: #2c3e50;
    --text-secondary: #5a6c7d;
    --text-muted: #8895a7;
    --accent-orange: #ff6b35;
    --accent-blue: #3498db;
    --border-color: #e8e8e8;
    --shadow-light: rgba(0, 0, 0, 0.05);
    --shadow-medium: rgba(0, 0, 0, 0.1);
    --shadow-heavy: rgba(0, 0, 0, 0.2);
    --gradient-hero: linear-gradient(135deg, #fff9f5 0%, #f0f4f8 100%);
    --gradient-stats: linear-gradient(135deg, #3498db 0%, #2c3e50 100%);
}

[data-theme="dark"] {
    /* Dark theme variables */
    --bg-primary: #0a0a0a;
    --bg-secondary: #1a1a2e;
    --bg-tertiary: #16213e;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-muted: #8895a7;
    --accent-orange: #ff6b35;
    --accent-blue: #6366f1;
    --border-color: #2a2a3e;
    --shadow-light: rgba(0, 0, 0, 0.3);
    --shadow-medium: rgba(0, 0, 0, 0.4);
    --shadow-heavy: rgba(0, 0, 0, 0.6);
    --gradient-hero: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
    --gradient-stats: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
}

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

body {
    /*font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;*/
    font-family: "IBM Plex Serif", Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    transition: background-color 0.3s ease, color 0.3s ease;
}

        /* Enhanced Navigation with Mobile Support - Hidden Initially */
        .navigation {
            background: transparent;
            padding: 20px 40px;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .navigation.scrolled {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(20px);
            box-shadow: 0 2px 20px var(--shadow-light);
            padding: 15px 40px;
        }

        [data-theme="dark"] .navigation.scrolled {
            background: rgba(26, 26, 46, 0.95);
        }

        .nav-container {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            height: 50px;
            width: auto;
            filter: none;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            opacity: 0;
            transform: translateY(-10px);
        }

        .navigation.scrolled .logo {
            opacity: 1;
            transform: translateY(0);
        }

        [data-theme="dark"] .logo {
            filter: brightness(0) invert(1);
        }

        /* Desktop Navigation */
        .nav-right {
            display: flex;
            align-items: center;
            gap: 30px;
            opacity: 0;
            transform: translateY(-10px);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            transition-delay: 0.1s;
        }

        .navigation.scrolled .nav-right {
            opacity: 1;
            transform: translateY(0);
        }

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

        .nav-links a {
            color: var(--text-primary);
            text-decoration: none;
            font-weight: 500;
            transition: color 0.3s ease;
            padding: 8px 12px;
            border-radius: 6px;
        }

        .nav-links a:hover {
            color: var(--accent-orange);
            background: rgba(255, 107, 53, 0.1);
        }

        /* Theme Toggle */
        .theme-toggle {
            background: none;
            border: 2px solid var(--border-color);
            border-radius: 25px;
            padding: 8px 12px;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 8px;
            color: var(--text-primary);
            font-size: 14px;
            transition: all 0.3s ease;
        }

        .theme-toggle:hover {
            color: var(--accent-orange);
            border-color: var(--accent-orange);
        }

        .theme-icon {
            font-size: 16px;
        }

        /* Mobile Menu Button */
        .mobile-menu-button {
            display: none;
            background: none;
            border: none;
            color: var(--text-primary);
            font-size: 24px;
            cursor: pointer;
            padding: 8px;
            border-radius: 6px;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            opacity: 0;
            transform: translateY(-10px);
        }

        .navigation.scrolled .mobile-menu-button {
            opacity: 1;
            transform: translateY(0);
        }

        .mobile-menu-button:hover {
            background: rgba(255, 107, 53, 0.1);
            color: var(--accent-orange);
        }

        /* Mobile Menu Overlay */
        .mobile-menu-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            background: rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(5px);
            z-index: 1001;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }

        .mobile-menu-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        /* Mobile Menu Drawer */
        .mobile-menu {
            position: fixed;
            top: 0;
            right: -100%;
            width: 320px;
            max-width: 85vw;
            height: 100vh;
            background: var(--bg-secondary);
            z-index: 1002;
            transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            overflow-y: auto;
            box-shadow: -5px 0 20px var(--shadow-heavy);
        }

        .mobile-menu.active {
            right: 0;
        }

        /* Mobile Menu Header */
        .mobile-menu-header {
            padding: 20px;
            border-bottom: 1px solid var(--border-color);
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: var(--bg-tertiary);
        }

        .mobile-menu-logo {
            height: 40px;
            filter: none;
        }

        [data-theme="dark"] .mobile-menu-logo {
            filter: brightness(0) invert(1);
        }

        .mobile-menu-close {
            background: none;
            border: none;
            color: var(--text-primary);
            font-size: 24px;
            cursor: pointer;
            padding: 8px;
            border-radius: 6px;
            transition: all 0.3s ease;
        }

        .mobile-menu-close:hover {
            background: rgba(255, 107, 53, 0.1);
            color: var(--accent-orange);
        }

        /* Mobile Menu Content */
        .mobile-menu-content {
            padding: 30px 0;
        }

        .mobile-nav-section {
            margin-bottom: 30px;
        }

        .mobile-nav-title {
            padding: 0 20px 15px;
            font-size: 14px;
            font-weight: 600;
            color: var(--text-muted);
            text-transform: uppercase;
            letter-spacing: 0.5px;
            border-bottom: 1px solid var(--border-color);
            margin-bottom: 15px;
        }

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

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

        .mobile-nav-links a {
            display: flex;
            align-items: center;
            padding: 15px 20px;
            color: var(--text-primary);
            text-decoration: none;
            font-weight: 500;
            transition: all 0.3s ease;
            position: relative;
        }

        .mobile-nav-links a:hover {
            background: rgba(255, 107, 53, 0.1);
            color: var(--accent-orange);
            padding-left: 30px;
        }

        .mobile-nav-links a::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            bottom: 0;
            width: 4px;
            background: var(--accent-orange);
            transform: scaleY(0);
            transition: transform 0.3s ease;
        }

        .mobile-nav-links a:hover::before {
            transform: scaleY(1);
        }

        .mobile-nav-icon {
            margin-right: 12px;
            font-size: 20px;
        }

        /* Mobile Theme Toggle */
        .mobile-theme-toggle {
            margin: 20px;
            padding: 15px 20px;
            background: var(--bg-tertiary);
            border: 2px solid var(--border-color);
            border-radius: 12px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: space-between;
            color: var(--text-primary);
            font-weight: 500;
            transition: all 0.3s ease;
        }

        .mobile-theme-toggle:hover {
            border-color: var(--accent-orange);
            background: rgba(255, 107, 53, 0.1);
        }

        .mobile-theme-content {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        /* Contact CTA in Mobile Menu */
        .mobile-contact-cta {
            margin: 20px;
            padding: 15px 20px;
            background: linear-gradient(135deg, var(--accent-orange) 0%, #e55a2b 100%);
            color: white;
            text-decoration: none;
            border-radius: 12px;
            font-weight: 600;
            text-align: center;
            transition: all 0.3s ease;
            display: block;
            box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
        }

        .mobile-contact-cta:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .nav-right {
                display: none;
            }

            .mobile-menu-button {
                display: block;
            }

            .navigation {
                padding: 20px;
            }

            .navigation.scrolled {
                padding: 15px 20px;
            }

            .logo {
                height: 45px;
            }

            .navigation.scrolled .logo {
                height: 40px;
            }

            .theme-toggle {
                display: none;
            }
        }

        @media (max-width: 480px) {
            .mobile-menu {
                width: 100%;
                max-width: 100vw;
            }

            .mobile-menu-header {
                padding: 15px;
            }

            .mobile-nav-links a {
                padding: 12px 15px;
            }

            .mobile-theme-toggle,
            .mobile-contact-cta {
                margin: 15px;
            }
        }

/* Shared Typography */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.header {
    text-align: center;
    margin-bottom: 60px;
}

.header h1 {
    font-size: 2.5em;
    font-weight: 500;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.header .subtitle {
    color: var(--text-secondary);
    font-size: 1.1em;
}

.section-title {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 60px;
}

/* Shared Content Styles */
.content h2 {
    color: var(--text-primary);
    margin: 40px 0 20px 0;
    font-size: 1.5em;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 10px;
}

.content h3 {
    color: var(--text-primary);
    margin: 30px 0 15px 0;
    font-size: 1.2em;
}

.content p {
    margin-bottom: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.content ul,
.content ol {
    margin: 15px 0 15px 30px;
    color: var(--text-secondary);
}

.content li {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* Shared Card Components */
.highlight {
    background: rgba(255, 107, 53, 0.1);
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid var(--accent-orange);
    margin: 20px 0;
}

.info-box {
    background: rgba(52, 152, 219, 0.1);
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid var(--accent-blue);
    margin: 20px 0;
}

.last-updated {
    background: var(--bg-secondary);
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid var(--accent-orange);
    margin-bottom: 40px;
}

/* Shared Table Styles */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: var(--bg-secondary);
    border-radius: 10px;
    overflow: hidden;
}

.data-table th,
.data-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.data-table th {
    background: var(--accent-orange);
    color: white;
    font-weight: 600;
}

.data-table td {
    color: var(--text-secondary);
}

/* Shared Contact Components */
.contact-info {
    background: var(--bg-secondary);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    margin-top: 40px;
}

.contact-info h3 {
    color: var(--text-primary);
    margin-bottom: 15px;
}

.contact-info p {
    color: var(--text-secondary);
}

.contact-info a {
    color: var(--accent-orange);
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Shared Button Styles */
.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--accent-orange);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(255, 107, 53, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.4);
}

.secondary-button {
    display: flex;
    padding: 15px 40px;
    background: transparent;
    color: var(--accent-blue);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    border: 2px solid var(--accent-blue);
    transition: all 0.3s ease;
    align-items: center;
}

.secondary-button:hover {
    background: var(--accent-blue);
    color: white;
}

/* Footer - Shared across all pages */
footer {
    background: var(--bg-tertiary);
    color: white;
    padding: 60px 20px 30px;
    /*margin-top: 60px;*/
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    color: var(--accent-orange);
    margin-bottom: 20px;
    font-size: 1.2em;
}

.footer-section p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 15px;
}

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

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

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-orange);
}

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

.footer-bottom p {
    color: var(--text-secondary);
}

.legal-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.legal-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9em;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: var(--accent-blue);
}

/* Responsive Design - Base breakpoints */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .header h1 {
        font-size: 2em;
    }

    .container {
        padding: 40px 15px;
    }

    .data-table {
        font-size: 14px;
    }

    .data-table th,
    .data-table td {
        padding: 10px;
    }

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

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

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

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

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

.mb-1 {
    margin-bottom: 10px;
}

.mb-2 {
    margin-bottom: 20px;
}

.mb-3 {
    margin-bottom: 30px;
}

.mb-4 {
    margin-bottom: 40px;
}

.mt-1 {
    margin-top: 10px;
}

.mt-2 {
    margin-top: 20px;
}

.mt-3 {
    margin-top: 30px;
}

.mt-4 {
    margin-top: 40px;
}

.p-1 {
    padding: 10px;
}

.p-2 {
    padding: 20px;
}

.p-3 {
    padding: 30px;
}

.p-4 {
    padding: 40px;
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.slide-up {
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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


/* Additional styling for integrated metrics */
.integrated-metric {
    /*background: rgba(255, 255, 255, 0.15) !important;
            border: 1px solid rgba(255, 255, 255, 0.2) !important;*/
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/*.integrated-metric:hover {
            background: rgba(255, 255, 255, 0.25) !important;
            transform: translateY(-3px);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        }*/

.integrated-metric .metric-value {
    color: white !important;
    font-size: 2.2em;
    font-weight: bold;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.integrated-metric .metric-label {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 0.9em;
    margin-bottom: 12px;
    font-weight: 500;
}

.integrated-metric .metric-progress {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 10px;
}

.integrated-metric .metric-progress-fill {
    height: 100%;
    border-radius: 2px;
    transition: width 2s ease-out;
}

.integrated-progress-1 {
    background: linear-gradient(45deg, #ff6b35, #ff8c42);
    width: 75%;
    animation: integratedProgress1 2s ease-out;
}

.integrated-progress-2 {
    background: linear-gradient(45deg, #3498db, #5dade2);
    width: 80%;
    animation: integratedProgress2 2s ease-out;
    animation-delay: 0.3s;
}

.integrated-progress-3 {
    background: linear-gradient(45deg, #2ecc71, #58d68d);
    width: 95%;
    animation: integratedProgress3 2s ease-out;
    animation-delay: 0.6s;
}

.integrated-progress-4 {
    background: linear-gradient(45deg, #9b59b6, #bb6bd9);
    width: 90%;
    animation: integratedProgress4 2s ease-out;
    animation-delay: 0.9s;
}

@keyframes integratedProgress1 {
    from {
        width: 0%;
    }

    to {
        width: 75%;
    }
}

@keyframes integratedProgress2 {
    from {
        width: 0%;
    }

    to {
        width: 80%;
    }
}

@keyframes integratedProgress3 {
    from {
        width: 0%;
    }

    to {
        width: 95%;
    }
}

@keyframes integratedProgress4 {
    from {
        width: 0%;
    }

    to {
        width: 90%;
    }
}

.integrated-metric .metric-trend {
    font-size: 0.75em;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 500;
}

.integrated-metric .metric-trend .material-symbols-outlined {
    font-size: 16px;
    opacity: 0.9;
}

/*.integrated-metric::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 3px;
            height: 100%;
            background: linear-gradient(180deg, #ff6b35, #3498db, #2ecc71, #9b59b6);
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        
        .integrated-metric:hover::before {
            opacity: 1;
        }*/

/* Animation trigger for metrics when scrolled into view */
.metrics-grid-enhanced {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

.metrics-grid-enhanced.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .integrated-metric .metric-value {
        font-size: 1.8em;
    }

    .integrated-metric .metric-label {
        font-size: 0.85em;
    }

    .integrated-metric .metric-trend {
        font-size: 0.7em;
    }
}