/* ========================
   CSS VARIABLES (BRAND)
======================== */
:root {
  --brand-primary: #5E3018;
  --brand-primary-dark: #3A1C0E;
  --brand-primary-light: #9B6A54;
  --brand-bg-light: #EFE7E2;
  --brand-accent: #C6A15B;

  --text-dark: #1E1E1E;
  --text-muted: #777;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', sans-serif;
  color: var(--text-dark);
  background-color: var(--brand-bg-light);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

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

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

section {
  padding: 35px 20px;
}

/* ========================
   Header & Navigation
======================== */
.site-header {
  background-color: #fff;
  padding: 1rem 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

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

/* Logo */
.logo a {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  height: 60px;
  transition: height 0.3s ease;
}

.logo-text {
  font-size: 1.3rem;
  font-weight: bold;
  color: var(--brand-primary-dark);
  transition: font-size 0.3s ease;
}

/* Navigation */
.main-nav {
  display: flex;
  align-items: center;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 1rem;
}

.nav-menu li {
  position: relative;
}

.nav-menu a {
  padding: 0.5rem 1rem;
  display: block;
  font-weight: 500;
  color: var(--brand-primary);
  transition: color 0.3s ease;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background: var(--brand-accent);
  transition: width 0.3s ease;
}

.nav-menu a:hover {
  color: var(--brand-primary-dark);
}

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

/* Dropdown */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  border: 1px solid #eee;
  display: none;
  list-style: none;
  min-width: 200px;
  z-index: 99;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li a {
  padding: 0.6rem 1rem;
  border-bottom: 1px solid #f1f1f1;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  height: 3px;
  background-color: var(--brand-primary);
  border-radius: 2px;
  transition: 0.3s;
}


/* ========================
   Hero Section (Board Page)
======================== */
.page-hero {
  position: relative;
  height: 400px;
  margin-top: 80px;
  background: url("images/board.jpg") center/cover no-repeat;
  background-size: 130%;
  display: flex;
  align-items: center;
  color: #fff;
}

/* Dark overlay with brand tone */
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(58, 28, 14, 0.75),
    rgba(58, 28, 14, 0.45)
  );
}

/* Content wrapper */
.page-hero .container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 40px;
}

/* Heading */
.page-hero h1 {
  font-size: 2.9rem;
  margin-bottom: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #fff;
}

/* Sub-text */
.page-hero p {
  font-size: 1.2rem;
  max-width: 720px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
}

/* ========================
   Board Sections
======================== */
.board-section {
  padding: 60px 20px;
  background: #fff;
}

.board-section h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--brand-primary-dark);
  position: relative;
  font-weight: 600;
}

.board-section h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--brand-accent);
  margin-top: 10px;
  border-radius: 2px;
}

.board-section p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #555;
  max-width: 900px;
}

/* Alternate background section */
.board-section.alt-bg {
  background: var(--brand-bg-light);
}

.board-section.container {
  background:  #EFE7E2;
  padding: 60px 40px;
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(94, 48, 24, 0.08);
}

/* ========================
   Split / Image Sections
======================== */
.split,
.board-with-image {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.board-text,
.board-with-image .text {
  flex: 1;
}

.board-img,
.board-with-image .image {
  flex: 1;
}

.board-img img,
.board-with-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* ========================
   Footer
======================== */
.site-footer {
  background: var(--brand-primary-dark);
  color: #E6D8CF;
  padding: 60px 20px;
  font-size: 0.95rem;
  line-height: 1.8;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
  gap: 50px;
}


.footer-left,
.footer-right {
  flex: 1;
  min-width: 220px;
}



.footer-logo {
  width: 80px;
  margin-bottom: 15px;
}

.footer-links h4,
.footer-right h4 {
  color: var(--brand-accent);
  margin-bottom: 15px;
}

.footer-links ul,
.footer-right ul {
  list-style: none;
}

.footer-links ul li,
.footer-right ul li {
  margin-bottom: 12px;
}

.footer-links ul li a,
.footer-right ul li a {
  color: #E6D8CF;
  transition: color 0.3s;
}

.footer-links ul li a:hover,
.footer-right ul li a:hover {
  color: #fff;
}

.footer-links {
  flex: 2;
  display: flex;
  justify-content: space-between;
  gap: 60px;
}

.footer-links > div {
  min-width: 160px;
}


.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  color: #fff;
  font-size: 22px;
  transition: transform 0.3s ease;
}

