* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  line-height: 1.6;
  color: #1b1b1b;
}

h3 {
  font-size: 1.1rem;
  font-weight: bold;
  color: #8E51FF;
  margin: 20px 0; /* 20px top and bottom, 0 left and right */
}

.left-text {
  text-align: left;
}

.no-underline {
  text-decoration: none;
  color: #3C0366;
}

#contact-form {
  width: 50%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 auto; /* ✅ Centers horizontally */
}

#contact-form input,
#contact-form textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
}

#contact-form label {
  text-align: left;
  display: block;     /* Ensures full width alignment */
}

#contact-form button {
  width: 160px;
  align-self: center;
  padding: 10px 16px;
  background-color: #8E51FF;   /* Your purple */
  color: white;
  border: none;
  border-radius: 8px;          /* Rounded corners */
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  margin-bottom: 1px;
}

#contact-form button:hover {
  background-color: #301934;   /* Dark purple on hover */
  transform: translateY(-2px); /* Slight lift effect */
}

/* NAVBAR */

header {
  background: white;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.navbar {
  display: flex;
  justify-content: space-between;
  background: #FAF18F;
  align-items: center;
  padding: 12px 8%;
}

.logo {
  font-size: 1.1rem;
  font-weight: bold;
  color: #8E51FF;
}

.copyright {
  font-size: .9rem;
  font-weight: normal;
  color: #FFFFFF;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
}

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

.nav-cta {
  background: #0077ff;
  color: white;
  padding: 8px 16px;
  border-radius: 6px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #333;
}

/* HERO */

.hero {
  height: 100vh;
  background: linear-gradient(135deg, #f5f9ff, #e6f0ff);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  margin-top: 70px;
}

.hero-content h1 {
  font-size: 3rem;
  color: #0a2540;
  margin-bottom: 20px;
}

.hero-content p {
  max-width: 600px;
  margin: 0 auto 30px;
  color: #555;
}

.hero-buttons a {
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 8px;
  margin: 5px;
  font-weight: bold;
}

.btn-primary {
  background: #0077ff;
  color: white;
}

.btn-secondary {
  border: 2px solid #301934;
  color: #301934;
}

/* FEATURES */

.features {
  padding: 65px 8%;
  text-align: center;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.feature-card {
  padding: 30px;
  background: #f9fbff;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

/* TESTIMONIALS */

.testimonials {
  background: #301934;
  color: white;
  padding: 20px 8%;
  text-align: center;
}

.testimonial {
  display: none;
  max-width: 600px;
  margin: 40px auto;
}

.testimonial.active {
  display: block;
}

.slider-controls button {
  background: white;
  border: none;
  padding: 10px 18px;
  margin: 5px;
  cursor: pointer;
  border-radius: 6px;
  font-weight: bold;
}

/* FOOTER */

footer {
  text-align: center;
  padding: 30px;
  background: #f1f1f1;
}

/* MOBILE */

@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 70px;
    right: 0;
    background: white;
    width: 100%;
    flex-direction: column;
    display: none;
    padding: 20px 0;
    text-align: center;
  }

  .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: flex;
  }
}

/* ADDITIONAL */

.logo-container img {
  width: 90vw;        /* 90% of viewport width */
  max-width: 500px;
  height: auto;
}
