/* ==============
    Hero Section 
================= */
@media (max-width: 575.98px) {

    .blog-hero {
        height: 220px;
        background-position: center 20%;
    }

    .hero-title {
        width: 200px;
        height: 50px;
        font-size: 22px;
    }

    .hero-breadcrumb {
        font-size: 16px;
    }

    .hero-breadcrumb img {
        width: 14px;
    }

}

@media (min-width: 576px) and (max-width: 767.98px) {

    .blog-hero {
        height: 240px;
    }

    .hero-title {
        width: 230px;
        height: 55px;
        font-size: 26px;
    }

    .hero-breadcrumb {
        font-size: 18px;
    }

}

@media (min-width: 768px) and (max-width: 991.98px) {

    .blog-hero {
        height: 260px;
    }

    .hero-title {
        width: 260px;
        height: 60px;
        font-size: 30px;
    }

    .hero-breadcrumb {
        font-size: 20px;
    }

}

@media (min-width: 992px) and (max-width: 1199.98px) {

    .blog-hero {
        height: 287px;
    }

    .hero-title {
        width: 297px;
        height: 67px;
        font-size: 34px;
    }

    .hero-breadcrumb {
        font-size: 22px;
    }

}

@media (min-width: 1200px) and (max-width: 1399.98px) {

    .blog-hero {
        height: 320px;
    }

    .hero-title {
        width: 320px;
        height: 70px;
        font-size: 38px;
    }

    .hero-breadcrumb {
        font-size: 24px;
    }

}

@media (min-width: 1400px) {

    .blog-hero {
        height: 287px;
        background-position: center 15%;
    }

    .hero-title {
        width: 360px;
        height: 80px;
        font-size: 42px;
    }

    .hero-breadcrumb {
        font-size: 26px;
    }

}


/* =================
    Mission Section 
==================== */
@media (max-width: 575.98px) {

    /* Hide desktop overlay vision */
    .about-img-wrapper .vision-card {
        display: none;
    }

    /* Show mobile vision */
    .mobile-vision {
        display: block;
        position: relative;
        width: 100%;
        height: auto;
        padding: 25px;
        margin: 25px 0;
        left: 0;
        bottom: 0;
    }

    /* Remove overlap styles */
    .mission-card {
        width: 100%;
        height: auto;
        margin-left: 0;
        margin-top: 0;
        padding: 25px;
        z-index: 1;
    }

    .mobile-image .about-img {
        width: 100%;
        height: auto;
        border-radius: 8px;
        margin-top: -50px;
    }

    .desktop-image {
        display: none;
    }

    .mobile-image {
        display: block;
        width: 100%;
        margin-top: 30px;
    }

    .about-img-wrapper,
    .about-img {
        width: 100%;
        height: auto;
        margin-top: 20px;
    }
}

