body {
  font-family: 'Open Sans', sans-serif;
}
a{
    text-decoration:none;
}
.main-header {
    background: #2d3194;
    backdrop-filter: blur(6px);
    transition: background 0.4s ease, padding 0.3s ease;
    padding: 0;
    position: relative;
    z-index: 9999 !important;
}

.main-header.scrolled {
  background: rgba(0, 40, 85, 0.95);
  padding: 5px 0;
}

/* Căn giữa menu */
.navbar-nav {
  gap: 15px;
}

.navbar-nav .nav-link {
  font-weight: 600;
  padding: 10px 15px;
  color: #fff !important;
  font-size: 15px;
  text-transform: uppercase;
}

.navbar-nav .nav-link:hover {
  color: #fbb349 !important;
}

/* Ẩn dropdown khi hover ngoài */
.nav-item.dropdown:hover > .dropdown-menu {
  display: block;
  margin-top: 0;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu {
  display: block;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
  background-color: #fff;
  border-radius: 0 0 6px 6px;
}

.dropdown-menu .dropdown-item {
  padding: 10px 20px;
  color: #2d3194;
  font-weight: 500;
}

.dropdown-menu .dropdown-item:hover {
  background-color: #fbb349;
  color: #fff;
}

.lang-switch img {
  border-radius: 3px;
}
/* ====== BANNER ====== */
#banner {
  height: 700px;
  overflow: hidden;
}

.banner-img {
  height: 700px;
  object-fit: cover;
}

/* ====== BIỂU CƯỚC 2 HÀNG 4 CỘT ====== */
.section-icons {
  position: relative;
  margin-top: -70px; /* đẩy lên chồng 1 nửa banner */
  z-index: 3;
  padding-bottom: 4%;
}

.icons-box {
  border-radius: 10px;
}

.icons-box .col-6 {
  transition: all 0.3s ease;
  background: #fff;
}

.icons-box .col-6:hover {
  background-color: #2d3194;
  color: #fff;
  transform: translateY(-3px);
}

.icons-box .col-6:hover i {
  color: #fbb349 !important;
}

.icons-box i {
  display: block;
  transition: color 0.3s ease;
}

/* Đảm bảo nền phía sau có màu sáng */
.section-icons::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 80%;
  background: #ebebeb;
  z-index: 1;
}
.icon-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  transition: filter 0.3s ease;
}

/* ====== TẦM NHÌN - SỨ MỆNH - GIÁ TRỊ CỐT LÕI ====== */
/* ====== TẦM NHÌN - SỨ MỆNH - GIÁ TRỊ CỐT LÕI ====== */
.section-vision {
  background-color: #f2f2f2;
  position: relative;
  margin-top: -60px; /* nối liền phần biểu cước */
  padding-top: 120px;
  padding-bottom: 80px;
}

.vision-title {
  gap: 8px;
}

.vision-icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
  opacity: 0.9;
  transition: transform 0.3s ease;
}

.vision-icon:hover {
  transform: scale(1.1);
}

.section-vision h5 {
  font-size: 1.05rem;
  letter-spacing: 0.5px;
  color: #2d3194;
}

.section-vision p {
  line-height: 1.6;
  color: #333;
  font-size: 22px;
  text-align:justify;
}
.vision-title h3 {
    color: #312783;
}
/* ====== NGUỒN LỰC KHAI THÁC ====== */
.section-resource {
    margin-top: -1px;
}

