/* ============================================================
   JS Edibles Website - Consolidated Stylesheet
   Pure HTML/CSS/JS conversion from React app
   ============================================================ */

/* ------------------------------------------------------------
   1. CSS Custom Properties (Color Variables)
   ------------------------------------------------------------ */
:root {
  --primary-green: #006838;
  --primary-blue: #012069;
  --gom-maroon: #7a203a;
  --jsfarms-green: #3e7e2b;
  --jsfarms-green-dark: #065f46;
  --jsfarms-green-light: #659854;
  --text-dark: #333;
  --border-light: #ccc;
  --bg-light: #f8f8f8;
  --bg-lighter: #f9f9f9;
  --white: #ffffff;
  --black: #000000;
}

/* ------------------------------------------------------------
   2. Global Reset & Base Styles
   ------------------------------------------------------------ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  overflow: auto;
}

body {
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  color: var(--text-dark);
  line-height: 1.8;
  letter-spacing: 0.015em;
  overflow-x: hidden;
  background-color: #eef0f3;
}

p {
  margin-bottom: 1rem;
  font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

ul,
ol {
  list-style: none;
}

/* ------------------------------------------------------------
   3. Loader Animation
   ------------------------------------------------------------ */
.loader {
  border: 6px solid #f3f3f3;
  border-top: 6px solid var(--primary-green);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
  margin: 20vh auto;
}

/* ------------------------------------------------------------
   4. Parallax Hero
   ------------------------------------------------------------ */
.parallax-hero {
  background-image: url(../assets/home_bg.png);
  min-height: 100vh;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* ------------------------------------------------------------
   5. Navbar (Main)
   ------------------------------------------------------------ */
.navbar-main {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1200;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: none;
  transition: background 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}

.navbar-main.scrolled {
  background: rgba(255, 255, 255, 1);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 2px 12px rgba(1, 32, 105, 0.10), 0 1px 3px rgba(0, 0, 0, 0.06);
}

.navbar-main .container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.navbar-main .navbar-nav {
  gap: 0.35rem;
  width: 100%;
}

.navbar-main .nav-item {
  font-size: 0.8rem;
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  font-weight: 600;
  flex: 1 1 0%;
  min-width: 0;
  text-align: center;
}

.navbar-main .nav-link {
  color: var(--primary-blue);
  padding: 0.45rem 0.75rem;
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
  text-transform: uppercase;
  border-radius: 2rem;
  border: 1.5px solid transparent;
  display: block;
  white-space: nowrap;
  letter-spacing: 0.03em;
}

.navbar-main .nav-link:hover {
  color: var(--white);
  background: var(--primary-green);
  border-color: var(--primary-green);
  box-shadow: 0 2px 8px rgba(0, 104, 56, 0.25);
}

.navbar-main .nav-link.active {
  color: var(--white);
  background: var(--primary-blue);
  border-color: var(--primary-blue);
  box-shadow: 0 2px 8px rgba(1, 32, 105, 0.3);
}

.navbar-main .nav-link.active:hover {
  background: var(--primary-green);
  border-color: var(--primary-green);
}

/* Dropdown toggle caret color */
.navbar-main .nav-link.dropdown-toggle::after {
  vertical-align: middle;
}

/* Dropdown menu */
.navbar-main .dropdown-menu {
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(1, 32, 105, 0.12), 0 1px 4px rgba(0, 0, 0, 0.06);
  padding: 0.5rem;
  min-width: 100%;
}

.navbar-main .dropdown-item {
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.45rem 1rem;
  border-radius: 1.5rem;
  color: var(--primary-blue);
  transition: background 0.2s ease, color 0.2s ease;
}

.navbar-main .dropdown-item:hover {
  background: var(--primary-green);
  color: var(--white);
}

.navbar-main .logo-img {
  width: 220px;
}

.login-icon {
  margin-left: 1rem;
  color: var(--primary-green);
  font-size: 1.25rem;
  transition: all 0.2s ease;
}

.login-icon:hover {
  color: var(--primary-blue);
  transform: scale(1.1);
}

/* Center the desktop nav links between logo and login icon */
.navbar-main .navbar-collapse-desktop {
  flex: 1;
  display: flex;
  justify-content: center;
}

.navbar-main .navbar-collapse-desktop .navbar-nav {
  align-items: center;
}

/* ------------------------------------------------------------
   6. Subpage Navbar
   ------------------------------------------------------------ */
.subpage-navbar {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  justify-content: space-between;
  align-items: center;
  padding: 0 1rem;
}

.subpage-navbar .logo {
  width: 140px;
}

.subpage-navbar .back-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.subpage-navbar .back-btn img {
  width: 50px;
  transition: transform 0.2s ease;
}

.subpage-navbar .back-btn:hover img {
  transform: scale(1.1);
}

/* ------------------------------------------------------------
   7. Footer
   ------------------------------------------------------------ */
footer,
.site-footer {
  background: var(--white);
  color: var(--text-dark);
  padding: 1.75rem 0 1rem;
  width: 100%;
  box-shadow: 0 -2px 12px rgba(1, 32, 105, 0.08);
}

.footer-heading {
  color: var(--primary-blue);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--primary-green);
  display: inline-block;
}

