/* ===================================
   ASTIK 한국모험안전기술원
   Brand Colors:
   - Navy: #1C2955
   - Orange-Red: #D94925
   - Gold: #FFCD4A
   =================================== */

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #222222;
    background-color: #ffffff;
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.hidden {
    display: none !important;
}

/* ---------- 버튼 ---------- */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.02em;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: #D94925;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #c13d1d;
}

.btn-outline {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.btn-outline:hover {
    background-color: #ffffff;
    color: #1C2955;
}

.btn-secondary {
    background-color: #1C2955;
    color: #ffffff;
}

.btn-secondary:hover {
    background-color: #141e3d;
}

.btn-lg {
    padding: 18px 48px;
    font-size: 18px;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 13px;
}

.btn-disabled {
    display: inline-block;
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 4px;
    background-color: #eeeeee;
    color: #999999;
    cursor: default;
}

/* ---------- 헤더 ---------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.12);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-img {
    height: 36px;
    width: auto;
}

.gnb {
    display: flex;
    align-items: center;
}

.gnb-list {
    display: flex;
    gap: 8px;
}

.gnb-link {
    display: block;
    padding: 8px 20px;
    font-size: 15px;
    font-weight: 500;
    color: #333333;
    border-radius: 4px;
    transition: all 0.3s ease;
    letter-spacing: -0.02em;
}

.gnb-link:hover,
.gnb-link.active {
    color: #1C2955;
    font-weight: 700;
}

.gnb-link.active {
    background-color: rgba(28, 41, 85, 0.06);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-contact-sm {
    display: none;
    padding: 8px 16px;
    background-color: #D94925;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.btn-contact-sm:hover {
    background-color: #c13d1d;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    gap: 6px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #1C2955;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

.mobile-menu {
    display: none;
    background-color: #ffffff;
    border-top: 1px solid #eeeeee;
    padding: 16px 24px 24px;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-link {
    display: block;
    padding: 14px 16px;
    font-size: 16px;
    font-weight: 500;
    color: #333333;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.mobile-link:hover,
.mobile-link.active {
    background-color: rgba(28, 41, 85, 0.06);
    color: #1C2955;
    font-weight: 700;
}
/* ---------- 히어로 섹션 ---------- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    max-height: 900px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center top;
    background-color: #1C2955;
    margin-top: 72px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(28, 41, 85, 0.75) 0%, rgba(28, 41, 85, 0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #ffffff;
    padding: 0 24px;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---------- 공통 섹션 ---------- */
.section {
    padding: 100px 0;
}

.section-title {
    font-size: 32px;
    font-weight: 800;
    color: #1C2955;
    text-align: center;
    margin-bottom: 12px;
    letter-spacing: -0.03em;
}

.section-title::before {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background-color: #FFCD4A;
    margin: 0 auto 16px;
    border-radius: 2px;
}

.section-title.light {
    color: #ffffff;
}

.section-title.light::before {
    background-color: #FFCD4A;
}

.section-desc {
    font-size: 16px;
    color: #666666;
    text-align: center;
    margin-bottom: 48px;
    line-height: 1.7;
}

.section-desc.light {
    color: rgba(255, 255, 255, 0.8);
}

.section-cta {
    text-align: center;
    margin-top: 40px;
}

/* ---------- 서비스 카드 ---------- */
.service-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background-color: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 36px 28px;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(28, 41, 85, 0.12);
    border-color: #1C2955;
}

