/* === General Styles === */
h1 {
  font-size: 2rem !important;
}

.sub {
  font-weight: bold;
  font-size: 1.1rem;
}

#mynavbar {
  z-index: 1000 !important;
}

.container {
  margin-top: 0rem !important;
}

.links {
  text-align: center;
  width: 300px;
  margin-top: 5%;
  margin-left: 5%;
  border: 1px solid #ccc;
  border-radius: 10px;
}

.gray-button {
  text-align: center;
  background-color: #aaa;
  padding: 6px 12px 10px 12px;
  width: 160px;
  height: 33px;
  color: white;
  border-radius: 6px;
  font-size: 13px;
  font-weight: bold;
}

.modal-dialog {
  position: relative;
  display: table;
  width: auto;
  min-width: 500px;
  overflow-x: auto;
}

.modal-backdrop {
  opacity: 0;
}

/* === Testimonial Section === */
.testimonial {
  min-height: 300px;
  text-align: center;
}

.heading {
  color: #ffffff;
  font-size: 30px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 40px;
}

.testimonial4_slide {
  background: #0a3b5c !important;
  border-radius: 20px;
  padding: 40px;
  height: 300px;
  box-shadow: 0 4px 8px rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.testimonial4_slide img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3);
}

.testimonial4_slide p {
  color: white;
  font-size: 16px;
  margin: 20px 0;
}

.testimonial4_slide h4 {
  color: white;
  font-size: 18px;
}

.carousel-control-prev,
.carousel-control-next {
  color: #072946 !important;
  background-color: white !important;
  width: 40px !important;
  height: 40px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(1);
}

.company-name {
  color: #fff;
}

@media (max-width: 756px) {
  .testimonial4_slide {
    height: 600px !important;
  }
}

/* === Scrolling Cards Section === */
.scroll-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 20px 0;
}

.scroll-content {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: scrollLeft 20s linear infinite;
}

.card {
  width: 250px;
  height: 350px;
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 5px;
}

.card h5 {
  margin-top: 10px;
  font-size: 1.2rem;
  font-weight: bold;
  color: #333;
}

.card p {
  font-size: 0.9rem;
  color: #555;
}

@keyframes scrollLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* === Code Styling === */
code {
  color: #e83e8c;
  background-color: #f8f9fa;
  padding: 2px 4px;
  font-family: monospace;
  border-radius: 4px;
}

/* === Responsive Modal === */
@media only screen and (max-width: 600px) {
  .currency-modal-btn {
    padding: 0 !important;
    margin: 0 !important;
  }
  .currency-modal {
    min-width: calc(100% - 1rem) !important;
    max-width: 500px !important;
  }
  .currency-modal .btn {
    font-size: 12px !important;
  }
  .currency-modal img {
    width: 45px;
  }
  .currency-modal td {
    font-size: 12px;
  }
}