/* subject matter */
    section#subjectmatter {
    background: #F4F4F699;
    margin-top: 5%;
    }
   
    .experts-section {
      background-image: url('../img/subjectmatters.png'); 
      border-radius: 20px;
      padding: 50px;
      box-shadow: 0px 10px 30px rgba(0,0,0,0.08);
      position: relative;
      overflow: hidden;
      background-position: center;
      background-repeat: no-repeat;
      background-size: cover;
    }
section#subjectmatter h6 {
    font-size: 20px;
}
section#subjectmatter p {
    line-height: 40px;
}

  .experts-content {
    position: relative;
    z-index: 1;
  }

  .experts-text h6 {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 10px;
  }

  .experts-text h2 {
    font-weight: 800;
    font-size: 30px;
    margin-bottom: 18px;
  }

  .experts-text p {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    max-width: 520px;
  }

  /* .experts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 25px;
    justify-items: center;
    align-items: center;
  } */

  .experts-grid img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 18px;
    background: #c8c4be;
    box-shadow: 0 6px 16px rgba(0,0,0,0.1);
  }

  /* Bottom row center align */
  .experts-grid .bottom-row {
    grid-column: span 3;
    display: flex;
    justify-content: center;
    gap: 30px;
  }

  @media (max-width: 991.98px) {
    .experts-section { padding: 30px; }
    .experts-grid {
      grid-template-columns: repeat(3, 1fr);
    }
    .experts-grid .bottom-row {
      grid-column: span 3;
      flex-direction: row;
      align-items: center;
    }
  }
   @media (max-width: 767px) {
   .experts-grid img {
      width: 135px;
      height: 135px;
   }
   .experts-grid img {
    width: 80px;
    height: 80px;
   }
   
  }
  @media(max-width:567px){
    .experts-grid{
          grid-gap: 4px;
    }
    a.navbar-brand
 {
    width: 60% !important;
}
  }
  
  .experts-grid .row.g-3.align-items-stretch {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}