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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", sans-serif;
  background-color: #0e1a15;
  position: relative;
  background-image: url("../images/bg.png");
  background-repeat: repeat;
  overflow-x: hidden;
}
.bg-brand-dark-green {
  background-color: #1a2e27;
}
.container {
  overflow: visible;
}
/* Navigation Styles */

nav .logo {
  font-size: 24px;
  font-weight: bold;
  color: white;
}

/* nav .logo img {
    width: 32px;
    height: 32px;
    object-fit: contain;
} */

/* Hero Section Styles */
#home {
  position: relative;

  display: flex;
  align-items: center;
  padding-bottom: 250px;
  display: flex;
  justify-content: center;
}

#home::before {
  display: none;
}
.hero-h {
  height: 450px;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 80px;
}

.hero-image-container {
  position: absolute;
  bottom: -115px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 1200px;
  width: 90%;
  z-index: 5;
}

.hero-image-container img {
  width: 100%;
  border-radius: 20px;
  border: 8px solid #222f2b;
  /* box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3); */
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-content {
    padding-top: 100px;
    padding-bottom: 50px;
  }

  #home h1 {
    font-size: 2.5rem;
  }

  .hero-image-container {
    bottom: -150px;
  }

  .hero-image-container img {
    border: 4px solid #1a2e27;
  }
}

.custom-shape-divider-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;
  z-index: 1;
}

.custom-shape-divider-bottom-2 {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 150px;
  z-index: 2;
}

.custom-shape-divider-bottom-inner,
.custom-shape-divider-bottom-inner-2 {
  width: 100%;
  height: 100%;
  position: absolute;
}

.custom-shape-divider-bottom-inner {
  border-radius: 0 0 50% 50%;
  background-color: #1a2e27;
}

.custom-shape-divider-bottom-inner-2 {
  border-radius: 50% 50% 0 0;
  background-color: #fff;
}

#our-why {
  background-color: white;
  color: black;
  padding-top: 100px;
  position: relative;
  z-index: 4;
}

/* Our Why accordion styles */
.why-accordion .accordion-panel {
  overflow: hidden;
  max-height: 0; /* collapsed by default */
  opacity: 0;
  transform: translateY(-4px);
  transition: max-height 400ms ease, opacity 300ms ease, transform 300ms ease;
}

.why-accordion .accordion-item[aria-expanded="true"] .accordion-panel,
.why-accordion .accordion-item.is-open .accordion-panel {
  /* JS will set max-height inline for smoother height animation */
  opacity: 1;
  transform: translateY(0);
}

.why-accordion .accordion-chevron {
  transform: rotate(0deg);
}

.why-accordion .accordion-item.is-open .accordion-chevron {
  transform: rotate(180deg);
}

@media (max-width: 1023px) {
  #our-why .rounded-2xl {
    margin-top: 1.5rem;
  }
}

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

.btn {
  background-color: transparent;
  color: #ffffff;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  border: 1px solid white;
  display: inline-flex;
  align-items: center;
}

.btn:hover {
  background-color: white;
  color: black;
}

/* section {
    padding: 80px 0;
} */

h2 {
  font-size: 36px;

  margin-bottom: 60px;
}

#our-why .tags {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}

#our-why .tags span {
  border: 1px solid #ffffff;
  padding: 5px 15px;
  border-radius: 15px;
}

p {
  line-height: 1.6;
}

#our-platform .platform-features {
  display: flex;
  gap: 40px;
  margin-bottom: 40px;
}

.feature {
  background-color: #2a3f38;
  padding: 30px;
  border-radius: 10px;
  flex: 1;
}

.feature h3 {
  font-size: 24px;
  margin-bottom: 15px;
}

.feature img {
  width: 100%;
  margin-top: 20px;
  border-radius: 5px;
}

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

.team-member {
  background-color: #2a3f38;
  padding: 30px;
  border-radius: 10px;
}

.team-member img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 20px;
}

.team-member h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.team-member.founder {
  grid-column: span 2;
  display: flex;
  gap: 30px;
}

.team-member.founder img {
  width: 50%;
  object-fit: cover;
}

