/* Font load moved to HTML headers for performance */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  /* overflow-x: hidden; */
}

:root {
  --glass-bg: rgba(255, 255, 255, 0.65);
  --glass-border: rgba(255, 255, 255, 0.4);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --primary-dark: #0f172a;
}

/* Register form  start */

/*  */

#img {
  font-size: 40px;
}
#backToTop {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
}
#first-ul1 a {
  font-weight: bold;
  text-align: center;
  font-size: 1.3rem !important;
}
#first-ul {
  font-size: 1.8rem;
  font-weight: bold;
}
#img-one {
  height: 50px;
}
.custom-dropdown {
  right: 0 !important;
  left: auto !important;
  transform: none !important;
}
.feature-icon {
  font-size: 2.5rem;
  color: gray;
}

.feature-heading {
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.feature-text {
  color: gray;
}

.text-carousel {
  background-color: #f4f4f4;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  padding: 10px 0;
}

.text-carousel span {
  display: inline-block;
  padding: 0 1rem;
  color: #333;
  font-size: 1.2rem;
}
.form-range::-webkit-slider-thumb {
  background: rgb(35, 110, 43); /* Bootstrap danger color */
  border: 2px solid #fff;
  width: 20px;
  height: 20px;
  margin-top: -7px;
  border-radius: 50%;
  cursor: pointer;
}

.cart-sidebar {
  position: fixed;
  top: 0;
  right: -410px;
  width: 410px;
  height: 100%;
  background-color: white;
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
  transition: right 0.3s ease;
  z-index: 1000;
}
.cart-sidebar.open {
  right: 0;
}
.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  padding: 10px;
  border-bottom: 1px solid #ddd;
}
.cart-item img {
  width: 50px;
  height: 50px;
  object-fit: cover;
}
.cart-item .quantity {
  font-size: 16px;
  margin: 0 10px;
}

.text-carousel .scrolling-text {
  display: inline-block;
  animation: scroll-text 40s linear infinite;
}

@keyframes scroll-text {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

.container {
  width: 80%;
  margin: 0 auto;
  padding: 40px 0;
}

h1 {
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
}

/* Swiper Styles */
.swiper {
  width: 100%;
  padding: 20px 0;
}

.swiper-wrapper {
  display: flex;
  align-items: center;
}

.card {
  border: 2px solid #ddd;
  border-radius: 8px;
  padding: 10px;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  text-align: center;
  width: 100%; /* Ensure cards take full width of the slide */
}

.card img {
  border-radius: 8px;
  margin-bottom: 10px;
}

.card-body {
  padding: 10px;
}

.card-title {
  font-size: 1.25rem;
  font-weight: bold;
  color: #007bff;
  text-align: start;
}

.card-text {
  font-size: 1rem;
  color: #555;
  text-align: start;
}

.card-price {
  font-size: 1.25rem;
  color: #dc3545;
  font-weight: bold;
}

.btn-add-to-cart {
  background-color: #28a745;
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
}

.btn-add-to-cart:hover {
  background-color: #218838;
}

/* Arrow Controls */
.swiper-button-next,
.swiper-button-prev {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  color: #000;
  /* background-color: #ffffff; */
  /* border: 2px solid #000;  */
  border-radius: 50%;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  left: 10px;
  padding: 5px;
  padding: 5px;
  right: 10px;
}

#isol1 {
  width: 50px;
  height: 50px;
}
#isol {
  height: 50px;
  width: 90px;
  object-fit: contain;
  margin-left: 10px;
  margin-top: -2px;
}
#bt {
  background-color: #c2c1c1;
}

.quantity-input {
  max-width: 60px;
  text-align: center;
  font-size: 18px;
  font-weight: bold;
}
.gallery-top {
  height: 585px; /* Adjust height as needed */
}

.gallery-top .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures the image covers the slide */
}

.gallery-thumbs {
  height: 570px; /* Adjust height as needed */
  margin-top: 10px;
}

.gallery-thumbs .swiper-slide {
  opacity: 0.4; /* Make thumbnails semi-transparent */
  cursor: pointer;
}

