.fifth-section-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.fifth-section-images-container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  padding: 20px 12px;
}

.fifth-section-item {
  position: relative;
  flex: 1 1 calc(50% - 32px);
  max-width: calc(50% - 32px);
}

/* image fills its card and keeps aspect ratio */
.fifth-section-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  object-fit: cover;
  filter: brightness(0.4);
}

/* date pill overlay */
.date-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.9);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: #333;
}

/* headline overlay, centered */
.fifth-section-image-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 48px;
  font-weight: 600;
  text-align: center;
  line-height: 1.2;
  width: calc(100% - 40px);
}

/* Tablet: stack to one column */
@media (max-width: 768px) {
  .fifth-section-item {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .fifth-section-image-text {
    font-size: 36px;
  }
  .date-badge {
    top: 12px;
    right: 12px;
    font-size: 12px;
    padding: 2px 8px;
  }
}

/* Mobile: tighter spacing */
@media (max-width: 480px) {
  .fifth-section-images-container {
    gap: 16px;
  }
  .fifth-section-image-text {
    font-size: 16px;
  }
  .date-badge {
    top: 8px;
    right: 8px;
    font-size: 12px;
    padding: 2px 6px;
  }
}

/*----------------------------------------------------------cards-------------------------------------------------------------*/

.fifth-section-cards-container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  padding: 20px 12px;
}

.fifth-section-card {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1 1 calc(33.333% - 32px);
  max-width: calc(33.333% - 32px);
  flex-direction: coluumn;
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  box-sizing: border-box;
  background: linear-gradient(
    60deg,
    #ffffff 0%,
    /* pure white */ #dedae8 30%,

    /* light pale tint (tweak to taste) */ #eceaf4 100% /* your Figma color */
  );
}

.card-date-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.9);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: #333;
}

.card-title {
  margin: 0 0 24px;
  color: #000;
  text-align: right;
  font-size: 32px;
  font-weight: 500;
  line-height: normal;
}

.card-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #38479c;
  font-size: 22px;
  font-weight: 400;
  text-decoration: none;
  margin-top: auto;
}
.card-read-more::before {
  content: "←";
}

/* tablet: two per row */
@media (max-width: 1024px) {
  .fifth-section-card {
    flex: 1 1 calc(50% - 32px);
    max-width: calc(50% - 32px);
    padding: 24px;
  }
  .card-title {
    font-size: 24px;
    margin-bottom: 16px;
  }
  .card-read-more {
    font-size: 18px;
  }
}

/* mobile: one per row */
@media (max-width: 480px) {
  .fifth-section-cards-container {
    gap: 16px;
    padding: 20px 12px;
  }
  .fifth-section-card {
    flex: 1 1 100%;
    max-width: 100%;
    padding: 16px;
  }
  .card-title {
    font-size: 18px;
  }
  .card-read-more {
    font-size: 16px;
  }
}

.static {
  position: static;
  width: fit-content;
  margin-bottom: 15px;
}

.fifth-section-cards-container button {
  margin-top: 30px;
}

.lets-work-together-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 80px 0px;
  padding: 40px 20px;
  background: linear-gradient(135deg, #f3f3fb, #dad2f2);
  text-align: center;
}

.lets-work-together-header {
  color: #000;
  text-align: center;
  font-size: 64px;
  font-style: normal;
  font-weight: 500;
  line-height: 88px;
}

@media (max-width: 1024px) {
  .lets-work-together-header {
    font-size: 54px;
    line-height: 70px;
    margin-bottom: 35px;
  }
}

/* landscape phones / small tablets */
@media (max-width: 768px) {
  .lets-work-together-header {
    font-size: 48px;
    line-height: 56px;
  }
}

/* portrait phones */
@media (max-width: 575px) {
  .lets-work-together-header {
    text-align: center;
    font-size: 36px;
    line-height: 44px;
    margin: 30px 0px;
  }
}

.white-background {
  background-color: white;
}

.black {
  color: black;
}
