 * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(to right, #0f2027, #203a43, #2c5364);
  color: #fff;
  scroll-behavior: smooth;
}

header {
  background: rgba(0, 0, 0, 0.6);
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav .logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #00e0ff;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.2rem;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

nav ul li a:hover {
  color: #00e0ff;
}

.hero {
  height: 800px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('img/hero-ba.jpg') no-repeat center center/cover;
  text-align: center;
}

.hero .content h2 {
  font-size: 3rem;
}

.hero .content span {
  color: #000000;
}

.hero .content button {
  padding: 10px 20px;
  margin-top: 15px;
  border: none;
  background: #00e0ff;
  color: #000;
  font-weight: bold;
  border-radius: 25px;
  cursor: pointer;
  transition: 0.3s;
}

.hero .content button:hover {
  background: #fff;
  color: #000;
}

section {
  padding: 4rem 2rem;
}
.p{
    color: black;
    font-size: 26px;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

h2 {
  text-align: center;
  margin-bottom: 1rem;
  font-size: 2rem;
  color: #000000;
}
.project-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  justify-items: center;
  padding-top: 1rem;
}

.card {
  background: #1e2a38;
  padding: 1.2rem;
  border-radius: 15px;
  box-shadow: 0 0 15px #00e0ff88;
  width: 100%;
  max-width: 250px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 0 20px #00e0ffcc;
}

.card h3 {
  margin-bottom: 1rem;
  color: #00e0ff;
}

.card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s;
}

.card img:hover {
  transform: scale(1.05);
}

.a{
    
  color: #00e0ff;
  text-decoration: none; 
  font-weight: 500;
  transition: color 0.3s ease;
}

a:hover {
  color: #b7c400;
  text-decoration: underline; 
}



form {
  display: flex;
  flex-direction: column;
  max-width: 400px;
  margin: auto;
  gap: 1rem;
}

form input, form textarea {
  padding: 10px;
  border-radius: 8px;
  border: none;
  outline: none;
}

form button {
  padding: 10px;
  background: #00e0ff;
  color: #000;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

footer {
  text-align: center;
  padding: 1rem;
  background: #111;
} 

@media (max-width: 480px) {
  nav {
    flex-direction: column;
    align-items: flex-start;
  }

  nav ul {
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
  }

  .hero {
    height: auto;
    padding: 3rem 1rem;
    text-align: center;
  }

  .hero .content h2 {
    font-size: 2rem;
  }

  .p {
    font-size: 18px;
  }

  .hero .content button {
    padding: 8px 16px;
    font-size: 14px;
  }

  .card {
    max-width: 90%;
  }

  h2 {
    font-size: 1.5rem;
  }

  form {
    padding: 1rem;
    width: 90%;
  }

  form input, form textarea {
    font-size: 14px;
  }

  form button {
    font-size: 14px;
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  nav {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  .hero .content h2 {
    font-size: 2.5rem;
  }

  .p {
    font-size: 20px;
  }

  .card {
    max-width: 80%;
  }

  .hero {
    height: auto;
    padding: 4rem 1rem;
  }

  form {
    width: 80%;
  }
}


@media (min-width: 769px) {
  .project-cards {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }

  .card {
    max-width: 250px;
  }

  .hero {
    height: 800px;
  }
}

