.mh-container {
    max-width: 1200px;
    margin: auto;
    padding: 0 15px;
}

.mh-header h2 {
    color: var(--primary);
    font-size: 2.2rem;
    margin-bottom: 15px;
    text-align: center;
    position: relative;
}

.mh-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary);
    margin: 10px auto 0;
    border-radius: 3px;
}

.mh-header p {
    text-align: center;
    font-size: 1rem;
    color: #333;
    max-width: 800px;
    margin: auto;
    line-height: 1.6;
}


/* Groups */

.mh-group {
    margin-top: 50px;
}

.mh-group h3 {
    color: var(--primary);
    font-size: 1.6rem;
    margin-bottom: 20px;
}


/* Cards */

.mh-objectives {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.mh-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px 20px;
    flex: 1 1 280px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border 0.4s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.mh-card p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
}


/* Professional Hover */

.mh-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
    border: 2px solid var(--primary);
}


/* Enroll Section */

.mh-enroll {
    margin-top: 50px;
    text-align: center;
    padding: 35px 25px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mh-enroll:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.mh-enroll h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.mh-enroll p {
    margin-bottom: 25px;
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
}

.mh-email-buttons a {
    display: inline-block;
    margin: 10px 15px;
    padding: 14px 28px;
    font-size: 16px;
    border-radius: 8px;
    text-decoration: none;
    color: #fff;
    background-color: var(--primary);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mh-email-buttons a::after {
    content: '';
    position: absolute;
    left: -50%;
    top: 0;
    width: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.15);
    transform: skewX(-20deg);
    transition: all 0.5s ease;
}

.mh-email-buttons a:hover::after {
    width: 200%;
}

.mh-email-buttons a.outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.mh-email-buttons a.outline:hover {
    background-color: var(--primary);
    color: #fff;
}


/* Responsive */


/* =========================
   Mobile Styling for Mental Health & Addiction Section
   ========================= */


/* Medium Devices (Tablets) */

@media screen and (max-width: 992px) {
    .mh-container {
        padding: 0 20px;
    }
    .mh-header h2 {
        font-size: 2rem;
    }
    .mh-header p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    .mh-group h3 {
        font-size: 1.5rem;
    }
    .mh-objectives {
        flex-direction: column;
        gap: 15px;
    }
    .mh-card {
        flex: 1 1 100%;
        padding: 20px;
    }
    .mh-card:hover {
        transform: translateY(-5px) scale(1.01);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    }
    .mh-enroll {
        padding: 25px 20px;
    }
    .mh-email-buttons a {
        margin: 8px 10px;
        padding: 12px 24px;
        font-size: 15px;
    }
}


/* Small Devices (Mobile Phones) */

@media screen and (max-width: 576px) {
    .mh-header h2 {
        font-size: 1.8rem;
    }
    .mh-header p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    .mh-group h3 {
        font-size: 1.3rem;
    }
    .mh-card {
        padding: 15px 18px;
        border-radius: 10px;
    }
    .mh-card:hover {
        transform: translateY(-3px) scale(1.01);
        box-shadow: 0 8px 15px rgba(0, 0, 0, 0.12);
    }
    .mh-enroll {
        padding: 20px 15px;
    }
    .mh-enroll h3 {
        font-size: 1.6rem;
    }
    .mh-enroll p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    .mh-email-buttons a {
        margin: 6px 8px;
        padding: 10px 20px;
        font-size: 14px;
    }
}