/* ==========================================================================
   ONE FARM - DESIGN SYSTEM & CORE STYLES
   ========================================================================== */

:root {
  /* Brand Color Tokens */
  --primary-color: #03612B;
  --primary-rgb: 3, 97, 43;
  --primary-hover: #024820;
  --primary-light: #EBF7EE;
  --primary-ring: rgba(3, 97, 43, 0.25);
  
  --accent-green: #70B62C;
  --accent-yellow: #F59E0B;
  --accent-yellow-light: #FEF3C7;
  
  /* Neutrals & Typography */
  --text-main: #1A202C;
  --text-muted: #525B6A;
  --text-subtle: #94A3B8;
  --bg-white: #FFFFFF;
  --bg-subtle: #F8FAFC;
  --border-light: #E2E8F0;
  
  /* Typography */
  --font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Spacing */
  --container-max-width: 1240px;
  --nav-height: 84px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  /* Shadows & Transitions */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-nav: 0 4px 20px -2px rgba(0, 0, 0, 0.04);
  --shadow-card: 0 10px 30px -4px rgba(0, 0, 0, 0.06);
  --transition-smooth: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-white);
  color: var(--text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
  outline: none;
}

/* Container */
.container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* ==========================================================================
   NAVIGATION BAR COMPONENT
   ========================================================================== */

.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 1000;
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
  box-shadow: var(--shadow-nav);
  transition: var(--transition-smooth);
  padding: 16px 24px;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 52px;
}

/* Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  user-select: none;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 48px;
  width: auto;
  display: block;
  transition: transform 0.3s ease;
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.03);
}

/* Nav Menu with Auto Spacing between Logo and CTAs */
.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  list-style: none;
  margin: 0 auto;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 8px 2px;
  display: inline-block;
  position: relative;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--primary-color);
}

/* Active Nav State with Custom Underline */
.nav-link.active {
  color: var(--primary-color);
  font-weight: 600;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2.5px;
  background-color: var(--primary-color);
  border-radius: var(--radius-full);
  animation: slideUnderline 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideUnderline {
  from {
    width: 0;
    opacity: 0;
  }
  to {
    width: 100%;
    opacity: 1;
  }
}

/* Hide mobile auth buttons completely on desktop */
.mobile-auth-group {
  display: none;
}

/* Auth Actions */
.auth-group {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.93rem;
  font-weight: 500;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  transition: var(--transition-smooth);
  white-space: nowrap;
}

.btn-outline {
  color: var(--primary-color);
  border: 1.5px solid var(--primary-color);
  background-color: transparent;
}

.btn-outline:hover {
  background-color: var(--primary-light);
  transform: translateY(-1px);
}

.btn-primary {
  color: #FFFFFF;
  background-color: var(--primary-color);
  border: 1.5px solid var(--primary-color);
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(3, 97, 43, 0.2);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(3, 97, 43, 0.3);
}

.btn:active {
  transform: translateY(0);
}

/* Mobile Toggle Hamburger Button */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 6px;
  border-radius: var(--radius-sm);
  background: transparent;
  z-index: 1001;
}

.mobile-toggle span {
  display: block;
  height: 2.5px;
  width: 100%;
  background-color: var(--text-main);
  border-radius: var(--radius-full);
  transition: var(--transition-smooth);
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
  background-color: var(--primary-color);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
  background-color: var(--primary-color);
}

/* ==========================================================================
   HERO SECTION COMPONENT
   ========================================================================== */

.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  overflow: visible;
  padding: 120px 20px 0;
}

/* Fixed Scalable Hero Background Media */
.hero-bg-media {
  position: absolute;
  inset: 0;
  background-image: url('../Assets/Images/hero image.png');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  transform: scale(1.2);
  transform-origin: center center;
  will-change: transform;
  z-index: 0;
}

/* Atmospheric Agricultural Green Gradient Overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(2, 70, 31, 0.38) 0%,
    rgba(2, 60, 26, 0.52) 35%,
    rgba(2, 50, 22, 0.8) 70%,
    rgba(1, 40, 16, 0.96) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: auto 0;
  padding: 40px 0;
}

/* Hero Title: "The Farmers Bank" */
.hero-title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.25em;
  font-size: clamp(2.8rem, 6.2vw, 5.5rem);
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.15;
  letter-spacing: -0.015em;
  user-select: none;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.hero-text-item {
  position: relative;
  display: inline-block;
}

/* Spiral Wrapper around "Farmers" */
.spiral-highlight {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.12em;
}

.spiral-vector {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9, 0.52);
  width: 90%;
  min-width: 0;
  max-width: none;
  height: auto;
  pointer-events: none;
  z-index: 3;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.25));
  animation: floatSpiral 6s ease-in-out infinite;
}

@keyframes floatSpiral {
  0%, 100% {
    transform: translate(-50%, -50%) scale(0.9, 0.52) rotate(0deg);
  }
  50% {
    transform: translate(-50%, -51%) scale(0.96, 0.56) rotate(0.6deg);
  }
}

/* Green Spiral Keyframe Breathing Animation */
@keyframes floatSpiralGreen {
  0%, 100% {
    transform: translate(-50%, -46%) scale(1) rotate(0deg);
  }
  50% {
    transform: translate(-50%, -48%) scale(1.05, 1.03) rotate(-0.5deg);
  }
}

/* ==========================================================================
   HERO SHOWCASE MARQUEE (OVERLAPPING CAROUSEL)
   ========================================================================== */

