:root {
  --primary-blue: #0054A6;
  --primary-blue-dark: #004080;
  --secondary-blue: #003366;
  --light-blue: #e7f5fb;
  --accent-blue: #e1f0ff;
  --text-dark: #252525;
  --text-gray: #414141;
  --white: #ffffff;
  --border-color: #e0e0e0;
  --shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.1);
  --font-main: "Roboto", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.6;
  padding-top: 155px;
  /* Bù cho Header và Nav cố định */
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Fixed Header Container */
.fixed-header-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-top-white {
  background: url("assets/images/INDEX 07 05 26/bg menu.jpg") no-repeat center center;
  background-size: cover;
}

/* Header Top */
.header-top {
  padding: 15px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-img {
  height: 75px;
  width: auto;
}

.logo-text h1 {
  font-size: 24px;
  color: var(--primary-blue);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.logo-text p {
  font-size: 16px;
  color: var(--text-gray);
  font-weight: 400;
  font-style: italic;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 25px;
}

.search-bar {
  position: relative;
  width: 310px;
}

.search-bar input {
  width: 100%;
  padding: 10px 40px 10px 15px;
  border: 1px solid var(--border-color);
  border-radius: 15px;
  background: #ffffff;
  font-size: 14px;
  outline: none;
}

.search-icon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  opacity: 0.5;
}

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

.action-icon {
  width: 22px;
  height: 22px;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.action-icon:hover {
  opacity: 1;
}

/* Nav Bar */
.nav-bar {
  background-color: var(--primary-blue);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.nav-container {
  display: flex;
  gap: 30px;
}

.nav-item {
  color: var(--white);
  /* padding: 15px 0; */
  font-weight: 600;
  font-size: 16px;
  line-height: 40px;
  text-transform: uppercase;
  border-bottom: 3px solid transparent;
}

.nav-item:hover,
.nav-item.active {
  border-bottom-color: var(--white);
}

/* Hero Section */
.hero {
  background: url("assets/images/INDEX 07 05 26/bg1.jpg") no-repeat center center;
  background-size: cover;
  margin-top: -10px;
  padding: 80px 0;
  text-align: left;
  position: relative;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  z-index: 1;
  min-height: calc(100vh - 295px);
}

.hero-content h2 {
  font-size: 28px;
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 10px;
}

.hero-subtitle {
  font-size: 20px;
  color: #ffffff;
  font-weight: 400;
  max-width: 500px;
  margin: 0 0 40px;
}

.hero-features {
  display: flex;
  justify-content: flex-start;
  gap: 40px;
  margin-bottom: 40px;
}

.feature-item {
  width: 150px;
  justify-items: center;
}

.feature-icon-wrapper {
  width: 70px;
  height: 70px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 40px;
  height: 40px;
}

.feature-item h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 5px;
  color: #ffffff;
}

.feature-item p {
  font-size: 16px;
  font-weight: 400;
  color: #ffffff;
  line-height: 1.3;
  text-align: center;
}

.hero-btns {
  display: flex;
  justify-content: flex-start;
  gap: 20px;
}

.btn {
  padding: 12px 30px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-blue {
  background: var(--primary-blue);
  color: var(--white);
  border: none;
  border-radius: 15px;
}

.btn-blue:hover {
  background: var(--primary-blue-dark);
}

.btn-outline {
  background: var(--white);
  color: var(--primary-blue);
  border: 1.5px solid var(--primary-blue);
  border-radius: 15px;
}

.btn-outline:hover {
  background: var(--accent-blue);
}

/* News Slider Bar */
.news-bar {
  background-color: var(--light-blue);
  padding: 30px 0;
}

.slider-wrapper {
  display: flex;
  align-items: center;
  gap: 15px;
}

.slider-container {
  display: flex;
  flex: 1;
  justify-content: center;
  gap: 20px;
  overflow-x: auto;
  scrollbar-width: none;
  /* Firefox */
  padding: 10px 5px;
}

.slider-container::-webkit-scrollbar {
  display: none;
  /* Chrome/Safari */
}

.news-card {
  flex: 1;
  min-height: 106px;
  background: var(--white);
  padding: 15px;
  border-radius: 15px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 12px;
}

.news-icon-box {
  min-width: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.news-info h4 {
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 5px;
  line-height: 1.4;
}

.news-info p {
  font-size: 16px;
  font-weight: 400;
  color: #afafaf;
  font-style: italic;
}

.arrow-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0.5;
}

/* Event Services */
.event-section {
  padding: 50px 0;
}

.event-box {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 15px;
  padding: 30px;
}

.event-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.event-title {
  font-size: 20px;
  color: var(--primary-blue);
  font-weight: 800;
}

.tab-group {
  margin-bottom: 30px;
  border: 1px solid var(--border-color);
  padding: 20px;
  border-radius: 12px;
  /* background-color: #fafafa; */
}

.tab-header {
  border-bottom: 2px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.tab-label {
  font-weight: 800;
  color: var(--text-dark);
  padding-bottom: 10px;
  border-bottom: 3px solid var(--primary-blue);
  font-size: 16px;
}

.view-all {
  font-size: 16px;
  font-weight: 400;
  color: var(--primary-blue);
  font-style: italic;
}

.icon-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
}

.icon-item {
  width: 18%;
  text-align: center;
  transition: transform 0.3s;
}

.icon-item:hover {
  transform: translateY(-5px);
}

.icon-circle {
  width: 70px;
  height: 70px;
  background: var(--light-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
}

.icon-img {
  width: 45px;
  height: 45px;
  object-fit: contain;
}

.icon-label {
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
}

/* Lower Section Grid */
.lower-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  padding: 40px 0;
}

.grid-col {
  border: 1px solid var(--border-color);
  padding: 20px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
}

.grid-col-title {
  border-bottom: 2px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.grid-col-title h3 {
  font-size: 18px;
  color: #424040;
  font-weight: 700;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--primary-blue);
}

.video-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.video-item {
  display: flex;
  gap: 15px;
}

.video-thumb {
  width: 140px;
  height: 80px;
  border-radius: 8px;
  object-fit: cover;
}

.video-info h4 {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 5px;
}

.video-meta {
  font-size: 16px;
  font-weight: 400;
  color: #626262;
  font-style: italic;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.service-link {
  background: var(--white);
  border: 1px solid var(--border-color);
  padding: 12px 20px;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  font-weight: 500;
  color: #363636;
  flex: 1;
}

.service-link-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.service-link-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.service-link.active {
  background: var(--primary-blue);
  color: var(--white);
  border-color: var(--primary-blue);
}

.service-link i {
  font-size: 12px;
}

/* Dark Group Section */
.group-section {
  background: url("assets/images/INDEX 07 05 26/bg2.jpg") no-repeat center center;
  background-size: cover;
  padding: 60px 0;
  position: relative;
}

.group-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* background: rgba(0, 45, 90, 0.85); */
}

.group-container {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 30px;
  border-radius: 15px;
  background: rgba(0, 45, 90, 0.85);
}

.group-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  color: var(--white);
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.group-header h2 {
  font-weight: 800;
  font-size: 22px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--white);
}

.group-header a {
  color: #eaeaea;
  font-style: italic;
  font-size: 16px;
  font-weight: 400;
}

.group-grid {
  display: flex;
  justify-content: space-between;
}

.group-card {
  width: 18%;
  background: var(--white);
  border-radius: 12px;
  padding: 20px 10px;
  text-align: center;
  transition: transform 0.3s;
}

.group-card:hover {
  transform: translateY(-10px);
}

.group-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 15px;
}

.group-label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-dark);
}

