/* ================= SECTION ================= */
.section {
  padding: 70px 0;
}

.two-col {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 50px;
  align-items: center;
  text-align: justify;
}

.two-col.reverse {
  direction: rtl;
  /* grid-template-columns: 1fr 2fr; */
}

.two-col.reverse .text {
  direction: ltr;
}

.image {
  height: 320px;
}

.image-large {
  height: auto;
}

.section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 6px;
}

h3, .role {
  display: block;
  color: var(--secondary-color);
  font-size: 12px;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.caption {
  font-size: 24px;
  color: var(--primary-color);
}

.center-title {
  text-align: center;
  margin-bottom: 40px;
}

/* ================= OFFICERS ================= */
.officers {
  background: #f5f5f5;
}

.officer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.card {
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 0 2px rgba(0,0,0,0.1);
  transition: 0.3s;
  position: relative;
  height: 280px;
  margin-bottom: 35px;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-body {
  padding: 5px;
  text-align: center;
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: -35px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  z-index: 1;
  background-color: #fff;
  border-radius: 6px;
}

.card-body .role {
  /* margin-bottom: 0; */
  font-size: 10px;
}

.card-body h4 {
  font-size: 16px;
  margin-bottom: 5px;
}

/* ================= FOOTER ================= */
.footer {
  background: linear-gradient(to right, #005c2b, #007a33);
  color: #fff;
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.footer h3 {
  margin-bottom: 15px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}

.copyright {
  text-align: center;
  margin-top: 40px;
  font-size: 13px;
}

/* ================= RESPONSIVE ================= */
@media(max-width: 992px) {

  .officer-grid {
    grid-template-columns: 1fr 1fr;
  }

}

@media(max-width: 768px) {

  .two-col {
      grid-template-columns: 1fr;
  }

  .nav-links {
      display: none;
  }

}

@media(max-width: 512px) {

  .officer-grid {
    grid-template-columns: 1fr;
  }

}