/*
Theme Name: Sapahar Express
Theme URI: https://aamrupali.com
Author: Sapahar Express
Author URI: https://aamrupali.com
Description: Premium eco-friendly mango brand theme for Sapahar, Naogaon, Rajshahi - Bangladesh's Mango Capital. Features storytelling-based design with sections for mango varieties, agro-tourism, investment opportunities, and more.
Version: 3.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sapahar-express
Tags: eco-friendly, premium, agriculture, mango, export, storytelling, responsive
*/

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --color-primary: #2E7D32;
  --color-primary-dark: #1B5E20;
  --color-primary-light: #388E3C;
  --color-secondary: #A5D6A7;
  --color-secondary-light: #C8E6C9;
  --color-accent: #FBC02D;
  --color-bg: #FAFAF5;
  --color-bg-alt: #F1F5EE;
  --color-text: #2B2B2B;
  --color-text-light: #5C5C5C;
  --color-text-muted: #8A8A8A;
  --color-white: #FFFFFF;
  --color-border: #E0EBD8;
  --color-overlay: rgba(30, 60, 32, 0.72);

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Hind Siliguri', 'DM Sans', 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 8px rgba(46, 125, 50, 0.08);
  --shadow-md: 0 6px 24px rgba(46, 125, 50, 0.12);
  --shadow-lg: 0 16px 48px rgba(46, 125, 50, 0.16);
  --shadow-xl: 0 32px 80px rgba(46, 125, 50, 0.20);

  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  --max-width: 1280px;
  --section-gap: 64px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

.section {
  padding: var(--section-gap) 0;
}

.section-alt {
  background-color: var(--color-bg-alt);
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--color-text);
  font-weight: 700;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--color-primary);
  display: block;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 20px;
  color: var(--color-text);
}

.section-desc {
  font-size: 1.05rem;
  color: var(--color-text-light);
  max-width: 580px;
  line-height: 1.8;
}

.text-center { text-align: center; }
.text-center .section-desc { margin: 0 auto; }
.text-center .section-label { justify-content: center; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}
.btn-primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255,255,255,0.7);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--color-white);
}

.btn-outline-green {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn-outline-green:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25D366;
  color: #fff;
  border-color: #25D366;
}
.btn-whatsapp:hover {
  background: #1da851;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}

.btn-lg { padding: 18px 40px; font-size: 1rem; }
.btn-sm { padding: 10px 22px; font-size: 0.82rem; }

/* ============================================================
   NAVIGATION
   ============================================================ */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--transition);
  padding: 0;
}

#site-header.scrolled {
  background: rgba(250, 250, 245, 0.96);
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 24px rgba(46, 125, 50, 0.10);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 32px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo img {
  height: 44px;
  width: auto;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
}

.nav-logo-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1;
  transition: var(--transition);
}

.nav-logo-tagline {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  transition: var(--transition);
}

#site-header.scrolled .nav-logo-name { color: var(--color-primary); }
#site-header.scrolled .nav-logo-tagline { color: var(--color-text-muted); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-menu a {
  padding: 8px 14px;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-menu a:hover {
  color: var(--color-white);
  background: rgba(255,255,255,0.1);
}

#site-header.scrolled .nav-menu a { color: var(--color-text); }
#site-header.scrolled .nav-menu a:hover { color: var(--color-primary); background: var(--color-secondary-light); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-lang-toggle {
  display: none; /* removed - বাংলা button */
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: var(--transition);
}
#site-header.scrolled .hamburger span { background: var(--color-text); }

/* ============================================================
   HERO SECTION
   ============================================================ */
#hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(21, 50, 22, 0.82) 0%,
    rgba(30, 70, 32, 0.65) 50%,
    rgba(46, 125, 50, 0.40) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 120px 32px 80px;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-full);
  padding: 8px 18px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: 28px;
  animation: fadeInDown 0.8s ease both;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--color-secondary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.1;
  margin-bottom: 24px;
  max-width: 720px;
  animation: fadeInUp 0.8s 0.2s ease both;
}

.hero-title span {
  color: var(--color-secondary);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.85);
  max-width: 520px;
  line-height: 1.8;
  margin-bottom: 44px;
  animation: fadeInUp 0.8s 0.4s ease both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  animation: fadeInUp 0.8s 0.6s ease both;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: fadeIn 1s 1s ease both;
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.4);
  animation: scrollLine 2s infinite;
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.15);
  animation: fadeInUp 0.8s 0.8s ease both;
}

.hero-stat-value {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  margin-top: 4px;
  letter-spacing: 0.05em;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
#about {
  padding: var(--section-gap) 0;
  overflow: hidden;
}

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

.about-image-wrap {
  position: relative;
}

.about-image-main {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-xl);
}

