/* BRAND DESIGN SYSTEM - TRƯỜNG CAO ĐẲNG NGUYỄN TẤT THÀNH */

:root {
    /* Color Palette */
    --color-primary-teal: #0f766e;    /* Deep Teal (xanh ngọc đậm) */
    --color-secondary-teal: #0d9488;  /* Vibrant Teal (xanh ngọc sáng) */
    --color-accent-orange: #ea580c;   /* Flame Orange (màu cam ngọn lửa) */
    --color-accent-orange-hover: #c2410c;
    --color-bg-dark: #0f172a;         /* Slate-900 */
    --color-bg-light: #f8fafc;        /* Slate-50 */
    --color-text-dark: #1e293b;       /* Slate-800 */
    --color-text-muted: #64748b;      /* Slate-500 */
    --color-white: #ffffff;
    
    /* Gradients */
    --gradient-teal: linear-gradient(135deg, #0f766e 0%, #0d9488 100%);
    --gradient-orange: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    --gradient-dark: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    --gradient-overlay: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.4) 60%, rgba(15, 23, 42, 0.1) 100%);
    --gradient-glass: rgba(255, 255, 255, 0.85);

    /* Fonts */
    --font-heading: 'Be Vietnam Pro', sans-serif;
    --font-body: 'Be Vietnam Pro', sans-serif;
    
    /* Layout */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 4px 20px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 10px 30px rgba(15, 23, 42, 0.12);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    
    --header-height: 90px;
    --topbar-height: 48px;
}

/* RESET & BASE STYLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-light);
    color: var(--color-text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-fluid {
    width: 100%;
    padding: 0;
}

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

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

/* COMMON UTILITIES */
.section {
    padding: 80px 0;
}

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

.section-title {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--color-primary-teal);
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.title-divider {
    width: 60px;
    height: 4px;
    background: var(--gradient-orange);
    margin: 0 auto 16px auto;
    border-radius: var(--radius-sm);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.badge-accent {
    background: var(--gradient-orange);
    color: var(--color-white);
    padding: 6px 14px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 15px;
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
}

.btn-primary {
    background: var(--gradient-orange);
    color: var(--color-white);
    box-shadow: 0 4px 14px rgba(234, 88, 12, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(234, 88, 12, 0.6);
}

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

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

/* TOPBAR */
.topbar {
    height: var(--topbar-height);
    background-color: var(--color-primary-teal);
    color: var(--color-white);
    font-size: 0.875rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1001;
    position: relative;
}

.topbar-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.topbar-left, .topbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.topbar-item {
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.9;
}

.topbar-item:hover {
    opacity: 1;
    color: var(--color-accent-orange);
}

.icon {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.lang-selector {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 2px;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    background: transparent;
    border: none;
    color: var(--color-white);
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: 50px;
    transition: var(--transition-smooth);
}

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

.lang-btn img {
    width: 16px;
    height: 12px;
    border-radius: 2px;
}

/* Xét tuyển dropdown */
.dropdown-xettuyen {
    position: relative;
}

.btn-xettuyen-top {
    background: var(--gradient-orange);
    color: var(--color-white);
    border: none;
    padding: 6px 16px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 10px rgba(234, 88, 12, 0.3);
    transition: var(--transition-smooth);
}

.btn-xettuyen-top:hover {
    background: var(--color-accent-orange-hover);
    transform: scale(1.03);
}

.icon-arrow {
    width: 12px;
    height: 12px;
    fill: currentColor;
    transition: var(--transition-smooth);
}

.dropdown-xettuyen.open .icon-arrow {
    transform: rotate(180deg);
}

.xettuyen-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background-color: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    width: 160px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-smooth);
    z-index: 1002;
    border: 1px solid rgba(15, 23, 42, 0.05);
}

.dropdown-xettuyen.open .xettuyen-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.xettuyen-menu a {
    display: block;
    padding: 10px 16px;
    color: var(--color-text-dark);
    font-size: 0.875rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

.xettuyen-menu a:last-child {
    border-bottom: none;
}

.xettuyen-menu a:hover {
    background-color: var(--color-bg-light);
    color: var(--color-primary-teal);
    padding-left: 20px;
}

/* MAIN HEADER */
.main-header {
    height: var(--header-height);
    background-color: var(--color-white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    position: relative;
    transition: var(--transition-smooth);
}

/* Sticky Class */
.main-header.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    box-shadow: var(--shadow-md);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

/* Brand Logo */
.logo-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.main-header.sticky .logo-img {
    height: 46px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
}

.logo-title {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-text-dark);
    line-height: 1.3;
    letter-spacing: 0.02em;
}

.logo-subtitle {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--color-primary-teal);
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.main-header.sticky .logo-title {
    font-size: 0.8rem;
}
.main-header.sticky .logo-subtitle {
    font-size: 1.15rem;
}

/* Navigation Links */
.nav-menu {
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-list {
    display: flex;
    align-items: center;
    list-style: none;
    height: 100%;
}

.nav-item {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text-dark);
    padding: 0 16px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link:hover, .nav-item:hover .nav-link {
    color: var(--color-primary-teal);
}

.arrow-down {
    border: solid currentColor;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 2px;
    transform: rotate(45deg);
    transition: var(--transition-smooth);
}

.nav-item:hover .arrow-down {
    transform: rotate(-135deg) translateY(-2px);
}

/* Navigation Dropdowns */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--color-white);
    box-shadow: var(--shadow-lg);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    width: 250px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: var(--transition-smooth);
    z-index: 999;
    border-top: 3px solid var(--color-primary-teal);
    overflow: hidden;
}

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

.dropdown-menu li a {
    display: block;
    padding: 12px 20px;
    color: var(--color-text-dark);
    font-size: 0.9rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

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

.dropdown-menu li a:hover {
    background-color: var(--color-bg-light);
    color: var(--color-primary-teal);
    padding-left: 26px;
}

/* Mobile Toggle */
.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1010;
}

.mobile-nav-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: var(--color-primary-teal);
    border-radius: 10px;
    transition: var(--transition-smooth);
}

