#healthcare {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-color: #fff;
}

#healthcare .container {
    width: calc(100% - 34px);
    height: 780px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 114px;
    border-radius: 40px;
    text-align: center;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url('../img/health/health-main-img.jpg');
    background-size: cover;
}

.health-title {
    text-align: center;
    font-size: 52px;
    font-style: normal;
    font-weight: 700;
    line-height: 140%;
    margin-bottom: 40px;
}

.health-description {
    text-align: center;
    font-size: 24px;
    font-weight: 500;
    line-height: 160%;
}

#health-section,
#health-section-3,
#health-section-4,
#health-section-5,
#health-section-6 {
    margin-top: 180px;
    margin-bottom: 180px;
    color: #111;
    width: 100%;
    background-color: #fff;
}

.health-section-container,
.health-section-3-container,
.health-section-4-container,
.health-section-5-container,
.health-section-6-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
}


/* 섹션 1 */
.health-section-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 150%;
}

.health-section-description {
    color: var(--767676, #767676);
    font-size: 20px;
    font-weight: 500;
    line-height: 150%;
    margin-top: 23px;
    margin-bottom: 80px;
}

.health-images-container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    height: 450px;
}

.health-image {
    width: 25%;
    position: relative;
    height: 100%;
    overflow: hidden;
}

.health-image img {
    width: 100%;
    display: block;
    height: 100%;
    border-radius: 30px;
    object-fit: cover;
}

.health-image>div {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    padding: 0 20px;
    text-align: center;
    color: #fff;
    z-index: 1;
    border-radius: 30px;
    height: 100%;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 20px;
    background: rgba(0, 0, 0, 0.5);
}

/* .health-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: background 0.3s ease;
    border-radius: 30px;
}

.health-image:hover::after {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 30px;
} */

.health-image-title {
    color: var(--bg-light, #F9F9F9);
    text-align: center;
    font-size: 30px;
    font-weight: 700;
}

.health-image-description {
    color: var(--ffffff, #FFF);
    font-size: 22px;
    font-weight: 500;
    line-height: 150%;
    text-align: left;
}


/* 섹션 2 */
#health-section-2 {
    margin-top: 180px;
    margin-bottom: 180px;
    color: #111;
    background-color: #F9F9F9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 80px;
}

.health-section-2-container {
    display: flex;
    justify-content: center;
    gap: 80px;
    flex-direction: column;
    width: 100%;
    padding-top: 120px;
    padding-bottom: 50px;
}

.health-section-2-container-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    width: 100%;
}

.health-section-2-item-container {
    width: 100%;
}

.health-section-2-item {
    border-top: 1px solid #ddd;
    padding: 40px 30px;
    width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 40px;
    height: 185px;
}

.health-section-2-content {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 12px;
    flex-direction: column;
}

.health-section-2-title {
    font-size: 30px;
    font-weight: 700;
    line-height: 150%;
}

.health-section-2-description {
    font-size: 20px;
    font-weight: 500;
    line-height: 150%;
    color: #767676;
}

/* 섹션 3 */
.health-section-3-container-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 20px;
}

.health-section-3-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    gap: 20px;
}

.health-section-3-row .health-section-3-item {
    width: calc(25% - 22.5px);
}

.health-section-3-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: center;
    background-color: #f9f9f9;
    border-radius: 20px;
    padding: 40px 30px;
}

.health-section-3-item-title {
    font-size: 30px;
    font-weight: 700;
    line-height: 160%;
    margin-bottom: 10px;
    margin-top: 30px;
}

.health-section-3-item-description {
    font-size: 20px;
    font-weight: 500;
    line-height: 160%;
    color: #333;
    text-align: left;
}

.mobile-health-section-3-container-wrapper {
    display: none;
}
/* 섹션 4 */
.health-section-4-content-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: 100%;
}

.health-section-4-content-item {
    width: calc(33.33% - 20px);
    display: flex;
    padding: 40px;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
    border-radius: 40px;
    height: 450px;
}

.health-section-4-content-item-image {
    height: 80%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.health-section-4-content-item-title {
    font-size: 30px;
    font-weight: 700;
    color: #111;
}


.health-section-4-content-item-image img {
    width: 100%;
}

/* 섹션 5 */
.health-section-5-content-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: 100%;
}

