.section1 {
    display: flex;
    align-items: stretch; 
    gap: 30px;
    width: 100%;
    max-width: 1200px;
    margin: 40px auto;
}

.section1 .left {
    position: relative;
    width: 50%;
}

.image-container {
    position: relative;
    display: inline-block;
}

.image-container img {
    display: block;
    width: 100%; 
    height: auto; 
}

.text-overlay {
    position: absolute;
    top: 45%;
    left: 0;
    right: 0;
    bottom: 0;
    transform: translateY(50%);
    color: blue;
    padding: 20px;
    box-sizing: border-box;
    overflow: auto; 
    font-size: 23px;
    line-height: 1.5;
}

.section1 .right {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.section1 .right .btn_wrap {
    display: flex;
    flex: 1; 
    gap: 15px;
}

.section1 .right .btn_wrap a {
    width: 50%;
    display: flex;
    flex-direction: column;
    background-color: #f6f6f6;
    align-items: center;
    border-radius: 30px;
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
    padding: 40px;
    flex: 1; 
    justify-content: center;
    gap: 40px;
    font-size: 20px;
}
.section1 .right .btn_wrap a:hover {
   color: skyblue;
}
.section1 .right .btn_wrap a:hover span {
    color: skyblue;
 }
.section2 {
    background-color: #f6f6f6;
    width: 100%;
}
.section2 .btn_group{
    display: flex;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 0;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 20px;
}
.section2 .btn_group div {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #fff;
    border-radius: 30px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    padding: 50px;
    width: 33%;
}
.section2 .btn_group div img{
    width: auto;
    height: 80px;
    margin-bottom: 40px;
}
.section2 .btn_group div span{
    font-size: 20px;
}
.section2 .btn_group div:hover span{
    color: skyblue;
}
.section2 .btn_group div a{
    font-size: 18px;
    padding: 20px;
    background-color: #fff;
    border: 1px solid skyblue;
    border-radius: 30px;
    display: flex;
    width: 100%;
    justify-content: center;
    margin-top: 30px;
}
.section2 .btn_group div:hover a{
    background-color: skyblue;
    color: #fff;
}
.section3 {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.section3 .btn_group {
    display: flex;
    width: 100%;
    gap: 20px;
    padding: 70px 0;
}

.section3 .btn1, .section3 .btn2 {
    position: relative;
    flex: 1;
    padding: 30px 20px;
    background-color: #fff;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    align-items: flex-start;
    width: 50%;
    border: 1px solid #ddd;
    height: 180px;
}

.section3 .btn1 {
    background-image: url('../img/icon-4.png');
    background-position: calc(100% - 20px) calc(100% - 30px);
    background-repeat: no-repeat;
    background-size: auto 90px; /* 배경 이미지 크기 설정 */
}

.section3 .btn2 {
    background-image: url('../img/icon-6.png');
    background-position: calc(100% - 20px) calc(100% - 30px);
    background-repeat: no-repeat;
    background-size: auto 90px; /* 배경 이미지 크기 설정 */
}

.section3 .btn1 span, .section3 .btn2 span {
    font-size: 20px;
}

.section3 .btn1 a, .section3 .btn2 a {
    padding: 15px 25px;
    border-radius: 30px;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid skyblue;
    font-size: 18px;
    width: 30%;
    text-align: center;
}
.section3 .btn1:hover a, .section3 .btn2:hover a {
    background-color: skyblue;
    color: #fff;
}
@media screen and (max-width: 767px) {
    .section1 {
        width: 90%;
        max-width: 100%;
        margin: 20px auto;
        flex-direction: column;
    }
    .section1 .left {
        width: 100%;
    }
    .section1 .right {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    .text-overlay {
        padding: 20px;
        font-size: 19px;
        line-height: 1.5;
        height: 110px;
    }
    .section1 .right .btn_wrap a {
        font-size: 18px;
        text-align: center;
        line-height: 1.3;
        padding: 30px;
    }
    .section1 .right .btn_wrap span {
        color: skyblue;
    }
    .section2 .btn_group {
        width: 90%;
        max-width: 100%;
        margin: 0 auto;
        overflow-x: auto;
    }
    .section2 .btn_group::-webkit-scrollbar {
        display: none;
    }
    .section2 .btn_group div {
        padding: 30px;
        width: 50%;
    }
    .section2 .btn_group div img {
        height: 60px;
    }
    .section2 .btn_group div span {
        font-size: 18px;
    }
    .section2 .btn_group div a {
        font-size: 16px;
        padding: 10px 25px;
        margin-top: 20px;
        color: skyblue;
    }
    .section3 {
        width: 90%;
        max-width: 100%;
    }
    .section3 .btn_group {
        display: flex;
        width: 100%;
        gap: 20px;
        padding: 50px 0;
        flex-direction: column;
    }
    .section3 .btn1, .section3 .btn2 {
        padding: 30px 20px;
        width: 100%;
    }
    .section3 .btn1 span, .section3 .btn2 span {
        font-size: 18px;
    }
    .section3 .btn1 a, .section3 .btn2 a {
        padding: 10px 25px;
        font-size: 16px;
        width: 40%;
        margin-top: 20px;
        color: skyblue;
    }
    .section3 .btn1 {
        background-size: auto 65px;
    }
    .section3 .btn2 {
        background-size: auto 60px;
    }
}