/* ==========================================================================
   HANGAL COFFEE - Comprehensive Stylesheet
   Crafted with Base Color: #009034 (Hangal Forest Green)
   ========================================================================== */

:root {
  /* Brand Green Identity (#009034) */
  --color-brand-base: #009034;
  --color-brand-light: #12b74b;
  --color-brand-bright: #3ae076;
  --color-forest: #009034;

  /* Deep Botanical Canvas Backgrounds */
  --color-espresso: #061309;
  --color-dark-roast: #0a1c0e;
  --color-roast-surface: #0f2715;

  /* Soft Light Text and Surfaces */
  --color-cream: #f4faf5;
  --color-cream-soft: #e0eee4;
  --color-text-muted: #95b39d;

  /* Translucent Overlays & Borders */
  --color-glass-border: rgba(0, 144, 52, 0.32);
  --border-subtle: rgba(255, 255, 255, 0.08);

  /* Typography */
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Transitions & Shadows */
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-elevated: 0 20px 45px rgba(0, 0, 0, 0.55);
  --shadow-brand: 0 10px 25px rgba(0, 144, 52, 0.35);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-espresso);
  color: var(--color-cream);
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Headings (H1, H2, H3): Classic, readable serif font Playfair Display */
h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: #ffffff;
}

h1 {
  line-height: 1.15;
}

h2 {
  line-height: 1.22;
}

h3 {
  line-height: 1.28;
}

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

section[id] {
  scroll-margin-top: 90px;
}

/* Containers & Layout */
.container {
  max-width: calc(1380px + 4rem);
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

.section-padding {
  padding: 6.5rem 0;
}

/* Section Header Typography */
.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 4rem auto;
}

.section-badge,
.section-badge.badge-green {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.25rem;
  background: linear-gradient(135deg, var(--color-brand-base) 0%, var(--color-brand-light) 100%);
  border: 1px solid var(--color-brand-bright);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 144, 52, 0.35);
  margin-bottom: 1.25rem;
}

.section-badge span,
.section-badge.badge-green span {
  color: #ffffff;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.section-title span {
  color: var(--color-brand-bright); /* #3ae076 */
}

.section-subtitle {
  font-size: 1.08rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ==========================================================================
   Navigation Bar
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.15rem 2rem;
  background: rgba(249, 246, 240, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 144, 52, 0.15);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: var(--transition-smooth);
}

.site-header.scrolled {
  padding: 0.8rem 2rem;
  background: rgba(249, 246, 240, 0.98);
  border-bottom: 1px solid rgba(0, 144, 52, 0.22);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.nav-container {
  max-width: 1380px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.brand-logo-link:hover {
  transform: translateY(-1px);
}

.brand-logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: none;
  transition: transform 0.3s ease;
}

.brand-logo-link:hover .brand-logo-img {
  transform: scale(1.02);
  filter: none;
}

.site-header.scrolled .brand-logo-img {
  height: 44px;
}

.footer-brand .brand-logo-link {
  display: inline-flex;
  margin-bottom: 0.75rem;
  background: none;
  padding: 0;
  box-shadow: none;
}

.footer-brand .brand-logo-link .brand-logo-img {
  height: 52px;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  color: #122a1a;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  position: relative;
  padding: 0.35rem 0;
  transition: color 0.25s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  background: linear-gradient(90deg, var(--color-brand-base), var(--color-brand-bright));
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 2px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-brand-base);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-cta-group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.btn-header-contact {
  padding: 0.65rem 1.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-brand-base) 0%, var(--color-brand-light) 100%);
  border: 1px solid var(--color-brand-bright);
  border-radius: 30px;
  text-decoration: none;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 14px rgba(0, 144, 52, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-header-contact:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 144, 52, 0.5);
  background: linear-gradient(135deg, #00a53c 0%, #20c85c 100%);
  color: #ffffff;
}

/* Mobile Hamburger */
.mobile-nav-toggle {
  display: none;
  background: rgba(0, 144, 52, 0.08);
  border: 1px solid rgba(0, 144, 52, 0.25);
  width: 44px;
  height: 44px;
  border-radius: 8px;
  cursor: pointer;
  padding: 10px;
  flex-direction: column;
  justify-content: space-around;
  transition: var(--transition-smooth);
  z-index: 1001;
}

.mobile-nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #122a1a;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.mobile-nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-drawer-cta {
  display: none;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 7.5rem 2rem 4rem 2rem;
  overflow: hidden;
  background-color: var(--color-espresso);
}

.hero-bg-container {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.hero-bg-picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
  transform: scale(1.04);
  filter: brightness(0.96) contrast(1.04);
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  /* Covers only 60% from the left to ensure headline legibility, leaving the jute bag and cherries on the right 40% fully clear */
  background: linear-gradient(
    90deg, 
    rgba(6, 19, 9, 0.96) 0%, 
    rgba(6, 19, 9, 0.90) 30%, 
    rgba(6, 19, 9, 0.65) 45%, 
    rgba(6, 19, 9, 0.20) 55%, 
    transparent 60%,
    transparent 100%
  );
  pointer-events: none;
}

.hero-steam-container {
  position: absolute;
  right: 48%;
  bottom: 22%;
  width: 80px;
  height: 120px;
  z-index: 3;
  pointer-events: none;
  opacity: 0.45;
}

.steam-particle {
  position: absolute;
  bottom: 0;
  width: 16px;
  height: 50px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  filter: blur(8px);
  animation: floatSteam 4s infinite linear;
}

.steam-particle:nth-child(2) {
  left: 20px;
  animation-delay: 1.3s;
  animation-duration: 4.8s;
}

.steam-particle:nth-child(3) {
  left: 40px;
  animation-delay: 2.6s;
  animation-duration: 5.2s;
}

@keyframes floatSteam {
  0% { transform: translateY(0) scaleX(0.7); opacity: 0; }
  25% { opacity: 0.6; }
  50% { transform: translateY(-40px) scaleX(1.4) skewX(6deg); opacity: 0.4; }
  100% { transform: translateY(-90px) scaleX(2.2) skewX(-12deg); opacity: 0; }
}

.hero-wrapper {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
}

.hero-grid {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
}

