/* ===================================
   Global Variables & Reset
   =================================== */

:root {
    --primary: #F37021;
    --primary-dark: #D85D1A;
    --primary-light: #FF8C42;
    --secondary: #1a1a2e;
    --bg-dark: #0f0f1e;
    --bg-darker: #0a0a15;
    --text-primary: #FFFFFF;
    --text-secondary: #E0E0E0;
    --text-muted: #A0A0A0;
    --gradient-primary: linear-gradient(135deg, #F37021 0%, #FF8C42 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 16px 64px rgba(0, 0, 0, 0.4);
    --shadow-orange: 0 8px 32px rgba(243, 112, 33, 0.3);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    background: var(--bg-darker);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* ===================================
   Container & Layout
   =================================== */

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

.section {
    padding: 120px 0;
    position: relative;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.2rem;
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 4rem;
    line-height: 1.8;
}

/* ===================================
   Header
   =================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 21, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(10, 10, 21, 0.95);
    box-shadow: var(--shadow-lg);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    position: relative;
}

.header-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.header-title {
    font-size: 1.8rem;
    font-weight: 900;
    font-family: 'Noto Sans KR', sans-serif;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    letter-spacing: 1px;
}

.header-subtitle {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 400;
    letter-spacing: 0.5px;
}

.header-contacts {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    margin-left: auto;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(243, 112, 33, 0.3);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.contact-item:hover {
    background: rgba(243, 112, 33, 0.1);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(243, 112, 33, 0.2);
}

.contact-item i {
    font-size: 1rem;
    color: var(--primary);
    animation: ring 2s infinite;
}

@keyframes ring {
    0%, 100% { transform: rotate(0deg); }
    10%, 30% { transform: rotate(-15deg); }
    20%, 40% { transform: rotate(15deg); }
    50% { transform: rotate(0deg); }
}

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

.contact-label {
    font-size: 0.6rem;
    color: var(--text-muted);
    font-weight: 500;
}

.contact-number {
    font-size: 0.8rem;
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: 0.2px;
}

.logo-img {
    height: 45px;
    transition: var(--transition);
}

.logo:hover .logo-img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.nav-list {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

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

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

.nav-link.cta-button {
    padding: 0.75rem 1.5rem;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    color: white;
}

.nav-link.cta-button::after {
    display: none;
}

.nav-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--text-primary);
}

/* ===================================
   Moving Banner
   =================================== */

.fixed-banner {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, #D85E18, #F37021, #FF8C42);
    background-size: 200% 200%;
    animation: gradientShift 5s ease infinite;
    padding: 0.8rem 0;
    overflow: hidden;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(243, 112, 33, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.banner-decoration {
    width: 50px;
    height: 50px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.15;
}

.banner-decoration.left {
    left: 20px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    animation: pulseLeft 3s ease-in-out infinite;
}

.banner-decoration.right {
    right: 20px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    animation: pulseRight 3s ease-in-out infinite;
}

@keyframes pulseLeft {
    0%, 100% { transform: translateY(-50%) scale(1); opacity: 0.15; }
    50% { transform: translateY(-50%) scale(1.2); opacity: 0.25; }
}

@keyframes pulseRight {
    0%, 100% { transform: translateY(-50%) scale(1); opacity: 0.15; }
    50% { transform: translateY(-50%) scale(1.2); opacity: 0.25; }
}

.banner-main {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    perspective: 1000px;
}

.banner-text-animated {
    font-size: 1.3rem;
    font-weight: 900;
    color: white;
    text-shadow: 
        0 0 10px rgba(255,255,255,0.8),
        0 0 20px rgba(243,112,33,0.6),
        0 0 30px rgba(243,112,33,0.4),
        0 2px 15px rgba(0,0,0,0.5);
    letter-spacing: 2px;
    text-align: center;
    animation: powerPulse 2s ease-in-out infinite;
    transform-style: preserve-3d;
    will-change: transform;
    position: relative;
}

@keyframes powerPulse {
    0%, 100% {
        transform: scale(1) translateZ(0);
        text-shadow: 
            0 0 10px rgba(255,255,255,0.8),
            0 0 20px rgba(243,112,33,0.6),
            0 0 30px rgba(243,112,33,0.4),
            0 2px 15px rgba(0,0,0,0.5);
    }
    50% {
        transform: scale(1.15) translateZ(30px);
        text-shadow: 
            0 0 20px rgba(255,255,255,1),
            0 0 40px rgba(243,112,33,0.9),
            0 0 60px rgba(243,112,33,0.7),
            0 0 80px rgba(243,112,33,0.5),
            0 4px 20px rgba(0,0,0,0.6);
    }
}

/* 삭제된 banner-text::before 스타일 및 shimmer 애니메이션 */

/* ===================================
   Hero Section
   =================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 140px;
}

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

.gradient-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(243, 112, 33, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(255, 140, 66, 0.1) 0%, transparent 50%);
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, white, transparent),
        radial-gradient(2px 2px at 60% 70%, white, transparent),
        radial-gradient(1px 1px at 50% 50%, white, transparent);
    background-size: 200% 200%;
    animation: particlesMove 20s linear infinite;
    opacity: 0.3;
}

@keyframes particlesMove {
    0% { background-position: 0% 0%; }
    100% { background-position: 100% 100%; }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-emphasis {
    max-width: 800px;
    margin: 0 auto 3rem;
    padding: 3rem 3.5rem;
    border-radius: var(--radius-xl);
    border: 2px solid var(--primary);
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(243, 112, 33, 0.05) 0%, rgba(255, 140, 66, 0.05) 100%);
}

.hero-emphasis::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(243, 112, 33, 0.3), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.emphasis-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    box-shadow: var(--shadow-orange);
    position: relative;
    z-index: 1;
}

.emphasis-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.emphasis-text {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--text-secondary);
    line-height: 1.8;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-logo {
    margin: 0 auto 3rem;
    width: 200px;
}

.hero-logo-img {
    filter: drop-shadow(0 8px 24px rgba(243, 112, 33, 0.4));
}

.floating {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

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

.hero-title .highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 4rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

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

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(243, 112, 33, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--gradient-primary);
    transform: translateY(-4px);
}

.hero-badges {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: var(--radius-md);
}

.badge i {
    font-size: 1.3rem;
    color: var(--primary);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    animation: bounceArrow 2s infinite;
}

.scroll-indicator i {
    font-size: 2rem;
    color: var(--primary);
}

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

/* ===================================
   Glass Effect
   =================================== */

.glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-lg);
}

/* ===================================
   3D Tilt Effect
   =================================== */

.tilt-3d {
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
}

/* ===================================
   Stats Section
   =================================== */

.stats-section {
    background: var(--bg-dark);
}

.focus-banner {
    padding: 3rem 3rem;
    border-radius: var(--radius-xl);
    text-align: center;
    margin-bottom: 4rem;
    border: 3px solid var(--primary);
    position: relative;
    overflow: hidden;
    background: rgba(243, 112, 33, 0.05);
}

.focus-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(243, 112, 33, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.focus-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.8rem;
    color: white;
    position: relative;
    z-index: 1;
    box-shadow: var(--shadow-orange);
    animation: bounce-slow 3s infinite;
}

@keyframes bounce-slow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.focus-title {
    font-size: 2rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

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

.stat-card {
    padding: 3rem 2rem;
    text-align: center;
    border-radius: var(--radius-xl);
    transition: var(--transition);
}

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

.stat-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.stat-number {
    font-size: 4rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.stat-sublabel {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
    font-weight: 400;
}

/* ===================================
   Programs Section
   =================================== */

.programs-section {
    background: var(--bg-darker);
}

.program-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.tab-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid transparent;
    border-radius: var(--radius-lg);
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(243, 112, 33, 0.3);
}

.tab-btn.active {
    background: var(--gradient-primary);
    border-color: var(--primary);
    color: white;
    box-shadow: var(--shadow-orange);
}

.tab-icon {
    font-size: 2rem;
}

.tab-content {
    display: none;
    animation: fadeIn 0.6s ease;
}

.tab-content.active {
    display: block;
}

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

.tab-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary);
}

.tab-description {
    font-size: 1.2rem;
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.campus-section {
    margin-bottom: 4rem;
}

.campus-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.campus-title i {
    color: var(--primary);
}

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

.program-card {
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
}

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

.program-card.highlight {
    border: 2px solid rgba(243, 112, 33, 0.5);
    background: rgba(243, 112, 33, 0.05);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.program-card h5 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.program-card p {
    font-size: 1rem;
    color: var(--text-secondary);
}

.program-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
}

.feature-item i {
    color: var(--primary);
}

.consulting-highlight {
    padding: 3rem;
    border-radius: var(--radius-xl);
    text-align: center;
    margin: 3rem 0;
}

.consulting-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    color: white;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.consulting-highlight h4 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

/* ===================================
   Teachers Section
   =================================== */

.teachers-section {
    background: var(--bg-dark);
}

.highlight-number {
    display: inline-block;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: pulse-scale 2s ease-in-out infinite;
    text-shadow: 0 0 30px rgba(243, 112, 33, 0.8);
    position: relative;
}

.highlight-number::before {
    content: attr(data-number);
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    color: var(--primary);
    filter: blur(10px);
    opacity: 0.6;
    animation: glow-pulse 2s ease-in-out infinite;
}

@keyframes pulse-scale {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@keyframes glow-pulse {
    0%, 100% {
        opacity: 0.4;
    }
    50% {
        opacity: 0.8;
    }
}

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

.teacher-card {
    padding: 2rem;
    border-radius: var(--radius-xl);
    text-align: center;
    transition: var(--transition);
}

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

.teacher-photo-wrap {
    width: 100%;
    height: 320px;
    margin-bottom: 1.5rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.teacher-photo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}



.teacher-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.teacher-subject {
    font-size: 1rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.teacher-desc {
    color: var(--text-secondary);
    line-height: 1.8;
}

.teachers-notice {
    padding: 3rem;
    border-radius: var(--radius-xl);
    text-align: center;
}

.teachers-notice h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.teachers-notice h3 i {
    margin-right: 0.5rem;
}

.teachers-notice p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ===================================
   Achievements Section
   =================================== */

.achievements-section {
    background: var(--bg-darker);
}

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

.achievement-card {
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    text-align: center;
    transition: var(--transition);
}

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

.achievement-icon {
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.achievement-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.achievement-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    color: var(--text-secondary);
}

.achievement-list i {
    color: var(--primary);
}

.achievement-highlight {
    padding: 3rem;
    border-radius: var(--radius-xl);
    text-align: center;
}

.achievement-highlight h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

/* ===================================
   YouTube Section
   =================================== */

.youtube-section {
    background: var(--bg-dark);
}

.youtube-content {
    max-width: 900px;
    margin: 0 auto;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-xl);
    margin-bottom: 2rem;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-xl);
}

.youtube-info {
    text-align: center;
}

.sns-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.sns-buttons .btn {
    min-width: 180px;
    padding: 1.2rem 2rem;
}

.btn-youtube {
    background: #FF0000;
    color: white;
    box-shadow: 0 8px 32px rgba(255, 0, 0, 0.3);
}

.btn-youtube:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(255, 0, 0, 0.5);
}

.btn-blog {
    background: #03C75A;
    color: white;
    box-shadow: 0 8px 32px rgba(3, 199, 90, 0.3);
}

.btn-blog:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(3, 199, 90, 0.5);
}

