* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  z-index: 1000;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.logo {
  max-width: 90px;
}

nav ul {
  display: flex;
  list-style-type: none;
}

nav ul li {
  margin-left: 30px;
}

nav ul li a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #ffd078;
}

nav ul li:last-child {
  display: none; /* Hide by default, will be shown by JavaScript */
}

.cta-button {
  background-color: #ffd078;
  color: #333;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
  background-color: #ff9500; /* Darker orange */
  color: #fff; /* White text for better contrast */
  transform: translateY(-3px) scale(1.05); /* Slight increase in size */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Specific styles for the nav CTA button */
#nav-cta {
  background-color: #ffd078;
  color: #333;
}

#nav-cta:hover {
  background-color: #ff9500;
  color: #fff;
}

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

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: #333;
  margin: 2px 0;
  transition: 0.3s;
}

main {
  padding-top: 80px;
}

.hero {
  background-color: #fff;
  padding: 100px 20px;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  font-size: 3em;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #333;
}

.hero p {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #666;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-features {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.feature {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 20px;
  width: 60px;
  height: 60px;
  background-color: #F6F1E5;
  border-radius: 50%;
}

.feature i {
  font-size: 1.5em;
  color: #333;
}

.inline-form {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

input[type="tel"] {
  padding: 15px;
  font-size: 1em;
  width: 100%;
  max-width: 300px;
  border: 1px solid #ddd;
  border-radius: 5px 0 0 5px; /* Rounded left corners */
  font-family: 'Poppins', sans-serif;
  margin-bottom: 0; /* Remove bottom margin */
}

button {
  padding: 15px 30px;
  font-size: 1em;
  background-color: #ffd078;
  color: #333;
  border: none;
  border-radius: 0 5px 5px 0; /* Rounded right corners */
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  width: auto; /* Allow button to size based on content */
  min-width: 120px; /* Set a minimum width */
  max-width: 300px;
}

button:hover {
  background-color: #ff9500;
  color: #fff;
}

.how-it-works, .benefits, .pricing, .signup {
  padding: 80px 20px;
  background-color: #fff;
}

.how-it-works:nth-child(even), .benefits:nth-child(even) {
  background-color: #f8f9fa;
}

h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2em;
  color: #000; /* Already black, no change needed */
}

