/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;500;700&display=swap');

/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: #fdfdfd;
  color: #333;
  line-height: 1.6;
}

/* Header */
header {
  background: linear-gradient(135deg, #7f5af0, #2cb67d);
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav img {
  height: 25px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav ul li {
  color: #fff;
  font-weight: 500;
  cursor: pointer;
  position: relative;
  transition: 0.3s;
}

nav ul li::after {
  content: "";
  width: 0%;
  height: 3px;
  background: #fff;
  position: absolute;
  bottom: -5px;
  left: 0;
  transition: 0.3s;
}

nav ul li:hover::after {
  width: 100%;
}

/* Hero Section */
main img:first-of-type {
  width: 100%;
  height: 1000px;
  object-fit: cover;
  filter: brightness(70%);
}

main section {
  padding: 3rem 10%;
  text-align: center;
}

main h1 {
  font-size: 2.8rem;
  color: #7f5af0;
}

main h3 {
  font-size: 1.3rem;
  color: #2cb67d;
  margin: 0.5rem 0;
}

main p {
  max-width: 800px;
  margin: 1rem auto;
  color: #555;
}

/* Work Section */
section h2 {
  font-size: 2rem;
  color: #333;
  margin-bottom: 1rem;
  position: relative;
}

section h2::after {
  content: "";
  width: 60px;
  height: 4px;
  background: #7f5af0;
  display: block;
  margin: 0.5rem auto;
  border-radius: 5px;
}

section div {
  margin: 1.5rem 0;
  padding: 1.5rem;
  background: #f0f0ff;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: 0.3s;
}

section div:hover {
  transform: translateY(-5px);
  background: #e5e5fa;
}

section div img {
  width: 250px;
  margin-top: 1rem;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* Footer */
footer {
  background: #16161a;
  color: #fff;
  text-align: center;
  padding: 2rem 1rem;
}

footer img {
  height: 40px;
  margin-bottom: 1rem;
}

footer a {
  display: block;
  color: #7f5af0;
  text-decoration: none;
  margin: 0.5rem 0;
}

footer div {
  font-size: 0.9rem;
  margin-top: 1rem;
}

/* Responsive */
@media(max-width: 768px) {
  nav ul {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  main img:first-of-type {
    height: 250px;
  }

  section div img {
    width: 100%;
  }
}
