#map {
  height: 600px;
  width: 100%;
  margin-bottom: 20px;
}

#companiesMap {
  height: 800px;
  width: 100%;
  margin-bottom: 20px;
}

@media screen and (max-width: 1000px) {
  .companiesMapContainer {
    height: 300px;
  }

  #map {
    height: 300px;
    width: 100%;
  }

  #companiesMap {
    height: 300px;
    width: 100%;
  }
}

div.in-a-nutshell {
  border-radius: 25px;
  background-color: white;
  bottom: 75px;
  padding: 30px;
  box-shadow: 0 0 10px -2px rgba(0, 0, 0, 0.46);
}

.site-content {
  padding-top: 0;
}

.company-ranking {
  display: table;
  height: 100%;
}

.company-position {
  font-size: 35px;
  display: table-cell;
  margin-right: -25px;
  background: rgb(224, 112, 0);
  background: linear-gradient(
    90deg,
    rgba(224, 112, 0, 1) 0%,
    rgba(220, 143, 8, 1) 35%,
    rgba(255, 239, 0, 1) 100%
  );
  color: white;
  border-radius: 3px;
}

.company-logo {
  display: table-cell;
  margin: 0;
  padding: 0;
  z-index: 99;
}

.company-logo img {
  background: silver;
  border-radius: 50%;
  max-width: 80%;
}

.company-description {
  background: #f6f6f6;
  height: 100%;
  display: table-cell;
  border-radius: 10px;
  margin-left: -25px;
}

.success-ribbon {
  width: 75px;
  height: 75px;
  position: absolute;
  top: -5px;
  right: -5px;
  z-index: 1;
  overflow: hidden;
  text-align: right;
}
.success-ribbon span {
  width: 100px;
  display: block;
  position: absolute;
  top: 19px;
  right: -21px;

  background: #21df95;
  background: linear-gradient(#21df95 0%, #1cbd7e 100%);
  box-shadow: 0 3px 10px -5px rgba(0, 0, 0, 1);

  text-align: center;
  text-transform: uppercase;
  line-height: 20px;
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 0.5px;
  /* color: #f5f3eb;*/
  color: #fff;

  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}
.success-ribbon span::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 0px;
  z-index: -1;
  border-top: 3px solid #1cbd7e;
  border-right: 3px solid transparent;
  border-bottom: 3px solid transparent;
  border-left: 3px solid #1cbd7e;
}
.success-ribbon span::after {
  content: "";
  position: absolute;
  top: 100%;
  right: 0px;
  z-index: -1;
  border-top: 3px solid #1cbd7e;
  border-right: 3px solid #1cbd7e;
  border-bottom: 3px solid transparent;
  border-left: 3px solid transparent;
}

.success-card {
  box-shadow: 0px 0px 10px #1cbd7e;
}

.campaign-list .progress {
  background-color: lightgray;
  height: auto;
}

.campaign-list .progress-bar {
  background-color:#1cbd7e;
  color:black;
  text-align: center;
  font-size: 1rem;
  padding-left: 10px;
  padding-right: 10px;
}
  
.carousel-container {
  max-width: 1000px;
  min-width: 250px;
  max-height: 600px;
  overflow: hidden;
  position: relative;
  margin: auto;
}

.carousel-container .carousel-image,
.carousel-image-title {
  width: 100%;
  display: none;
}

.carousel-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
}

.carousel-image-title {
  position: absolute;
  bottom: 0;
  left: 0;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.35);
  color: #fff;
  padding: 10px;
}

.carousel-dots {
  text-align: center;
  margin-top: 10px;
  margin-bottom: 30px;
}

.carousel-dot-selector {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.carousel-dot-active,
.carousel-dot-selector:hover {
  background-color: #ffb432;
}

.carousel-prev,
.carousel-next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white !important;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

.carousel-next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.carousel-prev:hover,
.carousel-next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.carousel-fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

/* carousel for insta */
.carousel-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%; /* Ensure it takes the full width of its parent */
  margin: auto; /* Center the carousel if needed */
}

.carousel-container-insta {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  gap: 50px;
  padding: 10px 0; /* Adjusted to not overlap with buttons */
  margin: 0 40px; /* Make space for buttons */
}

.instagram-media {
  flex: 0 0 auto;
  width: 300px; /* Adjust based on your preference */
  margin: 5px;
}

.scroll-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 50%;
  cursor: pointer;
  width: 30px;
  height: 30px;
  z-index: 10;
}

.scroll-button.left {
  left: 0;
}

.scroll-button.right {
  right: 0;
}

/* Optional: Hide scrollbar */
.carousel-container-insta::-webkit-scrollbar {
  display: none;
}

.carousel-container-insta {
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}