/* ===================================
   대치NS교육 - Main Stylesheet
   =================================== */

/* CSS Variables - NS Brand Colors */
:root {
    /* Brand Colors - Clean & Simple Design */
    --primary-color: #1B5E3E;        /* NS Forest Green (Starbucks-like) */
    --secondary-color: #2E7D5E;      /* NS Emerald Green */
    --accent-color: #FFFFFF;         /* Changed: Orange → White */
    --dark-color: #0D3B28;           /* Dark Forest Green */
    --light-color: #FFFFFF;          /* Changed: Light Green → Pure White */
    --white: #ffffff;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #333333;             /* NS Text Color */
    --gray-900: #212529;
    
    /* Gradient - Removed Blue, Clean Green & White */
    --gradient-primary: linear-gradient(135deg, #1B5E3E 0%, #2E7D5E 100%);
    --gradient-accent: linear-gradient(135deg, #FFFFFF 0%, #F8F9FA 100%);
    --gradient-dark: linear-gradient(135deg, #0D3B28 0%, #1B5E3E 100%);
    --gradient-hero: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,249,250,0.9) 100%);
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.12);
    
    /* Typography */
    --font-primary: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, 'Helvetica Neue', 'Segoe UI', 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', sans-serif;
    --font-secondary: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, 'Helvetica Neue', 'Segoe UI', 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', sans-serif;
    
    /* Spacing */
    --section-padding: 100px 0;
    --container-max-width: 1200px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    line-height: 1.7;
    color: var(--gray-800);
    background-color: var(--white);
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--dark-color);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

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

ul {
    list-style: none;
}

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

/* Buttons */
.btn-primary,
.btn-outline,
.btn-primary-small {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition-normal);
    text-align: center;
}

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

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

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

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

.btn-primary-small {
    padding: 12px 28px;
    background: transparent;
    color: #FFD700;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 25px;
    white-space: nowrap;
    border: none;
}

.btn-primary-small:hover {
    color: #FFA500;
    background: transparent;
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

/* ===================================
   Navigation
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 17, 40, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-md);
}

.navbar.scrolled {
    background: var(--dark-color);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    max-width: var(--container-max-width);
    margin: 0 auto;
}

/* Logo & Branding */
.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-direction: row;
}

.logo > a {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-image {
    height: 45px;
    width: auto;
    object-fit: contain;
}

.logo h2 {
    color: var(--white);
    font-family: var(--font-secondary);
    font-size: 1.8rem;
    margin: 0;
    line-height: 1;
}

.logo .accent {
    color: var(--accent-color);
}

.logo-subtitle {
    font-size: 0.75rem;
    color: var(--accent-color);
    font-weight: 500;
    margin: 0;
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-menu li a {
    color: var(--white);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    white-space: nowrap;
}

.nav-menu li a.consultation {
    color: #FFD700;
    font-weight: 700;
}

.nav-menu li a.consultation:hover {
    color: #FFA500;
}

.nav-menu li a:not(.consultation)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition-normal);
}

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

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ===================================
   Hero Section - Clean White Design
   =================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        url('../images/snu-gate.jpg') 5% center / cover no-repeat,
        url('../images/yonsei-campus.jpg') 35% center / cover no-repeat,
        url('../images/korea-univ-campus.jpg') 65% center / cover no-repeat,
        url('../images/daechi-dong.jpg') 95% center / cover no-repeat;
    background-blend-mode: lighten;
    opacity: 0.18;
    z-index: 0;
    pointer-events: none;
    filter: grayscale(0%) brightness(1.15) contrast(1.2) saturate(1.3) blur(0.5px);
}

.hero::after {
    content: '서울대 · 대치동학원가 · 연고대';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 6rem;
    font-weight: 900;
    color: rgba(27, 94, 62, 0.02);
    white-space: nowrap;
    letter-spacing: 0.15em;
    z-index: 0;
    pointer-events: none;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.5) 0%, rgba(248, 249, 250, 0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    color: var(--gray-900);
    margin-bottom: 20px;
    font-family: var(--font-secondary);
    line-height: 1.2;
}

.hero-title .accent {
    color: var(--primary-color);
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--gray-700);
    margin-bottom: 30px;
    font-weight: 500;
}

.hero-description {
    margin-bottom: 40px;
}

.hero-description p {
    font-size: 1.1rem;
    color: var(--gray-600);
    margin: 5px 0;
}