/* HERO SLIDER */
.banner-slider {
    position: relative;
    height: calc(100vh - var(--header-height) - var(--topbar-height));
    min-height: 500px;
    max-height: 800px;
    overflow: hidden;
    background-color: var(--color-bg-dark);
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.05);
    transition: transform 6s ease-out;
}

.slide.active img {
    transform: scale(1);
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-overlay);
    display: flex;
    align-items: center;
    z-index: 3;
}

.slide-content {
    max-width: 750px;
    color: var(--color-white);
    transform: translateY(30px);
    opacity: 0;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s, opacity 0.8s ease 0.3s;
}

.slide.active .slide-content {
    transform: translateY(0);
    opacity: 1;
}

.slide-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.slide-desc {
    font-size: 1.15rem;
    margin-bottom: 35px;
    opacity: 0.9;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
    max-width: 600px;
}

.slide-actions {
    display: flex;
    gap: 15px;
}

/* Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    color: var(--color-white);
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-smooth);
}

.slider-arrow:hover {
    background-color: var(--color-accent-orange);
    border-color: var(--color-accent-orange);
    color: var(--color-white);
}

.slider-arrow.prev {
    left: 30px;
}

.slider-arrow.next {
    right: 30px;
}

/* Dots */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.dot.active {
    width: 32px;
    border-radius: 10px;
    background-color: var(--color-accent-orange);
}

/* SECTION: TIN TỨC */
.news-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 30px;
}

.news-featured-card {
    background-color: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.news-featured-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.news-img-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    overflow: hidden;
}

.news-img-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-featured-card:hover .news-img-wrapper img {
    transform: scale(1.05);
}

.news-category {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--color-primary-teal);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 4px;
    z-index: 5;
    text-transform: uppercase;
}

