/* General Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #3b82f6;
  --text: #333;
  --light-gray: #eee;
  --dark-gray: #666;
}

body { 
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text); 
  background: #fff; 
  line-height: 1.6;
}

.container { 
  max-width: 1000px; 
  margin: 0 auto; 
  padding: 0 20px; 
}

/* Navigation Header */
.top-nav { 
  border-bottom: 1px solid var(--light-gray); 
  padding: 20px 0; 
}

.nav-flex { 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
}

.site-title { 
  font-weight: 700; 
  font-size: 1.3rem; 
  letter-spacing: -0.5px;
}

.nav-links a { 
  margin-left: 25px; 
  text-decoration: none; 
  color: var(--dark-gray); 
  font-size: 0.95rem; 
}

.nav-links a:hover { 
  color: var(--primary); 
}

/* Hero Section (The Sidebar + Bio) */
.hero-section { 
  display: flex; 
  gap: 60px; 
  margin-top: 60px; 
  align-items: flex-start;
}

/* Sidebar Styling */
.sidebar { 
  flex: 1; 
  text-align: center; 
  max-width: 250px;
}

.profile-pic img {
  width: 100%; 
  border-radius: 50%; 
  object-fit: cover;
  aspect-ratio: 1 / 1;
  margin-bottom: 20px;
  border: 1px solid var(--light-gray);
}

.role { 
  color: #888; 
  font-size: 0.9rem; 
  margin-bottom: 15px;
}

.social-icons { 
  display: flex; 
  justify-content: center; 
  gap: 15px; 
  font-size: 1.5rem; 
}

.social-icons a { 
  color: var(--primary); 
  transition: transform 0.2s ease;
}

.social-icons a:hover {
  transform: translateY(-3px);
  color: #1d4ed8;
}

/* Main Bio Styling */
.main-content { 
  flex: 2; 
}

h1 { 
  font-size: 2.8rem; 
  margin-bottom: 20px; 
  font-weight: 800;
}

.main-content p {
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
  color: #444;
}

/* Interests & Education Grid */
.info-grid { 
  display: flex; 
  gap: 40px; 
  margin-top: 50px; 
}

.info-column { 
  flex: 1; 
}

.info-column h3 { 
  font-size: 1.4rem;
  border-bottom: 2px solid var(--light-gray); 
  padding-bottom: 10px; 
  margin-bottom: 15px;
}

.info-column ul { 
  list-style: none; 
}

.info-column li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.info-column li::before { 
  content: "•"; 
  color: var(--primary); 
  font-weight: bold;
  display: inline-block; 
  width: 1em;
  margin-left: 0;
}

/* Education Item Styling - Updated for multiple entries */
.edu-item { 
  display: flex; 
  gap: 15px; 
  align-items: flex-start; 
  margin-bottom: 20px; /* Space between BU and Southwest University */
}

.edu-item i { 
  margin-top: 5px; 
  color: var(--dark-gray); 
  font-size: 1.1rem;
}

.edu-item strong {
  display: block;
  font-size: 1.05rem;
}

.edu-item p {
  font-size: 0.95rem;
  color: var(--dark-gray);
  margin-bottom: 0; /* Override general p margin for education list */
}

/* Footer */
.footer { 
  border-top: 1px solid var(--light-gray); 
  margin-top: 80px; 
  padding: 30px 0;
  color: #999;
  font-size: 0.9rem;
}

/* Add this inside your styles.css near the other hover effects */
.fa-network-wired:hover { 
  color: #337ab7; /* This is the signature OSF blue */
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .hero-section { 
    flex-direction: column; 
    align-items: center; 
    text-align: center;
    gap: 30px;
  }
  
  .info-grid { 
    flex-direction: column; 
    gap: 30px;
  }
  
  .sidebar {
    max-width: 200px;
  }
  
  h1 { font-size: 2rem; }
}


/* Styling for the small email icon */
.email-icon {
  font-size: 0.85rem;      /* Makes the icon small */
  color: #666;             /* Gray color to match your role text */
  margin-right: 5px;       /* Adds space between the icon and the email */
}

.role a {
  text-decoration: none;   /* Removes the underline from the email link */
  color: #666;             /* Keeps the email text gray */
}

.role a:hover {
  color: #3b82f6;          /* Turns blue when you hover over it */
}
