/*
Theme Name: FS KWABO
Theme URI: https://fskwabo.org
Author: S.A.Agency
Author URI: https://saagency.cd
Description: Thème officiel de l'ONG FS KWABO — Design & Hébergement web par S.A.Agency (+243 999 949 615)
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: fskwabo
Tags: ong, ngo, charity, responsive, custom
*/

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Segoe UI', Arial, sans-serif; color: #1a1a1a; background: #fff; line-height: 1.6; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* =============================================
   VARIABLES CSS
   ============================================= */
:root {
  --green:        #006B3F;
  --green-dark:   #004d2e;
  --green-light:  #e8f5ee;
  --gold:         #F7C430;
  --gold-dark:    #e5b420;
  --text:         #1a1a1a;
  --text-muted:   #666666;
  --border:       #e5e5e5;
  --bg-light:     #f8faf9;
  --white:        #ffffff;
  --radius:       12px;
  --shadow:       0 8px 32px rgba(0,0,0,0.12);
  --transition:   0.2s ease;
}

/* =============================================
   TYPOGRAPHY
   ============================================= */
h1, h2, h3, h4, h5 { line-height: 1.3; font-weight: 700; }
h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: clamp(1rem, 2vw, 1.2rem); }
p  { line-height: 1.75; }

/* =============================================
   LAYOUT
   ============================================= */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section    { padding: 5rem 0; }
.section-bg { background: var(--bg-light); }

/* =============================================
   SECTION HEADERS
   ============================================= */
.section-tag {
  display: inline-block;
  background: var(--green-light);
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 4px;
  margin-bottom: 0.9rem;
}
.section-title  { color: var(--text); margin-bottom: 0.75rem; }
.section-sub    { color: var(--text-muted); font-size: 0.98rem; max-width: 580px; }
.section-header { margin-bottom: 3rem; }
.section-header.center { text-align: center; }
.section-header.center .section-sub { margin: 0 auto; }

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: transform var(--transition), background var(--transition);
}
.btn-primary   { background: var(--gold); color: var(--text); }
.btn-primary:hover { transform: translateY(-2px); background: var(--gold-dark); }
.btn-outline   { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.8); }
.btn-outline:hover { background: rgba(255,255,255,0.15); }
.btn-green     { background: var(--green); color: var(--white); }
.btn-green:hover { background: var(--green-dark); }
.btn-gold-full { width: 100%; background: var(--gold); color: var(--text); justify-content: center; padding: 13px; font-size: 0.97rem; }
.btn-gold-full:hover { background: var(--gold-dark); }
.btn-green-full { width: 100%; background: var(--green); color: var(--white); justify-content: center; padding: 13px; font-size: 0.97rem; border: none; cursor: pointer; border-radius: 6px; font-weight: 700; transition: background var(--transition); }
.btn-green-full:hover { background: var(--green-dark); }

/* =============================================
   NAVIGATION
   ============================================= */
#site-header {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--green);
  z-index: 1000;
  border-bottom: 1px solid var(--green-dark);
  transition: box-shadow var(--transition);
}
#site-header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.2); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-logo img { height: 50px; width: auto; }
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  font-size: 0.87rem;
}
.nav-menu a { color: var(--white); transition: color var(--transition); }
.nav-menu a:hover { color: var(--gold); }
.nav-menu .btn-nav-don {
  background: var(--gold);
  color: var(--text) !important;
  padding: 8px 18px;
  border-radius: 6px;
  font-weight: 700;
}
.nav-menu .btn-nav-don:hover { background: var(--gold-dark) !important; }
.lang-switch {
  display: flex;
  gap: 5px;
  font-size: 0.8rem;
  margin-left: 0.5rem;
  padding-left: 1rem;
  border-left: 1px solid rgba(255,255,255,0.25);
}
.lang-switch a {
  padding: 3px 9px;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.4);
  color: rgba(255,255,255,0.85);
  transition: all var(--transition);
  font-weight: 600;
}
.lang-switch a:hover,
.lang-switch a.active { background: var(--gold); color: var(--text); border-color: var(--gold); font-weight: 700; }

/* Hamburger */
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: all var(--transition); }
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* =============================================
   HERO SLIDER
   ============================================= */
