/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Prevent phone number detection on mobile */
.no-phone {
  -webkit-tap-highlight-color: transparent;
}

a[href^='tel:'] {
  -webkit-tap-highlight-color: rgb(139 69 19 / 30%);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    Manrope,
    system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    sans-serif;
  line-height: 1.7;
  color: #2f2f2f;
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography System */
h1,
h2,
h3,
h4,
h5,
h6,
.logo {
  font-family: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

/* Primary Headings */
h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.8rem);
  margin-bottom: 1.5rem;
  line-height: 1.05;
}

/* Section Headings */
h2 {
  font-size: clamp(2.8rem, 5vw, 3.6rem);
  margin-bottom: 1.25rem;
}

/* Sub-section Headings */
h3 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

/* Component Headings */
h4 {
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  margin-bottom: 0.75rem;
  letter-spacing: 0;
}

/* Text Styles */
p {
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: inherit;
}

/* Accent font usage (whimsical layer) */
.typo-accent,
.btn-primary,
.btn-secondary,
.btn-outline,
.hero-subtitle,
.nav-link {
  font-family: Quicksand, Manrope, system-ui, sans-serif;
  letter-spacing: 0.3px;
  font-weight: 600;
}

/* Optional hand-drawn Indian craft accent — use sparingly */
.typo-hand {
  font-family: Kalam, 'Comic Sans MS', cursive;
}

/* Text Variants */
.text-lg {
  font-size: 1.4rem;
  line-height: 1.5;
  font-weight: 300;
}

.text-md {
  font-size: 1.15rem;
  line-height: 1.6;
  font-weight: 400;
}

.text-sm {
  font-size: 0.95rem;
  line-height: 1.5;
  font-weight: 400;
}

/* Section eyebrow (small uppercase intro lines) */
.section-eyebrow {
  font-family: Quicksand, Manrope, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
  color: #8b6a55;
  display: inline-block;
  margin-bottom: 0.75rem;
}

/* Section spacing */
.section-spacing {
  padding: 8rem 0;
}

.section-spacing-sm {
  padding: 6rem 0;
}

/* Text colors for dark/light backgrounds */
.text-white {
  color: #ffffff;
}

.text-white-90 {
  color: rgb(255 255 255 / 90%);
}

.text-dark {
  color: #333333;
}

