.projects-section {
  background: url("resources/project_page1.png") no-repeat center center/cover;
  height: 75vh;
  position: relative;
}
.text-container {
  background-color: rgba(0, 0, 0, 0.4);
  color: white;
  padding: 15px 60px 5px 60px;
  text-align: center;
}
.projects-info1 {
  padding: 80px 0 40px 0;
}
.projects-info2 {
  padding: 40px 0 40px 0;
}
.image-container {
  width: 620px; /* Fixed width */
  overflow: hidden; /* Prevents image from overflowing */
  border-radius: 0px;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures image fits inside without distortion */
  transition: transform 0.3s ease-in-out;
}

.image-container:hover img {
  transform: scale(1.1); /* Zoom effect */
}

.testimonial-section {
  text-align: center;
  padding: 50px 0;
}
.testimonial-card {
  background-color: #f5f5f5;
  padding: 30px;
  border-radius: 10px;
}
.quote-icon {
  background-color: #002366;
  color: white;
  width: 50px;
  height: 50px;
  line-height: 50px;
  border-radius: 50%;
  display: inline-block;
  font-size: 24px;
  margin-bottom: 15px;
  padding-top: 6px;
}

.commitment-section {
  background: url("resources/projects-commitment.png") no-repeat center
    center/cover;
  height: 55vh;
  position: relative;
}
.commitment-text {
  position: absolute;
  top: 25%;
  left: 10%;
}

.mission-section {
  background-color: #002569;
  position: relative;
  padding: 50px 0px 50px 0px;
}

.mission-text {
  position: relative;
  text-align: justify;
  width: 1200px;
  margin: 0 auto;
}

.articles {
  background-color: #002569;
  display: grid;
  margin-inline: auto;
  max-width: 1200px;
  padding-inline: 24px;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  padding-top: 20px;
  padding-bottom: 30px;
}

article {
  --img-scale: 1.001;
  --title-color: black;
  --link-icon-translate: -20px;
  --link-icon-opacity: 0;
  position: relative;
  border-radius: 16px;
  box-shadow: none;
  background: #fff;
  transform-origin: center;
  transition: all 0.4s ease-in-out;
  overflow: hidden;
}

article a::after {
  position: absolute;
  inset-block: 0;
  inset-inline: 0;
  cursor: pointer;
  content: "";
}

/* basic article elements styling */

figure {
  margin: 0;
  padding: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

article img {
  height: 300px;
  transform-origin: center;
  transform: scale(var(--img-scale));
  transition: transform 0.4s ease-in-out;
}

.article-body {
  padding: 24px;
}

article a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: #28666e;
}

article a:focus {
  outline: 1px dotted #28666e;
}

article a .icon {
  min-width: 24px;
  width: 24px;
  height: 24px;
  margin-left: 5px;
  transform: translateX(var(--link-icon-translate));
  opacity: var(--link-icon-opacity);
  transition: all 0.3s;
}

/* using the has() relational pseudo selector to update our custom properties */
article:has(:hover, :focus) {
  --img-scale: 1.1;
  --title-color: #28666e;
  --link-icon-translate: 0;
  --link-icon-opacity: 1;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px,
    rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
}

@media screen and (max-width: 960px) {
  article {
    container: card/inline-size;
  }
  .article-body p {
    display: none;
  }
}

@container card (min-width: 380px) {
  .article-wrapper {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 16px;
  }
  .article-body {
    padding-left: 0;
  }
  figure {
    width: 100%;
    height: 100%;
    overflow: hidden;
  }
  figure img {
    height: 100%;
    aspect-ratio: 1;
    object-fit: cover;
  }
}

.sr-only:not(:focus):not(:active) {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

@media (max-width: 1600px) {
  .commitment-section {
    background: url("resources/projects-commitment.png") no-repeat center
      center/cover;
    height: 75vh;
    position: relative;
  }
}

.info-section {
  text-align: center;
  font-family: "Open Sans", sans-serif;
  padding: 40px;
}

.info-block {
  margin-bottom: 60px;
}

.info-block h1 {
  font-size: 48px;
  color: #002569;
  margin-bottom: 20px;
}

.info-block p {
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.separator {
  font-size: 40px;
  color: #002569;
  margin: -20px 0 40px;
}

.title-with-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.title-with-icon img {
  width: 32px; /* or whatever fits your design */
  height: 32px;
  object-fit: contain;
}

.title-with-icon h1 {
  font-size: 48px;
  color: #002569;
  margin: 0;
}
