.authors-section {
  padding: 60px 10%;
  background: linear-gradient(to right, #fffaf5, #f7ede2);
  text-align: center;
  font-family: "Georgia", serif;
}

.authors-section .section-title {
  font-size: 2rem;
  color: #5a2d0c;
  margin-bottom: 40px;
}

/* Responsive Grid */
.authors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.authors-grid > a {
text-decoration: none;
}
/* Author Card */
.author-card {
  background: #fff;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
}

.author-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Author Image */
.author-photo {
  width: 100%;
  height: 350px;
  object-position: top;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 15px;
}

/* Name */
.author-name {
  font-size: 1.4rem;
  color: #5a2d0c;
  margin-bottom: 15px;
  text-align: center;
}

/* Bio */
.author-bio p,
.author-bio li {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.6;
  text-align: justify;
}

.author-bio ul {
  padding-left: 20px;
}

/* Modal styling */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  padding-top: 80px;
}

.modal-content {
  background: #fff;
  margin: auto;
  padding: 20px;
  width: 80%;
  max-width: 450px;
  border-radius: 12px;
  text-align: left;
}

.close-btn {
  float: right;
  font-size: 22px;
  cursor: pointer;
}
