.hero-carousel {
    background-color: #0b1c3d;
    position: relative;
    overflow: hidden;
}
.hero-carousel .carousel-item {
    min-height: 520px;
    color: #fff;
    padding: 50px 0;
}
.hero-slide-1 { background: linear-gradient(135deg, #0d2149 0%, #030c1d 100%); }
.hero-slide-2 { background: linear-gradient(135deg, #091e3a 0%, #1e4d8c 100%); }
.hero-slide-3 { background: linear-gradient(135deg, #1f1c2c 0%, #3e3859 100%); }

.hero-badge {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 18px;
}
.hero-title {
    font-size: clamp(1.75rem, 3.2vw, 2.6rem);
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}
.hero-desc {
    font-size: clamp(0.9rem, 1.4vw, 1.05rem);
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 24px;
    font-weight: 300;
    line-height: 1.6;
}

/* 히어로 슬라이드 공통 배경 스타일 */
.carousel-item {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    padding: 80px 0;
    z-index: 1;
}

/* 글자 가독성을 위한 어두운 오버레이 레이어 */
.carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(11, 28, 61, 0.88) 0%, rgba(0, 0, 0, 0.75) 100%);
    z-index: -1;
}

.hero-slide-1 {
    background-image: url('/src/nonsul-learn/img/visualbg001.jpg');
}

.hero-slide-2 {
    background-image: url('/src/nonsul-learn/img/visualbg002.jpg');
}

.hero-slide-3 {
    background-image: url('/src/nonsul-learn/img/visualbg003.jpg');
}

.hero-title {
    color: #ffffff;
    font-weight: 800;
    line-height: 1.3;
}

.hero-desc {
    color: rgba(255, 255, 255, 0.9);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
}

/* 강사 인물/아이콘 프레임 */
.instructor-single-box {
    position: relative;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    aspect-ratio: 4 / 5;
    background: linear-gradient(180deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.03) 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    backdrop-filter: blur(5px);
}
.instructor-avatar-icon {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 3px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 3.5rem;
    margin-bottom: 18px;
}

/* 수치 통계 바 */
.stats-bar {
    background: #ffffff;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 25px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}
.stat-item-num {
    font-size: clamp(1.5rem, 2.5vw, 2.2rem);
    font-weight: 900;
    color: var(--primary-color);
}
.stat-item-label {
    font-size: 0.85rem;
    color: #666;
    font-weight: 500;
}

/* ==========================================
   3. Key Content Sections
   ========================================== */
.section-title {
    font-weight: 800;
    font-size: clamp(1.4rem, 2.8vw, 2.1rem);
    color: var(--primary-color);
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}
.section-subtitle {
    color: #666;
    font-size: clamp(0.85rem, 1.3vw, 1rem);
    margin-bottom: 35px;
}

/* WHY NONSUL LEARN */
.why-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px 24px;
    border: 1px solid #e9ecef;
    box-shadow: 0 8px 20px rgba(0,0,0,0.03);
    height: 100%;
    transition: transform 0.3s ease;
}
.why-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}
.why-num {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--accent-color);
    line-height: 1;
    margin-bottom: 12px;
}

/* CEO Message Box */
.ceo-box {
    background: linear-gradient(135deg, #0b1c3d 0%, #102a5c 100%);
    color: #fff;
    border-radius: 20px;
    padding: 40px;
    position: relative;
}

/* Partner Brand Box */
.partner-box {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #e2e8f0;
    text-align: center;
    height: 100%;
}

/* Review Card */
.review-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    padding: 24px;
    height: 100%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

/* 강좌 카드 */
.course-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px 24px;
    border: 1px solid #eef2f6;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1),
    box-shadow 0.3s cubic-bezier(0.165, 0.84, 0.44, 1),
    border-color 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 86, 179, 0.2);
}

.course-card .btn {
    transition: all 0.3s ease;
}

.course-card:hover .btn-outline-primary {
    background-color: var(--bs-primary);
    color: #ffffff;
}

.course-card:hover .btn-outline-success {
    background-color: var(--bs-success);
    color: #ffffff;
}

.course-card:hover .btn-outline-danger {
    background-color: var(--bs-danger);
    color: #ffffff;
}

/* ==========================================
   4. Responsive Tweaks (1400px 대응)
   ========================================== */
@media (max-width: 1399.98px) {
    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 991.98px) {
    .hero-carousel .carousel-item { padding: 40px 0; }
    .hero-text-align { text-align: center; }
    .hero-btn-wrapper { display: flex; justify-content: center; }
    .instructor-single-box { margin-top: 25px; max-width: 240px; }
    .hero-carousel .carousel-control-prev,
    .hero-carousel .carousel-control-next { display: none; }
}

/* 추가 컨텐츠 전용 스타일 */
.compare-table-wrapper {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}
.compare-table th {
    padding: 16px;
    font-size: 1rem;
}
.compare-table td {
    padding: 16px 12px;
    font-size: 0.92rem;
}

.process-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 28px 20px;
    border: 1px solid #eef2f6;
    box-shadow: 0 8px 24px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
    height: 100%;
}
.process-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 12px 28px rgba(0,86,179,0.08);
}
.process-step-badge {
    display: inline-block;
    background: rgba(0, 86, 179, 0.1);
    color: var(--accent-color);
    font-weight: 900;
    font-size: 0.85rem;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
}

/* FAQ 전용 확장 스타일 */
.faq-accordion .accordion-item {
    border: 1px solid #e2e8f0;
    border-radius: 12px !important;
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
    transition: all 0.2s ease;
}
.faq-accordion .accordion-item:hover {
    border-color: var(--accent-color);
}
.faq-accordion .accordion-button {
    font-weight: 700;
    color: #2c3e50;
    padding: 18px 20px;
    font-size: 0.95rem;
    background-color: #fff;
}
.faq-accordion .accordion-button:not(.collapsed) {
    color: var(--accent-color);
    background-color: #f8faee;
    box-shadow: none;
}
.faq-accordion .accordion-body {
    padding: 18px 20px;
    font-size: 0.9rem;
    color: #4a5568;
    line-height: 1.65;
    background-color: #fafbfc;
    border-top: 1px dashed #e2e8f0;
}
.faq-q-badge {
    color: var(--accent-color);
    font-weight: 900;
    margin-right: 8px;
    font-size: 1.1rem;
}