.hero-content {
  max-width: 780px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Hero Entrance Keyframes */
@keyframes heroBadgeReveal {
  0% {
    opacity: 0;
    transform: translateY(-16px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroLineReveal {
  0% {
    transform: translateY(115%);
    opacity: 0;
    filter: blur(6px);
  }
  100% {
    transform: translateY(0);
    opacity: 1;
    filter: blur(0);
  }
}

@keyframes heroFadeSlide {
  0% {
    opacity: 0;
    transform: translateY(22px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroEmeraldPulse {
  0%, 100% {
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.65), 0 0 0px rgba(58, 224, 118, 0);
  }
  50% {
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.65), 0 0 20px rgba(58, 224, 118, 0.45), 0 0 35px rgba(58, 224, 118, 0.2);
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 1rem;
  background: rgba(0, 144, 52, 0.18);
  border: 1px solid rgba(0, 144, 52, 0.42);
  border-radius: 50px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  width: fit-content;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  animation: heroBadgeReveal 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.05s both;
}

.badge-icon-leaf {
  color: var(--color-brand-bright);
  display: flex;
  align-items: center;
  font-size: 1rem;
}

.badge-text {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-brand-bright);
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 3.8vw, 3.65rem);
  font-weight: 700;
  line-height: 1.18;
  color: #ffffff;
  letter-spacing: -0.015em;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.65);
}

.hero-title-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.12em;
  margin-bottom: -0.12em;
}

.hero-line-inner {
  display: block;
  transform: translateY(115%);
  opacity: 0;
  filter: blur(6px);
  animation: heroLineReveal 0.95s cubic-bezier(0.16, 1, 0.3, 1) both;
  will-change: transform, opacity, filter;
}

.hero-title-line.line-1 .hero-line-inner {
  animation-delay: 0.18s;
}

.hero-title-line.line-2 .hero-line-inner {
  animation-delay: 0.40s;
}

.hero-headline .highlight-word {
  display: inline-block;
  white-space: nowrap;
  color: var(--color-brand-bright); /* Plain Vibrant Emerald Green #3ae076 - NO gradients */
  font-style: italic;
  padding-right: 0.1em;
  animation: heroEmeraldPulse 4.5s ease-in-out 1.5s infinite;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.25vw, 1.22rem);
  color: var(--color-cream-soft);
  font-weight: 400;
  line-height: 1.7;
  max-width: 600px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
  animation: heroFadeSlide 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.62s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.2rem;
  margin-top: 0.5rem;
  animation: heroFadeSlide 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.82s both;
}

.btn-primary {
  padding: 0.95rem 2rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-brand-base) 0%, var(--color-brand-light) 100%);
  border: 1px solid var(--color-brand-bright);
  border-radius: 40px;
  box-shadow: var(--shadow-brand);
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 144, 52, 0.55);
  background: linear-gradient(135deg, #00a53c 0%, #20c85c 100%);
  color: #ffffff;
}

.btn-primary svg {
  transition: transform 0.25s ease;
}

.btn-primary:hover svg {
  transform: translateX(4px);
}

.btn-secondary {
  padding: 0.95rem 1.85rem;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-decoration: none;
  color: var(--color-cream);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 40px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.btn-secondary:hover {
  background: rgba(0, 144, 52, 0.2);
  border-color: var(--color-brand-base);
  color: #fff;
  transform: translateY(-2px);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  max-width: 440px;
  gap: 1.5rem;
  margin-top: 1.75rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  animation: heroFadeSlide 0.85s cubic-bezier(0.16, 1, 0.3, 1) 1.02s both;
}

.metric-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.metric-value {
  font-family: var(--font-serif);
  font-size: 1.95rem;
  font-weight: 700;
  color: var(--color-brand-bright);
  line-height: 1.1;
  display: flex;
  align-items: baseline;
  gap: 0.2rem;
}

.metric-plus {
  color: var(--color-brand-base);
  font-size: 1.4rem;
}

.metric-label {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}


.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--color-text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  transition: color 0.3s ease;
}

.hero-scroll-indicator:hover {
  color: var(--color-brand-bright);
}

.mouse-icon {
  width: 22px;
  height: 36px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 18px;
  position: relative;
  display: flex;
  justify-content: center;
}

.mouse-wheel {
  width: 4px;
  height: 7px;
  background-color: var(--color-brand-base);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  animation: mouseWheel 2s infinite ease-in-out;
}

@keyframes mouseWheel {
  0% { opacity: 1; transform: translateY(0); }
  80% { opacity: 0; transform: translateY(12px); }
  100% { opacity: 0; transform: translateY(0); }
}

/* ==========================================================================
   Section 2: Indian Coffee Origin & History (Light Contrast Section)
   ========================================================================== */
.origin-section {
  background-color: #F9F6F0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(0, 144, 52, 0.15);
  border-bottom: 1px solid rgba(0, 144, 52, 0.15);
}

.origin-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: -5%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(0, 144, 52, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.origin-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 4rem;
  align-items: center;
}

.origin-visual-wrap {
  position: relative;
}

.origin-section .vintage-map-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 45px rgba(18, 42, 26, 0.12), 0 2px 8px rgba(0, 0, 0, 0.04);
  border: 2px solid rgba(0, 144, 52, 0.28);
  background: #f4ede1;
  cursor: pointer;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
  will-change: transform;
}

.origin-section .vintage-map-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 55px rgba(18, 42, 26, 0.18), 0 0 25px rgba(0, 144, 52, 0.25);
  border-color: var(--color-brand-base);
}

.map-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.vintage-map-frame:hover .map-img {
  transform: scale(1.03);
}


.origin-section .section-title {
  color: #112517;
}

.origin-section .section-title span {
  color: var(--color-brand-base); /* #009034 - Deeper emerald green for clear contrast on light background */
}

.origin-text-block p {
  color: #314436;
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.35rem;
}

.origin-text-block strong {
  color: #0c1e12;
  font-weight: 700;
}


/* ==========================================================================
   Section 3: About Us & Heritage (HCEP)
   ========================================================================== */
.about-section {
  background-color: var(--color-espresso);
  position: relative;
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 4.5rem;
  align-items: stretch;
}

.about-content-left p {
  color: var(--color-cream-soft);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.4rem;
}

.heritage-card-highlight {
  margin-top: 2rem;
  padding: 1.75rem;
  background: linear-gradient(135deg, rgba(0, 144, 52, 0.2) 0%, rgba(6, 19, 9, 0.65) 100%);
  border-left: 4px solid var(--color-brand-base);
  border-radius: 0 16px 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.35s ease, border-left-color 0.35s ease, box-shadow 0.35s ease;
}

.heritage-card-highlight:hover {
  transform: translateX(6px);
  border-left-color: var(--color-brand-bright);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45), 0 0 22px rgba(58, 224, 118, 0.15);
}

.heritage-card-highlight h4 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--color-brand-bright);
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.heritage-card-highlight p {
  font-size: 0.95rem;
  color: var(--color-cream-soft);
  margin-bottom: 0;
  line-height: 1.65;
}

.about-features-visual {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 3.25rem;
  height: 100%;
}

.about-visual-card {
  background: var(--color-roast-surface);
  border: 1px solid var(--color-glass-border);
  border-radius: 18px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.4s ease, 
              box-shadow 0.4s ease, 
              background 0.4s ease;
}

.about-visual-card.revealed {
  transition-delay: 0s !important;
}

.about-section .about-visual-card:hover,
.about-visual-card.revealed:hover {
  transform: translateY(-8px) scale(1.015) !important;
  border-color: rgba(58, 224, 118, 0.6);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(58, 224, 118, 0.22);
  transition-delay: 0s !important;
}

/* Light beam sweep along top border on hover */
.about-visual-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--color-brand-bright) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: 2;
}

.about-visual-card:hover::before {
  transform: translateX(0);
}

/* Soft emerald ambient spotlight inside card */
.about-visual-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(58, 224, 118, 0.12) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  border-radius: inherit;
  z-index: 1;
}

