*{
    line-height: 1.5
}
.main-section {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    padding: 20px;
}

.logo-section {
    display: flex;
    text-align: center;
    align-items: center;
    margin-bottom: 50px;
    border-bottom: 1px solid #8f9b9e;
    padding: 5rem 0;
}

.logo-section > div {
    width: 50%;
    display: flex;
    flex-wrap: wrap;
}

.logo-section img {
    height: auto;
}

.logo-section p {
    text-align: left;
    font-size: 16px;
}

h2 {
    font-size: 3rem;
    margin: 5rem 0;
    text-align: center;
}

.services {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.service-item {
    text-align: center;
    width: 45%;
    margin: 5rem 10px 10px;
}
.service-item-1{
    margin-top: 0;
}
.service-item h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.service-item p {
    margin: 1.5rem 3rem 3rem 3rem;
}

.base_btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #70a9a1;
    color: white;
    border: none;
    cursor: pointer;
}

.base_btn:hover {
    background-color: #246d60;
}

.network-section {
    text-align: center;
}
.sub-section{
    margin-top: 10rem;
}
.sub-text {
    margin: 2rem;
    text-align: left;
    font-size: 16px;
}

.localization-section > div {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 5rem;
    font-size: 16px;
    text-align: center;
}

.localization-section > div > h5 {
    font-size: 2rem;
    width: 100%;
    margin: 1rem 0;
}
.localization-section > div > p{
    padding:  0 2rem;
    margin: 0 auto ;
}

.consult-section {
    width: calc(100% - 8rem);
    background-color: #1f363d;
    color: #FFF;
    text-align: center;
    padding: 4rem;
}

.consult-section h3 {
    font-size: 26px
}

.consult-section a {
    background-color: transparent;
    margin-top: 2rem;
    border: 1px solid #FFF
}
.medical-section{
    text-align: center;
}
.medical-section>p{
    text-align: center;
}
.medical-box{
    display: flex;
}
.medical-box {
    display: flex;
    justify-content: space-between; /* 아이템 사이의 간격을 균등하게 */
    align-items: flex-start; /* 아이템 상단 정렬 */
    margin: 3rem 0; /* 상하 여백 */
}

.medical-item {
    text-align: center;
    width: 30%; /* 각 아이템의 너비 */
    padding: 1rem;
}

.medical-item img {
    width: 120px; /* 이미지 너비 */
    height: 120px; /* 이미지 높이 */
    border-radius: 50%; /* 이미지를 원형으로 */
    object-fit: cover; /* 이미지 비율 유지하면서 잘라내기 */
    margin-bottom: 1rem; /* 이미지와 텍스트 간격 */
}

.medical-item h5 {
    font-size: 1.2rem;
    margin: 2rem 0; /* 제목과 본문 간격 */
    color: #333; /* 제목 색상 */
}

.medical-item p {
    font-size: 1rem;
    color: #666; /* 본문 색상 */
    line-height: 1.5;
}
/* Swiper */
.customer-section{
    text-align: center;
}
.customer-container {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    text-align: left;
    margin-top: 2rem;
}

.customer-container>.swiper-slide {
    text-align: center;
    font-size: 18px;
}

.slide-img {
    object-fit: cover;
    cursor: pointer;
    margin-bottom: 20px;
}

/* 링크 숨기기 (기본 상태에서 보이지 않음) */
.more-link {
    display: none;
}

/* 확장 시 링크 보이기 */
.slide-content.expanded .more-link {
    display: block;
    margin-top: 20px;
    color: #007BFF;
    text-decoration: none;
}
.slide-content h5{
    font-size: 20px;
    margin-bottom: 1rem;
}
.more-link:hover {
    text-decoration: underline;
}

/* 이미지 클릭을 위한 커서 스타일 */
.slide-img {
    cursor: pointer;
}

.saying-section {
    background-color: #1f363d;
    color: white;
    text-align: center;
    padding: 40px 0;
    margin: 5rem 0;
}

.saying-slider {
    position: relative;
}


.saying-section h4 {
    font-size: 1rem;
    font-weight: normal;
    margin-bottom: 10px;
}

.saying-section hr {
    display: block;
    width: 50px;
    margin: 2rem auto;
    border: 1px solid white;
}

.saying-section p {
    font-size: 1.5rem;
    font-weight: bold;
    width: 70%;
    margin: 0 auto;
    word-break: keep-all;
    height: 7rem;
}

/* Navigation arrows */
.swiper-button-next, .swiper-button-prev {
    color: #40798C!important;
    width: 35px;
    height: 35px;
    opacity: 0.7;
}

.swiper-button-next:hover, .swiper-button-prev:hover {
    opacity: 1;
}

.swiper-button-prev {
    left: 10px;
}

.swiper-button-next {
    right: 10px;
}
.partners-section{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.partners-text{
    padding: 2rem;
    font-size: 38px;
}
.partners-logos {
    display: flex;
    justify-content: space-between;
}

.partners-logos img {
    width: 30%;
    margin: 0 20px;
}

.press-section{
    text-align: center;
    margin-bottom: 5rem;
}



/* 모달 스타일 */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fff;
    padding: 20px;
    max-width: 800px;
    width: 90%;
    text-align: center;
}
.modal h5{
    font-size: 20px;
}
.modal img {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}
.modal p {
    max-height: 600px;
    overflow-y:auto;
}
.modal a {
    display: block;
    color: #007bff;
    text-decoration: none;
}

.modal a:hover {
    text-decoration: underline;
}

.close {
    position: absolute;
    top: 10px;
    right: 20px;
    color: white;
    font-size: 30px;
    cursor: pointer;
}

@media (max-width: 840px) {
    h2{
        margin: 3rem 0;
    }
    .logo-section{
        flex-wrap: wrap;
    }
    .logo-section>div{
        width: 100%;
    }
    .service-item{
        width: 100%;
    }
    .service-item-1{
        margin-top: 5rem;
    }
    .service-item-1:nth-child(1){
        margin-top: 0;
    }
    .service-item p{
        margin: 1rem 1rem 2rem;
    }
    .sub-text{
        margin: 1rem;
    }
    .network-section .base_btn{
        margin-top: 1rem;
    }
    .localization-section > div{
        margin-bottom: 1rem;
    }
    .localization-section > div > h5{
        font-size: 1.2rem;
    }
    .medical-box {
        flex-direction: column;
        align-items: center;
    }
    .partners-logos img {
        width: 30%;
        margin: 0;
    }
    .medical-item {
        width: 80%;
        margin-bottom: 2rem;
    }
    .saying-section p{
        height: auto;
    }
    .partners-section{
        flex-wrap: wrap;
    }
    .partners-section>div{
        width: 100%;
    }
    .press-section{
        margin-bottom: 3rem;
    }
    .modal p {
        max-height: 350px;
    }
}