.montserrat-regular {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}

.montserrat-bold {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}

body {
  font-family: "Montserrat", sans-serif;
  margin: 0;
  background: #ffffff;
  color: #222;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

.header {
  padding: 0 100px;
  box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
  margin-bottom: 80px;
}

.top-header {
  background: #ffffff;
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-radius: 8px;
  margin-top: 15px;
}

.logo-box img {
  max-width: 400px;
  width: 100%;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.navbar {
  background: white;
  display: flex;
  justify-content: space-between;
  padding: 30px 0;
  align-items: center;
}

.nav-left {
  font-size: 18px;
  font-weight: bold;
  color: #003399;
}

.nav-left span {
  font-size: 12px;
  color: #666;
}
.nav-right a {
  margin-left: 20px;
  text-decoration: none;
  color: #003399;
}

.content {
  margin: 20px 100px;
  text-align: center;
}

.text-start {
  text-align: left !important;
}

.funding-tag {
  background: #003399;
  padding: 15px 20px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 25px;
  color: white;
  .fs-12 {
    font-size: 12px;
  }
}

.funding-tag img {
  height: 40px;
  border-radius: 4px;
}

.title {
  font-size: 44px;
  margin: 10px 0;
}

.subtitle {
  font-size: 25px;
  color: #003399;
  font-weight: 600;
  margin-bottom: 30px;
  text-align: center;
}

.info-box-container {
  display: flex;
  justify-content: center;
}

.info-box {
  background: #e8f0ff;
  border-left: 5px solid #003399;
  padding: 15px 20px;
  margin-bottom: 25px;
  text-align: left;
  display: flex;
  gap: 20px;
}

.info-label {
  font-weight: bold;
  color: #003399;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  justify-items: center;
  margin: 40px 0;
}

.stat {
  background: #f9fafb;
  padding: 18px 20px;
  border-radius: 10px;
  width: 65%;
  max-width: 300px; /* ensures equal box sizing */
  text-align: center; /* centers content inside */
}

.stat .primary-color {
  font-weight: 600;
  color: #0a4ca4;
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
}

/* RESPONSIVE BREAKPOINTS */

/* 2 per row on tablets */
@media (max-width: 900px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 1 per row on mobile */
@media (max-width: 600px) {
  .stats-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

.primary-color {
  color: #003399;
}

.image-box {
  width: 100%;
  height: 500px;
}

.image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
}

.overview-info-box {
  background: #e8f0ff;
  border-left: 5px solid #003399;
  padding: 20px 20px;
  margin-bottom: 25px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 60px;
  .info-label {
    font-weight: 600;
    color: black;
  }
  .info-text {
    font-size: 14px;
  }
}

.lses-role {
  background-color: #f9fafb;
  padding: 40px 100px;
  margin: 60px 0;
}

/* Gradient Pill */
.key-resp-pill {
  padding: 15px 25px;
  font-weight: 600;
  border-radius: 8px;
  background: linear-gradient(90deg, #002f83, #f5d137);
  color: white;
  box-shadow: rgba(0, 0, 0, 0.15) 0 3px 6px;
}

/* Cards */
.resp-card {
  background: #ffffff;
  padding: 18px 18px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: rgba(0, 0, 0, 0.12) 0px 4px 10px;
}

.resp-icon {
  width: 38px;
  height: 38px;
  background: #d1efdd;
  padding: 8px;
  border-radius: 8px;
}

/* Text inside card */
.resp-card p {
  margin: 0;
  font-size: 15px;
  color: #00416c;
  font-weight: 500;
}

/* Responsive improvements */
@media (max-width: 576px) {
  .resp-card {
    padding: 15px;
  }
}

.responsibilities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 40px 0;
}

.responsibility {
  background: #ffffff;
  box-shadow: rgba(6, 24, 44, 0.4) 0px 0px 0px 2px, rgba(6, 24, 44, 0.65) 0px 4px 6px -1px, rgba(255, 255, 255, 0.08) 0px 1px 0px inset;
  padding: 20px 20px;
  border-radius: 10px;
  gap: 20px;
  display: flex;
  align-items: center;
  .icon {
    color: #003399;
    background-color: #19baa8;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    border-radius: 8px;
  }
}

/* RESPONSIVE BREAKPOINTS */

/* 2 per row on tablets */
@media (max-width: 900px) {
  .responsibilities-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

.work-packages-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.package-info-box {
  background: #e8f0ff;
  border-left: 5px solid #18baa8;
  padding: 20px 20px;
  margin-bottom: 25px;
  text-align: left;
  display: flex;
  gap: 20px;
  .icon {
    background-color: #003399;
    color: #ffffff;
    height: 30px;
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
  }
  .texts {
    gap: 10px;
    display: flex;
    flex-direction: column;
    .info-label {
      font-weight: 600;
      font-size: 19px;
      color: black;
    }
    .info-sublabel {
      font-weight: 600;
      color: #18baa8;
    }
    .info-text {
      font-size: 14px;
    }
  }
}

.fa-arrow-trend-up {
  color: #18baa8;
}

/* RESPONSIVE BREAKPOINTS */

@media (max-width: 1220px) {
  .work-packages-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

.section-3 {
  margin: 0 100px;
  .project-objectives {
    display: flex;
    flex-direction: column;
    gap: 20px;
    .item {
      display: flex;
      gap: 10px;
      align-items: center;
      .icon {
        font-size: 25px;
        color: #003399;
      }
    }
  }

  .highlights-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    .item {
      display: flex;
      flex-direction: column;
      gap: 10px;
      align-items: center;
      .icon {
        font-size: 25px;
        color: #003399;
        border-radius: 50%;
        padding: 20px;
        background-color: #e8f0ff;
      }
      p {
        text-align: center;
        margin: 0;
      }
    }
  }

  @media (max-width: 980px) and (min-width: 601px) {
    .highlights-container {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (max-width: 600px) {
    .highlights-container {
      grid-template-columns: repeat(1, 1fr);
    }
  }

  .partner-text-container {
    text-align: center;
    display: flex;
    justify-content: center;
    p {
      max-width: 60%;
    }
  }

  .partners-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: center;
    margin: 30px 0;
    .item {
      display: flex;
      flex-direction: column;
      gap: 15px;
      border-radius: 8px;
      box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
      padding: 20px 20px;
      .image {
        width: 100%;
        height: 150px;
        display: flex;
        justify-content: center;
        img {
          width: 100%;
          height: 100%;
          object-fit: contain;
          object-position: center;
        }
      }
      .label {
        color: #003399;
      }
      .sublabel {
        font-weight: 600;
      }
      .location {
        gap: 5px;
        display: flex;
        align-items: center;
        color: #18baa8;
      }
      p {
        margin: 0;
      }
    }
  }

  @media (max-width: 900px) and (min-width: 601px) {
    .partners-container {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (max-width: 600px) {
    .partners-container {
      grid-template-columns: repeat(1, 1fr);
    }
  }
}

footer {
  background-color: #1f2937;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 0;
  flex-direction: column;
  color: #dfdfe0;
  .d-flex1{
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 200px;
}
.d-flex{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.d-flex-col{
  display: flex;
  flex-direction: column;
  align-items: start;
  a{
      text-decoration: none;
      color: inherit;
  }
}
  .ceres-link {
    margin-left: 20px;
    text-decoration: none;
    color: #003399;
  }
  .btn {
    background: #18baa8;
    color: white;
    padding: 15px 15px;
    border-radius: 8px;
  }

  hr {
    width: 90%;
    color: #515f77;
    border-color: #515f77;
    margin: 20px 0;
  }
  .disclaimer-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 30px 0;
    border-radius: 8px;
    background-color: #374151;
    font-weight: 700;
    width: 90%;
    text-align: center;
    margin: 20px 0;
    .label {
      font-size: 20px;
    }
    .p-container {
      width: 100%;
      display: flex;
      justify-content: center;
      p {
        margin: 0;
        max-width: 60%;
      }
    }
  }
  .label {
    font-size: 25px;
    font-weight: 700;
  }
  .social-buttons {
    display: flex;
    gap: 25px;
    margin: 20px 0;
    flex-wrap: wrap;
    justify-content: center;
    a {
      color: white;
      font-size: 20px;
      text-decoration: none;
    }
    .item {
      padding: 10px;
      background-color: #374151;
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
  }
}

/* RESPONSIVE BREAKPOINTS */

/* 2 per row on tablets */
@media (max-width: 800px) {
  .header {
    padding: 0 50px;
  }
}

@media (max-width: 720px) {
  .navbar {
    flex-direction: column;
    gap: 20px;
  }
  .nav-left {
    text-align: center;
  }
  .nav-right {
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column-reverse;
    gap: 20px;
  }
}

/* 2 per row on tablets */
@media (max-width: 550px) {
  .header {
    padding: 0 20px;
  }
  .content {
    margin: 20px;
  }
  .lses-role {
    padding: 40px 20px;
  }respo
  .section-3 {
    margin: 0 20px;
  }
  footer {
    p {
      text-align: center;
    }
    .signature {
      text-align: center;
      
    }
    .d-flex1{
    flex-direction: column;
    justify-content: space-center;
    align-items: center;
    gap: 50px;
    }
    .d-flex{
    flex-direction: column;
    }
    .d-flex-col{
  align-items: center;
  }
}