/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  line-height: 1.6;
  color: #222;
  background: #fafafa;
}

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

/* Header & Navigation */
header {
  background: #2c3e50;
  color: white;
  padding: 1rem 0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  justify-content: center;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s;
}

nav a:hover, nav a.active {
  opacity: 0.7;
  border-bottom: 2px solid #f39c12;
}

/* Main content */
main {
  padding: 2rem 0;
  min-height: 70vh;
}

/* Two-column layout used in home */
.row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.col-sidebar {
  flex: 1;
  min-width: 200px;
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  text-align: center;
}

.col-main {
  flex: 3;
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.profile-photo {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1rem;
  border: 3px solid #f39c12;
}

.social-links {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
}

.social-links a {
  text-decoration: none;
  color: #2c3e50;
  font-size: 1.5rem;
}

.social-links a i,
.social-links a i.si {
  font-size: 1.5rem;          /* adjust to your preference */
  width: 1.5rem;              /* forces consistent width */
  text-align: center;
  vertical-align: middle;
}

.social-links a:hover {
  color: #f39c12;
}

/* Typography */
h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #2c3e50;
  border-bottom: 2px solid #ecf0f1;
  padding-bottom: 0.3rem;
}

h2 {
  margin: 1.5rem 0 0.8rem 0;
  color: #2c3e50;
}

p, ul, ol {
  margin-bottom: 1rem;
}

ul, ol {
  padding-left: 1.8rem;
}

a {
  color: #2980b9;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

footer {
  background: #ecf0f1;
  text-align: center;
  padding: 1rem 0;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: #7f8c8d;
}

/* Responsive */
@media (max-width: 768px) {
  .row {
    flex-direction: column;
  }
  nav ul {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}