.hero-showcase-marquee {
  position: relative;
  z-index: 15;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-top: auto;
  margin-bottom: -95px; /* Sits along bottom and extends ~30% into Section 2 */
  padding: 16px 0 24px;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  animation: marqueeScroll 42s linear infinite;
  padding: 16px 24px;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

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

@keyframes marqueeScroll {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

/* Showcase Cards (Clean Image Cards - Matching Wireframe) */
.showcase-card {
  position: relative;
  flex-shrink: 0;
  width: 320px;
  height: 200px;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22), 0 4px 10px rgba(0, 0, 0, 0.1);
  border: 2.5px solid rgba(255, 255, 255, 0.6);
  background: #FFFFFF;
  transition: transform 0.35s ease,
              box-shadow 0.35s ease,
              border-color 0.35s ease;
  will-change: transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.showcase-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

/* Smooth Hover Effect with Neutral Crisp Shadow */
.showcase-card:hover {
  transform: translateY(-4px);
  z-index: 25;
  border-color: #FFFFFF;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.35), 0 8px 20px rgba(0, 0, 0, 0.18);
}

.showcase-card:hover .showcase-img {
  transform: scale(1.08);
}

/* ==========================================================================
   BANKING SERVICES SECTION (SECTION 2)
   ========================================================================== */

.banking-services-section {
  background-color: #EDF7ED;
  padding: 170px 0 120px;
  position: relative;
  overflow: hidden;
}

.services-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 56px;
  padding: 0 35px;
  max-width: 1280px;
}

/* Left Column: Illustration */
.services-illustration-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  max-width: 480px;
}

.services-illustration-img {
  width: 100%;
  max-width: 440px;
  height: auto;
  display: block;
  filter: drop-shadow(0 14px 32px rgba(3, 97, 43, 0.09));
  transition: transform 0.4s ease, filter 0.4s ease;
  animation: floatIllustration 7s ease-in-out infinite;
}

@keyframes floatIllustration {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(0.4deg);
  }
}

.services-illustration-wrap:hover .services-illustration-img {
  transform: translateY(-8px) scale(1.02);
  filter: drop-shadow(0 20px 40px rgba(3, 97, 43, 0.16));
}

/* Right Column: Content */
.services-content {
  flex: 1.15;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  max-width: 580px;
}

.services-title {
  font-family: var(--font-family);
  font-size: clamp(2.35rem, 4.2vw, 3.75rem);
  font-weight: 700;
  color: #2D3748;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.services-title-line {
  display: block;
}

.green-spiral-highlight {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.12em;
}

.green-spiral-vector {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -46%);
  width: 140%;
  min-width: 190px;
  max-width: none;
  height: auto;
  pointer-events: none;
  z-index: 3;
  filter: drop-shadow(0 2px 6px rgba(3, 97, 43, 0.15));
  animation: floatSpiral 6s ease-in-out infinite;
}

.services-description {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: #525B6A;
  font-weight: 400;
  max-width: 530px;
}

/* ==========================================================================
   WHAT IS ONE-FARM SECTION (SECTION 3)
   ========================================================================== */

.what-is-section {
  position: relative;
  background-image: url('../Assets/Images/section3 grass background.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 120px 0;
  overflow: hidden;
}

.what-is-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  position: relative;
  z-index: 2;
}

/* Left Column: Content */
.what-is-content {
  flex: 1.15;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  max-width: 580px;
}

.what-is-title {
  font-family: var(--font-family);
  font-size: clamp(2.4rem, 4.5vw, 3.85rem);
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.2);
}

.what-is-title-line {
  display: block;
}

.yellow-spiral-highlight-3rd {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.15em;
}

.yellow-spiral-vector-3rd {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -46%);
  width: 145%;
  min-width: 230px;
  max-width: none;
  height: auto;
  pointer-events: none;
  z-index: 3;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
  animation: floatSpiral 6s ease-in-out infinite;
}

.what-is-description {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 400;
  max-width: 530px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.2);
}

/* Right Column: Growth Image */
.what-is-image-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 480px;
}

.what-is-growth-img {
  width: 100%;
  max-width: 440px;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.32), 0 0 0 1px rgba(255, 255, 255, 0.12);
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.what-is-image-wrap:hover .what-is-growth-img {
  transform: translateY(-4px) scale(1.015);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   WHAT ONE-FARM OFFERS SECTION (SECTION 4)
   ========================================================================== */

.offerings-section {
  background-color: #EDF7ED;
  padding: 110px 0 130px;
  position: relative;
  overflow: hidden;
}

.section-intro-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-color);
  background: var(--primary-light);
  border: 1px solid rgba(3, 97, 43, 0.2);
  padding: 6px 16px;
  border-radius: var(--radius-full);
}

.section-heading {
  font-family: var(--font-family);
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  font-weight: 700;
  color: #2D3748;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.section-subheading {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #525B6A;
  max-width: 680px;
}

/* Interactive Hub Layout */
.offerings-hub-wrapper {
  position: relative;
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 680px;
}

.offerings-wavy-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.guide-track {
  stroke: #00763B;
  stroke-width: 2px;
  stroke-dasharray: 6, 6;
  opacity: 0.35;
}

.wavy-beam {
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  opacity: 0;
}

.offerings-column {
  display: flex;
  flex-direction: column;
  gap: 32px;
  z-index: 2;
}

.offerings-col-left {
  flex: 1;
  max-width: 340px;
}