.card-icon {
    width: 56px;
    height: 56px;
    background-color: rgba(28, 41, 85, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 24px;
    color: #1C2955;
}

.card-custom .card-icon {
    background-color: rgba(217, 73, 37, 0.08);
    color: #D94925;
}

.card-title {
    font-size: 20px;
    font-weight: 700;
    color: #1C2955;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.card-meta {
    font-size: 13px;
    color: #D94925;
    font-weight: 600;
    margin-bottom: 12px;
}

.card-desc {
    font-size: 14px;
    color: #666666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.card-link {
    font-size: 14px;
    font-weight: 600;
    color: #1C2955;
    transition: color 0.3s ease;
}

.card-link:hover {
    color: #D94925;
}

/* ---------- 홈 교육과정 카드 뱃지 ---------- */
.card-badge-group {
    display: flex;
    gap: 6px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.card-badge-item {
    display: inline-block;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 4px;
    letter-spacing: -0.01em;
}

.badge-cert {
    background-color: #1C2955;
    color: #ffffff;
}

.badge-grade {
    background-color: #D94925;
    color: #ffffff;
}

.card-badge-item.badge-single {
    background-color: #FFCD4A;
    color: #1C2955;
}

.badge-custom-tag {
    background-color: rgba(217, 73, 37, 0.1);
    color: #D94925;
    border: 1px solid #D94925;
}

/* ---------- 신뢰 섹션 ---------- */
.trust {
    background-color: #1C2955;
}

.trust-logos {
    display: flex;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
}

.trust-item {
    text-align: center;
}

.trust-logo-img {
    height: 80px;
    width: auto;
    margin: 0 auto 16px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.trust-label {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.trust-detail {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/* ---------- 실적 섹션 ---------- */
.stats {
    background-color: #f8f9fa;
}

.stats-grid {
    display: flex;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: #D94925;
}

.stat-unit {
    font-size: 20px;
    font-weight: 600;
    color: #D94925;
}

.stat-label {
    font-size: 15px;
    color: #666666;
    margin-top: 8px;
}

/* ---------- 교육일정 미리보기 (홈) ---------- */
.schedule-preview {
    background-color: #f8f9fa;
}

.schedule-list {
    max-width: 800px;
    margin: 0 auto;
}

.schedule-item {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 12px;
    border-left: 4px solid #D94925;
    transition: box-shadow 0.3s ease;
}

.schedule-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.schedule-date {
    min-width: 56px;
    text-align: center;
    margin-right: 24px;
}

.schedule-info h4 {
    font-size: 16px;
    font-weight: 700;
    color: #1C2955;
    margin-bottom: 4px;
}

.schedule-info p {
    font-size: 14px;
    color: #888888;
}

.schedule-empty {
    text-align: center;
    padding: 60px 0;
    color: #999999;
    font-size: 15px;
    line-height: 1.7;
}

/* ---------- CTA 섹션 ---------- */
.cta-section {
    background: linear-gradient(135deg, #1C2955 0%, #111b3a 100%);
    text-align: center;
}

.cta-title {
    font-size: 36px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 16px;
    letter-spacing: -0.03em;
}

.cta-desc {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 36px;
}

/* ---------- 푸터 ---------- */
.footer {
    border-top: 3px solid #FFCD4A;
    background-color: #0e1529;
    color: #ffffff;
    padding: 48px 0 24px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    height: 28px;
    width: auto;
    margin-bottom: 16px;
    opacity: 0.9;
}

.footer-company {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
}

.footer-company a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.footer-company a:hover {
    color: #D94925;
}

.footer-sns {
    display: flex;
    gap: 16px;
}

.footer-sns a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    transition: all 0.3s ease;
}

.footer-sns a:hover {
    background-color: #D94925;
    color: #ffffff;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
}

.footer-admin {
    color: inherit;
    text-decoration: none;
}

/* ---------- 스크롤 애니메이션 ---------- */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================
   소개 페이지 (about.html)
   =================================== */

.page-hero {
    margin-top: 72px;
    padding: 100px 0 80px;
    background-color: #1C2955;
    text-align: center;
    border-bottom: 3px solid #FFCD4A;
}

.page-hero-title {
    font-size: 40px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.page-hero-desc {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
    font-style: italic;
}

.philosophy {
    background-color: #ffffff;
}

.philosophy-content {
    max-width: 780px;
    margin: 0 auto;
}

.philosophy-label {
    font-size: 14px;
    font-weight: 600;
    color: #D94925;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.philosophy-title {
    font-size: 28px;
    font-weight: 800;
    color: #1C2955;
    margin-bottom: 36px;
    letter-spacing: -0.03em;
}

.philosophy-text p {
    font-size: 16px;
    color: #444444;
    line-height: 1.85;
    margin-bottom: 20px;
}

.philosophy-highlight {
    display: flex;
    gap: 20px;
    margin: 36px 0;
    padding: 28px 0;
}

.highlight-bar {
    width: 4px;
    flex-shrink: 0;
    background: linear-gradient(to bottom, #D94925, #FFCD4A);
    border-radius: 2px;
}

.philosophy-highlight p {
    font-size: 17px;
    color: #1C2955;
    line-height: 1.8;
    margin-bottom: 0;
    font-weight: 500;
}

.philosophy-highlight strong {
    color: #D94925;
    font-weight: 700;
}

.service-target {
    background-color: #f8f9fa;
}

.target-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.target-item {
    text-align: center;
    padding: 40px 24px;
    background-color: #ffffff;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.target-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(28, 41, 85, 0.1);
}

.target-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background-color: rgba(28, 41, 85, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #1C2955;
}

.target-item h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1C2955;
    margin-bottom: 8px;
}

.target-item p {
    font-size: 14px;
    color: #888888;
    line-height: 1.6;
}

.trainer {
    background-color: #ffffff;
}

.trainer-profile {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    max-width: 900px;
    margin: 0 auto;
}

.trainer-photo {
    flex-shrink: 0;
    width: 280px;
}

.trainer-photo img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
    aspect-ratio: 3 / 4;
    background-color: #e8e8e8;
}

.trainer-info {
    flex: 1;
}

.trainer-name {
    font-size: 32px;
    font-weight: 800;
    color: #1C2955;
    margin-bottom: 4px;
    letter-spacing: -0.02em;
}

.trainer-role {
    font-size: 16px;
    color: #D94925;
    font-weight: 600;
    margin-bottom: 32px;
}

.trainer-role-inline {
    font-size: 16px;
    color: #D94925;
    font-weight: 600;
    margin-left: 12px;
    letter-spacing: 0;
}

.trainer-certs {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.cert-group {
    padding-bottom: 24px;
    border-bottom: 1px solid #eeeeee;
}

.cert-group:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.cert-org {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 16px;
    font-weight: 700;
    color: #1C2955;
}

.cert-org small {
    font-size: 12px;
    font-weight: 400;
    color: #999999;
}

.cert-org-logo {
    height: 28px;
    width: auto;
}

.cert-org-text {
    font-size: 16px;
    font-weight: 700;
    color: #1C2955;
}

.cert-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-left: 4px;
}

.cert-list li {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}

.cert-title {
    font-size: 15px;
    font-weight: 600;
    color: #333333;
}

.cert-sub {
    font-size: 14px;
    font-weight: 500;
    color: #555555;
    padding-left: 12px;
    position: relative;
}

.cert-sub::before {
    content: '-';
    position: absolute;
    left: 0;
    color: #999999;
}

.cert-desc-inline {
    font-size: 13px;
    color: #999999;
}

/* ---------- 시설 갤러리 ---------- */
.facility-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.facility-item {
    text-align: center;
}

.facility-item img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 12px;
    background-color: #e8e8e8;
    margin-bottom: 12px;
    transition: transform 0.3s ease;
}

.facility-item img:hover {
    transform: scale(1.03);
}

.facility-label {
    font-size: 15px;
    font-weight: 600;
    color: #1C2955;
}

.facility-sub {
    display: block;
    font-size: 13px;
    font-weight: 400;
    color: #666;
    margin-top: 2px;
}

.facility-footnotes {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid #e0e0e0;
}

.facility-footnotes p {
    font-size: 13px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 8px;
}

.facility-footnotes p:last-child {
    margin-bottom: 0;
}

.facility-footnotes sup {
    color: #D94925;
    font-weight: 700;
    margin-right: 2px;
}

.facility-footnotes strong {
    color: #1C2955;
    font-weight: 700;
}

.footnote-standard {
    color: #999;
    font-size: 12px;
}
/* ===================================
   교육과정 페이지 (courses.html)
   =================================== */

.course-intro {
    background-color: #ffffff;
}

.course-intro-content {
    max-width: 800px;
    margin: 0 auto;
}

.course-track-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.track-card {
    background-color: #f8f9fa;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    padding: 36px 28px;
    text-align: center;
    transition: all 0.3s ease;
}

.track-card:hover {
    border-color: #1C2955;
}

.track-card-custom:hover {
    border-color: #D94925;
}

.track-badge {
    display: inline-block;
    padding: 4px 14px;
    background-color: #1C2955;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    border-radius: 20px;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.badge-custom {
    background-color: #D94925;
}

.track-card h3 {
    font-size: 22px;
    font-weight: 800;
    color: #1C2955;
    margin-bottom: 12px;
}

.track-card-custom h3 {
    color: #D94925;
}

.track-card p {
    font-size: 14px;
    color: #666666;
    line-height: 1.8;
}

.section-label-bar {
    background-color: #1C2955;
    padding: 16px 0;
}

.label-bar-custom {
    background-color: #D94925;
}

.label-bar-text {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.05em;
}

.course-detail {
    background-color: #ffffff;
    padding: 80px 0;
}

.course-detail-alt {
    background-color: #f8f9fa;
}

.course-layout {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.layout-reverse {
    flex-direction: row-reverse;
}

.course-image {
    flex-shrink: 0;
    width: 420px;
}

.course-image img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
    aspect-ratio: 4 / 3;
    background-color: #e8e8e8;
}

#inspection .course-image img {
    object-position: center top;
}

.course-info {
    flex: 1;
}

.course-badge-group {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.course-badge {
    display: inline-block;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 4px;
    background-color: #1C2955;
    color: #ffffff;
}

.badge-single {
    background-color: #FFCD4A;
    color: #1C2955;
}

.badge-level {
    background-color: #D94925;
}

.course-name {
    font-size: 28px;
    font-weight: 800;
    color: #1C2955;
    margin-bottom: 8px;
    letter-spacing: -0.03em;
}

.course-cert-no {
    font-size: 13px;
    color: #999999;
    margin-bottom: 20px;
}

.course-desc-text {
    font-size: 15px;
    color: #555555;
    line-height: 1.7;
    margin-bottom: 24px;
}

.course-spec-table {
    background-color: rgba(28, 41, 85, 0.03);
    border-radius: 8px;
    padding: 4px 0;
    margin-bottom: 24px;
}

.spec-row {
    display: flex;
    padding: 10px 20px;
    border-bottom: 1px solid rgba(28, 41, 85, 0.06);
}

.spec-row:last-child {
    border-bottom: none;
}

.spec-label {
    width: 80px;
    flex-shrink: 0;
    font-size: 14px;
    font-weight: 600;
    color: #1C2955;
}

.spec-value {
    font-size: 14px;
    color: #444444;
}

.course-curriculum {
    margin-bottom: 28px;
}

.course-curriculum h4 {
    font-size: 15px;
    font-weight: 700;
    color: #1C2955;
    margin-bottom: 10px;
}

.course-curriculum ul {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.course-curriculum li {
    font-size: 14px;
    color: #555555;
    padding-left: 16px;
    position: relative;
    line-height: 1.6;
}

.course-curriculum li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #D94925;
}

.course-grade {
    margin-bottom: 28px;
    padding: 24px;
    background-color: rgba(28, 41, 85, 0.02);
    border-radius: 8px;
    border: 1px solid rgba(28, 41, 85, 0.06);
}

.grade-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    color: #1C2955;
    margin-bottom: 16px;
}

.grade-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #1C2955;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
}

.grade-badge.badge-advanced {
    background-color: #D94925;
}

.custom-course-layout {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.custom-header {
    margin-bottom: 40px;
}

.custom-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    background-color: rgba(217, 73, 37, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #D94925;
}

.custom-header .course-name {
    text-align: center;
}

.custom-header .course-desc-text {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 24px;
}

.custom-spec {
    max-width: 480px;
    margin: 0 auto 48px;
}

.custom-examples h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1C2955;
    margin-bottom: 24px;
}

.example-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.example-card {
    background-color: #f8f9fa;
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.example-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(28, 41, 85, 0.1);
}

.example-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 16px;
    background-color: rgba(217, 73, 37, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #D94925;
}

.example-card h5 {
    font-size: 16px;
    font-weight: 700;
    color: #1C2955;
    margin-bottom: 8px;
}

.example-card p {
    font-size: 14px;
    color: #666666;
    line-height: 1.6;
}

.custom-cta {
    text-align: center;
}

/* ---------- 교육과정 3장 사진 갤러리 ---------- */
.course-gallery {
    flex-shrink: 0;
    width: 420px;
}

.course-gallery-track {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.course-gallery-track img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
    aspect-ratio: 4 / 3;
    background-color: #e8e8e8;
}

/* ===================================
   교육일정 페이지 (schedule.html)
   =================================== */

.schedule-section {
    background-color: #ffffff;
}

.schedule-header {
    margin-bottom: 40px;
}

.schedule-info-box {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
    background-color: rgba(28, 41, 85, 0.04);
    border-left: 4px solid #1C2955;
    border-radius: 0 8px 8px 0;
    margin-bottom: 24px;
}

.schedule-info-box i {
    color: #1C2955;
    font-size: 16px;
    margin-top: 2px;
    flex-shrink: 0;
}

.schedule-info-box p {
    font-size: 14px;
    color: #555555;
    line-height: 1.6;
}

.schedule-filters {
    display: flex;
    gap: 8px;
}

.filter-btn {
    padding: 8px 20px;
    border: 1px solid #ddd;
    background-color: #ffffff;
    color: #666666;
    font-size: 14px;
    font-weight: 500;
    border-radius: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Pretendard', sans-serif;
}

.filter-btn:hover {
    border-color: #1C2955;
    color: #1C2955;
}

.filter-btn.active {
    background-color: #1C2955;
    border-color: #1C2955;
    color: #ffffff;
}

.calendar-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 24px;
}

.cal-nav-btn {
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #1C2955;
    font-size: 14px;
    transition: all 0.3s ease;
}

.cal-nav-btn:hover {
    background-color: #1C2955;
    border-color: #1C2955;
    color: #ffffff;
}

.cal-nav-title {
    font-size: 22px;
    font-weight: 700;
    color: #1C2955;
    min-width: 160px;
    text-align: center;
}

.calendar-grid {
    max-width: 900px;
    margin: 0 auto 60px;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    overflow: hidden;
}

.cal-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background-color: #1C2955;
}