.footer-links li {
  margin-bottom: 0.3rem;
}

footer a,
.site-footer a {
  color: var(--text-dark);
  transition: color 0.2s ease;
}

footer a:hover,
.site-footer a:hover {
  color: var(--primary-green);
}

.footer-contact p {
  margin-bottom: 0.35rem;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  color: var(--text-dark);
}

.footer-contact p span,
.footer-contact p a {
  flex: 1;
  min-width: 0;
  word-break: break-word;
}

.footer-contact-icon {
  color: var(--primary-green);
  font-size: 0.85rem;
  flex-shrink: 0;
  width: 14px;
  text-align: center;
}

.footer-map iframe {
  border-radius: 6px;
}

.footer-copyright-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copyright {
  color: var(--text-dark);
  font-size: 0.85rem;
}

footer hr,
.site-footer hr {
  border-color: rgba(1, 32, 105, 0.15);
}

.scroll-top-btn {
  background: var(--primary-blue);
  color: var(--white);
  border: none;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
  box-shadow: 0 2px 8px rgba(1, 32, 105, 0.35);
}

.scroll-top-btn:hover {
  background: var(--primary-green);
  transform: scale(1.1);
}

/* ------------------------------------------------------------
   8. Hero Section Styled Components
   ------------------------------------------------------------ */
.hero-title {
  font-size: 5vw;
  color: var(--primary-green);
  font-weight: bold;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--black);
  margin-top: 0.5rem;
}

.hero-btn {
  background: var(--primary-green);
  color: var(--white);
  padding: 0.25rem 0.7rem;
  border-radius: 2.5rem;
  text-decoration: none;
  display: inline-block;
  font-weight: 600;
  transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.hero-btn:hover {
  box-shadow: 0 0 10px var(--primary-green);
  color: var(--white);
}

.hero-popup-img {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  z-index: 0;
}

/* Override animate-on-scroll for hero image so both transforms coexist */
.hero-popup-img.animate-on-scroll {
  opacity: 0;
  transform: translate(-50%, 30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.hero-popup-img.animate-on-scroll.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ------------------------------------------------------------
   9. "Who We Are" Section
   ------------------------------------------------------------ */
.wwr-section {
  padding: 0;
  position: relative;
}

.wwr-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.wwr-image-col {
  flex: 1;
  min-width: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wwr-image {
  max-width: 80%;
  height: auto;
}

.wwr-content-col {
  flex: 1;
  min-width: 280px;
  display: flex;
  flex-direction: column;
}

.wwr-card {
  background-image: url(../assets/wwbg.png);
  background-size: cover;
  background-position: center;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(1, 32, 105, 0.12), 0 1px 4px rgba(0, 0, 0, 0.07);
  min-height: 240px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Frosted overlay for readability */
.wwr-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border-radius: inherit;
  z-index: 0;
}

.wwr-card > * {
  position: relative;
  z-index: 1;
}

.wwr-card-body {
  padding: 1.75rem 1.75rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.wwr-card-body img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.wwr-card-body h5 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-blue);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0;
}

.wwr-card-footer {
  padding: 1rem 1.75rem 1.5rem;
  display: flex;
  justify-content: flex-end;
}

.wwr-arrow-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary-blue);
  color: var(--white);
  font-size: 1rem;
  transition: background 0.2s ease, transform 0.2s ease;
}

.wwr-arrow-link:hover {
  background: var(--primary-green);
  color: var(--white);
  transform: translateX(3px);
}

.wwr-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(1, 32, 105, 0.16), 0 2px 8px rgba(0, 0, 0, 0.08);
}

