/* Reset & global styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}
body {
  color: #333;
  background: #ffffff;
  line-height: 1.6;
}
.container {
  max-width: 1200px;
  margin: auto;
  padding: 1rem;
}

/* Header */
header {
  background: #ffffff;
  border-bottom: 1px solid #e0e0e0;
  position: sticky;
  top: 0;
  z-index: 10;
}
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  height: 50px;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}
.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
}
.nav-links a:hover {
  color: #7851a9;
}
.header-btn {
  background: #7851a9;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 3px;
  text-decoration: none;
}
.header-btn:hover {
  background: #5d3e82;
}

/* Hero Section */
.hero {
  background: #f4f4f4;
  padding: 4rem 1rem;
  text-align: center;
}
.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #7851a9;
}
.hero p {
  max-width: 700px;
  margin: 0 auto 2rem auto;
}
.hero .btn {
  background: #7851a9;
  color: #fff;
  padding: 0.7rem 1.2rem;
  text-decoration: none;
  border-radius: 3px;
}
.hero .btn:hover {
  background: #5d3e82;
}

/* Features Section */
.features {
  padding: 4rem 1rem;
  text-align: center;
}
.features h2 {
  margin-bottom: 2rem;
  color: #7851a9;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}
.feature-card {
  background: #f9f9f9;
  border-radius: 5px;
  padding: 1.5rem;
}
.feature-card h3 {
  margin-bottom: 1rem;
  color: #333;
}

/* About Section */
.about {
  background: #f4f4f4;
  padding: 4rem 1rem;
  text-align: center;
}
.about h2 {
  margin-bottom: 1rem;
  color: #7851a9;
}
.about p {
  max-width: 700px;
  margin: auto;
}

/* Contact Section */
.contact {
  padding: 4rem 1rem;
  text-align: center;
}
.contact h2 {
  margin-bottom: 1rem;
  color: #7851a9;
}
.contact form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 500px;
  margin: auto;
}
.contact input, .contact textarea {
  padding: 0.7rem;
  border: 1px solid #ccc;
  border-radius: 3px;
}
.contact button {
  background: #7851a9;
  color: #fff;
  border: none;
  padding: 0.7rem;
  cursor: pointer;
  border-radius: 3px;
}
.contact button:hover {
  background: #5d3e82;
}
.form-message {
  color: green;
  margin-top: 1rem;
}

/* Footer */
footer {
  background: #7851a9;
  color: #fff;
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
}
