:root {
  --purple: #311042;
  --green: #a1a24d;
  --gray: #f0f0f0;
  --text: #333;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--text);
  line-height: 1.6;
}

html {
  scroll-padding-top: 80px; /* Adjust this value to match your navbar height + some spacing */
}

/* ----- Shared Section Title Style ----- */
.section-title {
  font-size: 1.6rem; /* consistent size for all main headings */
  font-weight: 700;
  color: var(--purple);
  text-align: center;
  margin: 0 0 1.5rem; /* no top margin, space below */
  letter-spacing: 0.5px;
}

.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--green);
  margin: 0.6rem auto 0;
  border-radius: 2px;
}

/* ----- Navigation Bar ----- */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: white;
  border-bottom: 2px solid var(--green);
  z-index: 1000;
}

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.75rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: bold;
  font-size: 1.2rem;
  color: var(--purple);
}

.logo img {
  height: 60px; /* adjust as needed */
  display: block;
}

.logo span {
  font-weight: normal;
  color: #555;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  line-height: 1; /* tighten text box */
  padding-block: 0.2rem; /* small top/bottom padding */
  display: inline-block; /* lets padding apply cleanly */
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  transition: color 0.2s ease-in-out;
  border-bottom: 1px solid transparent; /* new - invisible border by default */
}

.nav-links li a:hover {
  color: var(--green);
  border-bottom: 1px solid var(--green); /* new - green underline on hover */
}

.menu-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--purple);
}

/* Push content down so it’s not hidden behind fixed nav */
header {
  margin-top: 60px;
}

/* Responsive navbar */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 60px;
    right: 0;
    background-color: white;
    flex-direction: column;
    width: 200px;
    display: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    padding: 1rem;
    text-align: right;
  }
}

/* ----- Header Section ----- */
header {
  position: relative;
  /*background: url("header-image.jpg") center/cover no-repeat;*/
  background: url("assets/img/hero/screen-touch-left.jpg") center/cover
    no-repeat;
  color: white;
  text-align: center;
  height: 350px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

header h1 {
  background-color: rgba(51, 19, 70, 0.7);
  padding: 1rem 2rem;
  border-radius: 8px;
  font-size: 1.8rem;
}

header h1::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  margin: 0.6rem auto 0;
  background: var(--green);
  border-radius: 2px;
}

header p {
  background-color: rgba(51, 19, 70, 0.7);
  padding: 0.5rem 1.5rem;
  border-radius: 8px;
  font-size: 1.1rem;
  margin-top: 0.5rem;
}

/* ----- Services Section ----- */
.services-section {
  /*background-color: var(--purple);*/
  /*background-color: rgba(49, 16, 66, 0.8); /* var(--purple) with 80% opacity */
  background-color: var(--gray);
  /*color: white;*/
  color: var(--text);
  padding: 2.5rem 1rem 3.5rem; /* top right/left bottom (inside the section); was 1.5, 1, 3*/
  text-align: center;
  margin-top: 2rem; /* 2rem ≈ 32px of white space above this section (outside the section) */
  border-top: 1px solid var(--purple);
  border-bottom: 1px solid var(--purple);
}

.services-section h2 {
  margin-bottom: 2rem; /* increased from 1.5rem */
}

.services-grid {
  display: grid;
  /*grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); */
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem; /* increased from 1rem */
  max-width: 900px;
  margin: 0 auto;
  grid-auto-rows: 1fr; /* new - makes all rows equal height */
}

.service-card {
  background: white;
  color: var(--text);
  border-radius: 6px;
  padding: 1.5rem; /* increased from 1rem */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--purple);
  text-decoration: none; /* new */
  display: block; /* new */
  cursor: pointer; /* new */
  transition: all 0.3s ease; /* new */
}

.service-card h3 {
  margin-top: 0;
  margin-bottom: 0.75rem; /* add space below h3 */
  color: var(--purple);
  transition: color 0.3s ease; /* new */
}

.service-card p {
  margin: 0; /* keeps paragraph tight */
}

/* styling for service cards to be links */
.service-card:hover {
  background: var(--green);
  color: white;
  border-color: var(--green);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(161, 162, 77, 0.3);
}

.service-card:hover h3 {
  color: white;
}

.service-card:hover p {
  color: white;
}

/* .service-card a { */
/* display: inline-block; */
/* text-decoration: none; */
/* font-weight: 600; */
/* color: var(--green); */
/* border: 2px solid var(--green); */
/* border-radius: 999px; */
/* padding: 0.4rem 0.9rem; */
/* transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease; */
/* } */
/* .service-card a:hover { */
/* background: var(--green); */
/* color: #fff; */
/* border-color: var(--green); */
/* } */

