/* ===== BASE STYLES ===== */
:root {
  --primary: #2d5a3d;
  --primary-light: #4a7c59;
  --primary-dark: #1e3d29;
  --text: #333333;
  --text-light: #555555;
  --text-lighter: #777777;
  --bg: #ffffff;
  --bg-light: #ffffff;
  --bg-dark: #f8f9fa;
  --border: #e0e0e0;
  --shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
  --radius: 2px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  line-height: 1.8;
  color: var(--text);
  background-color: var(--bg);
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 1.5rem;
  color: var(--text);
}

h1 { font-size: 2.2rem; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.1rem; }

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

p.lead {
  font-size: 1.1rem;
  color: var(--text-light);
}

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

a:hover {
  color: var(--primary-dark);
}

/* ===== LAYOUT ===== */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 35px;
}

.section {
  padding: 80px 0;
}

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

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

/* ===== HEADER ===== */
header {
  background-color: var(--bg-light);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  flex-wrap: wrap;
  gap: 35px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  order: 1;
  text-decoration: none;
}

.logo span {
  color: var(--text);
}

.logo strong {
  color: var(--primary);
  font-weight: 600;
}

.logo-img {
  height: 35px;
  width: auto;
  max-width: 120px;
}

/* ===== BORDER RADIUS ===== */
.btn,
.card,
.theme-card,
.infographic-item,
.benefit-card,
.outputs-table {
  border-radius: var(--radius);
}

.nav-menu {
  display: flex;
  gap: 25px;
  order: 2;
  flex: 1;
  justify-content: center;
}

.nav-menu a {
  font-weight: 500;
  padding: 8px 12px;
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s ease;
  border-bottom: 1px solid transparent;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

/* ===== LANGUAGE SWITCHER ===== */
.language-switcher {
  display: flex;
  gap: 15px;
  order: 3;
}

.lang-btn {
  padding: 6px 12px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-light);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  border-radius: var(--radius);
}

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

.lang-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  font-weight: 600;
}

.hamburger {
  display: none;
  cursor: pointer;
  order: 4;
}

/* ===== HERO SECTION ===== */
.hero {
  padding: 125px 0;
  background: linear-gradient(rgba(45, 90, 61, 0.6), rgba(45, 90, 61, 0.6)),
              url('../images/TBPXL.jpeg') center/cover no-repeat;
  color: white;
  text-align: center;
}

/* ===== TAGLINE SECTION ===== */
.tagline-section {
  padding: 20px 0;
  background: var(--bg-light);
  text-align: center;
}

.tagline {
  font-size: 0.65rem;
  color: var(--primary);
  margin-bottom: 0;
  font-weight: 500;
}

.hero-title {
  font-size: 2.8rem;
  color: white;
  margin-bottom: 25px;
  display: none;
}

.hero-title strong {
  color: white;
  font-weight: 500;
}

.hero-subtitle {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 90px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.hero-description {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 650px;
  margin: 0 auto 50px;
  line-height: 1.7;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: var(--primary);
  color: white;
  font-weight: 500;
  border-radius: var(--radius);
  border: 1px solid var(--primary);
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

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

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

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

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

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

.btn-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

/* ===== CARD COMPONENTS ===== */
.card {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 25px;
  border: 1px solid var(--border);
  transition: box-shadow 0.2s ease;
}

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

.card-img {
  height: 200px;
  background-color: var(--primary-light);
  background-size: cover;
  background-position: center;
}

.card-body {
  padding: 25px;
}

.card-title {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--text);
  font-weight: 500;
}

.card-text {
  color: var(--text-light);
  margin-bottom: 12px;
  line-height: 1.6;
}

.card-link {
  display: inline-block;
  font-weight: 500;
  color: var(--primary);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

/* ===== INFOGRAPHIC SECTIONS ===== */
.infographic {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin: 35px 0;
}

.infographic-item {
  text-align: center;
  padding: 20px;
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.infographic-icon {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 12px;
}

.infographic-title {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--text);
}

/* ===== SECTION STYLES ===== */
.section-title {
  text-align: center;
  margin-bottom: 30px;
  font-weight: 500;
}

.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto 30px;
}

/* ===== TWO-COLUMN LAYOUT ===== */
.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 768px) {
  .two-column {
    grid-template-columns: 1fr;
  }
}

.column {
  padding: 20px;
}

.column img {
  width: 100%;
  border-radius: var(--radius);
  margin-bottom: 20px;
}