.steps-grid, .benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.step-item, .benefit-item {
  text-align: center;
  padding: 30px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.step-item:hover, .benefit-item:hover {
  transform: translateY(-5px);
}

.step-number {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  border-radius: 50%;
  background-color: #3498db;
  color: #fff;
  font-weight: bold;
  margin-bottom: 15px;
}

.step-item h3, .benefit-item h3 {
  color: #000; /* Already black, no change needed */
  margin-bottom: 10px; /* Add this line for better spacing */
}

.step-item p, .benefit-item p {
  color: #000; /* Add this line to make the paragraph text black */
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

.pricing-item {
  text-align: center;
  padding: 40px 30px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.pricing-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.pricing-item h3 {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #000;
}

.pricing-item .price {
  font-size: 2.5em;
  font-weight: 700;
  margin-bottom: 20px;
  color: #000;
}

.pricing-item .price span {
  font-size: 0.4em;
  font-weight: 400;
}

.savings {
  font-weight: bold;
  color: #2ecc71;
  margin-bottom: 20px;
}

.pricing-item ul {
  list-style-type: none;
  margin-bottom: 30px;
  text-align: left;
  padding-left: 20px;
  flex-grow: 1;
}

.pricing-item ul li {
  margin-bottom: 15px;
  position: relative;
  color: #000;
}

.pricing-item ul li::before {
  content: "✓";
  color: #ffd078;
  font-weight: bold;
  position: absolute;
  left: -20px;
}

.pricing-item .cta-button {
  align-self: center;
  width: 100%;
  max-width: 200px;
}

footer {
/*   background-color: #2c3e50; */
  background-color: #000;
  color: #fff;
  padding: 50px 20px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-section {
  flex: 1;
  min-width: 200px;
  margin-bottom: 20px;
}

.footer-section h4 {
  font-size: 1.2em;
  margin-bottom: 15px;
  color: #fff;
}

footer ul {
  list-style-type: none;
}

footer ul li {
  margin-bottom: 10px;
}

footer ul li a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

footer ul li a:hover {
  color: #ffd078;
}

.footer-bottom {
  margin-top: 30px;
  text-align: center;
  width: 100%;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icons {
  display: flex;
  justify-content: center;
  margin-bottom: 15px;
}

.social-icons a {
  color: #fff;
  font-size: 1.5em;
  margin: 0 10px;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #ffd078;
}

@media (max-width: 768px) {
  .logo {
      max-width: 80px;
    }
  nav ul {
      display: none;
  }

  .hamburger {
      display: flex;
  }

  nav ul.active {
      display: flex;
      flex-direction: column;
      position: absolute;
      top: 70px;
      left: 0;
      right: 0;
      background-color: #fff;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
      padding: 20px;
  }

  nav ul.active li {
      margin: 15px 0;
  }

  .hero {
      padding: 60px 20px;
  }

  .hero h1 {
      font-size: 1.8em; /* Reduced font size for mobile */
      line-height: 1.3; /* Adjusted line height */
      max-width: 100%; /* Ensure full width on mobile */
  }

  .hero p {
      font-size: 1em; /* Further reduced font size for mobile */
  }

  .hero-features {
    flex-direction: row;
    justify-content: center;
  }

  .feature {
    margin: 0 10px;
  }

  .inline-form {
      flex-direction: column;
      align-items: center;
  }

  input[type="tel"], button {
      width: 100%;
      max-width: 300px;
      border-radius: 5px;
      margin-bottom: 10px;
  }

  button {
      margin-top: 0; /* Remove top margin as we've added bottom margin to input */
  }

  .steps-grid, .benefits-grid, .pricing-grid {
      grid-template-columns: 1fr;
  }

  .footer-content {
      flex-direction: column;
      align-items: center;
  }

  .footer-section {
      text-align: center;
      margin-bottom: 30px;
  }

  footer ul {
      margin: 20px 0;
      flex-direction: column;
  }

  footer ul li {
      margin: 10px 0;
  }

  .hamburger.active span:nth-child(1) {
      transform: rotate(45deg) translate(5px, 5px);
  }

  .hamburger.active span:nth-child(2) {
      opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
      transform: rotate(-45deg) translate(7px, -6px);
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

.signup {
  padding: 80px 20px;
  background-color: #fff;
  text-align: center; /* Add this line */
}

.signup h2 {
  margin-bottom: 20px;
  color: #000; /* Add this line to make the signup header black */
}

.signup p {
  max-width: 600px; /* Add this line */
  margin: 0 auto 30px; /* Add this line */
  font-size: 1.1em; /* Add this line */
  color: #000; /* Add this line to make the signup paragraph black */
}

.benefit-item {
  text-align: center;
  padding: 30px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.benefit-item img {
  width: 100%;
  max-width: 200px; /* Increased from 150px */
  height: 200px; /* Increased from 150px */
  object-fit: contain; /* Changed from cover to contain */
  border-radius: 10px;
  margin-bottom: 20px;
}

.signup-message {
  margin-top: 10px;
  font-weight: bold;
  height: 20px; /* Fixed height to prevent layout shift */
}

.testimonials {
  background-color: #f8f9fa;
  padding: 60px 20px;
  text-align: center;
}

.testimonial-slider {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.testimonial-slide {
  display: none;
  animation: fadeEffect 1.5s;
  background-color: #fff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin: 20px 0;
}

.testimonial-text {
  font-size: 1.1em;
  font-style: italic;
  margin-bottom: 15px;
  color: #333;
  line-height: 1.6;
}

.testimonial-author {
  font-weight: bold;
  color: #666;
}

.testimonial-dots {
  text-align: center;
  margin-top: 20px;
}

.dot {
  height: 10px;
  width: 10px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  margin: 0 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot.active {
  background-color: #ffd078;
}

@keyframes fadeEffect {
  from {opacity: 0.4}
  to {opacity: 1}
}

@media (max-width: 768px) {
  .testimonials {
    padding: 40px 15px;
  }

  .testimonial-slider {
    max-width: 100%;
  }

  .testimonial-slide {
    padding: 20px;
  }

  .testimonial-text {
    font-size: 1em;
  }
}

