.resources-container {
  margin: 80px 0px;
  padding-bottom: 80px;
}

.resources-container>.container {
  padding-left: 12px !important;
  padding-right: 12px !important;
}

.our-work-container {
  margin: 80px 0px;
  padding: 80px 0px;
}

.our-work-container>.container {
  padding-left: 12px !important;
  padding-right: 12px !important;
}

.work-description {
  font-size: 19px;
  padding: 0 12px;
  line-height: 25px;
  font-weight: 500;
  text-align: justify;
  color: #333;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.work-header {
  margin-bottom: 1rem;
}

.work-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 12px;
}

.work-item {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transform: translateY(50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.work-item.visible {
  opacity: 1;
  transform: translateY(0);
  /* Move to position */
}

.resource-item.visible {
  opacity: 1 !important;
  transform: translateY(0);
}

.work-image {
  width: 100%;
  border-radius: 25px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.work-item h3 {
  font-size: 25px;
  font-weight: bold;
  margin: 1.5rem 0 0.5rem;
  color: #000;
}

.work-item p {
  font-size: 0.9rem;
  line-height: 1.5;
  opacity: 0.9;
  height: 150px;
  padding: 0 12px;
  color: #000;
  line-height: 25px;
  letter-spacing: 1px;
  margin-top: 15px;
}

.resource-cit {
  height: 150px;
  padding: 0 12px;
  color: #000;
  margin-top: 15px;
  line-height: 25px;
  font-family: "Poppins", sans-serif;
}

.resources-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.resources-header h2 {
  font-size: 26px;
  display: flex;
  align-items: center;
}

.resources-header h2::after {
  content: "";
  background-color: #4a1e6d;
}

.resources-description {
  margin-bottom: 3rem;
  padding: 0 12px;
  text-align: justify;
  font-size: 19px;
  font-weight: 500;
  line-height: 25px;
  color: #333;
}

.resource-item {
  display: flex;
  flex-direction: column;
  margin: 0 10px;
  gap: 1rem;
  transform: translateY(50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.resource-item p {
  padding: 0 12px;
  font-size: 19px;
  color: #000;
  line-height: 25px;
  letter-spacing: 1px;
  margin-top: 15px;
}

.resources-grid {
  min-height: fit-content;
  margin: 20px 0;
}

.work-grid {
  margin: 20px 0;
}

.resources-image {
  width: 100%;
  border-radius: 30px;
}

.resource-item h3 {
  font-size: 25px;
  font-weight: bold;
  margin: 1.5rem 0 0.5rem;
  color: #000;
}

.article-link {
  width: 100%;
  height: 100vh;
}

.article-link h3 {
  font-size: 20px;
  line-height: 25px;
}

.article-link p {
  padding: 0;
  font-size: 19px;
  line-height: 25px;
}

.work-item h3 {
  font-family: "Poppins", sans-serif;
  line-height: 1.5;
}

.work-desc {
  font-size: 19px;
  line-height: 25px;
  text-align: left;
  color: black;
  height: fit-content;
}

h6.shortDes {
  font-size: 18px;
  width: 80%;
  margin: 0 auto;
  text-align: center;
  line-height: 1.8;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.resource-content h3 {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
}

.resource-content p {
  font-size: 0.9rem;
  line-height: 1.5;
  opacity: 0.9;
}

.slick-prev,
.slick-next {
  background: #8b49aa;
  color: #fff;
  border: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  border-radius: 50%;
  width: 35px;
  height: 35px;
}

.slick-dots {
  display: flex !important;
  flex-direction: row !important;
  justify-content: center;
  align-items: center;
  margin-top: 80px;
  margin-bottom: 0;
  padding: 0;
}

.slick-dots li {
  position: relative;
  margin: 0 5px;
  list-style: none;
}

.slick-dots li button {
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  font-size: 0;
  width: 12px;
  height: 12px;
  outline: none;
}

.slick-dots li button:before {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #8b49aa;
  opacity: 0.5;
  transition: opacity 0.2s;
}

.slick-dots li.slick-active button:before {
  opacity: 1;
  background: #2d1441;
}

.slick {
  display: block !important;
  visibility: visible !important;
  min-height: 100px;
}

.slick-prev {
  left: -55px;
}

.slick-next {
  right: -55px;
}

.slick-prev:hover,
.slick-next:hover {
  background: #5c2d75;
}


.spinner .lds-dual-ring {
  display: inline-block;
  width: 64px;
  height: 64px;
}

.spinner .lds-dual-ring:after {
  content: " ";
  display: block;
  width: 46px;
  height: 46px;
  margin: 1px;
  border-radius: 50%;
  border: 6px solid #8B49AA;
  border-color: #8B49AA transparent #8B49AA transparent;
  animation: lds-dual-ring 1.2s linear infinite;
}

@keyframes lds-dual-ring {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@media (max-width: 1024px) {
  .slick-prev {
    left: -25px;
  }

  .slick-next {
    right: -25px;
  }

  .slick-prev,
  .slick-next {
    display: none !important;
  }

  .slick-dots {
    margin-top: 10px;
    margin-bottom: 0;
    padding: 0;
  }
}

@media (max-width: 992px) {
  .resources-header {
    margin-top: auto;
    margin-bottom: 0;
    padding: 0;
  }

  .work-grid .slick-track {
    margin-top: -25px !important;
  }
}

@media (max-width: 768px) {

  .our-work-container {
    padding: 0;
  }

  .resources-container {
    padding-bottom: 0;
  }

  .our-work-container>.container {
    padding: 12px 10px !important;
  }

  .resources-container>.container {
    padding: 12px 0 !important;
  }

  .work-grid .slick-track {
    margin-top: -35px !important;
  }

  .work-heading {
    margin-top: 10px;
    padding: 0 12px;
  }


  .work-header h2 {
    font-size: 2rem;
  }

  .article-link.p {
    padding: 0;
  }

  .resources-container {
    padding: 10px 22px;
    font-family: "Poppins", sans-serif;
  }

  .resources-header {
    gap: 1rem;
    padding: 0 12px;
    margin-bottom: 5px;
  }

  .resources-header h2 {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .resources-header {
    justify-content: space-between;
    padding: 0;
  }

  .resources-description {
    text-indent: 4em;
    margin-bottom: 0;
    padding: 0;
  }

  .resource-item {
    padding: 0;
    margin: 0;
  }
}