.cal-header span {
    text-align: center;
    padding: 12px 0;
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
}

.cal-header .cal-sunday {
    color: #FF6B6B;
}

.cal-header .cal-saturday {
    color: #74B9FF;
}

.cal-body {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
}

.cal-cell {
    min-height: 84px;
    padding: 4px 0 2px;
    border: 0.5px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    cursor: default;
    position: relative;
    background: #fff;
    transition: background-color 0.2s ease;
    overflow: visible;
    min-width: 0;
}

.cal-cell.empty {
    background-color: #fafafa;
}

.cal-cell.today {
    background-color: rgba(28, 41, 85, 0.06);
}

.cal-cell.today .cal-date-num {
    font-weight: 800;
    color: #1C2955;
}

.cal-cell.has-event {
    cursor: pointer;
    background-color: transparent;
}

.cal-cell.has-event:hover {
    background-color: rgba(28, 41, 85, 0.04);
}

.cal-cell.other-month {
    background-color: #fafafa;
}

.cal-cell.other-month .cal-date-num {
    color: #ccc;
}

.cal-cell.other-month.cal-holiday .cal-date-num {
    color: #f0bfb5;
}

.cal-cell.other-month.cal-saturday-cell .cal-date-num {
    color: #b5d4f5;
}

.cal-date-num {
    display: block;
    text-align: right;
    padding-right: 6px;
    margin-bottom: 2px;
    font-size: 14px;
    font-weight: 500;
    color: #444444;
}