.about-visual-card:hover::after {
  opacity: 1;
}

.about-card-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(0, 144, 52, 0.18);
  border: 1px solid rgba(0, 144, 52, 0.38);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-brand-bright);
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 2;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              background 0.35s ease, 
              border-color 0.35s ease, 
              box-shadow 0.35s ease, 
              color 0.35s ease;
}

.about-visual-card:hover .about-card-icon {
  transform: translateY(-3px) scale(1.1) rotate(5deg);
  background: var(--color-brand-base);
  border-color: var(--color-brand-bright);
  color: #ffffff;
  box-shadow: 0 0 22px rgba(58, 224, 118, 0.45);
}

.about-card-icon svg {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-visual-card:hover .about-card-icon svg {
  transform: scale(1.1);
}

.about-visual-card h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--color-brand-bright);
  margin-bottom: 0.65rem;
  position: relative;
  z-index: 2;
  transition: text-shadow 0.35s ease;
}

.about-visual-card:hover h3 {
  text-shadow: 0 0 16px rgba(58, 224, 118, 0.35);
}

.about-visual-card p {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   Section 4: Accreditations & Global Export Partners (Light Contrast Section)
   ========================================================================== */
.accreditations-section {
  position: relative;
  background-color: #F9F6F0;
  border-top: 1px solid rgba(0, 144, 52, 0.15);
  border-bottom: 1px solid rgba(0, 144, 52, 0.15);
  overflow: hidden;
}

.accreditations-bg-parallax {
  position: absolute;
  top: -20%;
  left: 0;
  width: 100%;
  height: 140%;
  background-image: 
    linear-gradient(180deg, rgba(249, 246, 240, 0.93) 0%, rgba(249, 246, 240, 0.96) 100%),
    url('../images/backgrounds_if_needed/map-coffee-beans-world-map-wooden-surface.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}

.accreditations-section .container {
  position: relative;
  z-index: 1;
}


.accreditations-section .section-title {
  color: #112517;
}

.accreditations-section .section-title span {
  color: var(--color-brand-base); /* #009034 - Deeper emerald green for clear contrast on light background */
}

.accreditations-section .section-subtitle {
  color: #435749;
}

.certificate-showcase-box {
  background: var(--color-roast-surface);
  border: 1px solid var(--color-glass-border);
  border-radius: 24px;
  padding: 3rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 30px rgba(0, 144, 52, 0.2);
  margin-bottom: 4.5rem;
  transition: var(--transition-smooth);
}

.certificate-showcase-box:hover {
  border-color: var(--color-brand-base);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.65), 0 0 35px rgba(0, 144, 52, 0.3);
}

.cert-content h3 {
  font-family: var(--font-serif);
  font-size: 2.1rem;
  color: #ffffff;
  margin-bottom: 1rem;
  line-height: 1.25;
}

.cert-content p {
  font-size: 1.05rem;
  color: var(--color-cream-soft);
  line-height: 1.75;
  margin-bottom: 1.75rem;
}

.cert-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.cert-pill {
  padding: 0.5rem 1.1rem;
  background: rgba(0, 144, 52, 0.2);
  border: 1px solid rgba(58, 224, 118, 0.4);
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-brand-bright);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.cert-pill svg {
  color: var(--color-brand-bright);
}

.certificate-showcase-box .btn-primary {
  padding: 0.95rem 2rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-brand-base) 0%, var(--color-brand-light) 100%);
  border: 1px solid var(--color-brand-bright);
  border-radius: 40px;
  box-shadow: var(--shadow-brand);
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.certificate-showcase-box .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 144, 52, 0.55);
  background: linear-gradient(135deg, #00a53c 0%, #20c85c 100%);
  color: #ffffff;
}

.cert-image-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  background: #ffffff;
  transition: box-shadow 0.35s ease, border-color 0.35s ease;
  will-change: transform;
}

.cert-image-frame:hover {
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.75), 0 0 30px rgba(0, 144, 52, 0.35);
  border-color: var(--color-brand-base);
}

.cert-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.cert-image-frame:hover .cert-img {
  transform: scale(1.035);
}

.cert-zoom-btn {
  position: absolute;
  inset: 0;
  background: rgba(6, 19, 9, 0.65);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  gap: 0.6rem;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(4px);
}

.cert-image-frame:hover .cert-zoom-btn {
  opacity: 1;
}

.partners-block {
  text-align: center;
}

.partners-title {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #007028;
  margin-bottom: 2rem;
}

.partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
}

.partner-chip {
  padding: 0.85rem 1.75rem;
  background: #ffffff;
  border: 1px solid rgba(0, 144, 52, 0.22);
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  color: #1a3321;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 15px rgba(18, 42, 26, 0.05);
  transition: var(--transition-smooth);
}

.partner-chip:hover {
  background: var(--color-brand-base);
  border-color: var(--color-brand-base);
  color: #ffffff;
  box-shadow: 0 8px 25px rgba(0, 144, 52, 0.3);
  transform: translateY(-2px);
}

/* ==========================================================================
   Section 5 & 6: Products Offered & Grading Matrix
   ========================================================================== */
.products-section {
  background-color: var(--color-espresso);
  position: relative;
}

.products-matrix-wrapper {
  background: var(--color-roast-surface);
  border: 1px solid var(--color-glass-border);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: var(--shadow-elevated);
  margin-bottom: 0;
  position: relative;
}

.matrix-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

.matrix-header h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: #fff;
}

/* Category Filter Tabs & Swipe Hint - Hidden on Desktop */
.matrix-filter-tabs {
  display: none;
}

.matrix-scroll-hint {
  display: none;
}

.matrix-table-container {
  overflow-x: auto;
}

.coffee-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  min-width: 650px;
}

.coffee-table th {
  background: rgba(0, 144, 52, 0.28);
  color: var(--color-brand-bright);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 1rem 0.8rem;
  border: 1px solid rgba(0, 144, 52, 0.25);
}

.coffee-table td {
  padding: 0.9rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.95rem;
  color: var(--color-cream-soft);
}

.coffee-table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
}

.coffee-table tbody tr:hover {
  background: rgba(0, 144, 52, 0.12);
}

.grade-name {
  font-weight: 700;
  color: var(--color-brand-bright);
  text-align: left;
  padding-left: 1.25rem !important;
}

.check-yes {
  color: #2ed573;
  font-size: 1.2rem;
  font-weight: bold;
}

.check-no {
  color: #ff4757;
  font-size: 1.1rem;
  opacity: 0.7;
}

/* Standards Grids */
.standards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 3rem;
}

.standard-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 2rem;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.4s ease,
              box-shadow 0.4s ease,
              background 0.4s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.standard-card:hover {
  background: rgba(0, 144, 52, 0.08);
  border-color: rgba(0, 144, 52, 0.45);
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.standard-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(0, 144, 52, 0.2);
  border: 1px solid rgba(0, 144, 52, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-brand-bright);
  margin-bottom: 1.25rem;
}

.standard-card h4 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--color-brand-bright);
  margin-bottom: 0.6rem;
}