.text-muted {
  color: #666666;
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-outline {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px; /* friendlier pill */
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background-color: #8b4513;
  color: white;
  border-color: #8b4513;
  box-shadow: 0 10px 24px rgb(0 0 0 / 15%);
}

.btn-primary:hover {
  background-color: #a0522d;
  border-color: #a0522d;
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: #8b4513;
  border-color: #8b4513;
}

.btn-secondary:hover {
  background-color: #8b4513;
  color: white;
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: white;
  border-color: white;
}

.btn-outline:hover {
  background-color: white;
  color: #8b4513;
}

/* Translucent button variant for image backgrounds */
.btn-translucent,
.btn-secondary.btn-translucent {
  background: rgb(0 0 0 / 28%) !important;
  color: #ffffff !important;
  border-color: rgb(255 255 255 / 90%) !important;
  text-shadow: 0 1px 3px rgb(0 0 0 / 50%);
}

.btn-translucent:hover,
.btn-secondary.btn-translucent:hover {
  background: rgb(0 0 0 / 42%) !important;
  color: #ffffff !important;
  border-color: #ffffff !important;
  text-shadow: 0 1px 4px rgb(0 0 0 / 60%);
}

/* Better visibility for Quality section button */
.quality-section .btn-translucent,
.quality-section .btn-secondary.btn-translucent {
  background: rgb(0 0 0 / 60%) !important;
  border-color: rgb(255 255 255 / 100%) !important;
  border-width: 2px !important;
}

.quality-section .btn-translucent:hover,
.quality-section .btn-secondary.btn-translucent:hover {
  background: rgb(0 0 0 / 75%) !important;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;

  /* pure white header background */
  background-color: #ffffff;
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgb(0 0 0 / 10%);
  transition:
    transform 300ms ease,
    padding 300ms ease;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1320px; /* slightly wider header */
  margin: 0 auto;
}

/* Compact header on scroll */
.navbar.compact .nav-container {
  padding: 0.5rem 2rem;
}

.navbar.compact .logo-image {
  max-height: 72px;
  max-width: 260px;
}

.navbar.hidden {
  transform: translateY(-100%);
}

.logo {
  font-size: 1.9rem;
  color: #8b4513;
  text-decoration: none;
}

.logo-image {
  display: block;
  height: auto;
  max-height: 132px;
  width: auto;
  max-width: 380px;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav-link {
  color: #333333;
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative;
  font-size: 1.05rem; /* slight increase for balance */
}

.nav-link:hover {
  color: #8b4513;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #8b4513;
  transition: width 0.3s ease;
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: #333333;
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section with Background Image */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('hero-background.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgb(139 69 19 / 35%) 0%,
    rgb(160 82 45 / 28%) 50%,
    rgb(139 69 19 / 45%) 100%
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  padding: 0 2rem;
  color: white;
}

.hero-title {
  color: white;
  margin-bottom: 1.5rem;
  font-weight: 400;
  text-shadow: 0 1px 2px rgb(0 0 0 / 25%);
  letter-spacing: -0.03em; /* tighter for large display text */
}

.hero-subtitle {
  font-size: 1.4rem;
  color: rgb(255 255 255 / 95%);
  margin-bottom: 2.5rem;
  text-shadow: 0 1px 1px rgb(0 0 0 / 20%);
  font-weight: 300;
  line-height: 1.5;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Scroll indicators */
.scroll-indicator,
.section-arrow {
  --chev-size: 26px;

  width: var(--chev-size);
  height: var(--chev-size);
  border-radius: 999px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgb(255 255 255 / 18%);
  border: 1.5px solid rgb(255 255 255 / 60%);
  box-shadow: 0 4px 10px rgb(0 0 0 / 8%);
}

.scroll-indicator::before,
.section-arrow::before,
.scroll-indicator::after {
  content: '⌄'; /* down chevron */
  color: #ffffff;
  font-size: 16px;
  line-height: 1;
  position: absolute;
  animation: chev-bounce 1.6s infinite ease-in-out;
}

.scroll-indicator::after {
  top: 6px;
  opacity: 0.8;
  animation-delay: 0.2s;
}

.scroll-indicator::before {
  top: 2px;
}

/* Section arrow sits at bottom center of sections on light/dark backgrounds */
.section-arrow {
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  background: rgb(255 255 255 / 20%);
  border-color: rgb(255 255 255 / 70%);
}

.values-section .section-arrow,
.origin-section .section-arrow {
  border-color: rgb(255 255 255 / 70%);
}

.quality-section .section-arrow,
.team .section-arrow {
  background: rgb(0 0 0 / 4%);
  border-color: rgb(0 0 0 / 20%);
}

.quality-section .section-arrow::before,
.team .section-arrow::before {
  color: #8b4513;
}

/* Make section arrows simple chevrons (no circular background) */
.section-arrow {
  width: var(--chev-size);
  height: auto;
  border-radius: 0;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  display: inline-block;
  padding: 0;
}

.section-arrow::before {
  color: #8b4513;
  font-size: 18px;
  top: 0;
  position: relative;
  animation: chev-bounce 1.6s infinite ease-in-out;
}

@keyframes chev-bounce {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.9;
  }

  50% {
    transform: translateY(4px);
    opacity: 0.65;
  }
}

/* About Section with Background */
.about-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 6rem 0;
  overflow: hidden;
}

.about-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('about-photo.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

.about-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgb(139 69 19 / 35%) 0%,
    rgb(160 82 45 / 28%) 50%,
    rgb(139 69 19 / 45%) 100%
  );
  z-index: 2;
}

.about-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: white;
  max-width: 800px;
  margin: 0 auto;
}

.about-text h2 {
  color: white;
  text-shadow: 0 2px 4px rgb(0 0 0 / 30%);
}

.about-text p {
  color: rgb(255 255 255 / 95%);
  font-size: 1.4rem;
  font-weight: 300;
  margin-bottom: 2.5rem;
  text-shadow: 0 1px 2px rgb(0 0 0 / 30%);
  line-height: 1.5;
}

/* Values Section with Background */
.values-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 6rem 0;
  overflow: hidden;
}

.values-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('values-photo.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

.values-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgb(14 18 20 / 72%) 0%,
    rgb(14 18 20 / 45%) 35%,
    rgb(14 18 20 / 85%) 100%
  );
  z-index: 2;
}

