/* 기본 스타일 리셋 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 기본 폰트 및 색상 변수 */
:root {
    --primary-blue: #4A90E2;
    --primary-blue-dark: #357ABD;
    --primary-blue-light: #6BA3F0;
    --warm-orange: #FF8C42;
    --warm-orange-dark: #E67A3C;
    --soft-green: #7FCD91;
    --soft-green-dark: #6BB578;
    --dark-navy: #2C3E50;
    --light-gray: #F5F7FA;
    --light-gray-dark: #E8EDF5;
    --white: #FFFFFF;
    --text-gray: #666666;
    --text-light: #8A9BA8;
    --border-gray: #E1E4E8;
    --shadow-light: rgba(0, 0, 0, 0.08);
    --shadow-medium: rgba(0, 0, 0, 0.12);
    --shadow-strong: rgba(0, 0, 0, 0.16);
    --gradient-primary: linear-gradient(135deg, var(--primary-blue), var(--soft-green));
    --gradient-warm: linear-gradient(135deg, var(--warm-orange), var(--primary-blue));
    --gradient-soft: linear-gradient(135deg, #667eea, #764ba2);
    --gradient-overlay: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.1));
    
    /* 페이지별 그라디언트 - 연결되는 색상 흐름 */
    --gradient-about: linear-gradient(135deg, #8B5CF6, #6366F1);      /* 센터소개: 보라 → 보라-파랑 */
    --gradient-programs: linear-gradient(135deg, #6366F1, #3B82F6);   /* 프로그램: 보라-파랑 → 파랑 */
    --gradient-participate: linear-gradient(135deg, #3B82F6, #10B981); /* 체험활동: 파랑 → 녹색 */
    --gradient-news: linear-gradient(135deg, #10B981, #34D399);       /* 소식마당: 녹색 → 밝은녹색 */
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    color: var(--dark-navy);
    background: var(--white);
}

/* 페이지별 헤더 스타일 */
.page-header {
    background: var(--gradient-primary);
    color: var(--white);
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.page-header h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
}

.breadcrumb {
    font-size: 16px;
    opacity: 0.9;
}

.breadcrumb a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.breadcrumb a:hover {
    opacity: 1;
}

/* 프로그램 페이지 헤더 */
.page-header.programs {
    background: var(--gradient-programs);
}

/* 체험활동 페이지 헤더 */
.page-header.participate {
    background: var(--gradient-participate);
}

/* 소식마당 페이지 헤더 */
.page-header.news {
    background: var(--gradient-news);
}

/* 센터소개 페이지 헤더 */
.page-header.about {
    background: var(--gradient-about);
}

/* Enhanced Styles are integrated below */

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

/* 헤더 스타일 */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-blue);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.8;
}

.logo img {
    height: 40px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu > li {
    position: relative;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark-navy);
    font-weight: 500;
    transition: color 0.3s;
    padding: 10px 5px;
}

.nav-menu a:hover {
    color: var(--primary-blue);
}

/* 드롭다운 메뉴 */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 10px 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    list-style: none;
    z-index: 1000;
}

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

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    font-weight: 400;
}

.dropdown-menu a:hover {
    background: var(--light-gray);
}

/* 중첩 드롭다운 메뉴 스타일 */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > a::after {
    content: "›";
    float: right;
    margin-left: 10px;
}

.dropdown-menu-sub {
    position: absolute;
    top: 0;
    left: 100%;
    background: var(--white);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 10px 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: all 0.3s;
    list-style: none;
    margin-left: 5px;
    z-index: 1001;
}

.dropdown-submenu:hover > .dropdown-menu-sub {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.dropdown-menu-sub li {
    padding: 0;
}

.dropdown-menu-sub a {
    display: block;
    padding: 10px 20px;
    font-weight: 400;
    color: var(--dark-navy);
    text-decoration: none;
}

.dropdown-menu-sub a:hover {
    background: var(--light-gray);
    color: var(--primary-blue);
}

.mobile-menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* 히어로 섹션 */
.hero {
    position: relative;
    height: 600px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-blue), var(--soft-green));
}

