/* CSS 통합 코드 */
#core-services .highlight-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
}

/* [추가] 후기 섹션 스타일 분리 */
#testimonials {
    padding: 80px 0;
    background-color: #f8f9fa; /* 컨설턴트 섹션과 다른 배경색 */
}
#testimonials .section-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 60px;
    color: #0A2342;
}
#testimonials .card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
#testimonials .testimonial {
    background-color: #ffffff;
    border: 1px solid #e9ecef;
}

/* [추가] 컨설턴트 섹션 스타일 분리 */
#consultants {
    padding: 80px 0;
    background-color: #ffffff; /* 진행 과정 섹션과 다른 배경색 */
}

/* 핵심 서비스 섹션 (신규 디자인) */
#core-services {
    padding: 80px 0;
    background-color: #ffffff;
}
.section-header-center {
    text-align: center;
    margin-bottom: 60px;
}
.section-header-center .section-title {
    font-size: 2.8rem;
    margin-bottom: 15px;
}
.section-header-center .section-subtitle {
    font-size: 1.1rem;
    color: #555;
    max-width: 700px;
    line-height: 1.7;
    margin: 0 auto 30px;
}
/* [수정] 핵심 기능 슬라이더 스타일 */
.feature-slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    max-width: 900px;
    margin: 0 auto;
}
.feature-slider-track {
    display: flex;
    width: calc(320px * 8); /* (card-width + gap) * (number of cards) */
    animation: slide-anim 30s linear infinite;
}
.feature-box-item {
    flex-shrink: 0;
    width: 280px;
    padding: 30px;
    margin: 15px 20px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0,30,80,0.08);
    text-align: left;
    border: 1px solid #e9ecef;
}
.feature-box-item h4 {
    font-size: 1.2rem;
    color: #0A2342;
    margin: 0 0 10px 0;
}
.feature-box-item p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin: 0;
}
@keyframes slide-anim {
    from { transform: translateX(0%); }
    to { transform: translateX(-50%); }
}
/* [추가] 실시간 소통 섹션 스타일 */
.realtime-support-section {
    text-align: center;
    padding: 60px 20px;
    background-color: #f8f9fa; /* 약간 다른 배경색으로 구분 */
    border-radius: 16px;
    margin: 60px 0;
}
.realtime-support-section h3 {
    font-size: 1.8rem;
    color: #0A2342;
    margin-bottom: 15px;
}
.realtime-support-section p {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.7;
    max-width: 650px;
    margin: 0 auto 30px;
}
.communication-tools {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}
.tool-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.tool-item .tool-icon { font-size: 3rem; line-height: 1; }
.tool-item .tool-name { font-size: 1rem; font-weight: 600; color: #333; }
/* 핵심 서비스 섹션 (지그재그 레이아웃) */
#core-services .highlight-container {
    display: flex;
    align-items: center;
    gap: 50px;
    padding: 4rem 0;
}
#core-services .highlight-container:not(:last-child) {
    border-bottom: 1px solid #e9ecef;
}
#core-services .highlight-container:nth-of-type(even) {
    flex-direction: row-reverse;
}
#core-services .highlight-image {
    flex: 1 1 45%;
}
#core-services .highlight-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}
#core-services .highlight-text {
    flex: 1 1 55%;
}
#core-services .highlight-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

/* [수정] 컨설턴트 팀 섹션 */
.consultant-team-wrapper {
    width: 100%;
    margin-top: 40px; /* team-main-layout과의 간격 */
    box-sizing: border-box;
    padding: 0; /* 불필요한 패딩 제거 */
}

#consultant-team-section .consultant-header,
#consultant-team-section .section-subtitle { display: none; }

#consultant-team-section .card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

#consultant-team-section .consultant-profile {
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 16px;
    padding: 25px;
    text-align: center; /* 내부 요소 기본 중앙 정렬 */
    box-shadow: 0 4px 12px rgba(0, 30, 80, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#consultant-team-section .consultant-profile:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 30, 80, 0.1);
}

.profile-main-info {
    display: flex;
    flex-direction: column; /* 세로 정렬로 변경 */
    align-items: center; /* 자식 요소들 중앙 정렬 */
}

