/* Carousel for home page */

.carousel .item {
  transition: opacity 1s ease-in-out;
  opacity: 0.6;
}
.carousel .active {
  opacity: 1;
}
.carousel-inner {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* Caption Styling */
.carousel-caption {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  /* background-color: rgba(0, 0, 0, 0.5); */
  padding: 20px;
  border-radius: 10px;
  opacity: 0;
  transition: opacity 2s ease-in-out 1s; /* Delay of 1 second and fades in over 2 seconds */
}
.carousel-caption.show {
  opacity: 1;
}

/* First slide caption aligned left */
.item:first-child .carousel-caption {
  right: 5%;
  text-align: right;
}

/* Second slide caption aligned right */
.item:nth-child(2) .carousel-caption {
  top: 40%;
}

/* Third slide caption aligned right */
.item:nth-child(3) .carousel-caption {
  left: 5%;
  text-align: left;
}

/* Fourth slide caption aligned right */
.item:nth-child(4) .carousel-caption {
  left: 5%;
  text-align: left;
}

/* Fith slide caption aligned right */
.item:nth-child(5) .carousel-caption {
  right: 5%;
  text-align: right;
}

.carousel-indicators li {
  background-color: #000;
}
.carousel-control {
  background-image: none;
}
.carousel-control.left, .carousel-control.right {
  background-color: rgba(0, 0, 0, 0.3);
  width: 5%;
}

/* Bottom Contact form */

.contact-form {
  background-color: #f5f5f5;
  padding: 30px;
  border-radius: 10px;
  max-width: 600px;
  margin: 50px auto;
}
.form-control {
  border-radius: 10px;
}
.btn-custom {
  border-radius: 10px;
  background-color: #333;
  color: white;
}
.btn-custom:hover {
  background-color: #00aadc;
}
.flag {
  height: 16px;
  margin-right: 8px;
}

/* Multi Items Slide */

.mycarousel-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  margin: 50px auto;
  /* padding: 0 15px; */
}

.mycarousel {
  display: flex;
  transition: transform 0.5s ease; /* Smooth transition */
  gap: 15px; /* Add space between items */
}

.mycarousel-item {
  flex: 0 0 calc(33.333% - 15px); /* 3 items per row, including the gap */
  text-align: center;
  /* background-color: #f0f0f0; */
  padding: 10px;
  border-radius: 10px;
}

.mycarousel-item img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.mycarousel-controls {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
}

.mycarousel-controls button {
  background-color: rgba(0, 0, 0, 0.5);
  border: none;
  color: white;
  padding: 10px;
  cursor: pointer;
  border-radius: 50%;
}

.mycarousel-controls button:hover {
  background-color: #00aadc;
}

.mycarousel-indicators {
  text-align: center;
  margin-top: 15px;
}

.mycarousel-indicators button {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 5px;
  background-color: #bbb;
  border: none;
  border-radius: 50%;
  cursor: pointer;
}

.mycarousel-indicators button.active {
  background-color: #717171;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
  .mycarousel-item {
      flex: 0 0 calc(50% - 15px); /* Show 2 items on smaller screens */
  }
}

@media (max-width: 480px) {
  .mycarousel-item {
      flex: 0 0 100%; /* Show 1 item on mobile screens */
  }
}

/* Multi Items Second Slider */

.mysecondcarousel-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  margin: 50px auto;
  /* padding: 0 15px; */
}

.mysecondcarousel {
  display: flex;
  transition: transform 0.5s ease; /* Smooth transition */
  gap: 15px; /* Add space between items */
}

.mysecondcarousel-item {
  flex: 0 0 calc(33.333% - 15px); /* 3 items per row, including the gap */
  text-align: center;
  /* background-color: #f0f0f0; */
  padding: 10px;
  border-radius: 10px;
}

.mysecondcarousel-item img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.mysecondcarousel-controls {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
}

.mysecondcarousel-controls button {
  background-color: rgba(0, 0, 0, 0.5);
  border: none;
  color: white;
  padding: 10px;
  cursor: pointer;
  border-radius: 50%;
}

.mysecondcarousel-controls button:hover {
  background-color: #00aadc;
}

.mysecondcarousel-indicators {
  text-align: center;
  margin-top: 15px;
}

.mysecondcarousel-indicators button {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 5px;
  background-color: #bbb;
  border: none;
  border-radius: 50%;
  cursor: pointer;
}

.mysecondcarousel-indicators button.active {
  background-color: #717171;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
  .mysecondcarousel-item {
      flex: 0 0 calc(50% - 15px); /* Show 2 items on smaller screens */
  }
}

@media (max-width: 480px) {
  .mysecondcarousel-item {
      flex: 0 0 100%; /* Show 1 item on mobile screens */
  }
}


/* Multi Items Third Slider */

.mythirdcarousel-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  margin: 50px auto;
  /* padding: 0 15px; */
}

.mythirdcarousel {
  display: flex;
  transition: transform 0.5s ease; /* Smooth transition */
  gap: 15px; /* Add space between items */
}

.mythirdcarousel-item {
  flex: 0 0 calc(33.333% - 15px); /* 3 items per row, including the gap */
  text-align: center;
  /* background-color: #f0f0f0; */
  padding: 10px;
  border-radius: 10px;
}

.mythirdcarousel-item img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.mythirdcarousel-controls {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
}

.mythirdcarousel-controls button {
  background-color: rgba(0, 0, 0, 0.5);
  border: none;
  color: white;
  padding: 10px;
  cursor: pointer;
  border-radius: 50%;
}

.mythirdcarousel-controls button:hover {
  background-color: #00aadc;
}

.mythirdcarousel-indicators {
  text-align: center;
  margin-top: 15px;
}

.mythirdcarousel-indicators button {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 5px;
  background-color: #bbb;
  border: none;
  border-radius: 50%;
  cursor: pointer;
}

.mythirdcarousel-indicators button.active {
  background-color: #717171;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
  .mythirdcarousel-item {
      flex: 0 0 calc(50% - 15px); /* Show 2 items on smaller screens */
  }
}

@media (max-width: 480px) {
  .mythirdcarousel-item {
      flex: 0 0 100%; /* Show 1 item on mobile screens */
  }
}

