#mwrap {
    width: 100%;
    height: auto;
}

/* 상단 메인 비주얼 */
.main-visual {
    position: relative;
    width: 100%;
    height: 650px;
    overflow: hidden;
    font-family: "Noto Sans KR", sans-serif;
}

.bg-video {
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 1920px;
    min-height: 770px;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

.bg-video {
    display: block;
}

.bg-main-slide {
    display: none;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 0;
}

/* 슬로건 */

.visual-text {
    display: grid;
    grid-template-columns: 1fr; /* 한 줄로 표시 */
    grid-template-rows: auto auto; /* 두 줄로 나누기 */
    position: absolute;
    justify-content: center; /* 가로 중앙 정렬 */
    align-items: center; /* 세로 중앙 정렬 */
    text-align: center; /* 텍스트 중앙 정렬 */
    top: 200px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #fff;
    z-index: 2;
}

.main-slogan {
    font-size: 40px;
    line-height: 1.4;
    margin: 10px 0; /* 간격 조절 */
    font-weight: 700;
    font-family: "SCoreDream";
}

.mo_main-slogan {
    display: none;
}

/* 이미지 텍스트 */
.image-text-img {
    max-width: 315px; /* 이미지의 최대 너비 설정 */
    height: auto; /* 비율 유지 */
    margin-top: 20px;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1.2s ease forwards;
}

.fade-in-up.delay {
    animation-delay: 0.5s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*추진사업*/
.promotion-section {
    width: 100%;
    background: url("../../../images/home/main/pro_back.jpg") no-repeat left top,
    #023366;
    padding: 110px 0;
}

.promotion-content {
    display: flex;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.pro-left-section {
    flex: 3;
    padding-right: 20px;
}

.pro-left-section h2 {
    font-size: 47px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 50px;
}

.pro-left-section .pro-txt {
    font-size: 16px;
    font-weight: 800;
    color: #aab2c0;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}

.pro-left-section p {
    font-size: 20px;
    color: #fff;
    margin-bottom: 30px;
}

.pro-buttons .pro-button1 {
    padding: 15px 30px;
    background-color: #22a9fd;
    color: white;
    font-size: 18px;
    margin-top: 10px;
}

.pro-buttons .pro-button2 {
    padding: 15px 30px;
    background-color: #4a52cc;
    color: white;
    font-size: 18px;
}

.pro-right-section {
    flex: 7;
}

.pro-banner {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.pro-banner-item {
    position: relative;
    width: calc(33.333% - 20px); /* 3개씩 배치 */
}

.pro-banner-link img {
    max-width: 100%;
    -moz-transition: all 0.3s;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

.pro-banner-link:hover img {
    -moz-transform: scale(1.1);
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

.pro-banner-link p {
    width: 100%;
    position: absolute;
    z-index: 9999;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 10px 0;
    margin: auto;
    font-size: 14px;
    font-weight: 700;
    bottom: 0;
    letter-spacing: 0.8px;
    text-align: center;
}

.pro-banner-link {
    display: block;
    background-color: #20548d;
    text-align: left;
    height: auto;
    overflow: hidden;
}

.pro-banner-btn {
    position: absolute;
    bottom: 20px; /* 오른쪽 하단에 위치하도록 설정 */
    right: 20px; /* 오른쪽 하단에 위치하도록 설정 */
    background-color: #426f9d;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    width: 25px;
    height: 25px;
}

.pro-banner-btn:hover {
    background-color: #004068;
}

/* 자주찾는 메뉴 */
.bipa-menu-section {
    width: 100%;
    padding: 40px 0;
    background: url("../../../images/home/main/bipa_back.jpg") no-repeat left top;
}

.bipa-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* 각 섹션을 상단에 맞춰 정렬 */
    flex-wrap: wrap; /* 콘텐츠가 한 줄로 고정되지 않도록 설정 */
    margin: 0 auto;
    max-width: 1400px; /* 최대 너비를 1400px로 설정 */
}

/* 왼쪽 (홍보 동영상) - 6:2:2 비율의 6 */
.bipa-left-section {
    text-align: center;
    margin-bottom: 0px; /* 섹션 간 간격을 줌 */
}

.bipa-video-banner {
    width: 100%;
    max-width: 670px;
    height: 350px;
    border-radius: 10px;
    cursor: pointer;
}

.bipa-video-banner img {
    width: 100%;
    max-width: 670px;
    height: 350px;
    border-radius: 10px;
    cursor: pointer;
}

.bipa-video-banner span {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: #21306b;
    text-align: left;
}

/* 가운데 자주 클릭하는 메뉴 - 6:2:2 비율의 2 */
.bipa-middle-section {
    text-align: center;
    margin-bottom: 0px; /* 섹션 간 간격을 줌 */
}

.bipa-menu-title {
    font-size: 20px;
    font-weight: 600;
    color: #21306b;
    margin-bottom: 20px;
}

.bipa-menu-items {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 340px;
}

.bipa-menu-item {
    margin-bottom: 20px;
    width: 100%;
    border-radius: 10px;
}

.bipa-color1 {
    background: #5cbffc;
}

.bipa-color2 {
    background: #8e94f0;
}

.bipa-color3 {
    background: #3a6fc1;
}

.bipa-menu-link {
    color: inherit;
    display: flex;
    padding: 30px 0;
    flex-direction: row-reverse; /* 아이콘을 오른쪽으로 배치 */
    align-items: center; /* 세로 가운데 정렬 */
    justify-content: space-between; /* 좌우 간격 정렬 */
    width: 100%; /* 링크 전체 폭 사용 */
    max-width: 340px; /* 필요시 제한 */
}

.bipa-menu-icon {
    width: 41px;
    height: 41px;
    margin-right: 30px;
    object-fit: contain;
}

.bipa-menu-text {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin-left: 35px;
    text-align: left; /* 텍스트 왼쪽 정렬 */
    flex: 1; /* 텍스트가 좌측 공간 채우도록 */
}

/* 오른쪽 배너 - 6:2:2 비율의 2 */
.bipa-right-section {
    margin-bottom: 0px; /* 섹션 간 간격을 줌 */
}

.bipa-banner-item {
    margin-bottom: 20px;
    width: 340px;
}

.bipa-banner-link {
    display: flex;
    padding: 45px 0;
    flex-direction: row-reverse; /* 아이콘 오른쪽 */
    align-items: center; /* 세로 가운데 */
    justify-content: space-between; /* 좌우 간격 정렬 */
    gap: 20px;
    width: 100%;
    max-width: 340px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-top-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.bipa-banner-text-wrap {
    display: flex;
    flex-direction: column; /* 세로로 쌓기 */
}

.bipa-banner-img {
    width: 71px;
    height: 71px;
    text-align: right;
    margin-right: 30px;
    object-fit: contain;
}

.bipa-banner-title {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #21306b;
    text-align: left;
    margin-left: 35px;
    letter-spacing: 1.2px;
    flex: 1; /* 텍스트가 좌측 공간 채우도록 */
}

.bipa-banner-text {
    font-size: 16px;
    color: #b1b4c4;
    margin-top: 4px;
    margin-left: 35px;
    text-align: left;
    letter-spacing: 1.5px;
}

/* 모달 스타일 (홍보 동영상) */
.bipa-video-modal {
    display: none; /* 기본적으로 모달 숨김 */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* 반투명 배경 */
    z-index: 1000;
}

.bipa-video-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.bipa-close-btn {
    position: absolute;
    top: 7px;
    right: 7px;
    font-size: 24px;
    color: #000;
    cursor: pointer;
}

.bipa-close-btn:hover {
    color: #f00;
}