.btn-instagram {
    background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF, #515BD4);
    color: white;
    box-shadow: 0 8px 32px rgba(221, 42, 123, 0.3);
}

.btn-instagram:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(221, 42, 123, 0.5);
}

/* ===================================
   Campuses Section
   =================================== */

.campuses-section {
    background: var(--bg-darker);
}

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

.campus-card {
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    transition: var(--transition);
}

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

.campus-card.highlight {
    border: 2px solid rgba(243, 112, 33, 0.5);
}

.campus-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.campus-header i {
    font-size: 2rem;
    color: var(--primary);
}

.campus-header h3 {
    font-size: 2rem;
    font-weight: 700;
}

.badge-certified {
    padding: 0.5rem 1rem;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
}

.info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-top: 0.25rem;
}

.info-item strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

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

.info-item a {
    color: var(--primary);
    font-weight: 500;
}

.btn-map {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    padding: 0.6rem 1.2rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(243, 112, 33, 0.3);
}

.btn-map:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(243, 112, 33, 0.5);
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
}

.btn-map i {
    font-size: 1rem;
}

.campus-programs h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.program-tags {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.tag {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.tag.highlight {
    background: rgba(243, 112, 33, 0.1);
    border-color: var(--primary);
    color: var(--primary);
    font-weight: 600;
}

/* Quick Contact Buttons (Mobile Only) */
.quick-contact-buttons {
    display: none; /* Hidden by default */
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .quick-contact-buttons {
        display: flex;
        justify-content: center;
        gap: 12px;
    }
    
    /* Hide scroll-to-top on mobile */
    .scroll-to-top {
        display: none !important;
    }
}

.quick-btn {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.quick-btn i {
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.quick-btn span {
    font-size: 0.7rem;
    letter-spacing: -0.5px;
}

.quick-uijeongbu {
    background: linear-gradient(135deg, #F37021, #FF8C42);
}

.quick-okjeong {
    background: linear-gradient(135deg, #9B7653, #C4A57B);
}

.quick-kakao {
    background: linear-gradient(135deg, #FFE812, #FFD700);
    color: #3C1E1E;
}

.quick-btn:hover {
    transform: scale(1.1);
}

.quick-uijeongbu:hover {
    box-shadow: 0 6px 20px rgba(243, 112, 33, 0.6);
}

.quick-okjeong:hover {
    box-shadow: 0 6px 20px rgba(155, 118, 83, 0.6);
}

.quick-kakao:hover {
    box-shadow: 0 6px 20px rgba(255, 232, 18, 0.6);
}

/* ===================================
   Contact Section
   =================================== */

.contact-section {
    background: var(--bg-dark);
}

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

.contact-card {
    padding: 3rem 2rem;
    border-radius: var(--radius-xl);
    text-align: center;
    transition: var(--transition);
}

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

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

.contact-icon.kakao {
    background: linear-gradient(135deg, #FEE500 0%, #FFEB3B 100%);
    color: #3C1E1E;
}

.contact-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-detail {
    font-size: 1rem;
    color: var(--text-secondary);
    margin: 0.75rem 0 1.5rem 0;
}

.contact-phone-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
}

.contact-link {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    margin: 1rem 0;
}

.phone-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

.btn-phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 1.2rem;
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--transition);
    font-size: 1rem;
}

.btn-phone-uijeongbu {
    background: linear-gradient(135deg, #F37021 0%, #FF8C42 100%);
    box-shadow: 0 4px 16px rgba(243, 112, 33, 0.3);
}

.btn-phone-uijeongbu:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(243, 112, 33, 0.5);
}

.btn-phone-okjeong {
    background: linear-gradient(135deg, #8B5CF6 0%, #A78BFA 100%);
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.3);
}

.btn-phone-okjeong:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.5);
}

.btn-phone i {
    font-size: 1rem;
    color: white;
    animation: phone-ring 2s ease-in-out infinite;
}

.phone-number {
    font-size: 0.95rem;
    font-weight: 600;
    color: white;
    letter-spacing: 0.3px;
}

@keyframes phone-ring {
    0%, 100% {
        transform: rotate(0deg);
    }
    10%, 30% {
        transform: rotate(-15deg);
    }
    20%, 40% {
        transform: rotate(15deg);
    }
    50% {
        transform: rotate(0deg);
    }
}

.btn-kakao {
    background: linear-gradient(135deg, #FEE500 0%, #FFEB3B 100%);
    color: #3C1E1E;
    font-weight: 700;
    margin-top: 1rem;
}

.contact-hours {
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-hours h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

/* 전화번호 스타일 */
.phone-uijeongbu {
    color: #F37021;
    font-weight: 700;
    font-size: 1.05em;
    letter-spacing: 0.5px;
}

.phone-okjeong {
    color: #8B5CF6;
    font-weight: 700;
    font-size: 1.05em;
    letter-spacing: 0.5px;
}

/* ===================================
   Footer
   =================================== */

.footer {
    background: var(--bg-darker);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4rem 0 2rem;
}

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

.footer-logo-img {
    height: 60px;
    margin-bottom: 1rem;
}

.footer-tagline {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

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

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1rem;
}

.footer-section p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.btn-map-footer {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.75rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(243, 112, 33, 0.3);
}

.btn-map-footer:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(243, 112, 33, 0.5);
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
}

.btn-map-footer i {
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--primary);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-4px);
}

.visit-message-small {
    margin-top: 1rem;
    padding: 0.75rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: linear-gradient(135deg, rgba(243, 112, 33, 0.1), rgba(243, 112, 33, 0.05));
    border-radius: var(--radius-md);
    border: 1px solid rgba(243, 112, 33, 0.2);
    line-height: 1.8;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.visit-message-small i {
    font-size: 1rem;
    color: var(--primary);
    margin-top: 0.15rem;
    animation: graduationCapSmall 3s ease-in-out infinite;
}

.visit-message-small span {
    display: block;
}

.highlight-text {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.85rem;
    display: inline-block;
    animation: textPulseGlow 2s ease-in-out infinite;
    text-shadow: 0 0 10px rgba(243, 112, 33, 0.3);
}

@keyframes graduationCapSmall {
    0%, 100% { 
        transform: rotate(0deg) scale(1);
    }
    25% { 
        transform: rotate(-10deg) scale(1.1);
    }
    75% { 
        transform: rotate(10deg) scale(1.1);
    }
}

/* ========================================
   Success Stories Section (합격생 후기)
   ======================================== */

.success-section {
    background: linear-gradient(135deg, rgba(243, 112, 33, 0.03), rgba(0, 0, 0, 0));
    position: relative;
    overflow: hidden;
}

.success-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0.3;
}

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

.success-card {
    padding: 2rem;
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.success-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.success-card:hover::before {
    transform: scaleX(1);
}

.success-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl);
    border-color: rgba(243, 112, 33, 0.3);
}

.success-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    box-shadow: 0 4px 12px rgba(243, 112, 33, 0.3);
}

