.hero-spacer {
    height: 7rem;
}

.hero {
    padding: 4rem 0;
    max-width: 1000px;
    display: flex;
    gap: 4rem;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: flex-start;
}

.hero-content {
    flex: 1;
    /* min-width: 400px; */
    max-width: 600px;
}

.hero-image-wrapper {
    flex: 0 0 300px;
    position: relative;
}

.hero-img {
    width: 100%;
    height: auto;
    border-radius: 9999px;
    border: 4px solid var(--main-text);
    box-shadow: 0 10px 25px var(--shadow-color);
    object-fit: cover;
    aspect-ratio: 1;
    transition: transform 0.3s ease;
}

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

.hero h1 {
    font-family: 'LibreFranklin-Bold', Arial, Helvetica, sans-serif;
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--main-text);
    font-weight: 700;
}

.hero .subtitle {
    font-size: 1.35rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-style: italic;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.quote-section {
    background-color: var(--emerald-700);
    padding: 2rem;
    border-left: 4px solid var(--color-green);
    margin-bottom: 6rem;
    border-radius: 0 4px 4px 0;
}

.quote-text {
    font-family: 'LibreFranklin-Regular', Arial, Helvetica, sans-serif;
    font-size: 1.2rem;
    color: var(--color-green);
    font-style: italic;
    margin-bottom: 0.5rem;
}

.quote-author {
    font-family: 'LibreFranklin-Regular', Arial, Helvetica, sans-serif;
    font-size: 0.9rem;
    color: var(--text-muted);
    text-align: right;
}

@media (max-width: 900px) {
    .card {
        flex: 0 0 calc(50% - 1rem);
        max-width: calc(50% - 1rem);
    }
}

@media (max-width: 768px) {
    #main-content.container {
        padding: 0;
    }

    .hero {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 2rem;
        padding: 0;

        .hero-content {
            width: 100%;
            padding: 0;
        }

        .subtitle {
            width: 100%;
            font-size: 1rem;
            line-height: 1.6;
            margin-bottom: 1.5rem;
        }
    }



    .hero-image-wrapper {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

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

    .hero-actions {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }

    .card {
        flex: 0 0 100%;
        max-width: 100%;
    }

    footer {
        flex-direction: column;
        align-items: flex-start;
    }

    /* 
    .footer-links a {
        margin-left: 0;
        margin-right: 1.5rem;
    } */
}