* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

/* Navbar */
nav {
  display: flex;
  justify-content: space-between;
  padding: 20px 50px;
  background-color: #f5f0f0;
  position: sticky;
  top: 0;
  z-index: 10;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 20px;
}

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

/* Hero */
.hero {
  height: 100vh;
  background-image: url("https://images.unsplash.com/photo-1522202176988-66273c2fd55f");
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* Hero Overlay */
.hero::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0.3));
}

.content {
  position: relative;
  text-align: center;
  color: white;
}

.content h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.content p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

/* Hero Button Gradient */
.content button {
  padding: 12px 25px;
  border-radius: 25px;
  background: linear-gradient(45deg, #ff7a18, #af002d);
  border: none;
  color: #fff;
  font-weight: bold;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.3s;
}

.content button:hover {
  transform: scale(1.08);
  background: linear-gradient(45deg, #af002d, #ff7a18);
}

/* Projects */
.projects {
  padding: 50px;
  background-color: #f5f0f0;
  text-align: center;
}

.projects-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
}

.project-card {
  background-color: #fff;
  border-radius: 15px;
  padding: 20px;
  width: 300px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

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

.project-card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 10px;
}

.project-card h3 {
  margin-bottom: 10px;
}

/* About */
.about {
  padding: 50px;
  text-align: center;
}

/* Contact */
.contact {
  padding: 50px;
  text-align: center;
}

.contact form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}

.contact input, .contact textarea {
  padding: 12px;
  width: 300px;
  border-radius: 8px;
  border: 1px solid #ccc;
  transition: 0.3s;
}

.contact input:focus, .contact textarea:focus {
  border-color: #ff7a18;
  box-shadow: 0 0 5px #ff7a18;
  outline: none;
}

.contact button {
  padding: 12px 25px;
  border-radius: 25px;
  background: linear-gradient(45deg, #ff7a18, #af002d);
  color: #fff;
  cursor: pointer;
  transition: 0.3s;
}

.contact button:hover {
  transform: scale(1.05);
  background: linear-gradient(45deg, #af002d, #ff7a18);
}

/* Footer */
footer {
  padding: 20px;
  text-align: center;
  background-color: #222;
  color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
  .projects-grid {
    flex-direction: column;
    align-items: center;
  }

  nav {
    flex-direction: column;
    align-items: center;
  }

  .content h1 {
    font-size: 2.2rem;
  }

  .content p {
    font-size: 1rem;
  }

  .project-card {
    width: 90%;
  }

  .contact input, .contact textarea {
    width: 90%;
  }
}