.hero-slider {
    height: 100%;
    position: relative;
}

.hero-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 이미지 위 어두운 오버레이 */
.hero-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.05) 0%,
        rgba(0, 0, 0, 0.15) 50%,
        rgba(0, 0, 0, 0.1) 100%
    );
    z-index: 1;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--white);
    z-index: 2;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7), 0 0 20px rgba(0,0,0,0.5);
    animation: fadeInUp 1s;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 30px;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.7), 0 0 15px rgba(0,0,0,0.4);
    animation: fadeInUp 1s 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeInUp 1s 0.4s both;
}

.hero-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.indicator.active {
    background: var(--white);
}

/* 버튼 스타일 */
.btn {
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
    border: none;
    cursor: pointer;
}

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

.btn-primary:hover {
    background: #357ABD;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74,144,226,0.3);
}

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

.btn-secondary:hover {
    background: #E67A3C;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,140,66,0.3);
}

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

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

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

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

/* 섹션 스타일 */
.section {
    padding: 80px 0;
}

.bg-light {
    background: var(--light-gray);
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 15px;
    color: var(--dark-navy);
}

.section-subtitle {
    text-align: center;
    color: var(--text-gray);
    font-size: 18px;
    margin-bottom: 50px;
}

/* 프로그램 섹션 */
.programs-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.program-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.program-card {
    background: var(--white);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.program-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-blue), var(--soft-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--white);
}

.program-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--dark-navy);
}

.program-card p {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 20px;
}

.btn-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s;
}

.btn-link:hover {
    gap: 10px;
}

/* 소개 섹션 */
.about-section {
    padding: 80px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    text-align: left;
    margin-bottom: 30px;
}

.lead {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 30px;
    line-height: 1.8;
}

.about-features {
    list-style: none;
    margin-bottom: 30px;
}

.about-features li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-features i {
    color: var(--soft-green);
    font-size: 20px;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* 뉴스 섹션 */
.news-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.news-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.news-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-blue);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.news-content {
    padding: 25px;
}

.news-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--dark-navy);
}

.news-content p {
    color: var(--text-gray);
    margin-bottom: 15px;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-gray);
    font-size: 14px;
}

.read-more {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
}

/* CTA 섹션 */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-blue), var(--soft-green));
    text-align: center;
    color: var(--white);
}

.cta-content h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* 파트너 섹션 */
.partners-section {
    padding: 60px 0;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 40px;
    align-items: center;
}

.partner-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
    opacity: 0.7;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--dark-navy);
    padding: 20px;
    border-radius: 10px;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.partner-logo:hover {
    opacity: 1;
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.partner-logo img {
    max-width: 120px;
    height: 80px;
    object-fit: contain;
    transition: transform 0.3s;
}

.partner-logo:hover img {
    transform: scale(1.05);
}

.partner-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--dark-navy);
    margin-top: 5px;
}

/* 푸터 */
.footer {
    background: var(--dark-navy);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer h3, .footer h4 {
    margin-bottom: 20px;
}

.footer p, .footer li {
    color: rgba(255,255,255,0.8);
    margin-bottom: 10px;
}

.footer ul {
    list-style: none;
}

.footer a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s;
}

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

.social-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-links a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    transition: all 0.3s;
    text-decoration: none;
    color: rgba(255,255,255,0.9);
    font-size: 14px;
}

.social-links a i {
    font-size: 20px;
    width: 24px;
    text-align: center;
}

.social-links a:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateX(5px);
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background: rgba(255,255,255,0.1);
    color: var(--white);
}

.newsletter-form input::placeholder {
    color: rgba(255,255,255,0.5);
}

.newsletter-form button {
    padding: 10px 20px;
}

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

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