.standard-card p {
  font-size: 0.92rem;
  color: #ffffff;
  line-height: 1.6;
}

/* ==========================================================================
   Section 6: Value Addition by HCEP (Light Contrast Section)
   ========================================================================== */
.value-addition-section {
  position: relative;
  background-color: #F9F6F0;
  border-top: 1px solid rgba(0, 144, 52, 0.15);
  border-bottom: 1px solid rgba(0, 144, 52, 0.15);
  overflow: hidden;
}

.value-addition-bg-parallax {
  position: absolute;
  top: -20%;
  left: 0;
  width: 100%;
  height: 140%;
  background-image: 
    linear-gradient(180deg, rgba(249, 246, 240, 0.92) 0%, rgba(249, 246, 240, 0.96) 100%),
    url('../images/backgrounds_if_needed/bowl-full-of-green-coffee-beans-02.webp');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}

.value-addition-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 40%, rgba(0, 144, 52, 0.07) 0%, transparent 65%);
  pointer-events: none;
  z-index: 1;
}

.value-addition-section .container {
  position: relative;
  z-index: 2;
}

.value-addition-section .section-title {
  color: #112517;
}

.value-addition-section .section-title span {
  color: var(--color-brand-base); /* #009034 - Deeper emerald green for clear contrast on light background */
}

.value-addition-section .section-subtitle {
  color: #435749;
}

.value-addition-section .standard-card {
  background: var(--color-roast-surface);
  border: 1px solid var(--color-glass-border);
  border-radius: 18px;
  padding: 2rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.4s ease,
              box-shadow 0.4s ease,
              background 0.4s ease;
}

.value-addition-section .standard-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-brand-base);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 144, 52, 0.25);
}

.value-addition-section .standard-card h4 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--color-brand-bright);
  margin-bottom: 0.65rem;
}

.value-addition-section .standard-card p {
  font-size: 0.92rem;
  color: #ffffff;
  line-height: 1.65;
}

.value-addition-section .standard-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(0, 144, 52, 0.2);
  border: 1px solid rgba(0, 144, 52, 0.4);
  color: var(--color-brand-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 0 16px rgba(0, 144, 52, 0.2);
  transition: var(--transition-smooth);
}

.value-addition-section .standard-card:hover .standard-icon-wrap {
  background: var(--color-brand-base);
  border-color: var(--color-brand-bright);
  color: #ffffff;
  box-shadow: 0 0 22px rgba(58, 224, 118, 0.4);
}

/* ==========================================================================
   Section 7: Standards Followed at HCEP (Sustainable Practices)
   ========================================================================== */
.standards-section {
  background: linear-gradient(180deg, var(--color-espresso) 0%, var(--color-dark-roast) 100%);
  position: relative;
}

.standards-section .standard-card {
  background: var(--color-roast-surface);
  border: 1px solid var(--color-glass-border);
  border-radius: 18px;
  padding: 2rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.4s ease,
              box-shadow 0.4s ease,
              background 0.4s ease;
}

.standards-section .standard-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-brand-base);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 144, 52, 0.25);
}

.standards-section .standard-card h4 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--color-brand-bright);
  margin-bottom: 0.65rem;
}

.standards-section .standard-card p {
  font-size: 0.92rem;
  color: #ffffff;
  line-height: 1.65;
}

.standards-section .standard-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(0, 144, 52, 0.2);
  border: 1px solid rgba(0, 144, 52, 0.4);
  color: var(--color-brand-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 0 16px rgba(0, 144, 52, 0.2);
  transition: var(--transition-smooth);
}

.standards-section .standard-card:hover .standard-icon-wrap {
  background: var(--color-brand-base);
  border-color: var(--color-brand-bright);
  color: #ffffff;
  box-shadow: 0 0 22px rgba(58, 224, 118, 0.4);
}

/* ==========================================================================
   Section 8: Key Personalities at the Helm (Leadership Team - Light Contrast Section)
   ========================================================================== */
.team-section {
  background-color: #F9F6F0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(0, 144, 52, 0.15);
  border-bottom: 1px solid rgba(0, 144, 52, 0.15);
}

.team-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 144, 52, 0.06) 0%, transparent 70%);
  pointer-events: none;
}


.team-section .section-title {
  color: #112517;
}

.team-section .section-title span {
  color: var(--color-brand-base); /* #009034 - Deeper emerald green for clear contrast on light background */
}

.team-section .section-subtitle {
  color: #435749;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  width: 100%;
}

.team-card {
  background: #061309;
  border: 1px solid var(--color-glass-border);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  transition: var(--transition-smooth);
}

.team-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-brand-base);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 144, 52, 0.25);
}

.team-img-wrap {
  width: 100%;
  height: 380px;
  overflow: hidden;
  position: relative;
  background-color: #061309;
}

.team-img {
  width: 100%;
  height: 114%;
  margin-top: -7%;
  object-fit: cover;
  object-position: center top;
  will-change: transform;
}

.team-section .team-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(6, 19, 9, 0.98) 0%, rgba(6, 19, 9, 0.4) 35%, rgba(6, 19, 9, 0) 65%);
}

.team-info {
  background-color: #061309;
  padding: 2rem 2.2rem;
  position: relative;
  margin-top: -2rem;
}

.team-section .team-role-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-brand-base) 0%, var(--color-brand-light) 100%);
  border: 1px solid var(--color-brand-bright);
  padding: 0.42rem 1.15rem;
  border-radius: 30px;
  box-shadow: 0 4px 15px rgba(0, 144, 52, 0.35);
  margin-bottom: 0.85rem;
}

.team-section .team-name {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: #3ae076;
  margin-bottom: 0.4rem;
}

.team-section .team-qual {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-cream-soft);
  margin-bottom: 1rem;
}

.team-section .team-bio {
  font-size: 0.95rem;
  color: #ffffff;
  line-height: 1.7;
}

/* ==========================================================================
   Section 8: Crop to Coffee (Gallery / Process Journey)
   ========================================================================== */
.process-gallery-section {
  background-color: var(--color-espresso);
  position: relative;
}

.process-carousel-wrapper {
  --slides-visible: 3;
  --slides-gap: 1.75rem;
  position: relative;
  width: 100%;
  margin-top: 2.25rem;
}

/* Carousel Header Controls Bar */
.process-carousel-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.75rem;
  padding: 0.85rem 1.4rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  backdrop-filter: blur(8px);
}

.process-carousel-counter {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-sans);
}

.counter-current {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--color-brand-bright);
  font-feature-settings: "tnum";
}

.counter-divider {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  opacity: 0.5;
  margin: 0 0.15rem;
}

.counter-total {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.counter-phase-label {
  margin-left: 0.85rem;
  padding: 0.3rem 0.85rem;
  background: rgba(58, 224, 118, 0.12);
  border: 1px solid rgba(58, 224, 118, 0.3);
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-brand-bright);
}

.process-carousel-nav-btns {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.process-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.process-nav-btn:hover {
  background: var(--color-brand-base);
  border-color: var(--color-brand-bright);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 144, 52, 0.4);
}

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