/* Interactive team-card: compact by default, expands to founder layout on hover (desktop)
   Animations use flex-basis and opacity so the transition is smooth and professional.
*/
.team-card {
  /* image transition is controlled by --img-trans so leave/enter can differ */
  --img-trans: 0ms; /* immediate by default (no flicker on unhover) */
  transition: box-shadow 800ms cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 800ms cubic-bezier(0.2, 0.8, 0.2, 1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: stretch;
  will-change: transform;
}
.team-card .card-content {
  padding: 2rem;
  width: 100%; /* full width when not hovered */
  flex: none;
  transition: flex-basis 800ms cubic-bezier(0.2, 0.8, 0.2, 1),
    width 800ms cubic-bezier(0.2, 0.8, 0.2, 1), padding 800ms ease;
}

/* small avatar inside content */
.team-card .card-content img {
  width: 96px;
  height: 96px;
  border-radius: 9999px;
  object-fit: cover;
  filter: grayscale(100%);
  transition: opacity 800ms cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 800ms cubic-bezier(0.2, 0.8, 0.2, 1);
  opacity: 1;
  transform: translateY(0);
  display: block;
}

/* media panel starts collapsed so it can animate open */
.team-card .card-media {
  flex: 0 0 0;
  width: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transition: flex-basis 800ms cubic-bezier(0.2, 0.8, 0.2, 1),
    width 800ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 800ms ease;
}
.team-card .card-media img {
  display: block;
  object-fit: cover;
  width: 100%;
  height: 100%;
  transform: translateX(6px) scale(0.995);
  opacity: 0;
  visibility: hidden; /* hide immediately when not hovered */
  transition: opacity var(--img-trans, 0ms) cubic-bezier(0.2, 0.8, 0.2, 1),
    transform var(--img-trans, 0ms) cubic-bezier(0.2, 0.8, 0.2, 1);
}

@media (min-width: 768px) {
  /* On desktop, hover expands into a two-column row with animated transitions */
  /* Use .is-open (toggled via click) instead of :hover on desktop */
  .team-card.is-open {
    #business-journey .journey-items {
      display: grid;
      grid-template-columns: repeat(
        7,
        minmax(0, 1fr)
      ); /* AUG 2025 .. FEB 2026 */
      grid-auto-rows: minmax(72px, auto);
      gap: 1.25rem 1rem;
      margin: 1rem 0 2rem 0;
      padding: 0 0.5rem;
    }
    flex-direction: row;
    box-shadow: 0 10px 30px rgba(17, 24, 21, 0.14);
    transform: translateY(-4px);
    --img-trans: 300ms; /* animate image when opened */
  }

  /* grid span: default 1, become 2 on hover */
  .team-card {
    grid-column: span 1;
  }
  .team-card.is-open {
    grid-column: span 2;
  }

  /* reveal the media panel smoothly */
  /* make media absolute so its reveal doesn't change card height (prevents flicker) */
  .team-card {
    position: relative;
  }

  .team-card .card-media {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 40%;
    transform: translateX(100%); /* hidden off-canvas */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform var(--img-trans, 0ms) cubic-bezier(0.2, 0.8, 0.2, 1),
      opacity var(--img-trans, 0ms) cubic-bezier(0.2, 0.8, 0.2, 1);
    display: block;
    display: grid;
    list-style: none;
    gap: 0.5rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
  }
}

.team-card.is-open .card-media {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Our Why: right image crossfade slideshow */
.fade-slideshow {
  position: relative;
  aspect-ratio: 1.5 / 2;
  background: #0b1713;
}

.fade-slideshow .fade-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 800ms ease-in-out, transform 800ms ease-in-out;
  will-change: opacity, transform;
}

.fade-slideshow .fade-slide.is-active {
  opacity: 1;
  transform: none;
}

/* subtle parallax scale on inactive slides to look premium */
.fade-slideshow .fade-slide:not(.is-active) {
  transform: scale(1.02);
}

@media (prefers-reduced-motion: reduce) {
  .fade-slideshow .fade-slide {
    transition: none;
  }
}

/* shrink content to make room for media */
.team-card .card-content {
  flex: none;
  width: 100%;
  grid-template-columns: repeat(3, 1fr);
  font-size: 0.8rem;
  /* visually reserve space for the absolutely positioned media without affecting document flow */
  flex: 1 1 60%;
  margin-right: 40%;
}

/* fade/slide the small avatar for a refined effect */
.team-card.is-open .card-content img {
  opacity: 0;
  transform: translateY(-6px) scale(0.98);
  display: none; /* remove avatar from layout while open */
  pointer-events: none;
}

.team-card .card-media img {
  border-radius: 0;
  filter: none;
  transform: translateX(0) scale(1);
  opacity: 1;
  visibility: visible;
}

/* On desktop: hide the action link inside card-content until hover.
     On small screens the link remains visible in the card content. */
.team-card .card-content > a {
  display: none;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 800ms ease, transform 800ms ease;
  pointer-events: none;
}

.team-card.is-open .card-content > a {
  display: inline-block; /* show when open */
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Respect user's reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .team-card,
  .team-card .card-content,
  .team-card .card-media,
  .team-card .card-content img,
  .team-card .card-media img {
    transition: none !important;
    transform: none !important;
  }
}

.linkedin {
  display: inline-block;
  width: 30px;
  height: 30px;
  background-color: #b4ff00;
  color: #000000;
  text-align: center;
  line-height: 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 15px;
}

/* Business Journey & Road Map */
#business-journey {
  position: relative;
}
#business-journey .journey-timeline {
  margin-top: 2rem;
  border-radius: 16px;
  padding: 2rem 1rem 1rem 1rem;
  position: relative;
}

