/* ================= HERO ================= */
.farmx-hero-section {
  position: relative;
  min-height: 60vh;
  padding: 160px 0 80px;
  display: flex;
  align-items: center;

  background:
    linear-gradient(
      to right,
      rgba(5, 10, 7, 0.88),
      rgba(5, 10, 7, 0.3)
    ),
    url('/images/tracking.jpg')
      center / cover no-repeat;

  background-attachment: fixed;
}

.farmx-hero-content h1 {
  font-size: clamp(38px, 6vw, 64px);
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--text-white);
  margin-bottom: 14px;
}

.farmx-hero-content .hero-subtitle {
  font-size: clamp(20px, 3vw, 32px);
  font-weight: 300;
  color: var(--primary-blue);
  letter-spacing: 1px;
}

/* ================= INTRO ================= */
.farmx-intro-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #000000, #0e2041);
  border-top: 4px solid var(--primary-blue);
  border-bottom: 4px solid var(--primary-blue);
}

.farmx-intro-section .intro-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 600;
  color: var(--primary-blue);
  margin-bottom: 28px;
}

.farmx-intro-section .intro-description {
  font-size: 17px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  max-width: 900px;
  margin: 0 auto;
}










/* ================= FARMX FEATURES ================= */

.farmx-features-section {
  position: relative;
  background-image: url('/images/Screenshot_20240921_084943_Gallery.webp');
  background-position: center;
  background-size: cover;
  padding: 90px 0;
  overflow: hidden;
}

/* Overlay */
.farmx-features-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(5, 10, 20, 0.85),
    rgba(5, 10, 20, 0.65)
  );
  z-index: 1;
}

/* Make sure content stays above overlay */
.farmx-features-section .container-fluid,
.farmx-features-section .row,
.farmx-features-section .farmx-feature {
  position: relative;
  z-index: 2;
}


.farmx-feature {
  height: 100%;
  padding: 40px 22px;
  text-align: center;
  color: #ffffff;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;

  transition: transform 0.35s ease, background 0.35s ease;
}

.farmx-feature i {
  font-size: 34px;
  color: var(--primary-blue);
  margin-bottom: 18px;
}

.farmx-feature h5 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.6px;
  margin-bottom: 10px;
}

.farmx-feature p {
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  max-width: 220px;
}

/* subtle separation */
.farmx-feature:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

/* hover – very light */
.farmx-feature:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.03);
}

/* ================= RESPONSIVE ================= */

@media (max-width: 991px) {
  .farmx-feature:not(:last-child) {
    border-right: none;
  }

  .farmx-feature {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
}



















/* ================= COMPLIANCE SECTION ================= */

.farmx-compliance-section {
  background: linear-gradient(135deg, #050a14, #0c1b2e);
  padding: 120px 0;
  color: #ffffff;
}

/* ================= CARD BASE ================= */

.compliance-card {
  height: 100%;
  padding: 60px;
  position: relative;
  background: linear-gradient(
    160deg,
    rgba(255,255,255,0.08),
    rgba(255,255,255,0.02)
  );
  backdrop-filter: blur(10px);

}

/* ICONS */
.card-icon {
  width: 90px;
  height: 90px;
  border-radius: 18px;
  background: rgba(58,166,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
}

.card-icon.small {
  width: 60px;
  height: 60px;
}

.card-icon i {
  font-size: 32px;
  color: #3aa6ff;
}

/* ================= MAIN CARD ================= */

.compliance-main {
  position: relative;
  background-image: url('/images/shutterstock_2596566729-scaled.jpg');
  background-position: center;
  background-size: cover;
  overflow: hidden;
}

/* OVERLAY */
.compliance-main::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    145deg,
    rgba(5, 10, 20, 0.85),
    rgba(5, 10, 20, 0.55)
  );
  z-index: 1;
}

/* KEEP CONTENT ABOVE OVERLAY */
.compliance-main > * {
  position: relative;
  z-index: 2;
}


.compliance-main h3 {
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 20px;
}

.compliance-main p {
  font-size: 16px;
  line-height: 1.8;
  opacity: 0.9;
}

.compliance-points {
  list-style: none;
  padding: 0;
  margin: 35px 0;
}

.compliance-points li {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  font-size: 15px;
}

.compliance-points i {
  color: #4cd964;
}

/* FOOTER */
.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
  font-weight: 500;
  opacity: 0.85;
}

/* ================= SECONDARY ================= */

.compliance-secondary {
  position: relative;
  background-image: url('/images/istockphoto-1645947626-612x612.jpg');
  background-position: center;
  background-size: cover;
  overflow: hidden;
}

/* OVERLAY */
.compliance-secondary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    145deg,
    rgba(5, 10, 20, 0.85),
    rgba(5, 10, 20, 0.55)
  );
  z-index: 1;
}

/* KEEP CONTENT ABOVE OVERLAY */
.compliance-secondary > * {
  position: relative;
  z-index: 2;
}



.compliance-tertiary {
  position: relative;
  background-image: url('/images/Group_farmers_GettyImages-1127980299.jpeg');
  background-position: center;
  background-size: cover;
  overflow: hidden;
}

/* OVERLAY */
.compliance-tertiary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    145deg,
    rgba(5, 10, 20, 0.85),
    rgba(5, 10, 20, 0.55)
  );
  z-index: 1;
}

/* KEEP CONTENT ABOVE OVERLAY */
.compliance-tertiary > * {
  position: relative;
  z-index: 2;
}



.compliance-secondary h4,
.compliance-tertiary h4 {
  font-size: 22px;
  margin-bottom: 16px;
}

.compliance-secondary p,
.compliance-tertiary p {
  font-size: 15px;
  line-height: 1.7;
  opacity: 0.9;
}

/* TAGS */
.tag-row {
  display: flex;
  gap: 12px;
  margin-top: 25px;
  flex-wrap: wrap;
}

.tag-row span {
  padding: 6px 14px;
  font-size: 12px;
  border-radius: 30px;
  background: rgba(58,166,255,0.15);
  border: 1px solid rgba(58,166,255,0.35);
}

/* METRICS */
.metric-row {
  display: flex;
  gap: 30px;
  margin-top: 25px;
}

.metric-row div {
  text-align: left;
}

.metric-row strong {
  display: block;
  font-size: 14px;
  color: #3aa6ff;
}

.metric-row span {
  font-size: 12px;
  opacity: 0.75;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 991px) {
  .compliance-card {
    padding: 40px 30px;
  }

  .compliance-main h3 {
    font-size: 24px;
  }
}
