.content {
    padding: 4rem 1rem;
    background-color: #f8f9fa;
    text-align: center;
}


.content-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.content-card {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease-in-out;
}


.content-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.content-card p {
    font-size: 1rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.content-card img {
    width: 100%;
    height: 180px;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.content-card video {
    width: 100%;
    border-radius: 10px;
}

.content-card a {
    display: inline-block;
    margin-top: 1rem;
    font-size: 1rem;
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.content-card a:hover {
    color: var(--primary-color);
    text-decoration: wavy;
}

.content a.global-link {
    display: block;
    margin-top: 2rem;
    font-size: 2rem;
    text-align: center;
    color: #2c3e50;
    font-weight: bold;
    text-decoration: solid;
    transition: color 0.3s ease;
}

.content a.global-link:hover {
    color: var(--primary-color);
}

.hero {
    text-align: center;
    padding: 6rem 1rem;
    position: relative;
    color: white;
    background: linear-gradient(135deg, var(--primary-color) 30%, var(--accent-color) 70%);
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../Images/exercise.jpg') no-repeat center center/cover;
    opacity: 0.4;
    z-index: 1;
}

.hero h1,
.hero p {
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .content-list {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 4rem 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }
}
