* {
    padding: 0;
    margin: 0;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12pt;
}

.menu_dau_trang {
    width: 100%;
    height: 98px;
    display: flex;
    justify-content: flex-end;
    padding:0px;
    gap: 12px;
    background: linear-gradient(rgb(171, 31, 36), rgb(145, 28, 36));
}
.menu_dau_trang ul li {
    display: inline-block;
    margin-right: 20px;
    list-style: none;
    color: aliceblue;
    list-style: none;
}
.menu_dau_trang ul li a{
    color: aliceblue;
}
.menu_dau_trang a {
    text-decoration: none;
    color: #000;
    font-size: 16px;
    padding: 10px 15px;
    display: block; /*CHIẾM TOÀN BỘ KHÔNG GIAN TRÊN LIST*/
}



.main-nav ul {
    list-style: none;
}
.logo {
    width: 180px;
    height: 60px;
    margin-left: 5px;
}

/* Reset CSS 
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Nút mở menu */
.menu-toggle {
    font-size: 30px;
    cursor: pointer;
    padding: 10px;
    position: fixed;
    top: 5px;
    left: 15px;
    background-color: #333;
    color: white;
    border-radius: 5px;
}

/* Menu dọc */
.menu {
    width: 250px;
    height: 100vh;
    background-color: #222;
    position: fixed;
    top: 0;
    left: -250px;
    transition: left 0.3s ease-in-out;
    padding-top: 60px;
}

/* Nút đóng menu */
.menu-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 25px;
    color: white;
    cursor: pointer;
}

/* Danh sách menu */
.menu ul {
    list-style: none;
    padding: 0;
    text-align: center;
}

.menu ul li {
    padding: 15px 0;
}

.menu ul li a {
    color: white;
    text-decoration: none;
    font-size: 20px;
    display: block;
}

.menu ul li a:hover {
    background-color: #444;
}

/* Thanh menu chính */
.main-nav {
    background-color: #ffffff;
    height: 101px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 50px;
    padding-top: -10px;
}


.nav-links {
    list-style: none;
    display: flex;
    justify-content: center; /* Căn giữa các mục trong nav */
    align-items: center;
    margin-left: auto;
    gap: 10px;
    padding: 0px 0px 0px 40px;
}

.nav-links li {
    margin: 0 10px;
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    font-size: 16px;
}

.nav-links a:hover {
    color: #800000;
}

/* Banner */
.banner img {
    width: 100%;
    height: auto;
}

/* Thanh menu dưới */
.bottom-menu {
    background-color: #800000;
    color: white;
    text-align: center;
    padding: 10px;
    margin-top: 10px;
}

.bottom-menu ul {
    list-style: none;
    display: flex;
    justify-content: center;
}

.bottom-menu li {
    margin: 0 15px;
}

/* Responsive (cho màn hình nhỏ) */
@media screen and (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        background: #800000;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        padding: 20px;
    }

    .nav-links li {
        margin: 10px 0;
    }

    .nav-links a {
        color: white;
    }

    .menu-toggle {
        display: block;
    }
}

@media(max-width: 600px) {
    h1 {
      font-size: 28px;
    }

    .grid-item {
      height: 220px;
    }

    .overlay-text {
      font-size: 14px;
    }
  }
marquee {
    background-color:#800000;
    color: white;
    padding: 25px;
}
.anh_nen_2 {
    border-left: 20px solid white;
    border-top: 20px solid white;
}

/* phần cuối footer */
footer {
    padding: 20px;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    background-color: #800000;
    gap:20px;
}
.footer-logo {
    height: 50px;
    width: 200px;
}
.footer-info {
    margin: 20px ;
    padding: 10px;
    color: #ffffff;
    width: 200px;
}
.footer-1 {
    text-align: center;
    padding: 10px;
}
.footer div{
    flex: 1 1 200px;
}
.khoa {
    color: #ffffff;
    
}
.khoa ul li {
    list-style: none;
    padding: 2px;
    width: 280px;
}


.trung-tam {
    color: #ffffff;
}
.trung-tam ul li {
    width: 280px;
    list-style: none;
}
.dang-doan-the {
    color: #ffffff;
}
.dang-doan-the ul li {
    list-style: none;
    padding: 2px;
    width: 260px;
}
.phong-ban {
    color: #ffffff;
}
.phong-ban ul li {
    list-style: none;
    padding: 2px;
    width: 220px;
}
.khoa ul{
    margin: 0px;
    padding: 0px;
  }
.trung-tam ul{
  margin: 0px;
  padding: 0px;
}
.dang-doan-the ul{
  margin: 0px;
  padding: 0px;
}
.phong-ban ul{
  margin: 0px;
  padding: 0px;
}
/* Chế độ sáng (light mode) */
body.light-mode {
    background-color: #ffffff;
    color: #000000;
}

.container {
    padding: 20px;
    text-align: center;
}

/* Chế độ tối (dark mode) */
body.dark-mode {
    background-color: #121212;
    color: #ffffff;
}

/* Nút chuyển chế độ */
#mode-toggle {
    padding: 10px 20px;
    margin-top: 20px;
    font-size: 16px;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    background-color: #e50000b6;
    color: white;
    transition: background-color 0.3s;
}

