.section-title {
  position: relative;
  /* padding-bottom: 15px; */
  /* margin-bottom: 30px; */
  font-weight: 600;
  text-transform: uppercase;
}

/* .section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 10rem;
  height: 3px;
  background-color: var(--primary-color);
} */

.slogan-company {
  margin-bottom: 0px;
  color: #0039a4;
  font-size: 30px;
  font-weight: bold;
}

.section-sub-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0px;
  text-transform: uppercase;
}

/* Hero Slider */
.hero-slider {
  height: 80vh;
  margin-top: 0;
  position: relative;
}

.hero-slide {
    height: 80vh;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 30%, rgba(0,0,0,0.1) 100%);
}

/* .swiper-slide {
    position: relative;
    text-align: center;
    background-color: #f8f9fa;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
} */

.video-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: #000;
}

  .hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 0;
  }

  .hero-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    position: relative;
    padding: 10px 20px;
    display: inline-block;
    background-color: rgba(0, 0, 0, 0.5);
    border-left: 4px solid var(--primary-color);
  }

  .swiper-button-next,
  .swiper-button-prev {
    color: white !important;
    background-color: rgba(0, 0, 0, 0.3);
    width: 50px !important;
    height: 50px !important;
    border-radius: 50%;
    transition: all 0.3s ease;
  }

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background-color: var(--primary-color);
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 20px !important;
}

.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: white;
  opacity: 0.7;
}

.swiper-pagination-bullet-active {
    background: var(--primary-color);
    opacity: 1;
  }

  /* Thanh tiến trình */
  .swiper-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.3);
    z-index: 10;
  }

  .swiper-progress-bar .progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background-color: #fff;
    transition: width 0.1s linear;
  }

@media (max-width: 768px) {
    .hero-slider,
    .hero-slide {
        height: 60vh;
    }

    .hero-content h1 {
        font-size: 1.4rem;
    }

    .swiper-button-next,
    .swiper-button-prev {
        width: 40px !important;
        height: 40px !important;
    }
}

/* Company Info */
.stat-item {
  padding: 30px 15px;
}

.counter {
  font-size: 3rem;
  font-weight: bold;
  color: var(--primary-color);
}

/* Featured Projects Section */
.projects {
  padding: 60px 0;
  background-color: #f8f9fa;
}

.project-slider {
  padding-bottom: 50px; /* Space for pagination dots */
}

.project-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  margin: 10px;
  height: 300px;
  transition: all 0.3s ease;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.project-image {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.1);
}

.project-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0) 100%);
  color: white;
  transition: all 0.3s ease;
}

.project-info h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.project-card:hover .project-info {
  padding-bottom: 30px;
}

/* Swiper Pagination Customization */
.project-slider .swiper-pagination {
  bottom: 10px;
}

.project-slider .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #ccc;
  opacity: 1;
}

.project-slider .swiper-pagination-bullet-active {
  background: var(--primary-color);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .project-card {
      height: 250px;
  }

  .project-info h3 {
      font-size: 1rem;
  }
}

/* Latest News Section */
.news {
  background-color: #f8f9fa;
  padding: 60px 0;
}

.news-list {
  margin: 0 auto;
}

.news-item {
  background-color: white;
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.news-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.news-thumbnail {
  height: 100%;
  overflow: hidden;
  border-radius: 5px 0 0 5px;
}

.news-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.news-item:hover .news-thumbnail img {
  transform: scale(1.1);
}

.news-content {
  padding: 15px 20px;
}

.news-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-date {
  color: #666;
  font-size: 0.85rem;
  margin-bottom: 8px;
  display: block;
}

.news-excerpt {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .news-thumbnail {
      height: 180px;
      border-radius: 5px 5px 0 0;
  }

  .news-content {
      padding: 15px;
  }

  .news-title {
      font-size: 1rem;
  }
}

/* Gallery */
.gallery-slider img {
  /* border-radius: 10px; */
  transition: transform 0.3s;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-slider img:hover {
  transform: scale(1.05);
}


/* Partners Section */
.partners {
  padding: 60px 0;
  background-color: #f8f9fa;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.partner-slider {
  padding-bottom: 50px; /* Space for pagination dots */
}

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  padding: 15px;
  background-color: white;
  border-radius: 5px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.partner-logo:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* .partner-logo img {
  max-width: 100%;
  max-height: 70px;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
} */

.partner-logo:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* Swiper Pagination Customization */
.partner-slider .swiper-pagination {
  bottom: 10px;
}

.partner-slider .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: #ccc;
  opacity: 1;
}

.partner-slider .swiper-pagination-bullet-active {
  background: var(--primary-color);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .partner-logo {
      height: 80px;
  }

  .partner-logo img {
      max-height: 50px;
  }
}

/* Recruitment Section */
.recruitment {
  /* background: linear-gradient(135deg, var(--secondary-color), var(--primary-color)); */
  position: relative;
  overflow: hidden;
  padding: 60px 0;
}

.recruitment::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  z-index: 1;
}

