:root {
  --primary: #e63946;
  --dark: #000000;
  --light: #ffffff;
}

body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  color: var(--dark);
  background-color: var(--light);
  line-height: 1.6;
}

header {
  background: var(--dark);
  color: var(--light);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

nav a {
  color: var(--light);
  text-decoration: none;
  font-weight: 500;
}

.hero {
  background: var(--primary);
  color: var(--light);
  padding: 4rem 2rem;
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.cta-button {
  background: var(--light);
  color: var(--primary);
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: 0.3s;
}

.cta-button:hover {
  background: #fff3f3;
}

.mission, .services, .contact {
  padding: 3rem 2rem;
  text-align: center;
}

.mission h2, .services h2, .contact h2 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
  padding: 1rem;
}

.card {
  background: var(--light);
  border: 2px solid var(--primary);
  padding: 1.5rem;
  border-radius: 8px;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  padding: 3rem 2rem;
  background: #f0f0f0;
}

.stat {
  text-align: center;
}

.stat .counter {
  font-size: 2.5rem;
  color: var(--primary);
  font-weight: bold;
}

.contact form {
  max-width: 500px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact input, .contact textarea {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
}

.contact button {
  background: var(--primary);
  color: var(--light);
  border: none;
  padding: 0.75rem;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

.contact button:hover {
  background: #d62839;
}

.form-status {
  margin-top: 1rem;
  font-weight: 500;
  color: var(--primary);
}

footer {
  background: var(--dark);
  color: var(--light);
  text-align: center;
  padding: 1rem;
}

footer a {
  color: var(--primary);
  text-decoration: none;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left:0; top:0; width:100%; height:100%;
  background: rgba(0,0,0,0.5);
}
.modal-content {
  background: var(--light);
  margin: 10% auto;
  padding: 2rem;
  border-radius: 8px;
  width: 90%;
  max-width: 400px;
  text-align: center;
  position: relative;
}
.modal .close {
  position: absolute;
  top:10px; right:15px;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Scroll-to-top */
#scrollTopBtn {
  position: fixed;
  bottom: 40px;
  right: 40px;
  background: var(--primary);
  border: none;
  color: var(--light);
  padding: 0.8rem 1rem;
  font-size: 1rem;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  z-index: 1500;
}

/* Mobile */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    align-items: center;
  }

  header {
    flex-direction: column;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .stats {
    flex-direction: column;
  }
}