.stats-cards {
  padding: 64px 0;
  background: #fff;
}
.stats-cards .container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 56px;
}
@media (max-width: 768px) {
  .stats-cards .container {
    padding: 0 20px;
  }
}
.stats-cards__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: fit-content;
  padding: 10px 20px;
  margin: 0 auto 24px;
  background: #3D9B8E;
  border-radius: 21947630px;
  box-shadow: 0px 26.164px 32.705px -6.541px rgba(0, 0, 0, 0.1), 0px 10.465px 13.082px -7.849px rgba(0, 0, 0, 0.1);
}
.stats-cards__badge svg {
  width: 20px;
  height: 20px;
  color: #fff;
  flex-shrink: 0;
}
.stats-cards__badge span {
  font-family: "Outfit", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  color: #fff;
  text-align: center;
}
.stats-cards__toggle-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 auto 40px;
}
@media (max-width: 480px) {
  .stats-cards__toggle-nav {
    gap: 8px;
    flex-wrap: wrap;
  }
}
.stats-cards__toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 40px;
  font-family: "Outfit", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 22px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  min-width: 140px;
}
@media (max-width: 480px) {
  .stats-cards__toggle-btn {
    padding: 10px 20px;
    font-size: 13px;
    gap: 6px;
    min-width: 120px;
  }
}
.stats-cards__toggle-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.stats-cards__toggle-btn {
  background: #fff;
  color: #4a5565;
  border-color: #E5E7EB;
  box-shadow: 0px 4px 12px -4px rgba(0, 0, 0, 0.08);
}
.stats-cards__toggle-btn:hover:not(.stats-cards__toggle-btn--active) {
  border-color: #00A99D;
  color: #00A99D;
  box-shadow: 0px 6px 16px -4px rgba(0, 169, 157, 0.2);
}
.stats-cards__toggle-btn:hover:not(.stats-cards__toggle-btn--active) svg {
  transform: scale(1.1);
}
.stats-cards__toggle-btn:focus-visible {
  outline: 2px solid #00A99D;
  outline-offset: 2px;
}
.stats-cards__toggle-btn--active {
  background: #3D9B8E;
  color: #fff;
  border-color: transparent;
  box-shadow: 0px 8px 20px -6px rgba(0, 169, 157, 0.4);
}
.stats-cards__toggle-btn--active svg {
  color: #fff;
}
.stats-cards__toggle-btn--active:hover {
  box-shadow: 0px 10px 24px -6px rgba(0, 169, 157, 0.5);
  transform: translateY(-1px);
}
.stats-cards__header {
  text-align: center;
  max-width: 702px;
  margin: 0 auto 48px;
}
.stats-cards__title {
  font-family: "Outfit", sans-serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 56px;
  color: #0a0a0a;
  margin: 0 0 16px 0;
}
.stats-cards__description {
  font-family: "Outfit", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 26px;
  color: #4a5565;
  margin: 0;
}
.stats-cards__carousel {
  position: relative;
  max-width: 1327px;
  margin: 0 auto 60px;
}
.stats-cards__view {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s ease-in-out, visibility 0.4s ease-in-out;
}
.stats-cards__view.hidden {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  pointer-events: none;
}
.stats-cards__view.active {
  position: relative;
  pointer-events: auto;
}
.stats-cards__view.transitioning {
  will-change: opacity, visibility;
}
.stats-cards .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;
}
.stats-cards__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 400px;
  gap: 27px;
}
@media (max-width: 1100px) {
  .stats-cards__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}
@media (max-width: 768px) {
  .stats-cards__grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: 16px;
  }
}