.recruitment::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  z-index: 1;
  text-decoration: uppercase;
}

/* .recruitment .section-title::after {
  background-color: white;
} */

.recruitment-banner {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  height: 100%;
  min-height: 400px;
}

.recruitment-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.recruitment-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.8));
  display: flex;
  align-items: flex-end;
  padding: 30px;
}

.recruitment-content {
  color: white;
}

.recruitment-content h3 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 15px;
}

.job-listings {
  height: 100%;
}

.accordion-item {
  border: none;
  margin-bottom: 5px;
  border-radius: 8px;
  overflow: hidden;
}

.accordion-button {
  background-color: var(--light-gray);
  font-weight: 500;
  padding: 15px 20px;
  box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
  color: var(--primary-color);
  background-color: white !important;
}

.accordion-button:focus {
  box-shadow: none;
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23f7941d' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0-5a.5.5 0 0 0 .5-.5V5.207l1.146 1.147a.5.5 0 0 0 .708-.708L8.354 3.646a.5.5 0 0 0-.708 0L5.646 5.646a.5.5 0 1 0 .708.708L7.5 5.207v4.293a.5.5 0 0 0 .5.5z'/%3E%3C/svg%3E");
  transform: rotate(180deg);
}

.accordion-button.collapsed::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23f7941d' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0-5a.5.5 0 0 0 .5-.5V5.207l1.146 1.147a.5.5 0 0 0 .708-.708L8.354 3.646a.5.5 0 0 0-.708 0L5.646 5.646a.5.5 0 1 0 .708.708L7.5 5.207v4.293a.5.5 0 0 0 .5.5z'/%3E%3C/svg%3E");
  transform: rotate(0deg);
}

.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23f7941d' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0-5a.5.5 0 0 0 .5-.5V5.207l1.146 1.147a.5.5 0 0 0 .708-.708L8.354 3.646a.5.5 0 0 0-.708 0L5.646 5.646a.5.5 0 1 0 .708.708L7.5 5.207v4.293a.5.5 0 0 0 .5.5z'/%3E%3C/svg%3E");
  transform: var(--bs-accordion-btn-icon-transform);
}

.job-count {
  background-color: var(--primary-color);
  color: white;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: normal;
}

.job-details {
  padding: 10px 0;
}

.job-details ul {
  padding-left: 20px;
}