/* ===== CHALLENGES & OPPORTUNITIES ===== */
.challenge-card,
.opportunity-card {
  background: white;
  padding: 25px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-left: 5px solid var(--primary);
  margin-bottom: 20px;
}

.opportunity-card {
  border-left-color: var(--secondary);
}

.challenge-card h3,
.opportunity-card h3 {
  margin-bottom: 15px;
}

.challenge-card ul,
.opportunity-card ul {
  padding-left: 20px;
  margin-bottom: 15px;
}

.challenge-card li,
.opportunity-card li {
  margin-bottom: 8px;
}

/* ===== CASE STUDY STYLES ===== */
.case-study-header {
  background: var(--primary);
  color: white;
  padding: 30px;
}

.case-study-title {
  color: white;
  font-size: 1.75rem;
}

.case-study-meta {
  display: flex;
  gap: 15px;
  margin-top: 10px;
  font-size: 0.9rem;
  opacity: 0.9;
}

.case-study-content {
  padding: 30px;
}

.case-study-content h3 {
  margin: 25px 0 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--bg-dark);
}

/* ===== TOOLS SECTION ===== */
.tool-card {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.3s ease;
}

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

.tool-header {
  background: var(--secondary);
  padding: 20px;
  color: var(--primary-dark);
}

.tool-title {
  font-size: 1.25rem;
  color: var(--primary-dark);
}

.tool-content {
  padding: 20px;
}

.tool-features {
  list-style: none;
}

.tool-features li {
  padding: 8px 0;
  padding-left: 25px;
  position: relative;
}

.tool-features li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

