/* ============================================
   모두세이프티 - 산업안전교육 사이트
   Color: Orange (#E86830) + Dark Navy (#2B2D42)
   ============================================
   NOTE: 메인 페이지(pages/main.php)는 Tailwind CSS를 사용합니다.
   이 CSS 파일은 courseList, calendar, apply, payment, mypage 등
   다른 하위 페이지에서 계속 사용됩니다.
   ============================================ */

:root {
    /* Flowbite Brand Color System */
    --primary: #E86830;
    --primary-50: #f9f7f6;
    --primary-100: #f1ebe9;
    --primary-200: #ead6cd;
    --primary-300: #f3b295;
    --primary-400: #ee8d63;
    --primary-dark: #cf4f17;
    --primary-light: #f3b295;
    --primary-900: #5c230a;
    --secondary: #2B2D42;
    --secondary-light: #3D3F56;
    --accent: #F39C12;
    --success: #27AE60;
    --info: #2980B9;
    --warning: #F39C12;
    --danger: #E74C3C;
    --gray-50: #F8F9FA;
    --gray-100: #F1F3F5;
    --gray-200: #E9ECEF;
    --gray-300: #DEE2E6;
    --gray-400: #CED4DA;
    --gray-500: #ADB5BD;
    --gray-600: #868E96;
    --gray-700: #495057;
    --gray-800: #343A40;
    --gray-900: #212529;
    --white: #FFFFFF;
    --font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
    --radius: 10px;
    --radius-lg: 16px;
    --shadow: 0 2px 12px rgba(0,0,0,0.08);
    --shadow-md: 0 6px 24px rgba(0,0,0,0.12);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.16);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 17px;
    line-height: 1.6;
    color: var(--gray-800);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

ul, ol {
    list-style: none;
}

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

/* ============================================
   Top Bar
   ============================================ */
.top-bar {
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
    font-size: 13px;
}

.top-bar-inner {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 36px;
}

.top-links a {
    color: var(--gray-600);
    margin-left: 20px;
}

.top-links a:hover {
    color: var(--primary);
}

/* ============================================
   Header
   ============================================ */
.header {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: baseline;
    gap: 6px;
    font-weight: 900;
    font-size: 28px;
}

.logo-modu {
    color: var(--secondary);
    font-style: italic;
    letter-spacing: -1px;
}

.logo-safety {
    color: var(--gray-500);
    font-weight: 400;
    font-size: 20px;
    letter-spacing: 2px;
}

/* GNB */
.gnb ul {
    display: flex;
    gap: 8px;
}

.gnb > ul > li > a {
    display: block;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 600;
    color: var(--secondary);
    border-radius: var(--radius);
}

.gnb > ul > li > a:hover,
.gnb > ul > li:hover > a {
    color: var(--primary);
    background: rgba(232, 104, 48, 0.05);
}

/* Sub Menu */
.has-sub {
    position: relative;
}

.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 200;
    display: block;
}

.has-sub:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu li a {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    color: var(--gray-700);
    font-weight: 500;
}

.sub-menu li a:hover {
    background: var(--gray-50);
    color: var(--primary);
}

/* Header Contact */
.header-contact .btn-contact {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    transition: var(--transition);
}

.header-contact .btn-contact:hover {
    background: var(--primary-dark);
    box-shadow: var(--shadow-md);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--secondary);
    cursor: pointer;
}

/* ============================================
   Mobile Menu
   ============================================ */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background: var(--white);
    z-index: 1000;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--gray-200);
}

.mobile-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--gray-600);
}

.mobile-nav ul li a {
    display: block;
    padding: 16px 20px;
    border-bottom: 1px solid var(--gray-100);
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-800);
}

.mobile-nav ul li a:hover {
    background: var(--gray-50);
    color: var(--primary);
}

.mobile-login {
    padding: 20px;
}

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    display: none;
}

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

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    font-family: var(--font-family);
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: 0 4px 12px rgba(232, 104, 48, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--secondary-light);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
}

.btn-white:hover {
    background: var(--gray-100);
}

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

.btn-lg {
    padding: 16px 40px;
    font-size: 17px;
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-cta-primary {
    background: var(--primary);
    color: var(--white);
    border-radius: 50px;
    padding: 12px 32px;
    font-weight: 700;
}

.btn-cta-primary:hover {
    background: var(--primary-dark);
}

.btn-cta-outline {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--white);
    border-radius: 50px;
    padding: 12px 32px;
    font-weight: 700;
}

