﻿:root {
    --ictu-blue: #004a99;
    --ictu-orange: #f37021;
    --accent-green: #00b14f;
    --light-bg: #f4f7f6;
    --text-dark: #2d3436;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--light-bg);
    color: var(--text-dark);
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--ictu-blue);
    border-radius: 10px;
}

/* --- Global Elements --- */
.section-padding {
    padding: 80px 0;
}

.section-title {
    font-weight: 700;
    color: var(--ictu-blue);
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

    .section-title::after {
        content: '';
        width: 100%;
        height: 4px;
        background: var(--ictu-orange);
        position: absolute;
        bottom: -10px;
        left: 0;
        border-radius: 2px;
    }

/* --- Navigation --- */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.navbar-brand img {
    height: 60px;
    transition: 0.3s;
}

.nav-link {
    font-weight: 600;
    color: #444 !important;
    transition: 0.3s;
}

    .nav-link:hover {
        color: var(--ictu-blue) !important;
    }

/* --- Hero Section --- */
.hero {
    background: linear-gradient(135deg, rgba(0,74,153,0.9) 0%, rgba(0,74,153,0.7) 100%), url('https://ictu.edu.vn/wp-content/uploads/2021/05/bg-ictu.jpg');
    background-size: cover;
    background-position: center;
    padding: 120px 0;
    color: white;
    clip-path: ellipse(150% 100% at 50% 0%);
}

.search-box {
    background: white;
    padding: 10px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

    .search-box input {
        border: none;
        padding-left: 20px;
    }

        .search-box input:focus {
            box-shadow: none;
        }

/* --- Job Cards --- */
.job-card {
    background: white;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 20px;
    transition: all 0.3s ease;
    position: relative;
}

    .job-card:hover {
        border-color: var(--ictu-blue);
        transform: translateY(-8px);
        box-shadow: 0 12px 24px rgba(0,0,0,0.1);
    }

.salary-tag {
    color: var(--accent-green);
    font-weight: 700;
}

.urgent-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #fff0f0;
    color: #ff4d4f;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: bold;
}

/* --- News & Events (Enhanced) --- */
.news-card {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.news-img-container {
    height: 200px;
    overflow: hidden;
    position: relative;
}

    .news-img-container img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: 0.5s;
    }

.news-card:hover .news-img-container img {
    transform: scale(1.1);
}

.news-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    /*background: var(--ictu-orange);*/
    color: white;
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* --- Industry Circles --- */
.ind-card {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 20px;
    transition: 0.3s;
    border-bottom: 4px solid transparent;
}

    .ind-card:hover {
        background: var(--ictu-blue);
        color: white;
        border-bottom: 4px solid var(--ictu-orange);
    }

.ind-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--ictu-orange);
}

.ind-card:hover .ind-icon {
    color: white;
}

/* --- Testimonials --- */
.testi-card {
    background: white;
    padding: 40px;
    border-radius: 30px;
    position: relative;
}

    .testi-card::before {
        content: "\f670";
        font-family: bootstrap-icons;
        position: absolute;
        top: 20px;
        right: 30px;
        font-size: 3rem;
        color: #f1f1f1;
    }

/* --- Partners --- */
.partner-logo {
/*    filter: grayscale(1);
    opacity: 0.6;
    transition: 0.4s;*/
    max-width: 140px;
}

    .partner-logo:hover {
        filter: grayscale(0);
        opacity: 1;
    }

.page-header {
    background: var(--white);
    padding: 30px 0;
    border-bottom: 1px solid #dee2e6;
    margin-bottom: 30px;
}

