/* ==========================================================================
   1. HERO SECTION
   ========================================================================== */

.hero-section {
  min-height: 100vh;
  background: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25)),
    url("/wp-content/themes/rootusfood/assets/images/Hero.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  padding: 40px 16px;
  box-sizing: border-box;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom right,
    rgba(0, 90, 180, 0.45),
    rgba(255, 255, 255, 0.08)
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  width: 100%;
  box-sizing: border-box;
}

/* Badge Styled Element */
.hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50px;
  margin-bottom: 24px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.02em;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  max-width: 100%;
  white-space: normal;
  text-align: center;
  box-sizing: border-box;
}

.hero-badge img.badge-icon {
  width: 14px;
  height: 14px;
  object-fit: contain;
  flex-shrink: 0;
  display: inline-block;
}

.hero-content h1 {
  font-size: 64px;
  line-height: 110%;
  margin-bottom: 25px;
  font-weight: 700;
}

.hero-content p {
  font-size: 20px;
  line-height: 120%;
  max-width: 760px;
  margin: auto;
  margin-bottom: 40px;
  color: #f0f0f0;
}

/* Row Action Buttons Setup */
.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: nowrap;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 220px;
  max-width: 48%;
  padding: 16px 20px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: 0.3s;
  box-sizing: border-box;
}

.btn-primary {
  background: #005c3e;
  color: white;
}

.btn-secondary {
  background: white;
  color: #005c3e;
}

/* --- HERO RESPONSIVE BREAKPOINTS --- */

@media (max-width: 992px) {
  .hero-content h1 {
    font-size: 56px;
  }
  .hero-content p {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 28px; /* Perfectly downscaled header size */
    line-height: 110%;
    margin-bottom: 16px;
  }

  .hero-content p {
    font-size: 14px; /* Perfectly downscaled paragraph description size */
    line-height: 140%;
    margin-bottom: 32px;
  }

  .hero-buttons {
    gap: 12px;
    width: 100%;
  }

  .btn-primary,
  .btn-secondary {
    font-size: 14px;
    padding: 14px 10px;
  }
}

/* ==========================================================================
   2. STATS SECTION
   ========================================================================== */

.stats-section {
  background: #053928;
  color: white;
  padding-bottom: 80px;
  overflow: hidden;
}

/* --- TOP STRIP SCROLL --- */

.top-strip {
  background: #c7f1e3;
  color: #014d36;
  overflow: hidden;
  padding: 18px 0;
  position: relative;
}

.top-strip-track {
  display: flex;
  align-items: center;
  gap: 25px;
  width: max-content;
  animation: scrollLeft 28s linear infinite;
}

.top-strip-track span {
  font-size: 16px;
  font-weight: 400;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 140%;
  letter-spacing: -2%;
}

@keyframes scrollLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* --- STATS CONTENT --- */

.stats-container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  padding-top: 90px;
}

.stats-left {
  display: flex;
  align-items: center;
}

.stats-left p {
  font-size: 16px;
  color: #d8f7eb;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
}

.stat-box h2 {
  font-size: 72px;
  font-weight: 400;
  line-height: 110%;
}

.stat-box p {
  font-size: 24px;
  line-height: 140%;
  font-weight: 300;
  color: white;
}

/* --- STATS RESPONSIVE BREAKPOINTS --- */

@media (max-width: 768px) {
  .stats-container {
    grid-template-columns: 1fr;
    gap: 64px;
    padding-top: 80px 24px;
  }

  .stats-grid {
    grid-template-columns: repeat(
      2,
      1fr
    ); /* Maintains clean 2x2 grid design layout row */
    justify-content: space-between;
  }

  .stat-box h2 {
    font-size: 56px;
    line-height: 100%;
    margin-bottom: 8px;
    font-weight: 300;
  }

  .stat-box p {
    font-size: 14px;
    line-height: 140%;
    color: white;
  }
}
/* =========================
   PROBLEM SECTION
========================= */

.problem-section {
  padding: 90px 0 50px;

  background: #ffffff;

  font-family: "Satoshi", sans-serif;
}

/* ====================================
   BADGE
==================================== */

.problem-badge {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  padding: 12px 24px;

  border: 1.5px solid rgba(0, 92, 62, 0.65);

  border-radius: 999px;

  background: #e8efe8;

  color: #005c3e;

  font-size: 14px;

  font-weight: 500;

  line-height: 110%;

  margin-bottom: 42px;
}

/* ====================================
   TITLE
==================================== */

.problem-title {
  font-size: 52px;

  line-height: 120%;

  color: #005c3e;

  margin-bottom: 60px;

  font-weight: 500;

  letter-spacing: -1.5px;

  max-width: 950px;
}

/* ====================================
   GRID
==================================== */

.problem-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 28px;

  align-items: stretch;
}

/* ====================================
   CARD
==================================== */

.problem-card {
  background: #f8f5e5;

  border-radius: 18px;

  overflow: hidden;

  transition: 0.35s ease;

  display: flex;

  flex-direction: column;

  height: 100%;
}

.problem-card:hover {
  transform: translateY(-6px);
}

/* ====================================
   CONTENT
==================================== */

