body {
    padding: 0;
    margin: 0;
    /*    font-family: Arial, Helvetica, sans-serif, sans-serif;*/
    position: relative;
    min-height: 100%;
    top: 0px !important;
    font-family: "Roboto Condensed",Arial,sans-serif;
    font-weight: 400;
    line-height: 1.6;
}
h1, h2, h3 {
    font-family: "Roboto Condensed",Arial,sans-serif;
    font-weight: 500;
}
a,h1,h2,h3,h4,h5,h6{
    cursor:pointer;
}
/* Topbar */
/* ===== TOPBAR CHÍNH ===== */
.topbar {
    background: #044aa3;
    color: #fff;
    font-size: 14px;
}

.topbar a {
  color: #fff;
  text-decoration: none;
  margin: 0 10px;
  position: relative;
  font-weight: 500;
  font-size:16px;
}

/* Dấu | giữa các link */
.topbar-links > .dropdown:not(:last-child)::after {
  content: "|";
  color: rgba(255,255,255,0.6);
  margin-left: 10px;
}

/* ===== DROPDOWN ===== */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.dropdown-menu {
  position: absolute;
  top: 80%;
  left: 0;
  background: #fff;
  color: #333;
  list-style: none;
  padding: 8px 0;
  margin: 5px 0 0 0;
  min-width: 200px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  display: none;
  z-index: 2000;
}

    .dropdown-menu li a {
        display: block;
        padding: 8px 15px;
        color: #000;
        text-decoration: none;
        font-size: clamp(10px, 1vw, 16px);
        
        transition: background 0.3s;
        width: max-content;
        font-weight:400;
        font-family:Arial, Helvetica, sans-serif;
        word-spacing:0px;
    }

.dropdown-menu li a:hover {
  background: #f0f6ff;
  color: #0066e6;
}
    .dropdown-menu li:hover {
        background: #f0f6ff;
    }

.icon-section{
    margin-top:20px;
}
/* Hover mở menu */
.dropdown:hover > .dropdown-menu {
    display: block;
}
.icon-box p {
    margin-top: 8px;
    text-align: center;
    /* ⭐ Chỉ hiển thị 1 dòng */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    /* Đảm bảo co giãn hợp lý khi zoom hoặc thay đổi kích thước */
    width: 100%;
    display: block;
}
/* Search box */
.search-box {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 50px;
  padding: 2px 8px;
}

.search-box input {
  border: none;
  outline: none;
  padding: 5px 10px;
  font-size: 13px;
  border-radius: 50px;
  width: 150px;
}

.search-box button {
  background: none;
  border: none;
  color: #333;
  cursor: pointer;
  font-size: 14px;
}

/* Language */
.lang-select img {
  width: 20px;
  margin-right: 5px;
}
.lang-select span {
  font-size: 14px;
  font-weight: 500;
}

/* User icon */
.user-icon i {
  font-size: 18px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 767px) {
  .topbar .container-fluid {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .topbar-right {
    width: 100%;
    justify-content: space-between;
  }

  .search-box input {
    width: 100px;
  }

  /* Dropdown dạng accordion khi mobile */
  .dropdown-menu {
    position: static;
    background: rgba(255,255,255,0.95);
    box-shadow: none;
    border-radius: 0;
    margin: 0;
    padding: 0;
    display: none;
  }

  .dropdown.active > .dropdown-menu {
    display: block;
  }

  .dropdown-toggle {
    display: flex;
    justify-content: space-between;
    width: 100%;
    color: #fff;
  }

  .dropdown-menu li a {
    color: #333;
    padding: 10px 20px;
  }
}


.navbar-brand{
    width:25%;
}
/* Navbar */
.navbar-brand img {
    height: auto;
    padding: 0;
    width:100%;
}

/* Menu */
/* ================================
   NAVBAR – MENU CHÍNH
================================ */
.navbar {
    position: sticky;
    z-index: 1000;
}

.navbar-nav {
    display: flex;
    justify-content: flex-end;
}

    .navbar-nav .nav-item {
        position: relative; /* mốc cho dropdown */
    }

    .navbar-nav .nav-link {
        color: #000;
        padding: 12px 18px;
        font-size: 18px;
        white-space: nowrap;
        font-weight: 400;
    }

        .navbar-nav .nav-link:hover {
            color: #ff6a00 !important;
        }

    /* ================================
   DROPDOWN (UL CẤP 2)
   - Rộng theo số cột
   - Nằm ngay dưới li hover
================================ */
    .navbar-nav .dropdown-menu {
        position: absolute;
        top: 100%;
        left: -150px;
        width: max-content; /* 🔴 ăn theo nội dung */
        min-width: unset;
        margin: 0;
        padding: 20px 30px;
        border: none;
        border-radius: 6px;
        background: #fff;
        box-shadow: 0 6px 20px rgba(0,0,0,.15);
        display: none;
        white-space: nowrap;
        z-index: 9999;
    }

/* hover mở dropdown */
@media (min-width: 992px) {
    .navbar-nav .dropdown:hover > .dropdown-menu {
        display: block;
    }
}

/* ================================
   MEGA WRAPPER
================================ */
.mega-wrapper {
    display: block;
}

    /* Có menu cấp 3 → chia cột */
    /* ===== MENU CÓ CẤP 3 – TỐI ĐA 3 CỘT ===== */
    .mega-wrapper.has-child {
        display: grid;
        grid-template-columns: repeat(3, max-content); /* 🔴 max 3 cột */
        grid-auto-rows: auto; /* cột dư xuống hàng */
        column-gap: 40px;
        row-gap: 20px;
    }
    .mega-wrapper.has-child {
        align-items: start;
    }

    /* Không có menu cấp 3 */
    .mega-wrapper.no-child {
        display: block;
    }

/* ================================
   CỘT MENU
================================ */
.mega-col {
    white-space: nowrap;
    max-width: 320px;
}

    /* tiêu đề cột (menu cấp 2) */
    .mega-col h6 {
        font-size: 15px;
        font-weight: 700;
        margin-bottom: 10px;
        color: #000;
    }

    /* ================================
   ITEM MENU
================================ */
    .mega-col a {
        display: block;
        padding: 6px 0;
        font-size: 16px;
        color: #000;
        text-decoration: none;
        border-bottom: 1px dashed #ddd;
        font-family: arial;
        word-spacing: 0px;
    }

        .mega-col a:hover {
            color: #ff6a00;
        }
.mega-col {
    padding-right: 30px;
}

    .mega-col:nth-child(3n) {
        padding-right: 0;
    }

/* ================================
   BOOTSTRAP FIX
================================ */
.dropdown-toggle::after {
    display: none;
}

.dropdown-menu li {
    list-style: none;
}

/* ================================
   MOBILE
================================ */
@media (max-width: 991px) {

    .navbar-nav {
        justify-content: flex-start;
    }

        .navbar-nav .dropdown-menu {
            position: static;
            width: 100%;
            box-shadow: none;
            padding: 10px 15px;
            display: block;
        }

    .mega-wrapper.has-child {
        grid-auto-flow: row;
        grid-auto-columns: 1fr;
    }

    .mega-col {
        white-space: normal;
        max-width: 100%;
    }
}




/* ===========================
   🌸 Banner Slideshow Effects
   =========================== */
.carousel-item {
    position: absolute;
    opacity: 0;
    transition: all 1s ease-in-out;
}

    .carousel-item.active {
        position: relative;
        opacity: 1;
        z-index: 1;
    }

    /* Ảnh trong banner */
    .carousel-item img {
        width: 100%;
        height: 560px;
        object-fit: cover;
        transition: all 1.5s ease-in-out;
        border-radius: 0;
    }

/* Hiệu ứng 1: 🌺 Xoay nhẹ, nở hoa, mờ dần */
@keyframes bloomRotateFade {
    0% {
        opacity: 0;
        transform: scale(1.1) rotate(-10deg);
        filter: brightness(0.8) blur(2px);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.05) rotate(5deg);
        filter: brightness(1) blur(0);
    }

    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
        filter: brightness(1.1);
    }
}

