/* [추가] 핵심 기능 슬라이더 */
#core-features-slider {
    padding: 80px 0;
    background-color: #f8f9fa;
}
#core-features-slider .section-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 60px;
    color: #0A2342;
}
.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);
}
.feature-slider-track {
    display: flex;
    width: calc(320px * 10); /* (card-width + gap) * (number of cards * 2) */
    animation: slide-anim 40s 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%); }
}

/* [추가] 핵심 기능 하이라이트 */
#feature-highlights {
    padding: 80px 0;
    background-color: #ffffff;
}

/* [개선] 예비고1 커리큘럼 섹션 (타임라인 디자인) */
#program-curriculum {
    padding: 80px 0;
    background-color: #f8f9fa; /* 배경색 변경으로 다음 섹션과 분리 */
}
#program-curriculum .section-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 60px;
    color: #0A2342;
}
.curriculum-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}
.curriculum-timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: #e0e9ff;
    top: 20px;
    bottom: 20px;
    left: 30px;
    margin-left: -2px;
    border-radius: 2px;
}
.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 100%;
    padding-left: 90px;
    margin-bottom: 40px;
}
.timeline-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    left: 0;
    background-color: #ffffff;
    border: 4px solid #007bff;
    top: 0;
    border-radius: 50%;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.15);
}
.timeline-content {
    padding: 30px;
    background-color: white;
    position: relative;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 30, 80, 0.07);
    border: 1px solid #e9ecef;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 35px rgba(0, 30, 80, 0.12);
}
.timeline-content .step-tag {
    background-color: #e7f3ff;
    color: #0056b3;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 15px;
}
.timeline-content h3 {
    font-size: 1.5rem;
    color: #0A2342;
    margin-top: 0;
    margin-bottom: 10px;
}
.timeline-content p {
    font-size: 1.05rem;
    color: #495057;
    line-height: 1.8;
    margin-bottom: 0;
}

/* [추가] 핵심 기능 하이라이트 */
.highlight-item {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 80px;
}
.highlight-item:last-child {
    margin-bottom: 0;
}
.highlight-item:nth-of-type(even) {
    flex-direction: row-reverse;
}
.highlight-image {
    flex: 1 1 45%;
}
.highlight-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}
.highlight-text {
    flex: 1 1 55%;
    text-align: left;
}
.highlight-text h3 {
    font-size: 2rem;
    color: #0A2342;
    margin-bottom: 1rem;
}
.highlight-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #495057;
}

/* [추가] 프로그램 결과물 섹션 */
#program-outcomes {
    padding: 80px 0;
    background-color: #ffffff; /* 컨설턴트 섹션과 분리 */
}
#program-outcomes .section-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 60px;
    color: #0A2342;
}
.outcomes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}
.outcome-card {
    background-color: #f8f9fa;
    border-radius: 12px;
    padding: 35px 30px;
    text-align: center;
    border: 1px solid #e9ecef;
}
.outcome-card .outcome-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: inline-block;
    color: #007bff;
}
.outcome-card h3 {
    font-size: 1.3rem;
    color: #0A2342;
    margin-bottom: 15px;
}
.outcome-card p {
    font-size: 1rem;
    color: #495057;
    line-height: 1.7;
    margin-bottom: 0;
}

/* [수정] 컨설턴트 팀 섹션 */
#consultant-team-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}
.consultant-team-wrapper {
    width: 100%;
    margin-top: 40px;
    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%;
}
#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;
}

/* 후기 섹션 */
#testimonials {
    padding: 80px 0;
    background-color: #ffffff;
}
#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;
}

/* 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 {
    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);
}

@media (max-width: 768px) {
    /* [수정] 컨설턴트 소개 슬라이더를 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;
    }
    #core-features-slider .section-title {
        font-size: 2.2rem;
    }
    .feature-slider-track {
        animation-duration: 30s;
    }
    .highlight-item,
    .highlight-item:nth-of-type(even) {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 60px;
    }
    .highlight-text h3 {
        font-size: 1.6rem;
    }
    .curriculum-timeline::after {
        left: 20px;
    }
    .timeline-item {
        padding-left: 60px;
    }
    .timeline-icon {
        width: 40px;
        height: 40px;
        font-size: 1.4rem;
    }
}