.problem-content {
  padding: 24px;

  flex: 1;

  display: flex;

  flex-direction: column;
}

/* ====================================
   HEADING
==================================== */

.problem-content h3 {
  font-size: 28px;

  line-height: 120%;

  color: #005c3e;

  margin-bottom: 22px;

  font-weight: 500;

  letter-spacing: -1px;
}

/* ====================================
   TEXT
==================================== */

.problem-content p {
  font-size: 16px;

  line-height: 150%;

  color: #434343;

  margin: 0;
}

/* ====================================
   IMAGE
==================================== */

.problem-card img {
  width: 100%;

  height: 240px;

  object-fit: cover;

  object-position: center;

  display: block;

  margin: 0;
}

/* REMOVE EXTRA GAP ISSUE */

.problem-card picture,
.problem-card figure {
  display: block;

  margin: 0;

  padding: 0;

  line-height: 0;
}

/* ====================================
   RESPONSIVE
==================================== */

@media (max-width: 992px) {
  .problem-grid {
    grid-template-columns: 1fr;
  }

  .problem-title {
    font-size: 48px;
  }

  .problem-content h3 {
    font-size: 30px;
  }

  .problem-card img {
    height: 280px;
  }
}

@media (max-width: 768px) {
  .problem-section {
    padding: 80px 0;
  }

  .problem-badge {
    font-size: 16px;

    padding: 10px 24px;

    margin-bottom: 32px;
  }

  .problem-title {
    font-size: 32px;
    line-height: 120%;
    margin-bottom: 40px;
  }

  .problem-content {
    padding: 16px;
  }

  .problem-content h3 {
    font-size: 28px;
    line-height: 120%;
    margin-bottom: 8px;
  }

  .problem-content p {
    font-size: 16px;
    line-height: 150%;
  }

  .problem-card img {
    height: 220px;
  }
}
/* ====================================
   ABOUT STACK SECTION
==================================== */

.about-stack-section {
  padding: 80px 0px;
  /* background: #004f31; */
  overflow: visible;
}

/* ====================================
   TOP
==================================== */

/* ====================================
   TOP HEADER INTRO
==================================== */
/* ====================================
   TOP HEADER INTRO
==================================== */
.about-stack-top {
  text-align: center;
  max-width: 950px;
  margin: 0 auto 40px;
  gap: 24px;
  /* background-color: #000000; */
}

/* .about-badge {
  display: inline-block;
  padding: 12px 24px;
  border: 1px solid #005c3e;
  border-radius: 50px;
  color: #005c3e;
  background: #e8efe8;
  margin-bottom: 30px;
  background: #ffffff;
  font-size: 14px;
  line-height: 110%;
  font-weight: 500;
} */

.about-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: 1.5px solid rgba(0, 92, 62, 0.65);
  border-radius: 999px;
  background: #e8efe8;
  color: #005c3e;
  font-size: 14px;
  font-weight: 500;
  line-height: 110%;
  margin-bottom: 24px;
}

.about-stack-top h2 {
  font-size: 52px;
  line-height: 120%;
  color: #005c3e;
  margin-bottom: 24px;
  font-weight: 600;
}

.about-stack-top p {
  font-size: 16px;
  line-height: 120%;
  color: #005c3e;
  max-width: 760px;
  margin: 0 auto 18px;
}

/* ====================================
   STACK WRAPPER
==================================== */
.stack-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  /* background-color: #000000; */
  /* Adds a runway at the bottom so the final card can finish sliding 
     completely over the second card before the page scrolls away */
  /* padding-bottom: 30vh; */
}

/* ====================================
   STACK CARD REDESIGN (No Inner Scrolling)
==================================== */
.stack-card {
  position: sticky;
  /* Keeps the card sticking near the top of the screen */
  top: 40px;

  display: grid;
  grid-template-columns: 520px 1fr;
  gap: 80px;
  align-items: start; /* Align to top so content fills downward naturally */

  /* Pure solid background to completely hide the card underneath */
  background: transparent;
  border-radius: 32px;
  /* box-shadow: 0 -15px 40px rgba(0, 92, 62, 0.08); */

  padding: 80px 0px 60px 0px;

  /* REMOVED: Fixed heights. The card is now as tall as its content needs it to be */
  height: auto;
  min-height: 70vh;
  box-sizing: border-box;

  /* Spacing track between cards as they follow each other up */
  margin-bottom: 0px;
}

/* Clear z-index layer handling */
.stack-card:nth-child(1) {
  z-index: 1;
}
.stack-card:nth-child(2) {
  z-index: 2;
}
.stack-card:nth-child(3) {
  z-index: 3;
}

/* Keep the margin on the last child to maintain the scroll track length */
.stack-card:last-child {
  margin-bottom: 0;
}

/* ====================================
   IMAGE BOUNDS
==================================== */
.stack-image {
  position: sticky;
  top: 80px; /* Keeps the image pinned in place within its own card if text is long */
}

.stack-image img {
  width: 100%;
  height: 550px;
  object-fit: cover;
  border-radius: 20px;
  display: block;
}

