* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #f0f2f5;
  color: #333;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

header {
  background: linear-gradient(to right, #4e54c8, #8f94fb);
  color: white;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 999;
}

header h1 {
  font-size: 1.8rem;
}

.menu-btn {
  font-size: 1.5rem;
  background: none;
  color: white;
  border: none;
  cursor: pointer;
}

.sidebar {
  position: fixed;
  top: 0;
  left: -250px;
  width: 250px;
  height: 100%;
  background: #343a40;
  color: white;
  padding: 2rem 1rem;
  transition: left 0.3s ease-in-out;
  z-index: 1000;
}

.sidebar.open {
  left: 0;
}

.sidebar h2 {
  margin-bottom: 2rem;
}

.sidebar a {
  display: block;
  color: white;
  text-decoration: none;
  margin: 1rem 0;
  font-size: 1.1rem;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 2rem auto 4rem auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  padding: 0 1rem;
}

.section {
  background: white;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.07);
  padding: 2rem 3rem;
  transition: box-shadow 0.3s ease;
}

.section:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.section h2 {
  color: #4e54c8;
  margin-bottom: 1rem;
  border-bottom: 3px solid #4e54c8;
  display: inline-block;
  padding-bottom: 0.3rem;
}

.skills-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem 2rem;
  list-style: none;
  padding-left: 0;
}

/* .skills-list li {
  background: #e7e9fc;
  color: #4e54c8;
  font-weight: 600;
  text-align: center;
  padding: 0.6rem 0;
  border-radius: 8px;
} */
.skills-list li {
  background: #e7e9fc;
  color: #4e54c8;
  font-weight: 600;
  text-align: center;
  padding: 0.6rem 0;
  border-radius: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: default;
}

.skills-list li:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(78, 84, 200, 0.3);
}

.card {
  background: #f9f9fb;
  border-left: 5px solid #4e54c8;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  transition: background-color 0.3s ease;
}

.card:hover {
  background-color: #eef0ff;
}

ul li {
  margin-bottom: 0.5rem;
}

a {
  color: #4e54c8;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

footer {
  background: #343a40;
  color: white;
  text-align: center;
  padding: 1rem;
}

footer button {
  margin-top: 0.5rem;
  background: transparent;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}
