body {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: #333;
  background: #fff;
}

header {
  text-align: center;
  padding: 80px 20px;
  background: #f5f5f5;
}

header h1 {
  font-size: 2.5em;
  margin: 0 0 10px;
}

header p {
  font-size: 1.1em;
  margin: 0 0 20px;
}

.cta {
  display: inline-block;
  background: #222;
  color: #fff;
  padding: 12px 24px;
  margin: 10px;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
}

main {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
}

section {
  margin-bottom: 60px;
}

section h2 {
  font-size: 2.5em;
  margin-bottom: 20px;
}

section p,
section ul {
  margin-bottom: 20px;
}

footer {
  background: #f5f5f5;
  text-align: center;
  padding: 40px 20px;
  font-size: 0.9em;
  color: #777;
}

ul {
  padding-left: 20px;
}

nav {
  position: relative;
  background: #222;
  text-align: center;
  padding: 0;
  height: 60px;
  line-height: 60px;
}

nav a {
  color: #fff;
  text-decoration: none;
  margin: 0 15px;
  font-weight: 500;
  font-size: 1.1rem;
  display: inline-block;
  height: 60px;
  line-height: 60px;
}

/* Dropdown container */
.dropdown {
  display: inline-block;
  position: relative;
}

/* Style the drop button */
.dropbtn {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  margin: 0 15px;
}

/* Dropdown content */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #222;
  min-width: 240px; /* wider for long names */
  z-index: 1;
}

/* Dropdown links */
.dropdown-content a {
  color: #fff;
  padding: 10px 15px;
  display: block;
  text-align: left;
  text-decoration: none;
  white-space: nowrap; /* keeps text on one line */
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Optional hover effect */
.dropdown-content a:hover {
  background-color: #444;
}

.small-cta {
  display: inline-block;
  background: #444;
  color: #fff;
  padding: 8px 16px;
  margin: 5px;
  font-size: 0.9rem;
  text-decoration: none;
  border-radius: 4px;
}

.contact-links {
  text-align: left;
  margin-bottom: 20px;
}

.header-image img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  display: block;
}

@media (max-width: 600px) {
  header h1 {
    font-size: 2em;
  }

  header p {
    font-size: 1em;
  }
}
#testimonials {
  text-align: center;
  padding: 40px 20px;
  background: #f9f9f9; /* optional light background */
}

#testimonials h2 {
  font-size: 2em;
  margin-bottom: 20px;
}

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

.testimonial {
  display: none;
  font-style: italic;
  font-size: 1.1em;
  line-height: 1.5;
}

.testimonial.active {
  display: block;
  animation: fade 1s ease-in-out;
}

.testimonial span {
  display: block;
  margin-top: 10px;
  font-weight: bold;
  color: #555;
}

@keyframes fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Modal styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: #fff;
  padding: 20px;
  border: 1px solid #888;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  border-radius: 8px;
  position: relative;
  animation: slideDown 0.3s ease;
}

.close {
  position: absolute;
  top: 10px; right: 15px;
  color: #555;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover {
  color: #000;
  text-decoration: none;
}

#popup-form input,
#popup-form button,
.ebook-form input,
.ebook-form button {
  width: 100%;
  padding: 10px;
  margin: 8px 0;
  font-size: 1rem;
  box-sizing: border-box;
}

#popup-form button.cta,
.ebook-form button.cta {
  background: #333;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s ease;
}

#popup-form button.cta:hover,
.ebook-form button.cta:hover {
  background: #555;
}

/* Fade and slide animation */
@keyframes slideDown {
  from { transform: translateY(-20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
iframe[data-tally-src] {
  border: none;
}

/* Hide Tally branding badge */
iframe + div[data-tally-inline-popup] {
  display: none !important;
}
.form-wrapper iframe {
  min-height: 90vh;
  max-width: 600px;
  margin: 0 auto;
  display: block;
}
.form-wrapper {
  text-align: center;
  margin: 2rem auto;
}
.form-wrapper .cta {
  display: inline-block;
}
.ebook-form {
  max-width: 400px;
  margin: 2rem auto;
  text-align: left;
}
/* Basic nav style */
.navbar {
  background: #111;
  color: #fff;
  padding: 10px 20px;
  position: relative;
}

.navbar a {
  color: #fff;
  text-decoration: none;
  margin: 0 10px;
}

.hamburger {
  display: none;
  font-size: 26px;
  cursor: pointer;
  position: absolute;
  top: 15px;
  right: 20px;
  z-index: 1001;
}

#menu-toggle {
  display: none;
}

.menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  background: #111;
  z-index: 1;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content a {
  display: block;
  padding: 10px;
}

@media (max-width: 768px) {
  .menu {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #111;
  }

  .menu a {
    margin: 10px 0;
  }

  #menu-toggle:checked ~ .menu {
    display: flex;
  }

  .hamburger {
    display: block;
  }
}