.cal-cell.cal-holiday .cal-date-num {
    color: #D94925;
}

.cal-cell.cal-saturday-cell .cal-date-num {
    color: #3478F6;
}

.cal-cell.cal-holiday.cal-saturday-cell .cal-date-num {
    color: #D94925;
}

.cal-holiday-name {
    font-size: 9px;
    color: #D94925;
    line-height: 1.2;
    padding: 0 2px;
    margin-bottom: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cal-cell.other-month .cal-holiday-name {
    color: rgba(217, 73, 37, 0.4);
}

/* ---------- 달력 이벤트 바 ---------- */
.cal-events {
    position: relative;
    min-height: 20px;
    margin-top: 2px;
    min-width: 0;
}

.cal-event-label {
    display: block;
    position: relative;
    z-index: 2;
    font-size: 11px;
    line-height: 20px;
    padding: 0 4px;
    border-radius: 3px;
    white-space: nowrap;
    cursor: pointer;
    margin-bottom: 2px;
    min-width: 0;
}

.cal-event-label.cal-ev-single {
    border-radius: 3px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cal-event-label.cal-ev-start {
    border-radius: 3px 0 0 3px;
    overflow: visible;
}

.cal-event-label.cal-ev-mid {
    border-radius: 0;
    color: transparent !important;
    padding: 0 4px;
    height: 20px;
}

.cal-event-label.cal-ev-end {
    border-radius: 0 3px 3px 0;
    color: transparent !important;
    padding: 0 4px;
    height: 20px;
}

.cal-event-open {
    background-color: rgba(37, 99, 235, 0.15);
    color: #2563eb;
}

.cal-event-closed {
    background-color: rgba(220, 38, 38, 0.10);
    color: #dc2626;
}

.cal-event-holiday {
    background-color: rgba(102, 102, 102, 0.15);
    color: #666666;
}

.sch-item.highlight {
    box-shadow: 0 0 0 3px rgba(217, 73, 37, 0.3);
    transition: box-shadow 0.3s ease;
}

/* ---------- 기존 도트 (하위호환) ---------- */
.cal-dots {
    display: flex;
    gap: 3px;
    justify-content: center;
    margin-top: 4px;
}

.cal-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.dot-open {
    background-color: #2563EB;
}

.dot-closed {
    background-color: #cccccc;
}

/* ---------- 일정 리스트 ---------- */
.schedule-list-section {
    margin-bottom: 40px;
}

.schedule-list-title {
    font-size: 20px;
    font-weight: 700;
    color: #1C2955;
    margin-bottom: 20px;
}

.sch-item {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    border: 1px solid #e8e8e8;
    border-left: 4px solid #D94925;
    border-radius: 0 12px 12px 0;
    padding: 24px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.sch-item:hover {
    box-shadow: 0 4px 20px rgba(28, 41, 85, 0.1);
}

.sch-item[data-status="마감"] {
    border-left-color: #cccccc;
    opacity: 0.7;
}

.sch-item.sch-holiday {
    border-left-color: #999999;
}

.sch-date {
    min-width: 56px;
    text-align: center;
    margin-right: 24px;
    flex-shrink: 0;
}

.sch-date-text {
    font-size: 28px;
    font-weight: 800;
    color: #1C2955;
    letter-spacing: -0.02em;
}

.sch-content {
    flex: 1;
}

.sch-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.sch-course {
    font-size: 18px;
    font-weight: 700;
    color: #1C2955;
}

.sch-status {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.status-open {
    background-color: rgba(37, 99, 235, 0.12);
    color: #2563EB;
    border: 1px solid rgba(37, 99, 235, 0.3);
}

.status-closed {
    background-color: rgba(217, 73, 37, 0.12);
    color: #D94925;
    border: 1px solid rgba(217, 73, 37, 0.3);
    text-decoration: line-through;
}

.status-done {
    background-color: rgba(28, 41, 85, 0.08);
    color: #888888;
    border: 1px solid #ddd;
}

.status-holiday {
    background-color: rgba(102, 102, 102, 0.1);
    color: #888888;
    border: 1px solid #ccc;
}

.sch-type-badge {
    display: inline-block;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 4px;
    letter-spacing: 0.02em;
}

.badge-event {
    background-color: rgba(255, 205, 74, 0.2);
    color: #b8960a;
}

.badge-holiday {
    background-color: rgba(102, 102, 102, 0.12);
    color: #666666;
}

.sch-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.sch-meta span {
    font-size: 13px;
    color: #888888;
    display: flex;
    align-items: center;
    gap: 6px;
}

.sch-meta i {
    font-size: 12px;
    color: #bbbbbb;
}

.sch-note {
    font-size: 13px;
    color: #999999;
    margin-top: 6px;
    font-style: italic;
}

.sch-action {
    flex-shrink: 0;
    margin-left: 24px;
}

.past-schedule-section {
    margin-top: 48px;
    border-top: 1px solid #e8e8e8;
    padding-top: 32px;
}

.past-toggle-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 12px 20px;
    font-family: 'Pretendard', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #1C2955;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: center;
}

.past-toggle-btn:hover {
    background-color: rgba(28, 41, 85, 0.04);
    border-color: #1C2955;
}

.past-toggle-btn i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.past-schedule-list {
    margin-top: 20px;
}

.sch-item.sch-past {
    border-left-color: #cccccc;
    opacity: 0.6;
}

.sch-item.sch-past:hover {
    opacity: 0.8;
}

.schedule-loading {
    text-align: center;
    padding: 60px 0;
    color: #999999;
    font-size: 15px;
}

.schedule-empty-state {
    text-align: center;
    padding: 80px 0;
}

.empty-icon {
    font-size: 48px;
    color: #dddddd;
    margin-bottom: 20px;
}

.schedule-empty-state h4 {
    font-size: 20px;
    font-weight: 700;
    color: #1C2955;
    margin-bottom: 8px;
}

.schedule-empty-state p {
    font-size: 15px;
    color: #888888;
    margin-bottom: 24px;
}
/* ===================================
   문의 페이지 (contact.html)
   =================================== */

.contact-info-list {
    margin-top: 32px;
}

.contact-section {
    background-color: #ffffff;
}

.contact-layout {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.contact-info-side {
    flex-shrink: 0;
    width: 320px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 24px;
}

.contact-info-item i {
    color: #1C2955;
    font-size: 18px;
    margin-top: 3px;
    flex-shrink: 0;
}

.contact-info-item a {
    color: #1C2955;
    font-weight: 600;
}

.contact-info-item a:hover {
    color: #D94925;
}

.contact-info-item p {
    font-size: 14px;
    color: #666666;
    line-height: 1.6;
}

.contact-info-item .info-label {
    font-size: 13px;
    color: #999999;
    margin-bottom: 2px;
}

.contact-notice {
    margin-top: 32px;
    padding: 16px 20px;
    background-color: rgba(28, 41, 85, 0.04);
    border-left: 3px solid #FFCD4A;
    border-radius: 0 8px 8px 0;
    font-size: 13px;
    color: #666666;
    line-height: 1.6;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-form-side {
    flex: 1;
}

.contact-form {
    background-color: #f8f9fa;
    border-radius: 12px;
    padding: 40px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1C2955;
    margin-bottom: 6px;
}

.form-label .required {
    color: #D94925;
    margin-left: 2px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Pretendard', sans-serif;
    color: #333333;
    background-color: #ffffff;
    transition: border-color 0.3s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #1C2955;
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 24px;
}

.form-checkbox input {
    margin-top: 3px;
}

.form-checkbox label {
    font-size: 13px;
    color: #666666;
    line-height: 1.5;
}

.form-submit-btn {
    width: 100%;
    padding: 16px;
    background-color: #D94925;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Pretendard', sans-serif;
    transition: background-color 0.3s ease;
}

.form-submit-btn:hover {
    background-color: #c13d1d;
}

.form-submit-btn:disabled {
    background-color: #cccccc;
    cursor: default;
}

.form-success {
    display: none;
    text-align: center;
    padding: 60px 20px;
}

.form-success i {
    font-size: 48px;
    color: #D94925;
    margin-bottom: 20px;
}

.form-success h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1C2955;
    margin-bottom: 8px;
}

.form-success p {
    font-size: 15px;
    color: #666666;
}

/* ---------- 이메일 입력 ---------- */
.email-input-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.email-input-wrap .form-input {
    flex: 1;
    min-width: 0;
}

.email-input-wrap .form-select {
    width: 140px;
    flex-shrink: 0;
}

.email-at {
    font-size: 15px;
    font-weight: 600;
    color: #888;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .email-input-wrap {
        flex-wrap: wrap;
    }

    .email-input-wrap .form-input {
        flex: 1 1 calc(50% - 20px);
        min-width: 80px;
    }

    .email-input-wrap .form-select {
        width: 100%;
        margin-top: 6px;
    }
}

/* ===================================
   반응형: 태블릿
   =================================== */
@media (max-width: 1024px) {
    .service-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .trainer-profile {
        gap: 40px;
    }

    .trainer-photo {
        width: 220px;
    }

    .facility-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .course-layout {
        gap: 40px;
    }

    .course-image {
        width: 340px;
    }

    .course-gallery {
        width: 340px;
    }

    .contact-layout {
        gap: 40px;
    }

    .contact-info-side {
        width: 280px;
    }

    .calendar-grid {
        max-width: 100%;
    }

    .cal-cell {
        min-height: 72px;
    }

    .cal-event-label {
        font-size: 10px;
        line-height: 16px;
        height: 16px;
        padding: 0 3px;
    }
}

/* ===================================
   반응형: 모바일
   =================================== */
@media (max-width: 768px) {
    .gnb {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .btn-contact-sm {
        display: inline-block;
    }

    .header-inner {
        height: 60px;
    }

    .logo-img {
        height: 28px;
    }

    .hero {
        margin-top: 60px;
        min-height: 500px;
        max-height: 700px;
        background-position: 90% center;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }

    .section {
        padding: 64px 0;
    }

    .section-title {
        font-size: 24px;
    }

    .service-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .trust-logos {
        gap: 40px;
    }

    .stats-grid {
        gap: 40px;
    }

    .stat-number {
        font-size: 36px;
    }

    .cta-title {
        font-size: 24px;
    }

    .footer-inner {
        flex-direction: column;
        gap: 24px;
    }

    .schedule-item {
        flex-direction: column;
        text-align: center;
    }

    .schedule-date {
        margin-right: 0;
        margin-bottom: 12px;
    }

    /* 소개 페이지 */
    .page-hero {
        margin-top: 60px;
        padding: 72px 24px 56px;
    }

    .page-hero-title {
        font-size: 28px;
    }

    .page-hero-desc {
        font-size: 15px;
    }

    .philosophy-title {
        font-size: 22px;
    }

    .target-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .facility-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        margin-top: 32px;
    }

    .facility-label {
        font-size: 13px;
    }

    .facility-sub {
        font-size: 10px;
    }

    .facility-footnotes {
        margin-top: 40px;
        padding-top: 20px;
    }

    .facility-footnotes p {
        font-size: 11px;
    }

    .facility-footnotes strong {
        font-size: 11px;
    }

    .footnote-standard {
        font-size: 10px;
    }

    .trainer-profile {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .trainer-photo {
        width: 200px;
    }

    .trainer-info {
        width: 100%;
    }

    .trainer-name {
        font-size: 26px;
    }

    .cert-org {
        justify-content: center;
    }

    .cert-list {
        align-items: center;
    }

    .cert-list li {
        justify-content: center;
    }

    .cert-sub {
        padding-left: 12px;
    }

    /* 교육과정 */
    .course-track-cards {
        grid-template-columns: 1fr;
    }

    .course-layout,
    .layout-reverse {
        flex-direction: column;
    }

    .course-image {
        width: 100%;
    }

    .course-detail {
        padding: 48px 0;
    }

    .course-name {
        font-size: 22px;
    }

    .course-grade {
        padding: 16px;
    }

    .example-cards {
        grid-template-columns: 1fr;
    }

    .spec-label {
        width: 70px;
    }

    .course-gallery {
        width: 100%;
    }

    .course-gallery-track {
        flex-direction: row;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        padding-bottom: 8px;
    }

    .course-gallery-track img {
        width: 85%;
        flex-shrink: 0;
        scroll-snap-align: center;
    }

    .course-gallery-track::-webkit-scrollbar {
        height: 4px;
    }

    .course-gallery-track::-webkit-scrollbar-track {
        background: #f0f0f0;
        border-radius: 2px;
    }

    .course-gallery-track::-webkit-scrollbar-thumb {
        background: #D94925;
        border-radius: 2px;
    }

    /* 교육일정 */
    .schedule-filters {
        flex-wrap: wrap;
    }

    .calendar-grid {
        margin-bottom: 40px;
    }

    .cal-nav-title {
        font-size: 18px;
        min-width: 120px;
    }

    .cal-cell {
        min-height: 56px;
        padding: 2px 0 1px;
    }

    .cal-cell .cal-date-num {
        font-size: 11px;
        padding-right: 3px;
    }

    .cal-event-label {
        font-size: 8px;
        line-height: 13px;
        height: 13px;
        padding: 0 2px;
    }

    .cal-ev-single {
        margin: 0 1px;
    }

    .cal-ev-start {
        margin-left: 1px;
    }

    .cal-ev-end {
        margin-right: 1px;
    }

    .cal-holiday-name {
        font-size: 7px;
    }

    .sch-item {
        flex-direction: column;
        text-align: center;
    }

    .sch-date {
        margin-right: 0;
        margin-bottom: 12px;
    }

    .sch-date-text {
        font-size: 22px;
    }

    .sch-action {
        margin-left: 0;
        margin-top: 16px;
    }

    /* 문의 */
    .contact-layout {
        flex-direction: column;
    }

    .contact-info-side {
        width: 100%;
    }

    .contact-form {
        padding: 24px;
    }

    .email-input-wrap {
        flex-wrap: wrap;
    }

    .email-input-wrap input[type="text"] {
        flex: 1 1 calc(50% - 20px);
        min-width: 80px;
    }

    .email-input-wrap select {
        width: 100%;
        margin-top: 6px;
    }
}

@media (max-width: 480px) {
    .cal-cell {
        min-height: 44px;
        padding: 1px;
    }

    .cal-date-num {
        font-size: 10px;
        padding-right: 2px;
    }

    .cal-event-label {
        font-size: 7px;
        line-height: 11px;
        height: 11px;
        padding: 0 1px;
    }

    .cal-holiday-name {
        display: none;
    }
}
