/* ===============================================
   DR-Drive-07 Theme - Navy/Trust Professional Style
   =============================================== */

/* CSS Variables - Navy Professional Color System */
:root {
    /* Primary Colors - Navy */
    --primary-color: #1E3A8A;
    --primary-dark: #1E40AF;
    --primary-light: #3B82F6;

    /* Secondary Colors */
    --secondary-color: #0F172A;
    --accent-color: #60A5FA;

    /* Neutral Colors */
    --gray-900: #111827;
    --gray-800: #1F2937;
    --gray-700: #374151;
    --gray-600: #4B5563;
    --gray-500: #6B7280;
    --gray-400: #9CA3AF;
    --gray-300: #D1D5DB;
    --gray-200: #E5E7EB;
    --gray-100: #F3F4F6;
    --gray-50: #F9FAFB;

    /* Text Colors */
    --text-dark: #111827;
    --text-light: #6B7280;
    --text-muted: #9CA3AF;

    /* Background Colors */
    --white: #ffffff;
    --black: #000000;
    --bg-light: #F9FAFB;
    --bg-dark: #0F172A;

    /* Status Colors */
    --success-color: #10B981;
    --warning-color: #F59E0B;
    --danger-color: #EF4444;

    /* Border */
    --border-color: #E5E7EB;

    /* Shadow */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background: var(--white);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

/* ===============================================
   Header Styles
   =============================================== */
.header {
    background: var(--white);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.header.scrolled {
    background: var(--white);
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid var(--border-color);
}

.navbar {
    padding: 15px 0;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color) !important;
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-brand i {
    font-size: 1.3rem;
}

.navbar-nav {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.navbar-nav .nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    padding: 10px 20px !important;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
    width: 60%;
}

.navbar-nav .nav-cta {
    background: var(--primary-color);
    color: var(--white) !important;
    border-radius: 8px;
    margin-left: 10px;
}

.navbar-nav .nav-cta:hover {
    background: var(--primary-dark);
    color: var(--white) !important;
}

.navbar-nav .nav-cta::after {
    display: none;
}

.navbar-toggler {
    border: none;
    padding: 10px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%231E3A8A' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ===============================================
   Hero Section
   =============================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.95) 0%, rgba(15, 23, 42, 0.85) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 700px;
    padding: 100px 0;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.hero-scroll a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: var(--white);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

/* ===============================================
   Buttons
   =============================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-color);
}

.btn-outline-light {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-light {
    background: var(--white);
    color: var(--primary-color);
}

.btn-light:hover {
    background: var(--gray-100);
    color: var(--primary-dark);
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
}

/* ===============================================
   Section Styles
   =============================================== */
.section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ===============================================
   Features Section
   =============================================== */
.features-section {
    background: var(--bg-light);
}

.feature-card {
    background: var(--white);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.feature-icon i {
    font-size: 2rem;
    color: var(--white);
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ===============================================
   Services Section
   =============================================== */
.service-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.service-img {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-img img {
    transform: scale(1.1);
}

.service-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.service-content {
    padding: 30px;
}

.service-tag {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.service-content h4 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.service-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.service-features li {
    padding: 8px 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

.service-features li i {
    color: var(--success-color);
    margin-right: 10px;
}

/* ===============================================
   Price Section
   =============================================== */
.price-section {
    background: var(--bg-light);
}

.price-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
}

.price-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.price-card.featured {
    border: 2px solid var(--primary-color);
}

.price-card.featured .price-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
}

.price-card.featured .price-header h4,
.price-card.featured .price-header .amount,
.price-card.featured .price-header .period {
    color: var(--white);
}

.price-badge {
    position: absolute;
    top: -1px;
    right: 20px;
    background: var(--warning-color);
    color: var(--white);
    padding: 8px 20px;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 0 0 8px 8px;
}

.price-header {
    padding: 40px 30px;
    text-align: center;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
}

.price-header h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.price .amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.price .period {
    font-size: 1rem;
    color: var(--text-light);
    margin-left: 5px;
}

.price-body {
    padding: 30px;
}

.price-features {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.price-features li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-dark);
    font-size: 0.95rem;
}

.price-features li:last-child {
    border-bottom: none;
}

.price-features li i {
    color: var(--success-color);
    margin-right: 10px;
}

.price-features li.note {
    color: var(--text-light);
    font-size: 0.85rem;
}

.price-features li.note i {
    color: var(--warning-color);
}

.price-notice {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: var(--white);
    padding: 20px 30px;
    border-radius: 12px;
    margin-top: 40px;
    border: 1px solid var(--border-color);
}

.price-notice i {
    color: var(--warning-color);
    font-size: 1.2rem;
    margin-top: 3px;
}

.price-notice p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ===============================================
   Reviews Section
   =============================================== */
.review-card {
    background: var(--white);
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid var(--border-color);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1.2rem;
}

.reviewer-info {
    flex: 1;
}

.reviewer-info h5 {
    margin: 0;
    font-size: 1rem;
    color: var(--text-dark);
}

.review-date {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.review-rating {
    color: var(--warning-color);
}

.review-rating i.empty {
    color: var(--gray-300);
}

.review-content h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.review-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

/* ===============================================
   CTA Section
   =============================================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    padding: 80px 0;
}

.cta-content {
    text-align: center;
    color: var(--white);
}

.cta-content h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===============================================
   Contact Section
   =============================================== */
.contact-section {
    background: var(--bg-light);
}

.contact-form-wrapper {
    background: var(--white);
    border-radius: 20px;
    padding: 50px;
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.form-label i {
    color: var(--primary-color);
}

.form-label .required {
    color: var(--danger-color);
}

.form-control,
.form-select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--white);
}

.form-control:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(30, 58, 138, 0.1);
}

/* ===============================================
   Footer
   =============================================== */
.footer {
    background: var(--bg-dark);
    color: var(--gray-400);
    padding: 60px 0 30px;
}

.footer-brand h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-brand h3 i {
    color: var(--primary-light);
}

.footer-brand p {
    line-height: 1.8;
}

.footer-contact h4,
.footer-links h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.footer-contact p {
    margin-bottom: 10px;
}

.footer-contact p i {
    width: 20px;
    color: var(--primary-light);
    margin-right: 10px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--gray-400);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid var(--gray-700);
    margin-top: 40px;
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
}

/* ===============================================
   CTA Floating Buttons
   =============================================== */
.cta-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    text-decoration: none;
}

.cta-btn.apply {
    background: var(--primary-color);
    color: var(--white);
}

.cta-btn.kakao {
    background: #FEE500;
    color: #000000;
}

.cta-btn.tel {
    background: var(--gray-900);
    color: var(--white);
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* ===============================================
   Back to Top Button
   =============================================== */
.btn-top {
    position: fixed;
    bottom: 200px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 998;
    box-shadow: var(--shadow-lg);
}

.btn-top.show {
    opacity: 1;
    visibility: visible;
}

.btn-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* ===============================================
   Breadcrumb
   =============================================== */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    list-style: none;
}

.breadcrumb-item {
    font-size: 0.9rem;
    color: var(--text-light);
}

.breadcrumb-item a {
    color: var(--text-light);
}

.breadcrumb-item a:hover {
    color: var(--primary-color);
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "/";
    padding: 0 10px;
    color: var(--gray-400);
}

.breadcrumb-item.active {
    color: var(--primary-color);
}

/* ===============================================
   Page Header (Sub Pages)
   =============================================== */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    padding: 120px 0 60px;
    color: var(--white);
}