.offerings-col-right {
  flex: 1;
  max-width: 340px;
}

.offerings-center-graphic {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  padding: 0 20px;
}

.grass-number-img {
  width: 220px;
  height: auto;
  display: block;
  filter: drop-shadow(0 16px 32px rgba(0, 70, 30, 0.28));
  transition: transform 0.4s ease, filter 0.4s ease;
}

.offerings-center-graphic:hover .grass-number-img {
  transform: scale(1.03);
  filter: drop-shadow(0 20px 40px rgba(0, 70, 30, 0.35));
}

/* Offering Cards */
.offering-card {
  background: #00763B;
  color: #FFFFFF;
  padding: 24px 22px;
  border-radius: 14px;
  position: relative;
  box-shadow: 0 10px 24px -2px rgba(0, 70, 30, 0.22);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.offering-card:hover,
.offering-card.active-pulse {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 18px 36px -2px rgba(0, 118, 59, 0.4), 0 0 20px rgba(250, 255, 0, 0.3);
  border-color: #FAFF00;
}

.card-badge-num {
  font-size: 2.1rem;
  font-weight: 800;
  color: #FAFF00;
  line-height: 1;
  margin-bottom: 10px;
  font-family: var(--font-family);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.35;
  margin-bottom: 6px;
}

.card-desc {
  font-size: 0.875rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
}

/* ==========================================================================
   OUR FEATURES SECTION (SECTION 5)
   ========================================================================== */

.our-features-section {
  background-color: #EDF7ED;
  padding: 110px 0 130px;
  position: relative;
  overflow: hidden;
}

.features-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}

/* Left Column: Photo Image */
.features-image-wrap {
  flex: 1;
  max-width: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.features-photo-img {
  width: 100%;
  max-width: 460px;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  object-fit: cover;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.features-image-wrap:hover .features-photo-img {
  transform: translateY(-4px) scale(1.015);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.18);
}

/* Right Column: Content & 3 Interactive Cards */
.features-content {
  flex: 1.15;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  max-width: 580px;
}

.features-heading {
  font-family: var(--font-family);
  font-size: clamp(2.4rem, 4.2vw, 3.75rem);
  font-weight: 700;
  color: #2D3748;
  line-height: 1.2;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  gap: 0.25em;
}

.green-spiral-features {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.12em;
}

.green-spiral-features-vector {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -46%);
  width: 140%;
  min-width: 190px;
  max-width: none;
  height: auto;
  pointer-events: none;
  z-index: 3;
  filter: drop-shadow(0 2px 6px rgba(3, 97, 43, 0.15));
  animation: floatSpiral 6s ease-in-out infinite;
}

.features-description {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #525B6A;
  font-weight: 400;
  max-width: 540px;
}

/* 3 Interactive Feature Action Cards */
.features-cards-grid {
  display: flex;
  align-items: stretch;
  gap: 18px;
  width: 100%;
  margin-top: 12px;
}

.feature-action-card {
  flex: 1;
  background: #FFFFFF;
  border-radius: 12px;
  padding: 26px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 16px;
  border: 1.5px solid rgba(0, 118, 59, 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
}

.feature-card-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.35s ease;
}

.feature-card-svg {
  width: 56px;
  height: 56px;
  display: block;
  transition: transform 0.35s ease;
}

.feature-card-svg .icon-circle {
  fill: #00763B;
  transition: fill 0.35s ease;
}

.feature-card-svg .icon-glyph {
  fill: #FFFFFF;
  transition: fill 0.35s ease;
}

.feature-card-title {
  font-size: 0.93rem;
  font-weight: 600;
  color: #00763B;
  line-height: 1.35;
  transition: color 0.35s ease;
}

/* Hover & Active Transition to Green Fill */
.feature-action-card:hover,
.feature-action-card.active {
  background: #00763B;
  border-color: #00763B;
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 118, 59, 0.28);
}

.feature-action-card:hover .feature-card-title,
.feature-action-card.active .feature-card-title {
  color: #FFFFFF;
}

.feature-action-card:hover .feature-card-svg,
.feature-action-card.active .feature-card-svg {
  transform: scale(1.05);
}

.feature-action-card:hover .icon-circle,
.feature-action-card.active .icon-circle {
  fill: #FFFFFF;
}

.feature-action-card:hover .icon-glyph,
.feature-action-card.active .icon-glyph {
  fill: #00763B;
}

/* ==========================================================================
   WHAT ONEFARM CAN DO SECTION (SECTION 6)
   ========================================================================== */

.capabilities-section {
  background-color: #EDF7ED;
  padding: 110px 0 130px;
  position: relative;
  overflow: hidden;
}

.capabilities-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.capabilities-title {
  font-family: var(--font-family);
  font-size: clamp(2.4rem, 4.2vw, 3.75rem);
  font-weight: 700;
  color: #2D3748;
  line-height: 1.2;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.28em;
}

.green-spiral-capabilities {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.12em;
}

.green-spiral-capabilities-vector {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -46%);
  width: 140%;
  min-width: 190px;
  max-width: none;
  height: auto;
  pointer-events: none;
  z-index: 3;
  filter: drop-shadow(0 2px 6px rgba(3, 97, 43, 0.15));
  animation: floatSpiral 6s ease-in-out infinite;
}

.capabilities-subheading {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #525B6A;
  font-weight: 500;
}

/* 6 Capabilities Cards Grid */
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1240px;
  margin: 0 auto;
  align-items: start;
}

