:root {
    /* Primary Colors */
    --primary: #4DB6AC;
    --primary-dark: #00897B;
    --primary-light: #B2DFDB;
    --primary-50: #E0F2F1;
    --primary-900: #004D40;
    --primary-100: #A7D1CB;

    /* Secondary Colors */
    --secondary: #FF7043;
    --secondary-dark: #E64A19;
    --secondary-light: #FFAB91;

    /* Neutral Colors */
    --gray-50: #FAFAFA;
    --gray-100: #F5F5F5;
    --gray-200: #EEEEEE;
    --gray-300: #E0E0E0;
    --gray-400: #BDBDBD;
    --gray-500: #9E9E9E;
    --gray-600: #757575;
    --gray-700: #616161;
    --gray-800: #424242;
    --gray-900: #212121;

    /* Semantic Colors */
    --background: var(--gray-50);
    --foreground: var(--gray-900);
    --border: var(--gray-200);

    /* Component Colors */
    --navbar-bg: rgba(255, 255, 255, 0.95);
    --card-bg: white;
    --card-hover: var(--primary-50);
}

/* Dark mode colors */
[data-theme="dark"] {
    /* Primary Colors - Adjusted for dark mode */
    --primary: #5DC6BC;
    --primary-dark: #4DB6AC;
    --primary-light: #265E59;
    --primary-50: #1A3D3A;
    --primary-900: #B2DFDB;
    --primary-100: #2D6E68;

    /* Secondary Colors - Adjusted for dark mode */
    --secondary: #FF8A65;
    --secondary-dark: #FF7043;
    --secondary-light: #593225;

    /* Neutral Colors - Inverted for dark mode */
    --gray-50: #1A1A1A;
    --gray-100: #242424;
    --gray-200: #2A2A2A;
    --gray-300: #363636;
    --gray-400: #484848;
    --gray-500: #666666;
    --gray-600: #858585;
    --gray-700: #A3A3A3;
    --gray-800: #CFCFCF;
    --gray-900: #F5F5F5;

    /* Semantic Colors */
    --background: var(--gray-50);
    --foreground: var(--gray-100);
    --border: var(--gray-200);

    /* Component Colors */
    --navbar-bg: rgba(26, 26, 26, 0.95);
    --card-bg: var(--gray-100);
    --card-hover: var(--primary-50);

    /* Make all gray text white in dark mode - consolidated */
    p, li {
        color: white;
    }
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--foreground);
    background: var(--background);
}

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

/* Modern Sticky Navigation */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--navbar-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar.scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 0.75rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--primary-900);
}

.logo-image {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-900);
    text-decoration: none;
    display: inline-block;
    letter-spacing: -0.5px;
    text-transform: none;
    vertical-align: middle;
    margin-left: 0.5rem;
}

.logo:hover .logo-image {
    transform: scale(1.05);
}

.logo:hover .logo-text {
    color: var(--primary-900);
}

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

.app-link {
    color: var(--gray-600);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.app-link:hover {
    color: var(--primary-dark);
    background: var(--primary-50);
}

/* Navigation updates */
.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}


/* Categories Section */
.categories {
    padding: 2rem 0;
    background: var(--background);
}

.categories h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-900);
}

.categories-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.category-card {
    flex: 1;
    min-width: calc(33.33% - 1.5rem);
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.category-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(77, 182, 172, 0.1);
    background: var(--primary-50);
}

.category-icon {
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
    height: 4rem;
    width: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-50);
    border-radius: 1rem;
}

.category-card:hover .category-icon {
    transform: scale(1.1);
    background: var(--primary-100);
}

.category-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
    color: var(--gray-900);
}

.category-card p {
    color: var(--gray-600);
    line-height: 1.6;
}

@media (max-width: 992px) {
    .categories-grid {
        gap: 1.5rem;
        justify-content: center;
    }

    .category-card {
        min-width: calc(50% - 0.75rem);
        max-width: 500px;
    }
}

@media (max-width: 576px) {
    .categories-grid {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .category-card {
        min-width: 280px;
        max-width: 400px;
        width: 100%;
    }

    .categories h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
}

/* Hero Section */
.hero {
    padding: 2rem 0;
    background: var(--background);
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, var(--primary-900), var(--primary-dark));
    -webkit-background-clip: text;
    color: transparent;
}