/* 애니메이션 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 반응형 디자인 */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .program-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-content {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero {
        height: 450px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .program-cards {
        grid-template-columns: 1fr;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .programs-section,
    .news-section {
        padding: 60px 0;
    }
    
    /* 페이지 헤더 반응형 */
    .page-header {
        padding: 80px 0 40px;
    }
    
    .page-header h1 {
        font-size: 32px;
    }
    
    /* 프로그램 상세 카드 반응형 */
    .program-detail-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .program-image {
        height: 200px;
    }
    
    /* 일정표 반응형 */
    .schedule-table {
        overflow-x: auto;
    }
    
    .schedule-table table {
        min-width: 600px;
    }
    
    /* 신청 단계 반응형 */
    .application-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    /* 특별 프로그램 반응형 */
    .special-program-item {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    /* 후원 카드 반응형 */
    .donation-cards {
        grid-template-columns: 1fr;
    }
    
    /* 뉴스레터 폼 반응형 */
    .newsletter-form {
        flex-direction: column;
        gap: 10px;
    }
    
    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .section-title {
        font-size: 24px;
        margin-bottom: 10px;
    }
    
    .section-subtitle {
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    .hero {
        height: 400px;
    }
    
    .hero-title {
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    .hero-subtitle {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .program-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .program-card {
        padding: 20px;
    }
    
    .program-card h3 {
        font-size: 18px;
    }
    
    .news-card {
        margin-bottom: 20px;
    }
    
    .cta-content h2 {
        font-size: 28px;
    }
    
    .cta-content p {
        font-size: 16px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .social-links {
        align-items: center;
    }

    .social-links a {
        width: 100%;
        max-width: 200px;
        justify-content: center;
    }
    
    /* 페이지 헤더 */
    .page-header {
        padding: 60px 0 30px;
    }
    
    .page-header h1 {
        font-size: 24px;
    }
    
    /* 통계 아이템 */
    .overview-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .stat-number {
        font-size: 32px;
    }
    
    /* 프로그램 내용 */
    .program-content {
        padding: 20px;
    }
    
    .program-content h3 {
        font-size: 18px;
    }
    
    /* 직업 프로그램 */
    .job-program-grid {
        grid-template-columns: 1fr;
    }
    
    .job-program-card {
        padding: 20px;
    }
    
    /* 스케줄 테이블 */
    .schedule-table table {
        font-size: 12px;
    }
    
    .schedule-table th,
    .schedule-table td {
        padding: 8px 4px;
    }
    
    /* 신청 단계 */
    .application-step {
        padding: 20px;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    /* 후원 방법 */
    .donation-method {
        padding: 20px;
    }
    
    .donation-amount {
        font-size: 20px;
    }
    
    /* 뉴스 상세 */
    .featured-content {
        padding: 20px;
    }
    
    .featured-content h2 {
        font-size: 20px;
    }
}

/* Enhanced Styles - Previously in enhanced-styles.css */

/* 페이지 헤더 스타일 */
.page-header {
    background: var(--gradient-primary);
    padding: 100px 0 60px;
    position: relative;
    overflow: hidden;
    text-align: center;
    color: var(--white);
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="10" cy="10" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="30" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="70" r="1.5" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.page-header h1 {
    color: var(--white);
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    position: relative;
    z-index: 2;
}

.breadcrumb {
    color: rgba(255,255,255,0.8);
    font-size: 16px;
    position: relative;
    z-index: 2;
}

.breadcrumb a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    transition: color 0.3s;
}

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

/* 프로그램 상세 스타일 */
.program-overview {
    text-align: center;
    margin-bottom: 60px;
}

.overview-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 50px;
}

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

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.stat-label {
    color: var(--text-gray);
    font-size: 16px;
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 40px;
}

.program-detail-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px var(--shadow-light);
    transition: all 0.4s ease;
    display: grid;
    grid-template-columns: 300px 1fr;
}

.program-detail-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px var(--shadow-medium);
}

.program-image {
    height: 250px;
    position: relative;
    overflow: hidden;
}

.program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.program-detail-card:hover .program-image img {
    transform: scale(1.1);
}

.program-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-blue);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.program-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.program-content h3 {
    font-size: 24px;
    color: var(--dark-navy);
    margin-bottom: 15px;
    font-weight: 700;
}

.program-content p {
    color: var(--text-gray);
    margin-bottom: 20px;
    line-height: 1.6;
}

.program-features {
    list-style: none;
    margin-bottom: 25px;
}

.program-features li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-gray);
}

.program-features i {
    color: var(--soft-green);
}

.program-info {
    display: flex;
    gap: 20px;
    color: var(--text-light);
    font-size: 14px;
}

.program-info span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* 직업훈련 프로그램 */
.job-program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.job-program-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px var(--shadow-light);
    transition: all 0.3s ease;
}

.job-program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px var(--shadow-medium);
}