.btn-cta-outline:hover {
    background: transparent;
    color: var(--white);
}

/* ============================================
   Badges
   ============================================ */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.badge-mail {
    background: #FFF3E0;
    color: #E65100;
}

.badge-zoom {
    background: #E3F2FD;
    color: #1565C0;
}

.badge-offline {
    background: #E8F5E9;
    color: #2E7D32;
}

.badge-online {
    background: #F3E5F5;
    color: #7B1FA2;
}

.badge-default {
    background: var(--gray-100);
    color: var(--gray-700);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    background: linear-gradient(135deg, var(--secondary) 0%, #1a1b2e 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="80" cy="20" r="40" fill="rgba(232,104,48,0.1)"/><circle cx="60" cy="70" r="30" fill="rgba(232,104,48,0.06)"/></svg>') no-repeat center;
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    padding: 60px 0;
}

.hero-label {
    display: inline-block;
    background: rgba(232, 104, 48, 0.2);
    color: var(--primary-light);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.hero p {
    font-size: 18px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 32px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ============================================
   Section Styles
   ============================================ */
.section {
    padding: 100px 0;
}

.section-gray {
    background: var(--gray-50);
}

.section-title {
    text-align: center;
    margin-bottom: 48px;
}

.section-title h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.section-title p {
    font-size: 16px;
    color: var(--gray-600);
}

.section-title .highlight {
    color: var(--primary);
}

/* ============================================
   Education Type Cards (Main)
   ============================================ */
.edu-types {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.edu-type-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 24px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid transparent;
}

.edu-type-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.edu-type-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
}

.edu-type-card.mail .edu-type-icon {
    background: #FFF3E0;
    color: #E65100;
}

.edu-type-card.zoom .edu-type-icon {
    background: #E3F2FD;
    color: #1565C0;
}

.edu-type-card.offline .edu-type-icon {
    background: #E8F5E9;
    color: #2E7D32;
}

.edu-type-card.online .edu-type-icon {
    background: #F3E5F5;
    color: #7B1FA2;
}

.edu-type-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 8px;
}

.edu-type-card p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.5;
    margin-bottom: 20px;
}

.edu-type-card .btn {
    font-size: 13px;
    padding: 8px 20px;
}

/* ============================================
   Feature Section
   ============================================ */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius);
    background: rgba(232, 104, 48, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.feature-item h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 4px;
}

.feature-item p {
    font-size: 14px;
    color: var(--gray-600);
}

/* ============================================
   Course Cards
   ============================================ */
.course-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.course-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.course-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.course-thumb {
    height: 180px;
    background: var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.course-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-thumb .badge {
    position: absolute;
    top: 12px;
    left: 12px;
}

.course-body {
    padding: 20px;
}

.course-body h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.course-meta {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: var(--gray-600);
    margin-bottom: 12px;
}

.course-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.course-price {
    font-size: 18px;
    font-weight: 800;
    color: var(--primary);
}

.course-price small {
    font-size: 13px;
    font-weight: 400;
    color: var(--gray-600);
}

.course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    border-top: 1px solid var(--gray-100);
}

/* ============================================
   Calendar
   ============================================ */
.calendar-wrapper {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    background: var(--secondary);
    color: var(--white);
}

.calendar-header h3 {
    font-size: 22px;
    font-weight: 700;
}

.calendar-nav {
    display: flex;
    gap: 8px;
}

.calendar-nav button {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.3);
    background: transparent;
    color: var(--white);
    cursor: pointer;
    font-size: 14px;
    transition: var(--transition);
}

.calendar-nav button:hover {
    background: rgba(255,255,255,0.1);
}

.calendar-filter {
    display: flex;
    gap: 8px;
    padding: 16px 24px;
    border-bottom: 1px solid var(--gray-200);
    flex-wrap: wrap;
}

.calendar-filter .filter-btn {
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid var(--gray-300);
    background: var(--white);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-family);
    color: var(--gray-700);
}

.calendar-filter .filter-btn.active,
.calendar-filter .filter-btn:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}

.calendar-day-header {
    padding: 12px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-600);
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
}

.calendar-day-header:first-child {
    color: var(--danger);
}

.calendar-day-header:last-child {
    color: var(--info);
}

.calendar-day {
    min-height: 100px;
    padding: 8px;
    border-right: 1px solid var(--gray-100);
    border-bottom: 1px solid var(--gray-100);
    cursor: pointer;
    transition: var(--transition);
}