.section-resource .resource-item {
  height: 350px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

/* Overlay nền tối */
.overlay-dark {
  position: absolute;
  inset: 0;

  transition: background 0.3s ease;
}

.resource-item:hover .overlay-dark {
  background: rgba(78, 78, 78, 0.45);
}

/* ====== CỘT 1 - NGUỒN LỰC KHAI THÁC ====== */
.resource-content-left {
  position: absolute;
  top: 50%;
  left: 10%; /* ✅ cách lề trái 10% */
  transform: translateY(-50%);
  max-width: 400px;
  z-index: 2;
  text-align: justify; /* ✅ căn đều 2 bên */
}

.resource-content-left h3 {
  font-size: 1.6rem;
  letter-spacing: 0.3px;
  line-height: 1.3;
  white-space: nowrap;
	color:#fff;/* ✅ giữ tiêu đề 1 dòng */
}

.resource-content-left p {
  font-size: 0.95rem;
  line-height: 1.7;
  color:#fff;
  text-align: justify;
}

.btn-outline-light-custom {
  display: inline-block;
  color: #fff;
  border: 1px solid #fff;
  padding: 8px 30px;
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-outline-light-custom:hover {
  background-color: #fbb349;
  border-color: #fbb349;
  color: #2d3194;
}

/* ====== CỘT 2 - 4: TIÊU ĐỀ DƯỚI ẢNH ====== */
.bottom-title h5 {
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  font-weight: 700;
  white-space: nowrap; /* ✅ luôn 1 dòng */
  display: inline-block;
  padding: 10px 24px;
  border-radius: 4px;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}


/* ===== PHẦN TIN TỨC (nối tiếp nguồn lực) ===== */
.section-news {
  background: #f2f2f2;
  padding: 100px 0 120px 0;
  text-align: center;
  margin-top: -2px;
}

.news-title-section {
  color: #2d3194;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.divider {
  width: 60px;
  height: 2px;
  background: #2d3194;
  margin: 0 auto 40px;
}

/* SWIPER */
.swiper {
  width: 90%;
  margin: 0 auto;
  padding-bottom: 60px;
}

.swiper-pagination-bullet-active {
  background: #2d3194 !important;
}

/* CARD TIN TỨC */
.news-card {
  width: 440px;
  height: 500px;
  background: #fff;
  border-radius: 3px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.15);
}

/* ẢNH (60%) */
.news-image {
  height: 60%;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover .news-image img {
  transform: scale(1.05);
}

/* PHẦN DƯỚI (40%) */
.news-bottom {
  display: flex;
  height: 40%;
  background: #fff;
}

/* DATE */
.news-date {
  width: 15%;
  display: flex;
  flex-direction: column;
}

/* Phần trên của date */
.news-date .date-top {
  height: 40%;
  background: #2d3194;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.news-date .day {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
}

.news-date .month {
  font-size: 0.7rem;
}

/* Phần dưới cùng màu nền */
.news-date .date-bottom {
  height: 60%;
  background: #f2f2f2;
}

/* NỘI DUNG */
.news-content {
  width: 85%;
  text-align: left;
  padding: 20px 18px;
}

.news-title {
    font-size: 1rem;
    font-weight: 700;
    color: #004c99;
    line-height: 1.4;
    margin-bottom: 8px;
    transition: color 0.3s ease;
    text-align: justify;
}

.news-card:hover .news-title {
  color: #fbb349;
}

.news-desc {
    font-size: 0.9rem;
    color: #444;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* số dòng muốn hiển thị */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align:justify;
    text-overflow: ellipsis;
}

/* Nút Xem thêm */
.btn-border {
  display: inline-block;
  color: #2d3194;
  font-size: 1rem;
  font-weight: 500;
  padding: 10px 38px;
  text-decoration: none;
  border: 1px solid #2d3194;
  transition: all 0.3s ease;
}

.btn-border:hover {
  border-color: #fbb349;
  color: #fbb349;
}

/* Responsive */
@media (max-width: 992px) {
  .swiper { width: 95%; }
}
@media (max-width: 768px) {
  .news-card {
    width: 90%;
    height: 450px;
  }
}
/* Sửa lỗi slide hiển thị dọc */
.swiper {
  overflow: hidden;
  position: relative;
}

.swiper-wrapper {
  display: flex;
  flex-direction: row !important;
  align-items: stretch;
}

.swiper-slide {
  flex-shrink: 0;
  width: 440px !important; /* đúng chiều rộng card */
  display: flex;
  justify-content: center;
}


/* ===== PHẦN KHÁCH HÀNG ===== */
.section-customer {
    background: url("../image/banner-website-nganh-van-tai-duong-thuy-hang-khong.jpg") center center no-repeat;
    width: 100%;
    height: 100vh;
    background-size: cover; /* 🔥 Ảnh tự phủ kín, không méo */
    background-attachment: scroll; /* hoặc fixed nếu muốn parallax */
    position: relative;
    color: #fff;
    text-align: center;
    display: flex;
    align-items: center; /* Căn giữa nội dung theo chiều dọc */
    justify-content: center;
}

.section-customer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 20, 40, 0.7);
}

