/* ============================================
   AKROS LIMITED — Style Sheet
   Cashew Processing & Export | Mtwara, Tanzania
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  /* Brand Colors — derived from existing site, warmed up */
  --color-primary: #1B4D3E;       /* deep forest green — premium, natural */
  --color-primary-dark: #0F2E25;
  --color-primary-light: #2A7A5F;
  --color-accent: #C8891A;        /* warm gold — cashew/premium feel */
  --color-accent-dark: #A66F10;
  --color-accent-light: #E8A832;
  --color-bg: #FAF7F2;
  --color-bg-alt: #F0EBE3;
  --color-dark: #1A1A1A;
  --color-dark-section: #0F2E25;
  --color-text: #2D2D2D;
  --color-text-secondary: #6B6460;
  --color-text-light: #F5F0EA;
  --color-white: #FFFFFF;
  --color-border: #E0D8CE;
  --color-success: #25D366;

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;

  /* Spacing */
  --section-padding: 5rem 0;
  --container-width: 1200px;
  --nav-height: 80px;

  /* Transitions */
  --transition: 0.3s ease;
  --transition-slow: 0.6s ease;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
  color: var(--color-accent);
}

ul {
  list-style: none;
}

section {
  scroll-margin-top: 80px;
}

.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-dark);
  line-height: 1.2;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1rem;
  color: var(--color-text-secondary);
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: block;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.section-header p {
  font-size: 1.05rem;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1;
}

.btn-primary {
  background-color: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}

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

.btn-secondary {
  background-color: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}

.btn-secondary:hover {
  background-color: var(--color-white);
  color: var(--color-primary);
}

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

.btn-outline:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  transition: all var(--transition);
  background-color: transparent;
}

.navbar.scrolled {
  background-color: var(--color-white);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  padding: 0.6rem 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 50px;
  width: auto;
  transition: var(--transition);
}

.navbar.scrolled .nav-logo img {
  height: 40px;
}

.nav-logo .logo-scrolled {
  display: none;
}

.navbar.scrolled .nav-logo .logo-default {
  display: none;
}

.navbar.scrolled .nav-logo .logo-scrolled {
  display: block;
}

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

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-white);
  letter-spacing: 0.5px;
  padding: 0.3rem 0;
  position: relative;
  transition: color var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: width var(--transition);
}

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

.navbar.scrolled .nav-links a {
  color: var(--color-text);
}

.navbar.scrolled .nav-links a:hover,
.navbar.scrolled .nav-links a.active {
  color: var(--color-primary);
}

.nav-cta {
  padding: 0.6rem 1.5rem !important;
  background-color: var(--color-accent);
  color: var(--color-white) !important;
  border-radius: 4px;
  font-weight: 600 !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background-color: var(--color-accent-dark);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  background: none;
  border: none;
  z-index: 1001;
}

.hamburger span {
  width: 26px;
  height: 2px;
  background-color: var(--color-white);
  transition: all var(--transition);
  display: block;
}

.navbar.scrolled .hamburger span {
  background-color: var(--color-dark);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 46, 37, 0.85) 0%, rgba(27, 77, 62, 0.65) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  color: var(--color-white);
  padding: 0 5%;
}

.hero-content .section-subtitle {
  color: var(--color-accent-light);
}

.hero-content h1 {
  color: var(--color-white);
  margin-bottom: 1.2rem;
}

.hero-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.15rem;
  margin-bottom: 2rem;
  max-width: 550px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Hero Slideshow Controls */
.hero-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 0.5rem;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--color-white);
  background: transparent;
  cursor: pointer;
  transition: background var(--transition);
  padding: 0;
}

.hero-dot.active {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: var(--color-white);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.hero-arrow:hover {
  background: rgba(255, 255, 255, 0.3);
}

.hero-arrow.prev {
  left: 1.5rem;
}

.hero-arrow.next {
  right: 1.5rem;
}

/* --- Trust Strip --- */
.trust-strip {
  background-color: var(--color-primary);
  padding: 1.5rem 0;
}

.trust-strip .container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--color-white);
  font-size: 0.9rem;
  font-weight: 500;
}

.trust-item svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  fill: var(--color-accent-light);
}

/* --- About Preview (Home) --- */
.about-preview {
  padding: var(--section-padding);
}

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

.about-image {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 8px;
}

.about-image-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background-color: var(--color-accent);
  color: var(--color-white);
  padding: 1rem 1.5rem;
  border-radius: 4px;
  text-align: center;
}

.about-image-badge .badge-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
  display: block;
}

