body {
  margin: 0;
  font-family: "Segoe UI", sans-serif;
  background: #f8f9ff;
  color: #1c1c1c;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 0;
}

/* Header */
.header {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  margin: 0 auto;
  background: url("../images/Hero-bg.png");
}

/* Navigation */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 60px;
}

.nav-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #4f46e5;
}

.text-primary {
  color: #4f46e5;
  font-weight: bold;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  color: #4f46e5;
}

/* Buttons */
.btn-primary {
  background-color: #fd6e0a;
  color: #fff;
  border: none;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s ease;
}

.btn-primary:hover {
  background-color: #e65c00;
  transform: scale(1.05);
}

/* Hero */
.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 50vh;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  line-height: 1.4;
}

/* Preview Section */
.preview {
  background: #fff;
}

.preview-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

.preview-content img {
  width: 100%;
  max-width: 450px;
  border-radius: 10px;
}

.bold {
  font-weight: 600;
}

/* Stats */
.stats-box {
  display: flex;
  justify-content: space-around;
  background: #e0e7ff;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  gap: 20px;
  flex-wrap: wrap;
}

.stats-box strong {
  font-size: 28px;
  color: #4f46e5;
}

/* Testimonials */
.testimonials h2 {
  text-align: center;
  margin-bottom: 30px;
}

.cards {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.card {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  width: 280px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.cta1 {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cta1 img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

/* CTA */
.cta {
  background: #fff;
  text-align: center;
  padding: 40px 20px;
}

.cta img {
  width: 100%;
  max-width: 700px;
  border-radius: 12px;
  margin-top: 20px;
}

/* Contact */
.contact {
  padding-top: 100px;
  padding-bottom: 60px;
}

.contact .container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 50px;
  flex-wrap: wrap;
}

.contact-left {
  flex: 1;
  text-align: center;
  margin-top: 60px;
}

.contact-left h1 {
  font-size: 40px;
  margin: 0;
  font-weight: 900;
}

.contact form {
  flex: 2;
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 500px;
}

form input,
form textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
}

/* Footer */
.footer {
  background: #f1f5f9;
  padding: 40px 20px;
  text-align: center;
}

.footer p {
  margin: 20px 0;
  color: #555;
  font-size: 14px;
}

.footer nav a {
  margin: 0 10px;
  color: #4f46e5;
  text-decoration: none;
}

/* ===== RESPONSIVE ======= */
@media (max-width: 768px) {
  .nav {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
  }

  /* Hero */
  .hero h1 {
    font-size: 1.8rem;
    text-align: center;
  }

  .btn-primary {
    width: auto;
    text-align: center;
  }

  /* Contact Section */
  .contact .container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }

  .contact-left {
    width: 100%;
    margin-bottom: 20px;
  }

  .contact form {
    width: 100%;
    max-width: 500px;
  }

  /* Preview Section */
  .preview-content {
    flex-direction: column;
    align-items: center;
  }

  /* Testimonials */
  .cards {
    flex-direction: column;
    gap: 20px;
  }

  .cta img,
  .preview-content img {
    max-width: 90%;
  }
}

/***************/

/* Button hover */
.btn-primary:hover {
  background-color: #007bff; /* blue color */
  transform: scale(1.05);
}

.footer nav a:hover {
  color: #007bff; /* blue color */
  text-decoration: underline;
}

.cards .card:hover {
  box-shadow: 0 6px 15px rgba(0, 123, 255, 0.3);
  transform: scale(1.02);
  transition: all 0.3s ease;
}
