body {
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

* {
    box-sizing: border-box;
}

.main-banner {
    width: 100%;
    padding: 2.2rem 0;
    overflow: hidden;
}

.banner-slider {
    display: flex; 
    transition: transform 0.5s ease;
}

.banner-item {
    min-width: 100vw;
    background-color: #0073e6;
    color: white;
    text-align: center;
    height: 85vh;
    position: relative;
    background-size: cover;
    background-position: center; 
    background-repeat: no-repeat;
}

/* 배너에 검은색 오버레이 넣음 */
.banner-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 85vh;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1; 
}

.banner-contents {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-80%);
    text-align: right;
    color: white;
    z-index: 2;
}

.banner-title {
    font-size: 6vh;
    margin-bottom: 15%;
}

.banner-text {
    font-size: 3vh;
    margin-bottom: 2%;
}

.banner-link {
    font-size: 3vh;
    cursor: pointer;
    text-decoration: none;
    color: white;
}

.progress-container {
    position: absolute;
    display: flex; 
    align-items: center; 
    width: 100%; 
    padding: 0 10%; 
    top: 75vh;
}

.progress-bar-container {
    width: 85%;
    height: 1vh; 
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 3;
    border-radius: 8px;
}

.progress-bar {
    width: 0%;
    height: 100%;
    background-color: white;
    transition: width 0.5s ease-in-out; 
    border-radius: 8px;
}

.banner-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.nav-btn {
    color: white;
    cursor: pointer;
    padding: 10px;
    margin: 0 10px;
    font-size: 5vh;
    font-weight: bold;
}

.indicator {
    color: white;
    margin: 0 10px;
    font-size: 3vh;
    white-space: nowrap;
}

/* 회사 소개 */
.about-content {
    padding: 15vh;
}

.about-item {
    display: flex;
    align-items: center;
    margin: 0 auto;
    width: 80%;
}

.about-item.reverse {
    flex-direction: row-reverse;
}

.about-img {
    position: relative;
    flex: 1;
    height: 45vh;
}

.about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-img .overlay-text {
    position: absolute;
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%);
    font-size: 28px;
    color: #fff;
    font-weight: bold;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.5);
    white-space: normal;
    word-break: keep-all;
    overflow-wrap: break-word;
    text-align: center;
}

.about-text {
    flex: 1;
    font-size: 18px;
    color: black;
    background-color: #e0e0e0;
    justify-content: center;
    height: 45vh;
    display: flex;
    align-items: center;
}

.about-text a {
    display: inline-block;
    margin-top: 12px;
    color: #0066ff;
    text-decoration: underline;
}

.contents {
    padding: 0 6vw;
}

@media (max-width: 768px) {
    .about-content {
        padding: 7rem 0;
    }

    .about-item {
        flex-direction: column !important;
        width: 100%;
    }
    
    .about-text {
        width: 100%;
        height: auto;
        min-height: 250px;
        padding: 3vh 0;
    }

    .about-img ,.overlay-text {
        word-break: keep-all;
        overflow-wrap: break-word;
        justify-content: center;
        width: 100%;
        display: flex;
        gap: 0;
    }

    .contents {
        font-size: 1.2rem;
        line-height: 1.6;
    }
}