/* Viewport and Track */
.process-carousel-viewport {
  overflow: hidden;
  width: 100%;
  border-radius: 20px;
  padding: 6px 2px 14px 2px;
}

.process-carousel-track {
  display: flex;
  gap: var(--slides-gap);
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

/* Cards inside Carousel */
.process-card {
  background: var(--color-roast-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  overflow: hidden;
  transition: var(--transition-smooth);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  flex: 0 0 calc((100% - (var(--slides-visible) - 1) * var(--slides-gap)) / var(--slides-visible));
  width: calc((100% - (var(--slides-visible) - 1) * var(--slides-gap)) / var(--slides-visible));
  min-width: 0;
  box-sizing: border-box;
}

.process-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-brand-base);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 144, 52, 0.2);
}

/* Image container with exact 6:7 original aspect ratio */
.process-img-holder {
  position: relative;
  width: 100%;
  aspect-ratio: 6 / 7;
  overflow: hidden;
  background: #09170d;
}

.process-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.process-step-pill {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(6, 19, 9, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid var(--color-glass-border);
  padding: 0.35rem 0.8rem;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-brand-bright);
  z-index: 2;
}

.process-zoom-overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 19, 9, 0.45);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.process-card:hover .process-zoom-overlay {
  opacity: 1;
}

.process-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.process-body h4 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: #FFFFFF;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.process-card:hover .process-body h4 {
  color: #FFFFFF;
  text-shadow: 0 0 14px rgba(255, 255, 255, 0.45);
}

.process-phase {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-brand-bright);
  margin-bottom: 0.65rem;
  font-weight: 600;
}

.process-desc {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

/* Pagination Dots */
.process-carousel-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.75rem;
}

.process-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.process-dot:hover {
  background: rgba(255, 255, 255, 0.6);
  transform: scale(1.2);
}

.process-dot.active {
  width: 28px;
  border-radius: 4px;
  background: var(--color-brand-bright);
  box-shadow: 0 0 10px rgba(58, 224, 118, 0.6);
}

/* ==========================================================================
   Section 9: Contact & Locations
   ========================================================================== */
/* ==========================================================================
   Section 10: Contact, Locations & Inquiry Form (Light Contrast Section)
   ========================================================================== */
.contact-section {
  background-color: #F9F6F0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(0, 144, 52, 0.15);
  border-bottom: 1px solid rgba(0, 144, 52, 0.15);
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 144, 52, 0.06) 0%, transparent 70%);
  pointer-events: none;
}


.contact-section .section-title {
  color: #112517;
}

.contact-section .section-title span {
  color: var(--color-brand-base); /* #009034 - Deeper emerald green for clear contrast on light background */
}

.contact-section .section-subtitle {
  color: #435749;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3.5rem;
}

.facility-cards-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.facility-card {
  background: var(--color-roast-surface);
  border: 1px solid var(--color-glass-border);
  border-radius: 18px;
  padding: 1.65rem 1.75rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.4);
  transition: var(--transition-smooth);
}

.facility-card:hover {
  transform: translateX(4px) translateY(-2px);
  border-color: var(--color-brand-base);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.55), 0 0 20px rgba(0, 144, 52, 0.25);
}

.facility-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(0, 144, 52, 0.2);
  border: 1px solid rgba(0, 144, 52, 0.4);
  color: var(--color-brand-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 14px rgba(0, 144, 52, 0.2);
  transition: var(--transition-smooth);
}

.facility-card:hover .facility-icon {
  background: var(--color-brand-base);
  border-color: var(--color-brand-bright);
  color: #ffffff;
}

.facility-details h4 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--color-brand-bright);
  margin-bottom: 0.4rem;
}

.facility-details p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.facility-details strong {
  color: var(--color-cream);
  font-weight: 700;
}

.direct-contacts-box {
  background: var(--color-roast-surface);
  border: 1px solid var(--color-glass-border);
  border-radius: 18px;
  padding: 1.65rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.4);
}

.contact-line {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--color-cream-soft);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.contact-line:hover {
  color: var(--color-brand-bright);
  transform: translateX(4px);
}

.contact-line svg {
  color: var(--color-brand-bright);
  flex-shrink: 0;
}

/* Contact Form Box */
.contact-form-box {
  background: var(--color-roast-surface);
  border: 1px solid var(--color-glass-border);
  border-radius: 24px;
  padding: 2.75rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 144, 52, 0.15);
}

.contact-form-box h3 {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  color: var(--color-brand-bright);
  margin-bottom: 0.6rem;
}

.contact-form-box p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.form-field label {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-brand-bright);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(6, 19, 9, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-brand-bright);
  box-shadow: 0 0 16px rgba(58, 224, 118, 0.35);
  background: rgba(6, 19, 9, 0.95);
}

.form-field select option {
  background: #061309;
  color: #ffffff;
}

.contact-form-box .btn-submit {
  width: 100%;
  padding: 1rem 2rem;
  border: 1px solid var(--color-brand-bright);
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-brand-base) 0%, var(--color-brand-light) 100%);
  font-weight: 700;
  cursor: pointer;
  margin-top: 0.5rem;
  box-shadow: var(--shadow-brand);
  border-radius: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  transition: var(--transition-smooth);
}

.contact-form-box .btn-submit:hover {
  background: linear-gradient(135deg, #00a53c 0%, #20c85c 100%);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 144, 52, 0.55);
}

.form-feedback {
  display: none;
  margin-top: 1rem;
  font-size: 0.9rem;
  line-height: 1.5;
  border-radius: 8px;
  padding: 0.85rem 1.15rem;
  text-align: center;
  transition: var(--transition-smooth);
}

/* ==========================================================================
   Site Footer
   ========================================================================== */
.site-footer {
  background-color: var(--color-brand-bright); /* #3ae076 */
  border-top: 1px solid rgba(6, 19, 9, 0.15);
  padding: 5rem 0 0 0;
  position: relative;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 3rem;
  margin-bottom: 4.5rem;
}

.footer-brand p {
  color: rgba(6, 19, 9, 0.88);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-top: 1.25rem;
  max-width: 320px;
  font-weight: 500;
}

.footer-col h4 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: #061309; /* Espresso Black-Green */
  margin-bottom: 1.25rem;
  font-weight: 700;
}

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