.wwr-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

/* ------------------------------------------------------------
   10. Section Logos
   ------------------------------------------------------------ */
.section-logo {
  display: block;
  width: 220px;
  padding-left: 1rem;
  margin-bottom: 0.5rem;
}

.section-logo img {
  width: 100%;
  height: auto;
}

.section-logo-side {
  width: 220px;
  margin-left: 1rem;
}

/* ------------------------------------------------------------
   11. Top Image Decoration
   ------------------------------------------------------------ */
.top-image {
  width: 200px;
  height: auto;
  transition: width 0.3s ease;
}

.top-image:hover {
  width: 220px;
}

/* ------------------------------------------------------------
   12. Service Cards (.sol) & Blue Buttons
   ------------------------------------------------------------ */
.sol {
  border: none;
  border-top: 4px solid var(--primary-blue);
  border-radius: 12px;
  padding: 2rem;
  background: var(--white);
  box-shadow: 0 4px 20px rgba(1, 32, 105, 0.10), 0 1px 4px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.sol .btn-blue {
  margin-top: auto;
  align-self: flex-start;
}

.sol:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(1, 32, 105, 0.16), 0 2px 8px rgba(0, 0, 0, 0.08);
}

.sol img {
  margin-bottom: 1rem;
}

.sol h5 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.btn-blue {
  background: var(--primary-blue);
  color: var(--white);
  padding: 0.25rem 0.7rem;
  border-radius: 2.5rem;
  font-size: 1.25rem;
  text-decoration: none;
  display: inline-block;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-blue:hover {
  background: var(--primary-green);
  color: var(--white);
  transform: translateX(3px);
}

/* ------------------------------------------------------------
   13. Product Cards (.sol1)
   ------------------------------------------------------------ */
.sol1 {
  border: none;
  border-top: 4px solid var(--primary-green);
  border-radius: 12px;
  padding: 2rem;
  background: var(--white);
  box-shadow: 0 4px 20px rgba(0, 104, 56, 0.10), 0 1px 4px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.sol1 .arrow-link {
  margin-top: auto;
  align-self: flex-start;
}

.sol1.card .card-body {
  display: flex;
  flex-direction: column;
  padding: 1rem 0 0;
}

.sol1.card .card-body > a:last-child {
  margin-top: auto;
}

.sol1:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 104, 56, 0.16), 0 2px 8px rgba(0, 0, 0, 0.08);
}

.sol1 h5 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-green);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.product-image {
  transition: transform 0.3s ease;
}

.product-image:hover {
  transform: scale(1.05);
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary-blue);
  color: var(--white);
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.arrow-link:hover {
  background: var(--primary-green);
  color: var(--white);
  transform: translateX(3px);
}

.arrow-icon {
  width: 30px;
  transition: transform 0.3s ease;
}

.arrow-icon:hover {
  transform: translateX(5px);
}

/* ------------------------------------------------------------
   14. CSR Section Cards
   ------------------------------------------------------------ */
.csr-card {
  border: none;
  border-top: 4px solid var(--primary-blue);
  border-radius: 12px;
  padding: 2rem;
  background: var(--white);
  box-shadow: 0 4px 20px rgba(1, 32, 105, 0.10), 0 1px 4px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.csr-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(1, 32, 105, 0.16), 0 2px 8px rgba(0, 0, 0, 0.08);
}

.csr-card h5 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* CSR inner tile photos */
.csr-card .csr-images img {
  background: #fff;
  padding: 6px;
  border: 1px solid #ddd;
  border-radius: 0;
  box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.18);
  display: block;
}

.csr-card .csr-images {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

/* CSR bullet icons */
.bullet-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
  margin-right: 6px;
  vertical-align: middle;
}

/* ------------------------------------------------------------
   15. Partners Section
   ------------------------------------------------------------ */
.partners-marquee-wrapper {
  overflow: hidden;
  width: 100%;
}

.partners-marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: partners-scroll 40s linear infinite;
}

.partners-marquee-track:hover {
  animation-play-state: paused;
}

@keyframes partners-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.partner-logo {
  width: 150px;
  height: 120px;
  object-fit: contain;
  margin: 0 2.5rem;
  flex-shrink: 0;
}

/* ------------------------------------------------------------
   15b. Banking Partners
   ------------------------------------------------------------ */