.capability-card {
  background: transparent;
  border-radius: 16px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  position: relative;
  border: 1.5px solid transparent;
  transition: background-color 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.capability-icon-wrap {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 4px;
}

.capability-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
  display: block;
}

.capability-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #2D3748;
  line-height: 1.35;
}

.capability-text-wrap {
  position: relative;
  overflow: hidden;
  max-height: 140px;
  transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
}

.capability-desc {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #525B6A;
  font-weight: 400;
}

/* Gradient Fade Overlay at bottom of truncated text */
.capability-fade-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 56px;
  background: linear-gradient(to bottom, rgba(237, 247, 237, 0) 0%, rgba(237, 247, 237, 0.95) 100%);
  pointer-events: none;
  transition: opacity 0.35s ease;
}

/* Hover / Active Expanded State */
.capability-card:hover,
.capability-card.active {
  background: #FFFFFF;
  border-color: rgba(112, 182, 44, 0.6);
  box-shadow: 0 16px 40px rgba(3, 97, 43, 0.12);
  transform: translateY(-4px);
  z-index: 10;
}

.capability-card:hover .capability-text-wrap,
.capability-card.active .capability-text-wrap {
  max-height: 480px;
}

.capability-card:hover .capability-fade-overlay,
.capability-card.active .capability-fade-overlay {
  opacity: 0;
}

/* ==========================================================================
   COMMUNITY & IMPACT STATS SECTION (SECTION 7)
   ========================================================================== */

.community-stats-section {
  position: relative;
  background-image: url('../Assets/Images/section3 grass background.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 130px 0 140px;
  overflow: hidden;
  color: #FFFFFF;
}

.community-stats-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(2, 60, 26, 0.76) 0%, rgba(1, 45, 18, 0.86) 100%);
  pointer-events: none;
  z-index: 1;
}

.community-stats-container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.community-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 64px;
  gap: 18px;
}

.community-title {
  font-family: var(--font-family);
  font-size: clamp(2.4rem, 4.4vw, 4rem);
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.2;
  letter-spacing: -0.02em;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.community-title-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.25em;
}

.yellow-spiral-community {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.12em;
}

.yellow-spiral-community-vector {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -48%);
  width: 125%;
  min-width: 220px;
  max-width: none;
  height: auto;
  pointer-events: none;
  z-index: 3;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
  animation: floatSpiral 6s ease-in-out infinite;
}

.community-subheading {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 400;
  max-width: 620px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

/* 3 Stats Cards Grid */
.community-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  width: 100%;
  max-width: 1060px;
  margin: 0 auto;
}

.stat-glass-card {
  background: rgba(3, 97, 43, 0.42);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 20px;
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  padding: 44px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: default;
}

.stat-glass-card:hover {
  background: rgba(3, 97, 43, 0.65);
  transform: translateY(-8px);
  border-color: rgba(250, 255, 0, 0.45);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.28);
}

.stat-value {
  font-size: clamp(2.8rem, 3.8vw, 3.6rem);
  font-weight: 800;
  color: #FAFF00;
  line-height: 1;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.stat-divider {
  width: 4px;
  height: 16px;
  background-color: #FAFF00;
  border-radius: 2px;
  opacity: 0.85;
}

.stat-label {
  font-size: 1.3rem;
  font-weight: 600;
  color: #FAFF00;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

/* ==========================================================================
   OUR HAPPY FARMERS SECTION (SECTION 8)
   ========================================================================== */

.happy-farmers-section {
  background-color: #EDF7ED;
  padding: 110px 0 130px;
  position: relative;
  overflow: hidden;
}

.happy-farmers-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.happy-farmers-title {
  font-family: var(--font-family);
  font-size: clamp(2.4rem, 4.2vw, 3.75rem);
  font-weight: 700;
  color: #2D3748;
  line-height: 1.2;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.28em;
}

.green-spiral-farmers {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.12em;
}

.green-spiral-farmers-vector {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -46%);
  width: 140%;
  min-width: 190px;
  max-width: none;
  height: auto;
  pointer-events: none;
  z-index: 3;
  filter: drop-shadow(0 2px 6px rgba(3, 97, 43, 0.15));
  animation: floatSpiral 6s ease-in-out infinite;
}

.happy-farmers-subheading {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #525B6A;
  font-weight: 500;
}

/* 3 Farmer Cards Grid */
.happy-farmers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1160px;
  margin: 0 auto;
  width: 100%;
}

.farmer-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  aspect-ratio: 1 / 1.12;
  background: #E2E8F0;
}

.farmer-img-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.farmer-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(100%);
  transition: transform 0.45s ease;
}

.farmer-card:hover .farmer-img,
.farmer-card.active .farmer-img {
  transform: scale(1.04);
}

.farmer-overlay-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60%;
  background: linear-gradient(to top, rgba(0, 118, 59, 0.95) 0%, rgba(0, 118, 59, 0.65) 45%, rgba(0, 118, 59, 0) 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.farmer-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}

.farmer-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.farmer-location {
  font-size: 0.95rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.92);
}

/* Active & Hovered States */
.farmer-card.active,
.farmer-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(0, 118, 59, 0.25);
}

.farmer-card.active .farmer-overlay-gradient,
.farmer-card:hover .farmer-overlay-gradient {
  opacity: 1;
}