#consultant-team-section .consultant-profile img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover; /* 이미지 비율을 유지하면서 컨테이너를 채움 (왜곡 방지) */
    object-position: center;
    border: 4px solid #eaf5ff;
    margin-bottom: 15px; /* 이미지와 텍스트 사이 간격 */
}

.profile-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%; /* 너비를 100%로 설정하여 내부 텍스트 정렬이 가능하도록 함 */
}

/* 진행 과정 섹션 제목 크기 조정 */
#process-details .section-title {
    font-size: 2.6rem;
}

#consultant-team-section .consultant-profile h3 {
    font-size: 1.4rem;
    color: #0A2342;
    margin: 0 0 5px 0;
}

#consultant-team-section .consultant-profile .title {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #0056b3;
    margin-bottom: 20px; /* 이름/직책과 학력/경력 사이 간격 */
}

.profile-details .profile-education {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #495057;
    margin: 0;
    text-align: left; /* 학력, 경력은 가독성을 위해 좌측 정렬 */
}

#consultant-team-section .consultant-profile p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #495057;
    margin: 0;
}

.profile-strengths {
    text-align: left; /* 강점 내용도 좌측 정렬 */
    border-top: 1px solid #f1f3f5;
    padding-top: 20px;
}

#consultant-team-section .consultant-profile p strong {
    font-weight: 700;
    color: #343a40;
}

/* Pricing Plan Section */
/* CTA 섹션 디자인 변경 */
#cta {
    background: linear-gradient(135deg, #0A2342, #1d3c63);
    color: #ffffff;
    padding: 80px 40px;
    text-align: center;
    border-radius: 20px;
    margin: 80px 0;
}
#cta h2 {
    color: #ffffff;
    font-size: 2.2rem;
}
#cta p {
    color: #e0e0e0;
    margin-top: 1rem;
    margin-bottom: 2.5rem;
}
#cta > p { /* Direct child p for subtitle */
    margin-bottom: 2rem;
}
#cta .pricing-info-cta {
    margin: 0 auto 2.5rem;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    max-width: 480px;
    background: rgba(255, 255, 255, 0.05);
}
#cta .price-display {
    margin-bottom: 15px;
}
#cta .price-display .amount {
    font-size: 3.2rem;
    font-weight: 700;
    color: #ffffff;
}
#cta .price-display .currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-left: 5px;
}
#cta .price-display .period {
    font-size: 1rem;
    color: #e0e0e0;
    display: block;
    margin-top: 5px;
}
#cta .plan-description {
    color: #e0e0e0;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}
#cta .cta-button {
    background-color: #ffffff;
    color: #0A2342;
    font-weight: bold;
    padding: 14px 35px;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    text-decoration: none;
    transition: all 0.3s ease;
}
#cta .cta-button:hover {
    background-color: #f0f0f0;
    color: #0A2342;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}
/* 키워드 툴팁 */
.keyword-item span {
    position: relative; /* 툴팁의 기준점 */
}
.keyword-item .tooltip-text {
    visibility: hidden;
    opacity: 0;
    width: 240px;
    background-color: #0A2342;
    color: #fff;
    text-align: left; /* 가독성을 위해 왼쪽 정렬 */
    border-radius: 8px;
    padding: 12px;
    position: absolute;
    z-index: 10;
    bottom: 125%; /* span 위로 위치 조정 */
    left: 50%;
    margin-left: -120px;
    transition: opacity 0.3s ease-in-out;
    font-size: 0.9rem;
    line-height: 1.6;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    pointer-events: none;
}
.keyword-item span:hover .tooltip-text { visibility: visible; opacity: 1; }

