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

/* 기본 폰트 및 색상 */
:root {
    --primary-color: #111827;
    --secondary-color: #3b82f6;
    --accent-color: #1d4ed8;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-dark: #111827;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    /* 병원에 적합한 배경색 */
    --bg-soft-blue: #eff6ff;
    --bg-soft-purple: #f3e8ff;
    --bg-soft-pink: #fdf2f8;
    --bg-soft-mint: #ecfdf5;
    --bg-glass: rgba(255, 255, 255, 0.1);
    --bg-glass-dark: rgba(0, 0, 0, 0.1);
}

/* 텍스트 선택 방지 */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    overflow-x: hidden;
}


/* 이미지 스타일 */
img {
    max-width: 100%;
    height: auto;
}



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

/* 네비게이션 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-logo i {
    font-size: 2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}


/* 히어로 섹션 */
.hero {
    position: relative;
    height: 60vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    margin-top: 70px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 10;
    max-width: 800px;
    padding: 0 2rem;
    position: relative;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.gradient-text {
    background: var(--accent-color);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.hero-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.hero-group .hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* 그룹 애니메이션 효과 */
.hero-group.animate {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.hero-group.animate .hero-subtitle {
    animation: fadeInUp 0.6s ease 0.2s forwards;
    opacity: 0;
}

.hero-group.animate .hero-actions {
    animation: fadeInUp 0.6s ease 0.4s forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-secondary {
    background: rgba(30, 64, 175, 0.1);
    color: var(--primary-color);
    border: 2px solid rgba(30, 64, 175, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(30, 64, 175, 0.2);
    transform: translateY(-2px);
}


.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border: 2px solid var(--primary-color);
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* 섹션 공통 스타일 */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1e3a8a;
    background: none;
}

.section-header p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* 학원소개 섹션 특별 스타일 */
.about .section-header h2 {
    color: white;
    -webkit-text-fill-color: white;
    background: none;
}

.about .section-header p {
    color: rgba(255, 255, 255, 0.9);
}

/* 소개 섹션 */
.about {
    padding: 6rem 0;
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.about::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"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

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

.about-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
    z-index: 1;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-soft-mint);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary-color);
    font-size: 2rem;
    box-shadow: 0 8px 25px rgba(30, 121, 136, 0.3);
}

.about-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.about-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 서비스 섹션 */
.services {
    padding: 6rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

/* 교육과정 카드 세련되게 */
.service-card {
    background: linear-gradient(135deg, #ffffff 0%, var(--bg-soft-blue) 100%);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(30,58,138,0.08), 0 1.5px 6px rgba(30,58,138,0.06);
    transition: transform 0.25s cubic-bezier(.4,2,.6,1), box-shadow 0.25s;
    border: none;
    position: relative;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

/* 진료과목 아이콘 스타일 */
.service-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 120px;
    margin: 1.5rem 1.5rem 0 1.5rem;
    background: linear-gradient(135deg, var(--bg-soft-blue) 0%, var(--bg-soft-purple) 100%);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.05);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.service-card:hover .service-icon i {
    color: white !important;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-color);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 12px 32px rgba(30,58,138,0.13), 0 2px 8px rgba(30,58,138,0.09);
    border-color: rgba(102, 126, 234, 0.3);
}
.service-image {
    background: none !important;
}
.service-content {
    padding: 2rem 1.5rem 1.5rem 1.5rem;
}
.service-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 0.7rem;
}
.service-content p {
    color: #334155;
    margin-bottom: 0.5rem;
    line-height: 1.6;
    font-size: 1.05rem;
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.service-link:hover {
    gap: 1rem;
}

/* 수업 과정 특징 리스트 스타일 */
.course-features {
    list-style: none;
    margin: 1rem 0;
    padding: 0;
}

.course-features li {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    padding-left: 0;
}

.course-features li:before {
    content: "•";
    color: var(--accent-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* 강사진 섹션 */
.teachers {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.teachers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.teacher-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.teacher-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.teacher-photo {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.teacher-card:hover .teacher-photo {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}





.teacher-info h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.teacher-role {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.teacher-desc {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.9rem;
}

/* 포트폴리오 섹션 */
.portfolio {
    padding: 6rem 0;
    background: var(--bg-dark);
    position: relative;
}

.portfolio::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"><defs><pattern id="grid" width="30" height="30" patternUnits="userSpaceOnUse"><path d="M30 0 L0 0 0 30" stroke="rgba(255,255,255,0.1)" fill="none" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

/* 갤러리(포트폴리오) 세련되게 */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}
.portfolio-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(30,58,138,0.10);
    transition: transform 0.25s cubic-bezier(.4,2,.6,1), box-shadow 0.25s;
    background: #fff;
}
.portfolio-item:hover {
    transform: scale(1.04) translateY(-6px);
    box-shadow: 0 12px 32px rgba(30,58,138,0.13), 0 2px 8px rgba(30,58,138,0.09);
    z-index: 2;
}
.portfolio-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: none;
    display: block;
    transition: filter 0.3s, opacity 0.3s;
}
.portfolio-item:hover .portfolio-image {
    filter: brightness(1.08) saturate(1.1);
    opacity: 0.95;
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

.portfolio-overlay h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.portfolio-overlay p {
    opacity: 0.9;
}

/* 연락처 섹션 */
.contact {
    padding: 6rem 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(79, 172, 254, 0.3);
}

.contact-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.contact-item p {
    color: var(--text-secondary);
}

/* 카카오톡 상담 링크 스타일 */
.kakao-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    color: #3C1E1E !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    padding: 0.5rem 1rem !important;
    background: #FEE500 !important;
    border-radius: 25px !important;
    transition: all 0.3s ease !important;
    font-size: 0.9rem !important;
    border: none !important;
    outline: none !important;
    box-shadow: 0 2px 8px rgba(254, 229, 0, 0.3) !important;
}

.kakao-link:hover {
    background: var(--primary-color) !important;
    color: #FEE500 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(33, 89, 104, 0.3) !important;
}

.kakao-link i {
    font-size: 1.5rem !important;
    margin: 0 !important;
    width: auto !important;
    font-family: 'Font Awesome 6 Free' !important;
    font-weight: 900 !important;
    display: inline-block !important;
}

.kakao-link span {
    color: inherit !important;
    font-weight: inherit !important;
}

/* Font Awesome 로드 실패 시 대체 스타일 */
.kakao-link i::before {
    content: "💬";
    font-family: inherit;
}

.kakao-link i.fa-solid.fa-comments::before {
    content: "\f086";
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}



/* Font Awesome 로드 실패 시 대체 아이콘들 */
.fa-solid.fa-comments::before {
    content: "\f086" !important;
}

/* 카카오톡 링크 강제 스타일 */
a.kakao-link {
    background-color: #FEE500 !important;
    color: #3C1E1E !important;
    border: 2px solid #FEE500 !important;
}

a.kakao-link:hover {
    background-color: #3C1E1E !important;
    color: #FEE500 !important;
    border-color: #3C1E1E !important;
}

/* 아이콘 강제 표시 */
.fa-solid.fa-comments {
    font-family: 'Font Awesome 6 Free' !important;
    font-weight: 900 !important;
    font-style: normal !important;
    background: none !important;
    border-radius: 0 !important;
}

.fa-solid.fa-comments::before {
    content: "\f086" !important;
    font-family: 'Font Awesome 6 Free' !important;
    font-weight: 900 !important;
    background: none !important;
    border-radius: 0 !important;
}

.fa-solid.fa-user-graduate::before {
    content: "\f51d" !important;
}

.fa-solid.fa-chalkboard-user::before {
    content: "\f51c" !important;
}

.fa-solid.fa-book-open-reader::before {
    content: "\f5da" !important;
}

.fa-solid.fa-graduation-cap::before {
    content: "\f19d" !important;
}

.fa-solid.fa-book-open::before {
    content: "\f518" !important;
}

.fa-solid.fa-chart-line::before {
    content: "\f201" !important;
}

.fa-solid.fa-arrow-left::before {
    content: "\f060" !important;
}

.fa-solid.fa-check::before {
    content: "\f00c" !important;
}

.fa-solid.fa-star::before {
    content: "\f005" !important;
}

.fa-solid.fa-brain::before {
    content: "\f5dc" !important;
}

.fa-solid.fa-lightbulb::before {
    content: "\f0eb" !important;
}

.fa-solid.fa-clipboard-check::before {
    content: "\f46c" !important;
}

.fa-solid.fa-cogs::before {
    content: "\f085" !important;
}

.fa-solid.fa-eye::before {
    content: "\f06e" !important;
}

.fa-solid.fa-chart-bar::before {
    content: "\f080" !important;
}

.fa-solid.fa-search::before {
    content: "\f002" !important;
}

.fa-solid.fa-pen-fancy::before {
    content: "\f5ac" !important;
}

.fa-solid.fa-phone::before {
    content: "\f095" !important;
}

.fa-solid.fa-map-marker-alt::before {
    content: "\f3c5" !important;
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group select {
    background-color: white;
    cursor: pointer;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

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

/* 푸터 세련된 디자인 */
.footer {
    background: var(--bg-dark);
    color: #f3f4f6;
    padding: 1.25rem 0 0.75rem;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}

.footer::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"><defs><pattern id="stars" width="50" height="50" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23stars)"/></svg>');
    opacity: 0.2;
    pointer-events: none;
}
/* 푸터 3단 정렬 개선 */
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    align-items: flex-start;
    justify-items: center;
}
.footer-section {
    margin-bottom: 0.5rem;
    text-align: center;
}
.footer-section h3,
.footer-section p,
.footer-section ul,
.footer-section ul li {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}
.footer-section ul {
    display: inline-block;
    padding: 0;
}
.footer-section ul li {
    display: block;
}
@media (max-width: 900px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}
.footer-logo i {
    font-size: 2rem;
}
.footer-desc {
    color: #e0e7ff;
    margin-bottom: 0.75rem;
    line-height: 1.6;
    font-size: 1rem;
}
.footer-section h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #a5b4fc;
}
.footer-section ul {
    list-style: none;
    padding: 0;
}
.footer-section ul li {
    margin-bottom: 0.5rem;
    color: #e0e7ff;
    font-size: 0.98rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.footer-section ul li a {
    color: #e0e7ff;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-section ul li a:hover {
    color: #2563EB;
}
.footer-contact ul li i {
    color: #2563EB;
    font-size: 1.1rem;
}
.footer-social .social-links {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}
.footer-social .social-links a {
    color: #e0e7ff;
    font-size: 1.5rem;
    transition: color 0.2s, transform 0.2s;
}
.footer-social .social-links a:hover {
    color: #2563EB;
    transform: translateY(-3px) scale(1.15);
}
.footer-bottom {
    text-align: center;
    color: #c7d2fe;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 0.5rem;
    margin-top: 0.5rem;
}
@media (max-width: 768px) {
    /* 모바일에서 호버링 효과 비활성화 */
    *:hover {
        transform: none !important;
        box-shadow: inherit !important;
        background: inherit !important;
        color: inherit !important;
        border-color: inherit !important;
        filter: none !important;
        opacity: inherit !important;
        scale: 1 !important;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    .footer-section {
        margin-bottom: 0.75rem;
    }
}



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

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

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

/* 반응형 디자인 */
@media (max-width: 768px) {
    .navbar {
        background: white !important;
        position: relative;
    }
    
    .nav-menu {
        display: none;
    }
    
    .menu-toggle {
        display: flex !important;
    }
    
    .nav-container {
        position: relative;
    }
    
    /* 사이드바 메뉴 표시 */
    .sidebar {
        display: block !important;
    }
    
    .sidebar-overlay {
        display: block !important;
    }
    
    /* 사이드바 메뉴 토글 애니메이션 */
    .menu-toggle.active {
        color: #1e40af;
        transform: rotate(90deg);
    }
    
    /* 모바일에서 히어로 페이드인 애니메이션 최적화 */
    .hero-image {
        transition: opacity 1.5s ease-in-out;
    }
    
    .hero-content {
        transition: opacity 1s cubic-bezier(.4,2,.6,1), transform 1s cubic-bezier(.4,2,.6,1);
    }
    
    .hero-title {
        transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    }
    
    .hero-actions {
        transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    }
    
    .scroll-indicator {
        transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    }
}
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    /* 갤러리 반응형 - 가로 슬라이드 */
    .portfolio-grid {
        display: flex !important;
        overflow-x: auto !important;
        gap: 1.5rem !important;
        padding: 1rem 0 !important;
        scroll-behavior: smooth !important;
        -webkit-overflow-scrolling: touch !important;
    }
    
    .portfolio-item {
        flex: 0 0 280px !important;
        min-width: 280px !important;
    }
    
    /* 갤러리 스크롤바 스타일링 */
    .portfolio-grid::-webkit-scrollbar {
        height: 6px !important;
    }
    
    .portfolio-grid::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.1) !important;
        border-radius: 3px !important;
    }
    
    .portfolio-grid::-webkit-scrollbar-thumb {
        background: rgba(0, 0, 0, 0.3) !important;
        border-radius: 3px !important;
    }
    
    .portfolio-grid::-webkit-scrollbar-thumb:hover {
        background: rgba(0, 0, 0, 0.5) !important;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    /* 작은 모바일에서 갤러리 가로 슬라이드 */
    .portfolio-grid {
        display: flex !important;
        overflow-x: auto !important;
        gap: 1rem !important;
        padding: 0.8rem 0 !important;
        scroll-behavior: smooth !important;
        -webkit-overflow-scrolling: touch !important;
    }
    
    .portfolio-item {
        flex: 0 0 250px !important;
        min-width: 250px !important;
    }
}

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

.about-card,
.service-card,
.portfolio-item {
    animation: fadeInUp 0.6s ease forwards;
}

.about-card:nth-child(2) {
    animation-delay: 0.2s;
}

.about-card:nth-child(3) {
    animation-delay: 0.4s;
}

/* 스크롤 스무스 */
html {
    scroll-behavior: smooth;
} 

/* 강사진 섹션 세련되게 */
.teachers {
    padding: 6rem 0;
    background: var(--bg-dark);
    position: relative;
}

.teachers::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"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(102,126,234,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.5;
    pointer-events: none;
}

.teachers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
}

.teacher-card {
    background: linear-gradient(135deg, #ffffff 0%, var(--bg-soft-mint) 100%);
    border-radius: 24px;
    box-shadow: 0 6px 24px rgba(30,58,138,0.08), 0 1.5px 6px rgba(30,58,138,0.06);
    padding: 2.5rem 1.5rem 2rem 1.5rem;
    text-align: center;
    transition: transform 0.25s cubic-bezier(.4,2,.6,1), box-shadow 0.25s;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: visible;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.teacher-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--secondary-color);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 24px 24px 0 0;
}

.teacher-card:hover::before {
    opacity: 1;
}

.teacher-card:hover {
    transform: translateY(-10px) scale(1.04);
    box-shadow: 0 12px 32px rgba(30,58,138,0.13), 0 2px 8px rgba(30,58,138,0.09);
    z-index: 2;
    border-color: rgba(102, 126, 234, 0.3);
}
.teacher-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-bottom: 1.5rem;
    border: 4px solid #1e3a8a;
    box-shadow: 0 4px 16px rgba(30,58,138,0.13);
    transition: box-shadow 0.3s, transform 0.3s;
    background-color: #fff;
}
.teacher-card:hover .teacher-photo {
    box-shadow: 0 8px 32px rgba(30,58,138,0.18);
    transform: scale(1.07) translateY(-4px);
    border-color: #1e40af;
}
.teacher-card h3 {
    font-size: 1.18rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 0.4rem;
    letter-spacing: -0.5px;
}
.teacher-role {
    font-size: 1.02rem;
    color: #475569;
    margin-bottom: 0.5rem;
    font-weight: 500;
}
.teacher-desc {
    font-size: 0.98rem;
    color: #334155;
    opacity: 0.88;
    line-height: 1.6;
    margin-bottom: 0;
} 

/* 학교별 내신 출제경향 섹션 */
.school-trends {
    padding: 6rem 0;
    background: var(--bg-dark);
    position: relative;
}

.school-trends::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"><defs><pattern id="waves" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M0 20 Q10 10 20 20 T40 20" stroke="rgba(255,255,255,0.1)" fill="none" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23waves)"/></svg>');
    opacity: 0.4;
    pointer-events: none;
}

