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

body {
  font-family: 'Arial', sans-serif;
  background-color: #121212;
  color: #f5f5f5;
  line-height: 1.6;
}

/* Navbar */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  background-color: #1f1f1f;
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav .logo {
  font-size: 1.8rem;
  font-weight: bold;
}

nav ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

nav ul li a {
  color: #f5f5f5;
  text-decoration: none;
  font-weight: 500;
}

nav ul li a:hover {
  color: #00bfff;
}

/* Hero Section */
.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  height: 90vh;
  text-align: center;
  padding: 0 2rem;
  background: linear-gradient(to right, #1f1f1f, #2c2c2c);
}

.hero-text h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero-text p {
  font-size: 1.2rem;
  color: #cccccc;
}

.hero-img img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 4px solid #00bfff;
  object-fit: cover;
}

/* Skills Section */
.skills {
  padding: 5rem 5%;
  text-align: center;
  background-color: #1f1f1f;
}

.skills h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.skills-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
  list-style: none;
}

.skills-list li {
  background-color: #2c2c2c;
  padding: 1.5rem;
  border-radius: 8px;
  font-weight: bold;
  transition: transform 0.3s;
}

.skills-list li:hover {
  transform: translateY(-5px);
}

/* Projects Section */
.projects {
  padding: 5rem 5%;
  text-align: center;
}

.projects h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.project-card {
  background-color: #2c2c2c;
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  transition: transform 0.3s, background 0.3s;
}

.project-card:hover {
  transform: translateY(-5px);
  background-color: #333333;
}

/* Contact Section */
.contact {
  padding: 5rem 5%;
  text-align: center;
  background-color: #1f1f1f;
}

.contact-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1rem;
}

.contact-links .btn {
  padding: 0.8rem 1.5rem;
  border-radius: 5px;
  font-weight: bold;
  color: #121212;
  background-color: #00bfff;
  text-decoration: none;
  transition: background 0.3s;
}

.contact-links .btn:hover {
  background-color: #009acd;
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem 5%;
  background-color: #121212;
  color: #777;
}