@media (min-width: 576px) and (max-width: 767.98px) {

    /* Hide desktop overlay vision */
    .about-img-wrapper .vision-card {
        display: none;
    }

    /* Show mobile vision */
    .mobile-vision {
        display: block;
        position: relative;
        width: 100%;
        height: auto;
        padding: 30px;
        margin: 30px 0;
        left: 0;
        bottom: 0;
    }

    /* Remove mission overlap */
    .mission-card {
        width: 100%;
        height: auto;
        margin-left: 0;
        margin-top: 0;
        padding: 30px;
        z-index: 1;
    }

    /* Hide desktop image */
    .desktop-image {
        display: none;
    }

    /* Show mobile image */
    .mobile-image {
        display: block;
        width: 100%;
        margin-top: 35px;
    }

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

    .about-img-wrapper,
    .about-img {
        width: 100%;
        height: auto;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {

    /* Hide desktop overlay vision */
    .about-img-wrapper .vision-card {
        display: none;
    }

    /* Show mobile vision */
    .mobile-vision {
        display: block;
        position: relative;
        width: 100%;
        height: auto;
        padding: 35px;
        margin: 35px 0;
        left: 0;
        bottom: 0;
    }

    /* Remove mission overlap */
    .mission-card {
        width: 100%;
        height: auto;
        margin-left: 0;
        margin-top: 0;
        padding: 35px;
        z-index: 1;
    }

    /* Hide desktop image */
    .desktop-image {
        display: none;
    }

    /* Show mobile image */
    .mobile-image {
        display: block;
        width: 100%;
        margin-top: 40px;
    }

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

    .about-img-wrapper,
    .about-img {
        width: 100%;
        height: auto;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {

    /* Show desktop structure */
    .desktop-image {
        display: block;
    }

    .mobile-vision,
    .mobile-image {
        display: none;
    }

    /* Remove overlay behavior */
    .vision-card {
        position: relative;     /* remove absolute */
        width: 100%;
        height: auto;
        left: 0;
        bottom: 0;
        margin-top: 30px;
    }

    /* Make image responsive */
    .about-img-wrapper {
        width: 100%;
        height: auto;
    }

    .about-img {
        width: 100%;
        height: auto;
    }

    /* Mission card normal alignment */
    .mission-card {
        width: 100%;
        height: auto;
        margin-left: 0;        /* remove negative overlap */
        margin-top: 0;
        padding: 35px;
    }

    /* Spacing adjustment */
    .about-text {
        margin-bottom: 40px;
    }
}



@media (min-width: 1200px) and (max-width: 1399.98px) {

    .desktop-image {
        display: block;
    }

    .about-img-wrapper .vision-card {
        display: block;
        position: absolute;
    }

    .mobile-vision,
    .mobile-image {
        display: none;
    }

    .mission-card {
        width: 600px;
        height: 360px;
        margin-left: -150px;
        margin-top: 110px;
    }
}

@media (min-width: 1400px) {

    .desktop-image {
        display: block;
    }

    .about-img-wrapper .vision-card {
        display: block;
        position: absolute;
    }

    .mobile-vision,
    .mobile-image {
        display: none;
    }

    .mission-card {
        width: 675px;
        height: 360px;
        margin-left: -150px;
        margin-top: 110px;
    }
}


/* =================
    Founder Section 
==================== */

@media (max-width: 575.98px) {

    .founders-section {
        padding: 60px 0;
    }

    .founders-title,
    .leaders-title {
        font-size: 28px;
        line-height: 38px;
        text-align: center;
    }

    .founders-text,
    .leaders-text {
        font-size: 15px;
        line-height: 24px;
        text-align: center;
        margin: 0 auto 30px auto;
    }

    .founder-card {
        width: 334px;
        height: auto;
    }

    .founder-img {
        height: 260px;
    }

    /* .col-md-6 {
        width: 100%;
    } */
}

@media (min-width: 576px) and (max-width: 767.98px) {

    .founders-title,
    .leaders-title {
        font-size: 32px;
        line-height: 42px;
        text-align: center;
    }

    .founders-text,
    .leaders-text {
        font-size: 16px;
        text-align: center;
        margin: 0 auto 40px auto;
    }

    .founder-card {
        width: 300px;
        height: auto;
    }

    .founder-img {
        height: 270px;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {

    .founders-title,
    .leaders-title {
        font-size: 38px;
        line-height: 50px;
    }

    .founders-text,
    .leaders-text {
        font-size: 17px;
    }

    .founder-card {
        width: 300px;
        height: 360px;
    }

    .founder-img {
        height: 280px;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {

    .founders-title,
    .leaders-title {
        font-size: 44px;
    }

    .founder-card {
        width: 220px;
        height: 360px;
    }

    .founder-img {
        height: 290px;
    }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {

    .founder-card {
        width: 281px;
        height: 370px;
    }

    .founder-img {
        height: 300px;
    }

    .leaders-title {
        margin-left: 20px;
    }

    .leaders-text {
        margin-left: 20px;
    }
}

@media (min-width: 1400px) {

    .founders-section {
        padding-bottom: 0 !important;
    }

    .founders-title {
        font-size: 52px;
    }

    .founder-card {
        width: 300px;
        height: 390px;
    }

    .founder-img {
        height: 320px;
    }
}


/* =================
    Admin Section 
==================== */
@media (max-width: 575.98px) {

    .welcome-container {
        flex-direction: column;
        min-height: auto;
        padding: 0 15px;
    }

    .welcome-image {
        width: 100%;
        height: 240px;
        margin-top: 20px;
    }

    .welcome-card {
        width: 100%;
        height: auto;
        margin-left: 0;
        margin-top: -40px;
        padding: 50px 25px 30px 25px;
    }

    .quote-icon {
        top: -40px;
        left: 75%;
    }

    .quote-icon img {
        width: 80px;
        height: auto;
    }

    .welcome-text {
        font-size: 15px;
        line-height: 24px;
    }

    .welcome-name,
    .welcome-role {
        font-size: 16px;
    }
}

@media (min-width: 576px) and (max-width: 767.98px) {

    .welcome-container {
        flex-direction: column;
        min-height: auto;
        padding: 0 20px;
        /* margin-left: 30px; */
    }

    .welcome-image {
        width: 100%;
        height: 260px;
        margin-left: 0;
        margin-top: 50px;
    }

    .welcome-card {
        width: 100%;
        height: auto;
        margin-left: 0;
        margin-top: -50px;
        padding: 55px 35px 35px 35px;
    }

    .quote-icon {
        left: 80%;
        top: -45px;
    }

    .quote-icon img {
        width: 90px;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .welcome-container {
        flex-direction: column;
        min-height: auto;
        padding: 0 20px;
        /* margin-left: 20px; */
    }

    .welcome-image {
        width: 700px;
        height: 260px;
        margin-left: 10px;
        margin-top: 50px;
    }

    .welcome-card {
        width: 705px;
        height: auto;
        margin-left: 10px;
        margin-top: -20px;
        padding: 55px 35px 35px 35px;
    }

    .quote-icon {
        left: 80%;
        top: -45px;
    }

    .quote-icon img {
        width: 90px;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {

    .welcome-container {
        min-height: 450px;
    }

    .welcome-image {
        width: 420px;
        height: 280px;
        margin-left: 45px;
    }

    .welcome-card {
        width: 515px;
        height: auto;
        margin-top: 200px;
        margin-left: -100px;
        padding: 40px 45px;
    }

    .quote-icon {
        left: 88%;
    }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {

    .welcome-container {
        max-width: 1200px;
    }

    .welcome-image {
        width: 465px;
        height: 300px;
        margin-left: 40px;
    }

    .welcome-card {
        width: 720px;
        margin-top: 130px;
        margin-left: -100px;
    }

    .quote-icon {
        left: 91%;
    }
}

@media (min-width: 1400px) {

    .welcome-container {
        max-width: 1400px;
    }

    .welcome-image {
        width: 500px;
        height: 320px;
        margin-left: 45px;
    }

    .welcome-card {
        width: 820px;
        padding: 45px 60px;
    }

    .quote-icon {
        left: 92%;
    }
}


/* ===================
    Community Section 
====================== */
@media (max-width: 575.98px) {

    .mental-health-section {
        margin-bottom: 20px;
    }

    .program-heading {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .main-title {
        font-size: 26px;
        line-height: 36px;
        margin-bottom: 25px;
    }

    .section-description {
        width: 100%;
        font-size: 15px;
        line-height: 24px;
    }

    .program-card img {
        height: 220px;
    }

    .card-overlay h6 {
        font-size: 16px;
    }
}

@media (min-width: 576px) and (max-width: 767.98px) {

    .mental-health-section {
        margin-bottom: 20px;
    }

    .program-heading {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .main-title {
        font-size: 26px;
        line-height: 36px;
        margin-bottom: 25px;
    }

    .section-description {
        width: 100%;
        font-size: 15px;
        line-height: 24px;
    }

    .program-card img {
        height: 220px;
    }

    .card-overlay h6 {
        font-size: 16px;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {

    .main-title {
        font-size: 38px;
        line-height: 50px;
        margin-bottom: 60px;
    }

    .section-description {
        width: 100%;
        font-size: 17px;
    }

    .program-card img {
        height: 280px;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {

    .main-title {
        font-size: 44px;
        line-height: 58px;
        margin-bottom: 90px;
    }

    .section-description {
        width: 90%;
    }

    .program-card img {
        height: 300px;
    }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {

    .main-title {
        font-size: 50px;
        line-height: 64px;
        margin-bottom: 120px;
    }

    .section-description {
        width: 1040px;
    }

    .program-card img {
        height: 320px;
    }
}

@media (min-width: 1400px) {

    .mental-health-section {
        /* margin-bottom: 60px; */
    }

    .main-title {
        font-size: 56px;
        line-height: 70px;
    }

    .section-description {
        width: 1100px;
        font-size: 19px;
    }

    .program-card img {
        height: 340px;
    }
}



/*Poster Section*/
/* X-Small: less than 576px */
@media (max-width: 575.98px) {

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

    .poster-image {
        margin-bottom: 20px;
    }

    .main-title {
        font-size: 20px;
    }
}


/* Small: 576px to 768px */
@media (min-width: 576px) and (max-width: 767.98px) {

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

    .main-title {
        font-size: 22px;
    }
}


/* Medium: 768px to 992px */
@media (min-width: 768px) and (max-width: 991.98px) {

    .poster-section {
        text-align: left;
    }

    .main-title {
        font-size: 24px;
    }
}


/* Large: 992px to 1200px */
@media (min-width: 992px) and (max-width: 1199.98px) {

    .main-title {
        font-size: 28px;
    }
}


/* X-Large: 1200px to 1400px */
@media (min-width: 1200px) and (max-width: 1399.98px) {

    .main-title {
        font-size: 32px;
    }
}


/* XX-Large: 1400px and up */
@media (min-width: 1400px) {

    .main-title {
        font-size: 50px;
    }
}



/*Poster Section*/
@media (max-width: 575.98px) {

    .poster-section {
        /* padding: 40px 15px; */
    }

    .poster-image img {
        height: auto;
        border-radius: 16px;
    }

    .poster-title {
        font-size: 26px;
        line-height: 34px;
        margin-top: 20px;
    }

    .poster-location {
        font-size: 14px;
    }

    .poster-description {
        font-size: 14px;
        line-height: 1.6;
    }
}

@media (min-width: 576px) and (max-width: 767.98px) {

    .poster-image img {
        height: auto;
    }

    .poster-title {
        font-size: 32px;
        line-height: 42px;
    }

    .poster-location {
        font-size: 15px;
    }

    .poster-description {
        font-size: 15px;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {

    .poster-image img {
        height: auto;
    }

    .poster-title {
        font-size: 36px;
        line-height: 46px;
    }

    .poster-location {
        font-size: 16px;
    }

    .poster-description {
        font-size: 15px;
        line-height: 1.7;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {

    .poster-image img {
        height: auto;
    }

    .poster-title {
        font-size: 42px;
        line-height: 54px;
    }

    .poster-description {
        font-size: 16px;
    }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {

    .poster-image img {
        height: auto;
    }

    .poster-title {
        font-size: 46px;
        line-height: 58px;
    }

    .poster-description {
        font-size: 17px;
    }
}

@media (min-width: 1400px) {

    .poster-image img {
        height: 900px;
        object-fit: fill;
    }

    .poster-title {
        font-size: 50px;
        line-height: 64px;
    }

    .poster-description {
        font-size: 18px;
        line-height: 1.8;
    }
}