/* CSS */
.fiberprime-banner {
  /* exact left→right gradient */
  background: linear-gradient(to right, #006837 0%, #28b553 100%);
  height: 80px;
  display: flex;
  align-items: center;
}

.fiberprime-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 0 20px;
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 768px) {
  .fiberprime-inner {
    justify-content: center !important;
  }
}

.fiberprime-logo {
  height: 48px;
  width: auto;
}

.fiberprime-hero {
  position: relative;
  width: 100%;
  height: 60vh; /* adjust if you need taller/shorter */
  background: url("../images/fiber-nutra-agri.jpg") center/cover no-repeat;
  overflow: hidden;
}

/* optional overlay for text legibility */
.fiberprime-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  pointer-events: none; /* allow clicks through overlay */
}

.fiberprime-hero__content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 600px;
  width: 90%;
  text-align: center;
  color: #fff;
  padding: 0 20px;
  z-index: 1; /* ensure content (and button) sits above overlay */
}

.fiberprime-hero__content h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin: 0 0 3rem;
  color: #fff;
}

.fiberprime-btn {
  display: inline-block;
  background: #f89f10;
  color: #fff;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: bold;
  transition: background 0.2s;
}

.fiberprime-btn:hover {
  background: #e6810c;
  color: #fff;
}

/* Mobile: stack everything, center it */
@media (max-width: 768px) {
  .fiberprime-hero {
    height: auto;
    padding: 4rem 0;
  }
  .fiberprime-hero__content {
    position: static;
    transform: none;
    max-width: 90%;
    margin: 0 auto;
    text-align: center;
  }
  .fiberprime-hero__content h1 {
    font-size: 2rem;
  }
}


/* ============================= */
/* Soluble Tapioca Fiber Section */
/* ============================= */
.fiber-info {
  background: #ffffff;
  padding: 60px 20px 40px;
}

.fiber-info__container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Title in brand-green */
.fiber-info__title {
  font-size: 2.5rem; /* ~40px */
  line-height: 1.2;
  font-weight: 700;
  color: #77b800; /* FiberPrime green */
  margin-bottom: 0.5em;
}

/* Subtitle in dark charcoal */
.fiber-info__subtitle {
  font-size: 1.75rem; /* ~28px */
  line-height: 1.3;
  font-weight: 600;
  color: #111111;
  margin-bottom: 1em;
}

/* Paragraph text */
.fiber-info__text {
  font-size: 1rem; /* 16px */
  line-height: 1.6;
  color: #333333;
  margin-bottom: 1em;
}

/* Responsive down to tablet/mobile */
@media (max-width: 768px) {
  .fiber-info {
    padding: 40px 15px;
  }
  .fiber-info__title {
    font-size: 2rem;
  }
  .fiber-info__subtitle {
    font-size: 1.5rem;
  }
  .fiber-info__text {
    font-size: 0.95rem;
  }
}

/* Container & Title */
.fiber-benefits {
  background: linear-gradient(to bottom, #ffffff 0%, #036d39 100%);
  padding: 80px 20px;
}
.fiber-benefits__container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.fiber-benefits__title {
  font-size: 2rem;
  color: #006837; /* FiberPrime green */
  margin: 0 auto 40px;
}

/* Rows */
.fiber-benefits__row {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
}
.fiber-benefits__row:first-of-type {
  justify-content: space-between;
}
.fiber-benefits__row--center {
  justify-content: center;
}

/* Card */
.fiber-card {
  background: #ffffff;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  flex: 1 1 0;
  max-width: 350px;
  text-align: center;
  display: flex;
  flex-direction: column;
}

/* Icon */
.fiber-card__icon {
  width: 65px;
  height: 65px;
  margin: 0 auto 16px;
}

/* Card Text */
.fiber-card__title {
  font-size: 1.125rem;
  color: #006837;
  margin: 0 0 8px;
}
.fiber-card__desc {
  font-size: 1rem;
  color: #333333;
  line-height: 1.5;
  margin: 0;
  flex-grow: 1;
}

/* Tablet: two cards per row, centered */
@media (max-width: 992px) {
  .fiber-benefits {
    padding: 50px 20px;
  }
  .fiber-benefits__row {
    /* allow wrapping */
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
  }
  .fiber-card {
    /* two cards per row */
    flex: 1 1 calc(50% - 24px);
    max-width: calc(50% - 24px);
  }
}

/* Mobile: one card per row, full width */
@media (max-width: 768px) {
  .fiber-benefits__row {
    flex-direction: column;
    align-items: stretch; /* force children to fill width */
    gap: 24px;
  }
  .fiber-card {
    /* each card takes 100% width */
    flex: none;
    width: 100%;
    max-width: none;
  }
}