.values-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: white;
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.values-text h2 {
  color: #ffffff;
  margin-bottom: 1.5rem;
  font-size: clamp(2.8rem, 5vw, 3.6rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.values-text p {
  color: rgb(255 255 255 / 95%);
  font-size: 1.4rem;
  line-height: 1.5;
  margin-bottom: 2.5rem;
  font-weight: 300;
  max-width: 38ch;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.value-item {
  background: rgb(255 255 255 / 10%);
  padding: 2rem;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  border: 1px solid rgb(255 255 255 / 20%);
}

.value-item h4 {
  color: white;
  margin-bottom: 1rem;
  font-size: 1.15rem;
  text-shadow: 0 1px 2px rgb(0 0 0 / 30%);
}

.value-item p {
  color: rgb(255 255 255 / 92%);
  font-size: 1rem;
  margin: 0;
  text-shadow: 0 1px 2px rgb(0 0 0 / 30%);
}

/* Origin Section with Background */
.origin-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 6rem 0;
  overflow: hidden;
}

.origin-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('origin-photo.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

.origin-bg-naga {
  background-image: url('naga.jpg');
}

/* Our Growers Carousel */

/* Our Growers - Simple */
.growers-simple {
  position: relative;
  padding: 6rem 0;
  background: #ffffff;
}

.growers-header {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 2rem;
}

.growers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.grower-card {
  background: #f8f8f8;
  border: 1px solid #eeeeee;
  border-radius: 16px;
  padding: 1.25rem 1.25rem 1.5rem;
  box-shadow: 0 10px 24px rgb(0 0 0 / 6%);
  text-align: center;
}

.grower-thumb {
  width: 100%;
  height: 220px;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  cursor: zoom-in;
  margin-bottom: 1rem;
}

.grower-card h3 {
  margin-bottom: 0.5rem;
}

.img-modal {
  position: fixed;
  inset: 0;
  background: rgb(0 0 0 / 75%);
  display: grid;
  place-items: center;
  z-index: 1200;
}

.img-modal[hidden] {
  display: none;
}

.img-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgb(255 255 255 / 90%);
  border: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 22px;
  line-height: 44px;
  text-align: center;
}

/* Fullscreen modal content: image as background and overlayed text */
.img-modal-content {
  /* Centered card that takes ~70% of viewport on desktop, responsive on small screens */
  width: 70vw;
  height: 70vh;
  max-width: 1100px;
  max-height: 780px;
  border-radius: 12px;
  display: flex;
  align-items: flex-end; /* text sits near bottom */
  justify-content: center;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 30px 80px rgb(0 0 0 / 60%);
  transform: scale(0.98);
  opacity: 0;
  transition:
    opacity 240ms ease,
    transform 240ms ease;
}

.img-modal.open .img-modal-content {
  transform: scale(1);
  opacity: 1;
}

.img-modal-content img {
  display: none;
}

.img-modal-info {
  width: 100%;
  max-width: 980px;
  margin: 0 20px 32px;
  background: linear-gradient(to top, rgb(0 0 0 / 64%), rgb(0 0 0 / 28%));
  color: #ffffff;
  padding: 28px 30px;
  border-radius: 10px;
}

.img-modal-info h3 {
  margin: 0 0 8px;
  font-size: 1.8rem;
  color: #ffffff;
}

.img-modal-info p {
  margin: 0;
  color: rgb(255 255 255 / 95%);
  line-height: 1.6;
  font-size: 1.05rem;
}

@media (max-width: 900px) {
  .img-modal-content {
    width: 94vw;
    height: 64vh;
    border-radius: 10px;
  }

  .img-modal-info {
    margin: 0 12px 18px;
    padding: 18px;
  }

  .img-modal-info h3 {
    font-size: 1.25rem;
  }
}

/* Translucent panel used for captions and contact blocks over imagery */
.translucent-panel {
  display: block;
  width: 100%;
  max-width: 980px;
  margin: 0 auto 1.5rem;
  padding: 22px 28px;
  border-radius: 12px;
  color: #ffffff;
  background: linear-gradient(180deg, rgb(14 18 20 / 18%) 0%, rgb(14 18 20 / 12%) 100%);
  border: 1px solid rgb(255 255 255 / 16%);
  box-shadow: 0 18px 36px rgb(6 8 10 / 15%);
  backdrop-filter: blur(12px) saturate(1.1);
}

.translucent-panel h2 {
  color: #ffffff;
  margin-bottom: 0.6rem;
}

.translucent-panel p {
  color: rgb(255 255 255 / 95%);
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.translucent-panel .contact-list li {
  color: rgb(255 255 255 / 95%);
}

.translucent-panel .contact-list a {
  color: #ffe6cc;
}

/* Quality-specific tweaks */
.quality-panel {
  text-align: center;
}

.quality-panel h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
}

/* Contact-specific tweaks */
.contact-panel {
  text-align: left;
}

.contact-panel > p {
  text-align: center;
}

@media (max-width: 900px) {
  .img-modal-content {
    width: 94vw;
    height: 64vh;
    border-radius: 10px;
  }

  .img-modal-info {
    margin: 0 12px 18px;
    padding: 18px;
  }

  .img-modal-info h3 {
    font-size: 1.25rem;
  }
}

@media (max-width: 900px) {
  .growers-grid {
    grid-template-columns: 1fr;
  }

  .grower-thumb {
    height: 200px;
  }
}

.origin-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgb(139 69 19 / 35%) 0%,
    rgb(160 82 45 / 28%) 50%,
    rgb(139 69 19 / 45%) 100%
  );
  z-index: 2;
}