.farmer-card.active .farmer-info,
.farmer-card:hover .farmer-info {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */

@media (max-width: 992px) {
  .mobile-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--nav-height));
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: flex-start;
    padding: 36px 28px;
    gap: 24px;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-card);
    overflow-y: auto;
  }

  .nav-menu.open {
    transform: translateX(0);
  }

  .nav-link {
    font-size: 1.2rem;
    font-weight: 600;
  }

  .nav-link.active::after {
    bottom: -6px;
  }

  .mobile-auth-group {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 12px;
    margin-top: 16px;
    padding-top: 24px;
    border-top: 1px solid var(--border-light);
  }

  .mobile-auth-group .btn {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
  }

  .desktop-auth {
    display: none;
  }

  .spiral-vector {
    width: 90%;
  }

  /* Banking Services Section Mobile/Tablet */
  .banking-services-section {
    padding: 80px 0;
  }

  .services-container {
    flex-direction: column;
    text-align: center;
    gap: 48px;
  }

  .services-content {
    align-items: center;
    text-align: center;
    max-width: 100%;
  }

  .services-illustration-wrap {
    max-width: 360px;
    width: 100%;
  }

  /* What is One-Farm Section Mobile/Tablet */
  .what-is-section {
    padding: 80px 0;
  }

  .what-is-container {
    flex-direction: column;
    text-align: center;
    gap: 32px;
  }

  .what-is-content {
    align-items: center;
    text-align: center;
    max-width: 100%;
  }

  .what-is-image-wrap {
    max-width: 380px;
    width: 100%;
  }

  /* Hero Showcase Marquee Tablet */
  .hero-showcase-marquee {
    margin-bottom: -60px;
  }

  .showcase-card {
    width: 280px;
    height: 175px;
  }

  /* Offerings Section Mobile/Tablet */
  .offerings-section {
    padding: 80px 0;
  }

  .offerings-hub-wrapper {
    flex-direction: column;
    gap: 36px;
    min-height: auto;
  }

  .offerings-wavy-svg {
    display: none;
  }

  .offerings-center-graphic {
    order: -1;
    margin-bottom: 8px;
  }

  .grass-number-img {
    width: 150px;
  }

  .offerings-column {
    width: 100%;
    max-width: 520px;
    gap: 20px;
  }

  /* Our Features Section Mobile/Tablet */
  .our-features-section {
    padding: 80px 0;
  }

  .features-container {
    flex-direction: column;
    text-align: center;
    gap: 32px;
  }

  .features-content {
    align-items: center;
    text-align: center;
    max-width: 100%;
  }

  .features-image-wrap {
    max-width: 380px;
    width: 100%;
  }

  .features-cards-grid {
    flex-wrap: wrap;
    justify-content: center;
  }

  .feature-action-card {
    min-width: 160px;
  }

  /* Capabilities Section Mobile/Tablet */
  .capabilities-section {
    padding: 80px 0;
  }

  .capabilities-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  /* Community Stats Mobile/Tablet */
  .community-stats-section {
    padding: 90px 0 100px;
  }

  .community-stats-grid {
    gap: 24px;
  }

  /* Happy Farmers Mobile/Tablet */
  .happy-farmers-section {
    padding: 80px 0;
  }

  .happy-farmers-grid {
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .hero-section {
    padding: 60px 16px 90px;
    min-height: calc(90vh - var(--nav-height));
  }

  .hero-title {
    font-size: 2.5rem;
    gap: 0.15em;
  }

  .hero-showcase-marquee {
    margin-bottom: -45px;
    padding: 10px 0 16px;
  }

  .showcase-card {
    width: 240px;
    height: 150px;
    border-radius: 12px;
  }

  .spiral-vector {
    width: 90%;
  }

  .banking-services-section {
    padding: 60px 16px;
  }

  .services-title {
    font-size: 2.1rem;
  }

  .services-description {
    font-size: 0.975rem;
    line-height: 1.7;
  }

  .services-illustration-wrap {
    max-width: 290px;
  }

  .green-spiral-vector {
    min-width: 155px;
    width: 135%;
  }

  .what-is-section {
    padding: 60px 16px;
  }

  .what-is-title {
    font-size: 2.1rem;
  }

  .what-is-description {
    font-size: 0.975rem;
    line-height: 1.7;
  }

  .yellow-spiral-vector-3rd {
    min-width: 180px;
    width: 140%;
  }

  .what-is-image-wrap {
    max-width: 300px;
  }

  .offerings-section {
    padding: 60px 16px;
  }

  .section-heading {
    font-size: 1.85rem;
  }

  .section-subheading {
    font-size: 0.95rem;
  }

  .grass-number-img {
    width: 120px;
  }

  .our-features-section {
    padding: 60px 16px;
  }

  .features-heading {
    font-size: 2.1rem;
  }

  .features-description {
    font-size: 0.975rem;
    line-height: 1.7;
  }

  .green-spiral-features-vector {
    min-width: 155px;
    width: 135%;
  }

  .features-image-wrap {
    max-width: 300px;
  }

  .features-cards-grid {
    flex-direction: column;
    width: 100%;
  }

  .feature-action-card {
    width: 100%;
    padding: 20px;
  }

  .capabilities-section {
    padding: 60px 16px;
  }

  .capabilities-title {
    font-size: 2.1rem;
  }

  .capabilities-subheading {
    font-size: 0.95rem;
  }

  .green-spiral-capabilities-vector {
    min-width: 155px;
    width: 135%;
  }

  .capabilities-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .capability-card {
    padding: 24px 18px;
  }

  .community-stats-section {
    padding: 70px 16px 80px;
  }

  .community-title {
    font-size: 2.2rem;
  }

  .community-subheading {
    font-size: 0.95rem;
  }

  .yellow-spiral-community-vector {
    min-width: 170px;
    width: 120%;
  }

  .community-stats-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    max-width: 340px;
  }

  .stat-glass-card {
    padding: 32px 20px;
  }

  .happy-farmers-section {
    padding: 60px 16px;
  }

  .happy-farmers-title {
    font-size: 2.1rem;
  }

  .happy-farmers-subheading {
    font-size: 0.95rem;
  }
}

