/* Reset cơ bản */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/*main {
  line-height: 1.1; /* giảm line-height toàn bộ nội dung chính 
}*/
/*chỉnh khoảng cách giữa các đoạn nhỏ 0.5px */
.page-title,
.content-section h3,
.content-section h4,
.content-section p {
  line-height: 1.1;
}


body {
  font-family: Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #0b1d58;
}
.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}

/* Main header layout */
.main-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-top: 0; /* Không cần thêm padding */
}

/*PHẦN LOGO TRƯỜNG logo.png*/   /*- giảm thì dịch qua bên phỉa, tăng thì dịch qua =bên trái*/

.branding {
  margin-left: -2cm;
}

.branding img {
  height: 160px;
  margin-top: -10px; /* <<< Đẩy logo lên khoảng 1cm */
}

.menu-group {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 40px; /* <<< Tăng gấp đôi khoảng cách giữa hai dòng tab */
}

.top-nav {
  margin-top: 20px; /* <<< Đẩy nhóm tab Faculty/Staff... xuống */
}

.top-nav ul {
  display: flex;
  align-items: center;
  gap: 10px;
}
.top-nav .separator {
  color: #ccc;
}
.top-nav a {
  font-size: 12px;
  color: #0b1d58;
}
.top-nav a:hover {
  color: #28a745;
}
.top-nav .lang.active {
  color: #db1f12;
  font-weight: bold;
}

/* Main navigation */
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 20px;
}


.main-nav a {
  font-size: 14px;         /* tăng kích thước cỡ chữ: Trang chủ, Giới thiệu.... lên */
  font-weight: bold;       /* tô đậm */
  text-transform: none;    /* vẫn giữ nguyên chữ thường */
  color: #0b1d58;
}


.main-nav a:hover {
  color: #28a745; /* xanh lá khi hover */
}
.main-nav a.active {
  color: #28a745; /* xanh lá khi đang ở trang đó */
}

/* Page title */
.page-title {
  text-align: center;
  font-size: 24px;
  margin: 20px 0 30px;
  color: #0b1d58;
  font-weight: bold;
  text-transform: uppercase;
}

/* Nội dung chính */
.content-section {
  margin-bottom: 30px;
}
.content-section h3 {
  font-size: 18px;
  margin-bottom: 15px;
  font-weight: bold;
}
.content-section h4 {
  font-size: 16px;
  margin-top: 20px;
  margin-bottom: 10px;
  font-weight: bold;
}
.content-section p {
  margin-bottom: 15px;
  text-align: justify;
}
/* CSSSSSSSSS TIẾP THEO PHẦN ĐẦU */
/* Ảnh lãnh đạo */
.leader-photo {
  text-align: center;
  margin: 10px 0 5px 0; /* thu gọn margin: trên 10px, dưới chỉ còn 5px */
}
.leader-photo img {
  width: auto;
  max-width: 300px;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.leader-name {
  margin-top: 5px; /* thu nhỏ khoảng cách chữ và ảnh chỉ 5px */
  font-size: 12.5px;
  font-style: italic;
  font-weight: normal;
  color: #0b1d58;
  display: inline-block;
  text-align: center;
}

/* Bộ sưu tập hình ảnh ---ảnh minh họa mục 4 giới thiệu*/
.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.image-item {
  display: flex;
  flex-direction: column;
  align-items: center; /* căn giữa caption theo ảnh */
  max-width: 700px;
  width: 100%;
}

.image-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: block;
}



/* Thông tin liên hệ */
.contact-info {
  margin-top: 15px;
  line-height: 1.4; /* Thu gọn dòng */
  color: #0b1d58;
}
.contact-info p {
  margin-bottom: 8px;
  font-size: 14px;
}
.contact-info strong {
  font-weight: bold;
}

/****/
.profiles-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 cột đều nhau */
  justify-items: center; /* căn giữa ảnh trong từng cột */
  gap: 10px 100px; /* hàng: 20px, cột: 100px cách nhau ~5cm */
  margin-top: 20px;
  margin-bottom: 20px;
}

.profile-box {
  text-align: center;
}

.profile-box img {
  height: 200px;           /* Cố định chiều cao để ảnh không lệch */
  width: 150px;            /* Hoặc auto nếu muốn giữ tỉ lệ */
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}


.caption {
  margin-top: 10px;
  font-size: 14px;
  color: #0b1d58;
  font-style: italic;
}

.profile-box img:hover {
  filter: brightness(1.1);
  transform: scale(1.05);
  transition: all 0.3s ease;
}
.hover-green {
    color: darkred; /* màu đỏ sẫm */
    text-decoration: none; /* không gạch chân mặc định */
    font-weight: normal;
    transition: all 0.2s ease; /* hiệu ứng mượt khi hover */
}

