* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.mainContainer {
  width: 100%;
}

.details {
  margin-bottom: 30px;
  text-align: center;
  margin-top: 12px;
  width: 50%;
}

.details p {
  margin-top: 12px;
}

.carouselContainer {
  display: flex;
  justify-content: center;
  place-items: center;
  flex-direction: column;
  width: 100%;
  padding: 24px 0;
}

body {
  font-family: Arial, sans-serif;
  background: #f8f8f8;
  display: flex;
  justify-content: center;
  align-items: center;
}

.carousel {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #fff;
  padding: 1rem;
  border-radius: 8px;
  max-width: 100%;
  width: 50%;
  margin-block: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.arrow-btn {
  background: #007acc;
  color: #fff;
  font-size: 1rem;
  border: none;
  display: flex;
  padding: 6px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.3s ease;
}

.arrow-btn:hover,
.arrow-btn:focus {
  background: #005fa3;
  outline: none;
}

.arrow-btn:focus-visible {
  outline: 2px solid #333;
}

.imageContainer,
.withoutBtn {
  display: flex;
  width: 100%;
  height: 350px;
  position: relative;
  scroll-behavior: smooth;
}

.carouselImages {
  width: 100%;
  object-fit: cover;
  display: none;
  border-radius: 8px;
}

@media (max-width: 768px) {
  .imageContainer,
  .withoutBtn {
    width: 100%;
    height: 250px;
  }
  .mainContainer {
    width: 100%;
  }

  .arrow-btn {
    font-size: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .carousel {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .details {
    width: 100%;
  }
  .arrow-btn {
    width: 50px;
  }

  .imageContainer,
  .withoutBtn {
    width: 100%;
  }
  .mobilebtn {
    display: flex !important;
  }
  .mobilebtn div {
    margin: 12px;
  }
  .laptop {
    display: none !important;
  }
}

.imageContainer .active,
.withoutBtn .active {
  display: block;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mobilebtn {
  display: none;
}
.laptop {
  display: block;
}