.social-icons a:hover {
  transform: scale(1.15);
}


/* ========================
   Header Scroll Effect
======================== */
.site-header.shrink {
  padding: 0.5rem 0;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  box-shadow: 0 3px 10px rgba(0,0,0,0.15);
}

.site-header.shrink .logo-img {
  height: 45px;
}

.site-header.shrink .logo-text {
  font-size: 1.1rem;
}

/* ========================
   Objectives List Styles
======================== */
.board-section .objectives-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.board-section .objectives-list li {
  position: relative;
  padding-left: 2.5rem;           /* more room for image */
  margin: 1.5rem 0;               /* space above & below */
  padding-bottom: 1rem;
  border-bottom: 1px solid #ddd;  /* separator line */
}

.board-section .objectives-list li:last-child {
  border-bottom: none;            /* no line after last */
}

/* Replace ✔ with cocoa.png */
.board-section .objectives-list .icon {
  position: absolute;
  left: 0;
  top: 0.1rem;                    /* adjust vertical alignment */
  width: 20px;                     /* icon width */
  height: 20px;                    /* icon height */
  background: url("images/cocoa.png") no-repeat center center;
  background-size: contain;
  font-size: 0;                     /* hide text ✔ */
  color: transparent;               /* hide any text fallback */
}


/* ==============================
   CONTACT US PAGE (SPD)
   ============================== */

.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin: 60px auto;
  padding: 0 20px;
  max-width: 1100px;
  font-family: "Segoe UI", Arial, sans-serif;
}

.contact-info h2 {
  font-size: 1.8rem;
  color: var(--brand-primary-dark); /* cocoa dark */
  margin-bottom: 10px;
}

.contact-info p {
  line-height: 1.6;
  margin: 6px 0;
  color: var(--text-dark); /* dark cocoa text */
}

.contact-details p {
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-details i {
  color: var(--brand-primary); /* cocoa primary for icons */
}

.contact-info a {
  color: var(--brand-primary);
  text-decoration: none;
  font-weight: 500;
}

.contact-info a:hover {
  text-decoration: underline;
  color: var(--brand-primary-dark);
}

.note {
  margin-top: 20px;
  font-style: italic;
  color: var(--text-muted);
}

.contact-map iframe {
  width: 165%;
  height: 400px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(94, 48, 24, 0.1); /* cocoa shadow */
  border: 0;
}

/* ------------------------------
   CONTACT FORM
   ------------------------------ */

.contact-form-section {
  padding: 60px 20px;
  background: var(--brand-bg-light); /* light cocoa background */
}

.contact-form-section h2 {
  text-align: center;
  font-size: 1.8rem;
  color: var(--brand-primary-dark); /* cocoa dark heading */
  margin-bottom: 30px;
}

.contact-form {
  max-width: 700px;
  margin: 0 auto;
}

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

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--brand-primary-light); /* light cocoa border */
  border-radius: 6px;
  font-size: 1rem;
  transition: border 0.3s ease, box-shadow 0.3s ease;
  background: #fff;
  color: var(--text-dark);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--brand-primary-dark);
  outline: none;
  box-shadow: 0 0 8px rgba(94, 48, 24, 0.2); /* subtle cocoa glow */
}

.btn-primary {
  display: inline-block;
  background: var(--brand-primary);
  color: var(--text-light);
  border: none;
  padding: 12px 25px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn-primary:hover {
  background: var(--brand-primary-dark);
  transform: translateY(-1px); /* subtle lift effect */
}


/* ========================
   FUNCTIONS SECTION (UPGRADED)
======================== */
.objectives-list {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 2 columns */
  gap: 20px;
  margin-top: 30px;
}

.objectives-list li {
  background: #fff;
  padding: 20px 20px 20px 55px;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(94, 48, 24, 0.08);
  position: relative;
  border-left: 4px solid var(--brand-accent);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect */
.objectives-list li:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(94, 48, 24, 0.15);
}

/* Icon */
.objectives-list .icon {
  position: absolute;
  left: 15px;
  top: 20px;
  width: 28px;
  height: 28px;
  background: url("images/cocoa.png") no-repeat center;
  background-size: contain;
}

/* Text */
.objectives-list li {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-dark);
}