.calendar-day:nth-child(7n) {
    border-right: none;
}

.calendar-day:hover {
    background: var(--gray-50);
}

.calendar-day .day-num {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 4px;
}

.calendar-day.other-month .day-num {
    color: var(--gray-400);
}

.calendar-day.today .day-num {
    background: var(--primary);
    color: var(--white);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.calendar-day.sunday .day-num {
    color: var(--danger);
}

.calendar-day.saturday .day-num {
    color: var(--info);
}

.calendar-event {
    display: block;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 11px;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
}

.calendar-event.type-mail {
    background: #FFF3E0;
    color: #E65100;
}

.calendar-event.type-zoom {
    background: #E3F2FD;
    color: #1565C0;
}

.calendar-event.type-offline {
    background: #E8F5E9;
    color: #2E7D32;
}

.calendar-event.type-online {
    background: #F3E5F5;
    color: #7B1FA2;
}

/* Calendar Schedule List View */
.schedule-list {
    margin-top: 32px;
}

.schedule-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 12px;
    transition: var(--transition);
    align-items: center;
}

.schedule-item:hover {
    box-shadow: var(--shadow-md);
}

.schedule-date {
    text-align: center;
    min-width: 80px;
    padding: 12px;
    background: var(--gray-50);
    border-radius: var(--radius);
}

.schedule-date .month {
    font-size: 12px;
    color: var(--gray-600);
    text-transform: uppercase;
}

.schedule-date .day {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.schedule-info {
    flex: 1;
}

.schedule-info h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 6px;
}

.schedule-info-meta {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: var(--gray-600);
    flex-wrap: wrap;
}

.schedule-info-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.schedule-action {
    flex-shrink: 0;
}

/* ============================================
   Page Header (Sub Pages)
   ============================================ */
.page-header {
    background: linear-gradient(135deg, var(--secondary) 0%, #1a1b2e 100%);
    color: var(--white);
    padding: 48px 0;
    text-align: center;
}

.page-header h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 8px;
}

.page-header p {
    font-size: 16px;
    color: rgba(255,255,255,0.6);
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

.breadcrumb a:hover {
    color: var(--white);
}

.breadcrumb .separator {
    color: rgba(255,255,255,0.3);
}

/* ============================================
   Course Detail
   ============================================ */
.detail-top {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.detail-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--gray-100);
    aspect-ratio: 4/3;
}

.detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-info h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 16px;
}

.detail-table {
    width: 100%;
    margin-bottom: 24px;
}

.detail-table tr {
    border-bottom: 1px solid var(--gray-100);
}

.detail-table th {
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
    background: var(--gray-50);
    width: 120px;
    text-align: left;
}

.detail-table td {
    padding: 12px 16px;
    font-size: 14px;
    color: var(--gray-800);
}

.detail-price-box {
    background: var(--gray-50);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 24px;
}

.detail-price-box .price {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
}

.detail-price-box .price small {
    font-size: 16px;
    font-weight: 400;
    color: var(--gray-600);
}

.detail-tabs {
    border-bottom: 2px solid var(--gray-200);
    display: flex;
    gap: 0;
    margin-bottom: 24px;
}

.detail-tab {
    padding: 16px 32px;
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-600);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: var(--transition);
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
    font-family: var(--font-family);
}

.detail-tab.active,
.detail-tab:hover {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.detail-content {
    padding: 20px 0;
    line-height: 1.8;
    font-size: 15px;
}

/* ============================================
   Application Form
   ============================================ */
.apply-steps {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 40px;
}

.apply-step {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-500);
    position: relative;
}

.apply-step .step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gray-200);
    color: var(--gray-600);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
}

.apply-step.active {
    color: var(--primary);
}

.apply-step.active .step-num {
    background: var(--primary);
    color: var(--white);
}

.apply-step.completed .step-num {
    background: var(--success);
    color: var(--white);
}

.apply-step:not(:last-child)::after {
    content: '';
    width: 40px;
    height: 2px;
    background: var(--gray-200);
    margin-left: 8px;
}

.apply-step.completed:not(:last-child)::after {
    background: var(--success);
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 6px;
}

.form-label .required {
    color: var(--danger);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    font-size: 14px;
    font-family: var(--font-family);
    transition: var(--transition);
    color: var(--gray-800);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(232, 104, 48, 0.1);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

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

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.form-box {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 32px;
    margin-bottom: 24px;
}

.form-box-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary);
    padding-bottom: 16px;
    border-bottom: 2px solid var(--gray-200);
    margin-bottom: 24px;
}