.trends-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.trend-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 6px 24px rgba(30,58,138,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.trend-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(30,58,138,0.12);
}

.trend-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
    box-shadow: 0 8px 25px rgba(33, 89, 104, 0.3);
}

.trend-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
    text-align: center;
}

.trend-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-align: center;
}

.trend-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.trend-features li {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    padding-left: 0;
}

.trend-features li:before {
    content: '•';
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* 학교별 내신 출제경향 카드 링크 스타일 */
.trend-link {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
    height: 100%;
}

.trend-card:hover .trend-link {
    color: var(--primary-color);
}

.trend-card:hover .trend-icon {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* 학교별 포스트 페이지 스타일 */
.post-header {
    padding: 4rem 0 2rem;
    background: var(--primary-color);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.post-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"><defs><pattern id="circles" width="40" height="40" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23circles)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.back-button {
    margin-bottom: 2rem;
}

.back-link {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border: 2px solid white;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.back-link:hover {
    background: white;
    color: var(--primary-color);
}

.post-title h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.post-title p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.school-icon {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 3rem;
}

.post-content {
    padding: 4rem 0;
    background: var(--bg-secondary);
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.content-section {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.content-section h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.content-section h3 {
    color: var(--text-primary);
    font-size: 1.25rem;
    margin: 1.5rem 0 1rem;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.feature-list li:last-child {
    border-bottom: none;
}

.strategy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.strategy-card {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.strategy-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-soft-mint);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--primary-color);
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(30, 121, 136, 0.3);
}

.strategy-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.strategy-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.case-studies {
    display: grid;
    gap: 1rem;
}

.case-card {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
}

.case-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.case-header i {
    color: #fbbf24;
    font-size: 1.2rem;
}

.case-header h4 {
    color: var(--text-primary);
    margin: 0;
}

.case-card p {
    color: var(--text-secondary);
    margin: 0;
}

.sidebar-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 2rem;
}

.sidebar-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.sidebar-list {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.sidebar-list li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sidebar-list i {
    color: #2563EB;
    font-size: 1.1rem;
}

.cta-button {
    display: block;
    width: 100%;
    padding: 1rem;
    background: var(--accent-color);
    color: white;
    text-decoration: none;
    text-align: center;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(79, 172, 254, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(33, 89, 104, 0.3);
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .post-title h1 {
        font-size: 2rem;
    }
    
    .school-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    .strategy-grid {
        grid-template-columns: 1fr;
    }
    
    /* 주요 파트너 섹션 반응형 - 가로 슬라이드 */
    .teachers-grid {
        display: flex !important;
        overflow-x: auto !important;
        gap: 1rem !important;
        padding: 1rem 0 !important;
        scroll-behavior: smooth !important;
        -webkit-overflow-scrolling: touch !important;
    }
    
    .teacher-card {
        flex: 0 0 200px !important;
        height: 100px !important;
        padding: 1rem !important;
        min-width: 200px !important;
    }
    
    .teacher-card span {
        font-size: 1.5rem !important;
    }
    
    .teacher-card img {
        max-width: 80px !important;
        max-height: 40px !important;
    }
    
    /* 스크롤바 스타일링 */
    .teachers-grid::-webkit-scrollbar {
        height: 6px !important;
    }
    
    .teachers-grid::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.1) !important;
        border-radius: 3px !important;
    }
    
    .teachers-grid::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.3) !important;
        border-radius: 3px !important;
    }
    
    .teachers-grid::-webkit-scrollbar-thumb:hover {
        background: rgba(255, 255, 255, 0.5) !important;
    }
    
    /* 모바일에서 메인컬러 변경 */
    :root {
        --primary-color: #034ea2; /* 진한 파란색으로 변경 */
    }
    
    .nav-logo {
        color: #034ea2 !important;
    }
    
    
    .hero-title .gradient-text {
        color: #3b82f6 !important;
    }
    
    /* 모바일에서 주요 파트너 배경색 변경 */
    .teachers {
        background: #034ea2 !important;
    }
}

@media (max-width: 480px) {
    .teachers-grid {
        display: flex !important;
        overflow-x: auto !important;
        gap: 0.8rem !important;
        padding: 0.8rem 0 !important;
        scroll-behavior: smooth !important;
        -webkit-overflow-scrolling: touch !important;
    }
    
    .teacher-card {
        flex: 0 0 180px !important;
        height: 80px !important;
        padding: 0.8rem !important;
        min-width: 180px !important;
    }
    
    .teacher-card span {
        font-size: 1.35rem !important;
    }
    
    .teacher-card img {
        max-width: 60px !important;
        max-height: 30px !important;
    }
    
    /* 작은 모바일에서도 메인컬러 유지 */
    .nav-logo {
        color: #034ea2 !important;
    }
    
    
    .hero-title .gradient-text {
        color: #034ea2 !important;
    }
    
    /* 작은 모바일에서도 주요 파트너 배경색 유지 */
    .teachers {
        background: #034ea2 !important;
    }
}

/* 학원 갤러리(포트폴리오) 세련되게 */
.portfolio {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 60%, #e0e7ff 100%);
}
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.5rem;
}
.portfolio-item {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(30,58,138,0.10), 0 1.5px 6px rgba(30,58,138,0.06);
    background: #fff;
    transition: transform 0.25s cubic-bezier(.4,2,.6,1), box-shadow 0.25s;
    cursor: pointer;
}
.portfolio-item:hover {
    transform: scale(1.045) translateY(-8px);
    box-shadow: 0 16px 40px rgba(30,58,138,0.15), 0 2px 8px rgba(30,58,138,0.09);
    z-index: 2;
}
.portfolio-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 22px;
    box-shadow: none;
    display: block;
    transition: filter 0.3s, opacity 0.3s, transform 0.3s;
}
.portfolio-item:hover .portfolio-image {
    filter: brightness(1.08) saturate(1.13) contrast(1.04);
    opacity: 0.97;
    transform: scale(1.04);
}
/* 오버레이 텍스트 예시 (필요시) */
.portfolio-caption {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    background: linear-gradient(0deg, rgba(30,58,138,0.75) 70%, rgba(30,58,138,0.0) 100%);
    color: #fff;
    padding: 1.2rem 1rem 1rem 1rem;
    font-size: 1.08rem;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.3s;
    border-radius: 0 0 22px 22px;
    pointer-events: none;
}
.portfolio-item:hover .portfolio-caption {
    opacity: 1;
} 

