/* 
===============================================
Premium Academy Theme CSS
Colors: Logo Navy (#001E5F), Logo Teal (#00AEB0)
===============================================
*/

:root {
    /* Logo Based Colors */
    --primary-color: #001e5f; 
    --primary-light: #163673;
    --accent-color: #00aeb0;  
    --accent-color-hover: #009395;
    
    --text-dark: #1e293b;
    --text-gray: #475569;
    --bg-light: #f4f7f9;
    --bg-white: #ffffff;
    
    /* Typography */
    --font-serif: 'Noto Serif KR', serif;
    --font-sans: 'Pretendard', sans-serif;
    
    /* Layout */
    --container-max: 1100px;
    --border-radius: 12px;
    --box-shadow: 0 10px 40px rgba(0, 30, 95, 0.08); /* Navy shadow */
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
    font-family: var(--font-sans); color: var(--text-dark);
    background-color: var(--bg-white); line-height: 1.6; overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 { font-family: var(--font-serif); font-weight: 600; line-height: 1.3; letter-spacing: -0.5px;}
a { text-decoration: none; color: inherit; }

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

/* Typography Common */
.section-title {
    font-size: 2.4rem; text-align: center; color: var(--primary-color);
    margin-bottom: 20px; position: relative; padding-bottom: 20px; font-weight: 900;
}
.section-title::after {
    content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 60px; height: 3px; background-color: var(--accent-color); border-radius: 3px;
}
.section-subtitle { text-align: center; color: var(--text-gray); font-size: 1.2rem; margin-bottom: 60px; font-weight: 400;}
.text-center { text-align: center; }
.text-white { color: #fff !important; }

/* ================== Premium Header ================== */
#main-header {
    position: fixed; top: 0; width: 100%; z-index: 1000;
    transition: var(--transition);
    padding: 15px 0;
    /* Permanent White Background */
    background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(0,0,0,0.05);
}
.header-container { display: flex; justify-content: space-between; align-items: center; }

/* Logo integration is Flawless */
.logo a { display: flex; align-items: center; }
.logo-img { height: 48px; width: auto; object-fit: contain; }

.nav-links { display: flex; gap: 35px; }
.nav-links a {
    font-size: 1rem; font-weight: 600; color: var(--primary-color);
    transition: var(--transition); letter-spacing: -0.3px;
}
.nav-links a:hover { color: var(--accent-color); }

/* ================== Hero Section ================== */
.hero-section {
    position: relative; height: 100vh; min-height: 700px;
    display: flex; align-items: center; justify-content: center;
    text-align: center; color: var(--bg-white);
    margin-top: 0;
}
.hero-bg-img {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover; z-index: -2;
}
.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(0, 30, 95, 0.90) 0%, rgba(0, 15, 45, 0.7) 100%);
    z-index: -1;
}
.hero-content { max-width: 800px; margin-top: 60px; }
.hero-subtitle {
    font-family: var(--font-sans); font-size: 1.1rem; letter-spacing: 5px;
    color: var(--accent-color); margin-bottom: 25px; font-weight: 700;
}
.hero-title { font-size: 3.8rem; line-height: 1.25; margin-bottom: 30px; font-weight: 900;}
.hero-title-sub { font-size: 2.2rem; font-weight: 400; opacity: 0.9; }
.hero-desc { font-size: 1.3rem; font-weight: 300; opacity: 0.9; margin-bottom: 40px; line-height: 1.8; }
.hero-slogan { font-style: italic; font-size: 1.3rem; color: var(--accent-color); margin-bottom: 50px; }

/* Buttons */
.btn-primary {
    display: inline-block; padding: 18px 45px; background-color: var(--accent-color); color: var(--bg-white);
    border-radius: 50px; font-weight: 700; font-size: 1.2rem; transition: var(--transition); box-shadow: 0 4px 20px rgba(0, 174, 176, 0.4);
}
.btn-primary:hover {
    background-color: var(--primary-color); transform: translateY(-3px); box-shadow: 0 6px 25px rgba(0, 30, 95, 0.5);
}
.btn-secondary {
    display: inline-block; padding: 14px 35px; background-color: transparent; color: var(--primary-color);
    border: 2px solid var(--primary-color); border-radius: 50px; font-weight: 600; transition: var(--transition);
}
.btn-secondary:hover { background-color: var(--primary-color); color: var(--bg-white); }

/* ================== Overview & Cards ================== */
.overview-section { background-color: var(--bg-white); }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.card {
    background: var(--bg-white); border: 1px solid rgba(0,30,95,0.06); padding: 50px 35px;
    border-radius: var(--border-radius); text-align: center; transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}
.card:hover { transform: translateY(-10px); box-shadow: var(--box-shadow); border-color: var(--accent-color); }
.card-icon { font-size: 3.5rem; margin-bottom: 25px; }
.card-title { font-size: 1.5rem; color: var(--primary-color); margin-bottom: 15px; font-weight: 700; }
.card-desc { color: var(--text-gray); font-size: 1.05rem; line-height: 1.6; }