.banking-partners-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.banking-partners-title {
  font-size: 3rem;
  color: var(--primary-blue);
  font-weight: bold;
  text-align: center;
  margin-bottom: 1.5rem;
}

.banking-logos-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
  /* constrain to roughly the width of the heading above */
  max-width: 700px;
  width: 100%;
}

.banking-logo {
  width: 140px;
  height: 80px;
  object-fit: contain;
}

@media (max-width: 768px) {
  .banking-partners-title {
    font-size: 2rem;
  }

  .banking-logos-row {
    gap: 2rem;
    max-width: 500px;
  }

  .banking-logo {
    width: 110px;
    height: 64px;
  }
}

@media (max-width: 480px) {
  .banking-logos-row {
    gap: 1.5rem;
    max-width: 100%;
  }

  .banking-logo {
    width: 90px;
    height: 52px;
  }
}

/* ------------------------------------------------------------
   16. Achievements Section
   ------------------------------------------------------------ */
.achievements-section {
  padding: 3rem 0;
}

.achievement-card {
  text-align: center;
  padding: 1.5rem;
}

.achievement-card h3 {
  font-size: 2rem;
  color: var(--primary-green);
  font-weight: bold;
}

/* ------------------------------------------------------------
   17. Leadership Page
   ------------------------------------------------------------ */
.director-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.director-card {
  text-align: center;
}

.director-card img {
  width: 220px;
  height: 280px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  object-fit: cover;
}

.advisor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.advisor-card {
  text-align: center;
}

.advisor-card img {
  width: 200px;
  height: 240px;
  border-radius: 12px;
  object-fit: cover;
}

/* ------------------------------------------------------------
   18. Commitments Page
   ------------------------------------------------------------ */