/* 지도 사진 테두리 */
.contact-map img {
    border: 2px solid var(--primary-color);
} 

/* 히어로 섹션 기본 스타일 */
.hero-image {
    opacity: 1 !important;
    transition: opacity 2s ease-in-out !important;
}

.hero-image.fade-in {
    opacity: 1 !important;
}

.hero-content {
    opacity: 1;
}

.hero-title {
    opacity: 1;
}

.hero-actions {
    opacity: 1;
}

.scroll-indicator {
    opacity: 1;
}
/* 패럴럭스 효과를 위한 배경 이동 */
.hero-image.parallax {
    transition: background-position 0.3s cubic-bezier(.4,2,.6,1);
} 

.hero-content {
    text-align: center;
}
.hero-title, .hero-subtitle {
    text-align: center;
}
@media (max-width: 768px) {
    .hero-content, .hero-title, .hero-subtitle {
        text-align: center;
    }
} 

.footer-section.footer-brand {
    text-align: left;
}
.footer-section.footer-brand .footer-desc {
    text-align: left;
} 

/* 학원소개 섹션 특별 스타일 */
.about .section-header h2 {
    color: white;
    -webkit-text-fill-color: white;
    background: none;
}

.about .section-header p {
    color: rgba(255, 255, 255, 0.9);
}

