/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Poppins", sans-serif;
  background: #f5f7fa;
  color: #1a1a1a;
  line-height: 1.6;
}

/* CONTAINER */
.container {
  max-width: 1100px;
  margin: auto;
  padding: 2rem;
}

/* HERO */
.hero {
  background: linear-gradient(135deg, #7f00ff, #e100ff);
  color: white;
  text-align: center;
  padding: 6rem 2rem;
}
.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.hero span {
  color: #fff799;
}
.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}
.hero .btn {
  background: white;
  color: #7f00ff;
  padding: 0.75rem 1.5rem;
  font-weight: bold;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}
.hero .btn:hover {
  background: #fff799;
  color: #1a1a1a;
}

/* SECTIONS */
section {
  padding: 4rem 0;
}
section h2 {
  text-align: center;
  font-size: 2rem;
  color: #7f00ff;
  margin-bottom: 2rem;
}
.about p {
  text-align: center;
  max-width: 700px;
  margin: auto;
  font-size: 1.1rem;
}

/* PROJECTS */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 2rem;
}
.project-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(127, 0, 255, 0.15);
}
.project-card h3 {
  color: #e100ff;
  margin-bottom: 0.5rem;
}
.project-card p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
}
.project-card .btn {
  display: inline-block;
  background: linear-gradient(135deg, #7f00ff, #e100ff);
  color: white;
  padding: 0.5rem 1.2rem;
  border-radius: 30px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background 0.3s ease;
}
.project-card .btn:hover {
  background: #7f00ff;
}

/* CONTACT */
.contact form {
  max-width: 500px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact input,
.contact textarea {
  padding: 0.75rem;
  border-radius: 10px;
  border: 1px solid #ddd;
  font-size: 1rem;
}
.contact button {
  background: linear-gradient(135deg, #7f00ff, #e100ff);
  color: white;
  padding: 0.75rem;
  border: none;
  font-size: 1rem;
  border-radius: 30px;
  cursor: pointer;
  transition: background 0.3s ease;
}
.contact button:hover {
  background: #7f00ff;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 2rem;
  background: #f0f0f0;
  color: #666;
  font-size: 0.9rem;
  border-top: 1px solid #ddd;
}
.certificates {
  padding: 4rem 0;
}

.certificates h2 {
  text-align: center;
  color: #7f00ff;
  margin-bottom: 2rem;
  font-size: 2rem;
}

.certificates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.8rem;
  justify-items: center;
}

.certificates-grid img {
  width: 100%;
  max-width: 280px;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(127, 0, 255, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.certificates-grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 30px rgba(127, 0, 255, 0.4);
}
