.custom-link {
  text-decoration: none;
  position: relative;
}

.custom-link::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 1px;
  bottom: -2px;
  left: 0;
  background-color: rgb(58, 158, 216);
  transition: width 0.3s ease;
}

.custom-link:hover::after {
  width: 100%;
}

@media (max-width: 768px) {
  .tabdatacontainer table tr {
    display: block;
    margin-bottom: 1em;
  }

  .tabdatacontainer table td {
    display: block;
    width: 100% !important;
  }

  .tabdatacontainer table td:first-child {
    font-weight: bold;
  }
}


.carousel-wrapper {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 40px auto;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: 40px;
  will-change: transform;
}

.carousel-slide {
  flex: 0 0 calc(50% - 20px); 
  background-color: #2a3650;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  user-select: none;
  box-shadow: 0 8px 20px rgb(0 0 0 / 0.5);
  transition: box-shadow 0.3s ease;
}

.carousel-slide:hover {
  box-shadow: 0 10px 30px rgb(0 0 0 / 0.8);
}

.carousel-slide img {
  width: 97%;
  height: 300px;
  object-fit: cover;
  display: block;
  filter: brightness(0.6);
  transition: filter 0.3s ease;
}

.carousel-slide:hover img {
  filter: brightness(0.75);
}

.carousel-caption {
  position: absolute;
  bottom: 25px;
  width: 100%;
  text-align: center;
  padding: 0 15px;
  letter-spacing: 0.04em;
}

.carousel-caption h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
}

.carousel-caption p {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 400;
  opacity: 0.85;
  font-family: 'Open Sans', sans-serif;
}

/* Arrows */
.carousel-arrow {
  position: absolute;
  bottom: 10px;
  width: 60px;
  height: 2px;
  background: rgba(255 255 255 / 0.3);
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.carousel-arrow:hover {
  background: rgba(255 255 255 / 0.7);
}

.arrow-left {
  left: 12px;
  transform: translateY(-50%);
}

.arrow-right {
  right: 12px;
  transform: translateY(-50%);
}

.carousel-arrow::before,
.carousel-arrow::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 16px;
  height: 2px;
  background: inherit;
  border-radius: 2px;
  transform-origin: center center;
}

.arrow-left::before {
  left: -6px;
  transform: translateY(-50%) rotate(45deg);
}

.arrow-left::after {
  left: -6px;
  transform: translateY(-50%) rotate(-45deg);
}

.arrow-right::before {
  right: -6px;
  transform: translateY(-50%) rotate(-45deg);
}

.arrow-right::after {
  right: -6px;
  transform: translateY(-50%) rotate(45deg);
}

/* Responsive */
@media (max-width: 1024px) {
  .carousel-slide {
    flex: 0 0 100%; /* 1 item per row */
  }

  .carousel-slide img {
    height: 260px;
  }
}

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

  .carousel-slide img {
    height: 220px;
  }
}

@media (max-width: 480px) {
  .carousel-slide {
    flex: 0 0 100%;
    margin: 0 auto;
    max-width: 320px;
  }

  .carousel-track {
    gap: 15px;
  }

  .carousel-slide img {
    height: 200px;
  }

  .carousel-wrapper {
    max-width: 90vw;
  }
}