.news-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-date {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 12px;
}

.news-title-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
    color: var(--color-text-dark);
}

.news-title-text a:hover {
    color: var(--color-primary-teal);
}

.news-excerpt {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.news-readmore {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-accent-orange);
    font-size: 0.9rem;
}

.news-readmore:hover {
    color: var(--color-accent-orange-hover);
}

.icon-arrow-right {
    width: 16px;
    height: 16px;
    fill: currentColor;
    transition: var(--transition-smooth);
}

.news-readmore:hover .icon-arrow-right {
    transform: translateX(4px);
}

/* Tin phụ list */
.news-list-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-list-item {
    display: flex;
    gap: 20px;
    background-color: var(--color-white);
    padding: 15px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    border-left: 4px solid transparent;
}

.news-list-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
    border-left-color: var(--color-primary-teal);
}

.news-item-img {
    width: 120px;
    height: 90px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
}

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

.news-item-detail {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-item-cat {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--color-accent-orange);
    text-transform: uppercase;
    margin-bottom: 5px;
}

.news-item-title {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--color-text-dark);
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-item-title a:hover {
    color: var(--color-primary-teal);
}

.news-item-date {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* SECTION: HƯỚNG NGHIỆP - TUYỂN SINH */
.career-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.career-card {
    background-color: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

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

.career-card-img {
    padding-bottom: 56.25%;
    position: relative;
    overflow: hidden;
}

.career-card-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.career-card:hover .career-card-img img {
    transform: scale(1.05);
}

.career-card-body {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.career-card-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 12px;
    color: var(--color-text-dark);
}

.career-card-text {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.btn-card-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--color-primary-teal);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.btn-card-link:after {
    content: ' →';
    transition: transform 0.3s ease;
}

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

.btn-card-link:hover:after {
    transform: translateX(4px);
}

/* SECTION: SỰ KIỆN NỔI BẬT */
.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.event-card {
    background-color: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(15, 23, 42, 0.05);
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-secondary-teal);
}

.event-date-box {
    background: var(--gradient-teal);
    color: var(--color-white);
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.event-day {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1;
}

.event-month {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    margin: 5px 0;
}

.event-year {
    font-size: 0.8rem;
    opacity: 0.8;
}

.event-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.event-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 12px;
}

.event-title a:hover {
    color: var(--color-primary-teal);
}

.event-meta {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.event-location, .event-time {
    display: flex;
    align-items: center;
    gap: 6px;
}

.event-location:before {
    content: '📍';
}
.event-time:before {
    content: '⏰';
}

.event-desc {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* SECTION: WHY CHOOSE */
.section-why-choose {
    background-color: var(--color-bg-dark);
    color: var(--color-white);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.why-choose-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 50px;
    align-items: center;
}

.why-choose-badge {
    color: var(--color-accent-orange);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.why-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.why-divider {
    width: 60px;
    height: 4px;
    background: var(--gradient-orange);
    margin-bottom: 25px;
    border-radius: var(--radius-sm);
}

.why-intro {
    font-size: 1.05rem;
    opacity: 0.85;
    margin-bottom: 40px;
    line-height: 1.7;
}

.why-features {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.why-feature-item {
    display: flex;
    gap: 20px;
}

.why-feat-icon {
    width: 44px;
    height: 44px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-accent-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    flex-shrink: 0;
}

.why-feat-content h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.why-feat-content p {
    font-size: 0.9rem;
    opacity: 0.8;
}

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

.stat-card {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 30px 20px;
    text-align: center;
    transition: var(--transition-smooth);
}

.stat-card:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: var(--color-accent-orange);
    transform: translateY(-5px);
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--color-accent-orange);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.85rem;
    font-weight: 500;
    opacity: 0.9;
}

/* SECTION: LĨNH VỰC ĐÀO TẠO */
.majors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.major-box {
    background-color: var(--color-white);
    border-radius: var(--radius-md);
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(15, 23, 42, 0.05);
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.major-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-accent-orange);
}

.major-icon-container {
    width: 60px;
    height: 60px;
    background-color: rgba(15, 76, 110, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: var(--transition-smooth);
}

.major-box:hover .major-icon-container {
    background-color: var(--color-primary-teal);
}

.major-box:hover .major-icon-container svg {
    fill: var(--color-white);
    stroke: var(--color-white);
}

.major-icon {
    width: 32px;
    height: 32px;
    fill: var(--color-primary-teal);
    transition: var(--transition-smooth);
}

.major-name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--color-text-dark);
}

.major-list-small {
    list-style: none;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.major-list-small li:before {
    content: '• ';
    color: var(--color-accent-orange);
}

.major-more {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-accent-orange);
    transition: var(--transition-smooth);
}

.major-box:hover .major-more {
    color: var(--color-accent-orange-hover);
    transform: scale(1.05);
}

/* SECTION: VIDEO & STORY */
.video-story-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: stretch;
}