/* ====================================
   CARD TEXT CONTENT (Completely Static)
==================================== */
.stack-content {
  padding: 10px 0;
  min-height: 100%;
  background-color: #ffffff;
  /* REMOVED: max-height and overflow-y rules so content never scrolls internally */
}

.stack-content h3 {
  font-size: 46px;
  line-height: 1.1;
  color: #005c3e;
  margin-bottom: 12px;
  font-weight: 700;
}

.stack-content span {
  display: block;
  font-size: 20px;
  color: #005c3e;
  margin-bottom: 35px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.stack-content p {
  font-size: 16px;
  line-height: 1.7;
  color: #414943;
  margin-bottom: 22px;
}

.stack-content p:last-child {
  margin-bottom: 0;
}

/* ====================================
   RESPONSIVE LAYOUTS & TABLETS
==================================== */
@media (max-width: 1200px) {
  .about-stack-top {
    margin: 0 auto 80px;
  }
  .stack-card {
    grid-template-columns: 420px 1fr;
    padding: 0px 0px 60px 0px;
    /* gap: 40px; */
    /* padding: 40px; */
  }

  .stack-content h3 {
    font-size: 38px;
  }

  .about-stack-top h2 {
    font-size: 58px;
  }

  .stack-image img {
    height: 480px;
  }
}

/* ====================================
   MOBILE REVERSION (Standard Layout)
==================================== */
@media (max-width: 992px) {
  .about-stack-top {
    margin: 0 auto 80px;
  }
  .stack-wrapper {
    padding-bottom: 0;
  }

  .stack-card {
    position: relative;
    top: 0;
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 30px;
    padding: 0px 0px 60px 0px;
    /* padding: 30px; */
    /* margin-bottom: 40px; */
    box-shadow: none;
    /* border: 1px solid #e2e9e4; */
  }

  .stack-image {
    position: relative;
    top: 0;
  }

  .stack-image img {
    height: 450px;
  }

  .stack-content {
    padding: 0;
  }

  .about-stack-top h2 {
    font-size: 44px;
  }
}

@media (max-width: 768px) {
  .about-stack-section {
    padding: 0px;
  }

  .about-stack-top {
    text-align: left; /* Changes alignment from center to left */
    /* margin-bottom: 40px; */
    margin: 0 auto 60px;
    /* padding: 0 0px; */
  }

  .stack-card {
    padding: 0px 0px 60px 0px;
  }

  .about-stack-top h2 {
    font-size: 34px;
  }

  .about-stack-top p {
    font-size: 16px;
  }

  .stack-image img {
    height: 420px;
  }

  .stack-content h3 {
    font-size: 28px;
  }
}
/* ==========================================================================
   1. PPP SECTION BASE STYLES (Desktop First)
   ========================================================================== */

.ppp-section {
  padding: 0px 0px 0px 0px;
  background: #ffffff;
}

/* --- TOP INTRO PANEL --- */
.ppp-top {
  text-align: center;
  margin-bottom: 60px;
}

.ppp-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: 1.5px solid rgba(0, 92, 62, 0.65);
  border-radius: 999px;
  background: #e8efe8;
  color: #005c3e;
  font-size: 14px;
  font-weight: 500;
  line-height: 110%;
  margin-bottom: 24px;
}

.ppp-top h2 {
  font-size: 52px;
  line-height: 120%;
  color: #005c3e;
  font-weight: 500;
}

/* --- GRID ARCHITECTURE --- */
.ppp-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 25px;
}

.ppp-right {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 25px;
}

/* --- CARD STRUCTURE --- */
.ppp-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.ppp-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.ppp-card:hover img {
  transform: scale(1.05);
}

.large-card {
  height: 80vh;
}

.small-card {
  height: 38vh;
}

/* --- TEXT OVERLAYS & INNER HIDDEN CONTENT --- */
.ppp-overlay {
  position: absolute;
  inset: 0;
  padding: 28px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.28),
    rgba(0, 0, 0, 0.08)
  );
  color: #ffffff;
  transition: 0.4s ease;
}

.ppp-overlay h3 {
  margin: 0;
  font-size: 32px;
  font-weight: 600;
  line-height: 40px; /* Synchronizes with the 40px desktop button baseline */
}

.ppp-card.active .ppp-overlay {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.6) 70%,
    rgba(0, 0, 0, 0.3) 100%
  );
}

.ppp-hidden-content {
  max-width: 85%;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s ease, opacity 0.4s ease;
}

.ppp-hidden-content p {
  font-size: 15px;
  line-height: 1.55;
  color: #ffffff;
  max-width: 92%;
}

.ppp-hidden-content p:first-child {
  margin-top: 14px;
}

.ppp-card.active .ppp-hidden-content {
  max-height: 500px;
  opacity: 1;
}

/* --- UNIVERSAL INTERACTIVE TOGGLE BUTTON --- */
.ppp-toggle {
  background: none;
  border: none;
  width: 40px;
  height: 40px;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 0;
  transition: transform 0.3s ease;
}

