@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700;900&display=swap');

:root {
    /* Primary Colors */
    --primary-color: #E60012;
    --secondary-color: #4FAA00;

    /* Text Colors */
    --text-dark: #222222;
    --text-gray: #666666;
    --text-white: #FFFFFF;

    /* Background Colors */
    --bg-white: #FFFFFF;
    --bg-light: #F8F9FA;
    --bg-footer: #333333;

    /* Layout */
    --max-width: 1200px;
    --header-height: 80px;
    --border-radius: 20px;
}

.no-underline::after {
    display: none !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul,
ol {
    list-style: none;
}

/* Utilities */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 700;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-white);
}

.btn-primary:hover {
    background-color: #cc0010;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--text-white);
}

.btn-secondary:hover {
    background-color: #449000;
    transform: translateY(-2px);
}

.course-table thead th {
    background-color: #333;
    color: white;
    font-weight: 800;
    text-align: center;
    border: 1px solid #222;
    /* Darker border for header */
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    text-align: left;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    transform: none;
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* New Curriculum Header */
.new-curriculum-header {
    text-align: center;
    margin-bottom: 60px;
}

.new-curriculum-header .main-text {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 10px;
    letter-spacing: -1px;
}

.new-curriculum-header .sub-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
}

/* Philosophy Section (Feature Cards) */
.philosophy-section {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.philosophy-card {
    background: #f8f8f8;
    /* Light gray background */
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    /* Stronger shadow for floating effect */
    transition: transform 0.3s;
    border: none;
    /* Use shadow for definition instead of border */
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.philosophy-card:nth-child(1) {
    border-top: 5px solid #FF6B6B;
}

.philosophy-card:nth-child(2) {
    border-top: 5px solid #4ECDC4;
}

.philosophy-card:nth-child(3) {
    border-top: 5px solid #FFE66D;
}

.philosophy-card:nth-child(4) {
    border-top: 5px solid #1A535C;
}

.philosophy-card:hover {
    transform: translateY(-10px);
}

.philosophy-icon {
    width: 60px;
    height: 60px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.philosophy-card:nth-child(1) .philosophy-icon {
    color: #FF6B6B;
    background: rgba(255, 107, 107, 0.1);
}

.philosophy-card:nth-child(2) .philosophy-icon {
    color: #4ECDC4;
    background: rgba(78, 205, 196, 0.1);
}

.philosophy-card:nth-child(3) .philosophy-icon {
    color: #D4AF37;
    background: rgba(255, 230, 109, 0.1);
}

/* Darker yellow for text visibility */
.philosophy-card:nth-child(4) .philosophy-icon {
    color: #1A535C;
    background: rgba(26, 83, 92, 0.1);
}

.philosophy-title {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--text-dark);
    word-break: keep-all;
}

.philosophy-desc {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.6;
    word-break: keep-all;
}

/* Header */
header {
    background-color: var(--bg-white);
    height: var(--header-height);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.header-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 28px;
    font-weight: 900;
    color: #0056b3;
    /* Changed to Blue as requested */
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 40px;
}

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--primary-color);
}

.header-actions {
    display: flex;
    gap: 10px;
}

.header-btn {
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
}

.header-btn.login {
    background-color: #f0f0f0;
    color: #333;
}

.header-btn.level-test {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 35px;
    /* Increased size */
    font-size: 16px;
    /* Increased font size */
}

/* Hero Section */
.hero {
    margin-top: var(--header-height);
    height: 68vh;
    min-height: 480px;
    background-color: #000;
    position: relative;
    overflow: hidden;
}

.hero-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-slide {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: left;
    color: white;
    width: 100%;
    padding-top: 150px;
}

.course-table {
    width: 100%;
    border-collapse: separate;
    /* Required for border-radius on corners */
    border-spacing: 0;
    min-width: 800px;
    border-radius: 20px;
    /* 3. Rounded edges */
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1), 0 5px 15px rgba(0, 0, 0, 0.05);
    /* 6. Floating effect */
    background: transparent;
    /* Let rows handle bg */
    border: 1px solid #ddd;
}

.course-table thead th {
    background-color: #FF8C00;
    /* 4. Orange Header */
    color: white;
    font-weight: 800;
    text-align: center;
    border: 1px solid #e0e0e0;
    padding: 15px 10px;
    font-size: 1.1rem;
    vertical-align: middle;
}