.origin-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: white;
  max-width: 1000px;
  margin: 0 auto;
}

.origin-text h2 {
  color: white;
  margin-bottom: 2rem;
  text-shadow: 0 2px 4px rgb(0 0 0 / 30%);
}

.origin-text p {
  color: rgb(255 255 255 / 92%);
  font-size: 1.2rem;
  margin-bottom: 3rem;
  text-shadow: 0 1px 2px rgb(0 0 0 / 30%);
}

.origin-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.stat-item {
  background: rgb(255 255 255 / 10%);
  padding: 2rem;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  border: 1px solid rgb(255 255 255 / 20%);
  text-align: center;
}

.stat-item h3 {
  font-size: 3rem;
  color: white;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 4px rgb(0 0 0 / 30%);
}

.stat-item p {
  color: rgb(255 255 255 / 92%);
  font-size: 1.05rem;
  margin: 0;
  text-shadow: 0 1px 2px rgb(0 0 0 / 30%);
}

/* Quality Section */
.quality-section {
  padding: 8rem 0;
  position: relative;
  text-align: center;
  background: url('quality.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.quality-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgb(14 18 20 / 72%) 0%,
    rgb(14 18 20 / 45%) 35%,
    rgb(14 18 20 / 85%) 100%
  );
  pointer-events: none;
}

.quality-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.quality-content h2 {
  color: #ffffff;
  margin-bottom: 1.5rem;
  font-size: clamp(2.8rem, 5vw, 3.6rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-align: center;
}

.quality-content p {
  color: rgb(255 255 255 / 95%);
  font-size: 1.4rem;
  line-height: 1.5;
  margin-bottom: 3.5rem;
  max-width: 38ch;
  font-weight: 300;
  text-align: center;
}

.certifications {
  display: block;
  margin-top: 1.5rem;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

/* Certification logo cards */
.cert-logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  align-items: stretch;
  padding: 0 1rem;
}

.cert-card {
  background: rgb(255 255 255 / 92%);
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: 12px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 170px;
  backdrop-filter: blur(8px);
  box-shadow: 0 12px 28px rgb(0 0 0 / 15%);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.cert-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgb(0 0 0 / 20%);
}

.cert-card.upcoming {
  background: #fbfaf9;
  border: 2px dashed #d8cfc8;
  justify-content: center;
}

.cert-logo-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.cert-logo-wrapper .cert-logo {
  margin: 0;
}

.cert-logo {
  display: block;
  max-width: 160px;
  width: 100%;
  height: auto;
  object-fit: contain;
  margin: 0 0 0.5rem;

  /* make logos slightly more vivid */
  filter: saturate(1.12) contrast(1.06);
}

.cert-status {
  display: inline-block;
  font-size: 0.82rem;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid #d6a36c;
  color: #8b4513;
  background: #fff5ea;
  margin-top: auto; /* push to bottom for alignment across cards */
}

.cert-status.applied::before {
  content: '';
}

.cert-status.issued {
  border: 1px solid #90EE90;
  color: #2d5016;
  background: #e8f5e9;
}

.cert-status.issued::before {
  content: '';
}

.cert-more {
  font-weight: 700;
  color: #8b4513;
  margin-bottom: 0.1rem;
}

.cert-upcoming-list {
  color: #7a6d63;
  font-size: 0.95rem;
  text-align: center;
}

/* FAQ Section */
.faq-section {
  padding: 6rem 0;
  background-color: #fafafa;
}

.faq-section h2 {
  text-align: center;
  color: #333333;
  margin-bottom: 3rem;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgb(0 0 0 / 10%);
}

.faq-item h4 {
  color: #8b4513;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.faq-item p {
  color: #666666;
  margin: 0;
}

/* Testimonials Section */
.testimonials-section {
  padding: 6rem 0;
  background-color: white;
}

.testimonials-section h2 {
  text-align: center;
  color: #333333;
  margin-bottom: 3rem;
}

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

.testimonial-item {
  background: #f8f8f8;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease;
}

.testimonial-item:hover {
  transform: translateY(-5px);
}

.testimonial-item p {
  color: #666666;
  font-style: italic;
  margin-bottom: 1rem;
}

.testimonial-item h5 {
  color: #8b4513;
  font-weight: 600;
  margin: 0;
}

/* Team Section */
.sourcing-section {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: 6rem 0;
  overflow: hidden;
}

.sourcing-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('coorg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

.sourcing-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgb(139 69 19 / 35%) 0%,
    rgb(160 82 45 / 28%) 50%,
    rgb(139 69 19 / 45%) 100%
  );
  z-index: 2;
}