/* 강사진 섹션 특별 스타일 */
.teachers .section-header h2 {
    color: white;
    -webkit-text-fill-color: white;
    background: none;
}

.teachers .section-header p {
    color: rgba(255, 255, 255, 0.9);
}

/* 학교별 내신 출제경향 섹션 특별 스타일 */
.school-trends .section-header h2 {
    color: white;
    -webkit-text-fill-color: white;
    background: none;
}

.school-trends .section-header p {
    color: rgba(255, 255, 255, 0.9);
}

/* 채용정보 섹션 스타일 */
.careers {
    padding: 80px 0;
    background: white;
}

.careers .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.careers .section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.careers .section-header p {
    font-size: 1.5rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.careers-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 4rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.career-card {
    background: white;
    border-radius: 12px;
    padding: 1.2rem;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.career-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1e40af, #1e3a8a);
}

.career-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.career-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #1e40af, #1e3a8a);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.career-icon i {
    font-size: 1.2rem;
    color: white;
}

.career-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
}

.career-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.5;
    font-size: 0.9rem;
}

.career-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 1rem 0 0.5rem 0;
}

.career-details span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.career-details i {
    color: var(--secondary-color);
    width: 16px;
}

.career-time {
    margin: 0.5rem 0 1rem 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.career-time .time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f3f4f6;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: 500;
}

