:root {
    --primary-color: #2563eb; /* 신뢰와 활력을 주는 프라이머리 블루 */
    --primary-dark: #1d4ed8;
    --primary-light: #eff6ff;
    --secondary-color: #0d9488; /* 건강과 치유를 상징하는 틸(Teal) */
    --accent-color: #f59e0b; /* 활력과 포인트를 주는 오렌지/골드 */
    --dark-color: #0f172a;
    --light-bg: #f8fafc;
    --card-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
    --high-contrast-bg: #111827;
}

/* 고대비 가독성 모드 */
body.high-contrast {
    background-color: var(--high-contrast-bg) !important;
    color: #ffff00 !important;
}
body.high-contrast .card,
body.high-contrast .navbar,
body.high-contrast section,
body.high-contrast .modal-content {
    background-color: #1f2937 !important;
    color: #ffffff !important;
    border: 2px solid #ffff00 !important;
}
body.high-contrast .text-muted,
body.high-contrast p,
body.high-contrast small {
    color: #e5e7eb !important;
}
body.high-contrast .btn-primary {
    background-color: #ffff00 !important;
    color: #000000 !important;
    font-weight: 900 !important;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    background-color: var(--light-bg);
    color: #334155;
    line-height: 1.75;
    font-size: 1.05rem;
    word-break: keep-all;
}

/* 상단 탑바 */
.top-info-bar {
    background-color: #0f172a;
    color: #94a3b8;
    font-size: 0.9rem;
    padding: 8px 0;
}

/* 네비게이션 바 */
.navbar {
    background-color: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}
.navbar-brand {
    font-weight: 800;
    color: var(--primary-color) !important;
    letter-spacing: -0.5px;
}

/* 히어로 섹션 */
.hero-section {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.88) 0%, rgba(37, 99, 235, 0.82) 100%),
    url('/Images/background2.jpg') no-repeat center center / cover;
    color: white;
    padding: 130px 0 100px 0;
    border-radius: 0 0 40px 40px;
}
.hero-badge {
    background-color: rgba(245, 158, 11, 0.2);
    border: 1px solid rgba(245, 158, 11, 0.5);
    color: #fbbf24;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: 50px;
    display: inline-block;
}

/* 원형 배지 데코 */
.effect-icon {
    width: 64px;
    height: 64px;
    background-color: var(--primary-light);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    margin-bottom: 20px;
}

/* 카드 및 컴포넌트 */
.card-custom {
    border: none;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: #ffffff;
    overflow: hidden;
}
.card-custom:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 30px -10px rgba(37, 99, 235, 0.12);
}

/* 프로그램 태그 & 배지 */
.badge-tabata {
    background-color: #fef3c7;
    color: #d97706;
    font-weight: 700;
}
.badge-expert {
    background-color: #e0f2fe;
    color: #0284c7;
    font-weight: 700;
}

/* 필터링 버튼 */
.filter-btn {
    border-radius: 30px;
    padding: 10px 22px;
    font-weight: 600;
    margin: 4px;
    border: 1px solid #e2e8f0;
    background-color: #ffffff;
    color: #475569;
    transition: all 0.2s ease;
}
.filter-btn:hover, .filter-btn.active {
    background-color: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

/* 프로필 배지 아이콘 */
.icon-box {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background-color: var(--primary-light);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    margin-bottom: 20px;
}

/* 타임라인 단계 */
.step-pill {
    background-color: var(--primary-color);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* 플로팅 문의 위젯 */
.floating-contact {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.btn-float {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}
.btn-float:hover {
    transform: scale(1.1);
}
.btn-float-call {
    background-color: var(--primary-color);
    color: white !important;
}
.btn-float-kakao {
    background-color: #fee500;
    color: #3c1e1e !important;
}

/* 섹션 라벨 및 라인 */
.section-subtitle {
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
}
.divider-line {
    width: 50px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
    margin: 15px auto 25px auto;
}

