.medal {
  height: 30px;
  width: 30px;
}

.about__achievements {
  margin-top: 3rem;
}

.about__achievements-container {
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 5rem;
}

.about__achievements-right > p {
  margin: 1.6rem 0 2.5rem;
}

.achievements__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.achievement__card {
  background: var(--color-bg);
  padding: 1.6rem;
  border-radius: 1rem;
  text-align: center;
  transition: var(--transition);
  background: var(--color-bg);
  box-shadow: 0 3rem 3rem rgba(0, 0, 0, 0.3);
  border: 1px solid var(--color-primary);
}

.achievements__cards h3 {
  color: var(--color-primary);
}

.achievement__card:hover {
  cursor: pointer;
}

.red {
  color: var(--color-primary);
}

/*Media queries tablet*/

@media screen and (max-width: 1024px) {
  .about__achievements {
    margin-top: 2rem;
  }

  .about__achievements-container {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .about__achievements-left {
    width: 80%;
    margin: 0 auto;
  }
}

/*Media queries tablet*/

@media screen and (max-width: 600px) {
  .achievements__cards {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }
}
.whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.whatsapp i {
  color: white;
  font-size: 24px;
}

/* team section css for large screens*/

.teams {
  height: auto;
  color: rgb(248, 242, 242);
  width: 90%;
}
/* Sidebar Styles */
.sidebar {
  width: 15%;
  padding-top: 50px;
  position: sticky;
  height: 50vh;
  top: 5%;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.sidebar a {
  padding: 8px 16px;
  text-decoration: none;
  width: 180px;
  text-align: left;
  height: auto;
  border-radius: 10px;
  gap: 10px;
  font-size: 18px;
  color: #fff;
  display: block;
  margin-bottom: 10px;
  transition: background 0.3s ease;
}

.sidebar a.active,
.sidebar a:hover {
  background-color: white;
  color: #d31a42;
}

/* Main Content Styles */
.main-contents {
  margin-top: 4%;
  transform: translateX(3%);
  width: 99%;
  background-color: white;
  border-radius: 30px;
  padding-left: 50px;
  padding-top: 10px;
}

.team-section {
  margin-bottom: 40px;
}

.team-section h2 {
  text-align: left;
  font-size: 20px;
  font-weight: 600;
  color: #000;
  margin-bottom: 20px;
}

.team-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(2, 2fr);
}

.team-member {
  width: calc(90% - 20px);
  background-color: #fff;
  border-radius: 8px;
  padding: 20px;
  display: flex;
  align-items: flex-end;
  color: #000;
}

.team-member h3 {
  color: #000;
  font-weight: 600;
  font-size: 18px;
  margin: 0;
}

.team-member p {
  color: #000;
  margin: 5px 0;
  font-size: 14px;
}

/* WhatsApp Button */
.whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.whatsapp i {
  color: white;
  font-size: 24px;
}
.team-container {
  width: 100%;
  display: flex;
}
hr {
  width: 96%;
  margin-left: 20px;
}
.team-section {
  display: none;
}

.team-section:first-of-type {
  display: block; /* Show the first section by default */
}
.linkedin-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  margin-right: 15px;
}
.member-image {
  width: 100px;
  height: 100px;
  border-radius: 8px;
  margin-left: 15px;
}
.teams h1 {
  text-align: center;
  color: #d31a42;
  font-size: 30px;
  font-weight: 500;
  margin-top: 20px;
  margin-bottom: 20px;
}
/* Define the keyframes for the bottom-to-top animation */
@keyframes bottomToTop {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Animation class that will be added when the section is about to come into view */
.teams {
  opacity: 1;
  transform: translateY(20px);
  transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

.teams.animate {
  opacity: 1;
  transform: translateY(0);
}
@media (min-width: 600px) {
  .teams-mobile {
    display: none;
  }
  .teams {
    display: block;
  }
}

@media (max-width: 599px) {
  .brand-form-conatiner {
    border-radius: 10px !important;
  }
  .form {
    padding: 10px !important;
  }
}
@media (min-width: 600px) {
  .client-logos1 {
    display: none;
  }
}

.carousel-container {
  position: relative;
  width: 99%;
  overflow: hidden;
}

.carousel {
  overflow: hidden;
}

.carousel-tracks {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-items {
  flex: 0 0 calc((100% / 3) - 40px); /* Calculate width dynamically based on container width */
  height: 350px;
  box-sizing: border-box;
  margin: 20px;
  border-radius: 10px;
  text-align: center;
  font-size: 1.2em;
  transition: transform 0.3s ease, opacity 0.3s ease;
  overflow: hidden; /* Ensure overflow of zoomed image is hidden */
  position: relative;
}

@media (max-width: 599px) {
  .carousel-items {
    flex: 0 0 calc(80% - 20px); /* Adjust width for mobile devices */
    border-radius: 10px;
  }
}

.member-images {
  width: 100%;
  height: 250px;
  object-fit: cover; /* Ensure the image covers the entire container */
  transform: scale(1); /* Start with the image at its normal size */
  transition: transform 0.3s ease;
  border-radius: 10px;
}
.teams-mobile h1 {
  text-align: center;
  color: #d31a42;
  font-size: 20px;
  font-weight: 500;
}
@media (min-width: 600px) {
  .teams-mobile {
    display: none;
  }
  .teams {
    display: block;
  }
}
@media (max-width: 599px) {
  .teams-mobile {
    display: block;
  }
  .teams {
    display: none;
  }
  .carousel-items {
    flex: 0 0 calc(80% - 40px); /* Adjust width for small devices */
    height: auto; /* Ensure height is fixed */
  }
  .carousel-items h3 {
    display: flex;
    font-size: 16px;
    color: white;
    font-weight: 600;
  }

  .carousel-items p {
    font-size: 14px;
    color: white;
    font-weight: 400;
  }
}
.carousel-section {
  text-align: left;
}
.carousel-items h3 {
  display: flex;
  font-size: 16px;
  font-weight: 600;
}
.carousel-items p {
  font-size: 14px;
  font-weight: 400;
}
.linkedin-icons {
  width: 20px;
  height: 20px;
  padding-left: 5px;
}
.carousel-buttones {
  display: flex;
  justify-content: space-between;
  align-items: center; /* White background */
  padding: 10px;
  border-radius: 10px;
  width: fit-content;
  margin: auto;
}

.carousel-buttone i {
  color: #000000; /* Black color for icons */
  font-size: 30px;
}

.carousel-buttone:hover {
  background-color: #f0f0f0; /* Slightly darker on hover */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.carousel-button.prev {
  margin-right: 20px;
}

.carousel-buttone.next {
  margin-left: 20px;
}

.carousel-buttone.hide {
  visibility: hidden; /* Hide the button when not needed */
}

.valuable-clients-section {
  height: auto;
  width: 90%;
}
.client-container {
  display: flex;
  align-items: center;
  justify-content: center;
}
.no-vehicles {
  width: 18vw;
  background-color: rgb(255, 255, 255);
  height: 44vh;
  flex-direction: column;
  margin: auto;
  border-radius: 12px;
  text-align: center;
  padding: 20px;
}
#value1 {
  color: #0b7b69;
  font-size: 50px;
  font-weight: 550;
  text-align: left;
  font-weight: 500;

  padding: 10px;
}
.value-heading {
  font-size: 18px;
  font-weight: 600;
  color: black;
  text-align: left;
  padding: 10px;
}
.value-heading p {
  font-size: 18px;
  font-weight: 400;
  text-align: left;
  color: #4a5e6d;
  margin-top: 5px;
  margin-bottom: 5px;
}
.client-review {
  display: flex;
  justify-content: center; /* Centering content horizontally */
  align-items: center;
}
.client-logos {
  display: flex;
  justify-content: center; /* Centering content horizontally */
  align-items: center;
  margin-left: 1.5%;
}
.valuable-clients-section h1 {
  font-size: 30px;
  font-weight: 600;
  text-align: center;
  color: white;
  margin-top: 2rem;
  margin-bottom: 3rem;
}

.client-logo {
  width: 45vw;
  background-color: rgb(255, 255, 255);
  height: 45vh;
  flex-direction: column;
  margin: auto;
  border-radius: 12px;
  text-align: center;
  padding: 10px;
}
.image-row1,
.image-row2,
.image-row3,
.image-row4,
.image-row5 {
  display: flex;
  gap: 10px;
}
.image-row1 img {
  height: auto;
  width: 70%;
  margin: 5px;
}
.image-row2 img {
  height: auto;
  width: 65%;
  margin: 5px;
}
.image-row3 img {
  height: auto;
  width: 70%;
}
.image-row4 img {
  height: auto;
  width: 70%;
  margin: 5px;
}
.image-row5 img {
  height: auto;
  width: 70%;
  margin: 5px;
}

.team-line {
  width: 93%;
  color: #111;
}
@media (max-width: 599px) {
  .client-container {
    display: revert;
  }
  .client-review {
    margin-left: 0%;
    margin-bottom: 20px;
  }
  .no-vehicles {
    width: 85vw;
    height: 40vh !important;
    padding: 0px !important;
    border-radius: 10px;
  }
  #value1 {
    margin-top: 0px;
    margin-bottom: 0px;
  }
  .valuable-clients-section h1 {
    color: #d31a42;
  }
  .client-logo1 {
    border-radius: 10px;
    width: 85vw;
  }
  .client-logos1 {
    display: flex;
    justify-content: center; /* Centering content horizontally */
    align-items: center;
    margin-left: 0%;
  }
  .client-logo1 {
    background-color: rgb(255, 255, 255);
    height: auto;
    flex-direction: column;
    margin: auto;
    text-align: center;
    padding: 10px;
  }
  .client-logos {
    display: none;
  }
  .brand-form-conatiner {
    border-radius: 10px !important;
  }
  .form {
    padding: 10px !important;
  }
}
@media (min-width: 600px) {
  .client-logos1 {
    display: none;
  }
}
/* form css code */

/* Add these CSS rules */
.counter {
  margin-left: 20px;
  font-size: 1.2em;
  color: white; /* Default color for the counter */
}

.counter span {
  color: #d31a42; /* Pink color for the increasing number */
}

.carousel-buttone {
  background-color: #ffffff; /* Default background color */
  border: none;
  border-radius: 50%;
  padding: 10px;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.carousel-buttone.default {
  background-color: #707070; /* Blue background for inactive state */
  color: #ffffff; /* White color for icon */
  cursor: not-allowed; /* Change cursor to not-allowed for inactive state */
}

.carousel-buttone.active {
  background-color: #ffffff; /* White background for active state */
  color: #000000; /* Black color for icon */
}

.carousel-buttone:hover {
  background-color: #e0e0e0; /* Slightly darker grey on hover */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.carousel-buttone:active {
  background-color: #d0d0d0; /* Darker grey on click */
}
.form label {
  text-align: left;
  margin-left: 10px !important;
}
@media (max-width: 599px) {
  section.content-block.quotation-block.black-overlay-6.parallax {
    display: none !important;
  }
  .content-containers h2 {
    font-size: 24px !important;
  }
}