.video-player-container {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    padding-bottom: 56.25%;
    height: 0;
}

.video-player-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    padding: 20px;
}

.video-player-container:hover .video-overlay {
    background-color: rgba(15, 23, 42, 0.55);
}

.btn-play {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--gradient-orange);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--color-white);
    box-shadow: 0 4px 20px rgba(234, 88, 12, 0.5);
    margin-bottom: 15px;
    transition: var(--transition-smooth);
}

.video-player-container:hover .btn-play {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(234, 88, 12, 0.7);
}

.icon-play {
    width: 24px;
    height: 24px;
    fill: currentColor;
    margin-left: 4px;
}

.video-title-overlay {
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.student-story {
    background-color: var(--color-white);
    border-radius: var(--radius-md);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(15, 23, 42, 0.05);
    display: flex;
    flex-direction: column;
}

.story-sec-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-primary-teal);
    margin-bottom: 25px;
    border-bottom: 2px solid var(--color-bg-light);
    padding-bottom: 10px;
}

.story-slider {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.story-card {
    opacity: 0;
    display: none;
    transition: opacity 0.5s ease;
}

.story-card.active {
    opacity: 1;
    display: block;
}

.story-text {
    font-style: italic;
    color: var(--color-text-dark);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 30px;
    position: relative;
    padding-left: 20px;
    border-left: 3px solid var(--color-accent-orange);
}

.story-user {
    display: flex;
    align-items: center;
    gap: 15px;
}

.avatar-user {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--color-primary-teal);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
}

.user-info {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-weight: 600;
    color: var(--color-text-dark);
}

.user-major {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* FOOTER */
.footer {
    background-color: var(--color-bg-dark);
    color: rgba(255, 255, 255, 0.8);
    padding-top: 80px;
    font-size: 0.9rem;
    border-top: 5px solid var(--color-primary-teal);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.9fr 0.9fr;
    gap: 40px;
    padding-bottom: 50px;
}

.footer-col-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 15px;
}

.footer-divider {
    width: 40px;
    height: 3px;
    background-color: var(--color-accent-orange);
    margin-bottom: 20px;
    border-radius: 2px;
}

.footer-about {
    margin-bottom: 20px;
    line-height: 1.6;
}

.footer-location-item {
    margin-bottom: 12px;
}

.footer-location-item strong {
    color: var(--color-white);
    display: block;
    margin-bottom: 4px;
}

.footer-location-item ul {
    list-style: none;
    padding-left: 10px;
}

.footer-location-item ul li {
    margin-bottom: 4px;
    position: relative;
}

.footer-location-item ul li:before {
    content: '• ';
    color: var(--color-accent-orange);
    position: absolute;
    left: -10px;
}

.footer-contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.icon-contact-wrapper {
    width: 32px;
    height: 32px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent-orange);
    flex-shrink: 0;
}