/* Make "Our Services" heading white on purple background */
/* .services-section .section-title { */
/*color: #fff;*/
/* } */

/* ----- Banner Slider ----- */

.slider-heading {
  font-size: 1.8rem;
  color: var(--purple);
  margin-bottom: 1.5rem;
  text-align: center;
}

.slider-heading::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--green);
  margin: 0.6rem auto 0;
  border-radius: 2px;
}

.banner-slider {
  background-color: var(--gray);
  text-align: center;
  padding: 2.5rem 1rem;
  position: relative;
  overflow: hidden;
  /*min-height: 120px;  don't need this with slider */
  margin-top: 2rem; /* 2rem ≈ 32px of white space above this section (outside the section) */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-top: 1px solid var(--green); /* new top border */
  border-bottom: 1px solid var(--green); /* new bottom border */
}

/* Slides track now scrolls horizontally */
.slides {
  display: flex;
  max-width: 900px;
  margin: 0 auto;
  transition: transform 0.6s ease; /* slide movement */
}

/* Each slide takes full width; add a subtle fade-in */
.slide {
  min-width: 100%;
  color: var(--text);
  font-style: italic;
  font-size: 1.1rem;
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.6s ease, transform 0.6s ease; /* fade + slight slide */
}

/* the “visible” slide will be faded in by JS via a class */
.slide.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Headline + subtext inside slides */
.slide h3 {
  font-size: 1.4rem;
  color: var(--purple);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.slide p {
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--text);
  max-width: 700px;
  margin: 0 auto;
}

/* Dots */
.dots {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
  gap: 0.5rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #ccc;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot.active {
  background-color: var(--green);
}

.banner-slider:hover .slide {
  animation-play-state: paused;
}

/* ----- Use Cases Section ----- */
.use-cases-section {
  background-color: #fff;
  text-align: center; /* centers the intro and container visually */
  padding: 3rem 1rem;
  /*border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;*/
}

/* ----- Use Cases Two-Column Layout ----- */
.use-cases-columns {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 3rem;
  flex-wrap: wrap;
  max-width: 700px; /* was 800px */
  margin: 1.5rem auto 0;
  text-align: left;
  margin-left: auto;
  margin-right: auto;
}

.use-cases-columns ul {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1 1 300px;
  display: inline-block; /* makes each column center as a unit */
  text-align: center; /* keep bullets aligned left inside each column */
}

/* left-aligned list */
/*.use-cases-columns li {
  position: relative;
  padding-left: 01.5rem;     
  margin-bottom: 0.75rem;
  line-height: 1.4;
  color: var(--text);
  font-size: 1.05rem;
  text-align: left;   
}*/

/* green bullet accent w/ left aligned */
/*.use-cases-columns li::before {
  content: "•";
  color: var(--green);
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0; 
}*/

/* centered list */

.use-cases-columns li {
  display: flex;
  justify-content: center; /* centers bullet + text together */
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.4;
}

/* bullet now becomes a flex item */
.use-cases-columns li::before {
  /*content: "•";*/ /* using bullet instead of checkmark */
  content: "✓"; /* use a checkmark instead of a bullet */
  color: var(--green);
  font-weight: bold;
  display: inline-block;
  transform: translateY(-1px); /* nudges bullet to text baseline */
  font-size: 1.1rem; /* slightly larger for emphasis */
}

.use-cases-columns li:hover::before {
  transform: translateY(-1px) scale(1.3);
  transition: transform 0.2s ease;
}

/*
.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
  margin-top: 1.5rem;
}

.use-case {
  background-color: var(--gray);
  border-left: 4px solid var(--green);
  border-radius: 6px;
  padding: 1rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.use-case h4 {
  font-size: 1rem;
  color: var(--purple);
  margin: 0;
}

.use-case:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
} */

.use-cases-intro {
  font-size: 1.05rem;
  color: var(--text);
  max-width: 700px;
  margin: 0.5rem auto 1.5rem;
  line-height: 1.5;
}

/* ----- History Section ----- */
.history-section {
  background-color: white;
  text-align: center;
  padding: 3rem 1rem;
}

.history-box {
  max-width: 700px;
  margin: 0 auto;
  /*background-color: #f8f8f8;*/
  /*background-color: var(--green);*/ /* changed from light gray */
  /*background-color: rgba(161, 162, 77, 0.8); /* 0.85 = 80% opacity */
  border-radius: 8px;
  padding: 2rem;
  color: var(--text);
  /*color: #fff; /* make text readable on green */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--purple);
}

