/* ==========================================================================
   [DESIGN SYSTEM & STYLESHEET FOR APPLE ENGLISH ACADEMY]
   Premium, Minimal, Typography-Focused Architecture (No Images)
   ========================================================================== */

/* 1. CSS CUSTOM PROPERTIES (VARIABLES)
   -------------------------------------------------------------------------- */
:root {
    /* Color Palette */
    --color-bg-primary: #FFFFFF;
    --color-bg-secondary: #FAF9F6;
    /* Warm alabaster off-white for trust and luxury */
    --color-bg-tertiary: #F3F1EB;
    --color-text-primary: #111111;
    /* Deep charcoal black */
    --color-text-secondary: #5E5E62;
    /* Refined slate gray */
    --color-text-muted: #8E8E93;

    --color-navy: #0F223D;
    /* Academic deep navy accent */
    --color-navy-light: #1A3459;
    --color-navy-trans: rgba(15, 34, 61, 0.04);

    --color-gold: #C5A880;
    /* Elegant soft gold for borders/tags */
    --color-gold-light: #D4BE9F;
    --color-gold-trans: rgba(197, 168, 128, 0.12);

    --color-border: rgba(17, 17, 17, 0.07);
    --color-border-focus: rgba(15, 34, 61, 0.3);

    /* Typography */
    --font-heading: 'Noto Serif KR', 'Cormorant Garamond', serif;
    --font-body: 'Noto Sans KR', 'Inter', sans-serif;
    --font-display: 'Outfit', sans-serif;

    /* Spacing & Layout */
    --container-max-width: 1100px;
    --header-height: 90px;
    --transition-smooth: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-fast: all 0.25s ease;
}

/* 2. BASE RESET & SCROLL BEHAVIOR
   -------------------------------------------------------------------------- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: var(--color-bg-primary);
    color: var(--color-text-primary);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.8;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

/* 3. COMMON LAYOUT & UTILITIES
   -------------------------------------------------------------------------- */
.section-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 120px 24px;
}

@media (max-width: 768px) {
    .section-container {
        padding: 80px 20px;
    }
}

.section-header {
    margin-bottom: 70px;
    max-width: 800px;
}

.section-header.center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--color-gold);
    margin-bottom: 16px;
    text-transform: uppercase;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--color-navy);
    letter-spacing: -0.01em;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2.1rem;
    }
}

.section-desc {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    margin-top: 20px;
}

.accent-line {
    width: 45px;
    height: 2px;
    background-color: var(--color-gold);
    margin-top: 20px;
}

.accent-line.center {
    margin-left: auto;
    margin-right: auto;
}

.highlight {
    color: var(--color-navy);
    position: relative;
    display: inline-block;
    font-weight: 700;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: var(--color-gold-trans);
    z-index: -1;
}

/* 4. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 2px;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: 1px solid transparent;
    letter-spacing: -0.01em;
}

.btn-large {
    padding: 18px 40px;
    font-size: 1rem;
    letter-spacing: 0.02em;
}

.btn-full {
    width: 100%;
}

.btn-navy {
    background-color: var(--color-navy);
    color: #FFFFFF;
}

.btn-navy:hover {
    background-color: var(--color-navy-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(15, 34, 61, 0.12);
}

.btn-black {
    background-color: var(--color-text-primary);
    color: #FFFFFF;
}

.btn-black:hover {
    background-color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-text-primary);
    border-color: var(--color-text-primary);
}

.btn-outline:hover {
    background-color: var(--color-text-primary);
    color: #FFFFFF;
    transform: translateY(-2px);
}

/* 5. HEADER (NAVBAR)
   -------------------------------------------------------------------------- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: transparent;
    z-index: 1000;
    transition: var(--transition-smooth);
    border-bottom: 1px solid transparent;
}

.main-header.scrolled {
    background-color: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    height: 80px;
}

.header-container {
    max-width: var(--container-max-width);
    height: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-en {
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--color-navy);
}

.logo-ko {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    border-left: 1px solid var(--color-border);
    padding-left: 10px;
    letter-spacing: -0.03em;
}

.nav-menu ul {
    display: flex;
    gap: 40px;
}

.nav-menu a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    position: relative;
    padding: 8px 0;
    letter-spacing: -0.02em;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--color-navy);
    transition: var(--transition-smooth);
}

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

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

.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 22px;
    height: 16px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-nav-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--color-text-primary);
    transition: var(--transition-fast);
}

/* 6. HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background-color: var(--color-bg-primary);
    padding-top: var(--header-height);
    border-bottom: 1px solid var(--color-border);
}

.hero-container {
    max-width: var(--container-max-width);
    width: 100%;
    margin: 0 auto;
    padding: 80px 24px;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-content .badge {
    display: inline-block;
    padding: 6px 18px;
    background-color: var(--color-navy-trans);
    border: 1px solid rgba(15, 34, 61, 0.15);
    color: var(--color-navy);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border-radius: 50px;
    margin-bottom: 30px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.02em;
    margin-bottom: 30px;
    color: var(--color-navy);
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 80vh;
    }

    .hero-title {
        font-size: 2.8rem;
    }
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-secondary);
    margin-bottom: 50px;
    line-height: 1.9;
    letter-spacing: -0.01em;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
}

/* 7. ABOUT SECTION
   -------------------------------------------------------------------------- */