.icon-contact-wrapper svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.footer-bottom {
    background-color: #0b0f19;
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a:hover {
    color: var(--color-white);
}

/* FLOATING CHATBOT */
.chatbot-floating {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

.chatbot-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-teal);
    color: var(--color-white);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(15, 118, 110, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: var(--transition-smooth);
}

.chatbot-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(15, 118, 110, 0.6);
}

.icon-chat {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

.chatbot-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: var(--color-accent-orange);
    color: var(--color-white);
    font-size: 0.75rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--color-white);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.9); opacity: 0.9; }
    50% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.9; }
}

/* Chat window */
.chatbot-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 360px;
    height: 480px;
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transform-origin: bottom right;
    transition: var(--transition-smooth);
}

.chatbot-window.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.chatbot-header {
    background: var(--gradient-teal);
    color: var(--color-white);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

.chatbot-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--color-white);
    padding: 2px;
    overflow: hidden;
}

.chatbot-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.chatbot-header-info h4 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
}

.chatbot-header-info span {
    font-size: 0.75rem;
    opacity: 0.8;
}

.chatbot-close-btn {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--color-white);
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.8;
}

.chatbot-close-btn:hover {
    opacity: 1;
}

.chatbot-messages {
    flex-grow: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background-color: #f1f5f9;
}

.message {
    padding: 10px 14px;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    max-width: 85%;
    line-height: 1.5;
}

.message.bot {
    background-color: var(--color-white);
    color: var(--color-text-dark);
    align-self: flex-start;
    border-bottom-left-radius: 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.message.user {
    background-color: var(--color-primary-teal);
    color: var(--color-white);
    align-self: flex-end;
    border-bottom-right-radius: 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.chatbot-chips {
    padding: 10px 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    background-color: #f1f5f9;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.chip {
    background-color: var(--color-white);
    border: 1px solid rgba(15, 118, 110, 0.2);
    color: var(--color-primary-teal);
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.chip:hover {
    background-color: var(--color-primary-teal);
    color: var(--color-white);
}

.chatbot-input-area {
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: var(--color-white);
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.chatbot-input-area input {
    flex-grow: 1;
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    padding: 8px 16px;
    font-size: 0.875rem;
    font-family: inherit;
    transition: var(--transition-smooth);
}

.chatbot-input-area input:focus {
    border-color: var(--color-primary-teal);
}

.chatbot-send-btn {
    background: var(--gradient-teal);
    color: var(--color-white);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(15, 118, 110, 0.3);
    transition: var(--transition-smooth);
}

.chatbot-send-btn:hover {
    background: var(--color-secondary-teal);
    transform: scale(1.05);
}

.chatbot-send-btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    margin-left: 2px;
}

/* SPA MODALS */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.modal-backdrop.open {
    opacity: 1;
    visibility: visible;
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -45%) scale(0.95);
    width: 90%;
    max-width: 700px;
    max-height: 85vh;
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.3);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    overflow-y: auto;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s;
    border: 1px solid rgba(15, 23, 42, 0.05);
}

.modal.open {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    color: var(--color-text-muted);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    z-index: 10;
}

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

.modal-body {
    padding: 40px;
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--color-primary-teal);
    line-height: 1.2;
    margin-bottom: 12px;
}

.modal-divider {
    width: 50px;
    height: 4px;
    background: var(--gradient-orange);
    margin-bottom: 25px;
    border-radius: 2px;
}

.modal-content {
    color: var(--color-text-dark);
    font-size: 0.975rem;
    line-height: 1.7;
}

.modal-content h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary-teal);
    margin: 25px 0 10px 0;
}

.modal-content h3:first-child {
    margin-top: 0;
}

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

.modal-content ul, .modal-content ol {
    margin-bottom: 15px;
    padding-left: 20px;
}

.modal-content li {
    margin-bottom: 8px;
}

