html {
  font-size: 16px;
  scroll-behavior: smooth;
  font-family:"Arial" !important;
}

:root {
  --primary-color: #0095d9;
  --secondary-color: #333333;
  --background-color: #f9f9f9;
  --text-color: #222222;
  --border-radius: 8px;
  --font-main: "Arial", sans-serif;
  --font-hover: rgb(250, 30, 30);
}

nav {
  background-color: #fcfeff;
  position: sticky !important;
  z-index: 100 !important;
  /* Default z-index when not scrolled */
  top: 0;
  /* Đảm bảo vị trí dính bắt đầu từ trên cùng */
  backdrop-filter: blur(100px) !important;

}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}



body {
  margin-bottom: 60px;
  margin: 0;
  padding: 0;
  background-color: #f4f8fa;
  overflow-x: hidden;
  /* Đảm bảo không có overflow ảnh hưởng */
}

.form-floating>.form-control-plaintext::placeholder, .form-floating>.form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating>.form-control-plaintext:focus::placeholder, .form-floating>.form-control:focus::placeholder {
  text-align: start;
}







.equipment-section {
  background-color: #14a1ff5d;
  /* Nền xanh */
  padding: 50px 20px;
}

.equipment-section h2,
.equipment-section p {
  color: #fff;
  text-align: center;
}

.equipment-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.equipment-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease-in-out;
}

.equipment-item:hover img {
  transform: scale(1.1);
  /* Phóng to ảnh khi hover */
  cursor: pointer;
}

.equipment-item .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  /* Màu đen mờ */
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.equipment-item:hover .overlay {
  opacity: 1;
  /* Hiện overlay khi hover */
  cursor: pointer;
}

.overlay h4 {
  margin-bottom: 10px;
  font-size: 18px;
}

.overlay p {
  font-size: 14px;
  text-align: center;
  padding: 0 10px;
}

.specialty-section {
  text-align: center;
  padding: 50px 20px;
}

.specialty-section h2 {
  font-size: 24px;
  font-weight: bold;
  color: #4a4a4a;
  margin-bottom: 20px;
}

.specialty-section .divider {
  width: 60px;
  height: 4px;
  background-color: #007bff;
  /* Màu xanh chủ đạo */
  margin: 10px auto 20px;
}

.specialty-item {
  text-align: center;
  padding: 20px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.specialty-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.specialty-item img {
  max-width: 80px;
  margin-bottom: 15px;
}

.specialty-item h4 {
  font-size: 16px;
  color: #333;
  margin-bottom: 10px;
}

.specialty-item p {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}

.view-more-btn {
  display: inline-block;
  margin-top: 30px;
  padding: 10px 20px;
  font-size: 14px;
  color: #fff;
  background-color: #007bff;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease-in-out;
}

.view-more-btn:hover {
  background-color: #0056b3;
}

.specialty-section {
  padding: 50px 20px;
}

.specialty-section h2 {
  font-size: 24px;
  font-weight: bold;
  color: #4a4a4a;
  text-align: center;
  margin-bottom: 20px;
}

.divider {
  width: 60px;
  height: 4px;
  background-color: #007bff;
  /* Màu xanh chủ đạo */
  margin: 10px auto 30px;
}

.specialty-item {
  text-align: center;
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  height: 257px;
}

.specialty-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.specialty-item i {
  color: #007bff;
}

.specialty-item h4 {
  font-size: 16px;
  font-weight: bold;
  color: #333;
  margin-top: 10px;
  margin-bottom: 10px;
}

.specialty-item p {
  font-size: 14px;
  color: #666;
}

/* Custom navigation buttons */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: #007bff;
  border-radius: 50%;
  width: 40px;
  height: 40px;
}

.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
  background-color: #0056b3;
}

.carousel-inner .carousel-item {
  transition: opacity 1.5s ease-in-out, transform 1.5s ease-in-out;
}
.goog-te-banner-frame {
  display: none !important;
}

