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

:root {
    --primary-color: #0055a6;
    --secondary-color: #003d7a;
    --accent-color: #00a8e1;
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #f5f7fa;
    --white: #ffffff;
    --border-color: #e0e0e0;
    --hover-color: #0066cc;
}

body {
    font-family: 'Noto Sans KR', 'Malgun Gothic', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    word-break: keep-all;
    overflow-wrap: break-word;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

/* Header Styles */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background-color: var(--white);
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 30px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.logo-section:hover {
    opacity: 0.8;
}

.university-logo img {
    height: 60px;
    width: auto;
    display: block;
}

.project-logo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 60px;
}

.project-logo h1 {
    color: var(--secondary-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 4px;
    margin-bottom: 5px;
    line-height: 1.3;
}

.project-logo .subtitle {
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: 400;
    line-height: 1.3;
    margin-top: 0px;
}

/* Navigation Styles */
.main-nav {
    background-color: var(--primary-color);
}

.nav-menu {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.nav-item {
    position: relative;
    flex: 1;
}

.nav-item > a {
    display: block;
    padding: 18px 20px;
    color: var(--white);
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
}

.nav-item > a:hover {
    background-color: var(--hover-color);
    font-weight: 700;
}

/* Dropdown Menu */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 999;
}

.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li a {
    display: block;
    padding: 12px 20px;
    color: var(--text-dark);
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border-color);
}

.dropdown li:last-child a {
    border-bottom: none;
}

.dropdown li a:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--white);
    transition: all 0.3s ease;
}

