/* 랜공사 페이지 전용 스타일 */
/* 상담섹션 관련 스타일은 작성하지 않음 */
.nit_slide_bg {
  background-image: url('../images/nit_ran.png') !important;
}

/* 1번 영역: 랜공사 메인 컨텐츠 */
.network_container {
width: 1400px;
max-width: 100%;
margin: 0 auto;
padding: 60px 0;
}

.network_section_content {
display: flex;
gap: 30px;
align-items: flex-start;
justify-content: flex-start;
padding-left: 20px;
}

.network_left {
flex: 0 0 auto;
display: flex;
justify-content: flex-start;
align-items: flex-start;
}

.network_main_img {
width: 100%;
max-width: 450px;
height: 300px;
object-fit: cover;
border-radius: 12px;
box-shadow: none;
margin: 0;
display: block;
}

.network_right {
flex: 1;
display: flex;
flex-direction: column;
align-items: stretch;
}

.network_banner {
background: #f8f9fa;
border-radius: 12px;
box-shadow: 0 2px 12px rgba(0,0,0,0.06);
padding: 28px 24px;
width: 100%;
height: 300px;
text-align: left;
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: flex-start;
}

.network_banner h3 {
font-size: 28px;
font-weight: 800;
margin-bottom: 20px;
color: #1a1a1a;
text-align: left;
letter-spacing: -0.5px;
}

.network_service_info {
display: flex;
flex-direction: column;
gap: 20px;
height: 100%;
}

.service_item {
background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 249, 250, 0.95));
border-radius: 12px;
padding: 30px 25px;
box-shadow: 0 8px 32px rgba(0, 123, 255, 0.1);
border: 1px solid rgba(0, 123, 255, 0.1);
height: 300px;
display: flex;
flex-direction: column;
justify-content: center;
position: relative;
overflow: hidden;
}

.service_item::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 4px;
background: linear-gradient(90deg, #007bff, #0056b3);
}

.service_item h4 {
font-size: 20px;
font-weight: 800;
margin-bottom: 5px;
color: #1a1a1a;
text-align: left;

}

.service_item h4::after {
content: '';
position: absolute;
bottom: -5px;
left: 0;
width: 40px;
height: 3px;
background: linear-gradient(90deg, #007bff, #0056b3);
border-radius: 2px;
}

.service_item p {
font-size: 15px;
color: #4a4a4a;
line-height: 1.8;
text-align: left;
margin: 0 0 5px 0;
font-weight: 400;
}

.service_item p.highlight {
background: linear-gradient(135deg, rgba(0, 123, 255, 0.1), rgba(0, 86, 179, 0.1));
border-left: 4px solid #007bff;
padding: 5px 20px;
border-radius: 8px;
font-weight: 500;
color: #1a1a1a;
margin: 20px 0;
position: relative;
}

.service_item p.highlight::before {

position: absolute;
top: -8px;
left: 15px;
background: #007bff;
color: white;
font-size: 12px;
padding: 4px 8px;
border-radius: 12px;
}

.service_item p:last-child {
margin-bottom: 0;
}

.service_note {
background: #f8f9fa;
padding: 15px;
border-radius: 8px;
margin-top: 20px;
font-size: 15px;
color: #6c757d;
}

.service_note strong {
color: #495057;
}

/* 왼쪽 이미지 배너 및 설명 */
.network_left_banner {
background: #0a0a0a;
border-radius: 12px;
padding: 0;
overflow: hidden;
}

.network_left_desc {
font-size: 14px;
color: #666;
margin-top: 15px;
line-height: 1.5;
}

/* 2번 영역: 랜공사 서비스 상세 정보 */
.network_section_2 {
background: #ffffff;
padding: 30px 0;
}

.section_header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 20px;
}

.section_title {
font-size: 36px;
font-weight: 500;
text-align: left;
margin: 0;
color: #1a1a1a;
letter-spacing: -0.5px;
}

/* 네트워크 구성 사례 영역 */
.network_section_3 {
background: #ffffff;
padding: 30px 0;
}