/* ==========================================================================
   OUR TEAM SECTION (SECTION 9)
   ========================================================================== */

.team-section {
  background-color: #EDF7ED;
  padding: 100px 0 160px;
  position: relative;
  overflow: hidden;
}

.team-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
}

.team-header {
  text-align: center;
  max-width: 680px;
}

.team-title {
  font-size: clamp(2.4rem, 4.2vw, 3.4rem);
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 12px;
}

.team-spiral-highlight {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.15em;
}

.team-spiral-vector {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -46%);
  width: 140%;
  min-width: 160px;
  height: auto;
  pointer-events: none;
  z-index: 2;
  animation: floatSpiralGreen 7s ease-in-out infinite;
}

.team-subtitle {
  font-size: 1.05rem;
  color: #525B6A;
  line-height: 1.55;
}

.team-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  width: 100%;
}

.team-row-top {
  display: flex;
  justify-content: center;
  width: 100%;
}

.team-row-bottom {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  width: 100%;
  max-width: 1040px;
}

.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.team-avatar-wrap {
  position: relative;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(0, 60, 20, 0.12);
  border: 4px solid #FFFFFF;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.lead-card .team-avatar-wrap {
  width: 200px;
  height: 200px;
  box-shadow: 0 18px 40px rgba(0, 60, 20, 0.16);
  border: 4px solid #00763B;
}

.team-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.team-card:hover {
  transform: translateY(-8px);
}

.team-card:hover .team-avatar-wrap {
  box-shadow: 0 22px 48px rgba(0, 118, 59, 0.25);
  border-color: #00763B;
}

.team-card:hover .team-avatar-img {
  transform: scale(1.08);
}

.team-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.01em;
}

.team-role {
  font-size: 0.88rem;
  font-weight: 600;
  color: #00763B;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 4px;
}

.team-bio {
  font-size: 0.9rem;
  color: #525B6A;
  line-height: 1.5;
  margin-top: 10px;
  max-width: 440px;
}

/* Dedicated Team Page Hero Banner */
.team-hero-banner {
  background-color: #EDF7ED;
  padding: 80px 20px 40px;
  text-align: center;
}

.team-hero-container {
  max-width: 800px;
  margin: 0 auto;
}

.team-page-title {
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 16px;
}

.team-page-subtitle {
  font-size: 1.15rem;
  color: #525B6A;
  line-height: 1.6;
}

.team-page-section {
  padding-top: 20px;
}

/* ==========================================================================
   CONTACT US SECTION (SECTION 10)
   ========================================================================== */

.contact-section {
  background-color: #F8FDF9;
  padding: 100px 0 140px;
  position: relative;
}

.contact-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
}

.contact-header {
  text-align: center;
  max-width: 650px;
}

.contact-title {
  font-size: clamp(2.4rem, 4.2vw, 3.4rem);
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 12px;
}

.contact-spiral-highlight {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.15em;
}

.contact-spiral-vector {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -46%);
  width: 140%;
  min-width: 130px;
  height: auto;
  pointer-events: none;
  z-index: 2;
  animation: floatSpiralGreen 7s ease-in-out infinite;
}

.contact-subtitle {
  font-size: 1.05rem;
  color: #525B6A;
  line-height: 1.55;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 48px;
  width: 100%;
  max-width: 1100px;
  align-items: start;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: #FFFFFF;
  border: 1px solid rgba(0, 118, 59, 0.12);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(0, 50, 20, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-4px);
  border-color: #00763B;
  box-shadow: 0 14px 32px rgba(0, 118, 59, 0.12);
}

.contact-icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #EBF7EE;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 4px;
}

.contact-card-text {
  font-size: 0.9rem;
  color: #525B6A;
  line-height: 1.5;
}

.contact-form-panel {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 36px 40px;
  border: 1px solid rgba(0, 118, 59, 0.12);
  box-shadow: 0 16px 40px rgba(0, 50, 20, 0.06);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: #1E293B;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid #E2E8F0;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  background: #FFFFFF;
  color: #1E293B;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #00763B;
  box-shadow: 0 0 0 3px rgba(0, 118, 59, 0.12);
}

.form-group textarea {
  resize: vertical;
}

.btn-submit-contact {
  align-self: flex-start;
  padding: 14px 36px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0, 118, 59, 0.25);
  cursor: pointer;
  transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn-submit-contact:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 118, 59, 0.35);
}

/* ==========================================================================
   FLOATING NEWSLETTER / CTA SECTION
   ========================================================================== */

/* ==========================================================================
   FLOATING NEWSLETTER / CTA SECTION
   ========================================================================== */

.cta-floating-wrap {
  position: relative;
  margin-top: -65px;
  z-index: 20;
  padding: 0 20px;
}