.gallery-thumbs .swiper-slide-thumb-active {
  opacity: 1;
  /* Highlight the active thumbnail */
}

.gallery-thumbs .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Ensures the image covers the slide */
}
.gallery-top .swiper-slide video {
  width: 100%;
  height: 585px; /* Match the container height */
  object-fit: fill;
}

.card {
  max-width: 1700px; /* Adjust the max width to the desired size */
  width: 100%;
  margin: 0 auto; /* Center the card */
  border-radius: 20px;
}
#reg {
  background-color: #3939cd;
  color: white;
}

/* register page */
.step {
  display: none;
}

.step.active {
  display: block;
}
.card {
  max-width: 1700px; /* Adjust the max width to the desired size */
  width: 100%;
  margin: 0 auto; /* Center the card */
}
.progress-bar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  position: relative;
}
/* .dropdown-menu-center{
  margin-left: 200px !important;
} */

#progressStep1 {
  left: 155px;
}
#progressStep2 {
  right: 165px;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.progress-step .step-icon {
  width: 80px;
  height: 80px;
  border: 3px solid #3939cd;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  background-color: white;
  color: #3939cd;
  margin: 0 auto;
}

.progress-step.active .step-icon {
  background-color: #3939cd;
  color: white;
}

.progress-step span {
  margin-top: 10px;
  font-size: 14px;
  color: #6c757d;
}

.progress-line {
  position: relative;
  top: 40%;
  transform: translateY(-50%);

  margin-left: 0px;
  width: calc(50% - 50px);
  height: 3px;
  background-color: #e9ecef;
  z-index: 0;
}

.progress-line-filled {
  position: absolute;
  top: 46%;
  margin-left: 214px;
  width: 0;
  height: 3px;
  background-color: #3939cd;
  z-index: 1;
  transition: width 0.4s ease;
}
.form-control.success input {
  border-color: teal;
}
.form-control.error input {
  border-color: red;
}
.form-control.error {
  border-color: red;
  color: red;
  font-size: 9px;
  height: 13px;
}
#step2 {
  margin-top: 80px;
}
/*end*/

@media (max-width: 576px) {
  .card {
    margin-top: 50px;
    margin-bottom: 10px;
  }
  .custom-dropdown {
    left: 50% !important;
    transform: translateX(-50%) !important;
    right: auto !important;
  }

  .swiper-button-next,
  .swiper-button-prev {
    width: 40px;
    height: 40px;
  }
  #img {
    width: 150px;
    height: 80px;
    object-fit: cover;
    margin-left: -25px;
  }
  #img1 {
    width: 30px;
    height: 60px;
    object-fit: cover;
    margin-left: -15px;
  }
  #isol1 {
    width: 40px;
    height: 40px;
  }

  #isol {
    height: 40px;
    width: 70px;
    object-fit: cover;
    margin-left: 5px;
    margin-top: -2px;
  }
  #h56 {
    font-size: 14px;
  }

  #img {
    width: 150px;
    height: 80px;
    object-fit: cover;
    margin-left: -25px;
  }
  #one {
    font-size: 24px;
  }
  #two {
    font-size: 16px;
  }
  #alt {
    width: 90px;
    height: 90px;
  }
  .progress-line {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    left: 0px;
    margin-left: 80px;
    width: calc(50% - 0px);
    height: 3px;
    background-color: #e9ecef;
    z-index: 0;
  }

  .progress-line-filled {
    position: absolute;
    top: 40%;
    left: 0px;
    margin-left: 80px;
    width: 0;
    height: 3px;
    background-color: #3939cd;
    z-index: 1;
    transition: width 0.4s ease;
  }
  #progressStep1 {
    left: 29px;
  }
  #progressStep2 {
    right: 49px;
  }
  .progress-step .step-icon {
    width: 50px;
    height: 50px;
    border: 3px solid #3939cd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    background-color: white;
    color: #3939cd;
    margin: 0 auto;
  }
  #step2 {
    margin-top: 0px;
  }
  .card {
    margin-top: 15px;
    margin-bottom: 10px;
  }
}