.page-title {
    font-weight: 800;
    color: var(--ictu-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Filter & Search Section --- */
.filter-section {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.category-tab {
    padding: 8px 20px;
    border-radius: 50px;
    color: #555;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    display: inline-block;
    margin-right: 10px;
    border: 1px solid #eee;
}

    .category-tab.active, .category-tab:hover {
        background: var(--ictu-blue);
        color: white;
        border-color: var(--ictu-blue);
    }

/* --- News List Item (Horizontal Style) --- */
.news-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 25px;
    transition: 0.3s;
    border: 1px solid #eee;
    display: flex;
}

    .news-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        border-color: var(--ictu-blue);
    }

.news-thumb {
    width: 280px;
    min-width: 280px;
    height: 190px;
    overflow: hidden;
    position: relative;
}

    .news-thumb img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

.news-content {
    padding: 20px 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    display: flex;
    gap: 15px;
}

.news-title-link {
    font-size: 1.25rem;
    font-weight: 700;
    color: #222;
    text-decoration: none;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: 0.2s;
}

    .news-title-link:hover {
        color: var(--ictu-orange);
    }

.news-desc {
    font-size: 0.95rem;
    color: #555;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 15px;
}

.btn-read-more {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--ictu-blue);
    text-decoration: none;
    text-transform: uppercase;
}

/* --- Sidebar --- */
.sidebar-box {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.sidebar-title {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--ictu-orange);
    color: var(--ictu-blue);
}

/* --- Pagination --- */
.pagination .page-link {
    border: none;
    margin: 0 5px;
    border-radius: 8px;
    color: var(--ictu-blue);
    font-weight: 600;
}

.pagination .page-item.active .page-link {
    background-color: var(--ictu-blue);
    color: white;
}
.article-header {
    padding: 40px 0 20px;
}

.category-badge {
    background: rgba(0, 74, 153, 0.1);
    color: var(--ictu-blue);
    padding: 5px 15px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.article-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-top: 15px;
    line-height: 1.2;
    color: var(--text-dark);
}

.article-meta {
    display: flex;
    gap: 20px;
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-top: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

/* --- Table of Contents --- */
.toc-box {
    background: #f8f9fa;
    border-left: 4px solid var(--ictu-blue);
    padding: 20px;
    margin: 30px 0;
    border-radius: 0 8px 8px 0;
}

.toc-title {
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.toc-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

    .toc-list li {
        margin-bottom: 5px;
    }

    .toc-list a {
        text-decoration: none;
        color: var(--text-gray);
        transition: 0.2s;
    }

        .toc-list a:hover {
            color: var(--ictu-blue);
            padding-left: 5px;
        }

/* --- Article Body Content --- */
.article-content {
    font-size: 1.15rem;
    color: #333;
}

    .article-content p {
        margin-bottom: 1.5rem;
    }

    .article-content img {
        border-radius: 12px;
        margin: 20px 0;
        width: 100%;
        height: auto;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }

.img-caption {
    text-align: center;
    font-style: italic;
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-top: -10px;
    margin-bottom: 30px;
}

.article-content h2 {
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--ictu-blue);
}

.article-content blockquote {
    border-left: 5px solid var(--ictu-orange);
    padding: 20px 30px;
    background: #fff9f5;
    font-style: italic;
    border-radius: 4px;
    margin: 30px 0;
}

/* --- Social Share --- */
.share-bar {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 50px;
    padding: 20px 0;
    border-top: 1px solid #eee;
}

.btn-share {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

.btn-fb {
    background: #3b5998;
}

.btn-tw {
    background: #1da1f2;
}

.btn-copy {
    background: #6c757d;
}

/* --- Sidebar --- */
.sidebar-sticky {
    position: sticky;
    top: 100px;
}

.sidebar-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
}

.sidebar-title {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 20px;
    border-left: 4px solid var(--ictu-orange);
    padding-left: 12px;
}

.related-news-item {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
    text-decoration: none;
    color: var(--text-dark);
}

    .related-news-item:hover .related-title {
        color: var(--ictu-blue);
    }

.related-img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
}

.related-title {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.3;
}

/* --- Footer --- */
footer {
    background: #0a192f;
    color: #a8b2d1;
    padding: 80px 0 30px;
}

    footer h5 {
        color: white;
        font-weight: 700;
        margin-bottom: 25px;
    }
a {
    text-decoration: none !important;
}