.cta-newsletter-card {
  background: #FFFFFF;
  border-radius: 22px;
  box-shadow: 0 20px 50px rgba(0, 40, 15, 0.08);
  padding: 34px 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border: 1.5px solid #D7EDE2;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.cta-newsletter-card:hover {
  box-shadow: 0 24px 60px rgba(0, 118, 59, 0.12);
  transform: translateY(-2px);
}

.cta-title {
  font-size: 1.55rem;
  font-weight: 700;
  color: #2D3748;
  letter-spacing: -0.015em;
  margin-bottom: 6px;
}

.cta-subtitle {
  font-size: 0.95rem;
  color: #718096;
}

.cta-newsletter-form {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  max-width: 440px;
}

.newsletter-input {
  flex: 1;
  padding: 12px 18px;
  border: 1px solid #CBD5E1;
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  background: #FFFFFF;
  color: #1E293B;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.newsletter-input:focus {
  border-color: #00763B;
  box-shadow: 0 0 0 3px rgba(0, 118, 59, 0.15);
}

.btn-newsletter {
  background-color: #00763B;
  color: #FFFFFF;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(0, 118, 59, 0.25);
  white-space: nowrap;
}

.btn-newsletter:hover {
  background-color: #0A6034;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 118, 59, 0.35);
}

/* ==========================================================================
   SITE FOOTER
   ========================================================================== */

.site-footer {
  background-color: #00763B;
  color: #FFFFFF;
  padding: 120px 0 60px;
  position: relative;
  overflow: hidden;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.35fr 0.7fr 0.85fr 1.6fr;
  gap: 36px;
  align-items: start;
}

.footer-col-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-motto {
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.4;
  margin-bottom: 24px;
  max-width: 320px;
}

.footer-logo-wrap {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 48px;
}

.footer-logo-icon {
  width: 44px;
  height: 44px;
  display: block;
}

.footer-logo-text {
  font-size: 1.65rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.02em;
}

.footer-copyright {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
}

.footer-copy-link {
  color: #FFFFFF;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-copy-link:hover {
  color: #FAFF00;
}

.footer-links-group {
  display: contents;
}

.footer-col-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 22px;
}

.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-link {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.2s, transform 0.2s;
  display: inline-block;
}

.footer-link:hover {
  color: #FFFFFF;
  text-decoration: underline;
  transform: translateX(3px);
}

/* Testimonial Bubble Card in Footer */
.footer-col-testimonial {
  width: 100%;
}

.testimonial-bubble-card {
  background: #14804C;
  border-radius: 20px;
  padding: 26px 24px 20px;
  box-shadow: 0 12px 30px rgba(0, 35, 12, 0.15);
}

.speech-bubble-body {
  background: #FFFFFF;
  color: #4A5568;
  border-radius: 12px;
  padding: 20px 22px;
  position: relative;
  font-size: 0.84rem;
  line-height: 1.6;
  margin-bottom: 22px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.speech-bubble-body::after {
  content: '';
  position: absolute;
  bottom: -13px;
  left: 42px;
  border-width: 13px 13px 0;
  border-style: solid;
  border-color: #FFFFFF transparent;
  display: block;
  width: 0;
}

.testimonial-quote {
  color: #4A5568;
  font-size: 0.84rem;
  line-height: 1.65;
}

.testimonial-author-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 24px;
  margin-bottom: 14px;
}

.testimonial-author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.testimonial-author-meta {
  display: flex;
  flex-direction: column;
}

.testimonial-author-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: #FFFFFF;
  line-height: 1.3;
}

.testimonial-author-role {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
}

.testimonial-dots {
  display: flex;
  gap: 6px;
  margin-top: 14px;
  justify-content: center;
  align-items: center;
}

.testimonial-dots .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.25s ease;
}

.testimonial-dots .dot.active {
  background: #FFFFFF;
  width: 16px;
  border-radius: 6px;
}

/* ==========================================================================
   RESPONSIVE OVERRIDES FOR TEAM & FOOTER
   ========================================================================== */

