/* =========================================
   학생 추천사 (Testimonial Marquee) 섹션
========================================= */
        .testimonial-section {
            padding: 30px 0 50px 0;
            display: flex;
            flex-direction: column;
            gap: 40px;
            overflow: hidden;
        }

        .testimonial-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-end;
            padding: 0 20px;
        }

        .testimonial-title {
            color: var(--white);
            font-size: 3rem;
            font-weight: 900;
            line-height: 1.2;
        }

        .testimonial-nav {
            display: flex;
            gap: 15px;
        }

        .nav-circle {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 1.5rem;
            cursor: pointer;
            transition: opacity 0.2s;
        }

        .nav-circle:hover {
            opacity: 0.8;
        }

        .nav-black {
            background-color: var(--card-dark);
            color: var(--white);
        }

        .nav-yellow {
            background-color: var(--yellow);
            color: var(--text-dark);
        }

        /* 마키(Marquee) 컨테이너 */
        /* .testimonial-marquee-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
} */

        .testimonial-track {
            display: flex;
            gap: 20px;
            width: max-content;
            /* 40초 동안 일정하게 흐름 (시간을 늘리면 더 느려짐) */
            /* animation: scroll-left 40s linear infinite; */
        }

        /* 마우스를 올리면 애니메이션 일시 정지 */
 /* @media (hover: hover) and (pointer: fine) {
    .testimonial-track:hover {
        animation-play-state: paused;
    }
} */

        .testimonial-card {
            background-color: var(--white);
            color: var(--text-dark);
            border-radius: 30px;
            padding: 40px;
            width: 400px;
            display: flex;
            flex-direction: column;
            gap: 20px;
            flex-shrink: 0;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
        }

        .testimonial-card h4 {
            font-size: 1.4rem;
            font-weight: 900;
            line-height: 1.4;
            letter-spacing: -0.02em;
        }

        .testimonial-card p {
            color: #666;
            font-size: 1rem;
            line-height: 1.6;
            font-weight: 500;
            flex-grow: 1;
        }

        .testimonial-profile {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-top: 10px;
        }

        .testimonial-profile img {
            width: 55px;
            height: 55px;
            border-radius: 50%;
            object-fit: cover;
            background-color: #eee;
        }

        .profile-info h5 {
            font-size: 1.1rem;
            font-weight: 800;
            margin-bottom: 3px;
        }

        .profile-info span {
            font-size: 0.85rem;
            color: #888;
            font-weight: 600;
        }

        /* 무한 스크롤 애니메이션 키프레임 (정확히 절반만큼 이동 후 리셋) */
        /* @keyframes scroll-left {
            0% {
                transform: translateX(0);
            }

            100% {
                transform: translateX(calc(-50% - 10px));
            }

       
        } */

        /* 반응형 업데이트 */
        @media (max-width: 1024px) {
            .testimonial-title {
                font-size: 2.5rem;
            }
        }

        @media (max-width: 600px) {
            .testimonial-card {
                width: 320px;
                padding: 30px;
            }

            .testimonial-title {
                font-size: 2rem;
            }

            .testimonial-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 20px;
            }
        }


        /* =========================================
   추천사 컨트롤 버튼 스타일 추가
========================================= */
.testimonial-controls {
    display: flex;
    align-items: center;
}

.control-btn {
    background-color: var(--card-dark, #1e1e1e);
    color: var(--white, #ffffff);
    border: none;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
    font-family: inherit;
}

.control-btn:hover {
    opacity: 0.8;
}

.manual-nav-group {
    display: none; /* JS에서 display: flex로 제어할 예정 */
    gap: 15px;
    align-items: center;
}