/* === Reset & Base === */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #eee;
  background: #0a0a0a;
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }

/* === Container === */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* === Header & Nav === */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  background: #000;
  padding: 1.5rem 2rem;
}
.logo-title h1 {
  color: #fff;
  font-size: 1.8rem;
}
.main-nav {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}
.main-nav a {
  color: #fff;
  padding: 0.25rem 0.5rem;
  font-weight: 500;
}
.main-nav a.active,
.main-nav a:hover {
  color: #ff5e5e;
}
.donate-btn {
  background: #ff5e5e;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.6rem 1.2rem;
  cursor: pointer;
  transition: background 0.2s;
}
.donate-btn:hover { background: #e55454; }

/* === Hero === */
.hero {
  background: url('../images/background.jpeg') no-repeat center center;
  background-size: cover;
  color: #fff;
  text-align: center;
  padding: 6rem 1rem;
  border-radius: 8px;
  position: relative;
  z-index: 1;
}
.hero::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6); /* Optional overlay for better contrast */
  z-index: -1;
  border-radius: 8px;
}
.hero h2 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}
.hero p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}
.cta-btn {
  background: #ff5e5e;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}
.cta-btn:hover { background: #e55454; }

/* === Info Grid (used on home/about) === */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.info-card {
  background: #111;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}
.info-card h4 {
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}
.info-card p {
  color: #ccc;
  font-size: 0.95rem;
}

/* === Features Grid === */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.feature-card {
  background: #1a1a1a;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}
.feature-card h4 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}
.feature-card p {
  color: #ccc;
  font-size: 0.95rem;
}

/* === Demo Section === */
.demo-section {
  background: #2c2c2c;
  text-align: center;
  padding: 2.5rem;
  border-radius: 8px;
  margin-top: 3rem;
}
.demo-section h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}
.demo-section p {
  color: #ccc;
  margin-bottom: 1rem;
}

/* === Team Section === */
.team-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.team-card {
  background: #1e1e1e;
  padding: 1.75rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
  text-align: center;
}
.team-card img {
  width: 100%;
  max-width: 160px;
  height: auto;
  border-radius: 50%;
  margin-bottom: 1rem;
}
.team-card h4 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}
.team-card p {
  color: #ccc;
  font-size: 0.9rem;
}

/* === Contact Form === */
.contact-form {
  max-width: 500px;
  margin: 1rem auto 0;
  display: flex;
  flex-direction: column;
}
.contact-form input,
.contact-form textarea {
  margin-bottom: 1rem;
  padding: 0.75rem;
  background: #111;
  border: 1px solid #444;
  border-radius: 6px;
  color: #eee;
}
.contact-form button {
  align-self: flex-end;
}

/* === Footer === */
footer {
  padding: 2rem 1rem;
  text-align: center;
  border-top: 1px solid #333;
  color: #777;
  margin-top: 3rem;
}

/* === Responsive Adjustments === */
@media (max-width: 768px) {
  header, .container { padding: 0 1rem; }
  .hero h2 { font-size: 2.2rem; }
  nav { justify-content: center; }
}