/* [디자인 개선] 나침반 코칭 프로그램 진행 과정 */
#process-details {
    background-color: #fcfdff; /* 더 밝고 깨끗한 배경 */
    padding: 100px 0;
    overflow: hidden;
}
#process-details .section-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 80px;
    color: #0A2342;
}
.process-list-vertical {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}
/* 타임라인 중심선 */
.process-list-vertical::before {
    content: '';
    position: absolute;
    left: 25px; /* 아이콘 중앙에 맞춤 */
    top: 10px;
    bottom: 10px;
    width: 4px;
    background: linear-gradient(to bottom, #a6c1ff, #e0e9ff);
    border-radius: 2px;
    z-index: 0;
}
.process-step-vertical {
    position: relative;
    padding-left: 80px; /* 아이콘과 콘텐츠 간격 확보 */
    margin-bottom: 50px;
}
.process-step-vertical:last-child {
    margin-bottom: 0;
}
/* 스텝 아이콘 (기존 step-number 대체) */
.process-step-vertical .step-number {
    position: absolute;
    left: 0;
    top: -5px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #0A2342;
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid #fcfdff; /* 배경색과 동일하게 하여 경계선 효과 */
    box-shadow: 0 4px 15px rgba(10, 35, 66, 0.15);
    z-index: 2;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.process-step-vertical:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(10, 35, 66, 0.2);
}
.process-step-vertical .step-content {
    position: relative; /* 화살표를 위한 기준점 */
    background-color: #ffffff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 30, 80, 0.08);
    border: 1px solid #e9ecef;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
/* 콘텐츠 박스에서 타임라인으로 향하는 화살표 */
.process-step-vertical .step-content::before {
    content: '';
    position: absolute;
    top: 22px;
    left: -12px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 12px 12px 12px 0;
    border-color: transparent #ffffff transparent transparent;
    filter: drop-shadow(-2px 0px 2px rgba(0, 30, 80, 0.02));
}
.process-step-vertical .step-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 30, 80, 0.12);
}
.process-step-vertical h3 {
    font-size: 1.7rem;
    color: #0A2342;
    margin-top: 0;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}
.process-step-vertical h3 .step-icon {
    font-size: 1.5rem;
    margin-right: 12px;
    background-color: #eaf5ff;
    color: #007bff;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.process-step-vertical p {
    font-size: 1.05rem;
    color: #495057;
    line-height: 1.8;
    margin-bottom: 20px;
}
.step-details-list {
    list-style-type: none;
    padding-left: 0;
    margin-top: 25px;
    margin-bottom: 0;
}
.step-details-list li {
    font-size: 1rem;
    color: #343a40;
    padding: 12px 18px;
    position: relative;
    background-color: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 10px;
    border: 1px solid #e9ecef;
    border-left: 4px solid #007bff;
}
.step-details-list li:last-child {
    margin-bottom: 0;
}
.step-details-list li strong {
    color: #0056b3;
    margin-right: 5px;
}
/* 최종 결론 섹션 */
.process-conclusion {
    text-align: center;
    margin-top: 80px;
    padding: 40px;
    background: linear-gradient(135deg, #0A2342, #1d3c63);
    color: #ffffff;
    border-radius: 16px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 10px 30px rgba(10, 35, 66, 0.2);
}
.process-conclusion .conclusion-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}
.process-conclusion h3 {
    font-size: 1.8rem;
    color: #ffffff;
    margin: 0 0 15px 0;
}
.process-conclusion p {
    font-size: 1.1rem;
    line-height: 1.7;
    opacity: 0.9;
    margin: 0;
}
.process-conclusion strong {
    color: #a6c1ff; /* 밝은 포인트 컬러 */
}

