/* Basic reset and box-sizing */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* BODY STYLES */
body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
}

/* HEADER / NAVIGATION */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f7f7f7;
  padding: 1rem 2rem;
}

/* Logo container */
.header .logo {
  display: flex;
  align-items: center;
  gap: 0.5rem; /* Small space between logo and text */
}

/* Style for the title */
.header .logo h1 {
  margin: 0;
  font-size: 1.5rem;
  color: #007bff;
  white-space: nowrap; /* Prevents text from wrapping */
}

.nav-links ul {
  list-style: none;
  display: flex;
  gap: 1rem;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.nav-links a:hover {
  color: #007bff;
}

/* HERO SECTION */
.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 2rem;
  background: #f1f1f1;
}

.hero-content {
  flex: 1 1 400px;
  margin: 1rem;
}

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

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.hero-content .btn {
  background: #007bff;
  color: #fff;
  text-decoration: none;
  padding: 0.75rem 1.25rem;
  border-radius: 5px;
  font-weight: 500;
}

.hero-image {
  flex: 1 1 400px;
  text-align: center;
  margin: 1rem;
}

.hero-image img {
  max-width: 100%;
  border-radius: 5px;
}

/* FEATURES SECTION */
.features {
  padding: 2rem;
  background: #fff;
  text-align: center;
}

.features h2 {
  margin-bottom: 2rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.feature-item {
  background: #f9f9f9;
  border-radius: 5px;
  padding: 1rem;
  transition: box-shadow 0.3s ease-in-out;
}

.feature-item:hover {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.feature-item img {
  max-width: 80px;
  margin-bottom: 1rem;
}

.feature-item h3 {
  margin-bottom: 0.5rem;
  font-weight: 600;
}

/* FAQ SECTION */
.faq {
  padding: 2rem;
  background: #f7f7f7;
}

.faq h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.faq-item {
  margin-bottom: 1.5rem;
}

.faq-item h3 {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* CONTACT SECTION */
.contact {
  padding: 2rem;
  background: #fff;
  text-align: center;
}

.contact h2 {
  margin-bottom: 1rem;
}

.contact p {
  margin-bottom: 2rem;
}

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

.contact-form label {
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.submit-btn {
  background: #007bff;
  color: #fff;
  cursor: pointer;
  border: none;
  padding: 0.75rem 1.25rem;
  border-radius: 5px;
  font-size: 1rem;
  transition: background 0.3s ease;
}

.submit-btn:hover {
  background: #0056b3;
}

/* FOOTER */
.footer {
  background: #f1f1f1;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
}

.footer a {
  color: #333;
  margin: 0 0.5rem;
}

.footer a:hover {
  color: #007bff;
}

/* MEDIA QUERIES (Optional) */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
  }
  .nav-links ul {
    gap: 0.5rem;
  }
}