.hero-description .highlight {
    color: var(--primary-color);
    font-weight: 600;
}

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

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--gray-500);
    z-index: 2;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--gray-300);
    border-radius: 13px;
    margin: 0 auto 10px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { opacity: 1; top: 8px; }
    100% { opacity: 0; top: 22px; }
}

.scroll-indicator p {
    font-size: 0.85rem;
}

/* ===================================
   Leadership Section
   =================================== */
.leadership {
    padding: var(--section-padding);
    background: var(--light-color);
}

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

.section-title {
    font-size: 2.8rem;
    font-family: var(--font-secondary);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    margin-top: 10px;
    position: relative;
    display: inline-block;
    text-decoration: none;
    border-bottom: none;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-600);
    margin-top: 20px;
}

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

.leadership-grid-three {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

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

.leader-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

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

.leader-card.tech-leader::before {
    background: var(--gradient-primary);
}

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

.leader-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 25px;
}

.tech-leader .leader-tag {
    background: var(--accent-color);
    color: var(--dark-color);
}

.leader-image {
    margin-bottom: 25px;
}

.leader-placeholder {
    width: 120px;
    height: 120px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: var(--shadow-md);
}

.tech-leader .leader-placeholder {
    background: var(--gradient-accent);
}

.leader-placeholder i {
    font-size: 3rem;
    color: var(--white);
}

.tech-leader .leader-placeholder i {
    color: var(--dark-color);
}

.leader-content {
    text-align: center;
}

.leader-name {
    font-size: 1.8rem;
    margin-bottom: 8px;
    color: var(--dark-color);
}

.leader-title {
    color: var(--gray-600);
    margin-bottom: 20px;
    font-size: 1rem;
}

.leader-quote {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 25px 0;
    padding: 20px;
    background: var(--light-color);
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
    line-height: 1.6;
}

.tech-leader .leader-quote {
    color: #d68400;
    border-left-color: var(--accent-color);
}

.leader-highlights {
    text-align: left;
    margin-top: 25px;
}

.leader-highlights li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--gray-700);
}

.leader-highlights i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.expertise-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 20px;
}

.expertise-tags .tag {
    background: var(--light-color);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 2px solid var(--primary-color);
    transition: var(--transition-normal);
}

.expertise-tags .tag:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* ===================================
   Why Section
   =================================== */
.why-section {
    padding: var(--section-padding);
    background: var(--white);
}

.main-message {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-color);
}

.main-message .highlight {
    color: var(--primary-color);
    position: relative;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.why-card {
    background: var(--white);
    border-radius: 15px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    border: 2px solid transparent;
}

.why-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.why-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    position: relative;
}

.why-icon::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    opacity: 0.2;
}

