/* 공통 비주얼 영역 스타일 */
.nit_visual_main {
    position: relative;
    width: 100%;
    height: 600px;
    background: url('../images/kt_internet_service.png') center center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    overflow: hidden;
}

/* 인라인 스타일이 있을 때 CSS 배경 이미지를 덮어쓰지 않도록 설정 */
.nit_visual_main[style*="background"] {
    background: inherit !important;
}
.nit_visual_main::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(20, 40, 80, 0.35);
    z-index: 1;
}
.nit_visual_container {
    position: relative;
    z-index: 2;
    width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.nit_visual_main_content {
    margin-top: 50px;
    text-align: left;
    color: #fff;
    max-width: 600px;
    opacity: 0;
    transform: translateX(-50px);
    animation: slideInLeft 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    position: relative;
}
.nit_visual_title {
    font-size: 54px;
    font-weight: 800;
    margin-bottom: 30px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.25);
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUpStagger 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.4s forwards;
    line-height: 1.2;
    letter-spacing: -0.02em;
    position: relative;
}
.nit_visual_desc {
    font-size: 26px;
    line-height: 1.6;
    text-shadow: 1px 1px 6px rgba(0,0,0,0.18);
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUpStagger 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.8s forwards;
    font-weight: 400;
    letter-spacing: 0.01em;
}
@keyframes slideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-80px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}
@keyframes fadeInUpStagger {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    50% {
        opacity: 0.7;
        transform: translateY(20px) scale(0.98);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
@keyframes expandLine {
    0% {
        width: 0;
    }
    100% {
        width: 120px;
    }
}
.nit_visual_main_content:hover .nit_visual_title {
    transform: translateY(-2px);
    transition: transform 0.3s ease;
}
.nit_visual_main_content:hover .nit_visual_desc {
    transform: translateY(-1px);
    transition: transform 0.3s ease;
}
@media (max-width: 1400px) {
    .nit_visual_container {
        width: 100%;
        padding: 0 40px;
    }
}
@media (max-width: 900px) {
    .nit_visual_main { 
        height: 500px; 
    }
    .nit_visual_container {
        padding: 0 20px;
    }
    .nit_visual_title { 
        font-size: 36px; 
        margin-bottom: 20px;
    }
    .nit_visual_desc { 
        font-size: 18px; 
    }
    .nit_visual_title::after {
        height: 3px;
    }
} 