.about-image-badge .badge-text {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-text h2 {
  margin-bottom: 1.2rem;
}

.about-text p {
  margin-bottom: 1rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
}

.about-feature svg {
  width: 18px;
  height: 18px;
  fill: var(--color-primary);
  flex-shrink: 0;
}

/* --- Products Section --- */
.products-section {
  padding: var(--section-padding);
  background-color: var(--color-bg-alt);
}

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

.product-card {
  background: var(--color-white);
  border-radius: 8px;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.product-card-image {
  height: 220px;
  overflow: hidden;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.product-card-content {
  padding: 1.5rem;
}

.product-card-content h3 {
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.product-card-content p {
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.product-card-content .btn {
  font-size: 0.85rem;
  padding: 0.6rem 1.2rem;
}

/* --- Certifications / Badges --- */
.certifications-section {
  padding: var(--section-padding);
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.cert-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1.5rem;
  border: 2px solid var(--color-border);
  border-radius: 8px;
  transition: all var(--transition);
}

.cert-badge:hover {
  border-color: var(--color-primary);
  box-shadow: 0 4px 20px rgba(27, 77, 62, 0.1);
}

.cert-badge svg {
  width: 40px;
  height: 40px;
  fill: var(--color-primary);
  margin-bottom: 1rem;
}

.cert-badge h4 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.3rem;
}

.cert-badge p {
  font-size: 0.8rem;
  margin-bottom: 0;
  color: var(--color-text-secondary);
}

/* --- Testimonials --- */
.testimonials-section {
  padding: var(--section-padding);
  background-color: var(--color-dark-section);
}

.testimonials-section .section-subtitle {
  color: var(--color-accent-light);
}

.testimonials-section h2 {
  color: var(--color-white);
}

.testimonials-section .section-header p {
  color: rgba(255, 255, 255, 0.7);
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 2.5rem;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.testimonial-quote {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--color-text-light);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-quote::before {
  content: '\201C';
  font-size: 3rem;
  color: var(--color-accent);
  display: block;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.testimonial-author {
  color: var(--color-accent-light);
  font-weight: 600;
  font-size: 0.95rem;
}

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

/* --- CTA Section --- */
.cta-section {
  padding: var(--section-padding);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  text-align: center;
}

.cta-section h2 {
  color: var(--color-white);
  margin-bottom: 1rem;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
}

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

/* --- Page Hero (inner pages) --- */
.page-hero {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 46, 37, 0.88) 0%, rgba(27, 77, 62, 0.7) 100%);
  z-index: 1;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  color: var(--color-white);
}

.page-hero-content h1 {
  color: var(--color-white);
  margin-bottom: 0.5rem;
}

.page-hero-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
}

.breadcrumb {
  margin-top: 1rem;
  font-size: 0.85rem;
}

.breadcrumb a {
  color: var(--color-accent-light);
}

.breadcrumb span {
  color: rgba(255, 255, 255, 0.6);
}

/* --- Story / About Page --- */
.story-section {
  padding: var(--section-padding);
}

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

.story-grid.reverse {
  direction: rtl;
}

.story-grid.reverse > * {
  direction: ltr;
}

.story-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 8px;
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 2rem;
  margin: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: var(--color-border);
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
  padding-left: 1.5rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 0.4rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--color-accent);
  border: 2px solid var(--color-white);
  box-shadow: 0 0 0 2px var(--color-accent);
}

.timeline-year {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-primary);
  font-size: 1.1rem;
}

.timeline-item p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.value-card {
  text-align: center;
  padding: 2rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  transition: all var(--transition);
}

.value-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

.value-card svg {
  width: 36px;
  height: 36px;
  fill: var(--color-primary);
  margin-bottom: 1rem;
}

.value-card h4 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.value-card p {
  font-size: 0.8rem;
  margin-bottom: 0;
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 700px;
  margin: 0 auto;
}

.team-card {
  text-align: center;
  padding: 2rem;
  background: var(--color-white);
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.team-card-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
}

.team-card h3 {
  margin-bottom: 0.2rem;
}

.team-card .team-role {
  color: var(--color-accent);
  font-size: 0.85rem;
  font-weight: 500;
}