#hero { position: relative; width: 100%; height: 100vh; overflow: hidden; margin-top: 68px; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
.slide.active { opacity: 1; }
.slide-bg {
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(0,50,20,0.78) 0%, rgba(0,0,0,0.1) 100%);
}
.slide-content {
  position: absolute; bottom: 0; left: 0;
  padding: 3rem 2rem 3rem 4rem;
  color: var(--white);
  max-width: 650px;
}
.slide-content h1 { text-shadow: 0 2px 10px rgba(0,0,0,0.4); margin-bottom: 1rem; }
.slide-content p  { opacity: 0.92; margin-bottom: 1.5rem; font-size: 1.05rem; }
.slide-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.slider-arrows {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 100%; display: flex; justify-content: space-between;
  padding: 0 1.2rem; z-index: 10;
}
.arrow-btn {
  background: rgba(255,255,255,0.18); border: none; color: var(--white);
  width: 44px; height: 44px; border-radius: 50%; font-size: 1.3rem;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(4px); transition: background var(--transition);
}
.arrow-btn:hover { background: rgba(255,255,255,0.38); }
.slider-dots {
  position: absolute; bottom: 24px; right: 3.5rem;
  display: flex; gap: 8px; z-index: 10;
}
.dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.4); cursor: pointer;
  transition: all 0.3s ease;
}
.dot.active { background: var(--gold); width: 28px; border-radius: 5px; }

/* =============================================
   STATS BAR
   ============================================= */
.stats-bar { background: var(--green); color: var(--white); padding: 2rem 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; text-align: center; }
.stat-item h3 { font-size: 2.1rem; color: var(--gold); }
.stat-item p  { font-size: 0.83rem; opacity: 0.85; margin-top: 4px; }

/* =============================================
   ABOUT
   ============================================= */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-text p { font-size: 0.98rem; color: #444; margin-bottom: 1rem; }
.about-values { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.5rem; }
.value-card {
  background: var(--bg-light);
  border-left: 4px solid var(--green);
  padding: 0.9rem 1.1rem;
  border-radius: 0 8px 8px 0;
}
.value-card h4 { font-size: 0.92rem; color: var(--green); margin-bottom: 3px; }
.value-card p  { font-size: 0.83rem; color: #555; }
.about-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about-img img { width: 100%; height: 400px; object-fit: cover; }

/* =============================================
   DOMAINES
   ============================================= */
.domaines-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.domaine-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.4rem 1.1rem;
  text-align: center;
  border: 1px solid #e5ede8;
  transition: transform var(--transition), box-shadow var(--transition);
}
.domaine-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,107,63,0.12); }
.domaine-icon {
  width: 50px; height: 50px;
  background: var(--green-light); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 0.9rem; font-size: 1.5rem;
}
.domaine-card h3 { font-size: 0.92rem; margin-bottom: 0.45rem; }
.domaine-card p  { font-size: 0.8rem; color: var(--text-muted); }

/* =============================================
   REALISATIONS
   ============================================= */
.realisations-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.realisation-card {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}
.realisation-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.realisation-card img { width: 100%; height: 210px; object-fit: cover; }
.realisation-body { padding: 1.1rem; }
.realisation-tag { font-size: 0.73rem; color: var(--green); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.45rem; }
.realisation-body h3 { font-size: 0.97rem; margin-bottom: 0.45rem; }
.realisation-body p  { font-size: 0.83rem; color: var(--text-muted); }

/* =============================================
   DON
   ============================================= */
