/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Arial, sans-serif;
}

body {
  background: #f7f5fb;
  color: #333;
  line-height: 1.6;
}

/* NAVBAR */
header {
  background: #7a43d6;
}

.nav {
  max-width: 1200px;
  margin: auto;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.nav ul {
  list-style: none;
  display: flex;
  gap: 1.2rem;
}

.nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

.nav a:hover {
  text-decoration: underline;
}

/* HERO */
.hero {
  background: linear-gradient(135deg, #7a43d6, #9b63f2);
  color: #fff;
  padding: 5rem 1rem;
  text-align: center;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.btn {
  display: inline-block;
  background: #fff;
  color: #7a43d6;
  padding: 0.9rem 1.8rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
}

.btn:hover {
  background: #eee;
}

/* SECTIONS */
.section {
  max-width: 1200px;
  margin: auto;
  padding: 4rem 1rem;
}

.section h2 {
  text-align: center;
  margin-bottom: 2.5rem;
  color: #7a43d6;
  font-size: 2rem;
}

/* CARDS */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.card {
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.card h3 {
  margin-bottom: 0.8rem;
  color: #7a43d6;
}

/* FOOTER */
footer {
  background: #2b1b4f;
  color: #fff;
  text-align: center;
  padding: 2rem 1rem;
  margin-top: 3rem;
}

footer a {
  color: #d7c7ff;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

.socials {
  margin-top: 1rem;
}

/* MOBILE */
@media (max-width: 768px) {
  .nav ul {
    justify-content: center;
    margin-top: 1rem;
  }

  .hero h1 {
    font-size: 2.2rem;
  }
}