.career-time i {
    color: var(--secondary-color);
    width: 16px;
}

.no-jobs {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: var(--text-secondary);
    font-size: 1.1rem;
    background: #f9fafb;
    border-radius: 12px;
    border: 2px dashed #d1d5db;
}

.career-btn {
    display: inline-block;
    background: linear-gradient(135deg, #1e40af, #1e3a8a);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
}

.career-btn:hover {
    background: linear-gradient(135deg, #1e3a8a, #1d4ed8);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.4);
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .careers {
        padding: 60px 0;
    }
    
    .careers .section-header h2 {
        font-size: 2rem;
    }
    
    .careers-grid {
        display: flex;
        overflow-x: auto;
        gap: 1rem;
        padding: 0 1rem;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }
    
    .career-card {
        flex: 0 0 280px;
        padding: 1.5rem;
        scroll-snap-align: start;
    }
    
    /* 스크롤바 스타일링 */
    .careers-grid::-webkit-scrollbar {
        height: 6px;
    }
    
    .careers-grid::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 3px;
    }
    
    .careers-grid::-webkit-scrollbar-thumb {
        background: #c1c1c1;
        border-radius: 3px;
    }
    
    .careers-grid::-webkit-scrollbar-thumb:hover {
        background: #a8a8a8;
    }
    
    /* 슬라이드 네비게이션 */
    .careers-navigation {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 1rem;
        margin-top: 1.5rem;
    }
    
    .nav-btn {
        background: #3b82f6;
        color: white;
        border: none;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
    }
    
    .nav-btn:hover {
        background: #2563eb;
        transform: scale(1.1);
    }
    
    .nav-btn:active {
        transform: scale(0.95);
    }
    
    .slide-indicators {
        display: flex;
        gap: 0.5rem;
    }
    
    .indicator {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: #d1d5db;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .indicator.active {
        background: #3b82f6;
        transform: scale(1.2);
    }
    
    .indicator:hover {
        background: #9ca3af;
    }
}

/* 데스크톱에서는 네비게이션 숨김 */
@media (min-width: 769px) {
    .careers-navigation {
        display: none;
    }
}


/* 사업영역 섹션 */
.business {
    padding: 80px 0;
    background: #ffffff;
}

.business .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.business .section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.business .section-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.business-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.business-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.business-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
}