.stats-card {
  position: relative;
  background: rgba(255, 255, 255, 0);
  border-radius: 30.763px;
  overflow: hidden;
  box-shadow: 0px 25.636px 32.045px -6.409px rgba(0, 0, 0, 0.1), 0px 10.254px 12.818px -7.691px rgba(0, 0, 0, 0.1);
}
.stats-card--large {
  grid-row: span 2;
  min-height: 830px;
  box-shadow: 0px 32.045px 64.089px -15.381px rgba(0, 0, 0, 0.25);
}
@media (max-width: 1100px) {
  .stats-card--large {
    grid-row: span 1;
    min-height: 450px;
  }
}
@media (max-width: 768px) {
  .stats-card--large {
    min-height: 350px;
  }
}
.stats-card--medium, .stats-card--small {
  min-height: 400px;
}
@media (max-width: 768px) {
  .stats-card--medium, .stats-card--small {
    min-height: 300px;
  }
}
.stats-card__bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 10.254px;
  z-index: 4;
}
.stats-card--green .stats-card__bar {
  background: #8DC63F;
}
.stats-card--teal .stats-card__bar {
  background: #00A99D;
}
.stats-card--orange .stats-card__bar {
  background: #F7941D;
}
.stats-card--red .stats-card__bar {
  background: #ED1C24;
}
.stats-card__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.stats-card__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.stats-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 24, 40, 0.5) 0%, rgba(16, 24, 40, 0.7) 50%, rgb(16, 24, 40) 100%);
  z-index: 1;
}
.stats-card__content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  padding: 30px 31px;
}
@media (max-width: 768px) {
  .stats-card__content {
    padding: 20px;
  }
}
.stats-card--large .stats-card__content {
  padding: 37px 41px 41px;
}
@media (max-width: 768px) {
  .stats-card--large .stats-card__content {
    padding: 20px;
  }
}
.stats-card__text-info {
  margin-top: auto;
}
.stats-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  box-shadow: 0px 25.636px 32.045px -6.409px rgba(0, 0, 0, 0.1), 0px 10.254px 12.818px -7.691px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
  margin-bottom: auto;
}
@media (max-width: 768px) {
  .stats-card__icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
  }
}
.stats-card__icon img {
  width: 24px;
  height: 24px;
}
.stats-card--green .stats-card__icon {
  background: #8DC63F;
}
.stats-card--teal .stats-card__icon {
  background: #00A99D;
}
.stats-card--orange .stats-card__icon {
  background: #F7941D;
}
.stats-card--red .stats-card__icon {
  background: #ED1C24;
}
.stats-card--large .stats-card__icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  transform: rotate(4.482deg);
  box-shadow: 0px 32.045px 64.089px -15.381px rgba(0, 0, 0, 0.25);
}
.stats-card--large .stats-card__icon img {
  width: 28px;
  height: 28px;
}
.stats-card__number {
  font-family: "Outfit", sans-serif;
  font-size: 40px;
  font-weight: 500;
  line-height: 50px;
  color: #fff;
  margin: 0 0 6px 0;
}
@media (max-width: 768px) {
  .stats-card__number {
    font-size: 28px;
    line-height: 36px;
    margin: 0 0 4px 0;
  }
}
.stats-card__title {
  font-family: "Outfit", sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
  color: #fff;
  margin: 0 0 6px 0;
}
@media (max-width: 768px) {
  .stats-card__title {
    font-size: 18px;
    line-height: 24px;
    margin: 0 0 4px 0;
  }
}
.stats-card__description {
  font-family: "Outfit", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 26px;
  color: #E5E7EB;
  margin: 0;
  max-width: 280px;
}
@media (max-width: 768px) {
  .stats-card__description {
    font-size: 14px;
    line-height: 20px;
    max-width: 100%;
  }
}
.stats-card__meta {
  border-top: 1.282px solid rgba(255, 255, 255, 0.2);
  margin-top: 16px;
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.stats-card__meta-label {
  font-family: "Outfit", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
  color: #D1D5DC;
}
@media (max-width: 768px) {
  .stats-card__meta-label {
    font-size: 13px;
    line-height: 20px;
  }
}
.stats-card__meta-value {
  font-family: "Outfit", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 26px;
}
.stats-card--green .stats-card__meta-value {
  color: #8DC63F;
}
.stats-card--teal .stats-card__meta-value {
  color: #00A99D;
}
.stats-card--orange .stats-card__meta-value {
  color: #F7941D;
}
.stats-card--red .stats-card__meta-value {
  color: #ED1C24;
}

.stats-cards__latest-resources {
  max-width: 1327px;
  margin: 0 auto;
}

.stats-cards__resources-header {
  text-align: center;
  max-width: 702px;
  margin: 0 auto 48px;
}

.stats-cards__resources-title {
  font-family: "Outfit", sans-serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 56px;
  color: #0a0a0a;
  margin: 0 0 16px 0;
}

.stats-cards__resources-description {
  font-family: "Outfit", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 26px;
  color: #4a5565;
  margin: 0;
}

.stats-cards__resources-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
@media (max-width: 992px) {
  .stats-cards__resources-grid {
    grid-template-columns: 1fr;
  }
}

.stats-cards__resources-footer {
  text-align: center;
}

.stats-cards__view-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: #3D9B8E;
  border-radius: 40px;
  box-shadow: 0px 13.082px 19.623px -3.925px rgba(0, 0, 0, 0.1), 0px 5.233px 7.849px -5.233px rgba(0, 0, 0, 0.1);
  font-family: "Outfit", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 26px;
  color: #FFFFFF;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.stats-cards__view-all-btn svg {
  width: 20px;
  height: 20px;
}
.stats-cards__view-all-btn:hover {
  transform: translateY(-2px);
  background: #358A7E;
  box-shadow: 0px 16px 24px -4px rgba(0, 0, 0, 0.15), 0px 6px 10px -6px rgba(0, 0, 0, 0.15);
}