/* First and last th rounded corners */
/* First and last th rounded corners */
.course-table thead th:first-child {
    border-top-left-radius: 20px;
}

.course-table thead th:last-child {
    border-top-right-radius: 20px;
}

/* Table Body Styles */
.course-table tbody td {
    padding: 20px 15px;
    text-align: center;
    /* Default center */
    border-bottom: 1px solid #ddd;
    border-right: 1px solid #ddd;
    vertical-align: middle;
    background-color: #f9f9f9;
    /* 5. Light Gray Background */
    font-size: 0.95rem;
    color: #333;
}

/* First Column Orange Background? No, header is orange. check prompt. 
"표에서 '단계'가 있는 가로칸은 오렌지색으로 해 주세요" -> This likely means the Header Row ("단계" is in the header). 
Prompt: "표에서 '단계'가 있는 가로칸은 오렌지색으로 해 주세요" -> If it meant the column, it would say '세로칸'. '가로칸' means row. 
So Header Row = Orange. Correct. */

.course-table tbody tr:last-child td:first-child {
    border-bottom-left-radius: 20px;
}

.course-table tbody tr:last-child td:last-child {
    border-bottom-right-radius: 20px;
}

.course-table td:last-child {
    border-right: none;
}

/* Specific Column Styles */
.col-stage {
    font-weight: 900;
    font-size: 1.1rem;
    background-color: #fff !important;
    /* Keep first column white for contrast? Or all gray? Instructions said "나머지 구간은 밝은 그레이색". Let's enable gray for all. */
    background-color: #f9f9f9 !important;
}

.col-desc {
    text-align: left !important;
    line-height: 1.6;
    word-break: keep-all;
    min-width: 250px;
}

.col-common-desc {
    text-align: left;
    padding-left: 30px;
    font-weight: 600;
    line-height: 1.8;
}

/* .col-vocab removed */

.sub-text {
    font-size: 0.85rem;
    font-weight: normal;
    color: #666;
    display: block;
    margin-top: 5px;
}

.btn-sample {
    margin: 3px 2px;
    /* Small horizontal margin */
    font-size: 0.8rem;
    padding: 6px 12px;
    background-color: #888 !important;
    /* Medium Gray */
    color: white !important;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
    font-weight: 500;
}

.btn-sample:hover {
    background-color: #666 !important;



    /* Almost Black */
}

/* Row Styling for "Image Look" */
.row-core {
    background-color: #fff5f5;
}

/* Light Red tint */
.row-core .col-stage {
    color: var(--primary-color);
    font-weight: 900;
    font-size: 1.5rem;
    text-align: center;
    border-left: 5px solid var(--primary-color);
}

.text-core {
    color: var(--primary-color);
    font-weight: 800;
}

.row-dev {
    background-color: #f0fff4;
}

/* Light Green tint */
.row-dev .col-stage {
    color: var(--secondary-color);
    font-weight: 900;
    font-size: 1.5rem;
    text-align: center;
    border-left: 5px solid var(--secondary-color);
}

.text-dev {
    color: var(--secondary-color);
    font-weight: 800;
}

.row-exp {
    background-color: #f3e5f5;
}

/* Light Purple tint */
.row-exp .col-stage {
    color: #9c27b0;
    font-weight: 900;
    font-size: 1.5rem;
    text-align: center;
    border-left: 5px solid #9c27b0;
}

.text-exp {
    color: #9c27b0;
    font-weight: 800;
}

.row-management {
    background-color: #f8f9fa;
}

.row-management .col-stage {
    color: #555;
    font-weight: 900;
    font-size: 1.5rem;
    text-align: center;
    border-left: 5px solid #555;
}

.course-table tbody tr:last-child td:first-child {
    border-bottom-left-radius: 15px;
}

.course-table tbody tr:last-child td:last-child {
    border-bottom-right-radius: 15px;
}


.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
    opacity: 0;
    transform: translate(50px, -200px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    line-height: 1.6;
    opacity: 0;
    transform: translate(50px, -200px);
    transition: opacity 0.8s ease-out 0.2s, transform 0.8s ease-out 0.2s;
}

.hero-slide.active .hero-title,
.hero-slide.active .hero-subtitle {
    opacity: 1;
    transform: translate(0, 0);
}

/* Slider Controls */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 20;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.5);
}

