/* About Page Specific Styling */

.about-section {
  margin-bottom: 50px;
}

.about-section h2 {
  color: #333;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #007bff;
}

/* Profile Section */
.profile-section {
  margin-bottom: 60px;
}

.profile-content {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}

.profile-image-container {
  flex: 0 0 auto;
}

.profile-image {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  object-fit: cover;
  /* Use object-position to adjust the crop focal point (tweak the second value as needed) */
  object-position: 50% 20%;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
/*  border: 4px solid #007bff;  */ /* Optional border */
}

.profile-text {
  flex: 1;
  min-width: 300px;
}

.profile-text h2 {
  margin-top: 0;
  border-bottom: none;
}

.profile-text p {
  font-size: 18px;
  line-height: 1.8;
  color: #555;
}

/* Content Cards */
.content-card {
  background: white;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.content-card h3 {
  color: #007bff;
  margin-top: 0;
  margin-bottom: 15px;
}

.content-card p {
  line-height: 1.8;
  color: #666;
  margin-bottom: 15px;
}

.content-card ul {
  list-style: none;
  padding-left: 0;
}

.content-card ul li {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  color: #555;
}

.content-card ul li:last-child {
  border-bottom: none;
}

.content-card ul li strong {
  color: #333;
}

/* Research Highlight */
.research-highlight {
  margin-top: 25px;
  padding: 20px;
  background: #f8f9fa;
  border-left: 4px solid #007bff;
  border-radius: 4px;
}

.research-highlight h4 {
  color: #007bff;
  margin-top: 0;
  margin-bottom: 10px;
}

.research-highlight p {
  margin: 0;
  color: #666;
  line-height: 1.6;
}

.research-highlight a {
  color: #007bff;
  text-decoration: none;
}

.research-highlight a:hover {
  text-decoration: underline;
}

/* Interests Grid */
.interests-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.interest-card {
  background: white;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.interest-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.interest-card h3 {
  color: #007bff;
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 20px;
}

.interest-card p {
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .profile-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .profile-image {
    width: 250px;
    height: 250px;
  }

  .profile-text {
    min-width: 100%;
  }

  .interests-grid {
    grid-template-columns: 1fr;
  }

  .content-card {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .profile-image {
    width: 200px;
    height: 200px;
  }

  .profile-text p {
    font-size: 16px;
  }

  .interest-card {
    padding: 20px;
  }
}
