/* General Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background-color: #121212;
  color: #e0e0e0;
  line-height: 1.6;
}

/* Header Styles */
header {
  background-color: #1e1e1e;
  color: white;
  padding: 20px 0;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 100;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

h1.logo {
  color: #64ffda;
  font-size: 2rem;
  font-weight: 600;
  display: inline-block;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

nav ul li {
  margin: 0 20px;
}

nav ul li a {
  text-decoration: none;
  color: #e0e0e0;
  font-weight: 400;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #64ffda;
}

.menu-toggle {
  display: none;
}

/* Hero Section */
.hero {
  background: url('images/bishal.jpg') no-repeat center center/cover;
  height: 100vh;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  position: relative;
}

.hero-content h2 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 700px;
  margin: 0 auto;
}

.hero .btn {
  background-color: #64ffda;
  padding: 12px 25px;
  color: #121212;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 5px;
  transition: all 0.3s ease;
  letter-spacing: 1px;
}

.hero .btn:hover {
  background-color: #121212;
  color: white;
  transform: scale(1.1);
}

/* About Section */
.about {
  padding: 80px 20px;
  text-align: center;
  background-color: #1e1e1e;
}

.about h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: #64ffda;
}

.about .about-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.about .about-content img {
  width: 35%;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.about .about-content div {
  max-width: 60%;
}

.about .about-content p {
  font-size: 1rem;
  line-height: 1.8;
}

/* Skills Section */
.skills {
  padding: 80px 20px;
  text-align: center;
  background-color: #121212;
}

.skills h2 {
  color: #64ffda;
  font-size: 2.5rem;
  margin-bottom: 40px;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.skill-card {
  background-color: #2b2b2b;
  padding: 30px;
  border-radius: 10px;
  color: #e0e0e0;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease;
  text-align: center;
}

.skill-card i {
  font-size: 50px;
  margin-bottom: 15px;
  transition: color 0.3s ease;
}

.skill-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
}

.skill-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.skill-card:hover i {
  color: #64ffda;
}

/* Projects Section */
.projects {
  padding: 80px 20px;
  background-color: #1e1e1e;
  text-align: center;
}

.projects h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #64ffda;
}

.project-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.project-card {
  background-color: #2b2b2b;
  width: 30%;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.project-card h3 {
  background-color: #64ffda;
  color: #121212;
  padding: 20px;
  font-size: 1.4rem;
  font-weight: 600;
}

.project-card p {
  padding: 20px;
  color: #e0e0e0;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Contact Section */
.contact {
  padding: 80px 20px;
  background-color: #121212;
  color: #e0e0e0;
  text-align: center;
}

.contact h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #64ffda;
}

.contact form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 500px;
  margin: 0 auto;
}

.contact input,
.contact textarea {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #555;
  font-size: 1rem;
  color: #e0e0e0;
  background-color: #2b2b2b;
  transition: border-color 0.3s ease;
}

.contact input:focus,
.contact textarea:focus {
  border-color: #64ffda;
}

.contact button {
  background-color: #64ffda;
  color: #121212;
  padding: 15px 25px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.contact button:hover {
  background-color: #121212;
  color: #64ffda;
}

/* Footer */
footer {
  background-color: #1e1e1e;
  color: white;
  padding: 20px;
  text-align: center;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  nav ul {
    display: none;
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .menu-toggle {
    display: block;
    color: white;
    cursor: pointer;
  }

  .hero {
    height: 80vh;
    padding: 0 10px;
  }

  .hero-content h2 {
    font-size: 2.5rem;
  }

  .skills-grid {
    grid-template-columns: 1fr 1fr;
  }

  .projects .project-list {
    flex-direction: column;
  }

  .project-card {
    width: 100%;
  }
}