.ppp-toggle::before,
.ppp-toggle::after {
  content: "";
  position: absolute;
  background: #ffffff;
  border-radius: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.ppp-toggle::before {
  width: 20px;
  height: 2px;
}

.ppp-toggle::after {
  width: 2px;
  height: 20px;
}

.ppp-card.active .ppp-toggle::after {
  opacity: 0;
  transform: translate(-50%, -50%) scaleY(0);
}

.ppp-toggle:hover {
  transform: scale(1.08);
}

/* ==========================================================================
   2. PRODUCTS SECTION BASE STYLES (Desktop First)
   ========================================================================== */

.products-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.products-title {
  color: #005c3e;
  font-size: 52px;
  line-height: 120%;
  font-weight: 500;
  margin-bottom: 35px;
  text-align: left;
  letter-spacing: -0.02em;
}

.products-wrapper {
  display: grid;
  grid-template-columns: 83% 17%;
  gap: 24px;
}

/* --- SIDEBAR SWIPER / THUMBNAILS --- */
.products-sidebar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: flex-start;
  align-items: center;
}

.product-thumb {
  width: 110px !important;
  height: 110px !important;
  border-radius: 8px;
  border: 2px solid #e2e8f0;
  cursor: pointer;
  transition: all 0.2s ease;
  object-fit: cover;
  flex-shrink: 0;
}

.product-thumb:hover {
  border-color: #005c3e;
}

.product-thumb.active-thumb {
  border-color: #005c3e;
  box-shadow: 0 0 0 3px rgba(12, 89, 67, 0.15);
  transform: scale(1.03);
}

/* --- MAIN CARD BLOCK DISPLAY --- */
.product-card {
  display: flex;
  flex-direction: column;
  background-color: #faf9f4;
  border: 1px solid rgba(12, 89, 67, 0.08);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.product-main-image {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  background-color: #faf9f4;
}

.product-content {
  padding: 32px 40px;
  background-color: #f8f5e5;
}

#productTitle {
  color: #0c5943;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

#productDescription {
  color: #414943;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 24px;
  font-weight: 500;
}

.product-divider {
  border: 0;
  border-top: 1px solid rgba(12, 89, 67, 0.12);
  margin: 20px 0;
}

/* --- FEATURE BADGES & ICONS --- */
.product-features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-bottom: 28px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #1e2e26;
  font-size: 13.5px;
  font-weight: 500;
}

.feature-item svg.checkmark {
  color: #005c3e;
  flex-shrink: 0;
}

.nutrition-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 36px;
  border-top: 1px solid rgba(12, 89, 67, 0.12);
  padding-top: 24px;
  align-items: center;
}

.nutrition-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nutrition-item img.nutrition-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
  display: inline-block;
}

.nutrition-item svg.icon {
  color: #555e58;
  flex-shrink: 0;
}

.nutrition-item span {
  font-size: 11px;
  font-weight: 700;
  color: #414943;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-right: 2px;
}

.nutrition-item strong {
  font-size: 1rem;
  font-weight: 850;
  color: #005c3e;
}

/* --- CALL TO ACTION ACTION FOOTER BUTTON --- */
.products-btn-wrap {
  margin-top: 36px;
  text-align: center;
}

.products-btn {
  display: inline-block;
  padding: 15px 36px;
  background-color: #005c3e;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  border-radius: 12px;
  transition: all 0.2s;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(12, 89, 67, 0.15);
}

.products-btn:hover {
  background-color: #005c3e;
  transform: translateY(-1.5px);
  color: #ffffff;
}

/* ==========================================================================
   3. GLOBAL RESPONSIVE MEDIA QUERIES (Breakpoints)
   ========================================================================== */

/* --- TABLET COMPACT OVERRIDES (Under 992px) --- */
@media (max-width: 992px) {
  .ppp-grid {
    grid-template-columns: 1fr;
  }

  .ppp-right {
    grid-template-rows: auto;
  }

  .large-card,
  .small-card {
    height: 500px;
  }

  .ppp-top h2 {
    font-size: 48px;
  }

  /* Structural layout pivot to safe vertical flow rows on mobile wrappers */
  .products-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }

  .products-sidebar {
    order: 1 !important;
    flex-direction: row;
    overflow-x: auto;
    padding: 4px 4px 16px 4px;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
  }

  .products-sidebar::-webkit-scrollbar {
    display: none;
  }

  .product-card {
    order: 2 !important;
  }

  .product-thumb {
    width: 74px !important;
    height: 74px !important;
  }
}

/* --- MOBILE PHONE VIEWPORTS OVERRIDES (Under 768px) --- */
@media (max-width: 768px) {
  /* --- PPP Mobile Fixes --- */

  .ppp-section {
    padding: 20px 0px 0px 0px;
    background: #ffffff;
  }

  .ppp-top h2 {
    font-size: 24px;
  }

  .ppp-overlay {
    padding: 24px;
  }

  /* Downscales headings and fixes plus/minus alignment baseline */
  .ppp-overlay h3 {
    font-size: 24px;
    font-weight: 600;
    line-height: 32px; /* Uniform height match context */
    margin-bottom: 0px;
    letter-spacing: -0.5px;
  }

  .ppp-hidden-content p {
    font-size: 14px;
  }

  /* Compact button scaling setup for mobile views */
  .ppp-toggle {
    width: 32px;
    height: 32px;
    margin-top: 0px;
  }

  .ppp-toggle::before {
    width: 16px;
    height: 2px;
  }

  .ppp-toggle::after {
    width: 2px;
    height: 16px;
  }

  /* --- Products Mobile Fixes --- */
  .products-title {
    font-size: 32px;
    line-height: 120%;
    margin-bottom: 24px;
  }

  .product-content {
    padding: 32px 24px;
  }

  .products-btn {
    width: 100%;
    font-size: 13px;
  }
}
/* PARTNERS SECTION */
/* ==========================================
   PARTNERS SECTION
========================================== */

