@import url(https://fonts.googleapis.com/css?family=Montserrat:300,400,400i,500,500i,600,600i,700,700i,800|Open+Sans:400,400i,600,600i,700,700i,800&display=swap);
body {
    margin-top: 0px;
    font-family: Arial, sans-serif;
    background: #f5f5f5;
}

/* Section */
.team-section {
    background: #8fa4bf;
    text-align: center;
    padding: 60px 20px 100px;
    color: white;
}

.team-section h2 {
    font-size: 36px;
    margin-bottom: 10px;
}

/* Team Container */


/* Card */
.team-card {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    width: 250px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.team-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-top: -90px;
    border: 6px solid #fff;
}

.team-card span {
    display: block;
    margin-bottom: 15px;
    color: gray;
}

/* Button */
.view-btn {
    padding: 10px 18px;
    background: #09430A;
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: absolute;
    height: 100%;
    background: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    position: relative;
    animation: fadeIn 0.3s ease;
}

.modal-content img {
    width: 120px;
    border-radius: 50%;
    margin-bottom: 0px;
}

.close {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 22px;
    cursor: pointer;
}

.profileModal{
	align-content: center;
	width: 100%;
	margin-top: 0%;
	text-align: center;
}
.modal-content {
  background: white;
  margin: 5% auto;
  padding: 30px;
  border-radius: 20px;

  width: 90%;          /* takes most of the screen */
  max-width: 900px;    /* controls max size */
  
  text-align:justify;
  position: relative;
  animation: fadeIn 0.3s ease;
}





.team-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  max-width: 1200px;
  margin: auto;
  justify-content: center;
  gap: 40px;
  margin-top: 70px;
  flex-wrap: wrap;
}


.team-card {
    background: #fff;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.team-card img {
    width: 100%;
    height: auto;
    border-radius: 100px;
	
}

.modal-content {
    text-align: center;
    padding: 20px;
}

.modal-content img {
    display: block;
    margin: 0 auto 15px auto;
    width: 120px;
    height: 120px;
    border-radius: 50%;
}

.modal-content h3,
.modal-content h5,
.modal-content p {
    margin: 10px 0;
}

.modal-content {
    text-align: center;
}

.modal-content p {
    text-align: justify;
}

/* Animation */
@keyframes fadeIn {
    from {opacity: 0; transform: scale(0.8);}
    to {opacity: 1; transform: scale(1);}
}