#mode-toggle:hover {
    background-color: #2ea634;
}

/*Tuyen Sinh*/
.tuyen_sinh_page{
    text-decoration: none;
    color: black;
}
.tuyen_sinh_space
{
    height: 25em;
    background-color: #eeecec;
    margin-bottom: 5px;
    text-decoration: none;
}
.anh_minh_hoa_trang_tuyen_sinh
{
    margin: 20px 20px 20px 100px;
    width: 40em;
    height: 23em;
    position: relative;
}
.title_tuyen_sinh
{
    font-size: 50px;
    font-weight: bolder;
    color: rgb(53, 117, 53);
    position: relative;
    left:1000px;
    top: -350px;
}
.tuyen-sinh{
    width: 800px;
    font-size: 40px;
    position: relative;
    left:1000px;
    top: -300px;
}
.arrow_tuyen_sinh{
    font-size: 60px;
    position: relative;
    left :95%;
    top:-450px;
    width: 100px;
    height: 100px;
    text-align: center;
    border-radius: 50%;
    background-color:#e2e2e2;
    margin: 0px 0px 0px 0px;
    display: none;
}
.tuyen_sinh_space:hover{
    .anh_minh_hoa_trang_tuyen_sinh{
        left: -50px;
    }
    .title_tuyen_sinh{
        color: rgb(104, 104, 204);
        left: 950px;
    }
    .card-text{
        color:rgb(104, 104, 204) ;
        left: 950px;
    }
    .arrow_tuyen_sinh{
        display: block;
    }
}

/*reponsive*/
@media screen and (max-width: 768px) {
    .tuyen_sinh_space{
        height: 31em;
    }
    .anh_minh_hoa_trang_tuyen_sinh{
        margin: 10px 10px 10px 20px;
        width: 35em;
        height: 20em;
    }
    .title_tuyen_sinh{
        width: 80%;
        margin-left: 20px;
        left: 0px;
        top:0px;
    }
    .card-text{
        width: 80%;
        margin-left: 20px;
        left:0px;
        top:0px;
    }
}
 /* học bổng - học phí table*/
.hocphi_table{
    justify-self: center;
    border: 2px solid black;
    text-align: center;
    .colums-2{
        text-align: left;
    }
}
/* xét tuyển */
.xettuyen_tuyensinh{
    text-decoration: none;
    color: white;
    position: absolute;
    left: 41%;
    text-align: center;
    vertical-align: middle;
    font-weight: bold;
    font-size: 28px;
    width: 350px;
    height: 100px;
    line-height: 100px;
    background-color:#9e0101;
    border-radius: 15px;
}
#xettuyen1{
    bottom: 70%;
}
#xettuyen2{
    bottom: 55%;
}
#xettuyen3{
    bottom: 40%;
}
#xettuyen4{
    bottom: 25%;
}
.xettuyen_tuyensinh:hover{
    background-color: #c51717 ;
}
/*dinh huong*/
#hover-img{
    position: relative;
    padding: 0;
    width: 455px;
    height:256px;
    border-radius: 2%;
    margin: 0px auto 20px auto;
    border: none;
}
#hover-img img{
    position: absolute;
    object-fit: cover;
}
.dinhhuong{
    color: white;
    font-weight: bold;
    font-weight: 20px;
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5); /* lớp phủ tối */
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-transform: uppercase;
}
.dinhhuong p{
    bottom: 50px;
}
.card{
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.img-hover {
    opacity: 0;
  }
  
  .card:hover .img-hover {
    opacity: 1;
  }
  
  .card:hover .img-default {
    opacity: 0;
  }
.card:hover .dinhhuong{
    opacity: 1;
}
/*thong tin*/

    
.thongtin-news{
    display: block;
    text-decoration: none;
    color: #000000;
    font-weight: bold;
    text-transform: uppercase;
    padding: 0px 20px 0px 0px;
    margin: 0px 0px 20px 0px;
    height: auto;
    background-color: #f1f1f1;
    text-align: justify;
}
.title-news{
    border-right: 2px solid black;
}
.news{
    position: absolute;
    opacity: 0;
}
.title-of-new1:active{
    .new1{
        opacity: 1;
    }
}

/* Nút mở menu */
.menu-toggle {
    font-size: 30px;
    cursor: pointer;
    padding: 10px;
    position: fixed;
    z-index: 9999;
    top: 5px;
    left: 15px;
    background-color: #333;
    color: white;
    border-radius: 5px;
  }
  
  /* Menu dọc */
  .menu {
    width: 250px;
    height: 100vh;
    background-color: #222;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: -250px;
    transition: left 0.3s ease-in-out;
    padding-top: 60px;
  }
  
  /* Nút đóng menu */
  .menu-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 25px;
    color: white;
    cursor: pointer;
  }
  
  /* Danh sách menu */
  .menu ul {
    list-style: none;
    padding: 0;
    text-align: center;
  }
  
  .menu ul li {
    padding: 15px 0;
  }
  
  .menu ul li a {
    color: white;
    text-decoration: none;
    font-size: 20px;
    display: block;
  }
  
  .menu ul li a:hover {
    background-color: #444;
  }
  
  