/* Hiệu ứng 2: 🌼 Phóng to nhẹ + mờ dần */
@keyframes zoomInSoft {
    0% {
        opacity: 0;
        transform: scale(1.3);
        filter: blur(3px);
    }

    100% {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
    }
}

/* Hiệu ứng 3: 🌈 Trượt chéo + mờ dần */
@keyframes diagonalSlideFade {
    0% {
        opacity: 0;
        transform: translate(-80px, 80px) scale(1.1);
        filter: brightness(0.9);
    }

    100% {
        opacity: 1;
        transform: translate(0, 0) scale(1);
        filter: brightness(1);
    }
}

/* Khi slide có hiệu ứng */
.carousel-item.active img.bloomRotateFade {
    animation: bloomRotateFade 2s ease-in-out;
}

.carousel-item.active img.zoomInSoft {
    animation: zoomInSoft 2s ease-in-out;
}

.carousel-item.active img.diagonalSlideFade {
    animation: diagonalSlideFade 2s ease-in-out;
}

/* Nút điều hướng */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    background-size: 50%;
}

/* Icon Section */
.icon-box {
    background: #f9f9f9;
    padding: 10px 0;
    border-radius: 10px;
    text-align: center;
    transition: .3s;
    width: 100%;
    height: 100%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

    .icon-box i {
        color: #0e4bfb;
        font-size: 28px;
        margin-bottom: 10px;
        display: block;
    }

    .icon-box p {
        margin: 0;
        font-size: 14px;
        font-weight:500;
        color: #333333;
    }

    .icon-box:hover {
        background: #eef4ff;
        transform: translateY(-5px);
    }

.swiper {
    width: 100%;
    padding: 0 0 20px 0;
    overflow: hidden;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Mũi tên điều hướng */
.swiper-button-prev,
.swiper-button-next {
    background: white;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    color: #0e4bfb;
    transition: .3s;
}

    .swiper-button-prev::after,
    .swiper-button-next::after {
        font-size: 14px;
        font-weight: bold;
    }

    .swiper-button-prev:hover,
    .swiper-button-next:hover {
        background: #eef4ff;
    }


/* Section Title */
.section-title span {
  display: inline-block;
  font-weight: 500;
  font-size: 28px;
  color: #fff;
  padding: 5px 20px;
  border-radius: 8px;
  background: linear-gradient(270deg, #3FA8FF , rgba(229, 248, 255, 0) 100%);
  text-align:left;
}
.news-section .section-title{
    text-align:left;
}
/* News */
.news-featured img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 10px;
}
.news-featured .news-content { margin-top: 10px; }

.news-item img {
  width: 120px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
}
.news-item p { font-size: 13px; margin-bottom: 2px; }

/* Notice */
.notice-list .date-box {
    text-align: center;
    min-width: 60px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    background: #F2FCFF;
    border: 1px solid #F1F1F1;
    border-radius: 10px;
    min-height: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content:space-evenly;
}
    .notice-list .date-box .day {
        font-weight: 600;
        font-size: 22px;
        text-align: center;
        color: #023483;
    }
    .notice-list .date-box .month {
        font-weight: 400;
        font-size: 10px;
        text-align: center;
        /* CSK - #00AEEF/700 */
        color: #023483;
    }
    .notice-list .date-box hr {
        width: 65px;
        height: 1px;
        border: 1px solid #DADADA;
        margin: 0;
    }
.notice-list h6 {
    font-weight: 600;
    font-size: 16px;
    color: #1D1D1D;
}
.notice-list p {
    font-size: 13px;
    line-height: 23px;
    list-style: outside none none;
}
.section-title a{
    font-size:35px;
}
/* Responsive */
@media (max-width: 991px) {
    .carousel-item img { height: 300px; }
  .news-featured img { height: 250px; }
}
@media (max-width: 767px) {
  .carousel-item img { height: 220px; }
  .news-item img { width: 90px; height: 60px; }
  .notice-list .date-box { min-width: 60px; }
}
.custom-container {
  width: 90%;
  margin: 0 auto; /* căn giữa */
}
/* ===== NEWS SLIDER ===== */
.news-slider {
    position: relative;
}

.news-slide {
    display: none;
    animation: fadeSlide 0.6s ease-in-out;
}

    .news-slide.active {
        display: block;
    }

@keyframes fadeSlide {
    from {
        opacity: 0.3;
    }

    to {
        opacity: 1;
    }
}

/*tuyển sinh*/
/* Section tuyển sinh */
.tuyensinh-section {
    background: url('cong nghe.jpg') no-repeat center center;
    background-size: cover;
    border-radius: 0 0 0 150px;
    padding: 40px 20px;
    position: relative;
    overflow: hidden;
}

.tuyensinh-section .container-fluid {
  position: relative;
  z-index: 1;
}
.tuyensinh-section .card {
  border: none;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: 0.3s;
  height: 100%; /* chiều cao auto bằng nhau */
  display: flex;
  flex-direction: column;
}
.tuyensinh-section .card img {
  height: 300px;
  object-fit: inherit;
}
.tuyensinh-section .card-body {
  flex-grow: 1; /* đẩy nội dung đều */
  padding: 15px;
  min-height:113px;
}
.tuyensinh-section .card:hover {
  transform: translateY(-5px);
}
    .tuyensinh-section p {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size:16px;
        color:white!important;    
    }
    .tuyensinh-section .card-body p {
        font-size: 14px;
        line-height: 23px;
        list-style: outside none none;
    }
    .bgh-section .section-title {
        text-align: center;
    }
/* Custom arrow */
.custom-arrow {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    cursor: pointer;
    transition: 0.3s;
}
.custom-arrow:hover {
  background: #0e4bfb;
  color: #fff;
}
.banner-tuyensinh {
    position: relative;
    overflow: hidden;
}

    .banner-tuyensinh .swiper {
        width: 100%;
        height: auto;
    }

    .banner-tuyensinh .swiper-slide {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .banner-tuyensinh img {
        width: 100%;
        height: 150px;
        object-fit: inherit;
        border-radius: 10px;
        display: block;
    }

/* Mũi tên */
.swiper-button-prev,
.swiper-button-next {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    color: #0e4bfb;
    transition: 0.3s;
}

    .swiper-button-prev:hover,
    .swiper-button-next:hover {
        background: #0e4bfb;
        color: white;
    }

/* Dấu chấm chỉ thị */
.swiper-pagination-bullet {
    background: #0e4bfb;
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    opacity: 1;
}

@media (max-width: 1600px) {


    .tuyensinh-section .card img {
        height: 230px;
        object-fit: inherit;
    }
}
/* Responsive */
@media (max-width: 1280px) {


    .tuyensinh-section .card img {
        height: 190px;
        object-fit: inherit;
    }
}

@media (max-width: 1180px) {


    .tuyensinh-section .card img {
        height: 260px;
        object-fit: inherit;
    }
}
@media (max-width: 1024px) {


    .tuyensinh-section .card img {
        height: 225px;
        object-fit: inherit;
    }
}
@media (max-width: 912px) {


    .tuyensinh-section .card img {
        height: 280px;
        object-fit: inherit;
    }
}
@media (max-width: 768px) {
    .banner-tuyensinh img {
        border-radius: 6px;
    }

    .tuyensinh-section .card img {
        height: 230px;
        object-fit: inherit;
    }
}
@media (max-width: 540px) {
    .tuyensinh-section .card img {
        height: 350px;
        object-fit: inherit;
    }
}
@media (max-width: 440px) {
    .tuyensinh-section .card img {
        height: 220px;
        object-fit: inherit;
    }
}
/* Banner tuyển sinh */
/* Section ngành đào tạo */
.nganhdaotao-section {
    background: #fff;
}

    .nganhdaotao-section .section-title span {
        background: #044aa3;
        padding: 3px 10px;
        border-radius: 5px;
        margin-top: 20px;
    }
    .nganhdaotao-section p{
        font-size:18px;
    }
.section-desc {
    font-size: 18px;
}
/* Swiper container */
.nganhSwiper {
    overflow: hidden;
    padding: 20px 0;
}

/* Card */
.nganh-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    width:100%;
}

    .nganh-card img {
        width: 100%;
        height: 450px;
        object-fit: cover;
    }

    .nganh-card::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 40%;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.984), transparent);
        z-index: 1;
    }

