/* --- Basic Reset and Setup --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f4f4f4;
}

/* --- Navigation Bar --- */
header {
  background: #333;
  color: #fff;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* --- Main Content Area --- */
main {
  max-width: 1100px;
  margin: 2rem auto;
  padding: 0 2rem;
}

section {
  background: #fff;
  padding: 3rem;
  margin-bottom: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

h2,
h3 {
  color: #333;
  margin-bottom: 1rem;
  border-bottom: 2px solid #4caf50;
  display: inline-block;
  padding-bottom: 0.5rem;
}

/* --- Hero Section (About) --- */
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.hero-content {
  flex: 1;
}

.profile-pic {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #4caf50;
}

.cta-button {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.8rem 1.5rem;
  background: #4caf50;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.cta-button:hover {
  background: #45a049;
}

/* --- Skills Section --- */
.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.skill-item {
  background: #e9e9e9;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  font-weight: bold;
}

/* --- Contact Section --- */

ul li {
  margin-bottom: 0.5rem;
}

a {
  color: #4caf50;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* --- Footer --- */
footer {
  text-align: center;
  padding: 1.5rem 0;
  background: #333;
  color: #fff;
  margin-top: 2rem;
}

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

  .profile-pic {
    margin-top: 1.5rem;
  }

  main {
    padding: 0 1rem;
  }

  section {
    padding: 2rem;
  }
}