.health-section-5-content-item {
    width: calc(20% - 20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #F9F9F9;
    border-radius: 20px;
    padding: 40px 10px;
    gap: 20px;
}

.health-section-5-content-item-description {
    font-size: 20px;
    font-weight: 500;
    line-height: 150%;
    color: #111;
    text-align: center;
}

@media (max-width: 1700px) {
    .health-image-title {
        font-size: 1.4vw;
    }

    .health-image-description {
        font-size: 1.2vw;
    }

    .health-section-2-title {
        font-size: 1.4vw;
    }

    .health-section-2-description {
        font-size: 1.0vw;
    }

    .health-section-3-item-title {
        font-size: 1.4vw;
    }

    .health-section-3-item-description {
        font-size: 0.9vw;
    }

    .health-section-4-content-item-title {
        font-size: 1.4vw;
    }

    .health-section-5-content-item-description {
        font-size: 0.9vw;
    }

    .health-images-container {
        height: 350px;
    }

}

@media (max-width: 1600px) {

    .health-images-container {
        height: 300px;
    }

    .mobile-health-section-3-container-wrapper {
        display: none;
    }
}

@media (max-width: 1200px) {

    .health-section-title {
        font-size: 3.0vw;
    }

    .health-section-description {
        font-size: 1.5vw;
        margin-top: 0px;
        margin-bottom: 50px;
    }

    .health-image>div {
        gap: 10px;
    }

    .health-image-title {
        font-size: 1.3vw;
    }

    .health-image-description {
        font-size: 1.1vw;
    }

    .health-section-2-item {
        height: 130px;
        padding: 30px 10px;
    }

    .health-section-2-title {
        font-size: 1.5vw;
    }

    .health-section-2-description {
        font-size: 1.1vw;
    }

    .health-section-3-item-title {
        font-size: 1.4vw;
    }

    .health-section-3-item-description {
        font-size: 1.1vw;
    }

    .health-section-4-content-item {
        height: 350px;
    }

    .health-section-3-row .health-section-3-item {
        width: calc(25% - 15px);
    }

    .health-images-container {
        height: 350px;
    }

    .health-section-5-content-item-description {
        font-size: 1.1vw;
    }
}

@media (max-width: 992px) {

    #healthcare .container {
        height: 500px;
    }

    .health-title {
        font-size: 3.6vw;
    }

    .health-description {
        font-size: 1.7vw;
    }

    .health-image>div {
        padding: 30px 20px;
    }

    .health-section-3-row {
        flex-wrap: wrap;
    }

    .health-section-3-item {
        padding: 30px;
    }

    .health-section-3-item img {
        width: 30%;
    }

    .health-section-3-item-title {
        margin-top: 15px;
    }

    .health-section-4-content-item {
        height: 250px;
    }

    .health-images-container {
        height: 250px;
    }
}