.nganh-overlay {
    position: absolute;
    bottom: 15px;
    left: 15px;
    right: 15px;
    color: #fff;
    z-index: 2;
    text-align: left;
    transition: all 0.5s ease;
}

    /* Tên khoa */
    .nganh-overlay h5 {
        margin: 0;
        font-size: 20px;
        font-weight: 600;
        transition: transform 0.4s ease;
    }

/* Menu lớp */
.nganh-menu {
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s ease;
}

    .nganh-menu li {
        font-size: 16px;
        padding: 2px 0;
        border-bottom: 1px solid rgba(255,255,255,0.2);
    }

/* Hiệu ứng hover: tên khoa di chuyển lên, hiện menu */
.nganh-card:hover .nganh-overlay h5 {
    transform: translateY(-10px);
}

.nganh-card:hover .nganh-menu {
    opacity: 1;
    max-height: 200px;
}

/* Nút điều hướng */
.nganh-prev, .nganh-next {
    color: #0e4bfb;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    top: 65%;
    transform: translateY(-50%);
    z-index: 20;
    position: absolute;
}

.nganh-prev {
    left: -15px;
}

.nganh-next {
    right: -15px;
}

    .nganh-prev:hover, .nganh-next:hover {
        background: #0e4bfb;
        color: #fff;
    }


.why-DTDL {
    position: relative;
    background: #044aa3;
    color: #fff;
    padding: 60px 0 20px 0;
    overflow: hidden;
    min-height: 550px;
}

/* ---------------- BACKGROUND DECOR ---------------- */

/* Góc trên bên trái */
.bg-top-left {
    position: absolute;
    top: -20%;
    left: 0;
    width: 30%;
    height: 60%;
    background: url('/images/image 54.png') no-repeat top left;
    background-size: contain;
    z-index: 1;
    opacity: 0.9;
}

/* Dưới bên trái */
.bg-bottom-left {
    position: absolute;
    bottom: 10%;
    left: 0;
    width: 40%;
    height: 55%;
    background: url('/images/Frame 1707481518.png') no-repeat bottom left;
    background-size: cover;
    z-index: 1;
    opacity: 1;
}

/* Góc dưới bên phải */
.bg-bottom-right {
    position: absolute;
    bottom: 0%;
    right: -2%;
    width: 50%;
    height: 50%;
    background: url('/images/image 53.png') no-repeat bottom right;
    background-size: contain;
    z-index: 1;
    opacity: 0.85;
}

/* ---------------- IMAGE NV ---------------- */
.why-person {
    position: absolute;
    bottom: 0;
    left: -5%;
    z-index: 3;
    WIDTH: 50%;
    transform: scaleX(-1);
}

/* ---------------- BOX LEFT & RIGHT ---------------- */
.why-title {
    font-size: 44px;
    font-weight: bold;
    background: #044aa3;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 2px 10px;
    border-radius: 6px;
    margin-bottom: 20px;
    position: relative;
    z-index: 4;
    width: max-content;
}

/* Box phải */
.why-box {
    background: #fff;
    color: #333;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
    position: relative;
    z-index: 4;
}

    .why-box h4 {
        font-size: 30px;
        font-weight: bold;
        color: #ff9800;
        margin: 0;
    }
 

    .why-box p {
        font-weight: bold;
        margin: 5px 0;
        font-size: 18px;
    }

    .why-box span {
        font-size: 18px;
        color: #666;
    }
.counter {
    font-size: 25px!important;
    font-weight: bold!important;
    color: #ff9800!important;
    margin: 0;
}

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 991px) {
    .why-person {
        width: 260px;
        left: 50%;
        transform: translateX(-50%);
        opacity: 1;
    }

    .bg-top-left,
    .bg-bottom-left,
    .bg-bottom-right {
        opacity: 0.4;
    }

    .why-title {
        font-size: 20px;
    }
}