.section-customer .container {
  position: relative;
  z-index: 2;
}

.section-title {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 28px;
  margin-bottom: 10px;
}

.divider {
  width: 60px;
  height: 2px;
  background: #fbb349;
  margin: 0 auto 50px;
}

/* SWIPER SLIDE */
.customerSwiper {
  width: 90%;
  margin: 0 auto;
  position: relative;
}

.swiper-slide {
  display: flex;
  justify-content: center;
}

.customer-card {
  width: 400px;
  height: 400px;                 /* 👈 cố định chiều cao */
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-left: 3px solid #fbb349;
  padding: 30px;
  border-radius: 5px;
  backdrop-filter: blur(5px);
  text-align: left;
  color: #fff;
  display: flex;
  flex-direction: column;        /* để phần nội dung co đều theo chiều dọc */
  justify-content: flex-start;   /* căn đầu */
  box-sizing: border-box;
}

/* header phần ảnh và tên */
.customer-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}

/* ảnh đại diện */
.customer-header img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  margin-right: 20px;
  object-fit: cover;
}

/* tên và chức vụ */
.customer-header h5 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
}

.customer-header p {
  font-style: italic;
  font-size: 0.9rem;
  color: #ccc;
  margin: 0;
}

/* nội dung lời nhận xét */
.customer-content {
  font-size: 0.95rem;
  line-height: 1.6;
  overflow: hidden;              /* ẩn phần dư */
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 7;         /* giới hạn khoảng 7 dòng để vừa 400px */
  -webkit-box-orient: vertical;
}

/* NÚT MŨI TÊN */
.swiper-button-next,
.swiper-button-prev {
  color: #fff !important;
  font-weight: bold;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  color: #fbb349 !important;
}

.section-partner {
  background: #fff;
  padding: 40px 0;
  text-align: center;
}

.section-partner .section-title {
  font-weight: 700;
  text-align: center;
  font-size: 28px;
  text-transform: uppercase;
  color: #2d3194;
  margin-bottom: 10px;
  margin-top: 10px;
}

.section-partner .divider {
  width: 60px;
  height: 2px;
  background: #fbb349;
  margin: 0 auto 30px;
}

.partnerSwiper {
  width: 95%;
  margin: 0 auto;
  overflow: hidden;
}

.partnerSwiper .swiper-slide {
  width: auto !important;
  display: flex;
  justify-content: center;
  align-items: center;
}

.partnerSwiper .swiper-slide img {
  height: 70px;
  width: auto;
  margin: 0 30px;
  opacity: 0.9;
  transition: all 0.3s ease;
}

.partnerSwiper .swiper-slide img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}


.footer {
  background: #fff;
  padding: 60px 0 40px;
  border-top: 1px solid #ddd;
  color: #2d3194;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding:0 10%;
}

.footer-col {

  min-width: 220px;
}

.footer-logo {
  width: 135px;
}

.footer-company {
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-col p {
  font-size: 16px;
  margin: 5px 0;
}

.footer-col i {
  color: #2d3194;
  margin-right: 8px;
}

.footer-col h4 {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 15px;
  position: relative;
}

.footer-col h4::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: #2d3194;
  margin-top: 5px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin: 6px 0;
}

.footer-col ul li a {
  color: #2d3194;
  text-decoration: none;
  font-size: 16px;
  transition: 0.3s;
}

.footer-col ul li a:hover {
  color: #fbb349;
}

/* Mạng xã hội */
.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid #999;
  border-radius: 50%;
  color: #2d3194;
  font-size: 16px;
  transition: 0.3s;
}

.footer-social a:hover {
  background: #2d3194;
  color: #fff;
  border-color: #2d3194;
}

/* Responsive */
@media (max-width: 992px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .footer-col h4::after {
    margin: 5px auto;
  }

  .footer-social {
    justify-content: center;
  }
}
.copyright {
    background: #312783;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    font-size: 14px;
}

.copyright a {
  color: #fbb349;
  text-decoration: none;
  font-weight: 500;
}

.copyright a:hover {
  text-decoration: underline;
}


/* tổng quan */