.hero-text p {
    color: var(--gray-600);
    font-size: 1.125rem;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(77, 182, 172, 0.2);
}

.hero-image {
    position: relative;
    height: 100%;
    min-height: 400px;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.hero-image img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1rem;
    transition: transform 0.3s ease;
}

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

/* Stakeholders Section */
.stakeholders {
    padding: 2rem 0;
    background: var(--gray-50);
    margin-top: 2rem;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-900);
}

.section-header p {
    color: var(--gray-600);
    font-size: 1.125rem;
}

.stakeholders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.stakeholder-card {
    background: var(--card-bg);
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.stakeholder-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(77, 182, 172, 0.1);
    border-color: var(--primary);
}

.stakeholder-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: 2rem;
}

.card-content h3 {
    color: var(--primary-900);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.card-content ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.card-content li {
    color: var(--gray-600);
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.card-content li:before {
    content: "•";
    color: var(--primary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

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

    .section-header h2 {
        font-size: 2rem;
    }
}

/* Footer Styles */
.footer {
    background: var(--background);
    padding: 2rem 0 2rem;
    margin-top: 2rem;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-heading {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-900);
    margin-bottom: 0.5rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--gray-700);
    text-decoration: none;
    transition: all 0.2s ease;
    padding: 0.75rem;
    border-radius: 0.5rem;
    background: var(--card-bg);
    border: 1px solid var(--border);
}

.footer-links a:hover,
.footer-links a:focus {
    color: var(--primary);
    background: var(--primary-50);
    transform: translateX(4px);
    border-color: var(--primary-100);
    outline: none;
}

.footer-links i {
    font-size: 1.25rem;
    width: 1.5rem;
    text-align: center;
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.footer-bottom p {
    color: var(--gray-600);
    font-size: 0.875rem;
}

/* Dark mode footer styles */
[data-theme="dark"] {
    .footer {
        border-top-color: var(--gray-800);
    }

    .footer-heading {
        color: white;
    }

    .footer-links a {
        color: var(--gray-400);
        background: var(--gray-800);
        border-color: var(--gray-700);
    }

    .footer-links a:hover,
    .footer-links a:focus {
        color: white;
        background: var(--gray-700);
        border-color: var(--primary);
    }

    .footer-links i {
        color: var(--primary);
    }

    .footer-bottom {
        border-top-color: var(--gray-800);
    }

    .footer-bottom p {
        color: var(--gray-400);
    }
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer {
        padding: 2rem 0 1.5rem;
    }

    .footer-content {
        gap: 2rem;
    }

    .footer-section {
        text-align: center;
    }

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

/* Theme toggle button styles */
.btn-theme {
    background: transparent;
    color: var(--primary-900);
    border: 1px solid var(--border);
    width: 40px;
    height: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.btn-theme:hover {
    background: var(--primary-50);
    transform: translateY(-2px);
}

[data-theme="dark"] .btn-theme {
    color: var(--primary-light);
    border-color: var(--gray-700);
}

[data-theme="dark"] .btn-theme:hover {
    background: var(--primary-900);
    color: var(--primary);
}

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .hero-image {
        min-height: 300px;
        order: -1;
    }

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

    .footer-info {
        text-align: center;
    }

    .footer-links a {
        margin: 0 1rem;
    }

    .app-text {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Value Props Section */
.value-props {
    padding: 2rem 0;
    background: var(--background);
}

.value-props h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-900);
}

.value-props-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.value-prop-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.value-prop-card:hover {
    transform: translateY(-2px);
    border-color: var(--primary);
    background: var(--card-hover);
}

.value-prop-icon {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    height: 4rem;
    width: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-50);
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.value-prop-card:hover .value-prop-icon {
    transform: scale(1.1);
    background: var(--primary-100);
}

.value-prop-card h3 {
    color: var(--primary-900);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.value-prop-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.value-prop-card li {
    color: var(--gray-600);
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.value-prop-card li:before {
    content: "•";
    color: var(--primary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Dark mode adjustments for value props */
[data-theme="dark"] .value-prop-card {
    background: var(--card-bg);
}

[data-theme="dark"] .value-prop-card h3 {
    color: white;
}

[data-theme="dark"] .value-prop-card li {
    color: var(--gray-400);
}

/* Responsive adjustments for value props */
@media (max-width: 768px) {
    .value-props h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .value-props-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .value-prop-card {
        padding: 1.5rem;
    }
}