.student-corner {
  background: #fff;
}

    .student-corner .section-title span {
        background: #044aa3;
        padding: 4px 12px;
        border-radius: 6px;
    }

.section-desc {
  max-width: 80%;
  margin: 0 auto 20px;
  color: #444;
  font-size: 18px;
}

/* ============================================
    GRID CHUNG
============================================ */
.student-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ============================================
    HÀNG TRÊN
============================================ */
.top-row {
    display: flex;
    gap: 20px;
}

    .top-row .small {
        flex: 1;
    }

    .top-row .large {
        flex: 2;
    }

/* ============================================
    HÀNG DƯỚI
============================================ */
.bottom-row {
    display: flex;
    gap: 20px;
    align-items: stretch; /* ⭐ 2 cột tự bằng chiều cao nhau */
}

    /* Cột video bên trái */
    .bottom-row .video {
        flex: 2; /* ⭐ video rộng hơn */
        display: flex;
    }

/* Wrapper video */
.yt-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

/* Thumbnail */
.yt-thumbnail,
.yt-thumbnail img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Iframe */
#ytIframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Cột phải 2 ảnh */
.right-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

    .right-col .small {
        flex: 1; /* ⭐ ảnh chia đều 50% */
    }

/* ============================================
    ẢNH
============================================ */
.item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

    .item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .3s ease;
    }

    .item:hover img {
        transform: scale(1.05);
    }

    /* ============================================
    ICON PLAY VIDEO
============================================ */
    .item.video .play-icon {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 50px;
        color: #fff;
        background: rgba(0,0,0,0.6);
        border-radius: 50%;
        padding: 15px;
    }

/* ============================================
    RESPONSIVE
============================================ */
@media (max-width: 991px) {

    .top-row,
    .bottom-row {
        flex-direction: column;
    }

        .top-row .small,
        .top-row .large {
            height: auto;
        }

        .bottom-row .video {
            height: auto; /* ⭐ Video tự đúng tỷ lệ */
        }

    /* video trên mobile dùng aspect ratio cho chuẩn */
    .yt-wrapper {
        aspect-ratio: 16/9;
    }

    /* ảnh trong right-col */
    .right-col .small {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .right-col .small {
        height: 160px;
    }
}

.partners {
    padding:20px;
  background: #f7fcff;
}

    .partners .section-title span {
        background: #044aa3;
        padding: 4px 12px;
        border-radius: 6px;
    }

.partners-slider {
  overflow: hidden;
  position: relative;
  width: 100%;
  margin-bottom: 20px;
}

.partners-track {
  display: flex;
  width: max-content;
  animation: scroll 20s linear infinite;
}

.partners-track img {
  max-height: 90px;
  margin: 0 20px;
  object-fit: contain;
  filter: grayscale(30%);
  transition: 0.3s;
  background: white;
  padding: 10px 15px;
}

.partners-track img:hover {
  filter: none;
  transform: scale(1.05);
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
/* Popup overlay */
.album-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
}

/* Nội dung */
.album-content {
    position: relative;
    max-width: 90%;
    max-height: 80%;
}

    .album-content img {
        width: 100%;
        height: auto;
        border-radius: 10px;
    }

    /* Nút điều hướng */
    .album-content .prev,
    .album-content .next {
        position: absolute;
        top: 50%;
        font-size: 40px;
        color: #fff;
        background: rgba(0,0,0,0.4);
        border: none;
        cursor: pointer;
        padding: 10px 18px;
        border-radius: 6px;
        transform: translateY(-50%);
        transition: background 0.3s;
    }

        .album-content .prev:hover,
        .album-content .next:hover {
            background: rgba(63,168,255,0.8);
        }

    .album-content .prev {
        left: -70px;
    }

    .album-content .next {
        right: -70px;
    }

/* Nút đóng */
.album-modal .close {
    position: absolute;
    top: 25px;
    right: 40px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    z-index: 10000;
    transition: color 0.3s;
}

    .album-modal .close:hover {
        color: #3FA8FF;
    }


.footer {
    position: relative;
    width: 100%;
    min-height: 350px;
    background: #044aa3;
    color: #fff;
    padding: 40px 0;
    overflow: hidden;
}

/* Background trái */
.footer-left-bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 30%;
  height: 100%;
  z-index: 0;
}
.footer-left-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Background phải */
.footer-right-bg {
  position: absolute;
  right: 0;
  top: 0;
  width: 50%;
  height: 100%;
  border-top-left-radius: 25px;
  border-bottom-left-radius: 25px;
  overflow: hidden;
  z-index: 0;
}
.footer-right-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
    .footer-right-bg::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 60%;
        height: 100%;
        background: linear-gradient( to right, rgba(4, 74, 163, 0.95) 0%, rgba(4, 90, 180, 0.85) 25%, rgba(4, 108, 194, 0.65) 50%, rgba(4, 108, 194, 0.35) 70%, rgba(4, 108, 194, 0.15) 85%, rgba(4, 108, 194, 0.05) 95%, rgba(4, 108, 194, 0) 100% );
        border-top-left-radius: 25px;
        border-bottom-left-radius: 25px;
        z-index: 1;
    }

/* Nội dung */
.footer-content {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr; /* 3 cột bằng nhau */
  align-items: flex-start;
  max-width: 80%; /* khung giữa */
  margin: 0 auto;    /* căn giữa */
  width: 100%;
  z-index: 2;
  gap: 20px;
      border-bottom: 1px solid;
}

/* Cột trái */
.footer-column.left {
  text-align: left;
}

/* Cột giữa */
.footer-column.center {
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* chữ thẳng hàng */
  justify-self: center;    /* luôn ở chính giữa grid */
}

/* Cột phải */
.footer-column.right {
  text-align: right;
}

/* Logo */
.footer-logo img {
  width: 350px;
  margin-bottom: 20px;
}
.footer-info {
  font-size: 14px;
  color: #FFF;
  margin-top: 10px;
}

/* Links */
.footer-links h4 {
  margin-bottom: 15px;
  font-size: 18px;
  font-weight: bold;
  color: #fff;
}
.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links ul li {
  margin: 8px 0;
}
.footer-links ul li a {
  display: block;
  text-align: left;
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  transition: 0.3s;
}
.footer-links ul li a:hover {
  color: #00b4ff;
}

/* Social */
.footer-social {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
}
.footer-social a {
  font-size: 20px;
  color: #fff;
  transition: 0.3s;
}
.footer-social a:hover {
  color: #00b4ff;
}

/* Bottom */
.footer-bottom {
  margin-top: 40px;
  text-align: center;
  color: #fff;
  font-size: 18px;
  position: relative;
  font-weight:500;
  z-index: 2;
}

