* {
    overflow-x: hidden;
}
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;
}
a {color: inherit; text-decoration: none; outline: none}
a:hover, a:active {text-decoration: none; color: auto;}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 15%;
    background-color: #fff;
}

.logo {
    font-size: 20px;
    font-weight: bold;
}

.login-btn {
    width: 128px;
    height: 48px;
    border-radius: 8px;
    padding: 8px 16px;
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
}

/* 히어로 섹션 */
.cta-button {
    width: 100%;
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 40px;
    text-align: center;

}
.hero {
    display: flex;
    align-items: center;
    /* padding: 15px 15%; */
    padding-top: 200px;
    width: 100%;
    /* flex-direction: column; */
    justify-content: center; /* 중앙 정렬 */
    align-items: center;
    background-color: #cce5ff;
    height: auto; /* 높이 지정 (필요에 따라 조정) */
    position: relative;
}

.hero-content {
    width: 20%;
    display: flex;
    align-items: center;
    padding-left: 15%;
}

.hero-text {
    text-align: left;
    margin-bottom: 20px; 
}

.hero .hero-image {
    width: 100%; 
    height: 340px;
    background-image: url('/images/mainBtn1.png'); 
    background-size: contain; 
    background-repeat: no-repeat;
    background-position: center; 
} 

/* 콘텐츠 섹션 */
.feature-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px; /* 카드 간격 */
    padding: 50px 0;
}

.feature-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    max-width: 988px;
    background: white;
    border-radius: 15px;
}

.feature-image img {
    width: 100%;
    height: 444;
}

.feature-text {
    width: 50%;
    text-align: left;
}

.feature-text .feature-title{
    font-weight: bold;
    color: #374151;
    font-size: 40px;
}

.feature-category {
    font-size: 14px;
    font-weight: bold;
}

.feature-category {
    color: #007bff;
}

@media (max-width: 1199px) {
    .feature-section {
        width: 100%;
    }
    
    .feature-card {
        width: 100%;
        flex-direction: column; /* 세로 정렬 */
        align-items: center;
        text-align: center;
        padding: 16px; /* 카드 내부 패딩 추가 */
    }


    .feature-image {
        width: 100%; 
        height: auto;
    }
    .feature-image img {
        width: 100%;
        max-width: 1199px;
        height: auto;
    }

    .feature-text {
        width: 100%;
    }
}
@media (max-width: 767px) {
    .feature-card {
        max-width: 370px;
        width: 100%;
        flex-direction: column; /* 세로 정렬 */
        align-items: center;
        text-align: center;
        gap: 20px; /* 카드 간격 조정 */
        padding: 16px; /* 카드 내부 패딩 추가 */
        border-radius: 10px;
    }

    .feature-image {
        width: 100%;
        height: auto;
    }

    .feature-image img {
        width: 100%;
        max-width: 370px;
        height: auto;
    }

    .feature-text {
        width: 100%;
    }

    .feature-text .feature-title {
        font-size: 28px; /* 제목 크기 조정 */
    }
}


/* 섹션 */
.section {
    display: flex;
    align-items: center;
    width: 100%;
    height: 540px;
    justify-content: center; 
    align-items: center;
    background-color: #cce5ff;
    height: auto; /* 높이 지정 (필요에 따라 조정) */
    padding-top: 100px;
}

.section-content {
    width: 20%;
    display: flex;
    align-items: center;
    padding-left: 15%;
}

.section-text {
}

.section .section-image {
    width: 100%; 
    height: 340px;
    background-image: url('/images/mainlast.png'); 
    background-size: contain; 
    background-repeat: no-repeat;
    background-position: center; 
} 



/* 푸터 */
.footer {
    width: 100%;
    background-color: #111827;
    text-align: center;
    padding: 20px;
    color: #9ca3af;
    
}
.footer .container {
    width: calc(100% - 40%);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-links a {
    text-decoration: none;
    color: #9ca3af;
    margin: 0 10px;
}
.iconWrap {
    display: flex;
    gap: 5px;
}
.facebook, .twitter, .youtube, .instagram {
    width: 20px;
    height: 20px;
    cursor: pointer;
}
.facebook {
    background-image: url(/images/ic_facebook.svg);
}
.twitter {
    background-image: url(/images/ic_twitter.svg);
}
.youtube {
    background-image: url(/images/ic_youtube.svg);
}
.instagram {
    background-image: url(/images/ic_instagram.svg);
}

/* 반응형 디자인 */
@media (max-width: 1199px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text {
        max-width: 100%;
        margin-bottom: 20px;
    }

    .content {
        grid-template-columns: 1fr;
    }

    .card {
        flex-direction: column;
        text-align: center;
    }

    .card-img {
        margin-right: 0;
        margin-bottom: 10px;
    }
}

@media (max-width: 767px) {
    .navbar {
        padding: 10px;
    }
    .cta-button {
        padding: 8px 16px;
        font-size: 14px;
    }

    .hero {
        height: 540px;
        padding-top: 20px;

    }
    .hero-image {
    }


    .content {
        padding: 20px;
    }

    .footer {
        font-size: 14px;
    }
}
