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

/* 기본 폰트 및 색상 */
:root {
    --primary-color: #1e40af;
    --secondary-color: #3b82f6;
    --accent-color: #f59e0b;
    --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);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    overflow-x: hidden;
}

.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;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

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

.nav-logo span {
    color: var(--primary-color);
}

.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%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
}

/* 히어로 섹션 */
.hero {
    position: relative;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.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(30, 64, 175, 0.25);
}

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

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

.gradient-text {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.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: linear-gradient(135deg, var(--primary-color), var(--secondary-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: linear-gradient(135deg, #1e3a8a, #1e40af);
}

.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: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.about-card h3 {
    font-size: 1.5rem;
    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, #f8fafc 60%, #e0e7ff 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;
}
.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);
}
.service-image {
    background: none !important;
}
.service-content {
    padding: 2rem 1.5rem 1.5rem 1.5rem;
}
.service-content h3 {
    font-size: 1.3rem;
    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;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    font-weight: bold;
}

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

.teacher-info h3 {
    font-size: 1.5rem;
    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-secondary);
}

/* 갤러리(포트폴리오) 세련되게 */
.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: 1.5em;
    height: 1.5em;
    background: none;
    border-radius: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1rem;
    flex-shrink: 0;
    margin-right: 0.3em;
    margin-top: 0;
    margin-bottom: 0;
    box-shadow: none;
}

.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);
}

.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: linear-gradient(135deg, #1e3a8a 60%, #1e40af 100%);
    color: #f3f4f6;
    padding: 4rem 0 2rem;
    font-size: 1rem;
}
/* 푸터 3단 정렬 개선 */
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
    justify-items: center;
}
.footer-section {
    margin-bottom: 1.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: 1.5rem;
    line-height: 1.6;
    font-size: 1rem;
}
.footer-section h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 1rem;
    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: #fbbf24;
}
.footer-contact ul li i {
    color: #fbbf24;
    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: #fbbf24;
    transform: translateY(-3px) scale(1.15);
}
.footer-bottom {
    text-align: center;
    color: #c7d2fe;
    font-size: 0.98rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 1.5rem;
    margin-top: 1.5rem;
}
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer-section {
        margin-bottom: 2rem;
    }
}

/* 모바일 메뉴 */
.nav-menu.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
}

.nav-menu.active li {
    margin: 1rem 0;
}

.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) {
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .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,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

@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;
    }
}

/* 애니메이션 */
@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: linear-gradient(135deg, #f8fafc 60%, #e0e7ff 100%);
}

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

.teacher-card {
    background: linear-gradient(135deg, #fff 60%, #e0e7ff 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;
}
.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;
}
.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;
} 

/* 학원 갤러리(포트폴리오) 세련되게 */
.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 #1e40af;
} 

/* 히어로 애니메이션 */
.hero-content {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(.4,2,.6,1), transform 1s cubic-bezier(.4,2,.6,1);
}
.hero-content.animated {
    opacity: 1;
    transform: translateY(0);
}
.hero-title, .hero-subtitle {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s 0.2s, transform 0.8s 0.2s;
}
.hero-content.animated .hero-title {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}
.hero-content.animated .hero-subtitle {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.5s;
}
.scroll-indicator {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s 0.8s, transform 0.8s 0.8s;
}
.hero-content.animated ~ .scroll-indicator {
    opacity: 1;
    transform: translateY(0);
}
/* 패럴럭스 효과를 위한 배경 이동 */
.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;
} 

.footer-section.footer-menu ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 0;
    margin: 0 auto;
}
.footer-section.footer-menu ul li {
    display: inline-block;
    margin-bottom: 0;
} 

.service-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #1e40af 60%, #3b82f6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    color: #fff;
    font-size: 2.5rem;
    box-shadow: 0 4px 16px rgba(30,64,175,0.10);
} 

/* 학교별 국어문제 출제 경향 섹션 */
.school-trend {
    background: var(--bg-secondary);
    padding: 60px 0 40px 0;
    margin-bottom: 0;
}
.school-trend .section-header h2 {
    color: var(--primary-color);
}
.school-btns {
    display: flex;
    gap: 3.5rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}
.school-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: #fff;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-md);
    padding: 2rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    min-width: 120px;
    min-height: 120px;
    margin-bottom: 1rem;
}
.school-btn:nth-child(1) {
    background: linear-gradient(135deg, #2563eb, #60a5fa); /* 기흥고: 파랑 */
}
.school-btn:nth-child(2) {
    background: linear-gradient(135deg, #059669, #34d399); /* 성지고: 초록 */
}
.school-btn:nth-child(3) {
    background: linear-gradient(135deg, #7c3aed, #a78bfa); /* 신갈고: 보라 */
}
.school-btn:hover {
    transform: translateY(-6px) scale(1.05);
    box-shadow: var(--shadow-lg);
}
.school-btn:nth-child(1):hover {
    background: linear-gradient(135deg, #3b82f6, #93c5fd);
}
.school-btn:nth-child(2):hover {
    background: linear-gradient(135deg, #10b981, #6ee7b7);
}
.school-btn:nth-child(3):hover {
    background: linear-gradient(135deg, #a78bfa, #c4b5fd);
}
.school-icon {
    font-size: 3rem;
    margin-bottom: 0.7rem;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
@media (max-width: 600px) {
    .school-btns {
        flex-direction: column;
        gap: 1.2rem;
    }
    .school-btn {
        min-width: 100px;
        min-height: 100px;
        padding: 1.2rem 1.5rem;
        font-size: 1rem;
    }
    .school-icon {
        font-size: 2rem;
    }
} 

.teacher-card ul {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 180px;
    height: 100%;
    padding-top: 100px;
}
.teacher-card ul li {
    width: 100%;
    text-align: center;
} 