/* Support Bar */
.support-bar {
  /* background: var(--primary-blue); */
  padding: 25px 0;
}

.support-container {
  display: flex;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 20px;
  border-radius: 12px;
  /* background: rgba(255, 255, 255, 0.1); */
  background: var(--primary-blue);
}

.support-item {
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--white);
  flex: 1;
  padding: 0 15px;
  border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.support-item:first-child {
  padding-left: 0;
}

.support-item:last-child {
  border-right: none;
  padding-right: 0;
}

.support-icon-box {
  width: 50px;
  height: 50px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.support-icon {
  width: 25px;
  height: 25px;
}

.support-text h5 {
  font-size: 15px;
  font-weight: 700;
}

.support-text p {
  font-size: 15px;
  font-weight: 400;
  opacity: 0.9;
  font-style: italic;
}

/* Footer */
.footer {
  background: var(--secondary-blue);
  color: var(--white);
  padding: 60px 0 30px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
}

.footer-info {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  width: 35%;
}

.footer-logo-img {
  width: 75px;
  height: 75px;
  object-fit: contain;
}

.footer-info-text h2 {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 10px;
}

.footer-info-text .slogan {
  font-size: 14px;
  font-weight: 400;
  font-style: italic;
  opacity: 0.9;
  margin-bottom: 15px;
}

.footer-info-text .copyright {
  font-size: 13px;
  font-weight: 400;
  opacity: 0.8;
}

.link-col h4 {
  margin-bottom: 20px;
  font-size: 16px;
  font-weight: 500;
}

.link-col ul li {
  margin-bottom: 10px;
}

.link-col ul li a {
  font-size: 14px;
  font-weight: 500;
  opacity: 0.8;
}

.link-col ul li a:hover {
  opacity: 1;
}

.footer-social h4 {
  margin-bottom: 20px;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.social-icon {
  width: 30px;
  height: 30px;
  object-fit: contain;
  border-radius: 10px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 12px;
  opacity: 0.6;
}

/* Responsive */
@media (max-width: 1024px) {
  body {
    padding-top: 155px;
  }

  .hero-features {
    gap: 20px;
  }

  .icon-item {
    width: 30%;
  }

  .group-card {
    width: 48%;
    margin-bottom: 15px;
  }

  .group-grid {
    flex-wrap: wrap;
  }

  .support-container {
    flex-wrap: wrap;
  }

  .support-item {
    flex: 0 0 48%;
    margin-bottom: 20px;
    border-right: none;
    padding: 0;
  }

  .support-item:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.3);
    padding-right: 15px;
  }

  .support-item:nth-child(even) {
    padding-left: 15px;
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 250px;
  }

  .header-top {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

  .logo-section {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .logo-img {
    height: 60px;
  }

  .logo-text h1 {
    font-size: 20px;
  }

  .logo-text p {
    font-size: 14px;
  }

  .header-right {
    width: 100%;
    justify-content: space-between;
    gap: 15px;
  }

  .search-bar {
    width: 100%;
    flex: 1;
  }

  .nav-container {
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 5px;
    -webkit-overflow-scrolling: touch;
    gap: 20px;
  }

  .nav-container::-webkit-scrollbar {
    height: 3px;
  }

  .nav-container::-webkit-scrollbar-thumb {
    background-color: var(--accent-blue);
    border-radius: 3px;
  }

  .nav-item {
    font-size: 14px;
  }

  .hero {
    padding: 50px 0;
    min-height: auto;
  }

  .hero-content h2 {
    font-size: 24px;
  }

  .hero-subtitle {
    font-size: 16px;
    margin-bottom: 25px;
  }

  .hero-features {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .feature-item {
    width: 100%;
    display: flex;
    align-items: center;
    text-align: left;
    gap: 15px;
  }

  .feature-icon-wrapper {
    margin: 0;
    width: 60px;
    height: 60px;
    flex-shrink: 0;
  }

  .feature-icon {
    width: 30px;
    height: 30px;
  }

  .feature-item h3 {
    margin-bottom: 5px;
  }

  .feature-item p {
    text-align: left;
    margin: 0;
  }

  .hero-btns {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .news-bar {
    padding: 20px 0;
  }

  .slider-container {
    justify-content: flex-start;
  }

  .news-card {
    min-width: 260px;
  }

  .event-section {
    padding: 30px 0;
  }

  .event-box {
    padding: 20px;
  }

  .event-title {
    font-size: 18px;
    text-align: center;
  }

  .tab-header {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }

  .icon-item {
    width: 48%;
  }

  .lower-grid {
    grid-template-columns: 1fr;
    padding: 30px 0;
    gap: 20px;
  }

  .video-item {
    flex-direction: column;
  }

  .video-thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
  }

  .group-section {
    padding: 40px 0;
  }

  .group-header {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .group-card {
    width: 100%;
  }

  .support-bar {
    padding: 20px 0;
  }

  .support-item {
    width: 100%;
    justify-content: flex-start;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    border-right: none;
  }

  .support-item:nth-child(odd) {
    border-right: none;
    padding-right: 0;
  }

  .support-item:nth-child(even) {
    padding-left: 0;
  }

  .support-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
  }

  .footer {
    padding: 40px 0 20px;
  }

  .footer-top {
    flex-direction: column;
    gap: 30px;
  }

  .footer-info {
    width: 100%;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .link-col {
    text-align: center;
    width: 100%;
  }

  .footer-social {
    text-align: center;
    width: 100%;
  }

  .social-icons {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  body {
    padding-top: 290px;
  }

  .logo-img {
    height: 50px;
  }

  .logo-text h1 {
    font-size: 18px;
  }

  .logo-text p {
    font-size: 12px;
  }

  .header-right {
    flex-direction: column;
    gap: 15px;
  }

  .search-bar {
    width: 100%;
  }

  .icon-item {
    width: 100%;
  }

  .event-title {
    font-size: 16px;
  }
}

/* ===== News Clickable ===== */
.news-clickable {
  cursor: pointer;
  transition: color 0.25s ease;
}

.news-clickable:hover {
  color: var(--primary-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ===== PDF Modal ===== */
.pdf-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 20, 50, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: modalFadeIn 0.25s ease;
}

.pdf-modal-overlay.active {
  display: flex;
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.pdf-modal-box {
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  width: 100%;
  max-width: 960px;
  height: 88vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: modalSlideUp 0.3s ease;
}

@keyframes modalSlideUp {
  from { transform: translateY(30px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.pdf-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: var(--primary-blue);
  color: var(--white);
  gap: 15px;
  flex-shrink: 0;
}

.pdf-modal-title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pdf-modal-close {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  border-radius: 8px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--white);
  flex-shrink: 0;
  transition: background 0.2s;
}

.pdf-modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.pdf-modal-body {
  flex: 1;
  overflow: hidden;
}

.pdf-modal-body iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

@media (max-width: 768px) {
  .pdf-modal-box {
    height: 92vh;
    border-radius: 12px;
  }

  .pdf-modal-title {
    font-size: 13px;
  }
}

/* ===== Video Clickable (thumbnail titles) ===== */
.video-clickable {
  cursor: pointer;
  transition: color 0.25s ease;
}

.video-clickable:hover {
  color: #c00;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ===== Video Modal Body (16:9 ratio) ===== */
.video-modal-body {
  position: relative;
  background: #000;
}

.video-modal-body iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}