.partners-section {
  background: #005c3e;
  padding: 90px 0;
  overflow: hidden;
}

/* GRID */

.partners-grid {
  display: grid;

  grid-template-columns: 0.9fr 1.25fr;

  gap: 90px;

  align-items: start;
}

/* ==========================================
   LEFT SIDE
========================================== */

.partners-badge {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  padding: 12px 34px;

  border: 1.5px solid rgba(255, 255, 255, 0.7);

  border-radius: 999px;

  background: rgba(255, 255, 255, 0.17);

  color: #ffffff;

  font-size: 15px;

  font-weight: 400;

  margin-bottom: 42px;
}

.partners-left h2 {
  font-size: 52px;

  line-height: 120%;

  /* letter-spacing: 0px; */

  color: #ffffff;

  font-weight: 400;

  margin-bottom: 65px;

  max-width: 420px;
}

/* BUTTON */

.partners-btn {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  background: #ffffff;

  color: #005c3e;

  padding: 16px 24px;

  border-radius: 12px;

  font-size: 14px;
  line-height: 110%;

  font-weight: 500;

  transition: 0.3s ease;
  text-decoration: none;
}

.partners-btn:hover {
  transform: translateY(-3px);
}

/* ==========================================
   RIGHT SIDE
========================================== */

.partners-right {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 65px 60px;

  padding-top: 8px;
}

/* ITEM */

.partner-item {
  color: #ffffff;
}

/* ICON */

.partner-icon {
  width: 40px;

  height: 40px;

  margin-bottom: 16px;
}

.partner-icon img {
  width: 100%;

  height: 100%;

  object-fit: contain;

  display: block;
}

/* HEADING */

.partner-item h3 {
  font-size: 18px;

  line-height: 28px;

  font-weight: 700;

  margin-bottom: 8px;

  letter-spacing: -0.5px;
}

/* TEXT */

.partner-item p {
  font-size: 16px;

  line-height: 140%;

  color: rgba(255, 255, 255, 0.88);

  max-width: 320px;
}

/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width: 1200px) {
  .partners-left h2 {
    font-size: 52px;
  }

  .partners-grid {
    gap: 70px;
  }
}

@media (max-width: 992px) {
  .partners-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Unwraps the left container elements into the parent grid layout */
  .partners-left {
    display: contents;
  }

  /* Assigns sequential order layout coordinates */
  .partners-badge {
    order: 1;
    margin-bottom: 16px;
    width: max-content;
  }

  .partners-left h2 {
    max-width: 100%;
    order: 2;
    margin-bottom: 40px;
  }

  .partners-right {
    grid-template-columns: 1fr 1fr;
    order: 3;
  }

  /* Targets the button and forces it to sit at the absolute bottom */
  .partners-btn {
    order: 4;
    margin-top: 20px;
    justify-self: center; /* Keeps button centered across width profile */
  }
}

@media (max-width: 768px) {
  .partners-section {
    padding: 70px 0;
  }

  .products-title {
    font-size: 32px;
    line-height: 120%;
  }

  .partners-right {
    grid-template-columns: 1fr;
    gap: 50px;
    order: 3;
  }

  .partners-left h2 {
    font-size: 32px;
    line-height: 1.2;
    order: 2;
  }

  .partner-item h3 {
    font-size: 18px;
    line-height: 28px;
  }

  .partner-item p {
    font-size: 16px;
    line-height: 140%;
  }

  .partners-btn {
    font-size: 16px;
    width: 100%;
    order: 4;
  }
}
/* ==========================================================================
   PROCESS SECTION
   ========================================================================== */

.process-section {
  padding: 80px 0px;
  background: #ffffff;
}

/* BASE MOBILE LAYOUT: Enforces clear flex-column flow */
.process-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* IMAGE GRAPHIC CONTAINER */
.process-image-wrap {
  width: 100%;
}

.process-image {
  width: 100%;
  height: 100%; /* Sets the precise 30vh image height constraint on mobile */
  border-radius: 10px;
  display: block;
  object-fit: fill; /* Ensures the image crops cleanly without distortion */
}

/* ==========================================================================
   RIGHT SIDE CONTENT & BADGE
   ========================================================================== */

.process-content {
  display: flex;
  flex-direction: column;
}

.process-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border: 1px solid rgba(0, 92, 62, 0.3);
  border-radius: 999px;
  background: #e8efe8;
  color: #005c3e;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
  width: max-content;
}