.why-icon.process {
    background: linear-gradient(135deg, #1B5E3E 0%, #2E7D5E 100%);
}

.why-icon.process::before {
    background: linear-gradient(135deg, #1B5E3E 0%, #2E7D5E 100%);
}

.why-icon.diagnosis {
    background: linear-gradient(135deg, #2E7D5E 0%, #1B5E3E 100%);
}

.why-icon.diagnosis::before {
    background: linear-gradient(135deg, #2E7D5E 0%, #1B5E3E 100%);
}

.why-icon.management {
    background: linear-gradient(135deg, #1B5E3E 0%, #2E7D5E 100%);
}

.why-icon.management::before {
    background: linear-gradient(135deg, #1B5E3E 0%, #2E7D5E 100%);
}

.why-icon.faculty {
    background: linear-gradient(135deg, #2E7D5E 0%, #0D3B28 100%);
}

.why-icon.faculty::before {
    background: linear-gradient(135deg, #2E7D5E 0%, #0D3B28 100%);
}

/* Dalkong Character Styling */
.dalkong-character {
    width: 70px;
    height: 70px;
    object-fit: contain;
    animation: float 3s ease-in-out infinite;
}

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

.why-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.why-subtitle {
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.why-description {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ===================================
   Stats Section
   =================================== */
.stats-section {
    padding: 80px 0;
    background: var(--white);
    color: var(--gray-900);
}

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

.stat-item {
    text-align: center;
    padding: 30px 20px;
    border-radius: 15px;
    background: var(--white);
    border: 2px solid var(--gray-100);
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.stat-item:hover {
    background: var(--white);
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.stat-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-secondary);
    margin-bottom: 10px;
}

.stat-number::after {
    content: '+';
    font-size: 2rem;
    margin-left: 5px;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--gray-600);
}

/* ===================================
   CTA Section
   =================================== */
.cta-section {
    padding: var(--section-padding);
    background: var(--light-color);
    text-align: center;
}

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

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.3;
}

.cta-title .accent {
    color: var(--primary-color);
}

.cta-description {
    font-size: 1.1rem;
    color: var(--gray-600);
    margin-bottom: 40px;
    line-height: 1.8;
}

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

.cta-info {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray-700);
    font-size: 1rem;
}

.info-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--dark-color);
    color: var(--gray-300);
    padding: 60px 0 30px;
}

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

.footer-section h3,
.footer-section h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.8rem;
    font-weight: 700;
}

.footer-tagline {
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-top: 10px;
}

.footer-slogan {
    color: var(--primary-color);
    font-weight: 500;
    margin-top: 10px;
}

.footer-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
    margin-bottom: 15px;
}

.footer-logo-small {
    height: 40px;
    width: auto;
    object-fit: contain;
    margin-bottom: 15px;
}

.footer-logo-white {
    height: 50px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.footer-section ul li {
    padding: 8px 0;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.footer-section ul li i {
    margin-right: 10px;
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

.social-links a:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.social-facebook:hover {
    background: #1877F2 !important;
    color: var(--white) !important;
}

.social-instagram:hover {
    background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF, #515BD4) !important;
    color: var(--white) !important;
}

.social-youtube:hover {
    background: #FF0000 !important;
    color: var(--white) !important;
}

.social-kakao:hover {
    background: #FEE500 !important;
    color: #000000 !important;
}

.social-blog:hover {
    background: #03C75A !important;
    color: var(--white) !important;
}

.social-tistory:hover {
    background: #FF5544 !important;
    color: var(--white) !important;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    margin: 5px 0;
    font-size: 0.9rem;
}

/* ===================================
   Back to Top Button
   =================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    z-index: 999;
}

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

.back-to-top:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateY(-5px);
}

/* ===================================
   Animations
   =================================== */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

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

.fade-in-left {
    opacity: 0;
    transform: translateX(-50px);
    animation: fadeInLeft 0.8s ease forwards;
}

@keyframes fadeInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in-right {
    opacity: 0;
    transform: translateX(50px);
    animation: fadeInRight 0.8s ease forwards;
}

@keyframes fadeInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===================================
   Welcome Popup
   =================================== */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-container {
    background: var(--white);
    border-radius: 25px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    position: relative;
    transform: scale(0.8);
    transition: all var(--transition-normal);
}

.popup-overlay.active .popup-container {
    transform: scale(1);
}

.popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    color: var(--dark-color);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
    z-index: 10;
    box-shadow: var(--shadow-md);
}

.popup-close:hover {
    background: var(--accent-color);
    transform: rotate(90deg);
}

.popup-content {
    padding: 60px 50px;
    text-align: center;
}

.popup-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient-accent);
    color: var(--dark-color);
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 25px;
    box-shadow: var(--shadow-md);
}

.popup-badge i {
    font-size: 1.2rem;
}

.popup-title {
    font-size: 2.2rem;
    color: var(--dark-color);
    line-height: 1.4;
    margin-bottom: 30px;
}

.popup-title .highlight {
    color: var(--primary-color);
    background: linear-gradient(to right, rgba(26, 35, 126, 0.1), transparent);
    padding: 0 10px;
}

.popup-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 35px 0;
}

.popup-feature {
    background: var(--white);
    padding: 25px 20px;
    border-radius: 15px;
    transition: var(--transition-normal);
    border: 2px solid transparent;
    box-shadow: var(--shadow-sm);
}

.popup-feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.popup-feature.trophy {
    border-color: rgba(255, 215, 0, 0.3);
}

.popup-feature.trophy:hover {
    background: rgba(255, 215, 0, 0.05);
    border-color: #FFD700;
}

.popup-feature.trophy i {
    color: #FFD700;
    text-shadow: 0 2px 8px rgba(255, 215, 0, 0.4);
}

.popup-feature.book {
    border-color: rgba(67, 160, 71, 0.3);
}

.popup-feature.book:hover {
    background: rgba(67, 160, 71, 0.05);
    border-color: #43A047;
}

.popup-feature.book i {
    color: #43A047;
    text-shadow: 0 2px 8px rgba(67, 160, 71, 0.4);
}

.popup-feature.materials {
    border-color: rgba(30, 136, 229, 0.3);
}

.popup-feature.materials:hover {
    background: rgba(30, 136, 229, 0.05);
    border-color: #1E88E5;
}

.popup-feature.materials i {
    color: #1E88E5;
    text-shadow: 0 2px 8px rgba(30, 136, 229, 0.4);
}

.popup-feature i {
    font-size: 2.8rem;
    margin-bottom: 15px;
    display: block;
}

.popup-feature p {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark-color);
    line-height: 1.4;
}

.popup-desc {
    font-size: 1.1rem;
    color: var(--gray-700);
    line-height: 1.8;
    margin-bottom: 35px;
}

.popup-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.btn-popup-primary,
.btn-popup-outline {
    flex: 1;
    padding: 15px 25px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition-normal);
    text-decoration: none;
}