/* ===== PHẦN TIÊU ĐỀ GIỚI THIỆU ===== */
/* ===== TIÊU ĐỀ GIỚI THIỆU ===== */
.gioithieu-header-top {
  background: #fff;
  border-top: 2px solid #2d3194;
  padding: 20px 0 0;
  position: relative;
}

.gioithieu-header-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid #ccc;
  padding: 0 60px 10px;
}

.gioithieu-header-inner h2 {
  color: #2d3194;
  font-size: 26px;
  font-weight: 700;
  position: relative;
}

.gioithieu-header-inner h2::after {
  content: "";
  display: inline-block;
  height: 1px;
  width: 30vw;
  background: #ccc;
  margin-left: 20px;
  vertical-align: middle;
}

.breadcrumb {
  font-size: 15px;
  color: #2d3194;
  display: flex;
  align-items: center;
  gap: 6px;
}

.breadcrumb .icon {
  width: 22px;
  height: 22px;
  border: 1px solid #2d3194;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2d3194;
  font-size: 12px;
}

/* ===== PHẦN HÌNH + NỘI DUNG ===== */
.gioithieu-full {
  display: flex;
  width: 100%;
  position: relative;
  background: #fff;
  overflow: hidden;
}

.gioithieu-left {
  width: 50%;
  position: relative;
}

.gioithieu-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gioithieu-right {
  width: 50%;
  padding: 80px 80px;
  box-sizing: border-box;
  position: relative;
}

/* ===== Ô VUÔNG SỐ 01 ĐÈ LÊN HÌNH ===== */
.gioithieu-number-box {
  position: absolute;
  top: 50px;
  left: -60px; /* đè sang ảnh bên trái */
  display: flex;
  align-items: center;
  gap: 20px;
}

.box-outline {
  position: relative;
  width: 120px;
  height: 120px;
  border: 2px solid #2d3194;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #2d3194;
  font-size: 36px;
  background: #fff;
}

.gioithieu-number-box h3 {
  font-size: 26px;
  font-weight: 700;
  color: #2d3194;
  margin: 0;
}

.gioithieu-content {
    margin-top: 180px; /* cách xuống dưới khối 01 */
    color: #333;
    font-size: 15px;
    line-height: 1.8;
    text-align: justify;
}

.gioithieu-content p {
  margin-bottom: 15px;
  text-align: justify;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .gioithieu-full {
    flex-direction: column;
  }

  .gioithieu-left,
  .gioithieu-right {
    width: 100%;
  }

  .gioithieu-right {
    padding: 40px 20px;
  }

  .gioithieu-number-box {
    position: relative;
    left: 0;
    top: 0;
    margin-bottom: 20px;
  }

  .box-outline {
    width: 80px;
    height: 80px;
    font-size: 24px;
  }

  .gioithieu-content {
    margin-top: 0;
  }
}


/* lich su hinh thanh */
/* ===== PHẦN TRẮNG VÀ NỀN ===== */
/* ===== Tổng khung ===== */
.lichsu-section {
  position: relative;
  width: 100%;
  height: 700px;
  overflow: hidden;
}

/* --- Phần trắng trên --- */
.lichsu-top {
  height: 100px;
  background: white;
  position: relative;
  z-index: 1;
}

/* --- Phần nền xanh --- */
.lichsu-bottom {
  position: relative;
  height: 600px;
  background-image: url("../image/lichsu-bg.jpg"); /* màu xanh đậm hơn một chút */
  z-index: 2;
}

/* --- Khối header chứa 02 và tiêu đề --- */
.lichsu-header {
  position: absolute;
  top: -75px; /* ⚡ đẩy lên để 1 nửa ô 02 nằm trên phần trắng */
  left: 230px;
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 10;
}

/* --- Ô vuông “02” --- */
.lichsu-num-box {
  position: relative;
  width: 150px;
  height: 150px;
  background: #2d3194; /* xanh chuẩn */
  border: 2px solid white;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 46px;
  z-index: 11; /* ⚡ cao hơn phần trắng */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}


/* --- Tiêu đề bên cạnh --- */
.lichsu-header h2 {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
  margin: 0;
  position: relative;
  top: 40px; /* căn cho dòng chữ nằm trong nền xanh */
}

/* ===== TIMELINE (giữ nguyên bản trước) ===== */
.timeline-container {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 240px;
}

