.admissions {
    background-color: #ffffff;
    width: 100%;
    flex-grow: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 입학 절차 스타일 */
.admissions-container {
    width: 100%;
    max-width: 1200px;
    margin-bottom: 40px;
    background-color: #ffffff;
}

.admissions-header {
    font-family: "Roboto", "Noto Sans KR", sans-serif;
    font-weight: 500;
    font-size: 3rem;
    letter-spacing: 0.1em;
    text-align: center;
    padding: 40px 0;
    position: relative;
    overflow: hidden;
    color: #333;
    padding-bottom: 45px;
}

.admissions-header > span {
    color: #4CAF50;
}

.steps-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: nowrap;
}

.step {
    position: relative;
    width: 200px;
    transition: all 0.5s ease;
    animation: fadeIn 0.8s ease forwards;
    opacity: 0;
}

.step-content {
    background: white;
    border-radius: 8px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    padding: 20px 10px;
    text-align: center;
    height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.5s ease 0s;
    position: relative;
    overflow: hidden;
    border-left: 5px solid #4CAF50;
}

.step:hover .step-content {
    background-color: #4CAF50;
    color: #ffffff;
    box-shadow: 0 10px 20px rgba(76, 175, 80, 0.3);
    transform: translateY(-5px);
}

.step:hover .step-number {
    background: #ffffff;
    color: #4CAF50;
}

.step:hover .card-icon {
    color: #ffffff;
    -webkit-text-fill-color: #ffffff;
}

.step:hover h3 {
    color: #ffffff;
}

.step-number {
    width: 40px;
    height: 40px;
    background: #f2f2f2;
    border-radius: 50%;
    color: #4CAF50;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    transition: all 0.5s ease 0s;
}

.step h3 {
    color: #200000;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    transition: all 0.5s ease 0s;
}

.arrow {
    display: flex;
    align-items: center;
    color: #4CAF50;
    font-size: 24px;
    transition: all 0.5s ease 0s;
    flex-shrink: 0;
    animation: fadeIn 0.8s ease forwards;
    opacity: 0;
}

.card-icon {
    font-size: 32px;
    margin-bottom: 15px;
    color: #4CAF50;
    transition: all 0.5s ease 0s;
}

.step:nth-child(1) {
    animation-delay: 0.2s;
}

.step:nth-child(3) {
    animation-delay: 0.4s;
}

.step:nth-child(5) {
    animation-delay: 0.6s;
}

.step:nth-child(7) {
    animation-delay: 0.8s;
}

.arrow:nth-child(2) {
    animation-delay: 0.3s;
}

.arrow:nth-child(4) {
    animation-delay: 0.5s;
}

.arrow:nth-child(6) {
    animation-delay: 0.7s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



.step:nth-child(1) .data-flow {
    animation-delay: 0s;
}

.step:nth-child(3) .data-flow {
    animation-delay: 1s;
}

.step:nth-child(5) .data-flow {
    animation-delay: 2s;
}

.step:nth-child(7) .data-flow {
    animation-delay: 3s;
}

.rc-container {
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
    width: 100%;
    margin: 0 auto;
    padding: 30px;
    background: #f8f9fa;
    color: #333;
}

.rc-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #4CAF50;
    color: #333;
    text-align: center;
}

.rc-section {
    margin-bottom: 25px;
}

.rc-section:last-child {
    margin-bottom: 0;
}

.rc-section-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    background-color: #edf7ed;
    padding: 10px 15px;
    border-radius: 6px;
    color: #3e8e41;
    border-left: 4px solid #4CAF50;
}

.rc-item {
    margin-bottom: 12px;
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
    transition: transform 0.2s ease;
}

.rc-item:last-child {
    margin-bottom: 0;
}

.rc-item:before {
    content: "▶";
    color: #4CAF50;
    margin-right: 10px;
    flex-shrink: 0;
    font-size: 12px;
}

.rc-content {
    flex: 1;
    font-size: 16px;
}

.map-container {
    width: 100%;
    max-width: 1200px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-top: 20px;
}

.map-container h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.map-placeholder {
    width: 100%;
    height: 400px;
    background-color: transparent; 
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.map-placeholder iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;  
}

.address-info {
    margin-top: 20px;
    text-align: center;
}

.address-info p {
    margin-bottom: 10px;
    color: #555;
}

.address-info .highlight {
    color: #4CAF50;
    font-weight: 500;
}

.mapTop {
    background-color: #ffffff;
    font-family: "Roboto", "Noto Sans KR", sans-serif;
    font-weight: 500;
    font-size: 3rem;
    letter-spacing: 0.1em;
    text-align: center;
    padding: 40px 0;
    position: relative;
    overflow: hidden;
    color: #333;
    padding-bottom: 45px;
}

.mapTop > span {
    color: #4CAF50;
}

