 body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: #333;
  padding-top: 80px; /* space for fixed header */
  background: linear-gradient(to bottom, #f4f4fb, white);
  position: relative;
  overflow-x: hidden;
}

/* Wave overlay */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100vh;
  background:
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.15) 20%, transparent 70%),
    radial-gradient(circle at 80% 70%, rgba(192, 192, 192, 0.15) 15%, transparent 60%);
  background-size: 400px 400px;
  animation: waveMove 30s linear infinite;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: screen;
}

@keyframes waveMove {
  0% {
    background-position: 0 0, 0 0;
  }
  100% {
    background-position: 400px 0, -400px 0;
  }
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 3rem;
  background-color: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  font-size: 1.1rem;
}

/* Logo styling for Pareto div */
header > div:first-child {
  font-weight: 900;
  font-size: 1.8rem;
  color: #008080; /* teal */
  font-family: 'Segoe UI Black', 'Segoe UI', sans-serif;
  text-shadow: 1px 1px 3px rgba(0, 128, 128, 0.4);
  user-select: none;
}

header nav a {
  margin: 0 1.5rem;
  text-decoration: none;
  color: #333;
  font-weight: 600;
}

.cta {
  background: #008080; /* teal */
  color: white;
  padding: 0.8rem 1.6rem;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background-color 0.3s ease;
}

.cta:hover {
  background-color: #006666; /* darker teal */
}

.content-wrapper1 {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 3rem;
  padding: 0 3rem;
  margin-top: 3rem;
}

.hero {
  flex: 1;
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.2;
  padding: 1.5rem 0;
}

.hero span {
  color: #007acc; /* bright blue */
}

.hero-image {
  width: 700px;
  max-width: 70vw;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
  background: transparent;
  display: block;
}

.how-to {
  padding: 5rem 3rem;
  font-size: 1.25rem;
  line-height: 1.5;
}

.how-to-header {
  margin-bottom: 2.5rem;
}

.how-to-header h2 {
  color: #007acc; /* bright blue */
  font-size: 2.8rem;
  font-weight: 700;
}

/* Steps container with floating effect on each step */
.steps {
  display: flex;
  gap: 2.5rem;
  flex-direction: row;
  margin: 2rem 0; /* spacing above and below */
}

.step {
  background: white;
  padding: 1.8rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  flex: 1;
}

.step:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.step-number {
  background-color: #d6c7ff;
  color: #555;
  font-size: 1.4rem;
  font-weight: bold;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #f5f5fc;
  padding: 1.4rem 2rem;
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 -2px 6px rgba(0,0,0,0.1);
}

.cookie-banner button {
  margin-left: 1rem;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 12px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.accept {
  background: #008080;
  color: white;
}

.accept:hover {
  background-color: #006666;
}

.deny {
  background: #cccccc;
}

.deny:hover {
  background-color: #999999;
}

/* Responsive layout for medium screens */
@media (max-width: 1024px) {
  .content-wrapper1 {
    flex-direction: column;
    align-items: flex-start;
    padding: 0 2rem;
  }
  .hero-image {
    width: 100%;
    max-width: 100%;
    margin-top: 1.5rem;
  }
  .how-to {
    padding: 4rem 2rem;
    font-size: 1.15rem;
  }
  .how-to-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .how-to-image {
    width: 100%;
    max-width: 100%;
    margin-top: 1.5rem;
  }
}

/* Responsive layout for small screens */
@media (max-width: 768px) {
  .steps {
    flex-direction: column;
  }
  .step {
    width: 100%;
  }
  .hero {
    font-size: 2rem;
  }
  .how-to h2 {
    font-size: 2rem;
  }
}

/* For very small screens */
@media (max-width: 480px) {
  .cookie-banner {
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.9rem;
  }
  header {
    flex-wrap: wrap;
    padding: 1rem;
  }
  header nav {
    margin-top: 0.5rem;
    width: 100%;
    display: flex;
    justify-content: space-around;
  }
}

/* Apply button styling below steps */
.apply-button-wrapper {
  margin-top: 2rem;
  text-align: center;
}

.apply-btn {
  background: #008080; /* teal */
  color: white;
  padding: 0.9rem 2.2rem;
  border-radius: 25px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.2rem;
  transition: background-color 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 128, 128, 0.3);
}

.apply-btn:hover {
  background-color: #006666; /* darker teal */
  box-shadow: 0 6px 15px rgba(0, 102, 102, 0.5);
}

/* Testimonials Section */
.testimonials {
  padding: 5rem 3rem;
  background: #f9fafc;
  font-size: 1.15rem;
  line-height: 1.5;
}

.testimonials-header {
  margin-bottom: 3rem;
  text-align: center;
}

.testimonials-header h2 {
  color: #007acc; /* bright blue */
  font-size: 2.8rem;
  font-weight: 700;
}

/* Two-column grid for testimonials with spacing */
.testimonials-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  margin: 2rem 0;
  background: transparent; /* keep transparent */
}