.history-box a,
.link-strong {
  color: var(--green);
  /*color: #fff;*/
  font-weight: 700;
  text-decoration: none;
}

.history-box a:hover,
.link-strong:hover {
  text-decoration: underline;
  /*color: #f0f0f0; /* slightly lighter white on hover */
  color: var(--green);
}

/* /*.history-box .section-title::after { */
/* background-color: #fff; white underline for this section only */
/* }*/

/* ----- Contact Section ----- */
footer {
  background-color: var(--purple);
  color: white;
  padding: 2rem 1rem;
}

footer .section-title {
  color: #fff; /* override purple */
}
footer .section-title::after {
  background-color: var(--green);
}

footer h2 {
  text-align: center;
  margin-bottom: 1rem;
}

form {
  max-width: 600px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.25rem; /* row gap, column gap */
}

footer form input,
footer form textarea {
  background: transparent;
  border: none;
  /* border-bottom: 2px solid rgba(255, 255, 255, 0.35); */
  border-bottom: 1px solid rgba(255, 255, 255, 0.8);
  color: #fff;
  padding: 0.6rem 0; /* vertical only */
  border-radius: 0;
  box-shadow: none;
  margin-bottom: 0.8rem;
}

footer form textarea {
  /* height: 110px; */
  height: 50px;
  grid-column: 1 / -1; /* keep full width */
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 0.9rem; /* adjust the size as needed */
}

footer form input::placeholder,
footer form textarea::placeholder {
  color: rgba(255, 255, 255, 0.75);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 0.9rem; /* match whatever size you used above */
}

/* focus/active state */
footer form input:focus,
footer form textarea:focus {
  outline: none;
  border-bottom-color: var(--green);
}

/* fix browser autofill yellow */
footer form input:-webkit-autofill,
footer form textarea:-webkit-autofill {
  -webkit-box-shadow: 0 0 0px 1000px transparent inset;
  -webkit-text-fill-color: #fff;
}

footer form button {
  grid-column: 1 / -1;
  background-color: var(--green);
  color: #fff;
  border: none;
  padding: 0.6rem 0.9rem; /* slightly slimmer */
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
  transition: filter 0.15s ease, transform 0.05s ease;
}
footer form button:hover {
  filter: brightness(0.92);
}
footer form button:active {
  transform: translateY(1px);
}

footer a[href="privacy-policy.html"]:hover {
  text-decoration: underline !important;
}

/* ----- Responsive tweaks ----- */

@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .section-title {
    font-size: 1.4rem;
  }
  .services-section {
    padding: 2rem 1rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  header h1 {
    font-size: 1.4rem;
    padding: 0.5rem 1rem;
  }

  form {
    grid-template-columns: 1fr;
  }

  .use-cases-section {
    padding: 2rem 1rem;
  }

  .use-case h4 {
    font-size: 0.95rem;
  }

  footer form {
    grid-template-columns: 1fr;
    gap: 1rem; /* tighter spacing for phones */
  }
}

/* ----- Services Detail Page (alternating) ----- */
.service-detail {
  background-color: #fff;
  padding: 3rem 1rem;
}
.service-detail.alt {
  background-color: var(--gray);
}

.detail-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr; /* text | image by default */
  align-items: center;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.detail-text {
  grid-column: 1;
  font-size: 1.05rem;
  line-height: 1.6;
}
.detail-image {
  grid-column: 2;
}
.detail-image img {
  width: 100%;
  height: auto;
  max-width: 100%; /* ensures it never exceeds container */
  max-height: 400px; /* constrains vertical size */
  /*object-fit: contain; /* maintains aspect ratio */
  object-fit: cover; /* CHANGE from 'contain' to 'cover' */
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  display: block;
  margin: 0 auto;
}

/* checklist styling */
.detail-text ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.detail-text li strong {
  display: inline;
  white-space: nowrap;
}

.detail-text li {
  margin-bottom: 0.6rem;
  /*display: flex;*/
  /* display: block; /*Change from flex to block */
  /* align-items: flex-start; */
  padding-left: 1.5rem; /* creates space for checkmark */
  position: relative; /* for positioning checkmark */
}

.detail-text li::before {
  content: "✓";
  color: var(--green);
  font-weight: bold;
  /* margin-right: 0.5rem; */
  /* float: left; /*Float the checkmark instead */
  position: absolute; /* position checkmark absolutely */
  left: 0; /* place checkmark at left edge */
}

/* for use cases */
.service-use-cases {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(161, 162, 77, 0.3);
  max-width: 1000px; /* Match the detail-inner width */
  margin-left: auto;
  margin-right: auto;
  text-align: center; /* Center the content */
}