.job-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 32px;
    color: var(--white);
}

.job-program-card h3 {
    font-size: 22px;
    color: var(--dark-navy);
    margin-bottom: 15px;
    font-weight: 700;
}

.job-program-card > p {
    color: var(--text-gray);
    margin-bottom: 25px;
    line-height: 1.6;
}

.job-details {
    text-align: left;
}

.detail-item {
    margin-bottom: 12px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-gray);
    font-size: 14px;
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-item strong {
    color: var(--dark-navy);
    font-weight: 600;
}

/* 특별 프로그램 */
.special-programs {
    display: grid;
    gap: 40px;
}

.special-program-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px var(--shadow-light);
}

.special-program-item:nth-child(even) {
    direction: rtl;
}

.special-program-item:nth-child(even) .special-content {
    direction: ltr;
}

.special-image {
    height: 250px;
    border-radius: 15px;
    overflow: hidden;
}

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

.special-content h3 {
    font-size: 24px;
    color: var(--dark-navy);
    margin-bottom: 15px;
    font-weight: 700;
}

.special-content p {
    color: var(--text-gray);
    margin-bottom: 20px;
    line-height: 1.7;
}

.special-content ul {
    list-style: none;
}

.special-content li {
    padding: 8px 0;
    color: var(--text-gray);
    position: relative;
    padding-left: 20px;
}

.special-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--soft-green);
    font-weight: bold;
}

/* 스케줄 테이블 */
.schedule-container {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px var(--shadow-light);
}

.schedule-table {
    margin-bottom: 30px;
}

.schedule-table table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow-light);
}

.schedule-table th {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 15px;
    text-align: center;
    font-weight: 600;
}

.schedule-table td {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid var(--border-gray);
    transition: background 0.3s;
}

.schedule-table tr:hover td {
    background: var(--light-gray);
}

.time-slot {
    background: var(--light-gray) !important;
    font-weight: 600;
    color: var(--dark-navy);
}