.btn-popup-primary {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
}

.btn-popup-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

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

.btn-popup-outline:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

.popup-checkbox {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--gray-600);
}

.popup-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* ===================================
   Instructors Page Styles
   =================================== */

/* Page Header */
.page-header {
    background: #F5F1E8;
    color: var(--text-dark);
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    display: none;
}

.page-header::after {
    display: none;
}

.page-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
    color: var(--text-dark);
}

.page-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.85;
    position: relative;
    z-index: 1;
    color: var(--text-dark);
}

.page-intro {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.highlight-text {
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.8);
    padding: 25px 35px;
    border-radius: 15px;
    border: 2px solid var(--primary-color);
    line-height: 1.8;
    color: var(--text-dark);
}

.highlight-text i {
    color: var(--primary-color);
    margin-right: 8px;
    font-size: 1.2rem;
}

/* Dean Section */
.dean-section {
    padding: 80px 0;
    background: #F5F1E8;
}

.crown-icon {
    text-align: center;
    margin-bottom: 20px;
}

.crown-icon i {
    font-size: 3rem;
    color: var(--accent-color);
    filter: drop-shadow(0 4px 8px rgba(255, 214, 0, 0.4));
}

.dean-card {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 50px;
    background: var(--white);
    border-radius: 20px;
    padding: 50px;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
    margin-top: 30px;
}
    background: var(--white);
    border-radius: 20px;
    padding: 50px;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
    margin-top: 30px;
}

.dean-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: var(--gradient-accent);
    border-radius: 50%;
    opacity: 0.1;
}

.dean-image {
    position: relative;
}

.dean-placeholder {
    width: 100%;
    height: 400px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.dean-placeholder i {
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.3);
}

.dean-badge {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: var(--dark-color);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-lg);
    z-index: 2;
}

.dean-badge i {
    font-size: 1.2rem;
}

.dean-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.dean-name {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 5px;
}

.dean-title {
    font-size: 1.1rem;
    color: var(--gray-600);
    margin-bottom: 20px;
}

.dean-quote {
    background: var(--light-color);
    padding: 25px;
    border-radius: 12px;
    border-left: 5px solid var(--primary-color);
    position: relative;
    margin: 20px 0;
}

.dean-quote i {
    color: var(--primary-color);
    opacity: 0.3;
    font-size: 1.5rem;
}

.dean-quote p {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 10px 0;
    line-height: 1.6;
}

.dean-type {
    background: rgba(26, 35, 126, 0.05);
    padding: 20px;
    border-radius: 10px;
    margin: 15px 0;
}

.type-badge {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.dean-highlights h4,
.dean-target h4 {
    font-size: 1.2rem;
    color: var(--dark-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dean-highlights h4 i,
.dean-target h4 i {
    color: var(--accent-color);
    font-size: 1.3rem;
}

.dean-highlights ul {
    display: grid;
    gap: 12px;
}

.dean-highlights li {
    display: flex;
    align-items: start;
    gap: 12px;
    padding: 10px;
    background: rgba(255, 214, 0, 0.05);
    border-radius: 8px;
    line-height: 1.6;
}

.dean-highlights li i {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-top: 3px;
}

.dean-target {
    background: rgba(13, 71, 161, 0.05);
    padding: 20px;
    border-radius: 10px;
    margin-top: 15px;
}

.dean-target p {
    line-height: 1.7;
    color: var(--gray-700);
}

/* Instructors Section */
.instructors-section {
    padding: 80px 0;
}

.math-section {
    background: #F5F1E8;
}

.korean-section {
    background: #F5F1E8;
}

.english-section {
    background: #F5F1E8;
}

.science-section {
    background: #F5F1E8;
}

.society-section {
    background: #F5F1E8;
}

.essay-section {
    background: #F5F1E8;
}

.instructors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 35px;
    margin-top: 50px;
}

.instructor-card {
    background: var(--white);
    border-radius: 18px;
    padding: 35px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.instructor-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition-normal);
}

.instructor-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

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

.instructor-card.legend {
    border: 2px solid var(--accent-color);
}

.instructor-card.legendary {
    border: 2px solid var(--accent-color);
    background: linear-gradient(135deg, rgba(255, 214, 0, 0.05), rgba(255, 255, 255, 1));
}

.card-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent-color);
    color: var(--dark-color);
    padding: 8px 18px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: var(--shadow-md);
    z-index: 2;
}

