/* 
  .carousel-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
  }
  .carousel-item.partial {
    width: 50%;
    float: left;
    margin-right: 10%;
  }
   */

   /* styles.css */
/* 
body {
  font-family: Arial, sans-serif;
  margin: 0;
  background-color: #0a3d62;
}

.products-section {
  padding: 50px 0;
}

.carousel-main {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: auto;
  overflow: hidden;
}

.carousel {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

.carousel-inner {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-item {
  min-width: 33.33%;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.carousel-item.active .card {
  transform: scale(1.1);
  opacity: 1;
}

.carousel-item .card {
  background: #1e3799;
  border-radius: 15px;
  padding: 20px;
  color: #fff;
  text-align: center;
  width: 90%;
  max-width: 300px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
  opacity: 0.5;
}

.carousel-item .card .icon {
  width: 50px;
  margin-bottom: 15px;
}

.carousel-item .card h3 {
  margin: 10px 0;
}

.carousel-item .card p {
  font-size: 14px;
  line-height: 1.5;
}

.download-link {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border: none;
  padding: 10px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 1;
}

.carousel-control.prev {
  left: 10px;
}

.carousel-control.next {
  right: 10px;
}

@media (max-width: 768px) {
  .carousel-item {
      min-width: 50%;
  }

  .card {
      width: 90%;
  }
}

@media (max-width: 480px) {
  .carousel-item {
      min-width: 100%;
  }

  .carousel-control {
      padding: 8px;
  }
} */


/* .carousel-main {
  font-family: Arial, sans-serif;
  background-color: #1E2E4E;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: auto;
} */
.carousel-main {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-left: 1rem; 
  padding-right: 1rem;
  /* background-color: #1E2E4E; */
  position: relative;


}

.carousel-main::before {
  content: '';
  position: absolute;       
  /* top: 50%;
  left: 50%; */
  /* width: 150%;
  height: 150%; */
  width: 130%;
  height: 130%;
  background: url('../images/circle-products-section.png') no-repeat center center;
  background-size: contain;
    /* background-color: #1E2E4E; */

  /* transform: translate(-15%, 160%); */
  /* z-index: -1; */
}
.carousel-container {
  position: relative;
  width: 80%;
  /* max-width: 800px; */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel1 {
  display: flex;
  transition: transform 0.5s ease;
  width: 100%;
  padding-left: 3rem;
  padding-right: 3rem;
}

.carousel-item1 {
  min-width: 90%;
  box-sizing: border-box;
  /* padding: 20px; */
  display: flex;
  justify-content: center;
  /* transform:translateX(7rem); */
}

.card {
  border-radius: 10px;
  color: #fff;
  padding: 20px;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 300px;
  transition: background-color 0.5s ease;
}

.loan {
  /* background: #0F1B2E; */
  background: #3A82DC;
}

.treasury {
  /* background: #143056; */
  background: #3A82DC;
}

.card h2 {
  color: #7AB3FF;
  margin: 10px 0;
}

.card p {
  font-size: 0.9em;
  line-height: 1.5em;
}

.download-link {
  display: inline-block;
  margin-top: 20px;
  color: #7AB3FF;
  text-decoration: none;
}

.icon {
  margin-bottom: 20px;
}

.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  z-index: 1;
  padding: 0 10px;
}

.prev {
  left: 0;
}

.next {
  right: 0;
}

.active-carousel {
  /* background: orange !important; */
  background: #0F1B2E !important;
}

@media (max-width: 600px) {
  .card {
      padding: 10px;
  }
  .icon {
    margin-bottom: auto;
  }
  .icon img {
      /* width: 24px;
      height: 24px; */
      width: 50px;
      height: 50px;
  }
  .carousel-control {
      font-size: 1.5rem;
  }

  .carousel-container{
    width: 70%;
  }

  .carousel1 {
    width: 100%;
    padding-left: 0px;
    padding-right: 0px;
  }

.carousel-item1 {
  min-width: 100%;
  transform: translateX(0px);

}

.carousel-main{
  max-width: 100vw;
  margin-top: 2rem;
}


.carousel-main::before {
  content: '';
  position: absolute;       
  width: 100%;
  height: 100%;
  background: url('../images/circle-products-section.png') no-repeat center center;
  background-size: contain;
}

}

