/* ========================================
   Home Team Section Styles
   ======================================== */

.cs_home_team_section {
  background: #f8fafc;
  position: relative;
}

.cs_team_row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}

/* Column 1: Intro Content */
.cs_team_intro_column {
  padding-right: 20px;
}

.cs_team_label {
  color: #1e40af;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
  display: inline-block;
}

.cs_team_section_title {
  font-size: 38px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
  margin-bottom: 25px;
}

.cs_team_section_text {
  color: #64748b;
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 18px;
}

.cs_team_view_all {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #1e40af;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  margin-top: 15px;
  transition: all 0.3s ease;
}

.cs_team_view_all:hover {
  gap: 15px;
  color: #0f172a;
}

.cs_team_view_all i {
  font-size: 14px;
}

/* Team Member Cards */
.cs_team_member_column {
  position: relative;
}

.cs_home_team_card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.4s ease;
  border: 2px solid transparent;
}

.cs_home_team_card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 50px rgba(30, 64, 175, 0.15);
  border-color: #1e40af;
}

.cs_home_team_image_wrapper {
  position: relative;
  overflow: hidden;
  height: 320px;
  background: #f1f5f9;
}

.cs_home_team_image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.cs_home_team_card:hover .cs_home_team_image {
  transform: scale(1.08);
}

.cs_home_team_overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.8) 0%, transparent 100%);
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 25px;
  opacity: 0;
  transition: all 0.4s ease;
}

.cs_home_team_card:hover .cs_home_team_overlay {
  opacity: 1;
}

.cs_home_team_overlay_link {
  width: 50px;
  height: 50px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1e40af;
  font-size: 18px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.cs_home_team_overlay_link:hover {
  background: #1e40af;
  color: #fff;
  transform: scale(1.1);
}

.cs_home_team_content {
  padding: 30px 25px;
  text-align: center;
}

.cs_home_team_badge {
  display: inline-block;
  background: #eff6ff;
  color: #1e40af;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 15px;
}

.cs_home_team_name {
  font-size: 24px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
  line-height: 1.2;
}

.cs_home_team_position {
  font-size: 14px;
  color: #64748b;
  font-weight: 500;
  margin-bottom: 20px;
  line-height: 1.4;
}

.cs_home_team_btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #1e40af;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cs_home_team_btn:hover {
  color: #0f172a;
  gap: 12px;
}

.cs_home_team_btn i {
  font-size: 12px;
}

/* Responsive */
@media (max-width: 1199px) {
  .cs_team_row {
    gap: 30px;
  }
  
  .cs_team_section_title {
    font-size: 32px;
  }
  
  .cs_home_team_image_wrapper {
    height: 280px;
  }
}

@media (max-width: 991px) {
  .cs_team_row {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .cs_team_intro_column {
    padding-right: 0;
    text-align: center;
  }
  
  .cs_team_section_title {
    font-size: 36px;
  }
  
  .cs_home_team_image_wrapper {
    height: 320px;
  }
}

@media (max-width: 767px) {
  .cs_team_section_title {
    font-size: 28px;
  }
  
  .cs_team_section_text {
    font-size: 15px;
  }
  
  .cs_home_team_image_wrapper {
    height: 280px;
  }
  
  .cs_home_team_content {
    padding: 25px 20px;
  }
  
  .cs_home_team_name {
    font-size: 22px;
  }
}

@media (max-width: 576px) {
  .cs_home_team_image_wrapper {
    height: 250px;
  }
  
  .cs_team_section_title {
    font-size: 24px;
  }
}

