/* Logo Styles */
.logo img {
  height: auto;
  /* Adjust size as needed */
  width: auto;
}

/* Navbar Styles Update */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #0d60d8;
  padding: 10px 20px;
  color: #333;
}

.nav-list {
  display: flex;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.nav-list li {
  margin: 0 10px;
}

.nav-list a {
  text-decoration: none;
  color: white;
}

/* Hamburger Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  background-color: white;
  height: 3px;
  width: 25px;
  margin: 3px 0;
  transition: 0.3s;
  align-self: center;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    background-color: #fff;
    color: #333;
    position: absolute;
    top: 60px;
    right: 20px;
    width: 150px;
    text-align: center;
  }

  .nav-list a {
    text-decoration: none;
    color: #333;
  }

  .nav-list.active {
    display: flex;
  }

  .nav-list li {
    margin: 10px 0;
  }
}




/* Style the buttons that are used to open and close the accordion panel */
.accordion {
  background-color: #007bff;
  color: #fff;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  transition: 0.4s;
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.active,
.accordion:hover {
  background-color: #fff;
  color: #333
}

/* Style the accordion panel. Note: hidden by default */
.panel {
  padding: 0 18px;
  background-color: white;
  display: none;
  overflow: hidden;
}

/* styling the table */

.table-title {
  margin: 20px 0;
  font-size: 1.5em;
  color: #333;
  cursor: pointer;
  background-color: #007bff;
  color: white;
  padding: 10px;
  border-radius: 5px;
  text-align: center;
}

.table-title:hover {
  background-color: #0056b3;
}

.table-container {
  display: none;
  margin-bottom: 20px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 10px 0;
  background: white;
}

th,
td {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: left;
}

th {
  background-color: #007bff;
  color: white;
}

td {
  font-size: 0.95em;
}

@media (max-width: 768px) {
  table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  th,
  td {
    padding: 8px;
  }
}

.footer {
  background-color: #0d60d8;
  color: #fff;
}

/* Testimonial Section */
.testimonial-container {
  width: 80%;
  margin: auto;
  text-align: center;
  overflow: hidden;
  padding: 40px 0;
}

/* Title */
.testimonial-title {
  font-size: 24px;
  margin-bottom: 20px;
  color: #333;
}

/* Carousel Wrapper */
.testimonial-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Carousel Container */
.testimonial-carousel {
  display: flex;
  overflow: hidden;
  width: 100%;
  max-width: 900px;
}

/* Slide Section */
.testimonial-slide {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 500%;
  /* Ensures the slide is long enough */
}

/* Individual Card */
.testimonial-card {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  flex: 0 0 20%;
  /* Each card takes up exactly 20% (1/5th) of the container */
  margin: 10px;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  box-sizing: border-box;
  /* Ensures width calculations are correct */
}

/* Hover Effect */
.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
}

/* Image Styling */
.testimonial-card img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-bottom: 10px;
  border: 3px solid #007bff;
}

/* Navigation Buttons */
.prev-btn,
.next-btn {
  background: black;
  color: white;
  border: none;
  padding: 10px 15px;
  font-size: 18px;
  cursor: pointer;
  border-radius: 50%;
  transition: 0.3s;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.prev-btn:hover,
.next-btn:hover {
  background: #007bff;
}

.prev-btn {
  left: 0;
}

.next-btn {
  right: 0;
}

.mobile-only {
  display: none;
}

@media only screen and (max-width: 768px) {
  .mobile-only {
    display: block;
  }
}