.page-header h1 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.page-content {
    padding: 60px 0;
}

/* ===============================================
   Animations
   =============================================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.animate-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===============================================
   Responsive Styles
   =============================================== */
@media (max-width: 1200px) {
    .hero-content h1 {
        font-size: 3rem;
    }
}

@media (max-width: 992px) {
    .navbar-collapse {
        background: var(--white);
        padding: 20px;
        border-radius: 10px;
        box-shadow: var(--shadow-lg);
        margin-top: 15px;
    }

    .navbar-nav .nav-link {
        padding: 12px 0 !important;
        border-bottom: 1px solid var(--border-color);
    }

    .navbar-nav .nav-cta {
        margin: 15px 0 0 0;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-stats {
        gap: 30px;
    }

    .section {
        padding: 70px 0;
    }

    .section-title h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding: 100px 0 60px;
    }

    .hero-content {
        padding: 60px 0;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }

    .stat-item {
        flex: 1 1 30%;
    }

    .section {
        padding: 50px 0;
    }

    .section-title h2 {
        font-size: 1.75rem;
    }

    .contact-form-wrapper {
        padding: 30px 20px;
    }

    .footer .row {
        text-align: center;
    }

    .footer-brand,
    .footer-contact,
    .footer-links {
        margin-bottom: 30px;
    }

    .cta-buttons {
        bottom: 20px;
        right: 20px;
    }

    .cta-btn {
        padding: 10px 18px;
        font-size: 0.85rem;
    }

    .btn-top {
        bottom: 170px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 1.75rem;
    }

    .section-title h2 {
        font-size: 1.5rem;
    }

    .price-card {
        margin-bottom: 20px;
    }

    .cta-content h2 {
        font-size: 1.75rem;
    }
}

