/* Our Team Page Styling */

/* Header Styles */
.team-header {
  background-color: #003264;
  color: #ffffff;
  padding: 60px 0 40px;
  margin-bottom: 40px;
  position: relative;
}

.team-header:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background-color: #F4C430;
}

.team-header .page-title {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.team-header .lead {
  font-size: 1.4rem;
  font-weight: 300;
}

.title-underline {
  height: 4px;
  width: 80px;
  background-color: #F4C430;
  margin: 0 auto 25px;
}

/* Section Styles */
.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #374151;
  margin-bottom: 15px;
}

.section-underline {
  height: 4px;
  width: 60px;
  background-color: #F4C430;
  margin: 0 auto 25px;
}

.section-description {
  font-size: 1.1rem;
  color: #4B5563;
  max-width: 800px;
  margin: 0 auto;
}

/* Leadership Section Styles */
.leadership-section {
  padding: 40px 0 60px;
  background-color: #f9fafb;
}

.team-card {
  background-color: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.team-image {
  overflow: hidden;
  position: relative;
}

.team-image img {
  width: 100%;
  transition: transform 0.5s ease;
}

.team-card:hover .team-image img {
  transform: scale(1.05);
}

.team-info {
  padding: 25px 20px;
  text-align: center;
}

.team-info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #374151;
  margin-bottom: 5px;
}

.team-position {
  font-size: 1.1rem;
  color: #003264;
  font-weight: 600;
  margin-bottom: 15px;
}

.team-underline {
  height: 3px;
  width: 50px;
  background-color: #F4C430;
  margin: 0 auto 15px;
}

.team-info p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #4B5563;
  margin-bottom: 20px;
}

.team-contact {
  font-size: 1.2rem;
}

.team-contact a {
  color: #003264;
  margin: 0 5px;
  transition: color 0.3s ease;
}

.team-contact a:hover {
  color: #F4C430;
}

/* Department Section Styles */
.department-section {
  padding: 60px 0;
  background-color: #ffffff;
}

.dept-card {
  background-color: #f9fafb;
  border-radius: 10px;
  padding: 30px 20px;
  text-align: center;
  height: 100%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dept-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.dept-icon {
  font-size: 2.2rem;
  color: #003264;
  margin-bottom: 20px;
}

.dept-card h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #374151;
  margin-bottom: 15px;
}

.dept-underline {
  height: 3px;
  width: 40px;
  background-color: #F4C430;
  margin: 0 auto 15px;
}

.dept-card h5 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #003264;
  margin-bottom: 10px;
}

.dept-card p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #4B5563;
}

/* Support Staff Section Styles */
.support-section {
  padding: 60px 0;
  background-color: #f9fafb;
}

.staff-card {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 25px 20px;
  text-align: center;
  height: 100%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease;
  position: relative;
  overflow: hidden;
}

.staff-card:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background-color: #003264;
}

.staff-card:hover {
  transform: translateY(-5px);
}

.staff-card h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #374151;
  margin-bottom: 15px;
}

.staff-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #4B5563;
  margin-bottom: 15px;
}

.staff-count {
  font-size: 0.9rem;
  font-weight: 600;
  color: #003264;
  background-color: #f0f4f8;
  display: inline-block;
  padding: 5px 15px;
  border-radius: 20px;
}

/* Join Our Team Section */
.join-section {
  padding: 50px 0;
  background-color: #003264;
  color: #ffffff;
}

.join-section h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.join-section p {
  font-size: 1.1rem;
  margin-bottom: 0;
  opacity: 0.9;
}

.join-btn {
  background-color: #F4C430;
  border: none;
  color: #003264;
  font-weight: 600;
  padding: 10px 25px;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.join-btn:hover {
  background-color: #ffffff;
  color: #003264;
  transform: translateY(-3px);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .team-header .page-title {
    font-size: 2.4rem;
  }
  
  .team-header .lead {
    font-size: 1.2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .team-header {
    padding: 40px 0 30px;
  }
  
  .team-header .page-title {
    font-size: 2rem;
  }
  
  .join-section {
    text-align: center;
  }
  
  .join-btn {
    margin-top: 20px;
  }
}