<!-- Section 1 -->

.image-slider-wrapper {
  	width: 100%;
	margin-top: 1rem;
}

.main-image {
  width: 100%;
  overflow: hidden;
}

.main-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: opacity 0.3s ease;
  border-radius: 0;
}

.thumbs {
  gap: 10px;
  padding: 10px 0;
  justify-content: center !important; /* Đảm bảo ảnh nhỏ căn giữa */
  display: flex;
  flex-wrap: wrap;
  overflow-x: auto;
}

.thumb {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  opacity: 0.5;
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.3s ease;
  flex-shrink: 0;
}

.thumb.active {
  opacity: 1;
  transform: scale(1.1);
  box-shadow: 0 0 6px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
  .thumb {
    width: 60px;
    height: 45px;
  }
}	

img.text-logo {
    width: 15%;
    display: block;
    margin: 0 auto;
}

.custom-width {
  width: 100%;
}

@media (min-width: 768px) {
  .custom-width {
    width: 75%;
  }
}

@media (min-width: 992px) {
  .custom-width {
    width: 60%;
  }
}

@media (min-width: 1200px) {
  .custom-width {
    width: 50%;
  }
}

.image-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
}

.image-caption {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.5); /* nền tối mờ */
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.image-caption a {
  color: #fff;
  text-decoration: none;
}
	
.long-banner{
	margin: 5rem 0;
}

.big-fontsize{
	font-size: 18px;
}

<!-- Section 2 -->

.carousel-container {
            position: relative;
            overflow: hidden;
            width: 100%;
        }

        .carousel-track {
            display: flex;
            transition: transform 0.5s ease;
        }

        .carousel-slide {
            flex: 0 0 20%;
            padding: 5px;
            display: flex;
            align-items: center;
            /* Canh giữa theo chiều dọc */
            justify-content: center;
            /* Canh giữa theo chiều ngang nếu muốn */
        }

        .carousel-slide img {
            width: 100%;
            height: auto;
            border-radius: 8px;
            cursor: pointer;
            transition: transform 0.3s ease;
        }

        .carousel-slide img:hover {
            transform: scale(1.05);
        }

        .carousel-button {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(0, 0, 0, 0.5);
            color: white;
            border: none;
            padding: 10px;
            cursor: pointer;
            z-index: 10;
            border-radius: 50%;
        }

        .carousel-button.prev {
            left: 10px;
        }

        .carousel-button.next {
            right: 10px;
        }

        /* Modal styles */
        .modal {
            display: none;
            position: fixed;
            z-index: 100;
            left: 0;
            top: 0;
            width: 100%;
  			height: 100%;		
            background-color: rgba(211, 211, 211, 0.9);
            justify-content: center;
            align-items: center;
			opacity: 0;
            transition: opacity 0.6s ease;
        }
		
		.modal.show {
            display: flex;
            opacity: 1;
        }
	
        .modal img {
            max-width: 90%;
            max-height: 90%;
            border-radius: 8px;
			transform: scale(0.8);
            opacity: 0;
            transition: transform 0.6s ease, opacity 0.6s ease;
        }
	
		.modal.show img {
            transform: scale(1);
            opacity: 1;
        }

        @media (max-width: 1024px) {
            .carousel-slide {
                flex: 0 0 33.33%;
            }
        }

        @media (max-width: 768px) {
            .carousel-slide {
                flex: 0 0 50%;
            }
        }

        @media (max-width: 480px) {
            .carousel-slide {
                flex: 0 0 100%;
            }
        }
		
		.staggered-container {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            align-items: flex-start;
            gap: 40px;
            padding: 40px 20px;
        }

        .staggered-image {
            flex: 1 1 300px;
            max-width: 400px;
        }

        .staggered-left {
            margin-top: 60px;
        }

        .staggered-right {
            margin-bottom: 60px;
        }

        .staggered-image img {
            width: 100%;
            height: auto;
            display: block;
            border-radius: 10px;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
        }

        .staggered-content {
            flex: 1 1 300px;
            max-width: 500px;
            text-align: center;
            margin: auto;
        }

        .staggered-content h2 {
            font-size: 24px;
            margin-bottom: 16px;
        }

        .staggered-content p {
            font-size: 16px;
            color: #444;
            line-height: 1.6;
        }

        @media (max-width: 768px) {
            .staggered-container {
                flex-direction: column;
                align-items: center;
                gap: 30px;
            }

            .staggered-left,
            .staggered-right {
                margin: 0;
            }

            .staggered-content h2 {
                font-size: 20px;
            }

            .staggered-content p {
                font-size: 15px;
            }
        }


<!-- Section 3 -->

.card-img-top {
    background-color: #FAF1DD;
    padding: 10px;
    object-fit: contain;
    aspect-ratio: 1 / 1;
}

  .card-body p {
    margin: 0;
  }

  .card-body strong {
    font-size: 0.95rem;
  }
	
	
	.partner-box {
      background: #fff;
      border-radius: 12px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
      padding: 20px;
      text-align: center;
    }
    .partner-box img {
      max-width: 100%;
      max-height: 256px;
      object-fit: contain;
    }

<!-- Hiệu ứng lướt trang -->

<!-- Xuất hiện hoành tráng -->
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

<!-- Devialet -->
	.product-image {
      max-width: 300px;
    }
    .slider-box {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 20px;
      margin-top: 30px;
    }
    .arrow {
      font-size: 2rem;
      cursor: pointer;
    }
    .about-img {
      width: 100%;
      height: auto;
      object-fit: cover;
    }

html, body {
  overflow-x: hidden;
}

/* VIDEO YOUTUBE */
.responsive-video {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* Tỷ lệ 16:9 (9/16 = 0.5625) */
  height: 0;
}

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