.resource-card {
  position: relative;
  background: #FFFFFF;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0px 16px 24px -8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.resource-card:hover {
  transform: translateY(-4px);
  box-shadow: 0px 20px 32px -8px rgba(0, 0, 0, 0.15);
}
.resource-card--large {
  min-height: 450px;
}
.resource-card--large .resource-card__image {
  height: 280px;
  flex-shrink: 0;
}
.resource-card--large .resource-card__content {
  flex: 1;
}
.resource-card__strip {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  z-index: 3;
}
.resource-card--green .resource-card__strip {
  background: #8DC63F;
}
.resource-card--teal .resource-card__strip {
  background: #00A99D;
}
.resource-card--orange .resource-card__strip {
  background: #F7941D;
}
.resource-card--red .resource-card__strip {
  background: #ED1C24;
}
.resource-card__image {
  position: relative;
  width: 100%;
  height: 160px;
  overflow: hidden;
  flex-shrink: 0;
  background: linear-gradient(135deg, #E5E7EB 0%, #F3F4F6 100%);
}
.resource-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.resource-card__image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #E5E7EB 0%, #F3F4F6 100%);
}
.resource-card__image-placeholder::before {
  content: "";
  width: 48px;
  height: 48px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%239CA3AF'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M4 16l4.586-4.586a2 2 0 012.828 0L16 16m-2-2l1.586-1.586a2 2 0 012.828 0L20 14m-6-6h.01M6 20h12a2 2 0 002-2V6a2 2 0 00-2-2H6a2 2 0 00-2 2v12a2 2 0 002 2z'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.5;
}
.resource-card--small .resource-card__image {
  height: 250px;
  flex-shrink: 0;
}
.resource-card--small .resource-card__content {
  padding: 16px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.resource-card--small .resource-card__title {
  font-size: 18px;
  line-height: 24px;
  margin-bottom: 8px;
}
.resource-card--small .resource-card__excerpt {
  font-size: 14px;
  line-height: 20px;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.resource-card--small .resource-card__actions {
  margin-top: auto;
  padding-top: 12px;
}
.resource-card--small .resource-card__read-more {
  padding: 10px 20px;
  font-size: 14px;
}
.resource-card__image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 24, 40, 0) 0%, rgba(16, 24, 40, 0.3) 100%);
}
.resource-card__content {
  padding: 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.resource-card__new-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: #3D9B8E;
  border-radius: 20px;
  margin-bottom: 12px;
}
.resource-card__new-badge svg {
  width: 17px;
  height: 17px;
}
.resource-card__new-badge span {
  font-family: "Outfit", sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #FFFFFF;
  letter-spacing: 0.5px;
}
.resource-card__category {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  font-family: "Outfit", sans-serif;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 16px;
}
.resource-card--green .resource-card__category {
  background: rgba(141, 198, 63, 0.1);
  color: #8DC63F;
}
.resource-card--teal .resource-card__category {
  background: rgba(0, 169, 157, 0.1);
  color: #00A99D;
}
.resource-card--orange .resource-card__category {
  background: rgba(247, 148, 29, 0.1);
  color: #F7941D;
}
.resource-card--red .resource-card__category {
  background: rgba(237, 28, 36, 0.1);
  color: #ED1C24;
}
.resource-card__title {
  font-family: "Outfit", sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
  color: #0A0A0A;
  margin: 0 0 12px 0;
}
.resource-card__excerpt {
  font-family: "Outfit", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: #4A5565;
  margin: 0 0 16px 0;
  flex-grow: 0;
}
.resource-card__date {
  font-family: "Outfit", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  color: #6B7280;
  margin: 0;
}
.resource-card__actions {
  margin-top: auto;
  padding-top: 20px;
}
.resource-card__read-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  background: #0A0A0A;
  border-radius: 40px;
  font-family: "Outfit", sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #FFFFFF;
  text-decoration: none;
  transition: background 0.3s ease;
  width: 100%;
}
.resource-card__read-more svg {
  width: 20px;
  height: 20px;
}
.resource-card__read-more:hover {
  background: #1F1F1F;
}

.stats-cards__navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 24px;
}

.stats-cards__nav-btn {
  width: 58px;
  height: 58px;
  border-radius: 40px;
  border: 2.616px solid #E5E7EB;
  background: #FFFFFF;
  box-shadow: 0px 3.23px 7.849px -5.233px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stats-cards__nav-btn svg {
  width: 32px;
  height: 37px;
}
.stats-cards__nav-btn:hover:not(:disabled) {
  border-color: #00A99D;
  box-shadow: 0px 4px 10px -6px rgba(0, 0, 0, 0.12);
}
.stats-cards__nav-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.stats-cards__pagination {
  display: flex;
  align-items: center;
  gap: 16px;
}

.stats-cards__dot {
  width: 16px;
  height: 16px;
  border-radius: 40px;
  background: #D1D5DC;
  transition: all 0.3s ease;
  cursor: pointer;
}
.stats-cards__dot--active {
  background: #3D9B8E;
  width: 63px;
}