/* ============================================
   My Page
   ============================================ */
.mypage-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--gray-200);
    margin-bottom: 32px;
}

.mypage-tab {
    padding: 16px 32px;
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-600);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: var(--transition);
    text-decoration: none;
}

.mypage-tab.active,
.mypage-tab:hover {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.study-status-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 24px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: var(--transition);
}

.study-status-card:hover {
    box-shadow: var(--shadow-md);
}

.study-thumb {
    width: 100px;
    height: 75px;
    border-radius: var(--radius);
    overflow: hidden;
    flex-shrink: 0;
    background: var(--gray-200);
}

.study-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.study-info {
    flex: 1;
}

.study-info h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 6px;
}

.study-info-meta {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: var(--gray-600);
}

.progress-bar-wrap {
    width: 120px;
    text-align: center;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--gray-200);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 4px;
}

.progress-bar-fill {
    height: 100%;
    background: var(--primary);
    border-radius: 4px;
    transition: width 0.5s ease;
}

.progress-text {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
}

/* ============================================
   Login Form
   ============================================ */
.login-wrapper {
    max-width: 440px;
    margin: 60px auto;
    padding: 0 20px;
}

.login-box {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 48px 40px;
    text-align: center;
}

.login-box h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 8px;
}

.login-box .login-desc {
    font-size: 14px;
    color: var(--gray-600);
    margin-bottom: 32px;
}

.login-box .form-group {
    text-align: left;
}

.login-box .form-control {
    padding: 14px 16px;
}

.login-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 20px;
    font-size: 13px;
}

.login-links a {
    color: var(--gray-600);
}

.login-links a:hover {
    color: var(--primary);
}

/* ============================================
   Notice / Board
   ============================================ */
.board-table {
    width: 100%;
    border-collapse: collapse;
}

.board-table thead {
    background: var(--gray-50);
}

.board-table th,
.board-table td {
    padding: 14px 16px;
    text-align: left;
    font-size: 14px;
    border-bottom: 1px solid var(--gray-200);
}

.board-table th {
    font-weight: 600;
    color: var(--gray-700);
}

.board-table td {
    color: var(--gray-800);
}

.board-table tbody tr:hover {
    background: var(--gray-50);
}

.board-table .num {
    width: 60px;
    text-align: center;
}

.board-table .date {
    width: 120px;
    color: var(--gray-600);
}

.board-table .subject a:hover {
    color: var(--primary);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-top: 32px;
}