.about-section {
    background-color: var(--color-bg-primary);
    border-bottom: 1px solid var(--color-border);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.65fr;
    gap: 90px;
    align-items: flex-start;
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

.about-lead {
    font-family: var(--font-heading);
    font-size: 1.9rem;
    font-weight: 600;
    line-height: 1.5;
    color: var(--color-navy);
    margin-bottom: 30px;
}

.about-description {
    font-size: 1.05rem;
    color: var(--color-text-secondary);
    margin-bottom: 50px;
    line-height: 1.9;
}

.values-list {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.value-item {
    display: flex;
    gap: 24px;
}

.value-icon {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-gold);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--color-bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid var(--color-border);
}

.value-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.value-content p {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.about-stat-column {
    display: flex;
    flex-direction: column;
    gap: 40px;
    position: sticky;
    top: 140px;
}

.about-stat-card {
    background-color: var(--color-bg-secondary);
    padding: 40px;
    border-radius: 4px;
    border: 1px solid var(--color-border);
    border-left: 3px solid var(--color-gold);
    transition: var(--transition-smooth);
}

.about-stat-card:hover {
    transform: translateX(5px);
    border-left-color: var(--color-navy);
}

.stat-num-large {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    color: var(--color-navy);
    margin-bottom: 12px;
}

.stat-plus {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--color-gold);
    margin-left: 4px;
}

.stat-title-large {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: 10px;
}

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

/* 8. EDUCATION SYSTEM SECTION
   -------------------------------------------------------------------------- */
.system-section {
    background-color: var(--color-bg-secondary);
    border-bottom: 1px solid var(--color-border);
}

.system-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

@media (max-width: 992px) {
    .system-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .system-steps {
        grid-template-columns: 1fr;
    }
}

.step-card {
    background-color: var(--color-bg-primary);
    padding: 45px 35px;
    border-radius: 2px;
    border: 1px solid var(--color-border);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background-color: var(--color-navy);
    transition: var(--transition-smooth);
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.03);
    border-color: rgba(15, 34, 61, 0.15);
}

.step-card:hover::before {
    height: 100%;
}

.step-num {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 300;
    color: var(--color-gold);
    margin-bottom: 24px;
}

.step-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: 16px;
}

.step-text {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* 9. CURRICULUM SECTION
   -------------------------------------------------------------------------- */
.curriculum-section {
    background-color: var(--color-bg-primary);
    border-bottom: 1px solid var(--color-border);
}

.tabs-nav {
    display: flex;
    gap: 16px;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 60px;
}

.tab-btn {
    background: transparent;
    border: none;
    padding: 16px 28px;
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    cursor: pointer;
    position: relative;
    transition: var(--transition-fast);
    letter-spacing: -0.02em;
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--color-navy);
    transition: var(--transition-fast);
}

.tab-btn.active {
    color: var(--color-navy);
    font-weight: 700;
}

.tab-btn.active::after {
    width: 100%;
}

.tabs-content {
    position: relative;
}

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

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

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.curriculum-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

@media (max-width: 768px) {
    .curriculum-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.curriculum-card {
    background-color: var(--color-bg-secondary);
    padding: 50px 45px;
    border-radius: 2px;
    border: 1px solid var(--color-border);
    transition: var(--transition-smooth);
}

@media (max-width: 480px) {
    .curriculum-card {
        padding: 35px 24px;
    }
}

.curriculum-card.featured {
    background-color: var(--color-navy);
    color: #FFFFFF;
    border-color: var(--color-navy);
}

.curriculum-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.02);
}

.curriculum-card.featured:hover {
    box-shadow: 0 15px 35px rgba(15, 34, 61, 0.15);
}

.card-badge {
    display: inline-block;
    padding: 5px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-navy);
    background-color: var(--color-bg-tertiary);
    border-radius: 2px;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.card-badge.highlight {
    background-color: var(--color-gold);
    color: var(--color-navy);
}

