/* 교육 신청 페이지 최종 개선 스타일 - 하늘색 테마 */

/* 상단 네비 - 연한 블루 그레이 */
.topNav {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(71, 85, 105, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 2px solid #e0f2fe;
}

.topNav ul {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
}

.topNav li {
    margin: 0;
}

.topNav a {
    display: block;
    padding: 20px 32px;
    color: #334155;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    position: relative;
}

.topNav a:hover {
    color: #0ea5e9;
    background: rgba(56, 189, 248, 0.12);
}

.topNav a.active {
    color: #0ea5e9;
    background: rgba(56, 189, 248, 0.18);
}

.topNav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20%;
    right: 20%;
    height: 3px;
    background: linear-gradient(90deg, #38bdf8, #0ea5e9);
    border-radius: 3px 3px 0 0;
}

/* 메인 컨테이너 배경 */
.trnMain1 {
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 50%, #bae6fd 100%);
    position: relative;
}

.trnMain1 .bg {
    padding: 70px 20px 80px;
    min-height: calc(100vh - 200px);
}

/* 제목 영역 - 중앙 정렬 */
.mTrnMain1:first-child {
/*     max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 50px; */
}

.mTrnMain1 h3 {
    text-align: center;
    font-size: 36px;
    font-weight: 800;
    margin: 0;
    line-height: 1.4;
    color: #0c4a6e;
    text-shadow: 0 2px 20px rgba(255, 255, 255, 0.5);
}

/* 메인 컨텐츠 레이아웃 - 폼과 배너 */
.mTrnMain1:last-child {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 50px;
    align-items: flex-start;
    justify-content: center;
}

/* 왼쪽 폼 영역 */
.mTrnMain1 .formWrap {
	margin-top:74px;
    width: 100%;
    max-width: 340px;
    flex-shrink: 0;
    background: #ffffff;
    padding: 25px 25px;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(12, 74, 110, 0.15);
    border: none;
}

/* 입력 그룹 */
.mTrnMain1 .formGroup {
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
}

.mTrnMain1 .formGroup label {
    font-size: 15px;
    margin-bottom: 10px;
    font-weight: 700;
    color: #0c4a6e;
    letter-spacing: -0.3px;
}

/* input 스타일 */
.mTrnMain1 .formGroup input {
    height: 40px;
    padding: 0 20px;
    border: 2px solid #bae6fd;
    border-radius: 14px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #f0f9ff;
    font-family: inherit;
}

.mTrnMain1 .formGroup input:focus {
    outline: none;
    border-color: #3b9dd8;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(59, 157, 216, 0.15);
}

.mTrnMain1 .formGroup input::placeholder {
    color: #94a3b8;
}

/* 신청 버튼 */
.submitBtn {
    width: 100%;
    height: 58px;
    background: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 100%);
    border-radius: 14px;
    border: none;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.35);
    margin-top: 15px;
    text-align: center;
}

.submitBtn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(14, 165, 233, 0.45);
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
}

.submitBtn:active {
    transform: translateY(-1px);
}

/* 오른쪽 배너 영역 */
.mTrnCouphon1 {
    flex: 1;
    max-width: 550px;
    position: relative;
    padding: 0 0 55px;
}

.mTrnCouphon1 .swiper {
    width: 100%;
    height: 520px;
    border-radius: 20px;
    overflow: hidden;
}

.mTrnCouphon1 .swiper-slide {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.mTrnCouphon1 .swiper-slide a {
    width: 100%;
    height: 100%;
    display: block;
}

.mTrnCouphon1 .swiper-slide img {
	object-fit: none;
    width: 100%;
    height: 100%;
    display: block;
}

/* Swiper 페이지네이션 커스텀 - 외부 배치 */
.mTrnCouphon1 .swiper-pagination {
    bottom: 15px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.mTrnCouphon1 .swiper-pagination-bullet {
    width: 11px;
    height: 11px;
    background: rgba(12, 74, 110, 0.3);
    opacity: 1;
    transition: all 0.4s ease;
    margin: 0 !important;
    border-radius: 10px;
}

.mTrnCouphon1 .swiper-pagination-bullet-active {
    background: #0c4a6e;
    width: 40px;
    box-shadow: 0 2px 10px rgba(12, 74, 110, 0.4);
}

/* tst 클래스 (제목) */
.tst.forW {
    display: block;
}

.tst.forM {
    display: none;
}

/* mTrnMain2 컨텐츠 박스 */
.mTrnMain2 {
    width: 100%;
}

/* mTitle2 타이틀 */
.mTitle2.line1 {
    font-size: 28px;
    font-weight: 800;
    color: #0c4a6e;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 3px solid #e0f2fe;
    position: relative;
}

.mTitle2.line1::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #38bdf8, #0ea5e9);
    border-radius: 3px;
}

.mTitle2.mpdt30 {
    margin-top: 0;
}

/* trnGContents 본문 */
.trnGContents {
    background: #ffffff;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(12, 74, 110, 0.08);
    border: 1px solid #e0f2fe;
    line-height: 1.8;
    color: #334155;
    font-size: 15px;
}
.trnGContents img{
	max-width: 100%;
  height: auto;
}
.submitBtnDiv {
    margin: 0 auto;
    padding: 16px 0 0;
    width: 460px;
}
.submitBtn {
	    width: 100%;
    height: 58px;
    background: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 100%);
    border-radius: 14px;
    border: none;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.35);
    margin-top: 15px;
    text-align: center;
}