@media (max-width: 768px) {
    #core-services .highlight-container,
    #core-services .highlight-container:nth-of-type(even) {
        flex-direction: column;
        gap: 2rem;
        padding: 2.5rem 0;
    }
    .section-header-center .section-title {
        font-size: 2.2rem;
    }
    #process-details .section-title {
        font-size: 2.2rem;
        margin-bottom: 50px;
    }
    .process-list-vertical {
        padding-left: 0;
    }
    .process-list-vertical::before {
        left: 15px;
    }
    .process-step-vertical {
        padding-left: 50px; /* 아이콘과 콘텐츠 간격 조정 */
    }
    .process-step-vertical .step-number {
        width: 34px;
        height: 34px;
        font-size: 1.2rem;
        left: 0;
    }
    .process-step-vertical .step-content::before {
        display: none; /* 모바일에서는 화살표 숨김 */
    }
    .process-step-vertical .step-content {
        padding: 20px;
    }
    .process-step-vertical h3 {
        font-size: 1.4rem;
    }
    .process-conclusion {
        padding: 30px 20px;
    }
    /* [수정] 컨설턴트 소개 슬라이더를 CSS 애니메이션 기반 무한 스크롤로 변경 */
    #consultant-team-section .card-grid-wrapper {
        overflow-x: auto; /* 가로 스크롤 허용 */
        width: 100%;
        scroll-snap-type: x mandatory; /* x축으로 스크롤 스냅 적용 */
        -ms-overflow-style: none;  /* IE and Edge */
        scrollbar-width: none;  /* Firefox */
    }
    #consultant-team-section .card-grid-wrapper::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera*/
    }
    #consultant-team-section .card-grid {
        display: flex;
        flex-wrap: nowrap;
        gap: 20px;
        margin: 0;
        padding: 10px 10%; /* 좌우 패딩으로 첫/마지막 아이템 중앙 정렬 공간 확보 */
    }
    #consultant-team-section .card-grid .consultant-profile {
        flex: 0 0 80%;
        max-width: 280px;
        padding: 20px; /* 모바일 패딩 조정 */
        scroll-snap-align: center; /* 스크롤 시 중앙에 정렬 */
    }
    #cta h2 {
        font-size: 1.8rem;
    }
    /* [추가] 모바일 실시간 소통 섹션 스타일 조정 */
    .realtime-support-section {
        padding: 40px 15px;
        margin: 40px 0;
    }
    .realtime-support-section h3 {
        font-size: 1.6rem;
    }
    .communication-tools {
        gap: 25px;
    }
    .tool-item .tool-icon { font-size: 2.5rem; }
}

/* [추가] 팀 기반 서포트 시스템 */
.team-support-system {
    margin: 80px 0;
    padding: 50px 40px;
    background-color: #fdfdff;
    border-radius: 16px;
    border: 2px dashed #d0d9e6; /* 점선 테두리 추가 */
}

.team-main-layout {
    display: flex;
    align-items: flex-start;
    gap: 50px;
    width: 100%;
}

.team-diagram-column {
    flex: 0 0 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.support-diagram {
    flex: 0 0 300px; /* 고정 너비 */
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding: 20px 0;
    /* margin-bottom: 50px; */ /* 연결선 제거로 불필요 */
}

/* 다이어그램과 컨설턴트 팀을 잇는 점선 */
.support-diagram::after {
    content: '';
    position: absolute;
    bottom: -50px; /* margin-bottom 공간에 위치 */
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 50px;
    /* border-left: 2px dashed #ced4da; */ /* 연결선 제거 */
    display: none;
}

.support-level {
    display: flex;
    justify-content: center;
    gap: 15px;
    width: 100%;
    position: relative;
    z-index: 2;
}

.support-node {
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.support-node .icon {
    font-size: 2.2rem;
    line-height: 1;
    margin-bottom: 5px;
}

.support-node strong {
    font-size: 1rem;
    font-weight: 700;
    color: #0A2342;
}

.support-node small {
    font-size: 0.8rem;
    color: #6c757d;
}

.support-node.student {
    background-color: #eaf5ff;
    border-color: #bde0ff;
}

.support-node.main-consultant {
    background-color: #e6fffa;
    border-color: #99f3e4;
}

.support-node.specialist {
    padding: 10px;
    min-width: 80px;
}
.support-node.specialist .icon { font-size: 1.8rem; }
.support-node.specialist span:not(.icon) {
    font-size: 0.85rem;
    font-weight: 600;
    color: #343a40;
}

/* 연결선 */
.support-level:not(:last-child) {
    margin-bottom: 50px;
}

.support-level:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 35px;
    background-color: #ced4da;
    z-index: 1;
}

.specialist-level::before {
    content: '';
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 2px;
    background-color: #ced4da;
    z-index: 1;
}

.specialist-level .support-node::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 15px;
    background-color: #ced4da;
    z-index: 1;
}

.support-description {
    flex: 1 1 60%;
}

.support-description h3 {
    font-size: 1.8rem;
    color: #0A2342;
    margin-bottom: 15px;
}

.support-description p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
}

.support-description p strong {
    color: #0056b3;
}

/* 모바일 반응형 */
@media (max-width: 992px) {
    .team-main-layout {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }
    .team-diagram-column {
        width: 100%;
    }
    .support-diagram {
        width: 100%;
        flex: 1;
    }
    .support-description {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .support-diagram {
        transform: scale(0.9);
    }
}