.about-image-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.about-image-main:hover img { transform: scale(1.04); }

.about-image-badge {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  min-width: 140px;
}

.about-badge-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
}

.about-badge-text {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: 4px;
  line-height: 1.4;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 36px;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  transition: var(--transition);
}

.about-feature:hover {
  border-color: var(--color-secondary);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.about-feature-icon {
  width: 40px;
  height: 40px;
  background: var(--color-secondary-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.about-feature-title {
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 2px;
}

.about-feature-text {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* ============================================================
   MANGO VARIETIES
   ============================================================ */
#varieties {
  padding: var(--section-gap) 0;
  background: var(--color-bg-alt);
}

.varieties-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.variety-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: var(--transition);
  cursor: pointer;
}

.variety-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-secondary);
}

.variety-img {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--color-secondary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

.variety-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.variety-body {
  padding: 22px;
}

.variety-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 6px;
}

.variety-bn {
  font-size: 0.8rem;
  color: var(--color-primary);
  font-weight: 500;
  margin-bottom: 10px;
}

.variety-desc {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.variety-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.variety-tag {
  padding: 3px 10px;
  background: var(--color-secondary-light);
  color: var(--color-primary-dark);
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 600;
}

/* ============================================================
   SHOP SECTION
   ============================================================ */
#shop {
  padding: var(--section-gap) 0;
}

.shop-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.shop-content .section-desc {
  margin-bottom: 32px;
}

.shop-highlights {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}

.shop-highlight {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--color-text-light);
}

.shop-highlight-icon {
  width: 32px;
  height: 32px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.shop-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-xl);
}

.shop-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================================
   HISTORY TIMELINE
   ============================================================ */
#history {
  padding: var(--section-gap) 0;
  background: var(--color-primary-dark);
  color: var(--color-white);
  overflow: hidden;
  position: relative;
}

#history::before {
  content: '🥭';
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20rem;
  opacity: 0.05;
  pointer-events: none;
}

#history .section-label { color: var(--color-secondary); }
#history .section-title { color: var(--color-white); }
#history .section-desc { color: rgba(255,255,255,0.7); }

.timeline {
  margin-top: 64px;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(165, 214, 167, 0.25);
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  align-items: center;
  margin-bottom: 56px;
}

.timeline-item:nth-child(even) .timeline-content { grid-column: 3; }
.timeline-item:nth-child(even) .timeline-spacer { grid-column: 1; grid-row: 1; }
.timeline-item:nth-child(even) .timeline-dot { grid-column: 2; grid-row: 1; }

.timeline-item:nth-child(odd) .timeline-content { grid-column: 1; text-align: right; }
.timeline-item:nth-child(odd) .timeline-dot { grid-column: 2; }

.timeline-dot {
  width: 48px;
  height: 48px;
  background: var(--color-primary);
  border: 3px solid var(--color-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  z-index: 1;
}

.timeline-year {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-secondary);
  line-height: 1;
  margin-bottom: 8px;
}

.timeline-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 6px;
}

.timeline-text {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
}

/* ============================================================
   AGRO TOURISM
   ============================================================ */
#tourism {
  padding: var(--section-gap) 0;
}

.tourism-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
  margin-top: 56px;
}

.tourism-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.tourism-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.tourism-img:first-child {
  grid-column: 1 / -1;
  aspect-ratio: 16/9;
}

.tourism-img:not(:first-child) {
  aspect-ratio: 1;
}

.tourism-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.tourism-img:hover img { transform: scale(1.05); }

.tourism-experiences {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}

.tourism-exp {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--color-primary);
  transition: var(--transition);
}

.tourism-exp:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-sm);
}

.tourism-exp-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
}

.tourism-exp-title {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.tourism-exp-text {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* ============================================================
   INVESTMENT
   ============================================================ */
#investment {
  padding: var(--section-gap) 0;
  background: var(--color-bg-alt);
}

.investment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}

.invest-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid var(--color-border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.invest-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--color-primary);
  transform: scaleX(0);
  transition: var(--transition);
}

.invest-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.invest-card:hover::after { transform: scaleX(1); }

.invest-icon {
  width: 60px;
  height: 60px;
  background: var(--color-secondary-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 24px;
}

.invest-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.invest-desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.invest-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
}

.invest-link:hover { gap: 10px; }

/* ============================================================
   PROCESSING
   ============================================================ */
#processing {
  padding: var(--section-gap) 0;
}

.processing-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.processing-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.process-step {
  display: flex;
  gap: 20px;
  padding-bottom: 32px;
  position: relative;
}

.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 19px;
  top: 44px;
  bottom: 0;
  width: 2px;
  background: var(--color-border);
}