.submitBtn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(14, 165, 233, 0.45);
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
}

.submitBtn:active {
    transform: translateY(-1px);
}

/* mLnb1 좌측 메뉴 - 개선 버전 */
.mLnb1.forWeb {
    width: 250px;
    flex-shrink: 0;
}

.mLnb1 .list {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(12, 74, 110, 0.12);
    overflow: hidden;
    border: 2px solid #e0f2fe;
    padding: 8px;
}

.mLnb1 .list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mLnb1 .list li {
    margin-bottom: 6px;
}

.mLnb1 .list li:last-child {
    margin-bottom: 0;
}

.mLnb1 .list a {
    display: flex;
    align-items: center;
    padding: 18px 20px;
    color: #64748b;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border-radius: 16px;
    background: transparent;
}

.mLnb1 .list a::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #cbd5e1;
    border-radius: 50%;
    margin-right: 14px;
    transition: all 0.3s ease;
}

.mLnb1 .list a:hover {
    color: #0284c7;
    padding-left: 24px;
    transform: translateX(2px);
}


.mLnb1 .list li.active a {
    background: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 100%);
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.35);
    padding-left: 20px;
}

@keyframes arrowBounce {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(4px);
    }
}


/* 모바일 대응 */
@media (max-width: 980px) {
    .trnMain1 .bg {
        padding: 50px 20px 60px;
    }

    .mTrnMain1:first-child {
        padding: 0 20px 40px;
    }

    .mTrnMain1:first-child h3 {
        font-size: 28px;
    }

    .mTrnMain1:last-child {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .mTrnMain1 .formWrap {
    	margin-top:0px;
        max-width: 100%;
        width: 100%;
    }

    .mTrnCouphon1 {
        width: 100%;
        max-width: 100%;
        padding: 0 0 50px;
    }

    .mTrnCouphon1 .swiper {
        height: 400px;
        margin-bottom: 16px;
    }

    .mTrnCouphon1 .swiper-pagination {
        padding: 12px 0;
    }

    .tst.forW {
        display: none;
    }

    .tst.forM {
        display: block;
    }
}

/* 모바일 소형 대응 */
@media (max-width: 640px) {
    .trnMain1 .bg {
        padding: 40px 16px 50px;
    }

    .mTrnMain1:first-child {
        padding: 0 16px 30px;
    }

    .mTrnMain1:first-child h3 {
        font-size: 24px;
    }

    .mTrnMain1:last-child {
        padding: 0 16px;
        gap: 30px;
    }

    .mTrnMain1 .formWrap {
        padding: 35px 28px;
    }

    .mTrnMain1 .formGroup {
        margin-bottom: 22px;
    }

    .mTrnMain1 .formGroup label {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .mTrnMain1 .formGroup input {
        height: 50px;
        font-size: 14px;
    }

    .mTrnMain1 .submitBtn {
        height: 54px;
        font-size: 17px;
    }

    .mTrnCouphon1 .swiper {
        height: 300px;
        border-radius: 16px;
        margin-bottom: 12px;
    }
.mTrnCouphon1 .swiper .swiper-slide{width:100% !important;height:auto;}
    .mTrnCouphon1 .swiper-pagination {
        padding: 10px 0;
        border-radius: 10px;
    }

    .mTrnCouphon1 .swiper-pagination-bullet {
        width: 9px;
        height: 9px;
    }

    .mTrnCouphon1 .swiper-pagination-bullet-active {
        width: 32px;
    }