/* General Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background-color: #f5f5f5;
  color: #333;
  scroll-behavior: smooth;
}

/* Header */
header {
  background-color: #222;
  padding: 15px 0;
  color: white;
}

nav {
  width: 90%;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav h1 {
  font-size: 1.5rem;
  letter-spacing: 1px;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 20px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: #00bcd4;
}

/* Hero Section */
#hero {
  background: linear-gradient(to right, #0072ff, #00c6ff);
  color: white;
  text-align: center;
  padding: 100px 20px;
}

#hero h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

#hero span {
  color: #ffea00;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #ffea00;
  color: #333;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.btn:hover {
  background-color: #fff;
  color: #0072ff;
}

/* About Section */
#about {
  padding: 60px 20px;
  text-align: center;
}

.about-content {
  max-width: 800px;
  margin: 20px auto;
}

.about-content img {
  width: 180px;
  border-radius: 50%;
  margin-bottom: 15px;
}

/* Skills Section */
#skills {
  background-color: #e9f4f8;
  padding: 60px 20px;
  text-align: center;
}

.skills-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 20px;
}

.skill {
  background-color: #0072ff;
  color: white;
  margin: 10px;
  padding: 12px 25px;
  border-radius: 25px;
  font-weight: 500;
  transition: 0.3s;
}

.skill:hover {
  background-color: #005bb5;
}

/* Projects Section */
#projects {
  padding: 60px 20px;
  text-align: center;
}

.projects-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 25px;
}

.project-card {
  background-color: white;
  border-radius: 10px;
  padding: 25px;
  width: 280px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: 0.3s;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Contact Section */
#contact {
  background-color: #0072ff;
  color: white;
  text-align: center;
  padding: 60px 20px;
}

#contact .btn {
  background-color: #fff;
  color: #0072ff;
}

#contact .btn:hover {
  background-color: #ffea00;
  color: #333;
}

/* Footer */
footer {
  background-color: #222;
  color: #aaa;
  text-align: center;
  padding: 15px;
  font-size: 0.9rem;
}