.timeline-slider {
  display: flex;
  align-items: center;
  position: relative;
  width: 70%;
  justify-content: space-between;
  transition: transform 0.6s ease;
}

.timeline-line {
  position: absolute;
  top: 45%;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.5);
  z-index: -1;
}

.timeline-item {
  text-align: center;
  flex: 1;
  transition: all 0.5s ease;
}

.circle {
  width: 80px;
  height: 80px;
  border: 3px solid white;
  border-radius: 50%;
  margin: auto;
  overflow: hidden;
  transition: 0.5s;
  background:#fff;
}

.circle img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.timeline-item p {
  margin-top: 10px;
  font-size: 18px;
  font-weight: 700;
  opacity: 0.9;
  transition: 0.5s;
  color:#fff;
}

.timeline-item.active .circle {
  width: 120px;
  height: 120px;
  border: 4px solid #fbb349;
}

.timeline-item.active p {
  color: #fbb349;
  font-size: 28px;
}
.timeline-content-box {
    margin-top: 30px;
    text-align: center;
    font-size: 20px;
    color: #fff;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.5s ease;
    min-height: 60px;
}
.arrow {
  background: none;
  border: none;
  color: white;
  font-size: 40px;
  cursor: pointer;
  transition: 0.3s;
  z-index: 6;
}

.arrow:hover {
  color: #fbb349;
}

.timeline-content-box {
    margin-top: 30px;
    text-align: center;
    font-size: 26px;

    color: #fff;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.5s ease;
    min-height: 60px;
}

.tamnhin-section {
  position: relative;
  background: #f5f7fa;
  padding: 100px 0;
  text-align: center;
}

.tamnhin-container {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  min-height: 700px;
}

/* --- Ảnh trung tâm --- */
.tamnhin-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 5;
}

.tamnhin-center-img {
  width: 320px;
  height: 320px;
  object-fit: contain;
  border-radius:50%;
}

.tamnhin-center h2 {
  margin-top: 15px;
  font-size: 42px;
  font-weight: 700;
  color: #2d3194;
}

/* --- Các phần tử vòng ngoài --- */
.tamnhin-item {
  position: absolute;
  width: 260px;
  color: #333;
  font-size: 15px;
  line-height: 1.6;
}

.tamnhin-item h3 {
  font-weight: 700;
  margin-bottom: 8px;
  text-align: center;
}

.tamnhin-item p {
  text-align: justify; /* ✅ căn đều 2 bên */
  margin: 0 auto;
}