.pagination a,
.pagination span {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    font-size: 14px;
    color: var(--gray-600);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.pagination a:hover {
    background: var(--gray-100);
    color: var(--primary);
}

.pagination .active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* ============================================
   CTA Banner
   ============================================ */
.cta-banner {
    background: var(--secondary);
    padding: 24px 0;
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cta-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
}

.cta-buttons {
    display: flex;
    gap: 12px;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: 48px 0 32px;
}

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

.footer-info {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.footer-logo {
    font-size: 24px;
    font-weight: 900;
    flex-shrink: 0;
}

.footer-logo .logo-modu {
    color: var(--white);
    font-style: italic;
}

.footer-logo .logo-safety {
    color: var(--gray-500);
    font-size: 16px;
}

.footer-company p {
    font-size: 13px;
    line-height: 1.8;
    color: var(--gray-500);
}

.footer-links {
    display: flex;
    gap: 24px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-links a {
    font-size: 13px;
    color: var(--gray-500);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-copy {
    font-size: 12px;
    color: var(--gray-600);
}

/* ============================================
   Inquiry Form
   ============================================ */
.inquiry-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.inquiry-info-item {
    text-align: center;
    padding: 32px 20px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.inquiry-info-item i {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 12px;
}

.inquiry-info-item h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 4px;
}

.inquiry-info-item p {
    font-size: 14px;
    color: var(--gray-600);
}

/* ============================================
   Certificate
   ============================================ */
.certificate-box {
    max-width: 700px;
    margin: 0 auto;
    border: 3px solid var(--secondary);
    padding: 60px;
    text-align: center;
    background: var(--white);
}

.certificate-box h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 40px;
    letter-spacing: 8px;
}

.certificate-table {
    width: 100%;
    margin-bottom: 40px;
    text-align: left;
}

.certificate-table th,
.certificate-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--gray-200);
    font-size: 15px;
}

.certificate-table th {
    width: 120px;
    font-weight: 600;
    color: var(--gray-700);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
    .gnb {
        display: none;
    }

    .header-contact {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .edu-types {
        grid-template-columns: repeat(2, 1fr);
    }

    .course-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .detail-top {
        grid-template-columns: 1fr;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .inquiry-info {
        grid-template-columns: 1fr;
    }

    .cta-inner {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 28px;
    }

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

    .hero {
        min-height: 400px;
    }

    .section {
        padding: 48px 0;
    }

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

    .edu-types {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .edu-type-card {
        padding: 24px 16px;
    }

    .course-grid {
        grid-template-columns: 1fr;
    }

    .calendar-day {
        min-height: 60px;
        padding: 4px;
    }

    .calendar-event {
        font-size: 9px;
        padding: 1px 4px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .apply-steps {
        flex-wrap: wrap;
    }

    .apply-step:not(:last-child)::after {
        display: none;
    }

    .footer-info {
        flex-direction: column;
        gap: 20px;
    }

    .study-status-card {
        flex-direction: column;
        text-align: center;
    }

    .login-box {
        padding: 32px 24px;
    }

    .schedule-item {
        flex-direction: column;
    }

    .page-header h2 {
        font-size: 24px;
    }

    .certificate-box {
        padding: 30px 20px;
    }

    .board-table {
        font-size: 13px;
    }

    .board-table .num {
        display: none;
    }
}

@media (max-width: 480px) {
    .edu-types {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
    }

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

    .mypage-tabs {
        overflow-x: auto;
    }

    .mypage-tab {
        padding: 12px 16px;
        font-size: 14px;
        white-space: nowrap;
    }
}


/* ============================================
   Hero Banner - Full Width Photo
   ============================================ */
.hero-banner { position: relative; width: 100%; height: 420px; overflow: hidden; }
.hero-slides { position: relative; width: 100%; height: 100%; }
.hero-slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; display: none; }
.hero-slide.active { display: block; animation: fadeIn 0.8s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(43,45,66,0.82), rgba(43,45,66,0.6)); }
.hero-inner { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; color: #fff; padding: 60px 0; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(232,104,48,0.3); color: #fff; padding: 10px 22px; border-radius: 50px; font-size: 15px; font-weight: 600; margin-bottom: 24px; width: fit-content; backdrop-filter: blur(4px); }
.hero-inner h1 { font-size: 52px; font-weight: 900; line-height: 1.2; margin-bottom: 20px; letter-spacing: -2px; text-shadow: 0 2px 20px rgba(0,0,0,0.2); }
.hero-inner > p { font-size: 18px; color: rgba(255,255,255,0.85); margin-bottom: 28px; line-height: 1.6; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-hero-primary { display: inline-flex; align-items: center; gap: 12px; padding: 20px 48px; background: var(--primary); color: #fff; border-radius: 50px; font-size: 20px; font-weight: 700; transition: var(--transition); box-shadow: 0 4px 20px rgba(232,104,48,0.4); }
.btn-hero-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(232,104,48,0.5); }
.btn-hero-outline { display: inline-flex; align-items: center; gap: 12px; padding: 20px 48px; border: 2px solid rgba(255,255,255,0.5); color: #fff; border-radius: 50px; font-size: 20px; font-weight: 600; transition: var(--transition); }
.btn-hero-outline:hover { background: rgba(255,255,255,0.15); border-color: #fff; }
.hero-dots { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 10; }
.hero-dots .dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,0.4); cursor: pointer; transition: var(--transition); border: 2px solid transparent; }
.hero-dots .dot.active { background: var(--primary); border-color: #fff; width: 32px; border-radius: 6px; }
.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 10; width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,0.15); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,0.2); color: #fff; font-size: 18px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.hero-arrow:hover { background: rgba(255,255,255,0.3); }
.hero-prev { left: 20px; }
.hero-next { right: 20px; }

/* ============================================
   Quick Menu Grid (4x2 big cards)
   ============================================ */
.quick-strip { padding: 48px 0; background: var(--white); }
.quick-strip-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.qs-item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 36px 16px; text-align: center; transition: var(--transition); position: relative; background: var(--gray-50); border-radius: 20px; border: 2px solid transparent; }
.qs-item:hover { background: #FFF5F0; border-color: var(--primary); transform: translateY(-6px); box-shadow: 0 12px 32px rgba(232,104,48,0.12); }
.qs-item img { width: 96px; height: 96px; transition: var(--transition); filter: drop-shadow(0 4px 8px rgba(0,0,0,0.08)); }
.qs-item:hover img { transform: translateY(-6px) scale(1.1); filter: drop-shadow(0 8px 16px rgba(0,0,0,0.15)); }
.qs-item span { font-size: 18px; font-weight: 700; color: var(--gray-800); }
.qs-item:hover span { color: var(--primary); }

/* ============================================
   Section Heads
   ============================================ */
.sec-head { text-align: center; margin-bottom: 56px; }
.sec-head h2 { font-size: 42px; font-weight: 800; color: var(--secondary); margin-bottom: 12px; position: relative; display: inline-block; }
.sec-head h2::after { content: ''; display: block; width: 56px; height: 4px; background: var(--primary); border-radius: 4px; margin: 14px auto 0; }
.sec-head p { font-size: 17px; color: var(--gray-600); margin-top: 10px; }
.sec-head-row { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; }
.sec-head-row h2 { font-size: 34px; font-weight: 800; color: var(--secondary); margin-bottom: 6px; }
.sec-head-row p { font-size: 16px; color: var(--gray-600); }

/* ============================================
   Education Photo Cards
   ============================================ */
.edu-photo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.edu-photo-card { background: var(--white); border-radius: 20px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.06); border: 1px solid var(--gray-200); transition: var(--transition); display: flex; flex-direction: row; }
.edu-photo-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,0.12); }
.epc-img { width: 260px; min-height: 280px; background-size: cover; background-position: center; position: relative; transition: var(--transition); flex-shrink: 0; }
.edu-photo-card:hover .epc-img { transform: scale(1.03); }
.epc-body { padding: 32px 28px; display: flex; flex-direction: column; justify-content: center; }
.epc-num { font-size: 42px; font-weight: 900; color: var(--primary); opacity: 0.12; line-height: 1; display: block; margin-bottom: -6px; }
.epc-body h3 { font-size: 28px; font-weight: 800; color: var(--secondary); margin-bottom: 14px; }
.epc-body > p { font-size: 17px; color: var(--gray-600); line-height: 1.7; margin-bottom: 18px; }
.epc-body ul { margin-bottom: 24px; }
.epc-body ul li { font-size: 18px; color: var(--gray-600); padding: 6px 0; display: flex; align-items: center; gap: 12px; }
.epc-body ul li i { color: var(--primary); font-size: 16px; }
.epc-link { font-size: 18px; font-weight: 600; color: var(--primary); display: inline-flex; align-items: center; gap: 8px; transition: var(--transition); }
.edu-photo-card:hover .epc-link { gap: 12px; }

/* ============================================
   Stats with Photo Background
   ============================================ */
.stats-photo { position: relative; background-size: cover; background-position: center; background-attachment: fixed; padding: 100px 0; }
.stats-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(43,45,66,0.92), rgba(232,104,48,0.85)); }
.stats-inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 60px; color: #fff; }
.stats-text h2 { font-size: 38px; font-weight: 800; line-height: 1.4; }
.stats-text h2 span { color: var(--primary-light); }
.stats-nums { display: flex; gap: 56px; }
.stat-box { text-align: center; }
.stat-val { font-size: 64px; font-weight: 900; letter-spacing: -1px; }
.stat-val small { font-size: 32px; font-weight: 700; opacity: 0.7; }
.stat-box p { font-size: 18px; color: rgba(255,255,255,0.7); margin-top: 8px; font-weight: 500; }