.modal-content blockquote {
    background-color: var(--color-bg-light);
    border-left: 4px solid var(--color-primary-teal);
    padding: 15px 20px;
    margin-bottom: 20px;
    font-style: italic;
    color: var(--color-text-dark);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* Modal Table */
.table-majors {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    font-size: 0.9rem;
}

.table-majors th, .table-majors td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.table-majors th {
    background-color: var(--color-bg-light);
    color: var(--color-primary-teal);
    font-family: var(--font-heading);
    font-weight: 700;
}

.table-majors tr:hover {
    background-color: #f8fafc;
}

/* Form Styles inside Modals */
.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--color-text-dark);
}

.form-group label .required {
    color: var(--color-accent-orange);
}

.form-group input, .form-group select, .form-group textarea {
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-family: inherit;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
    background-color: var(--color-white);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--color-primary-teal);
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.15);
}

.success-msg-hidden {
    display: none;
    background-color: #d1fae5;
    border: 1px solid #10b981;
    color: #065f46;
    padding: 20px;
    border-radius: var(--radius-md);
    margin-top: 15px;
    text-align: center;
}

.success-msg-hidden h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.success-msg-hidden p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Contact Grid */
.modal-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 30px;
}

/* Video Player container inside modal */
.video-iframe-container {
    background-color: var(--color-bg-dark);
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    box-shadow: var(--shadow-md);
}

.mock-video-playing {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #090d16;
}

.video-placeholder-graphic {
    text-align: center;
    color: var(--color-white);
}

.video-running-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px auto;
    animation: rotateVideoIcon 4s linear infinite;
}

@keyframes rotateVideoIcon {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.video-placeholder-graphic h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--color-white);
    margin-bottom: 5px;
}

.video-placeholder-graphic p {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* RESPONSIVE MEDIA QUERIES */

@media (max-width: 1024px) {
    :root {
        --header-height: 80px;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .career-cards-grid, .events-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .majors-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .why-choose-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .video-story-wrapper {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --topbar-height: 0px; /* Hide topbar layout on mobile to simplify header */
    }
    
    .topbar {
        display: none;
    }
    
    .mobile-nav-toggle {
        display: flex;
    }
    
    /* Mobile Navigation Drawer */
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 280px;
        height: calc(100vh - var(--header-height));
        background-color: var(--color-white);
        box-shadow: var(--shadow-lg);
        flex-direction: column;
        align-items: flex-start;
        transition: var(--transition-smooth);
        overflow-y: auto;
        padding: 30px 20px;
        z-index: 1009;
        border-right: 1px solid rgba(15, 23, 42, 0.05);
    }
    
    .nav-menu.open {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        height: auto;
        gap: 15px;
    }
    
    .nav-item {
        width: 100%;
        height: auto;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .nav-link {
        width: 100%;
        padding: 10px 0;
        justify-content: space-between;
    }
    
    .dropdown-menu {
        position: static;
        width: 100%;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        max-height: 0;
        transform: translateY(0);
        border-top: none;
        border-left: 2px solid var(--color-primary-teal);
        margin-left: 10px;
    }
    
    .nav-item.open .dropdown-menu {
        max-height: 500px;
        margin-top: 5px;
        margin-bottom: 10px;
    }
    
    /* Burger Animation */
    .mobile-nav-toggle.open .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-nav-toggle.open .bar:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-nav-toggle.open .bar:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    /* Hero Slider Responsive */
    .slide-title {
        font-size: 2rem;
    }
    
    .slide-desc {
        font-size: 1rem;
    }
    
    .slider-arrow {
        display: none; /* Hide arrows on mobile for better touch experience */
    }
    
    .career-cards-grid, .events-grid, .majors-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom-wrapper {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .modal-contact-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .chatbot-window {
        width: calc(100vw - 40px);
        right: -10px;
        bottom: 70px;
    }
}

/* INTERACTIVE MAJORS FILTER STYLING */
.majors-filter-container {
    background-color: var(--color-bg-light);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.filter-search-row input {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 50px;
    padding: 12px 20px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: var(--transition-smooth);
    background-color: var(--color-white);
    box-shadow: var(--shadow-sm);
}

.filter-search-row input:focus {
    border-color: var(--color-primary-teal);
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.15);
}

.filter-row {
    display: flex;
    align-items: center;
    gap: 15px;
}

.filter-row.flex-wrap {
    flex-wrap: wrap;
}

.filter-label {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-text-dark);
    min-width: 130px;
    flex-shrink: 0;
}

.filter-pills, .filter-chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-pill, .filter-chip {
    padding: 6px 16px;
    border-radius: 50px;
    border: 1px solid #cbd5e1;
    background-color: var(--color-white);
    color: var(--color-text-dark);
    font-size: 0.825rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.filter-pill:hover, .filter-chip:hover {
    border-color: var(--color-primary-teal);
    color: var(--color-primary-teal);
    background-color: rgba(15, 118, 110, 0.03);
}

.filter-pill.active, .filter-chip.active {
    background-color: var(--color-primary-teal);
    color: var(--color-white);
    border-color: var(--color-primary-teal);
    box-shadow: 0 2px 8px rgba(15, 118, 110, 0.3);
}

.majors-results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-height: 480px;
    overflow-y: auto;
    padding-right: 5px;
}

/* Results Custom Scrollbar */
.majors-results-grid::-webkit-scrollbar {
    width: 6px;
}
.majors-results-grid::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}
.majors-results-grid::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}
.majors-results-grid::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.major-result-card {
    background-color: var(--color-white);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
    transition: var(--transition-smooth);
}