.team-card p {
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

/* --- Products Page --- */
.products-detail {
  padding: var(--section-padding);
}

.products-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.product-detail-card {
  background: var(--color-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.product-detail-card-image {
  height: 250px;
  overflow: hidden;
}

.product-detail-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-detail-card-content {
  padding: 2rem;
}

.product-detail-card-content h3 {
  color: var(--color-primary);
  margin-bottom: 0.8rem;
}

/* Grading Table */
.grading-section {
  padding: var(--section-padding);
  background-color: var(--color-bg-alt);
}

.grade-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  margin-top: 2rem;
}

.grade-table thead {
  background-color: var(--color-primary);
}

.grade-table th {
  color: var(--color-white);
  padding: 1rem 1.5rem;
  text-align: left;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
}

.grade-table td {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.9rem;
  color: var(--color-text-secondary);
}

.grade-table tbody tr:hover {
  background-color: var(--color-bg);
}

.grade-table .grade-code {
  font-weight: 700;
  color: var(--color-primary);
  font-family: var(--font-body);
}

/* Export capacity stats */
.export-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 2rem 0;
}

.stat-card {
  text-align: center;
  padding: 2rem;
  background: var(--color-white);
  border-radius: 8px;
  border: 1px solid var(--color-border);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* How to order */
.order-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.order-step {
  text-align: center;
  position: relative;
}

.order-step-number {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--color-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}

.order-step h4 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
}

.order-step p {
  font-size: 0.85rem;
  margin-bottom: 0;
}

/* --- Contact Page --- */
.contact-section {
  padding: var(--section-padding);
}

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

.contact-info-card {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}

.contact-info-card svg {
  width: 24px;
  height: 24px;
  fill: var(--color-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-info-card h4 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
}

.contact-info-card p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

.contact-info-card a {
  color: var(--color-primary);
  font-weight: 500;
}

/* Contact form */
.contact-form {
  background: var(--color-white);
  padding: 2.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--color-text);
  background-color: var(--color-bg);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(27, 77, 62, 0.1);
}

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

.form-error {
  color: #d32f2f;
  font-size: 0.8rem;
  margin-top: 0.3rem;
  display: none;
}

.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
}

.form-success svg {
  width: 48px;
  height: 48px;
  fill: var(--color-primary);
  margin: 0 auto 1rem;
}

.form-success h3 {
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

/* Map */
.map-section {
  padding: 0 0 0;
}

.map-container {
  width: 100%;
  height: 400px;
  border-radius: 0;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* --- Sustainability Section --- */
.sustainability-section {
  padding: var(--section-padding);
  background-color: var(--color-bg-alt);
}

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

.sustainability-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--color-white);
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.sustainability-card svg {
  width: 40px;
  height: 40px;
  fill: var(--color-primary);
  margin-bottom: 1rem;
}

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

.sustainability-card p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* --- Footer --- */
.footer {
  background-color: var(--color-dark-section);
  padding: 4rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand img {
  height: 45px;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.footer h4 {
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links a {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  padding: 0.3rem 0;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--color-accent-light);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  fill: var(--color-accent-light);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-contact-item a {
  color: rgba(255, 255, 255, 0.6);
}

.footer-contact-item a:hover {
  color: var(--color-accent-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
  margin-bottom: 0;
}

/* --- WhatsApp Float --- */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 56px;
  height: 56px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: transform var(--transition), box-shadow var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: var(--color-white);
}

/* --- Back to Top --- */
.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  width: 44px;
  height: 44px;
  background-color: var(--color-primary);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  z-index: 998;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-2px);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  fill: var(--color-white);
}

/* --- Mobile Enquiry Bar --- */
.mobile-enquiry-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 997;
  background: var(--color-white);
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.1);
  padding: 0.6rem;
}

.mobile-enquiry-bar .bar-buttons {
  display: flex;
  gap: 0.5rem;
}

.mobile-enquiry-bar .bar-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
}

.bar-btn-whatsapp {
  background-color: #25D366;
  color: var(--color-white);
}

.bar-btn-enquiry {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.bar-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* --- Fade-in Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- FAQ Accordion (not used for cashew exporter) --- */

/* --- Responsive --- */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

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

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

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

  .export-stats {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 3.5rem 0;
  }

  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--color-white);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 2rem 2rem;
    gap: 0;
    transition: right var(--transition);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    color: var(--color-text) !important;
    padding: 0.8rem 0;
    width: 100%;
    font-size: 1rem;
    border-bottom: 1px solid var(--color-border);
  }

  .nav-cta {
    margin-top: 1rem;
    text-align: center;
    justify-content: center;
    width: 100%;
  }

  .mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 999;
  }

  .mobile-overlay.active {
    display: block;
  }

  /* Hero */
  .hero {
    min-height: 100vh;
  }

  .hero-content {
    padding: 0 5%;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    text-align: center;
    justify-content: center;
  }

  .hero-arrow {
    display: none;
  }

  /* Grids */
  .about-grid,
  .story-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .story-grid.reverse {
    direction: ltr;
  }

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

  .products-detail-grid {
    grid-template-columns: 1fr;
  }

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

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

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

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

  .order-steps {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    justify-content: center;
    text-align: center;
  }

  .trust-strip .container {
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
  }

  /* Mobile enquiry bar */
  .mobile-enquiry-bar {
    display: block;
  }

  .whatsapp-float {
    bottom: 5rem;
  }

  .back-to-top {
    bottom: 5rem;
  }

  /* Grade table scroll */
  .grade-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .team-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .page-hero {
    min-height: 300px;
  }
}

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

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

  .about-features {
    grid-template-columns: 1fr;
  }
}
