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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #181818;
  color: #fff;
  line-height: 1.6;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background-color: #222;
  position: sticky;
  top: 0;
  z-index: 1000;
  
}

.navbar .logo img {
  height: 50px; /* adjust for responsive logo */
}

.navbar .nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.navbar .nav-links li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

.navbar .menu-toggle {
  display: none;
  font-size: 28px;
  color: #fff;
  cursor: pointer;
}


/* Hero Section */
.hero {
  text-align: center;
  padding: 60px 20px;
}

.hero img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 4px solid #36C3A8;
}
.hero img:hover {
  transform: scale(1.3);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.55);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero h1 {
  font-size: 32px;
  margin-bottom: 10px;
}

.hero p {
  font-size: 18px;
  color: #ccc;
}

/* About Section */
.about, #projects, #skills {
  padding: 40px 20px;
  max-width: 1000px;
  margin: auto;
}

.about h2, #projects h2, #skills h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #36C3A8;
}

/* Projects */
.project-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.project-item {
  background-color: #333;
  padding: 20px;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.project-item:hover {
  transform: translateY(-5px);
   transform: scale(1.07  );
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.55);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-item a {
  color: #fff;
  text-decoration: none;
}

.project-item h3 {
  margin-bottom: 10px;
  color: #36C3A8;
}

/* Skills */
.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skills-list button {
  padding: 10px 15px;
  border: none;
  background-color: #36C3A8;
  color: #000;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.skills-list button:hover {
  background-color: #2aa58a;
}

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  background-color: #222;
  color: #999;
  margin-top: 40px;
}

footer a {
  color: #36C3A8;
  text-decoration: none;
}
.social-icons {
  margin-top: 15px;
}

.social-icons a {
  color: #36C3A8;
  font-size: 24px;
  margin: 0 10px;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #ffffff;
}


/* Responsive Navbar */
@media (max-width: 768px) {
  .navbar .nav-links {
    position: absolute;
    top: 60px;
    right: 0;
    background-color: #222;
    flex-direction: column;
    width: 200px;
    display: none;
    padding: 10px;
  }

  .navbar .nav-links.active {
    display: flex;
  }

  .navbar .menu-toggle {
    display: block;
  }
}