.footer-nav-list a {
  color: rgba(6, 19, 9, 0.85);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.footer-nav-list a:hover {
  color: #061309;
  font-weight: 700;
  transform: translateX(4px);
}

.footer-destinations-text {
  font-size: 0.88rem;
  color: rgba(6, 19, 9, 0.85);
  line-height: 1.6;
  font-weight: 500;
}

.footer-bottom {
  background-color: #061309; /* Espresso Black-Green */
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem 0;
}

.footer-bottom-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.copyright-text {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500;
}

.powered-by {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
}

.powered-by .powered-by-brand {
  color: var(--color-brand-bright); /* #3ae076 */
  font-weight: 700;
}

/* ==========================================================================
   Scroll to Top Button
   ========================================================================== */
.scroll-to-top {
  position: fixed;
  bottom: 2.25rem;
  right: 2.25rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-brand-base) 0%, var(--color-brand-light) 100%);
  color: #ffffff;
  border: 1px solid var(--color-brand-bright);
  box-shadow: 0 8px 25px rgba(0, 144, 52, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: var(--transition-smooth);
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover {
  background: linear-gradient(135deg, #00a53c 0%, #20c85c 100%);
  box-shadow: 0 12px 32px rgba(0, 144, 52, 0.65);
  transform: translateY(-4px);
}

.scroll-to-top:active {
  transform: translateY(-1px);
}

/* ==========================================================================
   Image Lightbox Modal
   ========================================================================== */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(4, 13, 6, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-container {
  max-width: 980px;
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-close-btn {
  position: absolute;
  top: -46px;
  right: 0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
  transition: all 0.25s ease;
  z-index: 10;
}

.lightbox-close-btn:hover {
  background: var(--color-brand-base);
  border-color: var(--color-brand-bright);
  color: #ffffff;
  transform: rotate(90deg) scale(1.1);
  box-shadow: 0 0 15px rgba(58, 224, 118, 0.5);
}

/* Lightbox Stage (Image with Left & Right arrows) */
.lightbox-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  position: relative;
  gap: 1.5rem;
}

.lightbox-media-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 820px;
  width: 100%;
  position: relative;
}

.lightbox-img {
  max-height: 75vh;
  max-width: 100%;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.85);
  border: 1.5px solid var(--color-glass-border);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

/* Lightbox Navigation Buttons (Left & Right Arrows) */
.lightbox-nav-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(6, 19, 9, 0.85);
  border: 1.5px solid rgba(58, 224, 118, 0.35);
  backdrop-filter: blur(8px);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  z-index: 10;
}

.lightbox-nav-btn:hover {
  background: var(--color-brand-base);
  border-color: var(--color-brand-bright);
  color: #ffffff;
  transform: scale(1.12);
  box-shadow: 0 0 22px rgba(58, 224, 118, 0.6);
}

.lightbox-nav-btn:active {
  transform: scale(0.96);
}

.lightbox-nav-btn.hidden {
  display: none !important;
}

/* Footer & Caption in Lightbox */
.lightbox-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.25rem;
  width: 100%;
  max-width: 780px;
  text-align: center;
}

.lightbox-counter {
  padding: 0.28rem 0.85rem;
  background: rgba(58, 224, 118, 0.12);
  border: 1px solid rgba(58, 224, 118, 0.35);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-brand-bright);
}

.lightbox-counter.hidden {
  display: none !important;
}

.lightbox-caption {
  font-size: 0.98rem;
  color: var(--color-cream-soft);
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 768px) {
  .lightbox-stage {
    gap: 0;
  }
  .lightbox-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
  }
  .lightbox-prev-btn {
    left: 8px;
  }
  .lightbox-next-btn {
    right: 8px;
  }
  .lightbox-nav-btn:hover {
    transform: translateY(-50%) scale(1.1);
  }
  .lightbox-img {
    max-height: 68vh;
  }
  .lightbox-caption {
    font-size: 0.88rem;
    padding: 0 0.5rem;
  }
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 1100px) {
  .origin-grid, .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .about-features-visual {
    padding-top: 0;
    gap: 1.5rem;
    height: auto;
  }
  .certificate-showcase-box {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 2rem;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .standards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 900px) {
  .site-header {
    padding: 1rem 1.5rem;
  }
  .container {
    padding: 0 1.5rem;
  }
  .brand-logo-img {
    height: 44px;
  }
  .hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(6, 19, 9, 0.94) 0%,
      rgba(6, 19, 9, 0.85) 50%,
      rgba(6, 19, 9, 0.40) 75%,
      transparent 100%
    );
  }
  .mobile-nav-toggle {
    display: flex;
  }
  .nav-links-wrapper {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 380px;
    height: 100vh;
    background: rgba(249, 246, 240, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-left: 1px solid rgba(0, 144, 52, 0.18);
    padding: 6rem 2.5rem 2.5rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
  }
  .nav-links-wrapper.active {
    right: 0;
  }
  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.75rem;
    width: 100%;
  }
  .nav-link {
    font-size: 1.2rem;
    width: 100%;
    color: #122a1a;
    border-bottom: 1px solid rgba(0, 144, 52, 0.12);
    padding-bottom: 0.75rem;
  }
  .nav-link:hover,
  .nav-link.active {
    color: var(--color-brand-base);
  }
  .header-cta-group .btn-header-contact {
    display: none;
  }
  .mobile-drawer-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
  }
  .team-grid {
    grid-template-columns: 1fr;
  }
  .process-carousel-wrapper {
    --slides-visible: 2;
    --slides-gap: 1.5rem;
  }
  .section-padding {
    padding: 4.5rem 0;
  }
}

/* ==========================================================================
   Tablet-Only Hero Visual Optimizations (768px - 1024px)
   Image: hangal coffee-hero-tablet.webp
   ========================================================================== */
