@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap"); /* Import Poppins font */

html {
  scroll-behavior: smooth; /* Add smooth scrolling */
  background-color: #ffffff; /* Explicitly set light background */
  color: #333333; /* Explicitly set dark text color */
}

body {
  font-family: "Poppins", sans-serif; /* Apply Poppins globally */
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  padding-top: 70px; /* Add padding to prevent content overlap */
  background-color: #ffffff; /* Ensure body also has light background */
  color: #333333; /* Ensure body text is dark */
}

#main-header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 0;
  background-color: #f4f4f4;
  border-bottom: 1px solid #ddd;
  position: fixed; /* Make header fixed */
  top: 0; /* Position at the top */
  left: 0; /* Align to the left */
  width: 100%; /* Take full width */
  z-index: 1000; /* Ensure header stays on top */
  transition: padding 0.3s ease, background-color 0.3s ease; /* Smooth transition */
}

#main-header .logo {
  font-size: 1.5rem;
  font-weight: bold;
}

#main-header .logo img {
  max-height: 50px;
  transition: max-height 0.3s ease; /* Smooth transition for logo */
}

/* Common styles for sections with image and text */
.content-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem 0; /* Changed to vertical padding only */
}

.content-section img {
  max-width: 50%;
  height: auto;
  flex-shrink: 0;
}

.content-section .hero-content {
  flex: 1;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.content-section h2 {
  text-align: left;
  margin-bottom: 0.5rem;
}

.content-section p {
  text-align: left;
  margin-bottom: 1rem;
}

#hero {
  background-color: #e9e9e9;
  /* Removed duplicated flex styles */
}

#hero img {
  order: 2; /* Image on the right */
}

#hero .hero-content {
  order: 1; /* Text on the left */
}

#hero h2 {
  font-weight: 700; /* Added font weight */
  font-size: 3rem; /* Increased font size */
  margin-bottom: 0.5rem; /* Reduced bottom margin */
}

#hero p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 1.5rem;
}

/* Media Query for Mobile Views */
@media (max-width: 768px) {
  /* Common mobile styles for content sections */
  .content-section {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem 1rem; /* Adjust padding for mobile */
  }

  .content-section img {
    max-width: 100%;
    order: 1; /* Image first by default on mobile */
    margin-bottom: 1.5rem;
  }

  .content-section .hero-content {
    order: 2; /* Text second by default on mobile */
    align-items: center; /* Center text block */
    text-align: center;
    margin-bottom: 0;
  }

  .content-section h2,
  .content-section p {
    text-align: center;
  }

  /* Specific mobile overrides if needed */
  #hero img {
    /* order: 2; */ /* Already handled by default */
    margin-bottom: 1rem; /* Keep specific margin */
  }

  #hero .hero-content {
    /* order: 1; */ /* Already handled by default */
    margin-bottom: 1.5rem; /* Keep specific margin */
  }

  #hero h2 {
    font-size: 2.2rem; /* Keep specific font size */
  }
}

/* Media Query for Large Screens */
@media (min-width: 992px) {
  /* Remove max-width and centering from section */
  /* section {
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
    } */

  /* Apply max-width and centering to the container */
  .container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem; /* Add padding inside the container */
    padding-right: 1rem; /* Add padding inside the container */
  }

  /* Adjust section padding if container handles horizontal spacing */
  section {
    padding-left: 0; /* Remove horizontal padding from section */
    padding-right: 0; /* Remove horizontal padding from section */
  }

  .content-section img {
    max-width: 40%; /* Make image smaller on large screens */
  }

  /* Ensure content sections still have internal padding if needed */
  .content-section .container {
    /* Specific padding for content section containers if different */
    /* padding: 2rem 1rem; /* Example */
    /* Need to re-apply flex display to the container within content-section */
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
  }

  /* Adjust padding for non-content sections if needed */
  #testimonials .container,
  #whos-for .container,
  #stacked-benefits .container,
  #buy-now .container,
  #main-footer .container {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
}

p {
  color: #666;
  text-align: center; /* Moved from h1, p */
}

section {
  padding: 2rem 0;
}

section:last-of-type {
  border-bottom: none;
}

section h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 2rem;
}

blockquote {
  border-left: 4px solid #ccc;
  padding-left: 1rem;
  margin: 1rem auto;
  font-style: italic;
  max-width: 500px;
}

#testimonials blockquote {
  text-align: center;
  border-left: none;
}

#from-pain-to-solution img,
#bonus img {
  display: block;
  margin: 1.5rem auto;
  max-width: 100%;
  height: auto;
}

#buy-now {
  text-align: center;
  /* background-color: #f9f9f9; Replaced by section-dark */
}
.buy-now-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  width: 300px;
  text-align: center;
}
.buy-now-card p {
  color: #666;
  font-size: 14px;
  margin: 0 0 15px;
}
.buy-now-card .price {
  color: #3b8abb; /* Updated blue light color */
  font-size: 50px; /* Increased font size for better visibility */
  font-weight: bold;
  margin-bottom: 20px;
}
.buy-now-card a {
  background-color: #3b8abb; /* Updated blue light color */
  color: white;
  text-decoration: none;
  padding: 12px 25px; /* Slightly increased padding */
  border-radius: 8px; /* Slightly more rounded corners */
  font-size: 22px; /* Adjusted font size */
  font-weight: bold; /* Make text bold */
  display: inline-block;
  /* width: 100%; /* Removed width: 100% to let it size naturally */
  box-sizing: border-box;
  border: none; /* Remove default border */
  cursor: pointer;
  text-align: center;
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease; /* Added transitions for hover effects */
  margin-bottom: 10px; /* Added margin back via CSS */
}
.buy-now-card a:hover {
  background-color: #2a6f97; /* Darker shade of the new blue for hover */
  transform: translateY(-3px); /* Lift button slightly on hover */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); /* Add shadow on hover */
}