.program-art { background: rgba(74, 144, 226, 0.1); color: var(--primary-blue); }
.program-music { background: rgba(127, 205, 145, 0.1); color: var(--soft-green); }
.program-sports { background: rgba(255, 140, 66, 0.1); color: var(--warm-orange); }
.program-cooking { background: rgba(155, 89, 182, 0.1); color: #9B59B6; }
.program-computer { background: rgba(52, 152, 219, 0.1); color: #3498DB; }
.program-job { background: rgba(230, 126, 34, 0.1); color: #E67E22; }
.program-life { background: rgba(26, 188, 156, 0.1); color: #1ABC9C; }
.program-special { background: rgba(241, 196, 15, 0.1); color: #F1C40F; }
.program-review { background: rgba(155, 89, 182, 0.1); color: #9B59B6; }

.schedule-legend {
    margin-top: 30px;
}

.schedule-legend h4 {
    margin-bottom: 20px;
    color: var(--dark-navy);
}

.legend-items {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.legend-item {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* 신청 안내 */
.application-info {
    text-align: center;
}

.application-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.application-step {
    background: var(--white);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px var(--shadow-light);
    transition: all 0.3s ease;
    position: relative;
}

.application-step:hover {
    transform: translateY(-10px);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.application-step h3 {
    font-size: 20px;
    color: var(--dark-navy);
    margin-bottom: 15px;
    font-weight: 700;
}

.application-step p {
    color: var(--text-gray);
    margin-bottom: 20px;
    line-height: 1.6;
}

.step-contact {
    color: var(--primary-blue);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.application-cta {
    background: var(--light-gray);
    border-radius: 20px;
    padding: 50px;
}

.application-cta h3 {
    font-size: 28px;
    color: var(--dark-navy);
    margin-bottom: 15px;
}

.application-cta p {
    color: var(--text-gray);
    margin-bottom: 30px;
    font-size: 18px;
}

/* 후원 페이지 스타일 */
.donation-hero {
    background: var(--gradient-warm);
    padding: 120px 0 80px;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.donation-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M0,0 Q50,25 100,0 L100,100 L0,100 Z" fill="rgba(255,255,255,0.1)"/></svg>');
}

.donation-hero-content {
    position: relative;
    z-index: 2;
}

.donation-hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.donation-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 50px;
}

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

.donation-stat .number {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
}

.donation-stat .label {
    font-size: 16px;
    opacity: 0.9;
}

.donation-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.donation-method {
    background: var(--white);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px var(--shadow-light);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.donation-method:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px var(--shadow-medium);
}

.donation-method::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.donation-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 32px;
    color: var(--white);
}

.donation-method h3 {
    font-size: 22px;
    color: var(--dark-navy);
    margin-bottom: 15px;
    font-weight: 700;
}

.donation-amount {
    font-size: 28px;
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 15px;
}

.donation-method p {
    color: var(--text-gray);
    margin-bottom: 25px;
    line-height: 1.6;
}

.donation-info {
    background: var(--light-gray);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
    text-align: left;
}

.donation-info p {
    margin-bottom: 8px;
    font-size: 14px;
}

.donation-info strong {
    color: var(--dark-navy);
}

/* 자원봉사 스타일 */
.volunteer-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.volunteer-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow-light);
    transition: all 0.3s ease;
}

.volunteer-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px var(--shadow-medium);
}

.volunteer-image {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.volunteer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.volunteer-card:hover .volunteer-image img {
    transform: scale(1.1);
}

.volunteer-content {
    padding: 30px;
}

.volunteer-content h3 {
    font-size: 22px;
    color: var(--dark-navy);
    margin-bottom: 15px;
    font-weight: 700;
}

.volunteer-content p {
    color: var(--text-gray);
    margin-bottom: 20px;
    line-height: 1.6;
}

.volunteer-requirements {
    list-style: none;
    margin-bottom: 25px;
}

.volunteer-requirements li {
    padding: 6px 0;
    color: var(--text-gray);
    position: relative;
    padding-left: 20px;
    font-size: 14px;
}

.volunteer-requirements li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: bold;
}

/* 체험 프로그램 스타일 */
.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.experience-card {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px var(--shadow-light);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.experience-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px var(--shadow-medium);
}

.experience-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.experience-card.highlight::before {
    background: var(--gradient-warm);
}

.experience-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 32px;
    color: var(--white);
}

.experience-card.highlight .experience-icon {
    background: var(--gradient-warm);
}

.experience-card h3 {
    font-size: 20px;
    color: var(--dark-navy);
    margin-bottom: 20px;
    font-weight: 700;
}

.experience-details {
    text-align: left;
    margin-bottom: 25px;
}

.experience-details p {
    margin-bottom: 10px;
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.5;
}

.experience-details strong {
    color: var(--dark-navy);
    font-weight: 600;
}

.experience-reservation {
    text-align: center;
}

.experience-reservation .btn {
    width: 100%;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
}

/* ========================================
   프로그램 페이지 - 새로운 섹션 스타일
   ======================================== */

/* 프로그램 개요 - 아이콘 추가 */
.stat-icon {
    font-size: 36px;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

/* 4열 프로그램 그리드 */
.program-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 40px;
}

@media (max-width: 1024px) {
    .program-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .program-grid-4 {
        grid-template-columns: 1fr;
    }
}

/* 심플 프로그램 카드 */
.program-card-simple {
    background: var(--white);
    border-radius: 16px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 5px 20px var(--shadow-light);
    transition: all 0.3s ease;
    border: 1px solid var(--border-gray);
}

.program-card-simple:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px var(--shadow-medium);
    border-color: var(--primary-blue-light);
}

.program-card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue-light), var(--primary-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: var(--white);
    transition: all 0.3s ease;
}

.program-card-simple:hover .program-card-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, var(--soft-green), var(--primary-blue));
}