/* Inner horizontal scroller – only this element scrolls */
#business-journey .journey-scroller {
  overflow-x: scroll; /* enable horizontal scrolling */
  overflow-y: visible; /* keep vertical overflow visible */
  -webkit-overflow-scrolling: touch; /* smooth scrolling on iOS */
  overscroll-behavior-x: contain; /* prevent scroll chaining to page */
  scrollbar-width: none; /* Firefox: hide scrollbar */
  -ms-overflow-style: none; /* IE 10+ and Edge Legacy: hide scrollbar */
}

/* Track that contains items and months; this element is wider than the viewport when needed */
#business-journey .journey-track {
  --colw: 180px; /* fixed month column width; adjust as needed */
  position: relative;
  min-width: calc(
    7 * var(--colw) + 2rem
  ); /* ensure track spans all months + inner spacing */
  padding: 0 1rem; /* maintain left/right spacing inside track */
  overflow: visible; /* allow items/shadows to be seen outside */
}
/* WebKit: hide scrollbar while allowing scroll */
#business-journey .journey-scroller::-webkit-scrollbar {
  display: none;
  height: 0;
  width: 0;
}
/* Vertical month grid lines aligned to 7 monthly columns on the track */
#business-journey .journey-track::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 1rem; /* align with track padding */
  right: 1rem;
  background-image: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.06) 1px,
    transparent 1px
  );
  background-size: var(--colw) 100%;
  background-position: left top;
  pointer-events: none;
}

#business-journey .journey-items {
  display: grid;
  grid-template-columns: repeat(
    7,
    var(--colw)
  ); /* fixed width columns, no wrap */
  grid-auto-rows: minmax(72px, auto);
  gap: 1.25rem 1rem;
  margin: 1rem 0 2rem 0;
  overflow: visible;
}

#business-journey .journey-item {
  background: #d6fea1;
  color: #0e1a15;
  border-radius: 16px;
  padding: 1rem 1.25rem;
  font-weight: 600;
  box-shadow: 0 10px 20px rgba(17, 24, 21, 0.2);
  overflow: visible;
}

/* Month labels */
#business-journey .journey-months {
  display: grid;
  grid-template-columns: repeat(7, var(--colw));
  list-style: none;
  gap: 0.5rem;
  margin: 0;
  padding: 0 0 0.25rem 0; /* align with lines */
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  overflow: visible;
}
#business-journey .journey-months li {
  text-align: center;
  padding-top: 2.75rem; /* push below items visually */
}
#business-journey .journey-months li.is-current > .current-pill {
  color: #0e1a15;
  background: #ffffff;
  border-radius: 9999px;
  display: inline-block;
  margin: 0 auto;
  margin-top: -8px;
  padding: 0.4rem 0.4rem; /* requested padding for pill wrapper */
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

/* Responsive adjustments: keep a flat, non-wrapping horizontal scroll layout */
@media (max-width: 1024px) {
  #business-journey .journey-track {
    --colw: 160px;
  }
}
@media (max-width: 768px) {
  #business-journey .journey-track {
    --colw: 140px;
  }
}

.careers {
  background-color: #1a2e27;
  border: 1px solid #2a3f38;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#testimonial {
  background-color: #ffffff;
  color: #000000;
  text-align: center;
}

#testimonial blockquote {
  font-size: 32px;
  font-style: italic;
  max-width: 800px;
  margin: 0 auto 20px;
  border: none;
  padding: 0;
}

#testimonial cite {
  font-weight: bold;
}

/* footer {
  background-color: #0e1a15;
  padding-top: 60px;
} */
.form-pos {
  @media (min-width: 1024px) {
    margin-top: -272px;
  }
}
.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #3a4c45;
}

.signup-form {
  background-color: #ffffff;
  color: #000000;
  padding: 40px;
  border-radius: 10px;
  width: 50%;
}

.signup-form h3 {
  font-size: 28px;
  margin-bottom: 20px;
}

.signup-form form {
  display: flex;
  gap: 10px;
}

.signup-form input {
  flex-grow: 1;
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.footer-info {
  padding-top: 20px;
}

.footer-info .logo {
  margin-bottom: 20px;
}

.footer-info p {
  margin-bottom: 15px;
  max-width: 300px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  font-size: 14px;
}

.footer-bottom nav ul li {
  margin-left: 15px;
}

.footer-bottom a {
  color: #a0a0a0;
}

/* Mobile: ensure hover behaviors don't change layout (touch devices) */
@media (max-width: 767px) {
  .team-card {
    grid-column: span 1 !important;
  }
  .team-card.is-open {
    transform: none !important;
  }
  .team-card.is-open .card-content {
    margin-right: 0 !important;
    width: 100% !important;
  }
  .team-card .card-media {
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    width: 100% !important;
  }
  .team-card .card-content > a {
    display: inline-block !important;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
  }
}

#sib-container {
  padding: unset !important;
  background: unset !important;
}

.sib-form {
  padding: unset !important;
}
.sib-form .entry__field {
  border: unset !important;
}