/* Hero Banner */
.hero-banner {
    background: url('assets/background_image.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--white);
    padding: 80px 0;
    position: relative;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

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

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

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

.btn-primary:hover {
    background-color: var(--bg-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

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

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

.hero-image {
    max-width: 500px;
    padding: 0 40px;
}

.placeholder-image {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 80px 40px;
    text-align: center;
    border-radius: 10px;
    color: var(--white);
    font-weight: 600;
}

/* Main Content */
.main-content {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
}

/* Info Cards */
.info-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.info-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

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

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

.info-card h3 {
    color: var(--secondary-color);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.info-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.card-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-block;
    transition: color 0.3s ease;
}

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

/* Section Styles */
.notice-section,
.news-section {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
}

.section-header h2 {
    color: var(--secondary-color);
    font-size: 1.5rem;
}

.more-link {
    color: var(--text-light);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

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

/* Notice List */
.notice-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.notice-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.3s ease;
}

.notice-item:last-child {
    border-bottom: none;
}

.notice-item:hover {
    background-color: var(--bg-light);
}

.notice-badge {
    display: inline-block;
    padding: 4px 12px;
    background-color: var(--border-color);
    color: var(--text-light);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 3px;
    margin-right: 15px;
    min-width: 50px;
    text-align: center;
}

.notice-badge.new {
    background-color: var(--accent-color);
    color: var(--white);
}

.notice-title {
    flex: 1;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.notice-title:hover {
    color: var(--primary-color);
}

.notice-date {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-left: 15px;
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.news-card {
    background-color: var(--bg-light);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.news-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.news-image .placeholder-image {
    background-color: var(--border-color);
    color: var(--text-light);
    padding: 80px 20px;
    height: 100%;
}

.news-content {
    padding: 20px;
}

.news-content h3 {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.news-content p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 10px;
    line-height: 1.5;
}

.news-date {
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: 600;
}

/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-section {
    background-color: var(--white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.sidebar-section h3 {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.quick-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.quick-links li a {
    display: block;
    padding: 10px;
    color: var(--text-dark);
    border-radius: 5px;
    transition: all 0.3s ease;
}

.quick-links li a:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
    padding-left: 15px;
}

.partner-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.partner-banner {
    display: block;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.partner-banner:hover {
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 85, 166, 0.2);
}

.partner-banner .placeholder-image {
    background-color: var(--bg-light);
    color: var(--text-light);
    padding: 40px 20px;
}

.contact-box {
    background-color: var(--primary-color);
    color: var(--white);
}

.contact-box h3 {
    color: var(--white);
    border-bottom-color: rgba(255, 255, 255, 0.3);
}

.contact-info p {
    margin-bottom: 10px;
    line-height: 1.6;
}

.contact-info strong {
    display: inline-block;
    min-width: 90px;
}

/* Footer */
.footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 40px 0 20px;
}

.footer-content {
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 20px;
}

.footer-info h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.footer-info p {
    margin-bottom: 8px;
    opacity: 0.9;
    font-size: 0.9rem;
}

.footer-email {
    color: var(--white);
    text-decoration: underline;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-email:hover {
    opacity: 1;
}

.footer-links h4,
.footer-social h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    opacity: 0.9;
    font-size: 0.9rem;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.3s ease;
    font-weight: 700;
}

.social-icons a:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    opacity: 0.8;
    font-size: 0.85rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }

    .info-cards {
        grid-template-columns: 1fr;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .hero-banner {
        flex-direction: column;
        padding: 60px 0;
    }

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

    .hero-image {
        display: none;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: var(--primary-color);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        z-index: 999;
    }

    .nav-menu.active {
        max-height: 500px;
    }

    .main-nav {
        position: relative;
    }

    .nav-item {
        width: 100%;
    }

    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        display: none;
    }

    .nav-item.active .dropdown {
        display: block;
    }

    .mobile-menu-toggle {
        display: flex;
        margin-left: auto;
    }

    .logo-section {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .project-logo h1 {
        font-size: 1.3rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .section-header h2 {
        font-size: 1.2rem;
    }

    .notice-item {
        flex-wrap: wrap;
    }

    .notice-date {
        width: 100%;
        margin-left: 65px;
        margin-top: 5px;
    }
}

/* Sub Pages Styles */
.page-content {
    min-height: calc(100vh - 400px);
}

.page-header {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: var(--white);
    padding: 40px 0;
    margin-bottom: 40px;
}

.page-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.page-breadcrumb {
    font-size: 0.9rem;
    opacity: 0.9;
}

.page-breadcrumb a {
    color: var(--white);
    text-decoration: underline;
}

.page-breadcrumb span {
    color: var(--white);
}

.content-section {
    padding: 40px 0;
}

.content-box {
    background-color: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.content-box h2 {
    color: var(--secondary-color);
    font-size: 1.8rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--primary-color);
}

.content-box h3 {
    color: var(--secondary-color);
    font-size: 1.4rem;
    margin: 30px 0 15px;
}

.content-box h4 {
    color: var(--text-dark);
    font-size: 1.1rem;
    margin: 20px 0 10px;
}

.intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 30px;
    padding: 20px;
    background-color: var(--bg-light);
    border-left: 4px solid var(--primary-color);
    border-radius: 5px;
}

.intro-text ul {
    list-style: disc;
    margin-top: 15px;
    padding-left: 20px;
}

.intro-text ul li {
    margin: 8px 0;
}

.intro-text p {
    margin-bottom: 10px;
}

/* Greeting Page Styles */
.greeting-header {
    text-align: center;
    margin-bottom: 40px;
}

.greeting-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    margin-top: 30px;
}

.greeting-image {
    text-align: center;
}

.director-photo {
    margin-bottom: 15px;
}

.director-info {
    font-size: 0.95rem;
    line-height: 1.6;
}

.greeting-text p {
    margin-bottom: 20px;
    line-height: 1.8;
    text-align: justify;
}

.signature {
    text-align: right;
    margin-top: 40px;
    font-size: 1.1rem;
}

/* Organization Page Styles */
.organization-chart {
    margin: 60px 0;
}

.org-level-1 {
    display: flex;
    justify-content: center;
    margin-bottom: 0;
}

.org-level-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-top: 0;
    margin-bottom: 0;
}

.org-level-admin {
    display: flex;
    justify-content: center;
    margin-top: 25px;
}

.org-level-admin .org-box {
    max-width: 300px;
}

/* 연결선 스타일 */
.org-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px 0;
}

.connector-line {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
}

.connector-branches {
    width: 80%;
    height: 2px;
    background: linear-gradient(to right, var(--accent-color), var(--primary-color), var(--accent-color));
    position: relative;
}

.connector-branches::before,
.connector-branches::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 30px;
    background: var(--accent-color);
}

.connector-branches::before {
    left: 0;
    top: 0;
}

.connector-branches::after {
    right: 0;
    top: 0;
}

/* 조직 박스 스타일 */
.org-box {
    background: linear-gradient(135deg, #ffffff 0%, var(--bg-light) 100%);
    border: 2px solid var(--border-color);
    border-radius: 15px;
    padding: 25px 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.org-box-link {
    display: block;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.org-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    transition: left 0.5s ease;
}

.org-box:hover::before {
    left: 100%;
}

.org-box.director::before {
    display: none;
}

.org-box.director {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    border-color: var(--primary-color);
    box-shadow: 0 4px 20px rgba(0, 85, 166, 0.3);
    transform: scale(1.05);
}

.org-box:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.org-box.director:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(0, 85, 166, 0.3);
}

.org-box h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    margin-top: 12px;
    color: var(--secondary-color);
    font-weight: 700;
    letter-spacing: -0.5px;
}

.org-box.director h3 {
    color: var(--white);
    font-size: 1.4rem;
}

.org-box p {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-light);
    line-height: 1.6;
}

.org-box.director p {
    color: rgba(255, 255, 255, 0.95);
}

.org-box ul {
    list-style: none;
    padding: 0;
    margin-top: 15px;
    text-align: left;
}

.org-box ul li {
    font-size: 0.88rem;
    font-weight: 500;
    padding: 6px 12px;
    color: var(--text-dark);
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
    margin: 2px 0;
}

.org-box ul li:hover {
    background-color: rgba(0, 85, 166, 0.05);
    border-left-color: var(--primary-color);
    padding-left: 18px;
}

.org-box ul li a {
    color: var(--primary-color);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.org-box ul li a:hover {
    color: var(--hover-color);
    text-decoration: none;
}

.team-info {
    margin-top: 50px;
}

.team-members {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.member-card {
    background-color: var(--bg-light);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.member-card h4 {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.member-card p {
    font-size: 0.9rem;
    margin: 5px 0;
}

/* Curriculum Page Styles */
.curriculum-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.feature-card {
    background-color: var(--bg-light);
    padding: 30px 20px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.feature-card h3 {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-light);
}

.curriculum-structure {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.course-phase {
    background-color: var(--bg-light);
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.course-phase h3 {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.course-phase ul {
    list-style: none;
    padding: 0;
}

.course-phase ul li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    color: var(--text-dark);
}

.course-phase ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.teaching-method, .career-path {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.method-item, .career-item {
    background-color: var(--bg-light);
    padding: 20px;
    border-radius: 8px;
}

.method-item h4, .career-item strong {
    color: var(--secondary-color);
    display: block;
    margin-bottom: 10px;
}

.method-item p, .career-item p {
    font-size: 0.9rem;
    color: var(--text-dark);
    line-height: 1.6;
}

/* Responsive for Sub Pages */
@media (max-width: 1024px) {
    .greeting-content {
        grid-template-columns: 1fr;
    }

    .curriculum-features {
        grid-template-columns: repeat(2, 1fr);
    }

    .curriculum-structure {
        grid-template-columns: 1fr;
    }

    .team-members {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .content-box {
        padding: 20px;
    }

    .page-title {
        font-size: 1.5rem;
    }

    .curriculum-features {
        grid-template-columns: 1fr;
    }

    .teaching-method, .career-path {
        grid-template-columns: 1fr;
    }

    .team-members {
        grid-template-columns: 1fr;
    }

    /* 조직도 반응형 */
    .org-level-3 {
        grid-template-columns: 1fr;
    }

    .org-box.director {
        transform: scale(1);
    }

    .org-box.director:hover {
        transform: translateY(-8px) scale(1.02);
    }

    .connector-branches {
        display: none;
    }

    .connector-line {
        height: 30px;
    }
}

/* Additional Page Styles */

/* Timeline Styles */
.timeline {
    margin: 30px 0;
}

.timeline-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.timeline-year {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    height: fit-content;
}

.timeline-content {
    background-color: var(--bg-light);
    padding: 25px;
    border-radius: 10px;
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.timeline-content ul {
    list-style: disc;
    padding-left: 20px;
    margin: 10px 0;
}

.timeline-content li {
    margin: 8px 0;
}

/* Achievement Grid */
.achievement-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.achievement-card {
    background-color: var(--bg-light);
    padding: 30px 20px;
    border-radius: 10px;
    text-align: center;
}

.achievement-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Location & Transport */
.location-info {
    margin: 30px 0;
}

.map-container {
    margin-bottom: 30px;
}

.address-info, .contact-detail {
    background-color: var(--bg-light);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.transport-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.transport-item {
    background-color: var(--bg-light);
    padding: 20px;
    border-radius: 10px;
}

.transport-item ul {
    list-style: none;
    padding: 0;
    margin-top: 10px;
}

.transport-item li {
    padding: 5px 0;
}

/* Roadmap Styles */
.roadmap-container {
    margin: 40px 0;
}

.roadmap-phase {
    margin-bottom: 40px;
}

.phase-header {
    padding: 20px;
    border-radius: 10px 10px 0 0;
    color: var(--white);
}

.phase-header.phase-1 {
    background-color: #4CAF50;
}

.phase-header.phase-2 {
    background-color: #2196F3;
}

.phase-header.phase-3 {
    background-color: #FF9800;
}

.phase-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    padding: 20px;
    background-color: var(--bg-light);
    border-radius: 0 0 10px 10px;
}

.phase-month {
    background-color: var(--white);
    padding: 15px;
    border-radius: 8px;
}

.phase-month h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.phase-month ul {
    list-style: none;
    padding: 0;
}

.phase-month li {
    padding: 5px 0;
    font-size: 0.9rem;
}

.track-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.track-card {
    background-color: var(--bg-light);
    padding: 25px;
    border-radius: 10px;
    border-top: 4px solid var(--primary-color);
}

.track-card ul {
    list-style: disc;
    padding-left: 20px;
    margin-top: 10px;
}

/* Course List */
.course-list {
    margin: 30px 0;
}

.course-item {
    background-color: var(--bg-light);
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.course-meta {
    display: flex;
    gap: 15px;
    margin: 10px 0;
}

.course-hours, .course-level {
    display: inline-block;
    padding: 5px 15px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 20px;
    font-size: 0.85rem;
}

.course-level {
    background-color: var(--accent-color);
}

.course-item ul {
    list-style: disc;
    padding-left: 20px;
    margin-top: 15px;
}

/* Scholarship Styles */
.scholarship-types {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.scholarship-card {
    background-color: var(--bg-light);
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 15px 0;
}

.scholarship-info ul {
    list-style: disc;
    padding-left: 20px;
    margin: 10px 0;
}

.application-process {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.process-step {
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 15px;
}

.document-list ul {
    list-style: disc;
    padding-left: 20px;
    background-color: var(--bg-light);
    padding: 20px 20px 20px 40px;
    border-radius: 10px;
}

.document-list li {
    margin: 10px 0;
}

.notice-box {
    background-color: #FFF3CD;
    border-left: 4px solid #FFC107;
    padding: 20px;
    border-radius: 5px;
    margin: 30px 0;
}

.notice-box ul {
    list-style: disc;
    padding-left: 20px;
    margin-top: 10px;
}

/* Mentoring Styles */
.mentoring-types {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.mentoring-card {
    background-color: var(--bg-light);
    padding: 25px;
    border-radius: 10px;
}

.mentoring-card ul {
    list-style: disc;
    padding-left: 20px;
    margin: 10px 0;
}

.mentor-list {
    margin: 30px 0;
}

.mentor-profile {
    display: flex;
    gap: 30px;
    background-color: var(--bg-light);
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.mentor-photo {
    flex-shrink: 0;
}

.mentor-title {
    color: var(--primary-color);
    font-weight: 600;
}

.mentor-specialty {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 5px 0;
}

.application-guide ol {
    list-style: decimal;
    padding-left: 20px;
    background-color: var(--bg-light);
    padding: 20px 20px 20px 40px;
    border-radius: 10px;
}

.application-guide li {
    margin: 10px 0;
}

/* Internship Styles */
.internship-benefits {
    margin: 30px 0;
}

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

.benefit-item {
    background-color: var(--bg-light);
    padding: 25px 20px;
    border-radius: 10px;
    text-align: center;
}

.benefit-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 10px;
}

.company-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.company-card {
    background-color: var(--bg-light);
    padding: 20px;
    border-radius: 10px;
}

.company-card ul {
    list-style: disc;
    padding-left: 20px;
    margin-top: 10px;
}

.process-timeline {
    margin: 30px 0;
}

.timeline-step {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.step-marker {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content {
    background-color: var(--bg-light);
    padding: 15px 20px;
    border-radius: 10px;
    flex: 1;
}

.step-duration {
    display: inline-block;
    padding: 3px 10px;
    background-color: var(--accent-color);
    color: var(--white);
    border-radius: 15px;
    font-size: 0.8rem;
    margin-top: 5px;
}

.requirements ul, .requirements ol {
    background-color: var(--bg-light);
    padding: 20px 20px 20px 40px;
    border-radius: 10px;
    margin: 15px 0;
}

.requirements li {
    margin: 8px 0;
}

/* Certificate Styles */
.certificate-support {
    margin: 30px 0;
}

.cert-category {
    margin-bottom: 40px;
}

.cert-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.cert-item {
    background-color: var(--bg-light);
    padding: 20px;
    border-radius: 10px;
}

.cert-org {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 5px 0;
}

.cert-support {
    color: var(--primary-color);
    font-weight: 600;
    margin: 10px 0;
}

.cert-details {
    display: flex;
    gap: 15px;
    margin-top: 10px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.prep-courses {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.prep-course-card {
    background-color: var(--bg-light);
    padding: 20px;
    border-radius: 10px;
}

.application-procedure ol {
    list-style: decimal;
    padding-left: 20px;
    background-color: var(--bg-light);
    padding: 20px 20px 20px 40px;
    border-radius: 10px;
}

.application-procedure li {
    margin: 12px 0;
}

/* Industry Pages */
.partner-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    margin: 20px 0;
}

.partner-item {
    background-color: var(--bg-light);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    color: var(--text-dark);
    text-decoration: none;
    display: block;
}

.partner-item:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.project-list {
    margin: 30px 0;
}

.project-card {
    background-color: var(--bg-light);
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.forum-schedule {
    margin: 30px 0;
}

.forum-item {
    background-color: var(--bg-light);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 15px;
}

/* Community Pages */
.notice-table {
    margin: 20px 0;
}

.notice-row {
    display: grid;
    grid-template-columns: 80px 1fr 120px 120px;
    gap: 15px;
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
    align-items: center;
}

.notice-header-row {
    background-color: var(--bg-light);
    font-weight: 700;
    border-bottom: 2px solid var(--primary-color);
}

.notice-subject {
    text-align: left;
}

.notice-subject a {
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.notice-subject a:hover {
    color: var(--primary-color);
}

.badge-new {
    background-color: var(--accent-color);
    color: var(--white);
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 0.75rem;
    font-weight: 700;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin: 30px 0;
}

.pagination a,
.pagination button,
.page-btn {
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    color: var(--text-dark);
    background-color: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.pagination a:hover,
.pagination button:hover,
.page-btn:hover,
.pagination a.active,
.page-btn.active {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.news-list-page {
    margin: 30px 0;
}

.news-item-page {
    display: flex;
    gap: 20px;
    background-color: var(--bg-light);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.news-thumbnail {
    width: 200px;
    height: 150px;
    background-color: var(--border-color);
    border-radius: 8px;
    flex-shrink: 0;
    overflow: hidden;
}

.news-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-thumbnail a:hover img {
    transform: scale(1.05);
}

/* Index news card thumbnail */
.news-card .news-thumbnail {
    width: 100%;
    height: 160px;
    border-radius: 8px 8px 0 0;
}

.news-card .news-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* News detail page thumbnail */
.news-detail-thumbnail {
    width: 100%;
    max-width: 800px;
    margin: 0 auto 30px;
    border-radius: 10px;
    overflow: hidden;
}

.news-detail-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

.news-info {
    flex: 1;
}

.news-info h3 {
    margin-top: 0;
    margin-bottom: 10px;
}

.news-info h3 a {
    color: var(--secondary-color);
    transition: color 0.3s ease;
}

.news-info h3 a:hover {
    color: var(--primary-color);
}

.news-summary {
    color: var(--text-light);
    margin: 10px 0;
    line-height: 1.6;
}

.news-meta {
    display: flex;
    gap: 15px;
    margin-top: 10px;
    font-size: 0.85rem;
}

.news-author {
    color: var(--text-light);
}

/* Curriculum Image Styles */
.curriculum-image-container {
    width: 100%;
    text-align: center;
    margin: 0;
}

.curriculum-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

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

.gallery-item {
    text-align: center;
}

.gallery-img {
    width: 100%;
    height: 200px;
    background-color: var(--border-color);
    border-radius: 10px;
    margin-bottom: 10px;
}

.faq-list {
    margin: 30px 0;
}

.faq-item {
    background-color: var(--bg-light);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 15px;
}

.faq-question {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.faq-answer {
    color: var(--text-dark);
    line-height: 1.6;
}

/* Notice Detail Page Styles */
.notice-detail-header {
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.notice-detail-header h2 {
    color: var(--secondary-color);
    font-size: 1.8rem;
    margin-bottom: 15px;
    border-bottom: none;
    padding-bottom: 0;
}

.notice-detail-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: var(--text-light);
}

.notice-detail-meta .meta-item {
    display: flex;
    gap: 5px;
}

.notice-detail-meta strong {
    color: var(--text-dark);
}

.notice-detail-content {
    line-height: 1.8;
    color: var(--text-dark);
}

.notice-detail-content h3 {
    color: var(--secondary-color);
    font-size: 1.3rem;
    margin-top: 30px;
    margin-bottom: 15px;
}

.notice-detail-content h4 {
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-top: 20px;
    margin-bottom: 10px;
}

.notice-detail-content p {
    margin-bottom: 15px;
}

.notice-detail-content ul,
.notice-detail-content ol {
    margin: 15px 0;
    padding-left: 25px;
}

.notice-detail-content li {
    margin: 8px 0;
}

.notice-detail-content a {
    color: var(--primary-color);
    text-decoration: underline;
}

.notice-detail-content a:hover {
    color: var(--hover-color);
}

/* Notice Attachments */
.notice-attachments {
    margin-top: 30px;
    margin-bottom: 20px;
    padding: 15px 20px;
    background-color: var(--bg-light);
    border-radius: 6px;
    border-left: 3px solid var(--primary-color);
}

.notice-attachments h3 {
    color: var(--secondary-color);
    font-size: 0.9rem;
    margin-top: 0;
    margin-bottom: 6px;
    font-weight: 600;
}

.attachment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.attachment-item {
    margin: 3px 0;
}

.attachment-item a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    background-color: var(--white);
    border-radius: 4px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.attachment-item a:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(0, 85, 166, 0.3);
}

.file-icon {
    font-size: 1.2rem;
}

.file-name {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.9rem;
}

.attachment-item a:hover .file-name {
    color: var(--white);
}

.notice-detail-actions {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

/* Responsive for Additional Components */
@media (max-width: 1024px) {
    .timeline-item {
        grid-template-columns: 80px 1fr;
    }

    .achievement-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .transport-info {
        grid-template-columns: 1fr;
    }

    .roadmap-phase .phase-content {
        grid-template-columns: 1fr;
    }

    .track-options {
        grid-template-columns: 1fr;
    }

    .scholarship-types {
        grid-template-columns: 1fr;
    }

    .application-process {
        grid-template-columns: repeat(2, 1fr);
    }

    .mentoring-types {
        grid-template-columns: 1fr;
    }

    .benefit-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .company-list {
        grid-template-columns: 1fr;
    }

    .cert-list {
        grid-template-columns: 1fr;
    }

    .prep-courses {
        grid-template-columns: 1fr;
    }

    .partner-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .timeline-item {
        grid-template-columns: 1fr;
    }

    .achievement-grid {
        grid-template-columns: 1fr;
    }

    .application-process {
        grid-template-columns: 1fr;
    }

    .notice-row {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .notice-header-row {
        display: none;
    }

    .partner-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .news-item-page {
        flex-direction: column;
    }

    .news-thumbnail {
        width: 100%;
        height: 200px;
    }

    .mentor-profile {
        flex-direction: column;
    }

    .benefit-grid {
        grid-template-columns: 1fr;
    }
}