.business-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.business-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.business-icon i {
    font-size: 2rem;
    color: white;
}

.business-card:hover .business-icon {
    transform: scale(1.1);
}

.business-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.business-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1rem;
}

/* 사업영역 반응형 */
@media (max-width: 1024px) {
    .business-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .business {
        padding: 60px 0;
    }
    
    .business .section-header h2 {
        font-size: 2rem;
    }
    
    .business-grid {
        display: flex;
        overflow-x: auto;
        gap: 1rem;
        padding: 0 1rem;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }
    
    .business-card {
        flex: 0 0 280px;
        padding: 1.5rem;
        scroll-snap-align: start;
    }
    
    .business-navigation {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 1rem;
        margin-top: 1.5rem;
    }
    
    .nav-btn {
        background: var(--secondary-color);
        color: white;
        border: none;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
        font-size: 1rem;
    }
    
    .nav-btn:hover {
        background: var(--accent-color);
        transform: scale(1.1);
    }
    
    .slide-indicators {
        display: flex;
        gap: 0.5rem;
    }
    
    .slide-indicators .indicator {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: #ddd;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .slide-indicators .indicator.active {
        background: var(--secondary-color);
        transform: scale(1.2);
    }
}

/* 포트폴리오 섹션 특별 스타일 */
.portfolio .section-header h2 {
    color: var(--primary-color);
    -webkit-text-fill-color: var(--primary-color);
    background: none;
}

.portfolio .section-header p {
    color: var(--text-secondary);
} 
} 