.commitments-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.commitments-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.commitment-card {
  padding: 1.5rem;
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.commitment-card:hover {
  transform: translateY(-5px);
}

/* ------------------------------------------------------------
   19. Warehousing Page
   ------------------------------------------------------------ */
.warehousing-card {
  padding: 1.5rem;
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.warehousing-card:hover {
  transform: translateY(-3px);
}

.warehousing-illustration-wrapper {
  position: absolute;
  right: 0;
  top: 0;
}

/* ------------------------------------------------------------
   20. Global Trade Page
   ------------------------------------------------------------ */
.product-list {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: scroll;
  gap: 1rem;
  padding: 1rem 0;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.product-list::-webkit-scrollbar {
  display: none;
}

.product-item {
  width: 200px;
  min-width: 200px;
  padding: 1.5rem;
  border-radius: 12px;
  background: var(--bg-light);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.arrow-btn {
  border-radius: 50%;
  width: 40px;
  height: 40px;
  background: var(--white);
  border: 1px solid #ddd;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, color 0.3s ease;
}

.arrow-btn:hover {
  background: var(--primary-blue);
  color: var(--white);
  border-color: var(--primary-blue);
}

.service-item {
  display: flex;
  background: var(--bg-lighter);
  padding: 1.5rem;
  border-radius: 8px;
  gap: 1rem;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

/* ------------------------------------------------------------
   21. Ara Nuts Page
   ------------------------------------------------------------ */
.ara-nuts-section {
  padding: 3rem 0;
}

.ara-nuts-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.ara-nuts-card:hover {
  transform: translateY(-5px);
}

/* ------------------------------------------------------------
   22. Farming Activities Page
   ------------------------------------------------------------ */
.farming-section {
  padding: 3rem 0;
}

.farming-card {
  border-radius: 12px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.farming-card:hover {
  transform: translateY(-3px);
}

/* ------------------------------------------------------------
   23. Farming Hotel (Farmers Kitchen) Page
   ------------------------------------------------------------ */
.farmers-kitchen-section {
  padding: 3rem 0;
}

.farmers-kitchen-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

/* ------------------------------------------------------------
   24. Product Promotion Center (GOM) Styles
   ------------------------------------------------------------ */
.gom-title-container {
  display: flex;
  align-items: center;
  background: var(--gom-maroon);
  padding: 2rem;
  color: var(--white);
  border-radius: 12px;
}

.gom-title-container h1 {
  font-weight: bold;
}

.gom-product-section {
  display: flex;
  gap: 2rem;
  padding: 2rem 0;
}

.gom-product-sidebar {
  min-width: 200px;
}

.gom-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  flex: 1;
}

.gom-product-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.gom-product-card:hover {
  transform: translateY(-5px);
}

.gom-why-section {
  padding: 3rem 0;
}

.gom-why-card {
  padding: 1.5rem;
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.gom-footer {
  background: var(--gom-maroon);
  color: var(--white);
  border-radius: 20px;
  padding: 2rem;
  margin: 2rem 0;
}

.gom-footer a {
  color: var(--white);
  text-decoration: underline;
}

.gom-footer a:hover {
  opacity: 0.85;
}

/* ------------------------------------------------------------
   25. News & Media Page
   ------------------------------------------------------------ */
.news-section {
  padding: 3rem 0;
}

.news-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.news-card:hover {
  transform: translateY(-3px);
}

.news-card img {
  width: 100%;
  object-fit: cover;
}

/* ------------------------------------------------------------
   26. Contact Page
   ------------------------------------------------------------ */
.contact-flex {
  display: flex;
  gap: 2rem;
}

.contact-form {
  flex: 1;
}

.contact-info {
  flex: 1;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 1rem;
  font-family: inherit;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

/* ------------------------------------------------------------
   27. Domestic Trading Page
   ------------------------------------------------------------ */
.domestic-trading-section {
  padding: 3rem 0;
}

.domestic-trading-card {
  border-radius: 12px;
  padding: 1.5rem;
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.domestic-trading-card:hover {
  transform: translateY(-3px);
}

/* ------------------------------------------------------------
   28. JS Farms Specific Styles
   ------------------------------------------------------------ */

/* JS Farms Navbar */
.jsfarms-navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1200;
  padding: 0.5rem 0;
}

/* JS Farms Hero */
.jsfarms-hero {
  height: 100vh;
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 2.5rem;
  margin-top: 5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.jsfarms-hero h1 {
  font-size: 5rem;
  font-weight: bold;
  line-height: 1.1;
}

.jsfarms-btn {
  background: var(--white);
  color: var(--jsfarms-green);
  padding: 0.5rem 1.2rem;
  border-radius: 2.5rem;
  text-decoration: none;
  display: inline-block;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.jsfarms-btn:hover {
  box-shadow: 0 0 10px rgba(62, 126, 43, 0.4);
  transform: translateY(-2px);
  color: var(--jsfarms-green);
}

/* JS Farms About */
.jsfarms-about {
  background-size: cover;
  background-position: center;
  padding: 4rem 2rem;
}

/* JS Farms Mission */
.jsfarms-mission {
  background-size: cover;
  background-position: center;
  padding: 4rem 2rem;
}

/* JS Farms Production */
.jsfarms-production {
  background-size: cover;
  background-position: center;
  padding: 4rem 2rem;
}

.jsfarms-production-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.jsfarms-production-card:hover {
  transform: translateY(-5px);
}

/* JS Farms Food (Diamond Grid) */
.jsfarms-food {
  min-height: 100vh;
  padding: 4rem 2rem;
  position: relative;
}

.jsfarms-diamond-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.jsfarms-diamond-item {
  transform: rotate(45deg);
  overflow: hidden;
  aspect-ratio: 1;
  border-radius: 12px;
}

.jsfarms-diamond-item img {
  transform: rotate(-45deg) scale(1.42);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* JS Farms Footer */
.jsfarms-footer {
  background: var(--white);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 2rem;
  gap: 1rem;
}

/* ------------------------------------------------------------
   29. JS Food Ingredients Styles
   ------------------------------------------------------------ */
.jsfood-section {
  padding: 3rem 0;
}

.jsfood-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.jsfood-card:hover {
  transform: translateY(-3px);
}

/* ------------------------------------------------------------
   30. Animations & Keyframes
   ------------------------------------------------------------ */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-15px);
  }
  60% {
    transform: translateY(-7px);
  }
}

/* Scroll-triggered animation class */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ------------------------------------------------------------
   32. Utility Classes
   ------------------------------------------------------------ */


/* Section tiles */
#who-we-are,
#solutions,
#products,
#csr,
#achi,
#part,
#banking {
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  margin: 1.5rem auto;
  max-width: 1320px;
  padding: 3rem 2rem;
  position: relative;
}

.section-border {
  display: none;
}

.text-blue {
  color: var(--primary-blue);
}

.text-green {
  color: var(--primary-green);
}

.bg-green {
  background: var(--primary-green);
}

.bg-blue {
  background: var(--primary-blue);
}

/* ------------------------------------------------------------
   33. Grass Decorations
   ------------------------------------------------------------ */
.grassc {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  z-index: 0;
  pointer-events: none;
}

.grasst {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  z-index: 1;
  pointer-events: none;
}

/* ============================================================
   31. Responsive Breakpoints
   ============================================================ */

/* --- Large screens (1200px+) --- */
@media (min-width: 1200px) {
  .hero-title {
    font-size: 3rem;
  }

  .warehousing-stagger-1 {
    margin-top: 0;
  }
  .warehousing-stagger-2 {
    margin-top: 4rem;
  }
  .warehousing-stagger-3 {
    margin-top: 8rem;
  }
  .warehousing-stagger-4 {
    margin-top: 12rem;
  }
}

/* --- Tablets & small desktops (max-width: 992px) --- */
@media (max-width: 992px) {
  .parallax-hero {
    background-attachment: scroll;
    min-height: 55vh;
  }

  .wwr-grid {
    flex-direction: column;
    gap: 2rem;
  }

  .wwr-image-col,
  .wwr-content-col {
    min-width: unset;
    width: 100%;
  }

  .wwr-image {
    max-width: 60%;
    display: block;
    margin: 0 auto;
  }

  .section-logo-side {
    display: none;
  }

  .hero-popup-img {
    width: 100%;
  }

  .gom-product-section {
    flex-direction: column;
  }

  .contact-flex {
    flex-direction: column-reverse;
  }

  .warehousing-stagger-1,
  .warehousing-stagger-2,
  .warehousing-stagger-3,
  .warehousing-stagger-4 {
    margin-top: 0;
  }

  .warehousing-illustration-wrapper {
    position: relative;
    right: auto;
    top: auto;
  }

  .jsfarms-hero h1 {
    font-size: 3rem;
  }

  #who-we-are,
  #solutions,
  #products,
  #csr,
  #achi,
  #part,
  #banking {
    padding: 2.5rem 1.5rem;
    margin: 1rem auto;
  }
}

/* --- Mobile devices (max-width: 768px) --- */
@media (max-width: 768px) {
  .parallax-hero {
    background-attachment: scroll;
    min-height: 45vh;
    margin-top: 2rem;
  }

  .navbar-main .logo-img {
    width: 140px;
  }

  .hero-subtitle {
    font-size: 3vw;
  }

  .hero-title {
    font-size: 6vw;
  }

  .wwr-card-grid {
    grid-template-columns: 1fr;
  }

  .wwr-image {
    max-width: 70%;
  }

  #who-we-are,
  #solutions,
  #products,
  #csr,
  #achi,
  #part,
  #banking {
    padding: 2rem 1rem;
    margin: 0.75rem auto;
    border-radius: 14px;
  }

  .top-image {
    width: 120px;
  }

  .director-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }

  .advisor-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }

  .director-card img {
    width: 160px;
    height: 210px;
  }

  .advisor-card img {
    width: 150px;
    height: 190px;
  }

  .product-item {
    width: 160px;
    min-width: 160px;
    padding: 1rem;
  }

  .service-item {
    flex-direction: column;
    text-align: center;
  }

  .jsfarms-hero {
    height: auto;
    min-height: 60vh;
    padding: 2rem 1rem;
    margin-top: 4rem;
  }

  .jsfarms-hero h1 {
    font-size: 2.5rem;
  }

  .jsfarms-diamond-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .jsfarms-footer {
    flex-direction: column;
    text-align: center;
  }

  .gom-title-container {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }

  .gom-footer {
    border-radius: 12px;
    padding: 1.5rem;
  }

}

/* --- Small mobile devices (max-width: 480px) --- */
@media (max-width: 480px) {
  .hero-title {
    font-size: 8vw;
  }

  .hero-subtitle {
    font-size: 3.5vw;
  }

  .section-logo {
    display: none;
  }

  .wwr-card {
    min-height: 200px;
  }

  .navbar-main .logo-img {
    width: 120px;
  }

  .director-grid {
    grid-template-columns: 1fr 1fr;
  }

  .advisor-grid {
    grid-template-columns: 1fr 1fr;
  }

  .partner-logo {
    width: 100px;
    height: 80px;
  }

  .jsfarms-hero h1 {
    font-size: 2rem;
  }

  .jsfarms-production-card {
    padding: 1rem;
  }

  .contact-flex {
    gap: 1rem;
  }


  .commitments-card-grid {
    grid-template-columns: 1fr;
  }
}