/* Floating effect on each testimonial card */
.testimonial {
  background: white;
  padding: 2rem 1.8rem;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.testimonial p {
  font-style: italic;
  margin-bottom: 1.2rem;
  color: #555;
}

.testimonial strong {
  align-self: flex-end;
  color: #007acc;
  font-weight: 600;
}

/* Responsive adjustments for testimonials */
@media (max-width: 768px) {
  .testimonials-container {
    grid-template-columns: 1fr;
  }
}
/* Icon wrapper above h3 or testimonial */
.icon-wrapper {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Colors matching the site theme */
.icon-wrapper.teal {
  color: #008080;
}

.icon-wrapper.blue {
  color: #007acc;
}

/* For feature items (first testimonial container) adjust alignment */
.features .testimonial {
  text-align: center;
  flex-direction: column;
  align-items: center;
  padding: 2.5rem 1.8rem;
}

.features .testimonial h3 {
  margin-top: 0;
  margin-bottom: 1rem;
}

/* For "What Our Trainers Say" testimonials, icons above the text */
.testimonials-container > .testimonial {
  position: relative;
  flex-direction: column;
  text-align: left;
}

.testimonials-container > .testimonial .icon-wrapper {
  margin-bottom: 1rem;
}

.content-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
  padding: 3rem 5vw; /* horizontal padding relative to viewport */
  margin-top: 3rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* Wrap hero on left, FAQ on right */
.right-side {
  flex: 1;
  max-width: 700px;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Remove background and shadows */
.faq {
  background: transparent;
  padding: 1rem 2rem; /* keep some inner padding */
  border-radius: 0;
  box-shadow: none;
  max-width: 60%;
  margin: 0 auto; /* center horizontally */
  font-size: 1.1rem;
  color: #333;
}

/* Remove border top for first FAQ item (already present) */
.faq-item:first-child {
  border-top: none;
}

/* Add left/right margin to the right-side container */
.right-side {
  flex: 1;
  max-width: 700px;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin: 0 2rem; /* add horizontal spacing on both sides */
}


.faq h2 {
  color: #007acc;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

/* Each FAQ item */
.faq-item {
  border-top: 1px solid #ddd;
  padding: 1rem 0;
}

/* Remove border top for first */
.faq-item:first-child {
  border-top: none;
}

/* Question button styling */
.faq-question {
  width: 100%;
  background: none;
  border: none;
  font-weight: 600;
  font-size: 1.1rem;
  color: #333;
  text-align: left;
  cursor: pointer;
  padding: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Plus icon styling */
.toggle-icon {
  color: #008080;
  font-weight: bold;
  font-size: 1.5rem;
  transition: transform 0.3s ease;
  user-select: none;
}

/* Rotate plus to X when active */
.faq-question.active .toggle-icon {
  transform: rotate(45deg);
}

/* Hidden answer by default */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.4s ease;
  margin-top: 0.5rem;
  color: #555;
  font-weight: 400;
}

/* Show answer when active */
.faq-answer.active {
  max-height: 200px; /* enough for answer content */
  opacity: 1;
}
@media (max-width: 1024px) {
  .content-wrapper1 {
    flex-direction: column;
    padding: 0 2rem;
  }
  .right-side {
    max-width: 100%;
  }
  .hero-image {
    order: 2;
    width: 100%;
    max-width: 100%;
  }
  .faq {
    order: 3;
    margin-top: 2rem;
  }
}
.site-footer {
  background-color: #f0f4f7;
  padding: 3rem 2rem 1rem;
  color: #333;
  font-size: 1rem;
  border-top: 1px solid #ddd;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-branding strong {
  font-size: 1.5rem;
  color: #008080;
  display: block;
  margin-bottom: 0.5rem;
}

.footer-branding p {
  margin: 0;
  font-size: 1rem;
  color: #555;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  color: #007acc;
  text-decoration: none;
  font-weight: 500;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-social a {
  margin-right: 1rem;
  color: #555;
  font-size: 1.3rem;
  transition: color 0.3s ease;
}

.footer-social a:hover {
  color: #008080;
}

.footer-bottom {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid #ccc;
  margin-top: 2rem;
  font-size: 0.95rem;
  color: #777;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-social a {
    margin: 0 0.5rem;
  }
}
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}
.hamburger {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
    margin-left: 1rem;
  }

  #nav-menu {
    display: none;
    flex-direction: column;
    gap: 1rem;
    background-color: white;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    padding: 1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  }

  #nav-menu.active {
    display: flex;
  }
}

/* Dropdown container */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* Dropdown content */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  min-width: 160px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  z-index: 1000;
  top: 100%;
  left: 0;
  border-radius: 6px;
  overflow: hidden;
  padding: 0.5rem 0;
}

.dropdown-content a {
  color: #333;
  padding: 10px 16px;
  text-decoration: none;
  display: block;
  font-size: 0.95rem;
  font-weight: 500;
}

.dropdown-content a:hover {
  background-color: #f0f0f0;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Optional arrow */
.fas.fa-caret-down {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

/* Rotate arrow on hover */
.dropdown:hover .fa-caret-down {
  transform: rotate(180deg);
}