/* 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 */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 42px;
  width: auto;
}

.logo span {
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
}

/* NAV LINKS */
.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(
      rgba(122, 67, 214, 0.85),
      rgba(122, 67, 214, 0.85)
    ),
    url("https://i.ibb.co/WpzqpF9t/food-drive-1.jpg") center/cover no-repeat;
  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;
}

/* GRID / 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);
  text-align: center;
}

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

/* 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;
  }
}  /* FORMS */
.form {
  max-width: 600px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form input,
.form select,
.form textarea {
  padding: 0.8rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: #7a43d6;
}

.form button {
  align-self: center;
  cursor: pointer;
}
/* FORMSPARK FORM */
.vertical-form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  max-width: 500px;
  margin: auto;
}

.vertical-form label {
  font-weight: 600;
}

.vertical-form input,
.vertical-form textarea,
.vertical-form select {
  padding: 0.8rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

.vertical-form input:focus,
.vertical-form textarea:focus,
.vertical-form select:focus {
  outline: none;
  border-color: #7a43d6;
}

.vertical-form button {
  margin-top: 1rem;
  align-self: center;
  cursor: pointer;
}