/* ===============================================
   BOARD PAGE STYLES (연수후기)
   =============================================== */

/* Glass Card */
.glass-card {
    background: var(--white);
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

/* Search Box */
.search-box {
    margin-bottom: 30px;
}

.search-form {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
}

.search-select {
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 0.95rem;
    background: var(--white);
    color: var(--text-dark);
    min-width: 120px;
    transition: all 0.3s ease;
}

.search-select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.search-input {
    flex: 1;
    min-width: 200px;
    padding: 12px 18px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(30, 58, 138, 0.1);
}

/* Board Table */
.board-list {
    overflow-x: auto;
}

.board-table {
    width: 100%;
    border-collapse: collapse;
}

.board-table th {
    background: var(--bg-light);
    padding: 15px;
    font-weight: 600;
    color: var(--text-dark);
    border-bottom: 2px solid var(--border-color);
    text-align: center;
    font-size: 0.9rem;
}

.board-table td {
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-dark);
    font-size: 0.95rem;
}

.board-table tbody tr:hover {
    background: var(--bg-light);
}

.col-no { width: 80px; }
.col-title { width: auto; }
.col-author { width: 100px; }
.col-date { width: 110px; }
.col-views { width: 80px; }

.post-title {
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

.post-title:hover {
    color: var(--primary-color);
}

.post-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 5px;
}

/* Board Badges */
.badge-notice {
    background: var(--primary-color);
    color: var(--white);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-new {
    background: var(--danger-color);
    color: var(--white);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-left: 8px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 30px 0;
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-dark);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.page-link:hover {
    background: var(--bg-light);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.page-link.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

/* Text Utilities */
.text-center { text-align: center; }
.text-right { text-align: right; }

.hide-mobile {
    display: table-cell;
}

.d-md-none {
    display: none;
}

@media (max-width: 768px) {
    .hide-mobile {
        display: none;
    }

    .d-md-none {
        display: block;
    }

    .search-form {
        flex-direction: column;
    }

    .search-select,
    .search-input {
        width: 100%;
    }
}

/* ===============================================
   CLASS PAGE STYLES (수업안내)
   =============================================== */

/* Class Grid */
.class-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

/* Day Header */
.day-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
}

.day-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
}

.day-info h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.day-info span {
    font-size: 0.85rem;
    color: var(--text-light);
}

.feature-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.feature-description {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* Express Grid */
.express-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.express-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

@media (max-width: 768px) {
    .express-grid {
        grid-template-columns: 1fr;
    }
}

/* Notice Card */
.notice-card {
    background: var(--bg-light);
    border-left: 4px solid var(--primary-color);
}

.notice-card h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.notice-card h3 i {
    color: var(--primary-color);
    margin-right: 10px;
}

.notice-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.notice-card li {
    padding: 8px 0;
    color: var(--text-light);
    font-size: 0.95rem;
}

.notice-card li::before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 10px;
}