.success-badge.seoul {
    background: linear-gradient(135deg, #003876, #0066cc);
}

.success-badge.medical {
    background: linear-gradient(135deg, #dc143c, #ff4500);
}

.success-badge.yonsei {
    background: linear-gradient(135deg, #00367a, #0066cc);
}

.success-badge.korea {
    background: linear-gradient(135deg, #8b0000, #cd1d1d);
}

.success-badge.edu {
    background: linear-gradient(135deg, #006400, #228b22);
}

.success-stars {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    letter-spacing: 0.2rem;
}

.success-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-style: italic;
    position: relative;
    padding-left: 1rem;
}

.success-text::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -0.5rem;
    font-size: 3rem;
    color: var(--primary);
    opacity: 0.3;
    font-family: Georgia, serif;
}

.success-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.success-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.success-teacher {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 500;
}

.success-year {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* 스페셜 합격 수기 카드 (황OO) */
.success-card.highlight-card {
    border: 2px solid rgba(255, 215, 0, 0.5);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.05), rgba(243, 112, 33, 0.05));
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.2);
}

.success-card.premium {
    grid-column: span 1;
}

.success-photo-wrap {
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255, 215, 0, 0.5);
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.3);
}

.success-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.success-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.success-badge.special {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #1a1a2e;
    font-size: 1rem;
    padding: 0.6rem 1.2rem;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.success-universities {
    font-size: 0.95rem;
    color: var(--primary);
    font-weight: 600;
    line-height: 1.6;
}

.success-cta {
    text-align: center;
    margin-top: 3rem;
}

.success-note {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ========================================
   Reviews Section (학부모 후기)
   ======================================== */

.reviews-section {
    background: var(--bg-dark);
}

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

.review-card {
    padding: 2rem;
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.review-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl);
    border-color: rgba(243, 112, 33, 0.3);
}

.review-stars {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    letter-spacing: 0.2rem;
}

.review-text {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.review-author {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.review-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.review-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    width: fit-content;
}

.review-badge.special {
    background: linear-gradient(135deg, #8b0000, #cd1d1d);
    box-shadow: 0 4px 12px rgba(205, 29, 29, 0.4);
}

.review-card.highlight-review {
    border: 2px solid rgba(205, 29, 29, 0.3);
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.05), rgba(255, 255, 255, 0.03));
}

.review-card.highlight-review:hover {
    border-color: rgba(205, 29, 29, 0.5);
    box-shadow: 0 20px 60px rgba(205, 29, 29, 0.3);
}

.review-card.premium {
    border: 3px solid rgba(0, 54, 122, 0.4);
    background: linear-gradient(135deg, rgba(0, 54, 122, 0.08), rgba(255, 255, 255, 0.03));
    position: relative;
    overflow: hidden;
}

.review-card.premium::before {
    content: '🏆';
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 2rem;
    opacity: 0.3;
    animation: trophyFloat 3s ease-in-out infinite;
}

.review-card.premium:hover {
    border-color: rgba(0, 54, 122, 0.6);
    box-shadow: 0 20px 60px rgba(0, 54, 122, 0.4);
}

.review-badge.premium-badge {
    background: linear-gradient(135deg, #00367a, #0066cc);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.5);
    font-weight: 700;
}

@keyframes trophyFloat {
    0%, 100% { 
        transform: translateY(0) rotate(0deg);
        opacity: 0.3;
    }
    50% { 
        transform: translateY(-10px) rotate(10deg);
        opacity: 0.5;
    }
}

/* Area Highlight (지역 강조) */
.area-highlight {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, 
        rgba(243, 112, 33, 0.1), 
        rgba(255, 215, 0, 0.1),
        rgba(243, 112, 33, 0.1)
    );
    background-size: 200% 200%;
    animation: gradientShift 4s ease infinite;
    border-radius: var(--radius-xl);
    border: 2px solid rgba(243, 112, 33, 0.3);
    position: relative;
    overflow: hidden;
}

.area-highlight::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.3) 0%, transparent 70%);
    animation: rotate 10s linear infinite;
}

