.projects-hero {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
  padding: 0 24px;
}
.projects-hero__heading {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.projects-hero__heading-title {
color: var(--0071a1, #0071a1);
    text-align: center;
    font-family: "Montserrat-SemiBold", sans-serif;
    font-size: 48px;
    line-height: 150%;
    letter-spacing: -0.02em;
    font-weight: 600;
    text-transform: uppercase;
    position: relative;
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: center;
}
.projects-hero__heading-description {
  margin: 12px 0 0;
  color: #405064;
  font-size: 18px;
  line-height: 1.6;
}
.projects-hero__overview {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  max-width: 1180px;
  text-align: left;
  align-self: stretch;
  margin: 0 auto;
}
.projects-hero__content,
.projects-hero__extended {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}
.projects-hero__overview-label {
  color: var(--0071a1, #0071a1);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin: 0;
}
.projects-hero__overview-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
  width: 100%;
}
.projects-hero__overview-card {
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
  padding: 18px 32px;
  min-width: 0;
  max-width: none;
  flex: 1 1 calc(50% - 10px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.projects-hero__overview-card-label {
  text-transform: uppercase;
  font-size: 14px;
  color: #6b7c90;
  font-weight: 700;
  margin: 0 0 8px;
}
.projects-hero__overview-card-value {
  margin: 0;
  color: #1a202c;
  line-height: 1.5;
  text-align: left;
}
.projects-hero__content {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: stretch;
}
.projects-hero__main {
  flex: 1 1 55%;
  min-width: 340px;
  background: #edf3f9;
  border-radius: 26px;
  overflow: hidden;
  position: relative;
}
.projects-hero__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.projects-hero__details {
  flex: 1 1 35%;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
}
.projects-hero__title {
color: var(--0071a1, #0071a1);
    font-size: 28px;
    line-height: 150%;
    letter-spacing: -0.02em;
    font-weight: 600;
    text-transform: uppercase;
    position: relative;
    align-self: stretch;
    display: flex;
}
.projects-hero__description {
  margin: 0;
  color: #4a5a70;
  line-height: 1.6;
}
.projects-hero__thumb-row {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.projects-hero__thumb-row .projects-hero__button {
  align-self: flex-end;
  margin-right: 0;
  margin-top: 40px;
}
.projects-hero .frame-1261153900 {
  width: 100%;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: flex-start;
  overflow-x: auto;
}

.projects-hero .frame-1261153900 > * {
  flex: 0 0 150px;
}
.projects-hero .frame-1261153898,
.projects-hero .frame-1261153902,
.projects-hero .frame-1261153903 {
  height: 110px;
  border-radius: 20px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
  background-color: #f4f5fb;
}
.projects-hero .frame-1261153902 {
  display: block;
}
.projects-hero .play-circle,
.projects-hero .plus {
  width: 32px;
  height: 32px;
}
.projects-hero .frame-1261153903 .plus {
  width: 45px;
  height: 45px;
}
.projects-hero__button {
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 26px;
  border-radius: 999px;
  border: 1px solid #0071a1;
  color: #0071a1;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
  margin-top: 0;
}
.projects-hero__button:hover {
  background: #0071a1;
  color: #fff;
}
.projects-hero__extended {
  width: 100%;
  max-width: 1180px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 12px auto 0;
}
.projects-hero__extended-description {
  color: #405064;
  font-size: 18px;
  line-height: 1.6;
}
.projects-hero__extended-description p {
  margin: 0 0 12px;
}
.projects-hero__extended-description p:last-child {
  margin-bottom: 0;
}
.projects-hero__extended-heading {
  margin: 0;
  color: #0071a1;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.projects-hero__extended-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.projects-hero__extended-card {
  flex: 1 1 calc(50% - 10px);
  background: #fff;
  border-radius: 20px;
  border: 1px solid #d2e7f6;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
  padding: 24px 28px;
}
.projects-hero__extended-card-title {
  margin: 0 0 12px;
  color: #6b7c90;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}
.projects-hero__extended-card-text {
  color: #1a202c;
  line-height: 1.6;
}
.projects-hero__extended-card-text p {
  margin: 0 0 8px;
}
.projects-hero__extended-card-text p:last-child {
  margin-bottom: 0;
}
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}

.modal-content img {
  width: 100%;
  height: auto;
  border-radius: 14px;
}

.modal-close {
  position: absolute;
  top: -10px;
  right: -10px;
  font-size: 32px;
  color: #fff;
  cursor: pointer;
}
@media (max-width: 1200px) {
  .projects-hero__heading-title {
    font-size: 40px;
  }
  .projects-hero__main {
    min-width: 300px;
  }
}

@media (max-width: 992px) {
  .projects-hero__content {
    flex-direction: column;
  }
  .projects-hero {
    padding: 0 16px;
  }
  .projects-hero__main,
  .projects-hero__details {
    flex: 1 1 100%;
    min-width: 0;
    width: 100%;
  }
  .projects-hero__details {
    text-align: left;
    align-items: flex-start;
  }
  .projects-hero__title {
    justify-content: flex-start;
  }
  .projects-hero__description {
    text-align: left;
  }
  .projects-hero__thumb-row {
    align-items: center;
  }
  .projects-hero .frame-1261153900 {
    justify-content: flex-start;
  }
  .projects-hero__thumb-row .projects-hero__button {
    align-self: flex-start;
    margin: 16px 0 0;
  }
}

@media (max-width: 768px) {
  .projects-hero__heading-title {
    font-size: 32px;
  }
  .projects-hero__heading-description {
    font-size: 16px;
  }
  .projects-hero__overview-cards {
    flex-direction: column;
  }
  .projects-hero__overview-card {
    flex: 1 1 100%;
  }
  .projects-hero__extended-description {
    font-size: 16px;
  }
  .projects-hero__extended-heading {
    font-size: 18px;
  }
  .projects-hero__extended-cards {
    flex-direction: column;
  }
  .projects-hero__extended-card {
    flex: 1 1 100%;
  }
  .projects-hero__content {
    gap: 20px;
  }
  .projects-hero__thumb-row {
    gap: 8px;
  }
  .projects-hero .frame-1261153900 {
    justify-content: space-between;
    overflow-x: scroll;
  }
  .projects-hero .frame-1261153900 > * {
    flex: 0 0 calc(50% - 8px);
    max-width: calc(50% - 8px);
  }
}

@media (max-width: 520px) {
  .projects-hero__heading-title {
    font-size: 26px;
  }
  .projects-hero__main {
    border-radius: 18px;
    width: 100%;
  }
  .projects-hero .frame-1261153898,
  .projects-hero .frame-1261153902,
  .projects-hero .frame-1261153903 {
    height: 90px;
  }
  .projects-hero .frame-1261153900 > * {
    flex: 0 0 100%;
  }
  .projects-hero__button {
    width: 100%;
    text-align: center;
  }
}