.process-content h2 {
  color: #005c3e;
  font-size: 32px;
  line-height: 125%;
  font-weight: 500;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.process-desc {
  font-size: 14.5px;
  line-height: 150%;
  color: #555e58;
  margin-bottom: 40px;
}

/* ==========================================================================
   THE STEPS TIMELINE ARCHITECTURE
   ========================================================================== */

.process-steps {
  display: flex;
  flex-direction: column;
  position: relative;
}

.process-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  position: relative;
  padding-bottom: 50px;
}

.process-step:last-child {
  padding-bottom: 0;
}

/* AUTOMATIC TIMELINE CONNECTOR TRACK */
.process-step::after {
  content: "";
  position: absolute;
  left: 17px;
  top: 36px;
  width: 1px;
  height: calc(100% - 32px);
  background: #e2e4dc;
  z-index: 1;
}

.process-step:last-child::after {
  display: none;
}

.process-line {
  display: none;
}

/* STEP INDICATORS */
.step-number {
  width: 36px;
  height: 36px;
  background: #f4f3ed;
  color: #005c3e;
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: solid 1px #005c3e;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

/* .process-step.active-step .step-number {
  background: #005c3e;
  color: #ffffff;
} */

/* TYPOGRAPHY BLOCKS INSIDE NODES */
.step-content {
  /* padding-top: 6px; */
}

.step-content h3 {
  font-size: 14px;
  color: #555e58;
  /* margin-bottom: 6px; */
  font-weight: 600;
  letter-spacing: 0.03em;
}

.process-step.active-step .step-content h3 {
  color: #111111;
}

.step-content p {
  font-size: 13.5px;
  line-height: 140%;
  color: #707872;
}

/* ==========================================================================
   DESKTOP VIEW REVERSION (992px and up)
   ========================================================================== */
@media (min-width: 992px) {
  .process-section .container {
    max-width: 1100px !important; /* Forces the middle content to look tight and compact */
    width: 85% !important;
    margin: 0 auto !important; /* Spreads out massive equal margins to the left and right */
  }

  .process-section {
    padding: 120px 0px;
  }

  /* 1fr 1fr ensures left and right sections share an exact identical width balance */
  .process-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px; /* Pulls the items closer together in the center */
    align-items: center; /* Vertically centers items relative to each other */
  }

  /* Structural match: Setting matching fixed vertical boundaries */
  .process-image-wrap {
    height: 600px;
    width: 100%;
  }

  .process-image {
    height: 100%; /* Forces the image block to match the wrapper height */
    width: 100%;
    object-fit: cover; /* Ensures a premium clean crop matching content dynamics */
  }

  .process-content {
    height: 600px; /* Matches image column height exactly */
    justify-content: center; /* Centers text blocks vertically alongside the image */
  }

  .process-content h2 {
    font-size: 44px;
    line-height: 120%;
    margin-bottom: 20px;
  }

  .process-desc {
    font-size: 15px;
    max-width: 100%; /* Let description expand comfortably across its column space */
  }
}
/* =========================
   WHY ROOTUS SECTION
========================= */
/* ==========================================================================
   WHY ROOTUS SECTION (Mobile-First Setup)
   ========================================================================== */

.why-rootus-section {
  padding: 0px;
  /* background-color: #111111; */
}

/* BASE CONTAINER: Injects beautiful consistent side padding on mobile screens */
.why-rootus-section .container {
  width: 100%;
  max-width: 100%;
  padding: 0 24px; /* Matches the process section mobile margins perfectly */
  box-sizing: border-box;
}

/* BADGE */
/* .why-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 28px;
  border: 1.5px solid #005c3e;
  border-radius: 999px;
  color: #005c3e;
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 34px;
} */
.why-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: 1.5px solid rgba(0, 92, 62, 0.65);
  border-radius: 999px;
  background: #e8efe8;
  color: #005c3e;
  font-size: 14px;
  font-weight: 500;
  line-height: 110%;
  margin-bottom: 24px;
}

/* TITLE */
.why-title {
  font-size: 32px; /* Responsive mobile heading typography size */
  line-height: 120%;
  font-weight: 400;
  color: #005c3e;
  max-width: 1100px;
  margin-bottom: 36px;
  letter-spacing: -0.5px;
}

/* GRID */
.why-grid {
  display: grid;
  grid-template-columns: 1fr; /* Renders full column block cards on mobile viewports */
  gap: 20px;
  align-items: stretch;
}

/* CARD */
.why-card {
  background: #f8f5e5;
  border-radius: 18px;
  padding: 30px 34px 32px;
  min-height: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: 0.3s ease;
}

.why-card:hover {
  transform: translateY(-4px);
}

/* ICON */
.why-icon {
  margin-bottom: 40px; /* Reduced layout spacing block for cleaner mobile viewport grids */
}

.why-icon img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  display: block;
}