.program-card-simple h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-navy);
    margin-bottom: 12px;
    line-height: 1.4;
}

.program-card-simple p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
}

/* 체험 프로그램 그리드 (3열) */
.experience-program-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

@media (max-width: 900px) {
    .experience-program-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .experience-program-grid {
        grid-template-columns: 1fr;
    }
}

.experience-program-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 8px 30px var(--shadow-light);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.experience-program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.experience-program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px var(--shadow-medium);
}

.experience-program-icon {
    width: 90px;
    height: 90px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 36px;
    color: var(--white);
}

.experience-program-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark-navy);
    margin-bottom: 15px;
}

.experience-program-card p {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.7;
}

/* 체험카페 운영 섹션 */
.cafe-section {
    margin-top: 40px;
}

.cafe-info-box {
    background: var(--white);
    border-radius: 24px;
    padding: 50px;
    display: flex;
    align-items: center;
    gap: 50px;
    box-shadow: 0 10px 40px var(--shadow-light);
    border: 2px solid transparent;
    background-image: linear-gradient(white, white), var(--gradient-primary);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

@media (max-width: 768px) {
    .cafe-info-box {
        flex-direction: column;
        text-align: center;
        padding: 40px 30px;
        gap: 30px;
    }
}

.cafe-icon {
    width: 120px;
    height: 120px;
    min-width: 120px;
    background: var(--gradient-warm);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: var(--white);
}

.cafe-description h3 {
    font-size: 26px;
    font-weight: 700;
    color: var(--dark-navy);
    margin-bottom: 15px;
}

.cafe-description p {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

.cafe-features {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

@media (max-width: 768px) {
    .cafe-features {
        justify-content: center;
    }
}

.cafe-features span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--light-gray);
    padding: 10px 18px;
    border-radius: 25px;
    font-size: 14px;
    color: var(--dark-navy);
    font-weight: 500;
}

.cafe-features span i {
    color: var(--soft-green);
}

/* 프로그램 섹션 배경 이미지 */
.program-section-bg {
    position: relative;
    overflow: hidden;
}

.program-section-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    filter: blur(8px);
    transform: scale(1.1);
    opacity: 0.3;
    z-index: 0;
}

.program-section-bg > .container {
    position: relative;
    z-index: 1;
}

/* 일상생활 프로그램 배경 */
#daily.program-section-bg::before {
    background-image: url('images/programs/daily_bg.png');
}

/* 자립생활 지원 프로그램 배경 */
#independent.program-section-bg::before {
    background-image: url('images/programs/independent_bg.png');
}

/* 직업 체험 및 준비 훈련 배경 */
#job-training.program-section-bg::before {
    background-image: url('images/programs/job_training_bg.png');
}

/* 체험 프로그램 배경 */
#experience.program-section-bg::before {
    background-image: url('images/programs/experience_bg.png');
}

/* 체험카페 운영 배경 */
#cafe.program-section-bg::before {
    background-image: url('images/programs/cafe_bg.png');
}

/* 5열 프로그램 그리드 */
.program-grid-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 40px;
}

@media (max-width: 1200px) {
    .program-grid-5 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .program-grid-5 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .program-grid-5 {
        grid-template-columns: 1fr;
    }
}