  /* About */
  .about-section{
    padding-right: 2% 20%;
    margin-top: 120px;
    padding-bottom: 1%;
    border-bottom: 2px solid #cbd5e1;
}

.about-title{
    font-size: 70px;
    font-weight: 700;
    line-height: 1.2;
    text-align: start;
    padding-left: 20%; /* Change from 200px to percentage */
    margin-bottom: 20px;
    color: black;
    letter-spacing: -0.2px;
    word-wrap: break-word;
    /*text-shadow: 0.001px 0.001px 1.5px #1E293B;*/
}

.about-description{
  line-height: 1.3;
  font-size: 30px; 
  letter-spacing: 0.1px;
  margin-top: 20px;
  text-align: start;
  padding-left: 20%;
  padding-right: 20%;
  color: #475569;
  font-weight: 300;
}


/* Team */

.our-team-heading {
    font-size: 3rem; /* 48px */
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    color: black;
    letter-spacing: -0.2px;
    background-color: #dee8f1;
    margin-bottom: 0%;
    padding-top: 3%;
    border-top: 2px solid #cbd5e1;
    /*text-shadow: 0.001px 0.001px 1.5px #1E293B;*/
  }
  
  .team-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    background-color: #dee8f1;
    padding-top: 30px;
    padding-bottom: 3%;
  }
  
  .team-column {
    flex: 1 1 250px;
    max-width: 420px;
    padding: 0 8px;
  }
  
  .team-card {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);

    margin: 8px;
    border-radius: 7px;
    background: linear-gradient(to bottom, #f4f7fc 45%, white 40%);
    transition: all 0.3s ease-in-out;
    padding-top: 8%;
    padding-bottom: 3%;
    position: relative;
    text-align: center;
  }
  
  .team-card:hover{
    scale: 1.02;
  }
  
  .team-image-container {

    display: flex;
    justify-content: center;
    position: relative;

  }
  
  .team-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 5%;
  }
  
  .team-container {
    padding: 0 16px;
  }
  
  .team-title {
    text-align: center;
    color: #1E293B;
    font-weight: 400;
    margin-bottom: 7px;
  }
  
  .team-name {
    font-size: 1.5rem;
    margin-top: 1.25rem;
    font-weight: 600;
    color: #000000;
  }

  .team-description{
    padding-left: 20%;
    padding-right: 20%;
  }
  
  .title-name-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  /* Values and Offer */

  .qugate-offer, .qugate-values {
    background-color: #ffffff;
    padding-top: 50px;
    padding-bottom: 25px;    
    padding-left: 20%;
    
  }
  
  .offer-title, .values-title {
    font-size: 50px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #000000;
    /*text-shadow: 0.001px 0.001px 1.5px #1E293B;*/
  }
  
  .offer-description {
    font-size: 24px;
    line-height: 1.6;
    color: #1E293B;
    max-width: 1000px;
  }
  
  .values-list {
    list-style-type: none;
    padding: 0;
    margin-top: 20px;
    max-width: 1000px;
  }
  
  .values-list li {
    font-size: 22px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #1E293B;
  }
  
  .highlight {
    color: #154ba0;
    font-weight: 600;
  }

  
  /*Partners*/

.partners-section {
  background-color: #ffffff;
  padding: 50px 0;
  border-top: 2px solid #cbd5e1;
}

.partners-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin-top: 30px;
}

/* Column styling */
.partners-column {
  flex: 1 1 150px;
  max-width: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Logo styling */
.partner-logo {
  max-width: 100%;
  height: auto;
  filter: grayscale(100%);
  transition: filter 0.3s ease, transform 0.3s ease;
}

.partner-logo:hover {
  filter: grayscale(0%);
  transform: scale(1.05);
}

/* Heading styling */
.our-partners {
  font-size: 50px;
  font-weight: 700;
  margin-bottom: 30px;
  color: #000000;
  text-align: center;
  /*text-shadow: 0.001px 0.001px 1.5px #1E293B;*/
}

@media screen and (max-width: 768px) {

  /*Team*/

  .our-team-heading {
    font-size: 2rem;
  }

  .team-column {
    flex: 1 1 100%;
    max-width: 85%;
  }

  .team-image-container {
    top: -50px;
  }

}


@media screen and (max-width: 768px) {

  /* ABOUT SECTION */
  .about-section {
    padding-left: 5%;
    padding-right: 5%;
    margin-top: 100px;
    padding-bottom: 5%;
  }

  .about-title {
    font-size: 43px;
    text-align: center;
    padding-left: 0;
    padding-right: 0;
    text-shadow: 0.001px 0.001px 1.5px #1E293B;
  }

  .about-description {
    font-size: 1.1rem;
    text-align: center;
    padding-left: 5%;
    padding-right: 5%;
  }

  /* TEAM SECTION */
  .our-team-heading {
    font-size: 2rem;
  }

  .team-column {
    flex: 1 1 100%;
    max-width: 85%;
  }

  .team-image-container {
    top: -50px;
  }

  .team-description {
    padding-left: 5%;
    padding-right: 5%;
    text-align: center;
  }

  /* VALUES AND OFFER */
  .qugate-offer,
  .qugate-values {
    padding-left: 5%;
    padding-right: 5%;
    padding-top: 30px;
    padding-bottom: 20px;
  }

  .offer-title,
  .values-title {
    font-size: 2rem ;
    text-align: center;
    padding-left: 0;
    padding-right: 0;
  }

  .offer-description,
  .values-list li {
    font-size: 1rem;
    line-height: 1.5;
    text-align: center;
  }

  /* PARTNERS SECTION */
  .our-partners {
    font-size: 2rem;
    text-align: center;
  }

  .partners-row {
    gap: 20px;
  }

  .partners-column {
    flex: 1 1 100px;
    max-width: 120px;
  }

}


.grant-card-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  background-color: #f8fafc;
  border-top: 2px solid #cbd5e1;
}

.grant-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  padding: 50px 40px;
  max-width: 1000px;
  width: 100%;
  text-align: left;
}

.grant-title {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 25px;
  color: #000000;
}

.grant-subtitle {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #1e293b;
} 

.grant-description {
  font-size: 20px;
  line-height: 1.6;
  color: #1e293b;
  margin-bottom: 20px;
}

.grant-image-container {
  margin-top: 30px;
  text-align: center;
}

.grant-team-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.grant-caption {
  margin-top: 10px;
  font-size: 14px;
  color: #64748b;
}

.grant-logos-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.grant-logo {
  max-height: 50px;
  max-width: 250px;
}

.grant-logo-nb {
  height: 100px;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .grant-title {
    font-size: 1.8rem;
    text-align: center;
  }

  .grant-description {
    font-size: 1rem;
    text-align: center;
  }

  .grant-logos-row {
    gap: 20px;
    flex-direction: row;
    justify-content: center;
  }

  .grant-logo {
    max-height: 40px;
    max-width: 100px;
  }

  .grant-caption {
    font-size: 0.9rem;
  }
}
