/* Reset default browser styling */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f4f4f4;
  color: #333;
  line-height: 1.6;
  padding: 20px;
}

/* Header Section */
header {
  background-color: #222;
  color: #fff;
  padding: 40px 20px;
  text-align: center;
  border-radius: 10px;
  margin-bottom: 30px;
}

header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

header p {
  font-size: 1.2rem;
}

/* Section Styling */
section {
  background-color: #fff;
  padding: 25px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

section h2 {
  color: #222;
  margin-bottom: 15px;
  border-bottom: 2px solid #eee;
  padding-bottom: 5px;
}

ul {
  list-style-type: square;
  padding-left: 20px;
}

a {
  color: #0077cc;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}
.icon {
  vertical-align: middle;
  margin-right: 8px;
  filter: grayscale(100%);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.contact-link {
  color: #0077cc;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.contact-link:hover {
  color: #0055aa;
  text-decoration: underline;
}

.icon:hover {
  transform: scale(1.2);
  filter: grayscale(0%);
}
/* Fade-in animation */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animate all sections */
section {
  animation: fadeInUp 0.8s ease-in-out;
  animation-fill-mode: both;
  opacity: 0;
}

/* Add delays for smooth scroll-in */
section:nth-of-type(1) {
  animation-delay: 0.2s;
}
section:nth-of-type(2) {
  animation-delay: 0.4s;
}
section:nth-of-type(3) {
  animation-delay: 0.6s;
}

.skills-list {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.skills-list li {
  background-color: #e8f0fe;
  color: #222;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: bold;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
}

.skills-list li:hover {
  transform: scale(1.05);
}