.curriculum-card h3 {
    font-family: var(--font-heading);
    font-size: 1.65rem;
    font-weight: 600;
    margin-bottom: 14px;
    line-height: 1.35;
}

.curriculum-card.featured h3 {
    color: #FFFFFF;
}

.card-lead {
    font-size: 1rem;
    color: var(--color-text-secondary);
    margin-bottom: 35px;
}

.curriculum-card.featured .card-lead {
    color: rgba(255, 255, 255, 0.8);
}

.card-details {
    display: flex;
    flex-direction: column;
    gap: 18px;
    border-top: 1px solid var(--color-border);
    padding-top: 35px;
}

.curriculum-card.featured .card-details {
    border-top-color: rgba(255, 255, 255, 0.1);
}

.card-details li {
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.6;
}

.card-details li::before {
    content: '•';
    color: var(--color-gold);
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1;
}

.card-details li strong {
    font-weight: 600;
    color: var(--color-navy);
    min-width: 75px;
    display: inline-block;
}

.curriculum-card.featured .card-details li strong {
    color: var(--color-gold-light);
}

/* 10. DIRECTOR SECTION
   -------------------------------------------------------------------------- */
.director-section {
    background-color: var(--color-bg-secondary);
    border-bottom: 1px solid var(--color-border);
}

.director-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 90px;
    align-items: center;
}

@media (max-width: 992px) {
    .director-layout {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

.director-name-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-top: 8px;
    margin-bottom: 24px;
}

.navy-bold {
    color: var(--color-navy);
    font-weight: 700;
}

.director-lead {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 500;
    line-height: 1.55;
    color: var(--color-navy);
    background-color: rgba(197, 168, 128, 0.1);
    padding: 24px 30px;
    border-radius: 2px;
    margin-bottom: 35px;
    border-left: 4px solid var(--color-gold);
}

.director-intro-text {
    color: var(--color-text-secondary);
    font-size: 1.05rem;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 45px;
    line-height: 1.9;
}

.director-intro-text strong {
    color: var(--color-text-primary);
}

.director-career h4 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: 20px;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 10px;
    letter-spacing: -0.01em;
}

.director-career ul {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.director-career li {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.director-career li::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: var(--color-gold);
    flex-shrink: 0;
}

.director-quote-column {
    display: flex;
    align-items: center;
    justify-content: center;
}

.director-philosophic-quote {
    background-color: var(--color-bg-primary);
    padding: 60px 45px;
    border-radius: 2px;
    border: 1px solid var(--color-border);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.02);
    text-align: center;
    position: relative;
}

.quote-mark-large {
    font-family: var(--font-heading);
    font-size: 5rem;
    color: var(--color-gold);
    line-height: 0.1;
    display: block;
    margin-bottom: 30px;
}

.quote-main-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.6;
    color: var(--color-navy);
    margin-bottom: 28px;
}

.quote-sub-text {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.8;
}

/* 11. CONTACT SECTION
   -------------------------------------------------------------------------- */
.contact-section {
    background-color: var(--color-bg-primary);
    border-bottom: 1px solid var(--color-border);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 90px;
    align-items: flex-start;
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

.contact-lead {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--color-navy);
    margin-top: 8px;
    margin-bottom: 20px;
}

.contact-desc {
    font-size: 1rem;
    color: var(--color-text-secondary);
    margin-bottom: 45px;
    line-height: 1.8;
}

.quick-contact {
    display: flex;
    flex-direction: column;
    gap: 24px;
    border-top: 1px solid var(--color-border);
    padding-top: 35px;
}

.qc-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.qc-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.qc-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-navy);
}

.contact-form-wrapper {
    background-color: var(--color-bg-secondary);
    padding: 55px 45px;
    border-radius: 2px;
    border: 1px solid var(--color-border);
}

@media (max-width: 480px) {
    .contact-form-wrapper {
        padding: 35px 24px;
    }
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-primary);
}

.required {
    color: #D9383A;
    margin-left: 3px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 15px 18px;
    border: 1px solid var(--color-border);
    border-radius: 2px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    background-color: #FFFFFF;
    color: var(--color-text-primary);
    transition: var(--transition-fast);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-navy);
    box-shadow: 0 0 0 3px var(--color-navy-trans);
}

.form-group textarea {
    resize: vertical;
}

/* 12. LOCATION SECTION
   -------------------------------------------------------------------------- */
.location-section {
    background-color: var(--color-bg-secondary);
}

.location-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 70px;
    align-items: center;
}