body {
  top: 0px !important;
}

#timework {
  max-height: 0;
  overflow: hidden;
  transition: max-height 1s ease;
}

#timework.expanded {
  max-height: 500px;
  /* Adjust this value based on your content */
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
footer {
  width: 100vw;
  margin: 0;
  padding: 0;
  background-color: white;
  left: 0;
  right: 0;
  position: relative;
  box-sizing: border-box;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  width: 100vw;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  box-sizing: border-box;
  background-color: #ffffff;
}

.equipment-card {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
  transition: all 0.3s ease;
}

.equipment-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.equipment-image {
  position: relative;
  height: 300px;
  overflow: hidden;
}

.equipment-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.equipment-card:hover .equipment-image img {
  transform: scale(1.1);
}

.equipment-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(20, 161, 255, 0.9), transparent);
  padding: 20px;
  color: white;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.equipment-card:hover .equipment-overlay {
  transform: translateY(0);
}

.equipment-overlay h4 {
  margin: 0 0 10px 0;
  font-size: 1.2rem;
  font-weight: 600;
}

.equipment-overlay p {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.9;
}


@media (max-width: 768px) {
  .equipment-overlay {
    transform: translateY(0);
  }

  .equipment-overlay h4 {
    font-size: 1rem;
  }

  .equipment-overlay p {
    font-size: 0.8rem;
  }
}
.service-card:hover {
  transform: perspective(1000px) rotateX(5deg) rotateY(5deg) scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0px);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0px);
  }
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes rotate1 {
  from {
    transform: rotate(0deg) translateX(150px) rotate(0deg);
  }

  to {
    transform: rotate(360deg) translateX(150px) rotate(-360deg);
  }
}

@keyframes rotate2 {
  from {
    transform: rotate(120deg) translateX(150px) rotate(-120deg);
  }

  to {
    transform: rotate(480deg) translateX(150px) rotate(-480deg);
  }
}

@keyframes rotate3 {
  from {
    transform: rotate(240deg) translateX(150px) rotate(-240deg);
  }

  to {
    transform: rotate(600deg) translateX(150px) rotate(-600deg);
  }
}