.major-result-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-accent-orange);
}

.major-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}

.major-card-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-text-dark);
    line-height: 1.35;
}

.major-card-code {
    font-size: 0.725rem;
    font-weight: 700;
    color: var(--color-accent-orange);
    background-color: rgba(234, 88, 12, 0.1);
    padding: 3px 8px;
    border-radius: 4px;
    white-space: nowrap;
    letter-spacing: 0.05em;
}

.major-card-body {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.major-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f1f5f9;
    padding-top: 12px;
    margin-top: auto;
}

.major-card-level {
    font-size: 0.725rem;
    font-weight: 600;
    background-color: var(--color-primary-teal);
    color: var(--color-white);
    padding: 3px 10px;
    border-radius: 50px;
}

.major-card-level.trung-cap {
    background-color: var(--color-accent-orange);
}

.major-card-field {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-text-muted);
}

.no-results {
    grid-column: span 2;
    text-align: center;
    padding: 40px 20px;
    color: var(--color-text-muted);
    font-style: italic;
    background-color: var(--color-bg-light);
    border-radius: var(--radius-md);
    border: 1px dashed #cbd5e1;
}

@media (max-width: 640px) {
    .majors-results-grid {
        grid-template-columns: 1fr;
    }
    .filter-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .no-results {
        grid-column: span 1;
    }
}

/* BACK TO TOP BUTTON */
.btn-back-to-top {
    position: fixed;
    bottom: 105px; /* Stacked above chatbot button at bottom: 30px */
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--gradient-teal);
    color: var(--color-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(15, 118, 110, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9998;
}

.btn-back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.btn-back-to-top:hover {
    background: var(--gradient-orange);
    color: var(--color-white);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 6px 20px rgba(234, 88, 12, 0.5);
}

.icon-back-to-top {
    width: 26px;
    height: 26px;
    fill: currentColor;
    transition: var(--transition-smooth);
}

/* Responsive adjustments for mobile screen */
@media (max-width: 768px) {
    .btn-back-to-top {
        bottom: 140px; /* Adjust height to prevent overlapping elements on mobile */
        right: 20px;
        width: 50px;
        height: 50px;
        box-shadow: 0 3px 10px rgba(15, 118, 110, 0.3);
    }
    
    .icon-back-to-top {
        width: 22px;
        height: 22px;
    }
}