.slider-btn.prev {
    left: 30px;
}

.slider-btn.next {
    right: 30px;
}

.slider-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 20;
}

.indicator {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.indicator.active {
    background: white;
    transform: scale(1.2);
}

/* Programs Section */
.programs {
    padding: 100px 0;
    background-color: var(--bg-white);
}

.program-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.program-card {
    background: #fff;
    border-radius: var(--border-radius);
    padding: 30px 20px;
    text-align: left;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    border: 1px solid #eee;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.program-icon {
    width: 80px;
    height: 80px;
    margin: 0 0 20px 0;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.program-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.program-desc {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Features Section */
.features {
    padding: 100px 0;
    background-color: var(--secondary-color);
    /* Green Background */
    color: white;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.feature-img img {
    width: 100%;
    border-radius: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.feature-content h3 {
    color: rgba(255, 255, 255, 0.9);
    /* Lighter text for subtitle */
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-content h2 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.3;
}

.feature-content p {
    color: rgba(255, 255, 255, 0.9);
    /* White text */
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* Sticky Action Bar (Bottom) */
.sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    padding: 15px 0;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    z-index: 900;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.sticky-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 30px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    color: white;
}

/* Footer */
footer {
    background-color: var(--bg-footer);
    color: #aaa;
    padding: 60px 0 120px;
    /* Extra padding for sticky bar */
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}

.footer-logo {
    color: white;
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 20px;
    display: block;
}

.footer-info p {
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.footer-menu h4 {
    color: white;
    margin-bottom: 20px;
}

.footer-menu ul li {
    margin-bottom: 10px;
}

.footer-menu a:hover {
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .nav-menu {
        display: none;
        /* Mobile menu to be implemented */
    }

    .program-cards {
        grid-template-columns: 1fr 1fr;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* Management System Section */
.management-system {
    position: relative;
    padding: 120px 0;
    background-image: url('../images/system_management.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    text-align: center;
}

.management-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.management-content {
    position: relative;
    z-index: 2;
}

.management-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 2rem;
    opacity: 0.9;
    letter-spacing: 1px;
}

.management-title {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.4;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .management-title {
        font-size: 1.8rem;
    }

    .management-subtitle {
        font-size: 1.1rem;
    }
}

/* Learning Method Section */
.learning-method {
    padding: 100px 0;
    background-color: #eff3f6;
    /* Light Blue-Gray Background */
}

.method-grid-top {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.method-card {
    background: white;
    border-radius: 20px;
    padding: 40px 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.method-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.method-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.color-1 {
    background: linear-gradient(135deg, #7F7FD5, #86A8E7);
    box-shadow: 0 8px 20px rgba(134, 168, 231, 0.4);
}

.color-2 {
    background: linear-gradient(135deg, #FF9966, #FF5E62);
    box-shadow: 0 8px 20px rgba(255, 94, 98, 0.4);
}

.color-3 {
    background: linear-gradient(135deg, #11998e, #38ef7d);
    box-shadow: 0 8px 20px rgba(56, 239, 125, 0.4);
}

.color-4 {
    background: linear-gradient(135deg, #fce38a, #f38181);
    box-shadow: 0 8px 20px rgba(243, 129, 129, 0.4);
}

.method-title {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}

.method-sub {
    font-weight: normal;
    font-size: 0.9em;
    color: var(--text-gray);
    display: block;
    margin-top: 5px;
}

.method-desc {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    word-break: keep-all;
}

.method-system-box {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.system-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.system-icon {
    font-size: 3rem;
    color: var(--primary-color);
    background: var(--bg-light);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.system-text {
    text-align: left;
}

.system-text h3 {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.system-text p {
    font-size: 1.1rem;
    color: #555;
    word-break: keep-all;
}

/* Responsive for Learning Method */
@media (max-width: 992px) {
    .method-grid-top {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .method-grid-top {
        grid-template-columns: 1fr;
    }

    .system-inner {
        flex-direction: column;
        text-align: center;
    }


}

/* Intro Blue Section - Now White */
.intro-blue {
    background-color: #FFFFFF;
    padding: 80px 0;
    color: var(--text-dark);
}

.intro-content {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 50px;
}

.intro-logo {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.intro-logo img {
    max-width: 100%;
    width: 300px;
    /* Large size */
    /* Original logo colors */
}

.intro-text {
    flex: 1.5;
    text-align: right;
    /* Aligned to right as requested */
}

.intro-text h3 {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 30px;
    line-height: 1.4;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 20px;
    display: inline-block;
    color: #0056b3;
    /* Keeping title blue as per brand accent */
}

.intro-main-text {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.6;
}

.intro-sub-text {
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 20px;
    line-height: 1.6;
    color: var(--text-gray);
}

@media (max-width: 768px) {
    .intro-content {
        flex-direction: column;
        text-align: center;
    }

    .intro-text {
        text-align: center;
    }
}

/* Awards Section */
.awards-section {
    padding: 100px 0;
    background-color: #fff;
    border-top: 1px solid #eee;
}

.awards-section .section-title::after {
    display: none;
}

.awards-tabs {
    display: flex;
    justify-content: space-between;
    position: relative;
    max-width: 900px;
    margin: 0 auto 60px;
    padding-bottom: 20px;
}

/* Gray line connecting tabs */
.awards-tabs::before {
    content: '';
    position: absolute;
    top: 50%;
    /* Center vertically with icons roughly */
    left: 40px;
    right: 40px;
    height: 1px;
    background-color: #e0e0e0;
    z-index: 0;
    transform: translateY(-50px);
    /* Adjust based on icon size */
}

/* Vertical separator lines between tabs (as seen in image) */
.awards-tabs::after {
    /* Alternative approach: using borders on tabs or pseudos */
    content: none;
}

.awards-line {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 1px;
    background: #e0e0e0;
    z-index: 0;
    display: none;
    /* Removing the bottom line style in favor of the timeline look */
}

.award-tab {
    position: relative;
    z-index: 1;
    text-align: center;
    cursor: pointer;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.award-tab:hover {
    opacity: 0.8;
}

.award-tab.active {
    opacity: 1;
}

/* Separator lines between years (visual style from image) */
.award-tab:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 60%;
    height: 20px;
    width: 1px;
    background-color: #ccc;
    display: block;
}

/* Modify the ::after to be attached to the tab container maybe? 
   Actually the image shows timeline style. 
   Let's just style the tab items cleanly.
*/

.tab-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(100%);
    transition: filter 0.3s;
    background: #fff;
    /* cover the line */
    padding: 5px;
}

.tab-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.award-tab.active .tab-icon {
    filter: grayscale(0%);
    transform: scale(1.1);
}

.tab-year {
    font-size: 1.2rem;
    color: #888;
    font-weight: 500;
    position: relative;
    padding-top: 20px;
    border-top: 1px solid transparent;
    width: 100%;
    transition: all 0.3s;
}

/* The horizontal line visual */
.awards-tabs {
    border-bottom: 1px solid #e0e0e0;
}

.award-tab::before {
    content: '';
    position: absolute;
    bottom: 0px;
    /* Align with container border-bottom */
    left: 0;
    width: 100%;
    height: 4px;
    /* Active indicator thickness */
    background-color: transparent;
    transition: background-color 0.3s;
}

.award-tab.active::before {
    background-color: #0056b3;
    /* Active Blue */
}

.award-tab.active .tab-year {
    color: #0056b3;
    font-weight: 800;
}


.awards-display {
    max-width: 1000px;
    margin: 0 auto;
    min-height: 300px;
}

.award-content-item {
    display: none;
    align-items: center;
    gap: 60px;
    animation: fadeIn 0.5s ease;
}

.award-content-item.active {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.award-main-img {
    flex: 0 0 350px;
    text-align: center;
}

.award-main-img img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

.award-info {
    flex: 1;
    text-align: left;
}

.award-year-title {
    font-size: 2.5rem;
    font-weight: 300;
    /* Thin font for year */
    color: #4a90e2;
    margin-bottom: 10px;
}

.award-main-title {
    font-size: 2rem;
    font-weight: 400;
    color: #333;
    margin-bottom: 30px;
    line-height: 1.3;
}

.award-description {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.8;
    word-break: keep-all;
}

@media (max-width: 768px) {
    .award-content-item {
        flex-direction: column;
        text-align: center;
    }

    .award-info {
        text-align: center;
    }

    .award-main-img {
        flex: 0 0 auto;
        margin-bottom: 30px;
        max-width: 250px;
    }

    .tab-icon {
        width: 50px;
        height: 50px;
    }

    .tab-year {
        font-size: 0.9rem;
    }
}

/* Curriculum Table Stage Colors */
/* Curriculum Table Stage Colors */
.col-stage {
    white-space: nowrap;
}

.row-core td {
    background-color: #99cc00;
    /* Light Green */
    color: white;
    border-color: #88b700;
}

.row-core .col-stage {
    font-weight: 800;
}

.row-dev td {
    background-color: #669900;
    /* Medium Green */
    color: white;
    border-color: #558000;
}

.row-dev .col-stage {
    font-weight: 800;
}

.row-exp td {
    background-color: #336600;
    /* Dark Green */
    color: white;
    border-color: #224400;
}

.row-exp .col-stage {
    font-weight: 800;
}

.row-management td {
    background-color: #003300;
    /* Very Dark Green */
    color: white;
    border-color: #002200;
}

.row-management .col-stage {
    font-weight: 800;
}

/* Sample Button Style */
.btn-sample {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(255, 255, 255, 0.9);
    color: #333;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-top: 10px;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.btn-sample:hover {
    background-color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    color: var(--primary-color);
}

/* Video Modal Styles */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-modal.active {
    display: flex;
    opacity: 1;
}

.video-container {
    position: relative;
    width: 90%;
    max-width: 800px;
    background: #000;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    line-height: 0;
    /* Remove space under video */
}

.video-container video {
    width: 100%;
    border-radius: 10px;
    outline: none;
}

.close-btn {
    position: absolute;
    top: -50px;
    right: 0;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
}

.close-btn:hover {
    background: white;
    color: #333;
    transform: rotate(90deg);
}

/* E-book Modal Styles */
.ebook-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ebook-modal.active {
    display: flex;
    opacity: 1;
}

.ebook-container {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ebook-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.ebook-content img {
    max-width: 80vw;
    max-height: 80vh;
    border-radius: 5px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    background: white;
}

.ebook-nav-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ebook-nav-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.ebook-close-btn {
    position: absolute;
    top: -50px;
    right: 0;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ebook-close-btn:hover {
    background: white;
    color: #333;
    transform: rotate(90deg);
}

.ebook-counter {
    color: white;
    margin-top: 15px;
    font-size: 1.1rem;
    font-weight: 500;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .ebook-content {
        position: relative;
    }

    .ebook-nav-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        background: rgba(0, 0, 0, 0.5);
    }

    .ebook-nav-btn.prev {
        left: -20px;
    }

    .ebook-nav-btn.next {
        right: -20px;
    }

    .ebook-close-btn {
        top: -60px;
        right: 0;
    }
}

/* Middle School System Styles */
.middle-school-system {
    padding: 100px 0;
    background-color: #ffffff;
    border-top: 1px solid #eee;
}

.ms-title {
    font-size: 2.5rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 60px;
    background: white;
    display: inline-block;
    padding: 10px 40px;
    border: 3px solid #333;
    border-radius: 50px;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 5px 5px 0 #333;
}

.ms-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.ms-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 2px solid;
    display: flex;
    flex-direction: column;
}

.card-yellow {
    border-color: #FFC107;
}

.card-orange {
    border-color: #FF9800;
}

.card-dark-orange {
    border-color: #E65100;
}

.ms-card-header {
    padding: 30px;
    text-align: center;
    color: white;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 160px;
}

.card-yellow .ms-card-header {
    background-color: #FFC107;
}

.card-orange .ms-card-header {
    background-color: #FF9800;
}

.card-dark-orange .ms-card-header {
    background-color: #E65100;
}

.ms-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
    background: rgba(255, 255, 255, 0.2);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ms-card-header h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0;
}

.ms-card-body {
    padding: 30px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: #fff;
    align-items: center;
}

.ms-item {
    text-align: center;
    width: 100%;
}

.ms-item h4 {
    color: #333;
    font-weight: 800;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.ms-item p {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
}

.ms-arrow {
    color: #FF9800;
    margin: 15px 0;
    font-size: 1.2rem;
    display: block;
}

.ms-check-item {
    font-weight: 700;
    color: #444;
}

.full-height-center {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.ms-bottom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 20px;
}

.ms-bottom-box {
    padding: 20px;
    text-align: center;
    font-size: 1.4rem;
    font-weight: 800;
    border-radius: 15px;
    border: 2px solid;
    transition: transform 0.3s;
}

.ms-bottom-box:hover {
    transform: translateY(-5px);
}

.box-yellow {
    color: #FFC107;
    border-color: #FFC107;
    background: rgba(255, 193, 7, 0.05);
}

.box-orange {
    color: #E65100;
    border-color: #E65100;
    background: rgba(230, 81, 0, 0.05);
}

@media (max-width: 992px) {
    .ms-card-grid {
        grid-template-columns: 1fr;
    }

    .ms-bottom-grid {
        grid-template-columns: 1fr;
    }

    .ms-title {
        font-size: 1.8rem;
        width: 100%;
        max-width: 400px;
    }
}

/* Curriculum Header Redesign */
.new-curriculum-header {
    text-align: center;
    margin: 80px 0 60px;
}

.new-curriculum-header .main-text {
    font-size: 4rem !important;
    /* 2x larger */
    font-weight: 900;
    color: #222;
    margin-bottom: 15px;
    text-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    /* Floating effect */
    letter-spacing: -2px;
    line-height: 1.2;
}

.new-curriculum-header .sub-text {
    font-size: 2.5rem !important;
    /* Larger sub-text */
    font-weight: 700;
    color: #555;
    text-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    margin-top: 10px;
    display: block;
}

/* Comparison Visuals */
.comparison-visuals {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 60px;
    align-items: center;
}

.comp-visual-item {
    width: 100%;
    max-width: 900px;
    /* Limit max width for better readability on large screens */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    background: white;
    transition: transform 0.3s ease;
}

.comp-visual-item:hover {
    transform: translateY(-5px);
}

.comp-visual-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* SVG Charts */
.chart-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: #333;
    padding-top: 30px;
}

.chart-container {
    width: 100%;
    padding: 0 20px 40px;
    /* Padding for x-axis labels */
}

.chart-svg {
    width: 100%;
    height: auto;
    max-height: 400px;
    overflow: visible;
    /* To allow text overruns if any */
}

.chart-svg text {
    font-family: 'Noto Sans KR', sans-serif;
    user-select: none;
}

/* Comparison Table */
.comparison-table-wrapper {
    margin: 0 auto 60px;
    overflow-x: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: white;
    min-width: 800px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #ddd;
}

.comparison-table th {
    background: #FF8C00;
    /* Match existing Curriculum table header */
    color: white;
    padding: 15px;
    font-weight: 800;
    text-align: center;
    border: 1px solid #e0e0e0;
    font-size: 1.1rem;
}

.comparison-table th:first-child {
    border-top-left-radius: 20px;
}

.comparison-table th:last-child {
    border-top-right-radius: 20px;
}

.comparison-table td {
    padding: 20px;
    vertical-align: top;
    border-bottom: 1px solid #eee;
    border-right: 1px solid #eee;
    line-height: 1.6;
    font-size: 0.95rem;
}

.comparison-table td:last-child {
    border-right: none;
}

.comp-stage {
    font-weight: 900;
    font-size: 1.2rem;
    text-align: center;
    vertical-align: middle !important;
    background: #f9f9f9;
    color: #333;
}

.comp-row-core .comp-stage {
    color: var(--primary-color);
    border-left: 5px solid var(--primary-color);
}

.comp-row-dev .comp-stage {
    color: var(--secondary-color);
    border-left: 5px solid var(--secondary-color);
}

.comp-row-exp .comp-stage {
    color: #9c27b0;
    border-left: 5px solid #9c27b0;
}

.comp-data strong {
    display: block;
    margin-top: 10px;
    color: #333;
    font-weight: 700;
}

.comp-data strong:first-of-type {
    margin-top: 0;
}

.comp-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: white;
}

.comp-badge.pub {
    background: #2196F3;
}

.comp-badge.lf {
    background: var(--primary-color);
}

.comp-pub-bg {
    background-color: #f8fbff;
}

.comp-lf-bg {
    background-color: #fff9f9;
}

.comp-result {
    vertical-align: middle !important;
    text-align: center;
    background: #fff;
    padding: 15px !important;
}

.gap-box {
    background: #fff3e0;
    border: 1px solid #ffb74d;
    padding: 15px;
    border-radius: 10px;
    color: #e65100;
    font-size: 0.9rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.gap-box i {
    display: block;
    font-size: 1.4rem;
    margin-bottom: 5px;
    color: #ef6c00;
}

.gap-box strong {
    display: block;
    font-size: 1.05rem;
    margin: 5px 0;
    color: #d84315;
    font-weight: 900;
}

/* =========================================
   Modern Curriculum Table Redesign Overrides
   ========================================= */

/* Table Structure: Clean & Spacious */
.course-table {
    border: none !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
    /* Softer shadow */
}

.course-table tbody td {
    padding: 24px 20px !important;
    background-color: #fff !important;
    /* Force White */
    border-bottom: 1px solid #f0f0f0 !important;
    border-right: none !important;
    color: #555 !important;
    font-size: 0.95rem !important;
}

.course-table tbody tr:last-child td {
    border-bottom: none !important;
}

/* Hover Effect */
.course-table tbody tr:hover td {
    background-color: #fafbfc !important;
}

/* Header */
.course-table thead th {
    border: none !important;
    background-color: #ff8c00;
    /* Keep orange */
    padding: 18px 10px !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 1rem !important;
}

/* Row Accents (Replacing full bg) */
.row-core {
    background-color: #fff !important;
}

.row-core .col-stage {
    border-left: 5px solid #ff6b6b !important;
    color: #ff6b6b !important;
    background-color: #fff !important;
}

.row-dev {
    background-color: #fff !important;
}

.row-dev .col-stage {
    border-left: 5px solid #4ecdc4 !important;
    color: #2cb5ac !important;
    background-color: #fff !important;
}

.row-exp {
    background-color: #fff !important;
}

.row-exp .col-stage {
    border-left: 5px solid #9c27b0 !important;
    color: #9c27b0 !important;
    background-color: #fff !important;
}

.row-management {
    background-color: #fff !important;
}

.row-management .col-stage {
    border-left: 5px solid #777 !important;
    color: #555 !important;
    background-color: #fff !important;
}

/* Modern Pill Buttons */
.btn-sample {
    margin: 4px !important;
    padding: 8px 18px !important;
    background-color: #fff !important;
    color: #666 !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 50px !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03) !important;
    transition: all 0.2s ease !important;
    display: inline-flex !important;
    align-items: center;
    gap: 6px !important;
}

.btn-sample:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1) !important;
    border-color: #ccc !important;
    background-color: #fff !important;
    color: #333 !important;
}

.btn-sample i {
    font-size: 1rem !important;
    color: #888 !important;
}

.btn-sample:hover i {
    color: #333 !important;
}

/* Typography Improvements */
.col-goal {
    font-weight: 700 !important;
    color: #333 !important;
    font-size: 1rem !important;
}

.col-desc {
    line-height: 1.7 !important;
    color: #666 !important;
}

.col-vocab {
    background: #f8f9fa !important;
    padding: 8px 12px !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    color: #555 !important;
    font-size: 0.9rem !important;
    display: inline-block !important;
}

/* Refined Border Overrides (Darker Gray) */
.course-table tbody td {
    border-bottom: 1px solid #ccc !important;
    /* Darker border */
    border-right: 1px solid #eee !important;
    /* Soft vertical separation */
}

/* =========================================
   Comparison Table Styles (Added)
   ========================================= */
.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    /* Consistent shadow */
    margin-bottom: 60px;
    border: 1px solid #ddd;
    /* Outer border */
}

.comparison-table thead th {
    background-color: #FF8C00;
    /* Match brand orange */
    color: white;
    padding: 18px 10px;
    font-weight: 700;
    border-bottom: 1px solid #e0e0e0;
    font-size: 1rem;
}

.comparison-table tbody td {
    padding: 24px 20px;
    background-color: #fff;
    border-bottom: 1px solid #ccc;
    /* Darker border as requested */
    border-right: 1px solid #eee;
    /* Light vertical divider */
    vertical-align: top;
    /* Top align for better reading of content */
    color: #444;
    line-height: 1.6;
}

/* Remove right border from last column */
.comparison-table th:last-child,
.comparison-table td:last-child {
    border-right: none;
}

/* Remove bottom border from last row */
.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

/* Stage Column Styling */
.comp-stage {
    font-weight: 900;
    font-size: 1.2rem;
    color: #333;
    background-color: #fafafa;
    /* Slightly distinct bg for header col */
    vertical-align: middle !important;
}

/* Gap Analysis Box */
.gap-box {
    background-color: #fff3e0;
    border: 1px solid #ffe0b2;
    padding: 15px;
    border-radius: 12px;
    color: #e65100;
    font-size: 0.95rem;
    font-weight: 700;
}

/* =========================================
   Text Comparison Section Styles
   ========================================= */
.text-comparison-section {
    padding: 80px 0 120px;
    background-color: #f8f9fa;
    /* Light gray background */
}

.text-comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.text-comparison-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    border: 1px solid #eee;
}

.text-comp-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #333;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid;
    display: inline-block;
}

/* Color Coding Titles */
.text-comparison-card:first-child .text-comp-title {
    border-color: #2196F3;
    /* Blue for Public Edu */
    color: #1976D2;
}

.text-comparison-card:last-child .text-comp-title {
    border-color: #E60012;
    /* Red for Little Fox */
    color: #C00;
}

.text-comp-image-wrapper {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #eee;
}

.text-comp-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s;
}

.text-comp-image-wrapper:hover img {
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .text-comparison-grid {
        grid-template-columns: 1fr;
    }
}

/* Adjust spacing for 'Systematic Lecture' card to balance height */
.card-yellow .ms-card-body {
    gap: 12px !important;
    padding: 20px 20px !important;
}

.card-yellow .ms-item h4 {
    margin-bottom: 2px !important;
    font-size: 1.05rem !important;
}

.card-yellow .ms-item p {
    font-size: 0.9rem !important;
}

.card-yellow .ms-arrow {
    margin: 8px 0 !important;
    font-size: 1rem !important;
}

/* Large Intro Heading */
.intro-heading-large {
    font-size: 200%;
    /* 2x size */
    line-height: 1.3;
    display: block;
    margin-bottom: 10px;
}
/* Mobile Navigation Styles */
.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 10px;
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    transition: all 0.3s ease-in-out;
    opacity: 0;
    visibility: hidden;
}

.mobile-nav-overlay.active {
    right: 0;
    opacity: 1;
    visibility: visible;
}

.mobile-nav-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 85%;
    max-width: 400px;
    height: 100%;
    background: var(--bg-white);
    box-shadow: -5px 0 20px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    padding: 20px;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav-overlay.active .mobile-nav-content {
    transform: translateX(0);
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 30px;
}

.mobile-logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary-color);
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-gray);
    cursor: pointer;
    padding: 5px;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-link {
    display: flex;
    align-items: center;
    padding: 15px;
    background: white; /* Clean white card look */
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03); /* Subtle shadow */
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 1.1rem;
    position: relative;
    transition: transform 0.2s;
    border: 1px solid #f8f8f8;
}

.mobile-link:hover {
    transform: translateX(5px);
    background: #fafafa;
}

.mobile-link .icon-container {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: white;
    font-size: 1.2rem;
}

.mobile-link .arrow {
    margin-left: auto;
    color: #ddd;
    font-size: 0.9rem;
}

/* Icon Colors */
.color-1 { background: linear-gradient(135deg, #FF6B6B, #EE5D5D); box-shadow: 0 4px 10px rgba(238, 93, 93, 0.3); }
.color-2 { background: linear-gradient(135deg, #4ECDC4, #45B7AF); box-shadow: 0 4px 10px rgba(78, 205, 196, 0.3); }
.color-3 { background: linear-gradient(135deg, #FFD93D, #F4C430); box-shadow: 0 4px 10px rgba(255, 217, 61, 0.3); }
.color-4 { background: linear-gradient(135deg, #6C5CE7, #5D4FC4); box-shadow: 0 4px 10px rgba(108, 92, 231, 0.3); }
.color-5 { background: linear-gradient(135deg, #A8E6CF, #8EDCBF); box-shadow: 0 4px 10px rgba(168, 230, 207, 0.3); }

/* Responsive Adjustments */
@media (max-width: 768px) {
    .nav-menu { display: none; }
    .header-actions .header-btn { display: none; } /* Hide default My Page button on mobile */
    .mobile-menu-btn { display: block; }
    
    .hero-title {
        font-size: 1.8rem; /* Smaller, cleaner title */
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .logo img { height: 30px; }
    .logo { font-size: 1.2rem; }
    
    .course-table {
        display: block;
        width: 100%;
        overflow-x: auto;
    }
}