@media (max-width: 992px) {
    .location-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

.map-container {
    width: 100%;
    height: 420px;
    border-radius: 2px;
    overflow: hidden;
    border: 1px solid var(--color-border);
}

/* Premium Map Placeholder design */
.map-placeholder {
    width: 100%;
    height: 100%;
    background-color: #F3F2EE;
    background-image: radial-gradient(circle, rgba(15, 34, 61, 0.08) 1px, transparent 1px);
    background-size: 24px 24px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.map-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: var(--color-navy);
    color: #FFFFFF;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 2px;
    letter-spacing: 0.1em;
}

.map-pin {
    width: 18px;
    height: 18px;
    background-color: #D9383A;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    position: relative;
    animation: bounce 2s infinite ease-in-out;
    box-shadow: -4px 4px 8px rgba(0, 0, 0, 0.12);
}

.map-pin::after {
    content: '';
    width: 6px;
    height: 6px;
    background-color: #FFFFFF;
    border-radius: 50%;
    position: absolute;
    top: 6px;
    left: 6px;
}

@keyframes bounce {

    0%,
    100% {
        transform: rotate(-45deg) translateY(0);
    }

    50% {
        transform: rotate(-45deg) translateY(-8px);
    }
}

.map-text {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-navy);
    margin-top: 20px;
}

.map-subtext {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    margin-top: 6px;
}

.location-info {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.info-block h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 12px;
    position: relative;
    padding-left: 16px;
    letter-spacing: -0.01em;
}

.info-block h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 3px;
    height: 14px;
    background-color: var(--color-gold);
}

.info-block p {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.info-block p strong {
    color: var(--color-text-primary);
}

/* 13. FOOTER
   -------------------------------------------------------------------------- */
.main-footer {
    background-color: #111111;
    color: #8E8E93;
    padding: 90px 0 45px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.footer-top {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 45px;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: 0.1em;
}

.footer-logo span {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 400;
    color: #8E8E93;
    margin-left: 8px;
}

.footer-motto {
    font-size: 0.95rem;
    color: #5E5E62;
}

.footer-divider {
    border: 0;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.05);
    margin-bottom: 35px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 30px;
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

.footer-meta {
    font-size: 0.8rem;
    line-height: 1.85;
}

.copyright {
    margin-top: 20px;
    color: #5E5E62;
}

.footer-links {
    display: flex;
    gap: 28px;
    font-size: 0.85rem;
}

.footer-links a:hover {
    color: #FFFFFF;
}

/* 14. MODAL
   -------------------------------------------------------------------------- */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background-color: #FFFFFF;
    padding: 55px 45px;
    border-radius: 2px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
    transform: scale(0.9);
    transition: var(--transition-smooth);
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: var(--color-navy-trans);
    color: var(--color-navy);
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 26px auto;
}

.modal-content h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 14px;
}

.modal-content p {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    margin-bottom: 35px;
    line-height: 1.65;
}

/* 15. MOBILE NAVIGATION DRAWER
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100%;
        background-color: #FFFFFF;
        box-shadow: -10px 0 35px rgba(0, 0, 0, 0.04);
        padding: 120px 40px;
        z-index: 999;
        transition: var(--transition-smooth);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 32px;
    }

    .nav-menu a {
        font-size: 1.15rem;
        font-weight: 600;
    }

    .header-cta {
        display: none;
    }

    .mobile-nav-toggle {
        display: flex;
    }

    .mobile-nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(4px, 4px);
    }

    .mobile-nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

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

/* 16. ANIMATION & REVEAL CLASSES
   -------------------------------------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Delay modifiers */
.delay-100 {
    transition-delay: 100ms;
}

.delay-200 {
    transition-delay: 200ms;
}

.delay-300 {
    transition-delay: 300ms;
}

.delay-400 {
    transition-delay: 400ms;
}

/* =========================
   수업 시간 안내
========================= */

.schedule-section {
    padding: 100px 0;
    background: #ffffff;
}

.schedule-section .section-header {
    text-align: left;
    margin-bottom: 50px;
}

.schedule-section .section-label {
    color: #c9a66b;
    letter-spacing: 3px;
    font-size: 14px;
}

.schedule-section h2 {
    font-size: 42px;
    color: #10233f;
    margin: 15px 0;
}

.schedule-section p {
    color: #666;
}


.schedule-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}


.schedule-card {
    border: 1px solid #e8e4dc;
    padding: 45px 35px;
    min-height: 230px;
    background: #fff;
}


.schedule-number {
    font-size: 32px;
    color: #c9a66b;
    display: block;
    margin-bottom: 25px;
}


.schedule-card h3 {
    font-size: 26px;
    color: #10233f;
    margin-bottom: 25px;
}


.schedule-card p {
    font-size: 17px;
    line-height: 1.8;
    color: #444;
}