/* ========================
   GAP / EXPERIMENTAL SECTION
======================== */

/* Improve text width & spacing */
.board-with-image .text {
  max-width: 900px;
}

/* Sub-headings (Land Prep, Crop, etc.) */
.board-with-image h3 {
  margin-top: 25px;
  margin-bottom: 10px;
  font-size: 1.2rem;
  color: var(--brand-primary-dark);
  border-left: 4px solid var(--brand-accent);
  padding-left: 10px;
}

/* Paragraph spacing */
.board-with-image p {
  margin-bottom: 15px;
}

/* Styled lists */
.board-with-image ul {
  list-style: none;
  margin: 10px 0 20px;
  padding: 0;
}

.board-with-image ul li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  line-height: 1.6;
  color: #444;
}

/* Custom bullet (cocoa dot) */
.board-with-image ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 14px;
  height: 14px;
  background: var(--brand-accent);
  border-radius: 50%;
}

/* Section blocks (each subsection becomes card-like) */
.board-with-image .text > h3,
.board-with-image .text > p + h3 {
  margin-top: 30px;
}

/* Add subtle card feel to each group */
.board-with-image .text ul,
.board-with-image .text p {
  background: #fff;
  padding: 15px 18px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(94, 48, 24, 0.05);
}

/* Hover effect for interactivity */
.board-with-image .text ul:hover,
.board-with-image .text p:hover {
  transform: translateY(-2px);
  transition: 0.3s ease;
  box-shadow: 0 8px 20px rgba(94, 48, 24, 0.08);
}


/* ========================
   SOIL FERTILITY SECTION
======================== */

.board-section.alt-bg .board-with-image {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(94, 48, 24, 0.08);
}

/* Image enhancement */
.board-section.alt-bg img {
  border-radius: 12px;
  transition: transform 0.4s ease;
}

.board-section.alt-bg img:hover {
  transform: scale(1.05);
}

/* Text spacing */
.board-section.alt-bg .text p {
  background: transparent;
  box-shadow: none;
  padding: 0;
  font-size: 1.05rem;
  line-height: 1.8;
}


.board-with-image .text h3:not(:first-of-type) {
  border-top: 1px solid #eee;
  padding-top: 15px;
}

/* ------------------------------
   RESPONSIVE DESIGN
   ------------------------------ */

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

  .contact-map iframe {
    height: 300px;
  }
}




@media (max-width: 768px) {
  .objectives-list {
    grid-template-columns: 1fr; /* single column */
  }
}


/* ========================
   Responsive
======================== */
@media (max-width: 768px) {
  .main-nav {
    float: none;
  }

  .nav-menu {
    flex-direction: column;
    display: none;
    background-color: #f8f8f8;
    border-top: 1px solid #ddd;
    padding: 1rem;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-toggle {
    display: block;
    float: right;
    margin-top: -2.5rem;
  }

  .split,
  .board-with-image {
    flex-direction: column;
    text-align: center;
  }

  .board-img {
    order: -1;
  }

  .page-hero {
    height: 250px;
  }

  .page-hero h1 {
    font-size: 2rem;
  }

  .page-hero p {
    font-size: 1rem;
  }
}


/* ========================
   MOBILE RESPONSIVE
======================== */
@media (max-width: 768px) {

  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
  }

  .nav-menu {
    flex-direction: column;
    display: none;
    background: #fff;
    padding: 1rem;
    border-top: 1px solid #eee;
  }

  .nav-menu.active {
    display: flex;
  }

  .hero-social {
    flex-direction: row;
    bottom: 20px;
    top: auto;
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    flex-direction: column;
    align-items: center;
  }
}