@media (min-width: 768px) and (max-width: 1024px) {
  /* 1. Tablet Hero Image: full width, pinned at bottom so wooden table and products are clear */
  .hero-bg-container {
    width: 100% !important;
    max-width: 100% !important;
    left: 0 !important;
    right: 0 !important;
  }

  .hero-bg-picture {
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
  }

  .hero-bg-image {
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: 60% bottom !important;
    transform: none !important;
    filter: brightness(1.02) contrast(1.04) !important;
  }

  /* 2. Tablet Overlay: contrast on top for text, crystal clear over wooden table products */
  .hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(6, 19, 9, 0.80) 0%,
      rgba(6, 19, 9, 0.58) 25%,
      rgba(6, 19, 9, 0.18) 42%,
      rgba(6, 19, 9, 0.04) 55%,
      rgba(6, 19, 9, 0.05) 75%,
      rgba(6, 19, 9, 0.20) 100%
    ) !important;
  }

  /* 3. Hero Section: exactly 100px gap below the menu background */
  .hero-section {
    padding: calc(88px + 100px) 2rem 2.5rem 2rem !important;
    min-height: 100vh !important;
    min-height: 100dvh !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
  }

  @media (max-width: 900px) {
    .hero-section {
      padding-top: calc(76px + 100px) !important; /* Exactly 100px gap below compact menu background */
    }
  }

  .hero-wrapper {
    width: 100%;
    height: auto;
  }

  .hero-grid {
    display: block;
    width: 100%;
  }

  .hero-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.95rem !important;
    max-width: 740px !important;
    margin-bottom: 100px !important; /* 100px margin so products on wooden table are clearly visible */
  }

  .hero-badge {
    display: inline-flex !important;
    margin-bottom: 0.25rem;
  }

  .hero-headline {
    font-size: clamp(3.2rem, 7.5vw, 4.3rem) !important;
    line-height: 1.12 !important;
    letter-spacing: -0.02em !important;
    margin: 0;
  }

  .hero-subtitle {
    color: #ffffff !important;
    font-size: 1.02rem;
    line-height: 1.6;
    max-width: 540px;
    margin: 0;
  }

  .hero-actions {
    margin-top: 0.4rem !important;
    padding-top: 0 !important;
    display: flex !important;
    flex-direction: row !important;
    gap: 1rem !important;
  }

  /* High contrast styling for Our Heritage Story button in tablet view */
  .hero-actions .btn-secondary {
    background: rgba(6, 20, 10, 0.78) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.45) !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5) !important;
  }

  .hero-actions .btn-secondary:hover {
    background: rgba(0, 144, 52, 0.35) !important;
    border-color: var(--color-brand-bright) !important;
    color: #ffffff !important;
    box-shadow: 0 6px 22px rgba(0, 144, 52, 0.4) !important;
  }

  .hero-metrics {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.25rem !important;
    margin-top: 0.65rem !important;
    padding-top: 0.9rem !important;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    max-width: 440px;
  }

  .hero-metrics .metric-item {
    background: rgba(6, 19, 9, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.65rem 0.85rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.16);
  }

  /* 4. Tablet-Only Footer Balanced Layout (Option B: 2-Column Split) */
  .site-footer {
    padding: 4.25rem 0 0 0 !important;
  }

  .footer-top-grid {
    display: grid !important;
    grid-template-columns: 1.3fr 1fr 1fr !important;
    column-gap: 2.25rem !important;
    row-gap: 2rem !important;
    margin-bottom: 3.5rem !important;
  }

  .footer-brand {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }

  .footer-brand .brand-logo-img {
    height: 54px !important;
    width: auto !important;
  }

  .footer-brand p {
    margin-top: 1rem !important;
    max-width: 100% !important;
    font-size: 0.92rem !important;
    line-height: 1.68 !important;
    color: rgba(6, 19, 9, 0.90) !important;
  }

  .footer-col:nth-child(2) { /* Navigation: aligned with mission statement */
    grid-column: 2 !important;
    grid-row: 1 / span 2 !important;
    padding-top: 75px !important;
  }

  .footer-col:nth-child(3) { /* Explore: aligned with mission statement */
    grid-column: 3 !important;
    grid-row: 1 / span 2 !important;
    padding-top: 75px !important;
  }

  .footer-col:nth-child(4) { /* Export Destinations */
    grid-column: 1 !important;
    grid-row: 2 !important;
    padding-top: 1.5rem !important;
    border-top: 1px solid rgba(6, 19, 9, 0.16) !important;
  }

  .footer-col h4 {
    margin-bottom: 1.15rem !important;
    font-size: 1.2rem !important;
    color: #061309 !important;
  }

  .footer-nav-list {
    gap: 0.75rem !important;
  }

  .footer-nav-list a {
    font-size: 0.92rem !important;
    font-weight: 550 !important;
  }

  .footer-destinations-text {
    font-size: 0.92rem !important;
    line-height: 1.68 !important;
    color: rgba(6, 19, 9, 0.90) !important;
  }

  .scroll-to-top {
    right: 1.75rem !important;
    bottom: 4.5rem !important;
  }
}