.card .btn {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.video-card .card-body {
  padding: 1rem;
}

.new-badge {
  z-index: 10;
  font-size: 0.9rem;
  background: linear-gradient(145deg, #ff4b5c, #ff6e70);
  /* 3D gradient effect */
  color: white;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  /* Shadow for 3D depth */
  transform: scale(1);
  /* Initial scale for animation */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.new-badge:hover {
  transform: scale(1.1);
  /* Slightly increase size on hover */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
  /* Stronger shadow on hover */
}

.new-badge i {
  animation: star-bounce 1s infinite;
  /* Add bounce effect to star icon */
}

@keyframes star-bounce {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

.news-card {
  transition: all 0.3s ease;
}

.hover-effect {
  transition: all 0.2s ease-in-out;
}

.hover-effect:hover {
  background-color: #f8f9fa;
  transform: translateX(-5px);
}

.news-item {
  position: relative;
  padding-left: 0.5rem;
  border-left: 3px solid #0d6efd;
}

@keyframes flash {
  0%, 100% {
    background-color: #ff6b6b;
    color: white;
    box-shadow: 0 0 5px #ff6b6b, 0 0 10px #ff6b6b;
  }

  50% {
    background-color: #ff4757;
    color: white;
    box-shadow: 0 0 20px #ff4757, 0 0 30px #ff4757;
  }
}

.new-label {
  background-color: #ff6b6b;
  color: white;
  font-size: 0.75rem;
  font-weight: bold;
  border-radius: 5px;
  padding: 2px 6px;
  animation: flash 1.5s infinite ease-in-out;
  margin-left: 10px;
}

/* Animation hiệu ứng chuông rung */
@keyframes shake {
  0%, 100% {
    transform: rotate(0);
  }

  25% {
    transform: rotate(-15deg);
  }

  75% {
    transform: rotate(15deg);
  }
}

/* Animation vòng ripple */
@keyframes ripple {
  0% {
    transform: scale(0.8);
    opacity: 1;
  }

  100% {
    transform: scale(2.5);
    opacity: 0;
  }
}

/* Animation cho badge */
@keyframes pulseBadge {
  0%, 100% {
    transform: scale(1);
    background-color: #ff4757;
  }

  50% {
    transform: scale(1.2);
    background-color: #ff6b6b;
  }
}

/* Bell shake */
.bell-shake i {
  animation: shake 1.2s ease-in-out infinite;
}

/* Ripple */
.ripple {
  animation: ripple 1.5s linear infinite;
  border: 2px solid #fff;
  opacity: 0.5;
  position: absolute;
}

/* Badge pulse */
#count-notification {
  animation: shake 1.5s infinite ease-in-out;


}

.https-indicator {
  color: green;
  font-weight: bold;
  display: flex;
  align-items: center;
  margin-top: 10px;
}

.https-indicator i {
  margin-right: 5px;
  color: #4caf50;
}


@keyframes fall {
  0% {
    transform: translateY(-100vh) rotate(0deg);
  }

  100% {
    transform: translateY(100vh) rotate(360deg);
  }
}

.card-body::-webkit-scrollbar {
  width: 6px;
}

.card-body::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.card-body::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 3px;
}

.card-body::-webkit-scrollbar-thumb:hover {
  background: #555;
}

@keyframes sway {
  0% {
    transform: rotate(0deg);
  }

  50% {
    transform: rotate(2deg);
  }

  100% {
    transform: rotate(0deg);
  }
}

/* Carousel */
.slide-item.active {
  flex: 3 !important;
}

.slide-item:not(.active) {
  opacity: 0.8;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
  background-color: rgba(255, 255, 255, 0.3);
}

.slide-item:not(.active) .overlay {
  opacity: 0.5;
}

.custom-carousel-btn {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.custom-carousel-btn:hover {
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.carousel-control-prev {
  left: 15px;
}

.carousel-control-next {
  right: 15px;
}

.custom-carousel-btn i {
  color: #333;
  font-size: 1.2rem;
}

/* Carousel */
/* End Carousel */
/*menu*/
@keyframes dropdownFade {
  from {
    opacity: 0;
    transform: translateY(-10px) translateZ(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0) translateZ(20px);
  }
}

/* End menu */
/* Hide Google Translate bar */
.VIpgJd-ZVi9od-ORHb {
  display: none !important;
}

.VIpgJd-ZVi9od-ORHb-OEVmcd {
  display: none !important;
}

.goog-te-banner-frame {
  display: none !important;
}

.goog-te-banner-frame.skiptranslate {
  display: none !important;
}

body {
  top: 0 !important;
  font-family: var(--font-main);
}

.menu-custom .nav-link {
  color: rgb(68, 67, 67) !important;
  font-family: var(--font-main) !important;
  font-weight: 600 !important;
  transition: color 0.5s ease !important;
}

.nav-link:hover {
  color: var(--font-hover) !important;
}

.nav-link {
  color: black !important;
  font-family: var(--font-main) !important;
  font-weight: 700 !important;
  transition: color 0.5s ease !important;
}

/* Hiển thị dropdown khi hover vào .nav-item */

.dropdown-menu a {
  color: black !important;
  font-family: var(--font-main) !important;
  font-weight: 700 !important;
  transition: color 0.5s ease !important;

}

.dropdown-item:hover {
  border-left: #333333 3px solid !important;
  color: var(--font-hover) !important;
}


#capcuu {
  font-family: var(--font-main);
}
h1 h2 h3 h4 h5 h6{
  font-family: var(--font-main);
}
#goog-gt-tt{
  display: none !important;
}
.text-zinc-400 {
  display: none !important;
}

p[data-sentry-component="ChatbotChatbaseBranding"] a {
  display: none !important;
}