.job-details ul li {
  margin-bottom: 5px;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .recruitment-banner {
      margin-bottom: 30px;
      min-height: 300px;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
      opacity: 0;
      transform: translateY(20px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-slide h1 {
      font-size: 2rem;
  }

  .counter {
      font-size: 2.5rem;
  }

  .section-title {
      font-size: 1.8rem;
  }
}

/* Search Modal */
.modal-content {
  border-radius: 10px;
  border: none;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.modal-header {
  border-bottom: 1px solid #f0f0f0;
  padding: 1rem 1.5rem;
}

.modal-body {
  padding: 1.5rem;
}

.modal-title {
  color: var(--secondary-color);
  font-weight: 600;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .hero-slider, .hero-slide {
      margin-top: 0;
      padding-top: 0;
  }
}

.swiper-slide {
    /* position: relative; */
    overflow: hidden;
    /* box-shadow: 0 3px 10px rgba(0,0,0,0.1); */
    cursor: pointer;
}

/* .swiper-slide {
    position: relative;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    cursor: pointer;
}

.swiper-slide img {
    transition: transform 0.5s ease;
    height: 250px;
    object-fit: fill;
    width: 100%;
}

.swiper-slide:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.swiper-slide:hover .gallery-overlay {
    opacity: 1;
}

.gallery-icon {
    width: 50px;
    height: 50px;
    background-color: #f7941d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    transform: scale(0);
    transition: transform 0.3s ease;
}

.swiper-slide:hover .gallery-icon {
    transform: scale(1);
}

.btn-load-more {
    background-color: #f7941d;
    color: white;
    border: none;
    padding: 10px 30px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-load-more:hover {
    background-color: #e67e00;
} */

/* Image Viewer Popup */
.image-viewer-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1500;
    display: none;
}

.image-viewer-container {
    display: flex;
    height: 100%;
}

/* Main Image Container */
.main-image-container {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.main-image-wrapper {
    position: relative;
    max-width: 100%;
    max-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-image {
    max-width: 100%;
    max-height: calc(100vh - 150px);
    object-fit: contain;
}

.image-watermark {
    position: absolute;
    width: 800px;
}

/* Image Caption */
.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 15px;
    text-align: center;
    font-size: 14px;
}

/* Navigation Controls */
.nav-controls {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 10px 20px;
    background-color: rgba(0, 0, 0, 0.5);
}

.image-counter {
    font-size: 14px;
    color: #fff;
}

.control-buttons {
    display: flex;
    gap: 15px;
}

.control-btn {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
}

.control-btn:hover {
    color: #f7941d;
}

/* Navigation Arrows */
.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    border: none;
    width: 40px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 24px;
    transition: background 0.3s;
    z-index: 10;
}

.nav-arrow:hover {
    background: rgba(0, 0, 0, 0.6);
}

.prev-arrow {
    left: 0;
}

.next-arrow {
    right: 0;
}

/* Thumbnails Sidebar */
.thumbnails-sidebar {
    width: 250px;
    height: 100%;
    background-color: #1a1a1a;
    overflow-y: auto;
    padding: 10px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 10px;
    align-content: start;
}

.thumbnail {
    position: relative;
    cursor: pointer;
    height: 0;
    padding-bottom: 75%; /* 4:3 Aspect Ratio */
    overflow: hidden;
}

.thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.thumbnail:hover img {
    transform: scale(1.05);
}

.thumbnail.active {
    border: 2px solid #f7941d;
}

/* Loading Spinner */
.loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #f7941d;
    animation: spin 1s ease-in-out infinite;
    display: none;
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .thumbnails-sidebar {
        width: 200px;
    }

    /* .category-list {
        flex-wrap: wrap;
    }

    .category-item {
        margin-right: 15px;
    } */
}

@media (max-width: 768px) {
    .banner-title {
        font-size: 28px;
    }

    .image-viewer-container {
        flex-direction: column;
    }

    .thumbnails-sidebar {
        width: 100%;
        height: 120px;
        grid-template-columns: repeat(6, 1fr);
        overflow-x: auto;
        overflow-y: hidden;
    }

    .main-image {
        max-height: calc(100vh - 270px);
    }

    /* Mobile Menu Styles */
    .navbar-collapse {
        background-color: white;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 1000;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        padding: 10px 0;
        max-height: 80vh;
        overflow-y: auto;
    }

    .navbar-nav .nav-link {
        padding: 12px 20px;
        border-bottom: 1px solid #f1f1f1;
    }

    .navbar-nav .nav-item:last-child .nav-link {
        border-bottom: none;
    }

    /* Mobile Dropdown */
    .dropdown-toggle::after {
        float: right;
        margin-top: 8px;
    }

    .dropdown .dropdown-menu {
        position: static;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: none;
        display: none;
        padding-left: 15px;
    }

    .dropdown.show .dropdown-menu {
        display: block;
    }

    .dropdown-item {
        padding: 10px 20px;
    }

    /* Search Icon */
    .search-icon {
        position: absolute;
        right: 70px;
        top: 15px;
    }
}

@media (max-width: 576px) {
    .banner-title {
        font-size: 24px;
    }

    .thumbnails-sidebar {
        grid-template-columns: repeat(4, 1fr);
    }

    .top-actions {
        flex-direction: column;
        align-items: flex-end;
    }

    .btn-ebrochure {
        margin-bottom: 5px;
    }
}