.hover-green:hover {
    color: green; /* xanh lá */
    font-weight: bold;
    text-decoration: underline;
}

/*-------PHẦN LOGO LIÊN KẾT------*/
.info-section {
  text-align: center;
  font-size: 14px;
  color: #0b1d58;
  line-height: 1.5;
  margin-bottom: 10px;
}

.info-section p {
  margin: 2px 0;
}

/* Logo Section */
.logo-section {
  padding: 0;
  background: #fff;
}

/* Thanh xanh trắng xen kẽ cực nhỏ và mượt */
.blue-line {
  height: 8px;
  background: repeating-linear-gradient(
    45deg,
    #66b2ff,
    #66b2ff 2px,
    white 1.5px,
    white 2.5px
  );
  margin: 0;
}

/* Các dòng logo */
.logo-row {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  display: flex;
  align-items: center;
}

/* Dòng trượt logo */
.logo-track {
  display: flex;
  animation: scroll 20s linear infinite; /* <<< Animation mượt liên tục */
}

/* Container chứa các logo */
.logo-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 80%;
  max-width: 1000px;
  overflow: hidden;
}

/* Các logo */
.logo-item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 30px;
}


/* Logo dòng 1: To hơn dòng 2 */
.top-row .logo-item img {
  height: 120px; /* to */
  width: auto;
  object-fit: contain;
}

/* Logo dòng 2: Nhỏ hơn */
.bottom-row .logo-item img {
  height: 60px; /* nhỏ */
  width: auto;
  object-fit: contain;
}

/* Animation trượt băng chuyền */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Hình ảnh logo */
.logo-item img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Mũi tên điều hướng */
.logo-nav {
  font-size: 24px; /* cỡ chữ mũi tên */
  color: #0b1d58;
  cursor: pointer;
  padding: 5px;
  user-select: none;
  display: flex;
  align-items: center;
}
.logo-nav:hover {
  color: #28a745;
}


.swiper {
  width: 90%;
  max-width: 1200px;
  margin: 10px auto;
  position: relative; /* cần relative để định vị mũi tên */
}

.swiper-wrapper {
  align-items: center;
}

.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide img {
  width: 100%;
  max-width: 150px; /* max kích thước logo */
  height: auto;
  object-fit: contain;
}

/* Nút điều hướng */
.swiper-button-next, .swiper-button-prev {
  top: 50%;
  width: 30px;
  height: 30px;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.1);
  color: #0b1d58;
  z-index: 10;
}

.swiper-button-prev {
  left: -5px; /* sát logo đầu tiên */
}

.swiper-button-next {
  right: -5px; /* sát logo cuối cùng */
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: rgba(0,0,0,0.3);
  color: #28a745;
}

/*css ảnh  giám đốc*/
.leader-photo {
  text-align: center;
  margin: 15px 0;
}

.leader-photo img {
  width: auto;
  max-width: 200px; /* hoặc kích thước phù hợp */
  height: auto;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.leader-name {
  margin-top: 8px;
  font-size: 12px;
  font-style: italic;
  color: #0b1d58;
}

/*-----------------phần footer---------------*/
/* Thanh viền đầu footer: Nâu - Đen - Xanh */
.footer-top-border {
  width: 100%;
  height: 8px;
  background: repeating-linear-gradient(
    90deg,
    brown,
    brown 5px,
    black 5px,
    black 10px,
    #66b2ff 10px,
    #66b2ff 15px
  );
}

/* Footer tổng */
.site-footer {
  background-color: #0b1d58; /* nền xanh đậm */
  color: #ffffff;
  padding: 40px 20px 20px 20px;
  font-size: 14px;
}

/* Khung footer */
.footer-container {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  justify-content: space-between;
}

/* Các cột trong footer */
.footer-column {
  flex: 1 1 300px;
  margin: 10px;
}

/* Tiêu đề cột (không gạch chân) */
.footer-column h3 {
  font-size: 16px;
  margin-bottom: 10px;
  padding-bottom: 0;
  border-bottom: none; /* bỏ gạch chân xanh */
}

/* List ul */
.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 5px;
}

/* Logo Trường trong footer */
.footer-logo {
  width: 180px;
  margin-bottom: 15px;
}

/* Mạng xã hội */
.social-icons {
  margin-top: 10px;
}

.social-icons a {
  margin-right: 10px;
}

.social-icons img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #fff;
  padding: 4px;
  transition: transform 0.3s ease;
}

.social-icons img:hover {
  transform: scale(1.1);
}

/* Dòng bản quyền dưới cùng */
.footer-bottom {
  text-align: center;
  padding-top: 20px;
  font-size: 12px;
  color: #bbbbbb;
}

/*thụt vào đầu dòng*/
.indented {
  text-indent: 2em; /* hoặc 20px tùy bạn */
}