  .intro {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
  }
  
  .intro img {
    max-width: 350px;
    border-radius: 8px;
  }
  
  .section {
    margin-top: 50px;
  }
  
  .features,
  .benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
  }
  
  .features div,
  .benefits div {
    flex: 1 1 300px;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  }

  /* Center content inside the new container */
.centered-sections {
    text-align: center;
  }
  
  /* Optional: Center the text inside feature/benefit blocks */
  .features div,
  .benefits div {
    text-align: center;
  }
  .about-content {
margin-top: 2em;
  }

  .about-content > section {
    margin-bottom: 3em; /* spacing only inside about page */
  }
  
  .about-content > section:last-child {
    margin-bottom: 0; /* remove space after the last section */
  }

  /*Team Section*/
/* Team Section Wrapper */
.team-wrapper {
  max-width: 1100px; /* control width */
  margin: 0 auto; /* center */
  padding: 0 20px;
}

/* Improved Our Team Grid */
.team-section {
  margin-top: 3em;
  text-align: center;
}

.team-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  justify-content: center;
  margin-top: 30px;
}


/* Special second row center */
.team-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.team-row {
  display: flex;
  justify-content: center;
  gap: 70px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.team-member {
  background: #fff;
  border-radius: 12px;
  padding: 25px 20px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 250px;
  width: 100%;
  text-align: center;
}

.team-member:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.team-member img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #eee;
  margin-bottom: 15px;
}

.team-member h4 {
  font-size: 1.2em;
  font-weight: 700;
  color: #222;
  margin: 10px 0 5px;
}

.team-member p {
  font-size: 1em;
  color: #777;
  margin: 0;
}


/*team member popup css*/

/* Modal Base Styles */
.team-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 80px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(0, 0, 0, 0.7);
}

.team-modal-content {
  background-color: #fff;
  margin: auto;
  padding: 30px;
  border: 1px solid #888;
  width: 90%;
  max-width: 500px;
  text-align: center;
  border-radius: 12px;
  position: relative;
  animation: fadeIn 0.4s ease;
}

.team-modal-content img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #ddd;
  margin-bottom: 20px;
}

.team-modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.team-modal-close:hover {
  color: #000;
}

/* Fade in effect */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
