/* body .md-main__inner {
    display: flex;
    height: 100%;
    margin-top: 1.5rem;
}

.md-content__inner {
    border: 5px solid red !important;
}

.md-grid {
    margin-left: auto;
    margin-right: auto;
    max-width: 61rem;
} */

/* Hide sidebar */
/* .md-sidebar {
    display: none !important;
} */

/* Remove sidebar layout */
.md-main__inner {
    margin-top: 0 !important;
    /* max-width: none !important; */
}

/* Full width content */
.md-content {
    padding-bottom: 1rem;
}

.md-content__inner {
    margin: 0 !important;
    max-width: none !important;
    padding: 0 !important;
}

/* Remove Material article spacing */
.md-typeset {
    max-width: none !important;
}

.md-typeset h2 {
    padding-left: 1rem;
}

.md-header__title--active .md-header__topic {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
    transition: transform .4s cubic-bezier(.1, .7, .1, 1), opacity .15s;
    z-index: 0;
}

.md-header__title--active .md-header__topic+.md-header__topic {
    opacity: 0;
}

/* Hero Container */
.hero-container {
    display: flex;
    flex-direction: row;
    /* Desktop: Side-by-side */
    align-items: center;
    justify-content: space-between;
    min-height: 80vh;
    /* padding: 2rem; */
    /* background-color: #f5f7fa; */
}

/* Hero Content (Text Side) */
.hero-content {
    flex: 1;
    padding: 2rem;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #b4b2b2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    /* color: white; */
    line-height: 1.6;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

/* Hero Image Side */
.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature {
    text-align: center;
    padding: 1.5rem;
    border-radius: 16px;
    background: var(--md-default-bg-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, .08);
}

.feature h3 {
    margin-top: .5rem;
}

/* Main Container holding all stats */
.stats-container {
    display: flex;
    align-items: center;
    justify-content: space-around;
    /* background: #ffffff; */
    padding: 1rem;
    border-radius: 8px;
    max-width: 900px;
    margin: 0 auto;
}

/* Individual Stat Item Layout */
.stat-item {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: center;
    padding: 10px 20px;
}

/* The Magic Trick: Adds a light vertical line to every item except the last one */
.stat-item:not(:last-child) {
    border-right: 1px solid #eef2f5;
}

/* Styled Icon Box matching your green theme */
.icon-box {
    background-color: #eefbf4;
    color: #1b7a43;
    font-size: 24px;
    padding: 12px;
    border-radius: 8px;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Text Formatting */
.stat-text h3 {
    margin: 0;
    font-size: 22px;
    /* color: #111827; */
    font-weight: 700;
}

.stat-text p {
    margin: 4px 0 0 0;
    font-size: 13px;
    /* color: #6b7280; */
}


/* --- Mobile / Responsive Styles --- */
@media (max-width: 768px) {
    .hero-container {
        /* Switches to vertical stack and reverses the visual order */
        flex-direction: column-reverse;
        text-align: center;
        padding: 1rem;
    }

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

    .hero-content p {
        font-size: 1rem;
    }

    .hero-image {
        padding: 1rem 1rem 0 1rem;
        /* Adjust padding for mobile layout */
    }

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

    .feature {
        text-align: center;
        padding: 1.5rem;
        border-radius: 16px;
        background: var(--md-default-bg-color);
        box-shadow: 0 4px 15px rgba(0, 0, 0, .08);
    }

    .stats-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .stat-item {
        width: 100%;
        justify-content: flex-start;
        padding: 15px 0;
    }

    /* Swaps vertical line to a horizontal line on mobile */
    .stat-item:not(:last-child) {
        border-right: none;
        border-bottom: 1px solid #eef2f5;
    }
}