#main-footer {
  background-color: #333;
  color: white;
  text-align: center;
  padding: 1.5rem 1rem;
  margin-top: 2rem;
}

/* Secure Payment Badge Styles */
.secure-payment-badge {
    max-width: 50px; /* Adjust size as needed */
    height: auto;
    margin-top: 15px; /* Add some space above the badge */
    display: block; /* Ensure it takes its own line */
    margin-left: auto; /* Center the badge */
    margin-right: auto; /* Center the badge */
}

#testimonials {
  background-color: #f9f9f9; /* Light background for the section */
}

.testimonial-cards {
  display: flex;
  justify-content: space-around; /* Distribute cards evenly */
  flex-wrap: wrap; /* Allow cards to wrap on smaller screens */
  gap: 1.5rem; /* Space between cards */
  margin-top: 2rem;
}

.testimonial-card {
  background-color: white;
  border-radius: 8px;
  padding: 2rem 1.5rem; /* Add more padding at the top */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  flex-basis: calc(33% - 2rem); /* Aim for 3 cards per row, adjusting for gap */
  min-width: 280px; /* Minimum width for smaller screens */
  display: flex;
  flex-direction: column;
  align-items: center; /* Center content */
  text-align: center;
}

.star-rating {
  color: #ffc107; /* Gold color for stars */
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-style: italic;
  color: #555;
  margin-bottom: 1.5rem;
  border-left: none; /* Remove default blockquote border */
  padding-left: 0;
  margin-left: 0;
  margin-right: 0;
  max-width: 100%; /* Ensure it fits card */
  font-size: 1.3rem; /* Increased font size */
}

.customer-info {
  display: flex;
  align-items: center;
  flex-direction: column; /* Stack logo and name vertically */
  margin-bottom: 1rem; /* Add space below customer info */
  margin-top: 0; /* Remove auto margin */
}

.company-logo {
  width: 100px; /* Ensure width is set */
  height: 100px; /* Ensure height is set */
  min-width: 100px; /* Prevent shrinking below target */
  border-radius: 50%; /* Make logo circular */
  margin-bottom: 0.5rem; /* Add space below logo */
  object-fit: cover; /* Ensure image covers the area well */
}

.company-name {
  font-weight: bold;
  font-size: 1.3rem; /* Increased font size */
  color: #333;
}

/* Adjust testimonial card layout for mobile */
@media (max-width: 992px) {
  /* Adjust breakpoint if needed */
  .testimonial-card {
    flex-basis: calc(50% - 2rem); /* 2 cards per row */
  }
}

@media (max-width: 768px) {
  .testimonial-card {
    flex-basis: 100%; /* 1 card per row */
  }
}

/* Styles for the header when scrolled */
#main-header.scrolled {
  padding: 5px 0; /* Reduced padding */
  /* background-color: #e0e0e0; Slightly darker background when scrolled */
}

#main-header.scrolled .logo img {
  max-height: 35px; /* Reduced logo size */
}

#current-pain-status img {
  order: 1; /* Image on the left */
}

#current-pain-status .hero-content {
  order: 2; /* Text on the right */
}

#current-pain-status h2 {
  margin-bottom: 0; /* Remove default bottom margin if needed */
}

/* Styles for light background sections */
.content-section-light {
  background-color: #f8f8f8; /* Lighter background color */
  /* Inherits .content-section layout */
}

.content-section-light img {
  order: 2; /* Image on the right */
}

.content-section-light .hero-content {
  order: 1; /* Text on the left */
}

.section-dark {
  background-color: #f4f4f4; /* Match hero section background */
  /* Removed duplicated flex styles */
}
/* Remove redundant .hero-content-light specific styles if covered by .content-section */

/* FAQ Accordion Styles */
.faq-accordion {
    margin-top: 2rem;
}

.faq-item {
    border-bottom: 1px solid #ddd; /* Separator between items */
    margin-bottom: 1rem;
}

.faq-question {
    background-color: transparent;
    border: none;
    color: #333; /* Updated text color */
    cursor: pointer;
    padding: 1rem 0;
    width: 100%;
    text-align: left;
    font-size: 1.2rem; /* Adjust font size */
    font-weight: bold;
    position: relative; /* For positioning the arrow */
    transition: background-color 0.3s ease;
}

.faq-question::after {
    content: '+'; /* Plus sign for collapsed state */
    font-size: 1.5rem;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
    color: #333; /* Match question color */
}

.faq-question.active::after {
    content: '−'; /* Minus sign for expanded state */
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    padding: 0 1rem;
    color: #666; /* Updated text color for answer */
}

.faq-answer p {
    margin-bottom: 1rem;
    text-align: left; /* Align answer text left */
    /* color: inherit; Removed, inherits from .faq-answer */
}

.faq-answer.active {
    max-height: 300px; /* Adjust as needed for content */
    padding: 1rem;
}