.don-section { background: var(--green); color: var(--white); }
.don-grid    { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.don-text h2 { color: var(--white); margin-bottom: 1rem; }
.don-text p  { opacity: 0.9; margin-bottom: 1.5rem; }
.don-features { display: flex; flex-direction: column; gap: 0.7rem; margin-bottom: 2rem; }
.don-feature {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.88rem; opacity: 0.95;
}
.don-feature::before {
  content: "✓"; background: var(--gold); color: var(--text);
  width: 22px; height: 22px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 700; flex-shrink: 0;
  line-height: 22px; text-align: center;
}
.don-tag { background: rgba(247,196,48,0.2) !important; color: var(--gold) !important; }
.don-form-wrap {
  background: var(--white); border-radius: 14px;
  padding: 2rem; color: var(--text);
}
.don-form-wrap h3  { font-size: 1.05rem; color: var(--green); margin-bottom: 0.5rem; }
.don-form-wrap .sub { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 1.2rem; }
.amounts { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 1.2rem; }
.amt-btn {
  padding: 8px 16px; border: 1.5px solid var(--border);
  border-radius: 6px; font-size: 0.9rem; font-weight: 600;
  cursor: pointer; background: var(--white); color: var(--text);
  transition: all var(--transition);
}
.amt-btn:hover, .amt-btn.active { background: var(--green); color: var(--white); border-color: var(--green); }
.amt-libre {
  flex: 1; min-width: 100px; padding: 8px 12px;
  border: 1.5px solid var(--border); border-radius: 6px;
  font-size: 0.9rem;
}

/* =============================================
   FORMS
   ============================================= */
.form-group  { margin-bottom: 0.9rem; }
.form-row    { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.form-group label { display: block; font-size: 0.8rem; font-weight: 600; color: #444; margin-bottom: 4px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 9px 13px;
  border: 1px solid var(--border); border-radius: 7px;
  font-size: 0.88rem; color: var(--text); background: var(--white);
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--green); }

/* =============================================
   BLOG
   ============================================= */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.blog-card  { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.blog-img   { height: 190px; overflow: hidden; }
.blog-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.blog-card:hover .blog-img img { transform: scale(1.05); }
.blog-body  { padding: 1.1rem; }
.blog-date  { font-size: 0.73rem; color: #999; margin-bottom: 0.45rem; }
.blog-body h3 { font-size: 0.95rem; margin-bottom: 0.45rem; }
.blog-body p  { font-size: 0.82rem; color: var(--text-muted); }
.blog-link  { display: inline-block; margin-top: 0.7rem; font-size: 0.82rem; color: var(--green); font-weight: 600; }

/* =============================================
   CONTACT
   ============================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.contact-info h2 { margin-bottom: 0.9rem; }
.contact-info p  { color: #555; margin-bottom: 1.4rem; }
.contact-items   { display: flex; flex-direction: column; gap: 0.9rem; }
.contact-item    { display: flex; align-items: flex-start; gap: 11px; }
.contact-icon {
  width: 38px; height: 38px; background: var(--green);
  border-radius: 9px; display: flex; align-items: center;
  justify-content: center; color: var(--white); font-size: 1rem; flex-shrink: 0;
}
.contact-item h4 { font-size: 0.88rem; margin-bottom: 2px; }
.contact-item p  { font-size: 0.83rem; color: var(--text-muted); }
.social-links    { display: flex; gap: 9px; margin-top: 1.4rem; }
.social-btn {
  background: var(--green); color: var(--white);
  width: 36px; height: 36px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700; transition: background var(--transition);
}
.social-btn:hover { background: var(--green-dark); }
.contact-form-wrap {
  background: var(--white); border-radius: 14px;
  padding: 2rem; border: 1px solid #e5ede8;
}
.contact-form-wrap h3 { font-size: 1.05rem; color: var(--green); margin-bottom: 1.4rem; }

/* =============================================
   FOOTER
   ============================================= */
#site-footer { background: #0a2e1a; color: #ccc; padding: 3rem 0 1.5rem; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem; margin-bottom: 2rem;
}
.footer-brand img { height: 65px; width: auto; margin-bottom: 0.8rem; }
.footer-brand p   { font-size: 0.83rem; line-height: 1.7; opacity: 0.7; }
.footer-col h4    { font-size: 0.88rem; font-weight: 700; color: var(--white); margin-bottom: 0.9rem; }
.footer-col ul li a { font-size: 0.83rem; opacity: 0.7; color: #ccc; transition: all var(--transition); display: block; padding: 3px 0; }
.footer-col ul li a:hover { opacity: 1; color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.4rem; display: flex;
  justify-content: space-between; align-items: center;
  font-size: 0.78rem; opacity: 0.7; flex-wrap: wrap; gap: 8px;
}
.footer-bottom a { color: var(--gold); font-weight: 700; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .domaines-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid   { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav-menu  { display: none; flex-direction: column; position: absolute; top: 68px; left: 0; width: 100%; background: var(--green); padding: 1rem 2rem 1.5rem; gap: 1rem; border-top: 1px solid var(--green-dark); }
  .nav-menu.open { display: flex; }
  .nav-toggle { display: flex; }
  .about-grid, .don-grid, .contact-grid { grid-template-columns: 1fr; }
  .realisations-grid, .blog-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .slide-content { padding: 2rem; }
}
@media (max-width: 580px) {
  .domaines-grid, .realisations-grid, .blog-grid { grid-template-columns: 1fr; }
  .about-values, .form-row { grid-template-columns: 1fr; }
  .footer-grid   { grid-template-columns: 1fr; }
  .slider-dots   { right: 1rem; }
  .slide-content { padding: 1.5rem; }
  .section       { padding: 3.5rem 0; }
}