.mapInfo {
    background-color: #ffffff;
    width: 100%;
    flex-grow: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 태블릿 사이즈 (1024px 이하) */
@media only screen and (max-width: 1024px) {
    .admissions-header {
        font-size: 2.5rem;
        padding: 30px 0;
        padding-bottom: 35px;
    }
    
    .mapTop {
        font-size: 2.5rem;
        padding: 30px 0;
        padding-bottom: 35px;
    }
    
    .step {
        width: 180px;
    }
    
    .step-content {
        height: 160px;
        padding: 15px 8px;
    }
    
    .card-icon {
        font-size: 28px;
    }
    
    .step h3 {
        font-size: 18px;
    }
}

/* 태블릿 세로/모바일 가로 (900px 이하) */
@media only screen and (max-width: 900px) {
    .steps-container {
        flex-direction: column;
        gap: 15px;
    }

    .arrow {
        transform: rotate(90deg);
        margin: 5px 0;
    }
    
    .arrow i:before {
        content: "\f078"; /* fa-chevron-down */
    }

    .step {
        width: 280px;
        max-width: 90vw;
    }

    .step-content {
        height: 180px;
        padding: 20px 15px;
    }
    
    .admissions {
        padding: 15px;
    }
    
    .admissions-container {
        margin-bottom: 30px;
    }
    

}

/* 모바일 (768px 이하) */
@media only screen and (max-width: 768px) {
    .admissions-header {
        font-size: 2rem;
        padding: 25px 0;
        padding-bottom: 30px;
    }
    
    .mapTop {
        font-size: 2rem;
        padding: 25px 0;
        padding-bottom: 30px;
    }
    
    .rc-container {
        padding: 20px;
        max-width: 95%;
    }

    .rc-title {
        font-size: 20px;
    }

    .rc-section-title {
        font-size: 16px;
        padding: 8px 12px;
    }

    .rc-content {
        font-size: 14px;
    }
    
    .step {
        width: 260px;
    }
    
    .step-content {
        height: 160px;
        padding: 18px 12px;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .card-icon {
        font-size: 26px;
        margin-bottom: 12px;
    }
    
    .step h3 {
        font-size: 16px;
        margin-bottom: 8px;
    }
    
    .arrow {
        font-size: 20px;
    }
    
    .map-placeholder {
        height: 300px;
    }
    
    .map-container {
        padding: 15px;
        margin-top: 15px;
    }
    
    .address-info p {
        margin-bottom: 8px;
        font-size: 14px;
    }
}

/* 작은 모바일 (480px 이하) */
@media only screen and (max-width: 480px) {
    .admissions-header {
        font-size: 1.6rem;
        padding: 20px 10px;
        padding-bottom: 25px;
    }
    
    .mapTop {
        font-size: 1.6rem;
        padding: 20px 10px;
        padding-bottom: 25px;
    }
    
    .admissions {
        padding: 10px;
    }
    
    .rc-container {
        padding: 15px;
    }
    
    .rc-title {
        font-size: 18px;
        margin-bottom: 20px;
        padding-bottom: 12px;
    }
    
    .rc-section-title {
        font-size: 15px;
        padding: 8px 10px;
        margin-bottom: 12px;
    }
    
    .rc-content {
        font-size: 13px;
        line-height: 1.5;
    }
    
    .rc-item {
        margin-bottom: 10px;
    }
    
    .step {
        width: 240px;
    }
    
    .step-content {
        height: 140px;
        padding: 15px 10px;
    }
    
    .step-number {
        width: 30px;
        height: 30px;
        font-size: 14px;
        margin-bottom: 10px;
    }
    
    .card-icon {
        font-size: 22px;
        margin-bottom: 10px;
    }
    
    .step h3 {
        font-size: 14px;
        margin-bottom: 6px;
    }
    
    .arrow {
        font-size: 18px;
        margin: 3px 0;
    }
    
    .map-placeholder {
        height: 250px;
    }
    
    .map-container {
        padding: 12px;
        margin-top: 12px;
    }
    
    .address-info {
        margin-top: 15px;
    }
    
    .address-info p {
        margin-bottom: 6px;
        font-size: 13px;
        line-height: 1.4;
    }
}

/* 매우 작은 모바일 (360px 이하) */
@media only screen and (max-width: 360px) {
    .admissions-header {
        font-size: 1.4rem;
        padding: 15px 5px;
        padding-bottom: 20px;
    }
    
    .mapTop {
        font-size: 1.4rem;
        padding: 15px 5px;
        padding-bottom: 20px;
    }
    
    .step {
        width: 220px;
    }
    
    .step-content {
        height: 130px;
        padding: 12px 8px;
    }
    
    .step-number {
        width: 28px;
        height: 28px;
        font-size: 13px;
        margin-bottom: 8px;
    }
    
    .card-icon {
        font-size: 20px;
        margin-bottom: 8px;
    }
    
    .step h3 {
        font-size: 13px;
        margin-bottom: 5px;
    }
    
    .rc-container {
        padding: 12px;
    }
    
    .rc-title {
        font-size: 16px;
    }
    
    .rc-section-title {
        font-size: 14px;
        padding: 6px 8px;
    }
    
    .rc-content {
        font-size: 12px;
    }
    
    .map-placeholder {
        height: 220px;
    }
    
    .address-info p {
        font-size: 12px;
    }
}