/* ==================== Responsive ==================== */
@media (max-width: 991px) {
  .footer-content {
    grid-template-columns: 1fr; /* xuống 1 cột */
    text-align: center;
    gap: 25px;
  }

  .footer-column {
    text-align: center;
  }

  .footer-column.center {
    align-items: center;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .footer-content {
    grid-template-columns: 1fr;
  }

  .footer-column {
    margin-bottom: 20px;
    text-align: center;
  }

  .footer-column.center {
    align-items: center;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }
}
/* Ẩn mặc định */
/*.reveal {
  opacity: 0;
  transition: all 0.8s ease;
}*/

/* Scroll xuống: bottom → top */
/*.reveal.reveal-up.active {
  opacity: 1;
  transform: translateY(-50px);
  animation: bottomToTop 0.8s ease forwards;
}*/

/* Scroll lên: top → bottom */
/*.reveal.reveal-down.active {
  opacity: 1;
  transform: translateY(50px);
  animation: topToBottom 0.8s ease forwards;
}*/

/* Keyframes */
@keyframes bottomToTop {
  from { opacity: 0; transform: translateY(50px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes topToBottom {
  from { opacity: 0; transform: translateY(-50px); }
  to { opacity: 1; transform: translateY(0); }
}
#flowerCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* không chặn click */
  z-index: 9999;
}
/* Breadcrumb */
/* Breadcrumb bar */
.breadcrumb-bar {
  background: #fff;
  height: 48px;
  display: flex;
  align-items: center; /* căn giữa dọc */
  border-bottom: 1px solid #eee;
}

.breadcrumb {
  margin: 0;
  font-size: 14px;
  color: #666;
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb a {
  color: #666;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
}

.breadcrumb a:hover {
  color: #0056d6;
}

.breadcrumb .separator {
  color: #999;
  font-size: 12px;
}

.breadcrumb .active {
  font-weight: bold;
  color: #111;
}

.breadcrumb .separator {
  font-weight: bold;
  color: #111;
}

/* Banner background */
.page-banner {
  position: relative;
  width: 100%;
  height: 300px;
  background: url("/images/nen.png") no-repeat center center;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-banner::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
}

.page-banner h1 {
  color: #fff;
  font-size: 54px;
  text-transform: uppercase;
  text-align: center;
  z-index: 2;
}
.people-DTDL .section-title{
    text-align:center;
}
/* Responsive */
@media (max-width: 767px) {
    .page-banner { height: 200px; }
  .page-banner h1 { font-size: 24px; }
}

.people-DTDL {
  padding: 20px 0;
}

.section-title {
  text-align: center;
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 40px;
}

.section-title span {
    background: linear-gradient(270deg, #3FA8FF , rgba(229, 248, 255, 0) 100%);
  color: #fff;
  padding: 6px 18px;
  border-radius: 6px;
  display: inline-block;
}

.people-box {
  display: flex;
  justify-content: center; /* căn giữa cả 2 cột */
  align-items: center; /* căn giữa theo chiều dọc */
  gap: 40px;
  padding: 40px;
  border-radius: 15px;
  background: linear-gradient(to right, #f9f9f9, #d9ecff);
}

.message-box {
  position: relative;
  flex: 1;
  background: transparent;
}

.message-box .quote-img {
  position: absolute;
  top: -190px;
  left: 0px;
  font-size: 100px;
  color: rgba(33, 150, 243, 0.2);
  font-family: serif; /* chữ cong đẹp */
  line-height: 1;
  z-index: 0;
}


.message-box .quote-img img {
  width: 100%;
  height: auto;
}

.message-box h5 {
  font-size: 20px;
  font-weight: bold;
  margin-top: 30px; /* đẩy xuống dưới ảnh Frame */
  position: relative;
  z-index: 1;
}

.message-box .sub-title {
  font-size: 14px;
  font-weight: 500;
  color: #555;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

.message-box p {
  font-size: 15px;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.principal-img {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.principal-img img {
  border-radius: 12px;
  max-width: 100%;
  height: auto;
  height: 390px;
}

/* Responsive */
@media (max-width: 991px) {
  .people-box {
    flex-direction: column;
    text-align: center;
  }

  .message-box {
    margin-bottom: 25px;
  }

  .message-box .quote-img {
    left: 50%;
    transform: translateX(-50%);
  }
}


.about-DTDL {
  background: #fff;
}

.section-title span {
     background: linear-gradient(270deg, #3FA8FF , rgba(229, 248, 255, 0) 100%);
  color: #fff;
  padding: 6px 18px;
  border-radius: 6px;
  display: inline-block;
}

.welcome-text {
  font-size: 18px;
  font-weight: bold;
  color: #0e4bfb;
  margin-bottom: 30px;
}

.about-text p {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 15px;
}

.about-img img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Responsive */
@media (max-width: 991px) {
  .about-DTDL .row {
    flex-direction: column-reverse;
    text-align: center;
  }

  .about-text {
    margin-top: 20px;
  }
}


.goals-section {
  background: #fff;
  padding: 20px 0;
}

.goal-box {
  background: linear-gradient(to right, #f5fcff, #e9f6fc);
  padding: 30px;
  border-radius: 12px;
  min-height: 220px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.goal-box h4 {
  font-weight: bold;
  font-size: 20px;
  margin-bottom: 15px;
  color: #222;
}

.goal-box p {
  font-size: 16px;
  line-height: 1.6;
  color: #0077b6; /* xanh giống hình */
  margin-bottom: 0;
}

.goal-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

/* Responsive */
@media (max-width: 767px) {
  .goal-box {
    text-align: center;
  }
}

.timeline-section {
  background: #f2f9fd;
  text-align: center;
  padding: 60px 20px;
}

.timeline-title {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 30px;
  text-align: left;
}

.timeline-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.timeline-content {
  text-align: left;
}

.timeline-content h4 {
  font-size: 26px;
  font-weight: bold;
  color: #0077b6;
  margin-bottom: 15px;
}

.timeline-content .highlight {
  font-weight: 600;
  color: #0077b6;
  margin-bottom: 15px;
}

.timeline-nav {
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.timeline-line {
  position: relative;
  width: 80%;
  border-top: 2px solid #ccc;
}

.timeline-years {
  display: flex;
  justify-content: space-between;
  list-style: none;
  padding: 0;
  margin: 0;
}

.timeline-years li {
  position: relative;
  font-size: 18px;
  color: #777;
  cursor: pointer;
  transition: 0.3s;
}

.timeline-years li::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  background: #ccc;
  border-radius: 50%;
  border: 2px solid #f2f9fd;
}

.timeline-years li.active {
  color: #0077b6;
  font-weight: bold;
}
.timeline-years li.active::before {
  background: #0077b6;
  border-color: #0077b6;
}

.nav-btn {
  background: transparent;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #0077b6;
 transition: 0.3s;
}
.nav-btn:hover {
  color: #005a8d;
}

/* Responsive */
@media (max-width: 767px) {
  .timeline-line {
    width: 100%;
  }
  .timeline-years {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }
}

.bgh-section {
    background: #f9fcff;
    padding: 20px 0;
}

.section-title {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 40px;
}

.section-title span {
  background: linear-gradient(to right, #dbeafe, #60a5fa);
  padding: 4px 12px;
  border-radius: 6px;
}

.bgh-card {
  background: linear-gradient(to bottom right, #f5fafe, #ebf6fd);
  border-radius: 12px;
  padding: 20px;
  transition: transform 0.3s, box-shadow 0.3s;
  height: 100%;
}

.bgh-card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 15px;
 height:270px;
 object-fit:contain;
}

.bgh-card h5 {
  font-size: 18px;
  font-weight: 600;
  color: #222;
  margin-bottom: 8px;
}

.bgh-card .role {
  font-size: 15px;
  font-weight: 500;
  color: #1d9bf0;
}

.bgh-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

/* Responsive */
@media (max-width: 767px) {
  .bgh-card {
    margin-bottom: 20px;
  }
}

.org-section {
  background: #fff;
}

.section-title {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 40px;
}
.section-title span {
  background: linear-gradient(to right, #dbeafe, #60a5fa);
  padding: 4px 12px;
  border-radius: 6px;
}

.org-section {
  background: #f9fcff;
  padding:0 20px 0 20px;
}

h2.section-title {
  text-align: center;
  margin-bottom: 20px;
  font-size: 28px;
  font-weight: bold;
}
    h2.section-title span {
        background: #044aa3;
        padding: 4px 12px;
        border-radius: 6px;
        color: #fff;
    }

.orgchart {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.org-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 20px 0;
  gap: 20px;
}

.org-box {
  background: #0d47a1;
  color: #fff;
  padding: 12px 20px;
  border-radius: 6px;
  font-weight: bold;
  text-align: center;
  min-width: 180px;
  max-width: 220px;
  z-index: 10;
}

.org-box.light {
  background: #e3f2fd;
  color: #0d47a1;
  font-weight: 600;
}

/* Responsive */
@media(max-width: 768px) {
  .org-row {
    flex-direction: column;
    align-items: center;
  }
}
.chuongtrinhdaotao {
  background: #fff;
  padding: 20px 20px;
}

.section-title {
  text-align: left;
  font-size: 44px;
  font-weight: bold;
  margin-bottom: 20px;
}
.nganhdaotao-section .section-title {
    text-align: center;
}
.student-corner .section-title {
    text-align: center;
    margin-top:20px;
}
.partners .section-title {
    text-align: center;
    margin: 20px 0;
}
.section-title span {
    background: linear-gradient(to right, #90caf9, #2196f3);
    padding: 4px 12px;
    border-radius: 6px;
    color: #000;
}

/* Tabs */
.tab-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
}

.tab-btn {
  border: 1px solid #ccc;
  border-radius: 40px;
  padding: 12px 36px;
  font-weight: 600;
  background: #fff;
  cursor: pointer;
  transition: 0.3s;
}
.tab-btn.active {
  background: linear-gradient(to right, #00b0ff, #2196f3);
  color: #fff;
  border-color: transparent;
}
.tab-btn:hover {
  background: #e3f2fd;
}

/* Table */
.table-wrapper {
  overflow-x: auto;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  padding: 10px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 18px;
}

thead {
  background: #f5f5f5;
}
th, td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #eee;
}

tbody tr:nth-child(even) {
  background: #eaf4ff;
}
tbody td:first-child {
  color: #2196f3;
  font-weight: 600;
}

/* Button */
.btn-detail {
  background: linear-gradient(to right, #00b0ff, #2196f3);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 12px 24px;
  margin-top: 30px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.3s;
}
.btn-detail:hover {
  background: #1976d2;
}

/* Responsive */
@media (max-width: 768px) {
  .tab-btn {
    padding: 10px 24px;
  }
  th, td {
    font-size: 14px;
    padding: 10px 12px;
  }
}

.text-center {
  text-align: center;
}

.tab-content {
  display: none;
}
.tab-content.active {
  display: block;
}


.cosovatchat {
  background: #fff;
  padding: 20px 20px;
}


/* --- Title --- */
.title-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 30px;
  gap: 20px;
}

.title-left h2 {
  font-size: 26px;
  font-weight: 700;
  color: #222;
  margin: 0;
  line-height: 1.4;
}

.title-right {
  flex: 1;
  max-width: 600px;
}

.title-right p {
  color: #333;
  font-size: 18px;
  line-height: 1.6;
}

/* --- Content layout --- */
.content-row {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: stretch;
}

/* Ảnh bên trái */
.left-img {
  flex: 1 1 45%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.left-img img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
}

/* Bên phải */
.right-boxes {
  flex: 1 1 50%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 1fr; /* đảm bảo ô cao bằng nhau */
  gap: 20px;
  
}

.top-boxes,
.bottom-boxes {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

/* Box thông tin */
.info-box {
    flex: 1 1 48%;
    background: #E9F9FF;
    border-radius: 12px;
    padding: 20px;
    box-sizing: border-box;
}

.info-box .label {
  font-size: 18px;
  color: #444;
  margin-bottom: 10px;
}

.info-box h3 {
  font-size: 36px;
  color: #2196f3;
  margin: 0;
  font-weight: 700;
}

.info-box .sub {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-top: 5px;
}

/* Box chứa ảnh bên phải */
.img-box {
  flex: 1 1 48%;
}

.img-box img {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  object-fit: cover;
}

/* --- Responsive --- */
@media (max-width: 992px) {
  .content-row {
    flex-direction: column;
  }
  .left-img, .right-boxes {
    flex: 1 1 100%;
  }
}

@media (max-width: 768px) {
  .title-left h2 {
    font-size: 22px;
  }
  .info-box h3 {
    font-size: 30px;
  }
}
/* ===== SUBNAV DƯỚI BANNER ===== */
.subnav {
  background: #f1faff;
  padding: 5px 0;
  border-top: 1px solid #e0edf7;
  border-bottom: 1px solid #e0edf7;
}

.subnav-container {
  width: max-content;
  max-width: 1400px;
  margin: 0 auto;
}

.subnav-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 15px;
}

.subnav-list li {
  flex: 1 1 auto;
  text-align: center;
}

.subnav-list a {
  display: inline-block;
  padding: 10px 16px;
  text-decoration: none;
  font-size: 18px;
  color: #222;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.3s ease;
}

/* Active item */
    .subnav-list li.active a {
        background: #044aa3;
        color: #fff;
        font-weight: 600;
    }

/* Hover effect */
    .subnav-list a:hover {
        color: #044aa3;
    }

/* Responsive */
@media (max-width: 992px) {
  .subnav-container {
    width: 90%;
  }

  .subnav-list {
    justify-content: center;
    gap: 10px;
  }

  .subnav-list a {
    font-size: 13px;
    padding: 8px 12px;
  }
}

@media (max-width: 768px) {
  .subnav-list {
    flex-direction: column;
    align-items: center;
  }

  .subnav-list li {
    width: 100%;
  }

  .subnav-list a {
    width: 90%;
    display: block;
    text-align: center;
  }
}

/* =========================
   SECTION: TIN TỨC KHOA
========================= */
.news-section {
  background: #fff;
  padding: 10px 0;
}


/* Tiêu đề trên cùng */
.news-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.news-header .section-title {
  font-size: 32px;
  font-weight: 800;
  color: #111;
  margin: 0;
  letter-spacing: 0.5px;
}

    .news-header .section-title span {
        background: #044aa3;
        color: #fff;
        padding: 5px 12px;
        border-radius: 6px;
    }

/* Nút “Xem thêm” */
    .news-header .btn-more {
        background: #044aa3;
        color: #fff;
        padding: 6px 16px;
        border-radius: 8px;
        text-decoration: none;
        font-size: 14px;
        font-weight: 500;
        transition: all 0.3s ease;
    }

.news-header .btn-more i {
  margin-left: 6px;
  font-size: 13px;
}

.news-header .btn-more:hover {
  background: #007dc2;
  color: #fff;
}

/* --- Tin nổi bật bên trái --- */
.news-featured {
  position: relative;
}

.news-featured img {
  width: 100%;
  height: 450px;
  object-fit: inherit;
  border-radius: 10px;
}

.news-featured .news-content {
  margin-top: 10px;
}

.news-featured .badge {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 6px;
}

    .news-featured h5 {
        font-size: 22px;
        font-weight: 600;
        color: #111;
        margin: 10px 0 8px;
        list-style: outside none none;
        text-align: justify;
    }

.news-featured p {
  font-size: 11px;
  color: #444;
  line-height: 1.6;
}

/* --- Danh sách tin nhỏ bên phải --- */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/*.news-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(231, 231, 231, 0.837);
}*/

/*.news-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}*/

.news-item img {
  width: 100px;
  height: 65px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.news-item h6 {
    color: #111;
    line-height: 23px;
    list-style: outside none none;
    font-size: 14px;
}

.news-item p {
  font-size: 13px;
  color: #555;
  margin-bottom: 3px;
}

.news-item i {
  margin-right: 4px;
  color: #888;
}

/* --- Responsive --- */
@media (max-width: 992px) {
  .news-featured img {
    height: 280px;
  }

  .news-header .section-title {
    font-size: 26px;
  }

  .news-item img {
    width: 100px;
    height: 70px;
  }
}

@media (max-width: 768px) {
  .news-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .news-header .btn-more {
    align-self: flex-start;
  }

  .news-featured img {
    height: 230px;
  }

  .news-item img {
    width: 90px;
    height: 60px;
  }
}

/* ============ HOẠT ĐỘNG SINH VIÊN SLIDER ============ */
.activitySwiper {
  width: 100%;
  overflow: hidden;
  padding-bottom: 40px;
}

.activity-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.activity-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.activity-card:hover img {
  transform: scale(1.05);
}

.activity-card .activity-body {
  padding: 15px;
}

.activity-card h6 {
  font-size: 15px;
  font-weight: 600;
  color: #111;
  margin-bottom: 8px;
}

.activity-card .date {
  font-size: 13px;
  color: #666;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 0;
}

/* Nút điều hướng */
.activity-prev, .activity-next {
  color: #0e4bfb;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.activity-prev:hover, .activity-next:hover {
  background: #0e4bfb;
  color: #fff;
}

.activity-prev::after, .activity-next::after {
  font-size: 18px;
  font-weight: bold;
}

@media (max-width: 768px) {
  .activity-card img {
    height: 180px;
  }
}
.section-title span {
    background: #044aa3;
    color: #fff;
    padding: 6px 14px;
    border-radius: 6px;
    display: inline-block;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
}

/* ===== HOẠT ĐỘNG KHOA ===== */
.hoatdongkhoa-section {
  background: #fff;
  padding: 20px 0;
}

/* Tiêu đề */
.hoatdongkhoa-section .section-title {
  text-align: center;
  font-size: 28px;
  font-weight: bold;
}

    .hoatdongkhoa-section .section-title span {
        background: #044aa3;
        color: #fff;
        padding: 6px 18px;
        border-radius: 6px;
        display: inline-block;
    }

/* ===== BỐ CỤC 3 CỘT ===== */
.gallery-layout-fixed {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 20px;
  height: 962px; /* Tổng chiều cao toàn khối */
}

.gallery-layout-fixed .col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.img-box {
  overflow: hidden;
  border-radius: 10px;
  position: relative;
  background: #f6f9ff;
}

.img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.img-box:hover img {
  transform: scale(1.05);
}

/* ===== CHIỀU CAO THEO TỶ LỆ ===== */

/* Cột trái */
.col.left .top {
  flex: 0 0 70%;
}
.col.left .bottom {
  flex: 0 0 30%;
}

/* Cột giữa */
.col.center .mid-top,
.col.center .mid-bottom {
  flex: 0 0 50%;
}

/* Cột phải */
.col.right .top {
  flex: 0 0 30%;
}
.col.right .bottom {
  flex: 0 0 70%;
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .gallery-layout-fixed {
    flex-direction: column;
    height: auto; /* bỏ cố định để co lại trên tablet */
  }

  .gallery-layout-fixed .col {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .col.left .top,
  .col.left .bottom,
  .col.center .mid-top,
  .col.center .mid-bottom,
  .col.right .top,
  .col.right .bottom {
    flex: 1 1 48%;
    height: 240px;
  }
}

@media (max-width: 576px) {
  .gallery-layout-fixed .col {
    flex-direction: column;
  }

  .col.left .top,
  .col.left .bottom,
  .col.center .mid-top,
  .col.center .mid-bottom,
  .col.right .top,
  .col.right .bottom {
    height: 180px;
  }
}

.camnhansinhvien-section {
  background: #fff;
  padding: 20px 0;
  text-align: center;
  overflow: hidden;
}

    .camnhansinhvien-section .section-title span {
        background: #044aa3;
        color: #fff;
        padding: 6px 18px;
        border-radius: 6px;
        display: inline-block;
    }
.camnhansinhvien-section .section-title {
    text-align: center;
}
.activity-section .section-title {
    text-align: center;
}
    /* Slider */
    .testimonial-slider {
        width: 100%;
        overflow: hidden;
        position: relative;
    }

.testimonial-track {
  display: flex;
  transition: transform 0.8s ease;
}

.testimonial {
  flex: 1 0 20%; /* 5 cái / 1 hàng */
  padding: 0 15px;
  box-sizing: border-box;
}

.testimonial-box {
  background: #eaf4ff;
  padding: 25px 20px 45px;
  border-radius: 12px;
  position: relative;
  height: 220px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.testimonial-box:hover {
  transform: translateY(-5px);
}

.testimonial-box p {
  font-size: 15px;
  color: #333;
  line-height: 1.6;
}

/* Ảnh tròn */
.student-img {
  position: absolute;
  bottom: -28px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #fff;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.student-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial h6 {
  margin-top: 45px;
  font-size: 15px;
  font-weight: 700;
  color: #111;
}

.news-date-box {
    position: absolute;
    bottom: 140px;
    right: 15px;
    text-align: center;
    min-width: 60px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    background: #F2FCFF;
    border: 1px solid #F1F1F1;
    border-radius: 10px;
    min-height: 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
@media (max-width: 1400px) {
    .news-date-box {
        bottom: 75px;
    }
}
@media (max-width: 1300px) {
    .news-date-box {
        bottom: 90px;
    }
}
@media (max-width: 1080px) {
    .news-date-box {
        bottom: 90px;
    }
}
/* Responsive */
@media (max-width: 992px) {
    .testimonial {
        flex: 1 0 33.33%; /* 3 cái / 1 hàng */
    }
    .news-date-box {
        bottom: 80px;
    }
}

@media (max-width: 768px) {
    .testimonial {
        flex: 1 0 50%; /* 2 cái / 1 hàng */
    }
    .news-date-box {
        bottom: 75px;
    }
}
@media (max-width: 640px) {

    .news-date-box {
        bottom: 90px;
    }
}

@media (max-width: 576px) {
    .testimonial {
        flex: 1 0 100%; /* 1 cái / hàng */
    }
    .news-date-box {
        bottom: 90px;
    }
}
@media (max-width: 460px) {

    .news-date-box {
        bottom: 90px;
    }
}
.news-date-box .day {
    display: block;
    font-weight: 600;
    font-size: 26px;
    text-align: center;
    color: #023483;
}

.news-date-box .month {
    font-size: 11px;
    text-align: center;
    color: #023483;
}
    .news-date-box hr {
        width: 65px;
        height: 1px;
        border: 1px solid #DADADA;
        margin: 0;
    }

.card-body .card-title {
    line-height: 23px;
    list-style: outside none none;
    font-weight: 600;
    font-size: 16px;
    color: #023483;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Giới hạn 3 dòng */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.yt-wrapper {
    position: relative;
    width: 100%;
    margin: auto;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 12px;
}

.yt-thumbnail {
    position: absolute;
    inset: 0;
    cursor: pointer;
}

    .yt-thumbnail img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        filter: brightness(70%);
    }

/* Nút PLAY custom */
.yt-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80px;
    height: 80px;
    background: #006FE5;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 25px #006FE5;
}

    .yt-play-btn::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 55%;
        transform: translate(-50%, -50%);
        border-style: solid;
        border-width: 18px 0 18px 30px;
        border-color: transparent transparent transparent white;
    }

/* Iframe ẩn cho đến khi bấm */
#ytIframe {
    width: 100%;
    height: 100%;
    display: none;
}
.tuyenSinhSwiper {
    width: 100%;
    overflow: hidden;
    height: 100%;
}
    .tuyenSinhSwiper .swiper-wrapper {
        align-items: stretch;
    }

    /* Slide stretch theo wrapper */
    .tuyenSinhSwiper .swiper-slide {
        height: auto;
        display: flex;
    }
a{
    text-decoration:none;
    color:black;
}

.section-title span a{
    font-size:28px;
    color:#fff !important;
}

/* ===============================
   ZOOM TOÀN BỘ CỤM STUDENT CORNER
================================ */
.student-corner {
    transform: scale(0.88);
    opacity: 0;
    transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1), opacity 1s ease;
    will-change: transform, opacity;
}

    .student-corner.active {
        transform: scale(1);
        opacity: 1;
    }

/* ===============================
   FLOATING ICON LEFT BOTTOM
================================ */
.floating-left {
    position: fixed;
    right: 15px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 9999;
}

/* Nút chung */
.float-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    color: #fff;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 6px 15px rgba(0,0,0,0.25);
    transition: transform 0.3s, box-shadow 0.3s;
}

    .float-btn:hover {
        transform: scale(1.1);
        box-shadow: 0 10px 25px rgba(0,0,0,0.35);
    }

    /* Màu từng icon */
    .float-btn.call {
        background: #e53935;
    }

    .float-btn.messenger {
        background: #1877f2;
    }

    .float-btn.zalo {
        background: #0068ff;
        font-size: 14px;
        font-weight: 600;
    }

    .float-btn.top {
        background: #e53935;
    }

    /* chữ Zalo */
    .float-btn.zalo span {
        font-size: 14px;
    }

.chatbot-btn {
    position: fixed;
    bottom: 225px;
    right: -3px;
    width: 90px;
    height: 90px;
    transform: scale(0.8);
    transform-origin: bottom right;
    border: none;
    z-index: 9999;
}

/* hover thì dừng */
.partners-slider:hover .partners-track {
    animation-play-state: paused;
}

@keyframes partnerScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* Nền trắng trên - xanh dưới */
.section-wrapper {
    background: linear-gradient(to bottom, #fff 65%, #044aa3 35%);
    padding: 60px 0;
}

/* Banner đỏ */
.banner-edu {
    background: linear-gradient(135deg, #c62828, #d32f2f);
    padding: 40px;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

    /* Wave */
    .banner-edu::after {
        content: "";
        position: absolute;
        inset: 0;
        background: url('wave.png') no-repeat right center;
        background-size: cover;
        opacity: 0.15;
    }

/* Line nhỏ trên chữ ĐÀO TẠO */
.label-line {
    position: relative;
    padding-top: 10px;
    display: inline-block;
}

    .label-line::before {
        content: "";
        width: 40px;
        height: 2px;
        background: #fff;
        position: absolute;
        top: 0;
        left: 0;
    }

/* Text */
.banner-edu h2 {
    font-size: 32px;
    line-height: 1.4;
}

.banner-edu .desc {
    font-size: 14px;
    line-height: 1.6;
}

/* Ảnh */
.banner-img {
    max-height: 280px;
}

/* Responsive */
@media (max-width: 768px) {
    .banner-edu {
        padding: 20px;
    }

        .banner-edu h2 {
            font-size: 24px;
        }

    .section-wrapper {
        background: #0b2c5a;
    }
}