.process-num {
  width: 40px;
  height: 40px;
  background: var(--color-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
  z-index: 1;
}

.process-title {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 6px;
  padding-top: 8px;
}

.process-text {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.processing-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-xl);
}
.processing-image img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   BLOG
   ============================================================ */
#blog {
  padding: var(--section-gap) 0;
  background: var(--color-bg-alt);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}

.blog-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-secondary);
}

.blog-img {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--color-secondary-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.blog-card:hover .blog-img img { transform: scale(1.05); }

.blog-body { padding: 24px; }

.blog-cat {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.blog-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 10px;
  line-height: 1.4;
}

.blog-title a:hover { color: var(--color-primary); }

.blog-excerpt {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 18px;
}

.blog-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
}

/* ============================================================
   GALLERY
   ============================================================ */
#gallery {
  padding: var(--section-gap) 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto;
  gap: 16px;
  margin-top: 56px;
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  background: var(--color-secondary-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-item:nth-child(5) { grid-column: span 2; }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  min-height: 200px;
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(30, 70, 32, 0);
  transition: var(--transition);
}

.gallery-item:hover::after { background: rgba(30, 70, 32, 0.3); }
.gallery-item:hover img { transform: scale(1.06); }

/* ============================================================
   YOUTUBE
   ============================================================ */
#videos {
  padding: var(--section-gap) 0;
  background: var(--color-bg-alt);
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 56px;
}

.video-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/9;
  box-shadow: var(--shadow-md);
  background: #000;
}

.video-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ============================================================
   MAP
   ============================================================ */
#location {
  padding: var(--section-gap) 0;
}

.map-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  align-items: start;
  margin-top: 56px;
}

.map-info h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.map-info p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 24px;
}

.map-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.map-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.875rem;
  color: var(--color-text-light);
}

.map-detail-icon {
  width: 36px;
  height: 36px;
  background: var(--color-secondary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.map-embed {
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 420px;
  box-shadow: var(--shadow-lg);
}

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

/* ============================================================
   CONTACT
   ============================================================ */
#contact {
  padding: var(--section-gap) 0;
  background: var(--color-bg-alt);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
  margin-top: 56px;
}

.contact-info h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.contact-info p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 32px;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.contact-channel {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  font-size: 0.875rem;
  transition: var(--transition);
}

.contact-channel:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

.contact-channel-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.channel-wa .contact-channel-icon { background: #dcfce7; }
.channel-phone .contact-channel-icon { background: #dbeafe; }
.channel-email .contact-channel-icon { background: #fef9c3; }

.contact-channel-label {
  font-size: 0.72rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-channel-value {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-text);
}

.contact-form {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
}

.form-group {
  margin-bottom: 22px;
}

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text-light);
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 14px 18px;
  background: var(--color-bg);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--color-text);
  transition: var(--transition);
  outline: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
}

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

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

/* ============================================================
   FOOTER
   ============================================================ */
/* ============================================================
   FOOTER PADDING REDUCTION
   ============================================================ */
#site-footer {
    /* আগের 72px কমিয়ে 40px এবং নিচের 32px কমিয়ে 20px করা হয়েছে */
    padding: 40px 0 20px !important; 
}

.footer-grid {
    /* গ্রিডের নিচের গ্যাপ 56px থেকে কমিয়ে 30px করা হয়েছে */
    margin-bottom: 30px !important;
    gap: 30px !important; /* কলামগুলোর মাঝের গ্যাপও কিছুটা কমানো হলো */
}

.footer-heading {
    /* হেডিং এর নিচের গ্যাপ 20px থেকে কমিয়ে 12px করা হয়েছে */
    margin-bottom: 12px !important;
}

.footer-bottom {
    /* কপিরাইট অংশের উপরের প্যাডিং 28px থেকে কমিয়ে 15px করা হয়েছে */
    padding-top: 15px !important;
}

.footer-brand p {
    /* লোগোর নিচের প্যারাগ্রাফের গ্যাপ কমানো হয়েছে */
    margin-top: 10px !important;
}

.footer-logo-text {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-white);
}

.footer-logo-sub {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-secondary);
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.social-btn {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: var(--transition);
}

.social-btn:hover {
  background: var(--color-primary);
  transform: translateY(-3px);
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: var(--color-secondary);
  padding-left: 4px;
}

.footer-newsletter input {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  color: white;
  font-size: 0.875rem;
  margin-bottom: 10px;
  outline: none;
  transition: var(--transition);
}

.footer-newsletter input::placeholder { color: rgba(255,255,255,0.4); }
.footer-newsletter input:focus { border-color: var(--color-secondary); }

.footer-newsletter button {
  width: 100%;
  padding: 12px;
  background: var(--color-primary);
  color: white;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
}

