/* ========================
   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; /* offset for fixed header */
  background: black;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align:left;
  color: #fff;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.page-hero .container {
  position: relative;
  z-index: 2;
  text-align: left;   /* force all hero text left */
  max-width: 1200px;  /* keeps text within container */
  margin: 0 auto;     /* centers the container itself */
  padding-left: 40px; /* add spacing from left edge */
}

.page-hero h1 {
  font-size: 2.8rem;
  margin-bottom: 15px;
  text-shadow: 1px 2px 6px rgba(0,0,0,0.6);
}

.page-hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0;          /* remove center alignment */
  opacity: 0.9;
  text-shadow: 1px 2px 6px rgba(0,0,0,0.6);
}


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

.board-section h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #333;
  position: relative;
}

.board-section h2::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background: #f1c40f;
  margin-top: 8px;
}

.board-section p {
  font-size: 1rem;
  line-height: 1.7;
  color: #444;
  max-width: 900px;
}

.board-section.alt-bg {
  background: #f9f9f9;
}

/* ========================
   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 li {
  position: relative;
  padding-left: 2rem;              
  margin: 1.5rem 0;                
  padding-bottom: 1rem;
  border-bottom: 1px solid #ddd;  
}

.board-section .objectives-list li:last-child {
  border-bottom: none;            
}

.board-section .objectives-list .icon {
  position: absolute;
  left: 0;
  top: 0.25rem;
  font-size: 1.2rem;
  color: #006837;                  /* cocoa green bullet */
}

/* ========================
   Management Section
======================== */
.management {
  padding: 70px 20px;
  text-align: center;
  background-color: #EFE7E2;
}

.management h2 {
  font-size: 2.4rem;
  padding-top: 50px;
  margin-bottom: 50px;
  color: #5E3018;
}

/* ========================
   Shared Image Wrapper
======================== */
.img-wrapper {
  width: 240px;
  height: 240px;
  border-radius: 14px;
  overflow: hidden;
  margin: 0 auto 18px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  position: relative;
  background: #fff;
}

/* Deputies */
.deputies .img-wrapper {
  width: 220px;
  height: 220px;
}

/* Department Heads */
.dept-card .img-wrapper {
  width: 190px;
  height: 190px;
}

/* Inner image */
.img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

/* ========================
   Executive Director
======================== */
.executive {
  margin-bottom: 60px;
}

.executive h3 {
  font-size: 1.8rem;
  margin-bottom: 8px;
  color: #5E3018;
}

.executive p {
  color: #777;
  font-size: 1.1rem;
}

/* ========================
   Deputies Layout
======================== */
.deputies {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  margin: 60px 0;
}

.deputies .card {
  width: 320px;
  text-align: center;
  background: #fff;
  padding: 25px 20px;
  border-radius: 18px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.deputies .card:hover {
  transform: translateY(-5px);
}

.deputies h4 {
  margin-top: 12px;
  font-size: 1.3rem;
  color: #5E3018;
}

.deputies .card p {
  color: #777;
  font-size: 1rem;
}

/* ========================
   Department Heads Grid
======================== */
.departments {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 50px;
  justify-items: center;
}

.dept-card {
  width: 100%;
  max-width: 320px;
  background: #fff;
  padding: 25px 20px;
  border-radius: 18px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.dept-card:hover {
  transform: translateY(-5px);
}

.dept-card h5 {
  font-size: 1.2rem;
  margin: 12px 0 8px;
  color: #5E3018;
}

.dept-card p {
  font-size: 1rem;
  color: #777;
  line-height: 1.5;
}

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

  .management h2 {
    font-size: 2rem;
  }

  .img-wrapper {
    width: 200px;
    height: 200px;
  }

  .deputies .img-wrapper,
  .dept-card .img-wrapper {
    width: 170px;
    height: 170px;
  }

  .deputies .card,
  .dept-card {
    max-width: 100%;
  }

  .departments {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* ------------------------
   Responsive tweaks
------------------------- */
@media (max-width: 768px) {
  .departments {
    margin-left: 0; /* remove right offset on smaller screens */
  }
}






/* ========================
   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;
  }
}