/* ==========================================================================
   AJILA GROUP — CORE STYLESHEET (style.css)
   Brand: AJILA VALUE ADDING VENTURES LTD
   Palette: #367431 (Green), #EB5C00 (Orange), #D5A71E (Gold), #E2A634 (Amber)
   Style: Premium Agribusiness Corporate Editorial
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;0,700;0,800;1,400;1,600&display=swap');

/* --- CSS Variables / Design System --- */
:root {
  /* Brand Primary Green (#367431) */
  --color-primary-dark: #153c13;
  --color-primary: #367431;
  --color-primary-light: #448b3e;
  --color-primary-subtle: #edf5ec;
  
  /* Brand Accent Orange (#EB5C00) */
  --color-accent: #eb5c00;
  --color-accent-dark: #cc5000;
  --color-accent-light: #ff6f1a;
  --color-accent-subtle: #fff4ec;

  /* Brand Accent Gold (#D5A71E & #E2A634) */
  --color-gold: #d5a71e;
  --color-amber: #e2a634;
  --color-gold-light: #f3c24d;
  --color-gold-subtle: #fcf8ec;

  /* Neutrals */
  --color-bg-main: #fbfdfb;
  --color-bg-surface: #ffffff;
  --color-bg-muted: #f3f6f3;
  --color-bg-dark: #0f210d;
  --color-border: #e0e7e0;
  --color-border-subtle: #edf2ed;

  /* Typography Colors */
  --color-text-heading: #0e2010;
  --color-text-body: #2c382e;
  --color-text-muted: #596b5c;
  --color-text-inverse: #ffffff;
  --color-text-inverse-muted: #c7d8c8;

  /* Typography Scale */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Layout */
  --container-max: 1240px;
  --container-narrow: 980px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(21, 60, 19, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(21, 60, 19, 0.08), 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 12px 28px rgba(21, 60, 19, 0.12), 0 4px 8px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 40px rgba(21, 60, 19, 0.16), 0 8px 16px rgba(0, 0, 0, 0.06);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-normal: 250ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 400ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text-body);
  background-color: var(--color-bg-main);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input, button, textarea, select {
  font: inherit;
}

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--color-text-heading);
  line-height: 1.25;
  font-weight: 700;
}

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

/* Utility Classes */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1rem, 3vw, 2rem);
  padding-right: clamp(1rem, 3vw, 2rem);
}

.container-narrow {
  max-width: var(--container-narrow);
}

.section {
  padding-top: clamp(3.5rem, 6vw, 6rem);
  padding-bottom: clamp(3.5rem, 6vw, 6rem);
}

.section-sm {
  padding-top: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: clamp(2rem, 4vw, 3.5rem);
}

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

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

.bg-dark {
  background-color: var(--color-bg-dark);
  color: var(--color-text-inverse);
}

.bg-primary {
  background-color: var(--color-primary-dark);
  color: var(--color-text-inverse);
}

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

.text-left {
  text-align: left;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Clean Balanced Section Headers (Centered) */
.section-header {
  text-align: center;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: clamp(2.5rem, 4vw, 3.5rem);
}

.section-header.text-left {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-amber);
  margin-bottom: 0.65rem;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  margin-bottom: 0.875rem;
  color: var(--color-text-heading);
}

.section-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* Page Hero Banner */
.page-hero {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, #1d481a 100%);
  color: #ffffff;
  padding: clamp(3rem, 5vw, 4.5rem) 0;
  text-align: center;
  border-bottom: 3px solid var(--color-gold);
}

.page-hero .section-title {
  color: #ffffff;
  margin-bottom: 0;
  font-size: clamp(2rem, 3.8vw, 3rem);
}


/* --- BUTTONS SYSTEM --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 2px solid transparent;
  white-space: nowrap;
}

/* Primary Button: Vivid High-Visibility Brand Orange (#EB5C00) */
.btn-primary {
  background-color: var(--color-accent) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(235, 92, 0, 0.38) !important;
}
.btn-primary:hover {
  background-color: var(--color-accent-dark) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(235, 92, 0, 0.5) !important;
}

/* Secondary Button: Clean Brand Green (#367431) */
.btn-secondary {
  background-color: var(--color-primary) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(54, 116, 49, 0.3) !important;
}
.btn-secondary:hover {
  background-color: var(--color-primary-light) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(54, 116, 49, 0.45) !important;
}

/* Outline White Button (Used on Dark Hero / Sections) */
.btn-outline-white {
  background-color: rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
  border: 2px solid rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(4px);
}
.btn-outline-white:hover {
  background-color: #ffffff !important;
  color: var(--color-primary-dark) !important;
  border-color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25) !important;
}

/* Solid White Button (Used on Dark Card / Banner) */
.btn-white {
  background-color: #ffffff !important;
  color: var(--color-primary-dark) !important;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15) !important;
}
.btn-white:hover {
  background-color: var(--color-accent) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(235, 92, 0, 0.38) !important;
}

/* Button Sizing */
.btn-lg {
  padding: 0.95rem 2rem;
  font-size: 1.05rem;
}
.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}


/* ==========================================================================
   UNIFORM BUTTON SYSTEM (100% Consistent Across Entire Website)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.2;
  padding: 0.8rem 1.75rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 2px solid transparent;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

/* Primary Button: Solid Brand Orange (#EB5C00) */
.btn-primary {
  background-color: var(--color-accent) !important;
  color: #ffffff !important;
  border-color: var(--color-accent) !important;
  box-shadow: 0 4px 12px rgba(235, 92, 0, 0.28) !important;
}
.btn-primary:hover {
  background-color: var(--color-accent-dark) !important;
  border-color: var(--color-accent-dark) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(235, 92, 0, 0.4) !important;
}

/* Secondary Button: Solid Brand Green (#367431) */
.btn-secondary {
  background-color: var(--color-primary) !important;
  color: #ffffff !important;
  border-color: var(--color-primary) !important;
  box-shadow: 0 4px 12px rgba(54, 116, 49, 0.25) !important;
}
.btn-secondary:hover {
  background-color: var(--color-primary-light) !important;
  border-color: var(--color-primary-light) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(54, 116, 49, 0.35) !important;
}

/* Outline Buttons */
.btn-outline-primary {
  background-color: transparent !important;
  color: var(--color-accent) !important;
  border-color: var(--color-accent) !important;
}
.btn-outline-primary:hover {
  background-color: var(--color-accent) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(235, 92, 0, 0.3) !important;
}

.btn-outline-white {
  background-color: transparent !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.9) !important;
}
.btn-outline-white:hover {
  background-color: #ffffff !important;
  color: var(--color-text-heading) !important;
  border-color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25) !important;
}

.btn-white {
  background-color: #ffffff !important;
  color: var(--color-text-heading) !important;
  border-color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}
.btn-white:hover {
  background-color: var(--color-accent) !important;
  color: #ffffff !important;
  border-color: var(--color-accent) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(235, 92, 0, 0.35) !important;
}

/* Button Sizing */
.btn-lg {
  padding: 0.9rem 2rem;
  font-size: 1rem;
}
.btn-sm {
  padding: 0.5rem 1.15rem;
  font-size: 0.85rem;
}