/* ============================================
   Course Cards V3
   ============================================ */
.course-grid-v3 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.course-card-v3 { background: var(--white); border-radius: 16px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,0.05); border: 1px solid var(--gray-200); transition: var(--transition); display: flex; flex-direction: column; }
.course-card-v3:hover { transform: translateY(-6px); box-shadow: 0 12px 36px rgba(0,0,0,0.1); }
.ccv3-top { position: relative; width: 100%; padding-top: 56.25%; overflow: hidden; background: var(--gray-100); }
.ccv3-top img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.course-card-v3:hover .ccv3-top img { transform: scale(1.08); }
.ccv3-placeholder { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 48px; color: var(--primary); background: #FFF3E0; }
.ccv3-badge { position: absolute; top: 14px; left: 14px; padding: 6px 14px; border-radius: 8px; font-size: 13px; font-weight: 700; color: #fff; z-index: 1; }
.ccv3-body { padding: 24px; flex: 1; }
.ccv3-body h4 { font-size: 22px; font-weight: 700; color: var(--secondary); margin-bottom: 14px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ccv3-meta { display: flex; gap: 16px; font-size: 16px; color: var(--gray-600); margin-bottom: 14px; }
.ccv3-meta i { color: var(--primary); }
.ccv3-price { font-size: 16px; }
.ccv3-price del { color: var(--gray-500); margin-right: 8px; }
.ccv3-price strong { font-size: 26px; font-weight: 800; color: var(--primary); }
.ccv3-foot { padding: 16px 24px; border-top: 1px solid var(--gray-100); text-align: center; }
.ccv3-foot span { font-size: 18px; font-weight: 600; color: var(--primary); display: inline-flex; align-items: center; gap: 8px; transition: var(--transition); }
.course-card-v3:hover .ccv3-foot span { gap: 10px; }

/* ============================================
   Dual Row (Schedule + Notice)
   ============================================ */
.dual-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.dual-card { background: var(--white); border-radius: 16px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); border: 1px solid var(--gray-200); overflow: hidden; }
.dual-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--gray-100); }
.dual-head h3 { font-size: 22px; font-weight: 700; color: var(--secondary); display: flex; align-items: center; gap: 10px; }
.dual-head h3 i { color: var(--primary); font-size: 20px; }
.dual-head a { font-size: 14px; color: var(--gray-600); font-weight: 600; transition: var(--transition); display: flex; align-items: center; gap: 4px; }
.dual-head a:hover { color: var(--primary); }
.dual-body { padding: 8px 0; }
.sched-row { display: flex; align-items: center; gap: 14px; padding: 14px 24px; transition: var(--transition); border-bottom: 1px solid var(--gray-50); }
.sched-row:last-child { border-bottom: none; }
.sched-row:hover { background: var(--gray-50); }
.sched-date strong { font-size: 14px; font-weight: 700; color: var(--primary); }
.badge-sm { font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 4px; color: #fff; flex-shrink: 0; }
.sched-row p { font-size: 14px; color: var(--gray-700); flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dual-empty { padding: 48px 20px; text-align: center; }
.dual-empty i { font-size: 40px; color: var(--gray-300); margin-bottom: 12px; display: block; }
.dual-empty p { font-size: 14px; color: var(--gray-500); margin-bottom: 12px; }
.btn-xs { padding: 6px 16px; font-size: 12px; }

/* ============================================
   Review Cards
   ============================================ */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card { background: var(--white); border-radius: 20px; padding: 36px; box-shadow: 0 2px 10px rgba(0,0,0,0.04); border: 1px solid var(--gray-200); transition: var(--transition); }
.review-card:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
.rv-stars { color: #FFC107; font-size: 18px; display: flex; gap: 3px; margin-bottom: 20px; }
.rv-text { font-size: 18px; color: var(--gray-700); line-height: 1.8; margin-bottom: 24px; position: relative; padding-left: 20px; border-left: 4px solid var(--primary-light); }
.rv-author { display: flex; align-items: center; gap: 14px; }
.rv-avatar { width: 50px; height: 50px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 700; flex-shrink: 0; }
.rv-author strong { display: block; font-size: 16px; color: var(--secondary); }
.rv-author span { font-size: 13px; color: var(--gray-500); }

/* ============================================
   Floating Side Menu
   ============================================ */
.floating-side-menu { position: fixed; right: 20px; top: 50%; transform: translateY(-50%); background: var(--white); border-radius: 14px; box-shadow: 0 4px 20px rgba(0,0,0,0.1); border: 1px solid var(--gray-200); z-index: 90; overflow: hidden; width: 80px; }
.floating-side-menu a { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px 10px; text-align: center; font-size: 13px; font-weight: 600; color: var(--gray-600); border-bottom: 1px solid var(--gray-100); transition: var(--transition); }
.floating-side-menu a i { font-size: 20px; }
.floating-side-menu a:last-of-type { border-bottom: none; }
.floating-side-menu a:hover { background: #FFF8F5; color: var(--primary); }
.scroll-top-btn { width: 100%; padding: 12px; background: var(--primary); color: #fff; border: none; cursor: pointer; font-size: 16px; transition: var(--transition); }
.scroll-top-btn:hover { background: var(--primary-dark); }

/* ============================================
   Responsive V3
   ============================================ */
@media (max-width: 1024px) {
    .hero-banner { height: 380px; }
    .hero-inner h1 { font-size: 36px; }
    .quick-strip-inner { grid-template-columns: repeat(4, 1fr); gap: 12px; }
    .qs-item { padding: 28px 12px; }
    .qs-item img { width: 64px; height: 64px; }
    .qs-item span { font-size: 15px; }
    .edu-photo-grid { grid-template-columns: 1fr; }
    .edu-photo-card { flex-direction: row; }
    .epc-img { width: 240px; min-height: 240px; }
    .course-grid-v3 { grid-template-columns: repeat(2, 1fr); }
    .stats-inner { flex-direction: column; text-align: center; }
    .stats-nums { gap: 32px; }
    .dual-row { grid-template-columns: 1fr; }
    .review-grid { grid-template-columns: 1fr; }
    .floating-side-menu { display: none; }
    .hero-arrow { display: none; }
}

@media (max-width: 768px) {
    .hero-banner { height: 340px; }
    .hero-inner h1 { font-size: 28px; }
    .hero-inner > p { font-size: 15px; }
    .hero-badge { font-size: 13px; }
    .btn-hero-primary, .btn-hero-outline { padding: 14px 24px; font-size: 15px; }
    .quick-strip { padding: 32px 0; }
    .quick-strip-inner { grid-template-columns: repeat(4, 1fr); gap: 10px; }
    .qs-item { padding: 24px 8px; border-radius: 14px; gap: 10px; }
    .qs-item img { width: 52px; height: 52px; }
    .qs-item span { font-size: 13px; }
    .edu-photo-card { flex-direction: column; }
    .epc-img { width: 100%; min-height: 200px; }
    .course-grid-v3 { grid-template-columns: 1fr 1fr; gap: 16px; }
    .stats-nums { flex-wrap: wrap; gap: 24px; }
    .stat-box { width: 40%; }
    .stat-val { font-size: 40px; }
    .sec-head h2 { font-size: 28px; }
    .sec-head-row { flex-direction: column; align-items: flex-start; gap: 12px; }
    .stats-photo { background-attachment: scroll; padding: 60px 0; }
}

@media (max-width: 480px) {
    .hero-banner { height: 300px; }
    .hero-inner h1 { font-size: 24px; }
    .hero-inner > p { font-size: 14px; margin-bottom: 20px; }
    .hero-badge { font-size: 12px; padding: 6px 14px; }
    .btn-hero-primary, .btn-hero-outline { padding: 12px 20px; font-size: 14px; }
    .quick-strip-inner { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .qs-item { padding: 20px 8px; }
    .qs-item img { width: 56px; height: 56px; }
    .qs-item span { font-size: 14px; }
    .course-grid-v3 { grid-template-columns: 1fr; }
    .hero-btns { flex-direction: column; }
    .stat-val { font-size: 34px; }
    .sec-head h2 { font-size: 24px; }
    .epc-body h3 { font-size: 20px; }
}

.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-gray { color: var(--gray-600); }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.d-flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.justify-between { justify-content: space-between; }
.align-center { align-items: center; }
.hidden { display: none; }

/* ============================================
   Scroll Reveal Animations
   ============================================ */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Pulse animation for CTA */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}
.btn-hero-primary { animation: pulse 2.5s ease-in-out infinite; }
.btn-hero-primary:hover { animation: none; }

/* Shimmer on hover for cards */
.edu-photo-card::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
    transition: 0.5s;
    z-index: 1;
}
.edu-photo-card:hover::before { left: 100%; }

/* Badge bounce */
@keyframes badgeBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}
.ccv3-badge { animation: badgeBounce 2s ease-in-out infinite; }

/* Quick menu entrance */
.quick-strip .qs-item { animation: scaleIn 0.5s ease both; }
.quick-strip .qs-item:nth-child(1) { animation-delay: 0.05s; }
.quick-strip .qs-item:nth-child(2) { animation-delay: 0.10s; }
.quick-strip .qs-item:nth-child(3) { animation-delay: 0.15s; }
.quick-strip .qs-item:nth-child(4) { animation-delay: 0.20s; }
.quick-strip .qs-item:nth-child(5) { animation-delay: 0.25s; }
.quick-strip .qs-item:nth-child(6) { animation-delay: 0.30s; }
.quick-strip .qs-item:nth-child(7) { animation-delay: 0.35s; }
.quick-strip .qs-item:nth-child(8) { animation-delay: 0.40s; }
@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.85) translateY(16px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Stats number glow */
.stat-val {
    text-shadow: 0 0 20px rgba(255,255,255,0.3);
}