@media (max-width: 992px) {
  .team-row-bottom {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .cta-newsletter-card {
    flex-direction: column;
    text-align: center;
    padding: 32px 28px;
  }

  .cta-newsletter-form {
    width: 100%;
    max-width: 100%;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-links-group {
    justify-content: flex-start;
    gap: 60px;
  }
}

@media (max-width: 640px) {
  .team-row-bottom {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .team-avatar-wrap {
    width: 150px;
    height: 150px;
  }

  .lead-card .team-avatar-wrap {
    width: 170px;
    height: 170px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contact-form-panel {
    padding: 24px 20px;
  }

  .cta-newsletter-form {
    flex-direction: column;
    gap: 12px;
  }

  .newsletter-input,
  .btn-newsletter {
    width: 100%;
  }

  .footer-links-group {
    flex-direction: column;
    gap: 28px;
  }
}

/* ==========================================================================
   MARKETPLACE PAGE STYLES (market.html)
   ========================================================================== */

.market-page-body {
  background-color: #EDF7ED;
}

.market-main-content {
  padding: 40px 0 100px;
}

.market-layout-container {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;
}

/* Header User Profile Button */
.header-profile-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px 4px 4px;
  border-radius: 30px;
  background: #FFFFFF;
  border: 1.5px solid rgba(0, 118, 59, 0.3);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.25s ease;
}

.header-profile-btn:hover {
  border-color: #00763B;
  box-shadow: 0 4px 14px rgba(0, 118, 59, 0.15);
}

.profile-avatar-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #00763B;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chevron-icon {
  display: block;
}

/* Sidebar Search */
.market-search-form {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.search-input-wrapper {
  position: relative;
  flex: 1;
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.market-search-input {
  width: 100%;
  padding: 12px 14px 12px 40px;
  border: 1.5px solid #D1D5DB;
  border-radius: 8px;
  background: #FFFFFF;
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  color: #1E293B;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.market-search-input:focus {
  border-color: #00763B;
  box-shadow: 0 0 0 3px rgba(0, 118, 59, 0.15);
}

.btn-market-search {
  background-color: #00763B;
  color: #FFFFFF;
  padding: 12px 22px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.2s;
  box-shadow: 0 4px 12px rgba(0, 118, 59, 0.2);
}

.btn-market-search:hover {
  background-color: #0A6034;
  transform: translateY(-1px);
}

/* Sidebar Category List */
.market-categories-card {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 12px 0;
  border: 1px solid rgba(0, 118, 59, 0.1);
  box-shadow: 0 6px 20px rgba(0, 40, 15, 0.04);
}

.market-category-list {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.category-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 22px;
  cursor: pointer;
  font-size: 0.95rem;
  color: #334155;
  font-weight: 500;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
  user-select: none;
}

.category-item:hover {
  background: #F1F9F4;
  color: #00763B;
}

.category-item.active {
  background: #EAF6EE;
  color: #00763B;
  font-weight: 700;
  border-left-color: #00763B;
}

.category-icon {
  font-size: 1.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.category-name {
  font-size: 0.95rem;
}

/* Right Products Grid */
.market-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.market-product-card {
  background: #FFFFFF;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}

.market-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.16), 0 6px 14px rgba(0, 0, 0, 0.08);
  border-color: #00763B;
}

.product-img-wrap {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #E2E8F0;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.market-product-card:hover .product-img {
  transform: scale(1.06);
}

.product-info-wrap {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #FFFFFF;
}

.product-header-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.product-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #111827;
}

.product-price {
  font-size: 1.05rem;
  font-weight: 700;
  color: #111827;
}

.product-quantity-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  color: #64748B;
}

.quantity-value {
  font-weight: 700;
  color: #111827;
}

/* Marketplace Responsive Media Queries */
@media (max-width: 1024px) {
  .market-layout-container {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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

@media (max-width: 640px) {
  .market-products-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   PRODUCT DETAILS PAGE STYLES (product-details.html)
   ========================================================================== */

.product-details-main {
  padding: 40px 0 100px;
}

.product-details-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: start;
}

/* Left Column: Gallery */
.product-gallery-layout {
  display: flex;
  gap: 14px;
  align-items: stretch;
}

.gallery-main-view {
  flex: 1;
  min-height: 480px;
  height: 480px;
  background: #FFFFFF;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);
}

.gallery-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.gallery-thumb-strip {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 76px;
}

.thumb-btn {
  width: 76px;
  height: 71px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  background: #FFFFFF;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.thumb-btn.active,
.thumb-btn:hover {
  border-color: #00763B;
  box-shadow: 0 0 0 2px rgba(0, 118, 59, 0.3);
  transform: scale(1.03);
}

/* Right Column: Details Content */
.product-details-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.detail-card {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 24px 28px;
  border: 1px solid rgba(0, 118, 59, 0.1);
  box-shadow: 0 4px 18px rgba(0, 40, 15, 0.04);
}

.product-header-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.detail-product-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1E293B;
  margin-bottom: 6px;
}

.detail-qty-label {
  font-size: 0.95rem;
  color: #64748B;
}

.detail-price-col {
  text-align: right;
}

.detail-product-price {
  font-size: 1.85rem;
  font-weight: 700;
  color: #1E293B;
  margin-bottom: 6px;
}

.detail-qty-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1E293B;
}

.product-desc-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.detail-section-heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1E293B;
}

.detail-desc-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #64748B;
}

.see-all-link {
  color: #00763B;
  font-weight: 700;
  text-decoration: none;
  margin-left: 4px;
}

.see-all-link:hover {
  text-decoration: underline;
}

.product-seller-card {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.seller-profile-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.seller-avatar-placeholder {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #CBD5E1;
  flex-shrink: 0;
}

.seller-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1E293B;
  margin-bottom: 4px;
}

.seller-subtext {
  font-size: 0.9rem;
  color: #64748B;
}

.seller-actions-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.btn-seller-message {
  background: #FFFFFF;
  color: #00763B;
  border: 1.5px solid #00763B;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.btn-seller-message:hover {
  background: #F1F9F4;
  transform: translateY(-1px);
}

.btn-seller-call {
  background: #00763B;
  color: #FFFFFF;
  border: 1.5px solid #00763B;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 118, 59, 0.2);
}

.btn-seller-call:hover {
  background: #0A6034;
  transform: translateY(-1px);
}

/* Product Details Responsive */
@media (max-width: 992px) {
  .product-details-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .gallery-main-view {
    height: 380px;
    min-height: 380px;
  }
}

@media (max-width: 640px) {
  .product-gallery-layout {
    flex-direction: column-reverse;
  }

  .gallery-thumb-strip {
    flex-direction: row;
    width: 100%;
    overflow-x: auto;
  }

  .thumb-btn {
    flex-shrink: 0;
    width: 60px;
    height: 56px;
  }

  .gallery-main-view {
    height: 280px;
    min-height: 280px;
  }

  .product-header-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .detail-price-col {
    text-align: left;
  }
}