/* CARD TITLE */
.why-card h3 {
  font-size: 22px;
  line-height: 120%;
  font-weight: 400;
  color: #005c3e;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

/* CARD TEXT */
.why-card p {
  font-size: 15px;
  line-height: 140%;
  font-weight: 400;
  color: #414943;
  max-width: 100%;
}

/* ==========================================================================
   DESKTOP MEDIA QUERIES (992px and up)
   ========================================================================== */
@media (min-width: 992px) {
  .why-rootus-section {
    padding: 0px 0px;
  }

  /* Restores the widescreen 95% full panel view on monitors */
  .why-rootus-section .container {
    width: 95% !important;
    padding: 0 !important;
  }

  .why-title {
    font-size: 52px;
    line-height: 100%;
    margin-bottom: 52px;
    letter-spacing: 0px;
  }

  .why-grid {
    grid-template-columns: repeat(
      4,
      1fr
    ); /* Snaps cards into crisp quad rows */
  }

  .why-card {
    min-height: 330px;
  }

  .why-icon {
    margin-bottom: 78px;
  }

  .why-card h3 {
    font-size: 24px;
  }

  .why-card p {
    font-size: 18px;
    line-height: 100%;
  }
}

/* INTERMEDIATE TABLET MEDIA ADAPTATIONS */
@media (min-width: 768px) and (max-width: 991px) {
  .why-grid {
    grid-template-columns: repeat(
      2,
      1fr
    ); /* Neatly splits grid into double columns on iPads */
  }
}

/* =========================
   CONTACT SECTION
========================= */

.contact-section {
  padding: 120px 0px 50px 0px;
  background: #ffffff;
}

.contact-section .container {
  width: 95%;
  max-width: 1820px;
  margin: auto;
}

/* TOP */

.contact-top {
  text-align: center;
  margin-bottom: 90px;
}

/* .contact-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 14px 34px;

  border: 2px solid #005c3e;
  border-radius: 999px;

  color: #005c3e;
  font-size: 22px;
  font-weight: 500;

  margin-bottom: 34px;
} */

.contact-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: 1.5px solid rgba(0, 92, 62, 0.65);
  border-radius: 999px;
  background: #e8efe8;
  color: #005c3e;
  font-size: 14px;
  font-weight: 500;
  line-height: 110%;
  margin-bottom: 24px;
}

.contact-top h2 {
  font-size: 52px;
  line-height: 64px;
  color: #005c3e;
  font-weight: 400;

  margin-bottom: 26px;
}

.contact-top p {
  max-width: 760px;
  margin: auto;

  font-size: 16px;
  line-height: 150%;
  color: #6a6a6a;
}

/* WRAPPER */

.contact-wrapper {
  display: grid;
  grid-template-columns: 0.95fr 1.1fr;
  gap: 110px;

  margin-bottom: 90px;
}

/* LEFT */

.contact-left h3 {
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 42px;
  color: #1d1d1d;
}

.contact-card {
  margin-bottom: 40px;
}

.contact-card h4 {
  font-size: 20px;
  margin-bottom: 24px;
  font-weight: 600;
}

.contact-card p {
  font-size: 16px;
  line-height: 2;
  color: #575757;

  margin-bottom: 8px;
}

.contact-card a {
  display: block;

  font-size: 16px;
  color: #575757;

  margin-bottom: 8px;
}

/* REACH */

.reach-box h4 {
  font-size: 20px;
  margin-bottom: 26px;
}

.whatsapp-btn {
  width: 100%;
  max-width: 344px;
  height: 54px;
  padding: 8px 32px;

  border: 2px solid #006b43;
  border-radius: 12px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;

  color: #006b43;
  font-size: 16px;
  font-weight: 500;

  transition: 0.3s;
}

.whatsapp-btn:hover {
  background: #006b43;
  color: #fff;
}

/* RIGHT */

.contact-right h3 {
  font-size: 32px;
  line-height: 40px;
  font-weight: 500;

  margin-bottom: 42px;

  color: #1d1d1d;
}

/* FORM */

.contact-form {
  width: 100%;
}

.form-group {
  margin-bottom: 28px;
}

.form-group label {
  display: block;

  font-size: 16px;
  font-weight: 500;

  margin-bottom: 14px;

  color: #1d1d1d;
}

.form-group input,
.form-group select {
  width: 100%;
  height: 60px;

  border: 2px solid #707070;
  border-radius: 12px;

  background: transparent;

  padding: 0 26px;

  font-size: 16px;

  outline: none;
}

.form-group input::placeholder {
  color: #9b9b9b;
}

/* INTEREST */

.interest-box {
  min-height: 82px;

  border: 2px solid #707070;
  border-radius: 14px;

  display: flex;
  align-items: center;
  gap: 12px;

  padding: 18px 24px;

  flex-wrap: wrap;

  position: relative;
}

.interest-box span {
  background: #ece7d3;

  padding: 10px 18px;

  border-radius: 8px;

  font-size: 18px;
  color: #4b4b4b;
}

.dropdown-icon {
  position: absolute;
  right: 24px;

  font-size: 24px;
  color: #222;
}
/* Custom Multi-Select Dropdown Container */
.custom-multiselect {
  position: relative;
  width: 100%;
  font-family: inherit;
  box-sizing: border-box;
}

/* Updated Trigger Box to flawlessly match the 82px inputs in your form */
.multiselect-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px; /* Set to perfectly align with your other input heights */
  padding: 0px 26px;
  background-color: transparent;
  border: 2px solid #707070; /* Matches your form input borders exactly */
  border-radius: 14px; /* Matches input border-radius */
  cursor: pointer;
  box-sizing: border-box;
  width: 100%;
}

