/* Poppins Font & Font Awesome */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

.sp-profile-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.sp-profile-card {
  display: flex;
  background: #fff;
  border-left: 6px solid #800000;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  overflow: hidden;
  font-family: 'Poppins', sans-serif;
}

.sp-details {
  flex: 1;
  padding: 30px;
}

.sp-details h2 {
  margin: 0 0 8px;
  color: #800000;
  font-size: 1.75rem;
}

.sp-desig {
  font-weight: 500;
  margin-bottom: 6px;
  color: #333;
}

.sp-res {
  font-style: italic;
  color: #555;
  margin-bottom: 12px;
}

.sp-edu-list {
  list-style: disc;
  padding-left: 1.2em;
  margin: 12px 0;
  color: #444;
}

.sp-email {
  display: inline-block;
  margin: 12px 0;
  color: #800000;
  text-decoration: none;
}

.sp-email:hover {
  text-decoration: underline;
}

.sp-social a {
  margin-right: 16px;
  color: #800000;
  font-size: 1.2rem;
  text-decoration: none;
}

.sp-social a:hover {
  color: #555;
}

/* Updated image container padding: top/right/bottom = 20px, left = 0 */
.sp-image {
  flex-shrink: 0;
  padding: 20px 20px 20px 0;
}

.sp-image img {
  display: block;
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 4px;
}

/* Responsive */
@media (max-width: 768px) {
  .sp-profile-card {
    flex-direction: column-reverse;
    text-align: center;
  }
  .sp-image {
    padding: 20px 0 0 0;
  }
  .sp-image img {
    width: 100%;
    height: auto;
  }
  .sp-details {
    padding: 20px;
  }
}