.area-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.3rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.area-location {
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 900;
    text-shadow: 
        0 0 10px rgba(243, 112, 33, 0.5),
        0 0 20px rgba(243, 112, 33, 0.3),
        0 0 30px rgba(243, 112, 33, 0.1);
    animation: colorPulse 3s ease-in-out infinite;
    display: inline-block;
}

.area-location:nth-child(1) { animation-delay: 0s; }
.area-location:nth-child(3) { animation-delay: 0.5s; }
.area-location:nth-child(5) { animation-delay: 1s; }
.area-location:nth-child(7) { animation-delay: 1.5s; }

.area-dot {
    color: var(--text-secondary);
    font-weight: 700;
}

.area-suffix {
    color: var(--text-primary);
    font-weight: 700;
    margin-left: 0.3rem;
}

.area-icon {
    font-size: 2rem;
    animation: sparkle 2s ease-in-out infinite;
    display: inline-block;
}

.area-icon:first-child {
    animation-delay: 0s;
}

.area-icon:last-child {
    animation-delay: 1s;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes colorPulse {
    0%, 100% {
        color: var(--primary);
        transform: scale(1);
        text-shadow: 
            0 0 10px rgba(243, 112, 33, 0.5),
            0 0 20px rgba(243, 112, 33, 0.3);
    }
    50% {
        color: #FFD700;
        transform: scale(1.1);
        text-shadow: 
            0 0 20px rgba(255, 215, 0, 0.8),
            0 0 30px rgba(255, 215, 0, 0.5),
            0 0 40px rgba(255, 215, 0, 0.3);
    }
}

@keyframes sparkle {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.8;
    }
    25% {
        transform: scale(1.2) rotate(10deg);
        opacity: 1;
    }
    50% {
        transform: scale(0.9) rotate(-10deg);
        opacity: 0.6;
    }
    75% {
        transform: scale(1.1) rotate(5deg);
        opacity: 1;
    }
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.review-cta {
    text-align: center;
    margin-top: 3rem;
}

.review-note {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

@keyframes textPulseGlow {
    0%, 100% { 
        transform: scale(1);
        text-shadow: 0 0 10px rgba(243, 112, 33, 0.3);
    }
    50% { 
        transform: scale(1.05);
        text-shadow: 0 0 20px rgba(243, 112, 33, 0.6),
                     0 0 30px rgba(243, 112, 33, 0.4);
    }
}

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

.footer-bottom-left {
    text-align: left;
}

.footer-bottom-right {
    text-align: right;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0.5rem 0;
}

.footer-license,
.footer-tuition {
    font-size: 0.7rem !important;
    color: rgba(255, 255, 255, 0.4) !important;
    margin: 0.25rem 0 !important;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-bottom-left,
    .footer-bottom-right {
        text-align: center;
        width: 100%;
    }
    
    .footer-bottom-right {
        margin-top: 1rem;
    }
}

/* ===================================
   Scroll to Top
   =================================== */

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: white;
    box-shadow: var(--shadow-orange);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
}

/* ===================================
   Animations
   =================================== */

.fade-in {
    animation: fadeInUp 1s ease;
}

.fade-in-delay-1 {
    animation: fadeInUp 1s ease 0.2s backwards;
}

.fade-in-delay-2 {
    animation: fadeInUp 1s ease 0.4s backwards;
}

.fade-in-delay-3 {
    animation: fadeInUp 1s ease 0.6s backwards;
}

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

/* ===================================
   Responsive Design
   =================================== */

@media (max-width: 768px) {
    .nav {
        height: 50px !important;
        min-height: 50px !important;
        padding: 0.3rem 0.8rem !important;
        gap: 0.5rem !important;
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
    }
    
    .logo {
        flex-shrink: 0;
        order: 1;
    }
    
    .logo-img {
        height: 28px !important;
        width: auto !important;
    }
    
    .header-center {
        position: static !important;
        transform: none !important;
        margin: 0 !important;
        text-align: left !important;
        flex: 1;
        order: 2;
        padding-left: 0rem !important;
        margin-left: -0.2rem !important;
    }
    
    .header-title {
        font-size: 0.95rem !important;
        white-space: nowrap !important;
        margin-bottom: 0.1rem !important;
    }
    
    .header-subtitle {
        font-size: 0.55rem !important;
        white-space: nowrap !important;
        opacity: 0.8;
    }
    
    .header-contacts {
        position: static !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 0.15rem !important;
        padding: 0 !important;
        background: transparent !important;
        backdrop-filter: none !important;
        border-top: none !important;
        order: 3;
        flex-shrink: 0;
    }
    
    .contact-item {
        width: auto !important;
        justify-content: flex-end !important;
        padding: 0.2rem 0.4rem !important;
        gap: 0.2rem !important;
        background: rgba(255, 255, 255, 0.08) !important;
        font-size: 0.6rem !important;
        border-radius: 6px !important;
        white-space: nowrap !important;
    }
    
    .contact-item i {
        font-size: 0.6rem !important;
    }
    
    .contact-label {
        display: inline !important;
        font-size: 0.55rem !important;
        font-weight: 600 !important;
    }
    
    .contact-info {
        flex-direction: row !important;
        gap: 0.15rem !important;
        align-items: center !important;
    }
    
    .contact-number {
        font-size: 0.6rem !important;
        font-weight: 700 !important;
        letter-spacing: 0.2px !important;
    }
    
    .nav {
        flex-wrap: nowrap !important;
        overflow: visible !important;
    }
    
    .fixed-banner {
        top: 50px !important;
        padding: 0.5rem 0.5rem !important;
        display: flex !important;
        animation: gradientShift 5s ease infinite !important;
        overflow: visible !important;
    }
    
    .banner-text-animated {
        font-size: 0.7rem !important;
        letter-spacing: 0.2px !important;
        animation: powerPulse 2s ease-in-out infinite !important;
        white-space: nowrap !important;
        overflow: visible !important;
        padding: 0 0.5rem !important;
    }
    
    .banner-decoration {
        display: none !important;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.8rem !important;
        line-height: 1.3 !important;
        word-break: keep-all !important;
        padding: 0 1rem !important;
        text-align: center !important;
    }
    
    .section-subtitle {
        font-size: 0.9rem !important;
        white-space: normal !important;
        word-break: keep-all !important;
        line-height: 1.6 !important;
        padding: 0 1rem !important;
        text-align: center !important;
    }
    
    .hero {
        min-height: auto;
        padding: 170px 0 80px;
    }
    
    .hero-title {
        font-size: 2rem !important;
        line-height: 1.3 !important;
        text-align: center !important;
        word-break: keep-all !important;
    }
    
    .hero-subtitle {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
        text-align: center !important;
        word-break: keep-all !important;
    }
    
    .emphasis-title {
        font-size: 1rem !important;
        line-height: 1.4 !important;
        text-align: center !important;
        word-break: keep-all !important;
        white-space: normal !important;
        overflow: visible !important;
        padding: 0 1rem !important;
        margin: 0 auto !important;
        letter-spacing: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .emphasis-text {
        font-size: 0.75rem !important;
        line-height: 1.6 !important;
        text-align: center !important;
        word-break: keep-all !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 0.2rem !important;
        padding: 0 0.5rem !important;
    }
    
    .emphasis-line {
        display: block !important;
        white-space: nowrap !important;
    }
    
    .focus-title {
        font-size: 1.05rem !important;
        line-height: 1.6 !important;
        text-align: center !important;
        word-break: keep-all !important;
        padding: 0 1rem !important;
        letter-spacing: -0.3px !important;
    }
    
    .focus-title br {
        display: block !important;
        content: "" !important;
        margin-top: 0.3rem !important;
    }
    
    .focus-banner {
        padding: 2rem 1.5rem !important;
        margin-bottom: 2.5rem !important;
        border-width: 2px !important;
    }
    
    .focus-icon {
        width: 60px !important;
        height: 60px !important;
        margin-bottom: 1rem !important;
    }
    
    .focus-icon i {
        font-size: 2rem !important;
    }
    
    .hero-content {
        padding: 0 2rem !important;
        margin: 0 auto !important;
        max-width: 100% !important;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-badges {
        flex-direction: column;
        gap: 0.75rem !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 2.5rem !important;
        margin: 0 auto !important;
        width: 100% !important;
    }
    
    .badge {
        font-size: 0.75rem !important;
        padding: 0.65rem 0.7rem !important;
        width: auto !important;
        max-width: 95% !important;
        justify-content: center !important;
        text-align: center !important;
        margin: 0 auto !important;
        display: flex !important;
        align-items: center !important;
        white-space: nowrap !important;
    }
    
    .badge-multiline {
        white-space: normal !important;
        line-height: 1.4 !important;
    }
    
    .badge-multiline span {
        line-height: 1.4 !important;
    }
    
    .stats-grid,
    .program-grid,
    .teachers-grid,
    .achievements-grid,
    .campuses-grid,
    .contact-grid,
    .success-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    /* 통계 섹션 모바일 중앙 정렬 */
    .stats-section {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    
    .stats-grid {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 1.5rem !important;
        padding: 0 !important;
    }
    
    /* 통계 카드 아이콘 위치 조정 (모바일) */
    .stat-card {
        padding: 2rem 2rem !important;
        text-align: center !important;
        display: flex;
        flex-direction: column;
        align-items: center !important;
        width: 100%;
        max-width: 380px;
        margin: 0 auto;
    }
    
    .stat-icon {
        font-size: 2.2rem !important;
        margin-bottom: 0.8rem;
        margin-left: 0 !important;
    }
    
    .stat-number {
        font-size: 2.5rem !important;
        text-align: center !important;
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .stat-label {
        font-size: 1rem !important;
        text-align: center !important;
        width: 100%;
        line-height: 1.4;
    }
    
    .stat-sublabel {
        font-size: 0.85rem !important;
        text-align: center !important;
        width: 100%;
        line-height: 1.5;
    }
    
    .program-tabs {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* 모바일 전화번호 버튼 크기 조정 */
    .phone-buttons {
        gap: 0.5rem !important;
    }
    
    .btn-phone {
        padding: 0.4rem 0.8rem !important;
        font-size: 0.75rem !important;
        gap: 0.4rem !important;
    }
    
    .btn-phone i {
        font-size: 0.75rem !important;
    }
    
    .phone-number {
        font-size: 0.7rem !important;
        letter-spacing: 0.5px !important;
    }
    
    /* 강사진 카드 모바일 최적화 */
    .teacher-card {
        padding: 1.5rem !important;
        text-align: center !important;
    }
    
    .teacher-name {
        font-size: 1.3rem !important;
        margin-bottom: 0.4rem !important;
        word-break: keep-all;
        text-align: center !important;
    }
    
    .teacher-subject {
        font-size: 0.9rem !important;
        margin-bottom: 1rem !important;
        word-break: keep-all;
        text-align: center !important;
    }
    
    .teacher-desc {
        font-size: 0.85rem !important;
        line-height: 1.7 !important;
        word-break: keep-all;
        padding: 0 0.5rem;
        text-align: center !important;
    }
    
    .teacher-desc p {
        font-size: 0.85rem !important;
        line-height: 1.7 !important;
        word-break: keep-all;
        white-space: normal !important;
        text-align: center !important;
    }
    
    .teacher-desc br {
        content: " ";
        display: inline;
    }
    
    .teacher-desc br::after {
        content: " ";
    }
    
    .teacher-photo-wrap {
        height: 280px !important;
        margin-bottom: 1.2rem !important;
    }
    
    /* 합격생 후기 모바일 최적화 */
    .success-card {
        padding: 1.5rem !important;
        text-align: center !important;
    }
    
    .success-badge {
        font-size: 0.8rem !important;
        padding: 0.4rem 0.8rem !important;
        margin: 0 auto !important;
    }
    
    .success-text {
        font-size: 0.9rem !important;
        line-height: 1.7 !important;
        padding-left: 0.5rem !important;
        text-align: center !important;
    }
    
    .success-text::before {
        font-size: 2rem !important;
        top: -0.3rem !important;
    }
    
    .success-info {
        gap: 0.4rem !important;
        text-align: center !important;
    }
    
    .success-name {
        font-size: 0.9rem !important;
        text-align: center !important;
    }
    
    .success-teacher {
        font-size: 0.8rem !important;
        text-align: center !important;
    }
    
    .success-year {
        font-size: 0.75rem !important;
        text-align: center !important;
    }
    
    .success-note {
        font-size: 1rem !important;
        text-align: center !important;
    }
    
    /* 학부모 후기 모바일 최적화 */
    .review-card {
        padding: 1.5rem !important;
        text-align: center !important;
    }
    
    .review-text {
        font-size: 0.85rem !important;
        line-height: 1.7 !important;
        text-align: center !important;
    }
    
    .review-author {
        gap: 0.4rem !important;
        text-align: center !important;
    }
    
    .review-name {
        font-size: 0.9rem !important;
        text-align: center !important;
    }
    
    .review-badge {
        font-size: 0.7rem !important;
        padding: 0.25rem 0.6rem !important;
        margin: 0 auto !important;
    }
    
    .review-note {
        font-size: 1rem !important;
        text-align: center !important;
    }
    
    /* 지역 강조 모바일 최적화 */
    .area-highlight {
        flex-direction: column !important;
        padding: 1.5rem 1rem !important;
        gap: 0.5rem !important;
    }
    
    .area-text {
        font-size: 1rem !important;
        text-align: center;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .area-location {
        font-size: 1.2rem !important;
    }
    
    .area-suffix {
        font-size: 1rem !important;
    }
    
    .area-icon {
        font-size: 1.5rem !important;
    }
    
    /* 강사진 안내 문구 */
    .teachers-notice {
        padding: 2rem 1.5rem !important;
        text-align: center !important;
    }
    
    .teachers-notice h3 {
        font-size: 1.4rem !important;
        line-height: 1.4 !important;
        word-break: keep-all;
        text-align: center !important;
    }
    
    .teachers-notice p {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
        text-align: center !important;
    }
    
    /* 모든 카드 중앙 정렬 통일 */
    .glass,
    .card,
    [class*="-card"] {
        text-align: center !important;
    }
    
    /* CTA 버튼 중앙 정렬 */
    .cta,
    .btn,
    [class*="cta"],
    [class*="btn"] {
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    /* 모든 텍스트 요소 중앙 정렬 */
    h1, h2, h3, h4, h5, h6 {
        text-align: center !important;
    }
    
    p {
        text-align: center !important;
    }
        word-break: keep-all;
    }
    
    /* 캠퍼스 카드 모바일 최적화 */
    .campus-card {
        padding: 1.5rem !important;
    }
    
    .campus-header {
        margin-bottom: 1.5rem !important;
    }
    
    .campus-header h3 {
        font-size: 1.5rem !important;
        word-break: keep-all;
    }
    
    .campus-header i {
        font-size: 1.5rem !important;
    }
    
    .badge-certified {
        font-size: 0.75rem !important;
        padding: 0.4rem 0.8rem !important;
        word-break: keep-all;
        white-space: nowrap;
    }
    
    .info-item {
        margin-bottom: 1.2rem !important;
    }
    
    .info-item strong {
        font-size: 1rem !important;
        margin-bottom: 0.3rem !important;
        word-break: keep-all;
    }
    
    .info-item p {
        font-size: 0.85rem !important;
        line-height: 1.6 !important;
        word-break: keep-all;
    }
    
    .info-item i {
        font-size: 1.2rem !important;
    }
    
    .campus-programs h4 {
        font-size: 1.1rem !important;
        margin-bottom: 0.8rem !important;
        word-break: keep-all;
    }
    
    .campus-title {
        justify-content: center !important;
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        gap: 0.3rem !important;
    }
    
    .campus-title i {
        display: block !important;
        margin: 0 auto !important;
    }
    
    .tab-description {
        font-size: 0.7rem !important;
        white-space: nowrap !important;
        padding: 0 0.3rem !important;
        overflow: visible !important;
        letter-spacing: -0.3px !important;
    }
    
    .program-tags {
        gap: 0.4rem !important;
    }
    
    .tag {
        font-size: 0.75rem !important;
        padding: 0.4rem 0.8rem !important;
        word-break: keep-all;
        white-space: nowrap;
    }
    
    /* 프로그램 탭 모바일 최적화 */
    .program-tab {
        font-size: 0.85rem !important;
        padding: 0.7rem 1.2rem !important;
        word-break: keep-all;
        white-space: nowrap;
    }
    
    .program-card {
        padding: 1.5rem !important;
    }
    
    .program-card h3 {
        font-size: 1.3rem !important;
        word-break: keep-all;
    }
    
    .program-card ul li {
        font-size: 0.85rem !important;
        line-height: 1.6 !important;
        word-break: keep-all;
    }
    
    /* 실적 카드 모바일 최적화 */
    .achievement-card {
        padding: 1.5rem !important;
    }
    
    .achievement-card h3 {
        font-size: 1.3rem !important;
        margin-bottom: 0.8rem !important;
        word-break: keep-all;
    }
    
    .achievement-card p {
        font-size: 0.85rem !important;
        line-height: 1.6 !important;
        word-break: keep-all;
    }
    
    /* 컨테이너 여백 조정 */
    .container {
        padding: 0 1rem !important;
    }
}

/* ===================================
   Highlight Dream Text
   =================================== */

.highlight-dream {
    color: #FFD700 !important;
    font-weight: 900 !important;
    font-size: 1.5em !important;
    text-shadow: 
        0 0 20px rgba(255, 215, 0, 1),
        0 0 40px rgba(255, 215, 0, 1),
        0 0 60px rgba(255, 140, 0, 0.8),
        0 4px 20px rgba(0, 0, 0, 0.8);
    animation: dreamPulse 1.5s ease-in-out infinite !important;
    display: inline-block !important;
    filter: brightness(1.2) !important;
}

@keyframes dreamPulse {
    0%, 100% {
        transform: scale(1);
        text-shadow: 
            0 0 20px rgba(255, 215, 0, 1),
            0 0 40px rgba(255, 215, 0, 1),
            0 0 60px rgba(255, 140, 0, 0.8),
            0 4px 20px rgba(0, 0, 0, 0.8);
    }
    50% {
        transform: scale(1.2);
        text-shadow: 
            0 0 30px rgba(255, 215, 0, 1),
            0 0 60px rgba(255, 215, 0, 1),
            0 0 90px rgba(255, 140, 0, 1),
            0 6px 25px rgba(0, 0, 0, 0.9);
    }
}

/* ===================================
   Text Up (격 위로)
   =================================== */

.text-up {
    display: inline-block;
    transform: translateY(-2px);
    font-size: 0.95em;
}

/* ===================================
   Extra Small Mobile (Galaxy S series 등 360px 이하)
   =================================== */
@media (max-width: 375px) {
    .focus-title {
        font-size: 0.95rem !important;
        line-height: 1.7 !important;
        padding: 0 0.8rem !important;
        letter-spacing: -0.5px !important;
    }
    
    .focus-banner {
        padding: 1.5rem 1rem !important;
    }
    
    .section-title {
        font-size: 1.6rem !important;
        padding: 0 0.8rem !important;
    }
    
    .section-subtitle {
        font-size: 0.85rem !important;
        padding: 0 0.8rem !important;
    }
    
    .stat-card {
        padding: 1.5rem 1.5rem !important;
        max-width: 340px;
    }
    
    .stat-icon {
        font-size: 2rem !important;
    }
    
    .stat-number {
        font-size: 2.2rem !important;
    }
    
    .stat-label {
        font-size: 0.9rem !important;
    }
    
    .teacher-desc {
        font-size: 0.8rem !important;
        padding: 0 0.3rem;
    }
    
    .campus-card {
        padding: 1.2rem !important;
    }
    
    .container {
        padding: 0 0.8rem !important;
    }
}