/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
  scroll-behavior: smooth;
}

body {
  background-color: #f2f6ff;
  color: #1e1e2f;
  line-height: 1.7;
}

header {
  background-color: #ffffff;
  padding: 1.5rem 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: #3f51b5;
}

.navbar a {
  margin-left: 25px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: all 0.3s ease;
}

.navbar a:hover {
  color: #3f51b5;
}

.home-section {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  min-height: 90vh;
  background: linear-gradient(120deg, #f9fbff, #e0ecff);
  text-align: center;
  padding: 2rem;
  gap: 2rem;
  flex-wrap: wrap;
}

.home-section h2 span {
  color: #3f51b5;
}

.profile-img {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.profile-img:hover {
  transform: scale(1.05);
}

.btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.7rem 1.4rem;
  background-color: #3f51b5;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: #2c3ca7;
}

.section {
  padding: 4rem 2rem;
  background-color: #fff;
  margin-bottom: 2rem;
  border-radius: 10px;
  width: 90%;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #3f51b5;
  text-align: center;
}

.section ul {
  list-style: none;
  padding-left: 1rem;
}

.section ul li {
  margin-bottom: 0.75rem;
}

.project-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.project {
  border: 1px solid #ddd;
  padding: 1rem;
  border-radius: 10px;
  background-color: #f9fbff;
  transition: transform 0.3s, box-shadow 0.3s;
}

.project:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.project h3 {
  color: #3f51b5;
  margin-bottom: 0.5rem;
}

.project a {
  display: inline-block;
  margin-top: 0.5rem;
  color: #3f51b5;
  font-weight: 500;
  text-decoration: none;
}

.project a:hover {
  text-decoration: underline;
}

.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
  justify-content: center;
}

.skills li {
  background-color: #3f51b5;
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 20px;
  font-size: 0.9rem;
}

.social {
  text-align: center;
  margin-top: 1rem;
}

.social a {
  margin: 0 0.5rem;
  font-size: 1.5rem;
  color: #3f51b5;
  transition: color 0.3s;
}

.social a:hover {
  color: #1e1e2f;
}

footer {
  text-align: center;
  padding: 1rem;
  background-color: #e8eaf6;
  font-size: 0.9rem;
  color: #333;
  margin-top: 2rem;
  border-top: 1px solid #ccc;
}

@media (max-width: 768px) {
  .home-section {
    flex-direction: column;
  }

  .profile-img {
    width: 180px;
    height: 180px;
  }
}