@media (max-width: 767px) {
  /* ==========================================================================
     Mobile-Only Hero Visual Optimizations (<= 767px)
     Image: hangal coffee-hero-mobile.webp
     ========================================================================== */
  /* 1. Add 60px margin above Rooted in Tradition Badge in Mobile View */
  .hero-badge {
    display: inline-flex !important;
    margin-top: 60px !important;
    margin-bottom: 0.25rem !important;
    padding: 0.32rem 0.85rem !important;
    font-size: clamp(0.65rem, 2.8vw, 0.72rem) !important;
    white-space: nowrap !important;
  }

  /* 2. Remove Our Heritage Story button on Mobile */
  .hero-actions .btn-secondary {
    display: none !important;
  }

  /* 3. Hide Mouse Scroll Indicator on Mobile for Clean View */
  .hero-scroll-indicator {
    display: none !important;
  }

  /* 4. Align Mobile Hero Image (hangal coffee-mobile.webp) so Table and Products are Pinned at Bottom */
  .hero-bg-image {
    object-position: center bottom !important;
    transform: none !important;
    filter: brightness(1.02) contrast(1.04) !important;
  }

  /* 5. Hero Overlay: Contrast for top text, crystal clear over wooden table products */
  .hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(6, 19, 9, 0.80) 0%,
      rgba(6, 19, 9, 0.60) 25%,
      rgba(6, 19, 9, 0.20) 42%,
      rgba(6, 19, 9, 0.04) 55%,
      rgba(6, 19, 9, 0.05) 75%,
      rgba(6, 19, 9, 0.20) 100%
    ) !important;
  }

  /* 6. Place all contents from top to downwards leaving 100 pixels margin above table products */
  .hero-section {
    padding: 4.5rem 1.25rem 2rem 1.25rem !important;
    min-height: 100vh !important;
    min-height: 100dvh !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
  }

  .hero-wrapper {
    width: 100%;
    height: auto;
  }

  .hero-grid {
    display: block;
    width: 100%;
  }

  .hero-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.55rem !important;
    max-width: 100% !important;
    margin-bottom: 100px !important; /* 100px margin so products on wooden table are clearly visible */
  }

  .hero-title-line {
    overflow: visible !important;
  }

  .hero-headline {
    font-size: clamp(1.95rem, 5.2vw, 2.5rem) !important;
    line-height: 1.12 !important;
    letter-spacing: -0.02em !important;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.95), 0 4px 26px rgba(0, 0, 0, 0.85);
    margin: 0;
  }

  .hero-headline .highlight-word {
    animation: none !important;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.95) !important;
    white-space: normal;
  }

  .hero-subtitle {
    color: #ffffff !important;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.98), 0 2px 16px rgba(0, 0, 0, 0.9);
    line-height: 1.48;
    font-size: 0.88rem;
    max-width: 96%;
    margin: 0.75rem 0 0 0 !important;
  }

  .hero-actions {
    margin-top: 0.25rem !important;
    padding-top: 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.6rem !important;
  }

  .hero-actions .btn-primary {
    width: auto;
    display: inline-flex;
    padding: 0.72rem 1.45rem;
    font-size: 0.9rem;
    box-shadow: 0 8px 24px rgba(0, 144, 52, 0.5), 0 4px 12px rgba(0, 0, 0, 0.4);
  }

  .hero-metrics {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0.55rem !important;
    margin-top: 0.35rem !important;
    padding-top: 0.65rem !important;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    width: 100%;
    max-width: 240px;
  }

  .metric-item {
    background: rgba(6, 19, 9, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.45rem 0.55rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    min-width: 0;
  }

  .metric-value {
    font-size: 1.25rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85);
  }

  .metric-label {
    font-size: 0.64rem;
    line-height: 1.22;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: break-word;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.85);
  }

  /* Products Matrix Table Mobile & Tablet Optimizations */
  .products-matrix-wrapper {
    padding: 1.5rem 1rem;
    border-radius: 16px;
  }

  .matrix-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
  }

  .matrix-header h3 {
    font-size: 1.35rem;
  }

  /* Show Category Filter Tabs on Mobile/Tablet */
  .matrix-filter-tabs {
    display: inline-flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(0, 144, 52, 0.28);
    border-radius: 9999px;
    padding: 3px;
    gap: 4px;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-bottom: 0.25rem;
  }

  .matrix-filter-tabs::-webkit-scrollbar {
    display: none;
  }

  .matrix-tab {
    background: transparent;
    border: none;
    color: var(--color-cream-soft);
    padding: 0.42rem 0.85rem;
    border-radius: 9999px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.25s ease;
    line-height: 1.2;
    -webkit-tap-highlight-color: transparent;
  }

  .matrix-tab:hover {
    color: #ffffff;
    background: rgba(0, 144, 52, 0.2);
  }

  .matrix-tab.active {
    background: var(--color-forest);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 144, 52, 0.45);
  }

  /* Category Column Filtering - Mobile/Tablet Only */
  .products-matrix-wrapper[data-filter="arabica"] th[data-cat="robusta"],
  .products-matrix-wrapper[data-filter="arabica"] td[data-cat="robusta"],
  .products-matrix-wrapper[data-filter="arabica"] th[data-cat="monsooned"],
  .products-matrix-wrapper[data-filter="arabica"] td[data-cat="monsooned"] {
    display: none !important;
  }

  .products-matrix-wrapper[data-filter="robusta"] th[data-cat="arabica"],
  .products-matrix-wrapper[data-filter="robusta"] td[data-cat="arabica"],
  .products-matrix-wrapper[data-filter="robusta"] th[data-cat="monsooned"],
  .products-matrix-wrapper[data-filter="robusta"] td[data-cat="monsooned"] {
    display: none !important;
  }

  .products-matrix-wrapper[data-filter="monsooned"] th[data-cat="arabica"],
  .products-matrix-wrapper[data-filter="monsooned"] td[data-cat="arabica"],
  .products-matrix-wrapper[data-filter="monsooned"] th[data-cat="robusta"],
  .products-matrix-wrapper[data-filter="monsooned"] td[data-cat="robusta"] {
    display: none !important;
  }

  /* Show Animated Swipe Hint on Mobile/Tablet */
  .matrix-scroll-hint {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: rgba(244, 250, 245, 0.75);
    background: rgba(0, 144, 52, 0.12);
    border: 1px dashed rgba(0, 144, 52, 0.35);
    border-radius: 9999px;
    padding: 0.35rem 0.85rem;
    margin-bottom: 0.85rem;
    width: fit-content;
  }

  .hint-arrow {
    font-weight: bold;
    color: var(--color-brand-bright);
    display: inline-block;
  }

  .hint-arrow.hint-left {
    animation: hintArrowLeft 1.5s infinite ease-in-out;
  }

  .hint-arrow.hint-right {
    animation: hintArrowRight 1.5s infinite ease-in-out;
  }

  @keyframes hintArrowLeft {
    0%, 100% { transform: translateX(0); opacity: 0.6; }
    50% { transform: translateX(-3px); opacity: 1; }
  }

  @keyframes hintArrowRight {
    0%, 100% { transform: translateX(0); opacity: 0.6; }
    50% { transform: translateX(3px); opacity: 1; }
  }

  .matrix-table-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 10px;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 144, 52, 0.45) rgba(0, 0, 0, 0.2);
  }

  .matrix-table-container::-webkit-scrollbar {
    height: 6px;
  }

  .matrix-table-container::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
  }

  .matrix-table-container::-webkit-scrollbar-thumb {
    background: rgba(0, 144, 52, 0.45);
    border-radius: 3px;
  }

  .coffee-table {
    width: 100%;
    min-width: 580px;
    border-collapse: separate;
    border-spacing: 0;
  }

  /* Sticky pinned Grade column */
  .coffee-table th:first-child,
  .coffee-table td:first-child {
    position: sticky;
    left: 0;
    z-index: 5;
    background: var(--color-roast-surface);
    box-shadow: 3px 0 8px rgba(0, 0, 0, 0.4);
  }

  .coffee-table th:first-child {
    z-index: 6;
    background: #0f3219;
  }

  .coffee-table tbody tr:nth-child(even) td:first-child {
    background: #112d19;
  }

  .coffee-table tbody tr:hover td:first-child {
    background: #143820;
  }

  .coffee-table th {
    padding: 0.75rem 0.55rem;
    font-size: 0.76rem;
    white-space: nowrap;
  }

  .coffee-table td {
    padding: 0.75rem 0.55rem;
    font-size: 0.82rem;
  }

  .grade-name {
    padding-left: 0.85rem !important;
    padding-right: 0.85rem !important;
    font-size: 0.82rem;
    white-space: nowrap;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 1.25rem;
  }
  .hero-actions {
    flex-direction: row;
    align-items: center;
  }
  .hero-actions .btn-primary {
    justify-content: center;
    width: auto;
  }
  .hero-metrics {
    grid-template-columns: 1fr;
    gap: 0.55rem;
    max-width: 240px;
  }


  .process-carousel-wrapper {
    --slides-visible: 1;
    --slides-gap: 1rem;
  }
  .counter-phase-label {
    display: none;
  }
  .process-nav-btn {
    width: 38px;
    height: 38px;
  }
  .form-group-row {
    grid-template-columns: 1fr;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom-flex {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }
  .standards-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  
  /* Matrix table compact spacing on small phones */
  .products-matrix-wrapper {
    padding: 1.25rem 0.65rem;
  }
  .scroll-to-top {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 44px;
    height: 44px;
    z-index: 90;
  }
}

@media (max-width: 360px) {
  .hero-headline .highlight-word {
    white-space: normal;
  }
}

/* ==========================================================================
   Scroll Reveal Animations
   ========================================================================== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Value Addition & Standards Sections Card Reveal Transitions */
.value-addition-section .standard-card.reveal-on-scroll,
.standards-section .standard-card.reveal-on-scroll,
.standard-card.reveal-on-scroll {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.4s ease, 
              box-shadow 0.4s ease, 
              background 0.4s ease;
  will-change: opacity, transform;
}

.value-addition-section .standard-card.reveal-on-scroll.revealed,
.standards-section .standard-card.reveal-on-scroll.revealed,
.standard-card.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

.value-addition-section .standard-card.revealed:hover,
.standards-section .standard-card.revealed:hover,
.standard-card.revealed:hover {
  transform: translateY(-5px) !important;
  border-color: var(--color-brand-base) !important;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 144, 52, 0.25) !important;
  transition-delay: 0s !important;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.94) translateY(24px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-scale.revealed {
  opacity: 1;
  transform: scale(1) translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll,
  .reveal-left,
  .reveal-right,
  .reveal-scale,
  .hero-badge,
  .hero-line-inner,
  .hero-subtitle,
  .hero-actions,
  .hero-metrics,
  .hero-headline .highlight-word,
  .about-visual-card,
  .about-card-icon,
  .heritage-card-highlight,
  .accreditations-bg-parallax,
  .value-addition-bg-parallax {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
    filter: none !important;
  }
}