.service-use-cases h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--purple);
  margin-bottom: 0.75rem;
  font-weight: 600;
  opacity: 0.8;
}

.use-case-compact-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* Center the list items */
  gap: 0.4rem 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.95rem;
  color: #555;
}

.use-case-compact-list li {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.use-case-compact-list li::before {
  content: "•";
  color: var(--green);
  font-weight: bold;
  font-size: 1.2rem;
}

/* Alternate layout on every even section: image | text */
.service-detail:nth-of-type(even) .detail-inner {
  grid-template-columns: 1.1fr 0.9fr; /* KEEP THE SAME as odd sections */
  direction: rtl; /* Right-to-left flips the order */
}
.service-detail:nth-of-type(even) .detail-text,
.service-detail:nth-of-type(even) .detail-image {
  direction: ltr; /* Reset direction for content inside */
}

/* Specific border colors for individual sections */
#trial-programs {
  border-top: 1px solid var(--purple);
  border-bottom: 1px solid var(--purple);
}

#seeding-loyalty {
  border-top: 1px solid var(--green);
  border-bottom: 1px solid var(--green);
}

#sales-events {
  border-top: 1px solid var(--purple);
  border-bottom: 1px solid var(--purple);
}

/* Responsive stack */
@media (max-width: 900px) {
  .detail-inner {
    grid-template-columns: 1fr !important; /* single column */
    text-align: center;
  }
  /* reset direction on mobile */
  .service-detail:nth-of-type(even) .detail-inner {
    direction: ltr !important;
  }

  /* reset any column swaps on mobile */
  .detail-text,
  .detail-image,
  .service-detail:nth-of-type(even) .detail-text,
  .service-detail:nth-of-type(even) .detail-image {
    grid-column: auto;
    direction: ltr !important;
  }
  .detail-text ul {
    text-align: left;
    display: inline-block;
  }
}
/* Ensure grid children can shrink inside columns (prevents wrap/drop on desktop) */
.detail-text,
.detail-image {
  min-width: 0;
}

/* ----- About Page Styles ----- */

/* What's Important Section */
.about-values {
  background-color: #fff;
  padding: 3rem 1rem;
  text-align: center;
}

.values-container {
  max-width: 800px;
  margin: 0 auto;
}

.values-list {
  list-style: none;
  padding: 0;
  margin: 2rem auto 0;
  text-align: left;
  display: inline-block;
}

.values-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--text);
}

.values-list li::before {
  content: "✓";
  color: var(--green);
  font-weight: bold;
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* Bio Sections */
.bio-section {
  background-color: #fff;
  padding: 3rem 1rem;
  border-top: 2px solid var(--green);
}

/* .bio-section:not(.alt) { */
/* border-top: none; Removes border from first bio only */
/* } */

.bio-section.alt {
  background-color: #fff;
  border-top: 2px solid var(--purple);
}

.bio-container {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
  align-items: start;
}

.bio-image {
  width: 100%;
}

.bio-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: block;
}

.bio-text h3 {
  font-size: 1.8rem;
  color: var(--purple);
  margin: 0 0 0.25rem;
  font-weight: 700;
}

.bio-title {
  font-size: 1.1rem;
  color: var(--green);
  font-weight: 600;
  margin: 0 0 1.5rem;
}

.bio-text p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 1rem;
}

/* Alternate layout: image on right for second bio */
.bio-section:nth-of-type(3) .bio-container {
  grid-template-columns: 300px 1fr; /* keep same as first bio */
  direction: rtl;
}

.bio-section:nth-of-type(3) .bio-text,
.bio-section:nth-of-type(3) .bio-image {
  direction: ltr;
}

.section-divider {
  background-color: #fff;
  padding: 3rem 1rem 1rem;
  text-align: center;
  border-top: 2px solid var(--green); /* Line above the heading */
}

/* .section-divider { */
/* background-color: rgba(161, 162, 77, 0.15); Light green tint */
/* padding: 2.5rem 1rem; */
/* text-align: center; */
/* border-top: 3px solid var(--green); */
/* border-bottom: 2px solid var(--green); */
/* } */

/* Responsive */
@media (max-width: 900px) {
  .bio-container {
    grid-template-columns: 1fr !important;
    text-align: center;
    gap: 2rem;
  }

  .bio-section:nth-of-type(3) .bio-container {
    direction: ltr !important;
  }

  .bio-image {
    max-width: 300px;
    margin: 0 auto;
  }

  .bio-text {
    text-align: left;
  }

  .values-list {
    text-align: left;
  }
}