/* Section Alt Background */
.section-alt {
    background: var(--bg-light);
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-description {
    color: var(--text-light);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ===============================================
   RECOMMEND PAGE STYLES (면허취득가이드)
   =============================================== */

/* Tab Navigation */
.tab-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
}

.tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.tab-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.tab-btn i {
    font-size: 1rem;
}

@media (max-width: 576px) {
    .tab-nav {
        flex-direction: column;
        gap: 10px;
    }

    .tab-btn {
        justify-content: center;
    }
}

/* Process Timeline */
.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.process-item {
    display: flex;
    gap: 25px;
    margin-bottom: 30px;
    position: relative;
}

.process-item:last-child {
    margin-bottom: 0;
}

.process-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    flex-shrink: 0;
}

.process-content {
    flex: 1;
    background: var(--white);
    padding: 25px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.process-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.process-content p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Recommend Grid */
.recommend-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

/* Icon Variants */
.icon-premium {
    background: linear-gradient(135deg, #fbbf24, #f59e0b) !important;
}

.icon-budget {
    background: linear-gradient(135deg, #34d399, #10b981) !important;
}

.icon-flex {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color)) !important;
}

/* Recommend Stars */
.recommend-stars {
    margin-top: 15px;
}

.recommend-stars i {
    color: var(--warning-color);
    font-size: 0.9rem;
}

.recommend-stars i.far {
    color: var(--gray-300);
}

/* Why Choose Card */
.why-choose {
    background: var(--bg-light);
    margin-top: 50px;
}

.why-choose h3 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: var(--text-dark);
}

.why-choose h3 i {
    color: var(--warning-color);
    margin-right: 10px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.why-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.why-item i {
    color: var(--success-color);
    font-size: 1.2rem;
    margin-top: 3px;
}

.why-item h5 {
    margin: 0 0 5px 0;
    font-size: 1rem;
    color: var(--text-dark);
}

.why-item p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ===============================================
   ROAD PAGE STYLES (도로연수)
   =============================================== */

/* Program Card */
.program-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

/* Program Header */
.program-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
}

.program-header h2 {
    margin: 0 0 5px 0;
    font-size: 1.5rem;
    color: var(--white);
}

.program-header p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.95rem;
}

/* Price Badges */
.price-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.price-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--white);
}

.price-badge.green {
    background: var(--success-color);
}

.price-badge.blue {
    background: var(--primary-light);
}

/* Schedule Table */
.schedule-table {
    padding: 30px;
}

.schedule-row {
    display: flex;
    gap: 25px;
    padding: 25px 0;
    border-bottom: 1px solid var(--border-color);
}

.schedule-row:last-child {
    border-bottom: none;
}

.day-label {
    width: 80px;
    height: 80px;
    background: var(--bg-light);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--primary-color);
    flex-shrink: 0;
}

.day-content {
    flex: 1;
}

.day-content h4 {
    margin: 0 0 10px 0;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.day-content h4 i {
    color: var(--primary-color);
    margin-right: 10px;
}

.day-content p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Program Note */
.program-note {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px 30px;
    background: var(--bg-light);
    color: var(--text-light);
    font-size: 0.9rem;
}

.program-note i {
    color: var(--primary-color);
}

/* Weekend Grid */
.weekend-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.icon-weekend {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed) !important;
}

.icon-express {
    background: linear-gradient(135deg, #f97316, #ea580c) !important;
}

.program-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 15px;
}

@media (max-width: 768px) {
    .weekend-grid {
        grid-template-columns: 1fr;
    }

    .program-header {
        flex-direction: column;
        text-align: center;
    }

    .schedule-row {
        flex-direction: column;
        gap: 15px;
    }

    .day-label {
        width: 100%;
        height: 50px;
    }
}

/* Area Grid */
.area-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.area-emoji {
    font-size: 3rem;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .area-grid {
        grid-template-columns: 1fr;
    }
}

/* Button Large */
.btn-lg {
    padding: 16px 40px;
    font-size: 1.1rem;
}