.instructor-card.legend .card-badge {
    background: linear-gradient(135deg, #1B5E3E, #2E7D5E);
    color: var(--white);
}

.instructor-image {
    margin-bottom: 25px;
}

.instructor-placeholder {
    width: 100%;
    height: 280px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.instructor-placeholder i {
    font-size: 6rem;
    color: rgba(255, 255, 255, 0.3);
}

.instructor-content {
    text-align: center;
}

.instructor-name {
    font-size: 1.8rem;
    color: var(--dark-color);
    margin-bottom: 8px;
}

.instructor-degree {
    font-size: 1rem;
    color: var(--gray-600);
    margin-bottom: 20px;
}

.instructor-quote {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--primary-color);
    font-style: italic;
    padding: 18px;
    background: var(--light-color);
    border-radius: 10px;
    margin: 20px 0;
    line-height: 1.6;
    position: relative;
}

.instructor-quote::before,
.instructor-quote::after {
    content: '"';
    font-size: 2rem;
    color: var(--accent-color);
    opacity: 0.5;
}

.type-tag {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    margin: 15px 0;
}

.instructor-highlights {
    text-align: left;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 2px solid var(--gray-200);
}

.instructor-highlights h4 {
    font-size: 1.1rem;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.instructor-highlights ul {
    display: grid;
    gap: 10px;
}

.instructor-highlights li {
    display: flex;
    align-items: start;
    gap: 10px;
    padding: 8px 0;
    color: var(--gray-700);
    line-height: 1.6;
}

.instructor-highlights li i {
    color: var(--accent-color);
    margin-top: 3px;
    font-size: 1rem;
}

.target-student {
    margin-top: 20px;
    padding: 15px;
    background: rgba(26, 35, 126, 0.05);
    border-radius: 10px;
    text-align: left;
    line-height: 1.7;
    color: var(--gray-700);
}

.target-student strong {
    color: var(--primary-color);
    font-weight: 700;
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 1024px) {
    .leadership-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .dean-card {
        grid-template-columns: 1fr;
        gap: 35px;
        padding: 35px;
    }
    
    .dean-placeholder {
        height: 320px;
    }
    
    .instructors-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--dark-color);
        flex-direction: column;
        gap: 0;
        padding: 20px;
        max-height: 0;
        overflow: hidden;
        transition: var(--transition-normal);
    }
    
    .nav-menu.active {
        max-height: 500px;
    }
    
    .nav-menu li {
        width: 100%;
        text-align: center;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 15px;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-info {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .page-title {
        font-size: 2.2rem;
    }
    
    .dean-card {
        padding: 25px;
    }
    
    .dean-name {
        font-size: 2rem;
    }
    
    .dean-placeholder {
        height: 280px;
    }
    
    .instructors-grid {
        grid-template-columns: 1fr;
    }
    
    .instructor-card {
        padding: 25px;
    }
    
    .instructor-placeholder {
        height: 220px;
    }
    
    /* Popup Responsive */
    .popup-content {
        padding: 50px 30px;
    }
    
    .popup-title {
        font-size: 1.8rem;
    }
    
    .popup-features {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .popup-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero-title {
        font-size: 1.6rem;
    }
    
    .leader-card {
        padding: 25px;
    }
    
    .why-card {
        padding: 25px 15px;
    }
    
    .page-title {
        font-size: 1.8rem;
    }
    
    .dean-card {
        padding: 20px;
    }
    
    .dean-name {
        font-size: 1.7rem;
    }
    
    .dean-quote p {
        font-size: 1.1rem;
    }
    
    .instructor-name {
        font-size: 1.5rem;
    }
}