/* ===== COLLABORATION STYLES ===== */
.stakeholder-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.stakeholder-card {
  text-align: center;
  padding: 20px;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.stakeholder-icon {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.stakeholder-name {
  font-weight: 600;
  margin-bottom: 5px;
}

.stakeholder-role {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* ===== TIMELINE ===== */
.timeline {
  position: relative;
  padding-left: 40px;
  margin: 40px 0;
}

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

.timeline-item {
  position: relative;
  padding: 20px 30px;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -35px;
  top: 30px;
  width: 12px;
  height: 12px;
  background: var(--primary);
  border-radius: 50%;
  border: 3px solid white;
}

.timeline-date {
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 5px;
}

/* ===== CONTACT FORM ===== */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
}

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

/* ===== FOOTER ===== */
footer {
  background-color: var(--primary-dark);
  color: white;
  padding: 45px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 35px;
  margin-bottom: 25px;
}

.footer-column h3 {
  color: white;
  margin-bottom: 18px;
  font-weight: 500;
  font-size: 1rem;
}

.footer-column ul {
  list-style: none;
  padding-left: 0;
}

.footer-column ul li {
  margin-bottom: 8px;
}

.footer-column ul li a {
  color: white;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-column ul li a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.footer-column p {
  margin-bottom: 6px;
  color: white;
  font-size: 0.95rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: white;
  font-size: 0.9rem;
}

.footer-bottom p {
  color: white;
}

.footer-link {
  color: white;
  text-decoration: none;
}

.footer-link:hover {
  text-decoration: underline;
}

.footer-text-left {
  color: white;
  margin-right: 20px;
}

/* ===== BLOG STYLES ===== */
.blog-post {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 25px;
}

.blog-post-header {
  padding: 25px;
}

.blog-post-title {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.blog-post-meta {
  display: flex;
  gap: 15px;
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 15px;
}

.blog-post-excerpt {
  color: var(--text-light);
  line-height: 1.6;
}

.blog-post-image {
  height: 200px;
  background-color: var(--bg-dark);
  background-size: cover;
  background-position: center;
}

.blog-post-content {
  padding: 25px;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow);
  }

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

  .nav-menu li {
    margin-bottom: 10px;
  }

  .hamburger {
    display: block;
  }

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

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

  .btn-group {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 300px;
  }

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

  .two-column {
    grid-template-columns: 1fr;
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
}

/* ===== UTILITY CLASSES ===== */
.text-center { text-align: center; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.bg-primary { background-color: var(--primary); }
.bg-secondary { background-color: var(--secondary); }
.text-white { color: white; }

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

.fade-in {
  animation: fadeIn 0.5s ease forwards;
}

delay-1 { animation-delay: 0.05s; }
delay-2 { animation-delay: 0.1s; }
delay-3 { animation-delay: 0.15s; }
delay-4 { animation-delay: 0.2s; }

/* ===== VISION SECTION ===== */
.vision-text {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 18px;
  color: var(--text);
}

.vision-mission {
  font-weight: 500;
  color: var(--text);
  margin-bottom: 20px;
}

.vision-quote {
  font-style: italic;
  color: var(--primary-dark);
  padding-left: 15px;
  margin-top: 20px;
  font-size: 1.1rem;
  border-left: 2px solid var(--primary);
}

/* ===== CHALLENGE AND SOLUTION LISTS ===== */
.challenge-list,
.solution-list {
  padding-left: 0;
  margin-bottom: 18px;
  list-style: none;
}

.challenge-list li,
.solution-list li {
  margin-bottom: 10px;
  padding-left: 18px;
  position: relative;
}

.challenge-list li::before {
  content: '\2022';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 500;
}

.solution-list li::before {
  content: '\2022';
  position: absolute;
  left: 0;
  color: var(--text-light);
}

/* ===== THEME CARDS ===== */
.theme-card {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.theme-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.theme-icon {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 12px;
}

/* ===== APPROACH AND METHODS LISTS ===== */
.approach-list,
.methods-list {
  list-style: none;
  padding-left: 0;
}

.approach-list li,
.methods-list li {
  padding: 8px 0;
  padding-left: 25px;
  position: relative;
  margin-bottom: 8px;
}

.approach-list li i,
.methods-list li i {
  position: absolute;
  left: 0;
  color: var(--primary);
}

/* ===== OUTPUTS TABLE ===== */
.outputs-table {
  width: 100%;
  margin: 35px 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.output-header {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  background: var(--bg-dark);
  color: var(--text);
  padding: 15px;
  border-bottom: 1px solid var(--border);
}

.output-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-bottom: 1px solid var(--border);
}

.output-row:last-child {
  border-bottom: none;
}

.output-cell {
  padding: 15px;
  text-align: left;
}

.header-cell {
  font-weight: 500;
  background: var(--bg-dark);
  color: var(--text);
}

.output-row:nth-child(even) .output-cell {
  background: var(--bg-light);
}

.output-row:nth-child(odd) .output-cell {
  background: white;
}

/* ===== COLLABORATION AND PARTNERS LISTS ===== */
.collaboration-list,
.partners-list {
  list-style: none;
  padding-left: 0;
}

.collaboration-list li,
.partners-list li {
  padding: 10px 0;
  padding-left: 25px;
  position: relative;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.collaboration-list li:last-child,
.partners-list li:last-child {
  border-bottom: none;
}

.collaboration-list li i,
.partners-list li i {
  position: absolute;
  left: 0;
  color: var(--primary);
}

/* ===== BENEFITS GRID ===== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin: 40px 0;
}

.benefit-card {
  text-align: center;
  padding: 25px 20px;
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.benefit-icon {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 12px;
}

.benefit-card h4 {
  color: var(--text);
  margin-bottom: 10px;
  font-weight: 500;
}

.benefit-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

.partner-quote {
  font-style: italic;
  color: white;
  text-align: center;
  padding-left: 0;
  margin-top: 35px;
  font-size: 1.2rem;
}

/* ===== TIMELINE & CONTACT ===== */
.team-list {
  list-style: none;
  padding-left: 0;
}

.team-list li {
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}

.team-list li:last-child {
  border-bottom: none;
}

.contact-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.contact-buttons .btn {
  flex: 1;
  min-width: 180px;
}

/* ===== FOOTER LANGUAGE BUTTONS ===== */
.footer-lang-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 8px 16px;
  color: white;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
  border-radius: var(--radius);
  font-weight: 500;
}

.footer-lang-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.5);
}

.footer-lang-btn.active {
  background: rgba(255, 255, 255, 0.2);
  border-color: white;
  font-weight: 600;
}

/* ===== RESPONSIVE DESIGN UPDATES ===== */
@media (max-width: 768px) {
  .nav-container {
    flex-wrap: wrap;
  }
  
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow);
    order: 5;
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .nav-menu a {
    margin-bottom: 10px;
    width: 100%;
  }
  
  .language-switcher {
    margin-left: 0;
    order: 3;
  }
  
  .lang-btn {
    padding: 6px 12px;
    font-size: 0.9rem;
  }
  
  .hamburger {
    display: block;
    order: 4;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .outputs-table {
    overflow-x: auto;
  }
  
  .output-header,
  .output-row {
    grid-template-columns: 1fr;
    min-width: 600px;
  }
  
  .output-cell {
    white-space: nowrap;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-column ul li {
    margin-bottom: 10px;
  }
}

/* ===== PRINT STYLES ===== */
@media print {
  .no-print { display: none; }
  body { background: white; color: black; }
  a { color: var(--primary); }
}