/* Internal Row Container for Tags */
.selected-tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  width: calc(100% - 30px);
  overflow: hidden;
}

/* Precise item tags matching Image 2 & 3 custom properties */
.interest-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #faf9f4; /* Warm cream background from image */
  color: #1d1d1d;
  font-size: 14px; /* Scales elegantly with your 22px label typography */
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 6px;
  box-sizing: border-box;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
  white-space: nowrap;
}

.interest-tag .remove-tag-btn {
  cursor: pointer;
  color: #9b9b9b;
  font-size: 14px;
  font-weight: 700;
  margin-left: 4px;
  transition: color 0.2s ease;
}

.interest-tag .remove-tag-btn:hover {
  color: #0c5943;
}

/* Down Arrow Alignment matching original select properties */
.dropdown-arrow-icon {
  display: flex;
  align-items: center;
  color: #222222;
  font-size: 24px;
  transition: transform 0.2s ease;
}

.custom-multiselect.open .dropdown-arrow-icon {
  transform: rotate(180deg);
}

/* Dropdown Options Box Menu overlay layer */
.multiselect-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: 100%;
  background: #ffffff;
  border: 2px solid #707070;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
  z-index: 999;
  max-height: 280px;
  overflow-y: auto;
  box-sizing: border-box;
  padding: 8px;
}

.custom-multiselect.open .multiselect-dropdown {
  display: block;
}

.dropdown-option {
  padding: 12px 20px;
  font-size: 18px;
  font-weight: 500;
  color: #1d1d1d;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.dropdown-option:hover {
  background-color: #faf9f4;
  color: #0c5943;
  padding-left: 24px;
}

/* Selected Active option block highlight state rules */
.dropdown-option.selected-active {
  background-color: #0c5943;
  color: #ffffff;
}

/* NOTE */

.form-note {
  font-size: 14px;
  line-height: 150%;
  color: #6f6f6f;

  margin: 24px 0 34px;
}

/* BUTTON */

.submit-btn {
  width: 100%;
  height: 54px;

  border: none;
  border-radius: 12px;

  background: #006b43;
  color: #fff;

  font-size: 16px;
  font-weight: 500;

  cursor: pointer;
  transition: 0.3s;
}

.submit-btn:hover {
  background: #004f31;
}

/* ==========================================================================
   MAP CONTAINER INTEGRATION
   ========================================================================== */

.address-map-box {
  width: 100%;
  height: 70vh;
  border-radius: 12px;
  overflow: hidden;

  position: relative;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.address-map-box iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 12px;
}

/* RESPONSIVE */

@media (max-width: 1200px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 70px;
  }
}

@media (max-width: 768px) {
  .contact-top h2 {
    font-size: 32px;
    line-height: 120%;
  }

  .contact-right h3,
  .contact-left h3 {
    font-size: 32px;
  }

  .contact-card h4 {
    font-size: 20px;
  }

  .reach-box h4 {
    font-size: 20px;
  }

  .whatsapp-btn {
    max-width: 100%;
  }

  .contact-card p,
  .contact-card a {
    font-size: 16px;
  }

  .form-group input,
  .form-group select {
    height: 64px;
    font-size: 18px;
  }

  .submit-btn {
    height: 54px;
    font-size: 18px;
  }

  .address-map-box {
    height: 400px;
  }
}

/* =========================
   RESPECT SECTION
========================= */

.respect-section {
  padding: 40px 0 80px;
  background: #ffffff;
}

.respect-section .container {
  width: 90%;
  max-width: 100%;
  margin: auto;
}

/* WRAPPER */

.respect-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;

  border-radius: 20px;
  overflow: hidden;

  min-height: 60vh;
}

/* LEFT */

.respect-content {
  background: #005c3e;

  padding: 90px 80px;

  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* TITLE */

.respect-content h2 {
  font-size: 48px;
  line-height: 120%;
  font-weight: 300;

  color: #ffffff;

  margin-bottom: 42px;

  letter-spacing: -2px;

  max-width: 760px;
}

/* TEXT */

.respect-content p {
  font-size: 16px;
  line-height: 140%;
  font-weight: 400;

  color: rgba(255, 255, 255, 0.92);

  max-width: 820px;
}

/* IMAGE */

.respect-image {
  position: relative;
  height: 100%;
}

.respect-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;
  display: block;
}

/* RESPONSIVE */

@media (max-width: 1400px) {
  .respect-content h2 {
    font-size: 64px;
  }

  .respect-content p {
    font-size: 22px;
  }
}

@media (max-width: 1100px) {
  .respect-wrapper {
    grid-template-columns: 1fr;
  }

  .respect-image {
    min-height: 400px;
  }
}

@media (max-width: 768px) {
  .respect-content {
    padding: 60px 34px;
  }

  .respect-content h2 {
    font-size: 32px;
    line-height: 120%;
  }

  .respect-content p {
    font-size: 16px;
    line-height: 120%;
  }

  .respect-wrapper {
    border-radius: 24px;
  }
}