.sourcing-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: white;
  max-width: 900px;
  margin: 0 auto;
}

.sourcing-content h2 {
  color: white;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 4px rgb(0 0 0 / 30%);
}

.sourcing-content p {
  color: rgb(255 255 255 / 95%);
  font-size: 1.15rem;
}

.team {
  padding: 8rem 0;
  position: relative;
  background: url('origin-photo.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
}

.team::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgb(14 18 20 / 72%) 0%,
    rgb(14 18 20 / 45%) 35%,
    rgb(14 18 20 / 85%) 100%
  );
  pointer-events: none;
}

.team .container {
  position: relative;
  z-index: 1;
  text-align: center;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 4rem;
  margin-top: 3rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.team-member {
  text-align: center;
  transition: transform 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
}

.team-member img {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1.5rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
  box-shadow:
    0 0 0 4px rgb(255 255 255 / 90%),
    0 8px 24px rgb(0 0 0 / 25%);
}

.team-member h3 {
  color: #ffffff;
  margin-bottom: 0.5rem;
  font-size: 2rem;
  text-shadow: 0 2px 4px rgb(0 0 0 / 20%);
}

.team-member .role,
.team-member .role a {
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  text-shadow: 0 1px 2px rgb(0 0 0 / 20%);
  text-decoration: none;
  border-bottom: 1px solid rgb(255 255 255 / 30%);
  transition: border-color 0.2s ease;
}

.team-member .role a:hover {
  border-color: #ffffff;
}

.linkedin-icon {
  display: inline-block;
  vertical-align: middle;
  margin-left: 6px;
  opacity: 0.9;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.team-member .role a:hover .linkedin-icon {
  opacity: 1;
  transform: scale(1.1);
}

.team-member .blurb {
  color: #ffffff;
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.6;
  text-shadow: 0 1px 3px rgb(0 0 0 / 30%);
}

/* Contact Section */
.contact-section {
  position: relative;
  padding: 8rem 0;
  color: white;
  background: url('contact.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.contact-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgb(14 18 20 / 75%) 0%,
    rgb(14 18 20 / 55%) 35%,
    rgb(14 18 20 / 88%) 100%
  );
}

.contact-hero {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  width: 100%;
  margin-top: 2rem;
  align-items: center;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-map {
  width: 100%;
  height: 240px; /* Reduced to 60% of original 400px */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgb(0 0 0 / 20%);
  background: rgb(255 255 255 / 10%);
}

#map {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  z-index: 0;
}

.contact-hero h2 {
  color: #ffffff;
  margin-bottom: 1.5rem;
  font-size: clamp(2.8rem, 5vw, 3.6rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-align: center;
  text-shadow: 0 2px 8px rgb(0 0 0 / 40%);
}

.contact-hero p {
  color: rgb(255 255 255 / 98%);
  font-size: 1.4rem;
  line-height: 1.5;
  margin-bottom: 3.5rem;
  font-weight: 300;
  max-width: 38ch;
  text-align: center;
  text-shadow: 0 1px 4px rgb(0 0 0 / 30%);
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.contact-item-with-icon {
  color: rgb(255 255 255 / 98%);
  font-size: 1.2rem;
  line-height: 1.6;
  display: flex;
  align-items: center;
  gap: 1rem;
  text-align: left;
  text-shadow: 0 1px 3px rgb(0 0 0 / 30%);
  margin: 0;
}

.contact-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgb(0 0 0 / 20%);
}

.contact-icon {
  color: #ffffff;
  width: 24px;
  height: 24px;
}

.contact-text {
  display: flex;
  flex-direction: column;
}

.contact-text a {
  color: #ffffff;
  text-decoration: none;
  border-bottom: 1px solid rgb(255 255 255 / 40%);
  transition: border-color 0.2s ease;
  font-weight: 500;
  font-size: 1.2rem;
  line-height: 1.5;
}

.contact-text a:hover {
  border-color: #ffffff;
  text-shadow: 0 1px 4px rgb(0 0 0 / 40%);
}

.social-links {
  display: flex;
  gap: 12px;
  justify-content: flex-start;
  align-items: center;
  margin: 0;
  margin-top: 12px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgb(0 0 0 / 20%);
}

.social-link-whatsapp {
  background: #25D366; /* WhatsApp green */
}

.social-link-whatsapp:hover {
  background: #20BA5A;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgb(0 0 0 / 30%);
}

.social-link-linkedin {
  background: #0077B5; /* LinkedIn blue */
}

.social-link-linkedin:hover {
  background: #006399;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgb(0 0 0 / 30%);
}

.social-link-instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-link-instagram:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgb(0 0 0 / 30%);
}

.social-icon {
  width: 24px;
  height: 24px;
  opacity: 0.95;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.social-link:hover .social-icon {
  opacity: 1;
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .contact-hero {
    text-align: left;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .contact-map {
    height: 210px; /* Reduced to 60% of original 350px */
  }

  .social-links {
    gap: 12px;
    margin-top: 12px;
    justify-content: center;
  }

  .social-link {
    width: 48px;
    height: 48px;
  }

  .social-icon {
    width: 24px;
    height: 24px;
  }
}

/* Footer */
.footer {
  /* match the brown used by floating contact */
  background-color: #8b4513;
  color: white;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem 2.5rem;
  margin-bottom: 2.25rem;
  align-items: start;
}

.footer-section h4 {
  color: #ffffff;
  margin-bottom: 0.9rem;
  font-size: 1.06rem;
  letter-spacing: 0.06em; /* subtle editorial touch */
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 0.6rem;
  line-height: 1.8;
  font-size: 0.98rem;
}

.footer-section ul li a {
  color: rgb(255 255 255 / 90%);
  text-decoration: none;
  transition: color 0.2s ease;
  line-height: 1.4;
}

.footer-section:last-child ul li a {
  font-weight: 600;
}

.footer-section:last-child ul li {
  color: rgb(255 255 255 / 95%);
}

.footer-section:last-child ul li:nth-child(3) {
  line-height: 1.7;
}

.footer-section ul li a:hover {
  color: rgb(255 255 255 / 100%);
}

.footer-bottom {
  border-top: 1px solid rgb(255 255 255 / 12%);
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  color: rgb(255 255 255 / 90%);
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-bottom p:first-child {
  margin-bottom: 0.5rem;
}

.footer-company-ids {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

.footer-separator {
  display: inline;
}

.footer-cin,
.footer-gstin {
  display: inline-block;
}

@media (max-width: 768px) {
  .footer-separator {
    display: none;
  }
  
  .footer-company-ids {
    flex-direction: column;
    gap: 0.25rem;
  }
}

/* Floating Actions Container - Vertical Stack */
.floating-actions {
  position: fixed;
  top: 96px; /* sit just below the navbar */
  right: 20px;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
  justify-content: flex-start;
}

.navbar.compact ~ .floating-actions {
  top: 78px;
}

.navbar.hidden ~ .floating-actions {
  top: 20px;
}

/* Floating Phone badge - circular button with expand animation */
.floating-contact {
  background: #4A90E2; /* Vibrant blue */
  color: #ffffff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  font-weight: 600;
  box-shadow: 0 10px 24px rgb(0 0 0 / 15%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.floating-contact:hover {
  background: #3A7BC8; /* Slightly darker blue on hover */
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgb(0 0 0 / 20%);
}

.floating-contact.expanded {
  width: auto;
  padding: 12px 22px;
  border-radius: 999px;
  justify-content: flex-start;
}

.floating-contact .phone-icon {
  color: #ffffff;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: opacity 0.3s ease;
}

.floating-contact.expanded .phone-icon {
  margin-right: 8px;
}

.floating-contact .phone-number-text {
  opacity: 0;
  width: 0;
  overflow: hidden;
  white-space: nowrap;
  transition: opacity 0.3s ease 0.1s, width 0s ease 0.4s;
  font-size: 1rem;
}

.floating-contact.expanded .phone-number-text {
  opacity: 1;
  width: auto;
  transition: opacity 0.3s ease 0.2s, width 0s ease 0s;
}

/* Floating Email badge - circular button */
.floating-email {
  background: #D4A574; /* Ochre/yellow-orange */
  color: #ffffff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  text-decoration: none;
  margin: 0;
  box-shadow: 0 10px 24px rgb(0 0 0 / 15%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.floating-email:hover {
  background: #C8965A; /* Slightly darker ochre on hover */
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgb(0 0 0 / 20%);
}

.floating-email .email-icon {
  color: #ffffff;
  width: 24px;
  height: 24px;
}

/* Floating WhatsApp badge - circular button */
.floating-whatsapp {
  background: #25D366; /* WhatsApp green */
  color: #ffffff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  text-decoration: none;
  margin: 0;
  box-shadow: 0 10px 24px rgb(0 0 0 / 15%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.floating-whatsapp:hover {
  background: #20BA5A; /* Slightly darker green on hover */
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgb(0 0 0 / 20%);
}

.floating-whatsapp .whatsapp-icon {
  color: #ffffff;
  width: 24px;
  height: 24px;
}

/* Responsive adjustments for floating buttons */
@media (max-width: 768px) {
  .floating-actions {
    top: 78px;
    right: 12px;
    gap: 12px;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
  }

  .floating-contact,
  .floating-whatsapp,
  .floating-email {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
  }

  .floating-contact.expanded {
    padding: 12px 18px;
    width: auto;
    min-width: 48px;
  }

  .floating-contact .phone-icon,
  .floating-whatsapp .whatsapp-icon,
  .floating-email .email-icon {
    width: 24px;
    height: 24px;
  }

  .floating-contact.expanded .phone-number-text {
    font-size: 0.95rem;
  }
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 20px;
  z-index: 1100;
  background: rgb(0 0 0 / 28%);
  backdrop-filter: blur(10px);
  color: #ffffff;
  border: 2px solid rgb(255 255 255 / 90%);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgb(0 0 0 / 15%);
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
}

.back-to-top:not([hidden]) {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: rgb(0 0 0 / 42%);
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgb(0 0 0 / 20%);
}

.back-to-top .arrow-icon {
  color: #ffffff;
}

/* Responsive Design */
@media (max-width: 768px) {
  /* slightly reduced overlay on small screens too for better imagery */
  .quality-section::before {
    background: linear-gradient(135deg, rgb(255 255 255 / 48%) 0%, rgb(255 255 255 / 38%) 100%);
  }

  .logo-image {
    max-height: 72px;
    max-width: 240px;
  }

  .back-to-top {
    bottom: 16px;
    right: 12px;
    width: 44px;
    height: 44px;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: white;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    padding-top: 2rem;
    transition: left 0.3s ease;
    box-shadow: 0 5px 15px rgb(0 0 0 / 10%);
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

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

  .origin-stats {
    grid-template-columns: 1fr;
  }

  .contact-details {
    grid-template-columns: 1fr;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .nav-container {
    padding: 1rem 15px;
  }

  .hero-content {
    padding: 0 1rem;
  }

  .hero-title {
    font-size: clamp(2.2rem, 5vw, 2.6rem);
    margin-bottom: 1.25rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
  }

  .about-section,
  .values-section,
  .origin-section {
    padding: 3rem 0;
  }

  .quality-section,
  .faq-section,
  .testimonials-section,
  .contact-section {
    padding: 3rem 0;
  }
}

/* Ensure anchored sections are visible below fixed header */

/* Note: scroll-margin-top removed - handled by JavaScript for precise control */
section[id] {
  scroll-margin-top: 0;
}