.footer-newsletter button:hover { background: var(--color-primary-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
}

/* ============================================================
   STICKY WHATSAPP
   ============================================================ */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  transition: var(--transition);
  animation: bounceIn 0.8s 2s ease both;
}

.wa-float:hover {
  transform: scale(1.12);
  box-shadow: 0 12px 40px rgba(37, 211, 102, 0.55);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-24px); }
  to { opacity: 1; transform: translateY(0); }
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

@keyframes bounceIn {
  from { opacity: 0; transform: scale(0.3); }
  50% { transform: scale(1.1); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes leafFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-12px) rotate(5deg); }
  66% { transform: translateY(-6px) rotate(-3deg); }
}

.leaf-float { animation: leafFloat 6s ease-in-out infinite; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .varieties-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  :root { --section-gap: 56px; }
  .nav-menu { display: none; }
  .hamburger { display: flex; }
  .about-grid, .shop-hero, .tourism-grid, .processing-layout,
  .contact-grid, .map-layout { grid-template-columns: 1fr; gap: 40px; }
  .hero-stats { gap: 32px; }
  .investment-grid { grid-template-columns: 1fr 1fr; }
  .varieties-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item:nth-child(1) { grid-column: span 1; grid-row: span 1; }
  .gallery-item:nth-child(5) { grid-column: span 1; }
  .videos-grid { grid-template-columns: 1fr; }
  .timeline::before { display: none; }
  .timeline-item { display: block; padding-left: 20px; border-left: 2px solid rgba(165,214,167,0.3); margin-bottom: 36px; }
  .timeline-item:nth-child(even) .timeline-content { grid-column: 1; }
  .timeline-item:nth-child(odd) .timeline-content { text-align: left; }
  .timeline-dot { display: none; }
  .timeline-spacer { display: none; }
  .timeline-year { font-size: 1.3rem; }
  .timeline-content { grid-column: 1 !important; text-align: left !important; }
  .about-image-badge { right: 0; bottom: -20px; }
  .contact-form { padding: 28px; }
}

@media (max-width: 600px) {
  :root { --section-gap: 48px; }
  .container { padding: 0 20px; }
  .nav-inner { padding: 18px 20px; }
  #hero { min-height: 75vh; }
  .hero-content { padding: 80px 20px 50px; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .investment-grid { grid-template-columns: 1fr; }
  .varieties-grid { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .section-title { font-size: 1.5rem; }
}

/* ============================================================
   MOBILE MENU
   ============================================================ */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(250, 250, 245, 0.97);
  backdrop-filter: blur(20px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-text);
  padding: 10px 20px;
  transition: var(--transition);
}
.mobile-menu a:hover { color: var(--color-primary); }
.mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--color-text);
  background: none;
  border: none;
}

/* ============================================================
   PLACEHOLDER / FALLBACK (when no image)
   ============================================================ */
.img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--color-secondary-light) 0%, var(--color-secondary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

/* Gutenberg editor compatibility */
.wp-block-image img { border-radius: var(--radius-md); }

/* ============================================================
   POPUP SYSTEM
   ============================================================ */
.sp-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.sp-overlay.sp-visible { opacity: 1; }
.sp-box {
  background: #fff;
  border-radius: 16px;
  max-width: 520px;
  width: 100%;
  position: relative;
  overflow: hidden;
  transform: translateY(20px);
  transition: transform 0.3s ease;
  box-shadow: 0 24px 64px rgba(0,0,0,0.25);
}
.sp-overlay.sp-visible .sp-box { transform: translateY(0); }
.sp-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: rgba(0,0,0,0.12);
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 1.2rem;
  cursor: pointer;
  color: #333;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.sp-close:hover { background: rgba(0,0,0,0.22); }
.sp-img img { width: 100%; height: 200px; object-fit: cover; display: block; }
.sp-body { padding: 28px 32px 32px; }
.sp-title { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; color: var(--color-primary-dark); margin-bottom: 10px; line-height: 1.3; }
.sp-text { font-size: 0.9rem; color: var(--color-text-muted); line-height: 1.7; margin-bottom: 20px; }
.sp-cta { display: inline-block; }
@media (max-width: 500px) {
  .sp-body { padding: 20px; }
  .sp-title { font-size: 1.1rem; }
}

/* ============================================================
   SPAM PROTECTION STYLES
   ============================================================ */
.captcha-question {
  font-weight: 700;
  color: var(--color-primary);
  font-size: 1rem;
}

.form-status {
  display: none;
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 16px;
  text-align: center;
}
.form-status.success {
  background: #e8f5e9;
  color: #1b5e20;
  display: block;
  border: 1px solid #a5d6a7;
}
.form-status.error {
  background: #ffebee;
  color: #b71c1c;
  display: block;
  border: 1px solid #ef9a9a;
}