/* ================== Outcomes ================== */
.outcomes-section { background-color: var(--primary-color); color: var(--bg-white); }
.outcomes-section .section-title::after { background-color: var(--accent-color); }
.outcomes-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; margin-top: 50px; }
.outcome-item {
    display: flex; align-items: flex-start; gap: 15px; background: rgba(255,255,255,0.05); padding: 30px;
    border-radius: var(--border-radius); border-left: 3px solid var(--accent-color);
    transition: var(--transition);
}
.outcome-item:hover { background: rgba(255,255,255,0.1); transform: translateX(5px);}
.outcome-bullet { color: var(--accent-color); font-weight: bold; font-size: 1.4rem; line-height: 1;}
.outcome-item p { font-size: 1.05rem; opacity: 0.95; margin:0; line-height: 1.5;}
.outcome-item b { color: var(--accent-color); }

/* ================== Instructors ================== */
.instructors-section { background-color: var(--bg-light); }
.instructor-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; margin-top: 50px; }
.instructor-card {
    background: var(--bg-white); border-radius: var(--border-radius); overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04); transition: var(--transition);
}
.instructor-card:hover { box-shadow: var(--box-shadow); transform: translateY(-5px); }
.instructor-img-wrapper { width: 100%; aspect-ratio: 3/4; overflow: hidden; background-color: #e9ecef; position: relative; }
.instructor-img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform 0.6s ease; }
.instructor-card:hover .instructor-img { transform: scale(1.05); }
.placeholder-wrapper { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #e2e8f0, #cbd5e1); }
.placeholder-text { font-family: var(--font-serif); font-size: 2.5rem; color: #94a3b8; font-weight: bold; }
.instructor-info { padding: 35px 30px; text-align: left; }
.instructor-name { font-size: 1.7rem; color: var(--primary-color); margin-bottom: 5px; font-weight: 900; text-align: center;}
.instructor-role { color: var(--accent-color); font-size: 1rem; font-weight: 700; margin-bottom: 20px; text-align: center;}
.instructor-bio { color: var(--text-gray); font-size: 1rem; line-height: 1.6; }

.instructor-section-title {
    color: var(--accent-color);
    font-size: 0.95rem;
    font-weight: 800;
    margin-top: 25px;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(0,30,95,0.08);
    padding-bottom: 8px;
}
.instructor-list {
    list-style-type: none;
    padding-left: 0;
}
.instructor-list li {
    position: relative;
    padding-left: 12px;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.5;
}
.instructor-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* ================== Curriculum Table ================== */
.table-container {
    overflow-x: auto; margin-top: 50px; background: var(--bg-white); border-radius: var(--border-radius);
    box-shadow: 0 4px 20px rgba(0,0,0,0.04); padding: 30px;
}
.curriculum-table { width: 100%; border-collapse: collapse; text-align: left; }
.curriculum-table th, .curriculum-table td { padding: 20px; border-bottom: 1px solid #e2e8f0; }
.curriculum-table th { font-family: var(--font-serif); color: var(--primary-color); font-weight: 700; border-bottom: 2px solid var(--primary-color); font-size: 1.1rem;}
.curriculum-table td { font-size: 1.05rem; }
.curriculum-table .session-no { font-weight: 900; color: var(--primary-color); }
.badge { display: inline-block; padding: 6px 14px; border-radius: 20px; font-size: 0.85rem; font-weight: 700; }
.badge.online { background-color: rgba(0, 174, 176, 0.1); color: var(--accent-color); }
.badge.offline { background-color: rgba(0, 30, 95, 0.1); color: var(--primary-color); }
.highlight-row { background-color: rgba(0, 174, 176, 0.03); }

/* ================== Schedule Box ================== */
.schedule-section { padding-top: 50px; }
.schedule-box {
    background: var(--bg-white); border-top: 5px solid var(--accent-color); padding: 50px;
    max-width: 800px; margin: 40px auto 0; border-radius: var(--border-radius); text-align: center;
    box-shadow: 0 4px 30px rgba(0,0,0,0.05);
}
.schedule-box p { font-size: 1.3rem; margin-bottom: 20px; color: var(--text-dark); }
.schedule-box strong { color: var(--primary-color); display: inline-block; width: 100px; text-align: right; margin-right: 15px;}
.final-slogan { font-family: var(--font-serif); font-size: 1.8rem; color: var(--primary-color); font-weight: 900; line-height: 1.5; }

/* ================== Footer ================== */
.main-footer { background-color: #000c28; padding: 40px 0; color: rgba(255,255,255,0.4); font-size: 0.95rem; letter-spacing: 1px; }

/* ================== Responsive ================== */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero-section { padding-top: 80px; }
    .hero-content { margin-top: 80px; }
    .hero-title { font-size: 2.5rem; }
    .hero-title-sub { font-size: 1.6rem; }
    .hero-desc { font-size: 1.1rem; }
    .card-grid, .outcomes-grid, .instructor-grid { grid-template-columns: 1fr; }
    .schedule-box p { font-size: 1.1rem; }
    .schedule-box strong { display: block; text-align: center; margin: 0 0 5px 0; width: 100%;}
}