@media (max-width: 768px) {

    #healthcare .container {
        height: 400px;
    }

    .health-image-title {
        padding-left: 2vw;
    }

    .health-image-description {
        padding-left: 2vw;
    }

    .health-section-2-container {
        gap: 50px;
    }

    #health-section {
        margin-top: 60px;
        margin-bottom: 80px;
    }

    .health-section-title {
        font-size: 3.3vw;
    }

    .health-section-2-container {
        padding-top: 50px;
        gap: 30px;
    }

    .health-section-2-container-wrapper {
        flex-direction: column;
        gap: 0;
    }

    .health-section-2-title {
        font-size: 1.5rem;
    }

    .health-section-2-description {
        font-size: 1rem;
    }

    .health-section-2-item {
        height: 150px;
    }

    .health-section-title {
        font-size: 1.2rem;
    }

    .health-image-title {
        font-size: 2rem
    }

    .health-image-description {
        font-size: 1.5rem;
    }

    .health-section-4-content-item {
        height: 200px;
    }

    .health-images-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0;
        height: auto;
    }

    .health-image {
        width: 100vw;
        height: 200px;
    }

    .health-image img {
        border-radius: 0;
    }

    .health-image>div {
        width: calc(100vw - 15px);
        padding: 10px;
        border-radius: 0;
    }

    #health-section-3 {
        margin-top: 10px;
        margin-bottom: 50px;
    }

    .health-section-3-container-wrapper {
        display: none;
    }

    .mobile-health-section-3-container-wrapper {
        display: block;
        width: 100%;
    }

    .mobile-health-section-3-row {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        padding: 0 12px;
    }

    .health-section-3-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        background-color: #f9f9f9;
        border-radius: 20px;
        padding: 20px 10px;
        height: 250px;
    }

    .health-section-3-item img {
        width: 40%;
        max-width: 80px;
        height: 40%;
    }

    .health-section-3-item-title {
        font-size: 3vw;
        font-weight: 600;
        margin-top: 8px;
    }

    .health-section-3-item-description {
        font-size: 2vw;
        color: #555;
        margin-top: 4px;
    }

    .health-section-5-content-container {
        display: flex;
        grid-template-columns: repeat(3, 1fr);
        width: 100%;
        gap: 12px;
        padding: 0 12px;
    }

    .health-section-5-content-item {
        width: 100%;
        height: 100%;
    }

    .health-section-5-content-container {
        flex-direction: column;
        gap: 0;
    }

    .health-section-5-content-item {
        width: 100vw;
        margin-left: -20px;
        margin-right: -20px;
        border-radius: 0;
        border-bottom: 1px solid #ddd;
    }

    .health-section-5-content-item-description {
        font-size: 4.0vw;
    }

    .health-image {
        width: 100%;
        height: 150px;
    }

    .health-image-title {
        font-size: 1.5rem;
    }

    .health-image-description {
        font-size: 1rem;
    }

    .health-section-4-content-item-title {
        font-size: 0.8rem;
    }

    .health-section-title {
        font-size: 1.8rem;
    }

    .health-section-description {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .health-images-container {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .health-title {
        font-size: 1.4rem;
        margin-bottom: 20px;
    }

    .health-description {
        font-size: 0.9rem;
        padding: 0 10px;
    }

    .health-description br {
        display: none;
    }

    #healthcare .container {
        height: 300px;
        border-radius: 0;
        margin-top: 70px;
        width: 100vw;
    }

    .health-image-title {
        padding-left: 5vw;
    }

    .health-image-description {
        padding-left: 5vw;
    }

    #health-section,
    #health-section-3,
    #health-section-4,
    #health-section-5,
    #health-section-6 {
        margin-top: 50px;
        margin-bottom: 50px;
    }

    #health-section-2 {
        margin-top: 50px;
        margin-bottom: 50px;
    }

    .health-section-2-container {
        padding-top: 50px;
        gap: 30px;
    }

    .health-section-2-container-wrapper {
        flex-direction: column;
        gap: 0;
    }

    .health-section-title {
        font-size: 1.2rem;
    }

    .health-image>div {
        width: 100vw;
        border-radius: 0;
    }

    .health-image img {
        width: 100vw;
        border-radius: 0;
        margin-left: -20px;
    }

    .health-section-description {
        font-size: 0.8rem;
        margin-bottom: 20px;
    }



    .mobile-health-section-3-row {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0;
        width: 100%;
    }

    .health-section-3-item {
        width: 100vw;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding-top: 10%;
        border-radius: 0;
        border-bottom: 1px solid #ddd;
    }

    .health-section-3-item img {
        width: 60px;
        height: 70px;
    }

    .health-section-3-item-title {
        font-size: 4.0vw;
    }

    .health-section-3-item-description {
        font-size: 3.0vw;
    }

    .health-section-2-title {
        font-size: 4.0vw;
    }

    .health-section-2-description {
        font-size: 2.5vw;
    }

    .health-section-4-content-container {
        flex-direction: column;
        gap: 0;
    }

    .health-section-4-content-item {
        width: 100vw;
        padding: 20px;
        margin-left: -20px;
        margin-right: -20px;
        border-radius: 0;
    }

    .health-section-4-content-item-image img {
        width: 50%;
    }

    .health-section-4-content-item-title {
        font-size: 3.0vw;
    }



    .tech-section {
        margin-top: 50px;
    }

    .health-images-container {
        height: auto;
        gap: 0;
    }
}