.network_cases_grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 30px;
margin-top: 40px;
}

.case_card {
background: #ffffff;
border-radius: 12px;
padding: 30px;
box-shadow: 0 4px 20px rgba(0,0,0,0.08);
text-align: center;
transition: all 0.3s ease;
position: relative;
overflow: hidden;
border: 1px solid #e9ecef;
}

.case_card:hover {
transform: translateY(-5px);
box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.case_icon {
width: 60px;
height: 60px;
background: linear-gradient(135deg, #007bff, #0056b3);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto 20px;
}

.case_icon i {
font-size: 24px;
color: white;
}

.case_card h3 {
font-size: 20px;
font-weight: 700;
color: #1a1a1a;
margin-bottom: 15px;
line-height: 1.3;
}

.case_card p {
font-size: 14px;
color: #666;
line-height: 1.6;
margin-bottom: 20px;
}

.case_card ul {
list-style: none;
padding: 0;
margin: 0;
text-align: left;
}

.case_card li {
font-size: 13px;
color: #4a4a4a;
line-height: 1.5;
margin-bottom: 8px;
padding-left: 20px;
position: relative;
}

.case_card li:before {
content: "•";
color: #007bff;
font-weight: bold;
position: absolute;
left: 0;
}

/* 랜공사 사례 영역 */
.network_section_4 {
background: #2d2d2d;
padding: 80px 0;
}

.network_consultation_content {
display: flex;
gap: 60px;
align-items: flex-start;
margin-top: 40px;
}

.consultation_steps_content {
flex: 1;
display: flex;
flex-direction: column;
gap: 40px;
}

.steps_row {
display: flex;
align-items: center;
justify-content: space-between;
gap: 20px;
}

.step_card {
background: #ffffff;
border-radius: 12px;
padding: 12px;
box-shadow: 0 4px 20px rgba(0,0,0,0.08);
flex: 1;
text-align: center;
transition: all 0.3s ease;
position: relative;
overflow: hidden;
min-height: 300px;
display: flex;
flex-direction: column;
align-items: center;
}

.step_card:hover {
transform: translateY(-5px);
box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.step_number {
background: #007bff;
color: white;
font-size: 12px;
font-weight: 700;
padding: 6px 12px;
border-radius: 15px;
display: inline-block;
letter-spacing: 0.5px;
margin-bottom: 20px;
}

.step_title {
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
margin-bottom: 15px;
}

.step_title h3 {
font-size: 20px;
font-weight: 700;
color: #1a1a1a;
margin: 0;
line-height: 1.3;
}

.step_icon {
width: 24px;
height: 24px;
background: linear-gradient(135deg, #007bff, #0056b3);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
}

.step_icon i {
font-size: 12px;
color: white;
}

.step_card p {
font-size: 14px;
color: #666;
line-height: 1.6;
margin-bottom: 20px;
flex: 1;
}

.step_card ul {
list-style: none;
padding: 0;
margin: 0;
text-align: left;
width: 100%;
}

.step_card li {
font-size: 13px;
color: #4a4a4a;
line-height: 1.5;
margin-bottom: 8px;
padding-left: 20px;
position: relative;
}

.step_card li:before {
content: "•";
color: #007bff;
font-weight: bold;
position: absolute;
left: 0;
}

.step_arrow {
color: #007bff;
font-size: 20px;
font-weight: bold;
display: flex;
align-items: center;
justify-content: center;
min-width: 30px;
height: 30px;
}



.consultation_form {
background: #ffffff;
border-radius: 12px;
padding: 40px;
box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.consultation_form h3 {
font-size: 24px;
font-weight: 700;
color: #1a1a1a;
margin-bottom: 30px;
}

.consultation_request_form {
display: flex;
flex-direction: column;
gap: 20px;
}

.form_row {
display: flex;
gap: 20px;
}

.form_group {
display: flex;
flex-direction: column;
gap: 8px;
flex: 1;
}

.form_group label {
font-size: 14px;
font-weight: 600;
color: #1a1a1a;
}

.form_group input,
.form_group select,
.form_group textarea {
padding: 12px 16px;
border: 2px solid #e9ecef;
border-radius: 8px;
font-size: 14px;
transition: all 0.3s ease;
background: #ffffff;
}

.form_group input:focus,
.form_group select:focus,
.form_group textarea:focus {
outline: none;
border-color: #007bff;
box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.form_group textarea {
resize: vertical;
min-height: 100px;
}

.submit_btn {
background: linear-gradient(135deg, #007bff, #0056b3);
color: white;
border: none;
padding: 15px 30px;
border-radius: 8px;
font-size: 16px;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
margin-top: 10px;
}

.submit_btn:hover {
transform: translateY(-2px);
box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
}

.section_underline {
width: 100%;
height: 2px;
background: #1a1a1a;
border-radius: 1px;
margin-bottom: 40px;
}

/* 랜공사 기본 구성 영역만 진한 파란색 */
.network_section_2 .section_underline {
background: #0056b3;
}

/* 랜공사 사례 영역만 하얀색 */
.network_section_4 .section_title {
color: #ffffff;
}

/* 랜공사 사례 영역만 하얀색 */
.network_section_4 .section_underline {
background: #ffffff;
}

/* 랜공사 상담 영역 */
.network_section_5 {
background: #f8f9fa;
padding: 80px 0;
}

.more_cases_link {
color: #ffffff;
text-decoration: none;
font-size: 16px;
font-weight: 600;
display: flex;
align-items: center;
gap: 8px;
transition: all 0.3s ease;
padding: 12px 20px;
border: 2px solid rgba(255, 255, 255, 0.3);
border-radius: 8px;
}

.more_cases_link:hover {
color: #ffffff;
border-color: #ffffff;
background: rgba(255, 255, 255, 0.1);
transform: translateX(5px);
}

.more_cases_link i {
transition: transform 0.3s ease;
}

.more_cases_link:hover i {
transform: translateX(3px);
}

.network_steps_content {
display: flex;
align-items: center;
justify-content: space-between;
gap: 20px;
flex-wrap: wrap;
}

.step_item {
background: #ffffff;
border-radius: 12px;
box-shadow: 0 4px 20px rgba(0,0,0,0.08);
padding: 0;
flex: 1;
min-width: 200px;
text-align: center;
transition: all 0.3s ease;
position: relative;
overflow: hidden;
height: 370px;
display: flex;
flex-direction: column;
align-items: center;
}

.step_item:hover {
transform: translateY(-5px);
box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.step_image {
width: 100%;
height: 200px;
overflow: hidden;
flex-shrink: 0;
}

.step_img {
width: 100%;
height: 100%;
object-fit: cover;
transition: all 0.3s ease;
}

.step_item:hover .step_img {
transform: scale(1.05);
}

.step_content {
padding: 20px;
flex: 1;
display: flex;
flex-direction: column;
justify-content: center;
}

.step_number {
background:#007bff;
color: white;
font-size: 14px;
font-weight: 700;
margin-top:10px;
padding: 10px 20px;
border-radius: 8px;
display: inline-block;
letter-spacing: 0.5px;
margin-bottom: 15px;
width: 100px;
text-align: center;
}

.step_item h3 {
font-size: 18px;
font-weight: 700;
margin-bottom: 12px;
color: #1a1a1a;
line-height: 1.3;
}

.step_item p {
font-size: 14px;
color: #666;
line-height: 1.5;
margin: 0;
flex: 1;
}

.step_arrow {
color: #007bff;
font-size: 24px;
font-weight: bold;
display: flex;
align-items: center;
justify-content: center;
min-width: 40px;
height: 40px;
}

.step_arrow i {
animation: arrowPulse 2s ease-in-out infinite;
}

@keyframes arrowPulse {
0%, 100% {
transform: translateX(0);
opacity: 0.7;
}
50% {
transform: translateX(5px);
opacity: 1;
}
}

/* 3번 영역: 랜공사 사례 */


.network_cases_content {
display: flex;
flex-direction: column;
gap: 0;
margin-top: 40px;
background: #000000;
border-radius: 0;
overflow: hidden;
box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}

.case_row {
display: flex;
gap: 0;
justify-content: space-between;
}

.case_image_item {
position: relative;
flex: 1;
height: 200px;
border-radius: 0;
overflow: hidden;
transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
cursor: pointer;
background: #000000;
}

.case_image_item:hover {
transform: none;
box-shadow: none;
}

.case_img {
width: 100%;
height: 100%;
object-fit: cover;
transition: all 0.4s ease;
will-change: transform, filter;
backface-visibility: hidden;
transform: translateZ(0);
}

.case_image_item:hover .case_img {
transform: none;
filter: brightness(1) !important;
}

/* 홀수 번째 이미지: 어둡게 */
.case_image_item:nth-child(odd) .case_img {
filter: brightness(0.4);
transform: scale(1);
}

/* 짝수 번째 이미지: 밝게 */
.case_image_item:nth-child(even) .case_img {
filter: brightness(1);
transform: scale(1);
}

/* 2행만 반대로 패턴 적용 */
.case_row:nth-child(2) .case_image_item:nth-child(odd) .case_img {
filter: brightness(1);
transform: scale(1);
}

.case_row:nth-child(2) .case_image_item:nth-child(even) .case_img {
filter: brightness(0.4);
transform: scale(1);
}

.case_overlay {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.5);
opacity: 1;
transition: all 0.4s ease;
display: flex;
align-items: center;
justify-content: center;
}

.case_image_item:hover .case_overlay {
opacity: 0 !important;
}

/* 짝수 번째 이미지: 오버레이 숨김 */
.case_image_item:nth-child(even) .case_overlay {
opacity: 0;
}

/* 2행만 반대로 오버레이 패턴 적용 */
.case_row:nth-child(2) .case_image_item:nth-child(odd) .case_overlay {
opacity: 0;
}

.case_row:nth-child(2) .case_image_item:nth-child(even) .case_overlay {
opacity: 1;
}

.case_info {
text-align: center;
color: white;
transform: translateY(0);
transition: all 0.4s ease;
}

.case_image_item:hover .case_info {
transform: translateY(-20px);
opacity: 0;
}

.case_info h4 {
font-size: 18px;
font-weight: 700;
margin-bottom: 8px;
text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.case_info p {
font-size: 14px;
font-weight: 500;
opacity: 0.9;
text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}



/* ===== 스크롤 기반 애니메이션 효과 ===== */

/* 기본 애니메이션 상태 (초기 숨김) */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* 애니메이션 활성화 상태 */
.animate-on-scroll.animate {
  opacity: 1;
  transform: translateY(0);
}

/* 지연 애니메이션 클래스들 */
.animate-on-scroll.delay-100 {
  transition-delay: 0.1s;
}

.animate-on-scroll.delay-200 {
  transition-delay: 0.2s;
}

.animate-on-scroll.delay-300 {
  transition-delay: 0.3s;
}

.animate-on-scroll.delay-400 {
  transition-delay: 0.4s;
}

.animate-on-scroll.delay-500 {
  transition-delay: 0.5s;
}

/* 좌측에서 슬라이드 인 애니메이션 (가로 스크롤 방지) */
.slide-in-left {
  opacity: 0;
  transform: translateX(-60px); /* 거리 줄임 */
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow: hidden; /* 가로 스크롤 방지 */
}

.slide-in-left.animate {
  opacity: 1;
  transform: translateX(0);
}

/* 우측에서 슬라이드 인 애니메이션 (가로 스크롤 방지) */
.slide-in-right {
  opacity: 0;
  transform: translateX(60px); /* 거리 줄임 */
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow: hidden; /* 가로 스크롤 방지 */
}

.slide-in-right.animate {
  opacity: 1;
  transform: translateX(0);
}

/* 확대 애니메이션 */
.scale-in {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scale-in.animate {
  opacity: 1;
  transform: scale(1);
}

/* 회전 확대 애니메이션 */
.rotate-scale-in {
  opacity: 0;
  transform: scale(0.8) rotate(-5deg);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.rotate-scale-in.animate {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

/* 페이드 인 애니메이션 */
.fade-in {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in.animate {
  opacity: 1;
}

/* 테이블 행 애니메이션 */
.table-row-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.table-row-animate.animate {
  opacity: 1;
  transform: translateY(0);
}

/* 카드 호버 효과 강화 */
.network_info_card,
.service_item,
.case_item {
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.network_info_card:hover,
.service_item:hover,
.case_item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* 이미지 호버 효과 */
.network_main_img,
.network_detail_img {
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform: none; /* 기본 transform 초기화 */
}

.network_main_img:hover,
.network_detail_img:hover {
  transform: scale(1.02);
  filter: brightness(1.1) contrast(1.1);
}

/* 섹션별 특별 애니메이션 */
.network_section_1 {
  position: relative;
  padding: 50px 0;
}

.network_section_1::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 123, 255, 0.05) 0%, rgba(23, 78, 166, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  pointer-events: none;
}

.network_section_1.animate::before {
  opacity: 1;
}

/* 제목 애니메이션 강화 (구분선 제거) */
.section_title {
  position: relative;
  overflow: hidden;
}

/* 구분선 제거 - after 가상 요소 주석 처리
.section_title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: -100%;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #007bff, #174ea6);
  transition: left 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.section_title.animate::after {
  left: 0;
}
*/

/* 반응형 애니메이션 조정 */
@media (max-width: 768px) {
  .animate-on-scroll {
    transform: translateY(40px);
  }
  
  .slide-in-left {
    transform: translateX(-30px); /* 모바일에서 거리 더 줄임 */
  }
  
  .slide-in-right {
    transform: translateX(30px); /* 모바일에서 거리 더 줄임 */
  }
  
  .scale-in {
    transform: scale(0.9);
  }
  
  /* 모바일에서 가로 스크롤 완전 방지 */
  body {
    overflow-x: hidden;
    position: relative;
  }
  
  .network_section_content {
    flex-direction: column;
  }
  
  .network_consultation_content {
    flex-direction: column;
    gap: 30px;
  }
  
  .network_cases_grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .case_card {
    padding: 25px 20px;
  }
  
  .consultation_steps_content {
    gap: 30px;
  }
  
  .steps_row {
    flex-direction: column;
    gap: 20px;
  }
  
  .step_arrow {
    display: none;
  }
  
  .step_card {
    min-height: auto;
    padding: 25px 20px;
  }
  
  .consultation_form {
    padding: 30px 20px;
  }
  
  .form_row {
    flex-direction: column;
    gap: 15px;
  }
  
  .network_steps_content {
flex-direction: column;
gap: 30px;
}

.step_arrow {
display: none;
}
  
  .network_request_content {
    flex-direction: column;
  }
  
  .case_row {
flex-direction: column;
gap: 0;
}

.case_image_item {
height: 150px;
}
}

/* 성능 최적화 */
.animate-on-scroll,
.slide-in-left,
.slide-in-right,
.scale-in,
.rotate-scale-in,
.fade-in,
.table-row-animate {
  will-change: transform, opacity;
}

/* 가로 스크롤 방지 - 전체 페이지 */
body {
  overflow-x: hidden;
  width: 100%;
}

/* 컨테이너 가로 스크롤 방지 */
.network_container,
.network_section_content,
.network_service_content {
  overflow-x: hidden;
  max-width: 100%;
}



/* 애니메이션 비활성화 옵션 (사용자 설정) */
@media (prefers-reduced-motion: reduce) {
  .animate-on-scroll,
  .slide-in-left,
  .slide-in-right,
  .scale-in,
  .rotate-scale-in,
  .fade-in,
  .table-row-animate {
    transition: none;
    transform: none;
    opacity: 1;
  }
} 