/* --- Vị trí từng phần --- */
.tamnhin-item.top {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.tamnhin-item.right-top {
  top: 18%;
  right: 0;
}

.tamnhin-item.right-bottom {
  bottom: 15%;
  right: 4%;
}

.tamnhin-item.left-bottom {
  bottom: 15%;
  left: 4%;
}

.tamnhin-item.left-top {
  top: 18%;
  left: 0;
}

/* --- Màu tiêu đề --- */
.red { color: #e53935; }
.orange { color: #f26b38; }
.green { color: #4caf50; }
.blue { color: #007bb5; }

/* --- Hiệu ứng hover --- */
.tamnhin-item:hover h3 {
  text-decoration: underline;
  transform: scale(1.05);
  transition: 0.3s;
}


   .gallery-header {
      text-align: center;
      padding: 60px 0 20px;
    }

    .gallery-header h2 {
      font-size: 36px;
      color: #2d3194;
      font-weight: 700;
      text-transform: uppercase;
      margin-bottom: 20px;
    }

    .breadcrumb {
      justify-content: center;
      background: none;
      font-size: 14px;
      color: #555;
    }

    .breadcrumb i {
      color: #2d3194;
      margin-right: 5px;
    }

    /* ===== TAB BUTTONS ===== */
    .library-tabs {
      display: flex;
      justify-content: center;
      align-items: stretch;
      margin: 30px auto 50px;
      width: 100%;
      max-width: 600px;
      border: none;
      gap: 0;
    }

    .library-tabs .nav-item {
      flex: 1;
    }

    .library-tabs .nav-link {
      display: flex;
      justify-content: center;
      align-items: center;
      height: 60px;
      font-size: 16px;
      font-weight: 600;
      text-transform: uppercase;
      color: #2d3194;
      border: 1px solid #ccc;
      border-radius: 0;
      transition: all 0.2s;
      width: 100%;
    }

    .library-tabs .nav-link:not(:last-child) {
      border-right: none;
    }

    .library-tabs .nav-link.active {
      background-color: #2d3194;
      color: #fff;
      border-color: #2d3194;
      width:100%;
    }

    .library-tabs .nav-link:hover {
      background-color: #0059b3;
      color: #fff;
    }

    /* ===== GALLERY ===== */
    .gallery-section {
      text-align: center;
      padding-bottom: 80px;
    }

    .gallery-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 20px;
      width: 90%;
      margin: 0 auto;
    }

    .album {
      cursor: pointer;
      overflow: hidden;
      border-radius: 6px;
      box-shadow: 0 3px 8px rgba(0,0,0,0.1);
      transition: transform 0.3s ease;
    }

    .album:hover {
      transform: translateY(-5px);
    }

    .album img {
      width: 100%;
      height: 200px;
      object-fit: cover;
    }

    .album h5 {
      color: #2d3194;
      margin: 10px 0;
    }

    /* ===== MODAL ===== */
    .modal-body {
      position: relative;
      background: #000;
      text-align: center;
    }

    .modal-body img {
      max-width: 100%;
      max-height: 75vh;
      object-fit: contain;
    }

    .modal-nav {
      position: absolute;
      top: 50%;
      width: 100%;
      display: flex;
      justify-content: space-between;
      transform: translateY(-50%);
      color: #fff;
      font-size: 40px;
      cursor: pointer;
      padding: 0 20px;
      user-select: none;
    }

    .modal-nav span:hover {
      color: #00bfff;
    }

    .modal-footer {
      background: #000;
      justify-content: center;
    }

.customer-card p {
    display: -webkit-box;
    -webkit-line-clamp: 10; /* số dòng muốn hiển thị */
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    text-align: justify;
}
/* ============================
   FIX MENU MOBILE – Bootstrap 5
   ============================ */
@media (max-width: 991px) {

    /* Giữ menu gọn đẹp */
    .navbar-nav {
        width: 100%;
        text-align: left !important;
    }

        /* Link menu cha */
        .navbar-nav .nav-link {
            padding: 14px 12px;
            font-size: 17px;
            font-weight: 600;
            color: #fff !important;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        /* QUAN TRỌNG NHẤT: dropdown nằm đúng vị trí */
        .navbar-nav .dropdown-menu {
            position: static !important; /* Không cho absolute làm lệch */
            transform: none !important;
            float: none !important;
            width: 100%;
            margin: 0;
            padding: 10px 15px;
            display: none; /* Bootstrap sẽ bật/tắt */
            background: rgba(255,255,255,0.98);
            border-radius: 10px;
            border: none;
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        }

    /* Bootstrap toggles show class */
    .dropdown.show > .dropdown-menu {
        display: block !important;
    }

    /* Item cấp 2 */
    .dropdown-menu .dropdown-item {
        padding: 10px 5px;
        font-size: 15px;
        border-bottom: 1px solid #e6e6e6;
        color: #222 !important;
    }

        .dropdown-menu .dropdown-item:last-child {
            border-bottom: none;
        }

    /* Icon mũi tên của Bootstrap */
    .dropdown-toggle::after {
        transition: 0.2s;
    }

    .dropdown.show .dropdown-toggle::after {
        transform: rotate(90deg);
    }
    .dropdown-menu {
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.35s ease, opacity 0.3s ease;
    }

        /* Khi mở */
        .dropdown-menu.show {
            max-height: 500px; /* đủ lớn để chứa nội dung */
            opacity: 1;
        }

    /* Mũi tên xoay */
    .dropdown-toggle::after {
        transition: transform 0.25s ease;
    }

    .dropdown.show .dropdown-toggle::after {
        transform: rotate(90deg);
    }
    .main-header a img{
        height:60px;
    }
   
}

/* ============================
   DESKTOP – Hover mở dropdown
   ============================ */
@media (min-width: 992px) {
    .navbar-nav .dropdown:hover .dropdown-menu {
        display: block !important;
    }
}
.main-header {
    background: #2d3194;
}