﻿/* ===== GREATER MUKONO DEVELOPMENT WEBSITE - CUSTOM STYLES ===== */
/* Color Palette: Greens, Earth Tones, Lake Victoria Blues */

:root {
  --primary: #2e7d32;       /* Forest green */
  --primary-light: #4caf50;
  --primary-dark: #1b5e20;
  --accent: #795548;        /* Earth brown */
  --accent-dark: #4e342e;
  --blue: #0277bd;          /* Lake Victoria blue */
  --blue-light: #29b6f6;
  --earth: #795548;
  --earth-light: #a1887f;
  --dark: #1a1a1a;
  --text: #444;
  --light-bg: #f5f7f2;
  --white: #fff;
}

body {
  font-family: "Overpass", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #fff;
  font-size: 16px;
  line-height: 1.8;
  font-weight: 300;
  color: var(--text);
}

a { color: var(--primary); transition: .3s all ease; }
a:hover { color: var(--primary-dark); text-decoration: none; }

h1, h2, h3, h4, h5,
.h1, .h2, .h3, .h4, .h5 {
  color: #111;
  font-weight: 400;
  font-family: "Dosis", sans-serif;
}

/* ===== NAVBAR ===== */
.ftco-navbar-light {
  background: transparent !important;
  position: absolute;
  left: 0; right: 0; z-index: 3; top: 10px;
}
@media (max-width: 991.98px) {
  .ftco-navbar-light { background: #000 !important; top: 0; position: relative; }
}
.ftco-navbar-light .navbar-brand {
  font-family: "Overpass", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px !important;
  font-weight: 300;
  color: #fff !important;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-right: 30px;
  transition: color .1s ease !important;
}
.ftco-navbar-light .navbar-brand,
.ftco-navbar-light .navbar-brand span {
  font-size: 16px !important;
  transition: color .1s ease !important;
}
.ftco-navbar-light .navbar-brand { color: #fff !important; }
.ftco-navbar-light .navbar-brand span { color: #fff !important; }
.ftco-navbar-light.scrolled .navbar-brand { color: #000 !important; }
.ftco-navbar-light.scrolled .navbar-brand span { color: #000 !important; }
.ftco-navbar-light .navbar-brand span { color: #fff; }
.ftco-navbar-light.scrolled .navbar-brand { color: #000 !important; }
.ftco-navbar-light.scrolled .navbar-brand span { color: #000; }
.ftco-navbar-light .navbar-nav > .nav-item > .nav-link {
  font-size: 14px;
  padding-top: 30px;
  padding-bottom: 30px;
  padding-left: 12px;
  padding-right: 12px;
  color: #f0f0f0;
  opacity: 1 !important;
}
.ftco-navbar-light .navbar-nav > .nav-item > .nav-link:hover { color: #fff; }
@media (max-width: 991.98px) {
  .ftco-navbar-light .navbar-nav > .nav-item > .nav-link {
    padding-top: 10px; padding-bottom: 10px;
    padding-left: 0; padding-right: 0;
  }
}
/* Active item — white underline bar like givehope */
.ftco-navbar-light .navbar-nav > .nav-item.active > a {
  color: #fff;
  position: relative;
}
.ftco-navbar-light .navbar-nav > .nav-item.active > a:before {
  content: "";
  height: 2px;
  background: #fff;
  left: 20px; right: 20px;
  position: absolute;
  bottom: 20px;
}
@media (max-width: 991.98px) {
  .ftco-navbar-light .navbar-nav > .nav-item.active > a:before { display: none; }
}
.ftco-navbar-light .navbar-toggler {
  border: none;
  color: rgba(255,255,255,.5) !important;
  cursor: pointer;
  padding-right: 0;
  text-transform: uppercase;
  font-size: 16px;
  letter-spacing: .1em;
}
/* Scrolled — white background, dark text like givehope */
.ftco-navbar-light.scrolled {
  position: fixed; top: 0; left: 0; right: 0;
  background: #fff !important;
  box-shadow: 0 0 10px 0 rgba(0,0,0,.1);
  transition: background .1s ease;
}
.ftco-navbar-light.scrolled,
.ftco-navbar-light.scrolled.sleep,
.ftco-navbar-light.scrolled.awake {
  margin-top: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
}
.ftco-navbar-light.scrolled .navbar-nav > .nav-item > .nav-link {
  padding-top: 0.9rem !important;
  padding-bottom: 0.9rem !important;
  color: #000 !important;
}
.ftco-navbar-light.scrolled .navbar-nav > .nav-item > .nav-link:hover { color: var(--accent) !important; }
.ftco-navbar-light.scrolled .nav-item.active > a { color: var(--accent) !important; }
.ftco-navbar-light.scrolled .nav-item.active > a:before { display: none; }
.ftco-navbar-light.scrolled .navbar-toggler {
  border: none;
  color: rgba(0,0,0,.5) !important;
  border-color: rgba(0,0,0,.5) !important;
}
/* Dropdown */
/* Dropdown — dark transparent over hero, white when scrolled */
.ftco-navbar-light .dropdown-menu {
  border: none;
  border-radius: 0;
  box-shadow: 0 8px 30px rgba(0,0,0,.3);
  background: rgba(0,0,0,.35);
  min-width: 200px;
}
.ftco-navbar-light .dropdown-item { color: rgba(255,255,255,.85); font-size: 13px; padding: 8px 20px; }
.ftco-navbar-light .dropdown-item:hover { background: var(--primary); color: #fff; }
/* When scrolled — switch to solid white */
.ftco-navbar-light.scrolled .dropdown-menu {
  background: #fff;
  box-shadow: 0 8px 30px rgba(0,0,0,.1);
}
.ftco-navbar-light.scrolled .dropdown-item { color: #555; }
.ftco-navbar-light.scrolled .dropdown-item:hover { background: var(--primary); color: #fff; }
/* Get Involved button in nav */
.ftco-navbar-light .navbar-nav > .nav-item > .nav-link.btn-accent {
  background: var(--accent);
  color: #111 !important;
  border-radius: 4px;
  padding: 10px 20px !important;
  margin-top: 18px;
  margin-bottom: 18px;
  font-weight: 600;
  opacity: 1 !important;
}
.ftco-navbar-light .navbar-nav > .nav-item > .nav-link.btn-accent:hover {
  background: #f57f17;
  color: #fff !important;
}

/* ===== HERO / BANNER ===== */
.hero-section {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--blue) 100%);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-section .hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.5) 0%, rgba(27,94,32,.6) 100%);
}
.hero-section .hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  background-image: url('../givehope/images/bg_1.jpg');
}
.hero-section .hero-content { position: relative; z-index: 2; }
.hero-section h1 { font-size: 3.2rem; color: #fff; font-weight: 700; line-height: 1.2; }
.hero-section .hero-sub { font-size: 1.2rem; color: rgba(255,255,255,.85); max-width: 600px; }
.hero-section .hero-districts span {
  display: inline-block; background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3); color: #fff;
  padding: 4px 14px; border-radius: 20px; font-size: 13px; margin: 3px;
}
@media (max-width: 767px) { .hero-section h1 { font-size: 2rem; } }

/* ===== STATS DASHBOARD ===== */
.stats-dashboard { background: var(--primary-dark); padding: 0; }
.stat-card {
  text-align: center; padding: 30px 20px;
  border-right: 1px solid rgba(255,255,255,.1);
}
.stat-card:last-child { border-right: none; }
.stat-card .stat-number { font-size: 2.8rem; font-weight: 700; color: var(--accent); font-family: "Dosis", sans-serif; line-height: 1; }
.stat-card .stat-label { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.7); margin-top: 5px; }
@media (max-width: 767px) { .stat-card { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); } }

/* ===== SECTION STYLES ===== */
.site-section { padding: 5em 0; }
.site-section.bg-light { background: var(--light-bg) !important; }
.section-heading { margin-bottom: 50px; }
.section-heading .tag {
  display: inline-block; background: var(--primary); color: #fff;
  font-size: 11px; text-transform: uppercase; letter-spacing: .15em;
  padding: 4px 14px; border-radius: 20px; margin-bottom: 12px;
}
.section-heading h2 { font-size: 1.7rem; font-weight: 700; color: #111; }
.section-heading p { color: #666; max-width: 600px; font-size: 14px; }
.section-divider { width: 50px; height: 3px; background: var(--primary); margin: 15px 0; }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  padding: 120px 0 60px;
  background: linear-gradient(135deg, var(--primary-dark), var(--blue));
  position: relative;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: url('../givehope/images/bg_2.jpg') center/cover;
  opacity: .2;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: 2.5rem; font-weight: 700; }
.page-hero .breadcrumb { background: none; padding: 0; }
.page-hero .breadcrumb-item, .page-hero .breadcrumb-item a { color: rgba(255,255,255,.7); font-size: 14px; }
.page-hero .breadcrumb-item.active { color: rgba(255,255,255,.85); }
.page-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.4); }

/* ===== BUTTONS ===== */
.btn { border-radius: 4px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; font-weight: 500; padding: 10px 28px; transition: .3s all ease; }
.btn-primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; }
.btn-accent { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn-accent:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; }
.btn-outline-primary { border: 2px solid var(--primary); color: var(--primary); background: transparent; }
.btn-outline-primary:hover { background: var(--primary); color: #fff; }
.btn-outline-white { border: 2px solid rgba(255,255,255,.7); color: #fff; background: transparent; }
.btn-outline-white:hover { background: #fff; color: var(--primary-dark); }
.btn-blue { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn-blue:hover { background: #01579b; border-color: #01579b; color: #fff; }

/* ===== PROJECT CARDS ===== */
.project-card {
  border: none; border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
  transition: .3s all ease; overflow: hidden; height: 100%;
}
.project-card:hover { transform: translateY(-5px); box-shadow: 0 12px 40px rgba(0,0,0,.15); }
.project-card .card-img-top { height: 200px; object-fit: cover; }
.project-card .card-body { padding: 20px; }
.project-card .project-status {
  display: inline-block; font-size: 11px; text-transform: uppercase;
  letter-spacing: .1em; padding: 3px 10px; border-radius: 20px; margin-bottom: 10px;
}
.status-ongoing { background: #e8f5e9; color: var(--primary); }
.status-development { background: #fff3e0; color: var(--accent-dark); }
.status-completed { background: #e3f2fd; color: var(--blue); }
.status-proposed { background: #f3e5f5; color: #7b1fa2; }
.project-card .sdg-badge {
  display: inline-block; width: 28px; height: 28px; border-radius: 4px;
  font-size: 10px; font-weight: 700; color: #fff; text-align: center;
  line-height: 28px; margin: 2px;
}
.project-card .progress { height: 6px; border-radius: 3px; background: #e0e0e0; }
.project-card .progress-bar { background: var(--primary); }

/* ===== FEATURE ICONS ===== */
.feature-icon-box {
  text-align: center; padding: 30px 20px;
  border-radius: 8px; background: #fff;
  box-shadow: 0 2px 15px rgba(0,0,0,.06);
  transition: .3s all ease;
}
.feature-icon-box:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,.12); }
.feature-icon-box .icon-wrap {
  width: 70px; height: 70px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; font-size: 28px; color: #fff;
}
.feature-icon-box.blue .icon-wrap { background: linear-gradient(135deg, var(--blue-light), var(--blue)); }
.feature-icon-box.amber .icon-wrap { background: linear-gradient(135deg, #ffca28, var(--accent-dark)); }
.feature-icon-box.earth .icon-wrap { background: linear-gradient(135deg, var(--earth-light), var(--earth)); }
.feature-icon-box h4 { font-size: 1rem; font-weight: 600; margin-bottom: 10px; }

/* ===== MAP SECTION ===== */
#region-map { height: 450px; width: 100%; border-radius: 8px; }
.map-legend { background: #fff; border-radius: 8px; padding: 15px; box-shadow: 0 2px 15px rgba(0,0,0,.1); }
.map-legend .legend-item { display: flex; align-items: center; margin-bottom: 8px; font-size: 13px; }
.map-legend .legend-dot { width: 14px; height: 14px; border-radius: 50%; margin-right: 8px; flex-shrink: 0; }

/* ===== CHARTS ===== */
.chart-card { background: #fff; border-radius: 8px; padding: 25px; box-shadow: 0 2px 15px rgba(0,0,0,.06); margin-bottom: 30px; }
.chart-card h5 { font-size: 1rem; font-weight: 600; margin-bottom: 20px; color: #333; }

/* ===== NEWS / BLOG ===== */
.news-card { border: none; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 15px rgba(0,0,0,.06); transition: .3s; height: 100%; }
.news-card:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(0,0,0,.12); }
.news-card .news-img { height: 200px; overflow: hidden; }
.news-card .news-img img { width: 100%; height: 100%; object-fit: cover; transition: .4s; }
.news-card:hover .news-img img { transform: scale(1.05); }
.news-card .news-body { padding: 20px; }
.news-card .news-cat {
  font-size: 11px; text-transform: uppercase; letter-spacing: .1em;
  color: var(--primary); font-weight: 600; margin-bottom: 8px; display: block;
}
.news-card h4 { font-size: 1.05rem; font-weight: 600; line-height: 1.4; margin-bottom: 10px; }
.news-card h4 a { color: #111; }
.news-card h4 a:hover { color: var(--primary); }
.news-card .news-meta { font-size: 12px; color: #999; }

/* ===== TEAM CARDS ===== */
.team-card { text-align: center; padding: 30px 20px; background: #fff; border-radius: 8px; box-shadow: 0 2px 15px rgba(0,0,0,.06); transition: .3s; }
.team-card:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(0,0,0,.12); }
.team-card img { width: 100px; height: 100px; border-radius: 50%; object-fit: cover; border: 4px solid var(--primary-light); margin-bottom: 15px; }
.team-card h5 { font-size: 1rem; font-weight: 600; margin-bottom: 4px; }
.team-card .role { font-size: 13px; color: var(--primary); margin-bottom: 12px; }

/* ===== PARTNER LOGOS ===== */
.partner-logo { padding: 20px; background: #fff; border-radius: 8px; text-align: center; box-shadow: 0 2px 10px rgba(0,0,0,.05); transition: .3s; }
.partner-logo:hover { box-shadow: 0 6px 20px rgba(0,0,0,.1); }
.partner-logo img { max-height: 60px; filter: grayscale(100%); opacity: .6; transition: .3s; }
.partner-logo:hover img { filter: none; opacity: 1; }

/* ===== FACILITY CARDS ===== */
.facility-card { border: none; border-radius: 8px; padding: 20px; background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,.06); margin-bottom: 20px; display: flex; align-items: flex-start; gap: 15px; }
.facility-card .fac-icon { width: 50px; height: 50px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.facility-card.health .fac-icon { background: #fce4ec; color: #c62828; }
.facility-card.education .fac-icon { background: #e8f5e9; color: var(--primary); }
.facility-card h6 { font-size: .95rem; font-weight: 600; margin-bottom: 4px; }
.facility-card p { font-size: 13px; color: #777; margin: 0; }

/* ===== TABS ===== */
.nav-tabs.custom-tabs { border-bottom: 2px solid #e0e0e0; }
.nav-tabs.custom-tabs .nav-link { border: none; border-bottom: 3px solid transparent; color: #666; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; padding: 10px 20px; margin-bottom: -2px; border-radius: 0; }
.nav-tabs.custom-tabs .nav-link.active { color: var(--primary); border-bottom-color: var(--primary); background: none; }
.nav-tabs.custom-tabs .nav-link:hover { color: var(--primary); }

/* ===== FEEDBACK / FORMS ===== */
.form-control { border-radius: 4px; border: 1px solid #ddd; padding: 10px 15px; font-size: 14px; }
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(46,125,50,.1); }
.feedback-card { background: #fff; border-radius: 8px; padding: 20px; box-shadow: 0 2px 12px rgba(0,0,0,.06); margin-bottom: 20px; border-left: 4px solid var(--primary); }
.feedback-card .rating { color: var(--accent); font-size: 14px; }
.feedback-card .fb-meta { font-size: 12px; color: #999; margin-top: 8px; }

/* ===== TIMELINE ===== */
.timeline { position: relative; padding: 20px 0; }
.timeline::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: #e0e0e0; transform: translateX(-50%); }
.timeline-item { display: flex; justify-content: flex-end; padding-right: calc(50% + 30px); margin-bottom: 40px; position: relative; }
.timeline-item:nth-child(even) { justify-content: flex-start; padding-right: 0; padding-left: calc(50% + 30px); }
.timeline-dot { position: absolute; left: 50%; top: 15px; width: 16px; height: 16px; border-radius: 50%; background: var(--primary); border: 3px solid #fff; box-shadow: 0 0 0 3px var(--primary-light); transform: translateX(-50%); }
.timeline-content { background: #fff; border-radius: 8px; padding: 20px; box-shadow: 0 2px 15px rgba(0,0,0,.08); max-width: 400px; }
.timeline-content .year { font-size: 12px; color: var(--primary); font-weight: 600; text-transform: uppercase; letter-spacing: .1em; }
.timeline-content h5 { font-size: 1rem; font-weight: 600; margin: 5px 0; }
@media (max-width: 767px) {
  .timeline::before { left: 20px; }
  .timeline-item, .timeline-item:nth-child(even) { justify-content: flex-start; padding-right: 0; padding-left: 50px; }
  .timeline-dot { left: 20px; }
}

/* ===== GALLERY ===== */
.gallery-item { position: relative; overflow: hidden; border-radius: 8px; margin-bottom: 20px; }
.gallery-item img { width: 100%; height: 220px; object-fit: cover; transition: .4s; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item .gallery-overlay { position: absolute; inset: 0; background: rgba(27,94,32,.7); display: flex; align-items: center; justify-content: center; opacity: 0; transition: .3s; }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-item .gallery-overlay a { color: #fff; font-size: 30px; }

/* ===== DONATE SECTION ===== */
.donate-section { background: linear-gradient(135deg, var(--primary-dark), var(--blue)); padding: 80px 0; }
.donate-section h2 { color: #fff; }
.donate-section p { color: rgba(255,255,255,.8); }
.donate-amount-btn { border: 2px solid rgba(255,255,255,.5); color: #fff; background: transparent; padding: 10px 20px; border-radius: 4px; cursor: pointer; transition: .3s; font-size: 16px; font-weight: 600; }
.donate-amount-btn:hover, .donate-amount-btn.active { background: var(--accent); border-color: var(--accent); color: #111; }

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed; bottom: 25px; right: 25px; z-index: 999;
  width: 42px; height: 42px; border-radius: 50%;
  background: #25d366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 3px 12px rgba(37,211,102,.4); transition: .3s;
  text-decoration: none;
}
.whatsapp-float:hover { transform: scale(1.1); background: #128c7e; }
.whatsapp-float svg { width: 22px; height: 22px; fill: #fff; }

/* ===== FOOTER ===== */
.footer { background: #1a2e1a; padding: 70px 0 30px; color: rgba(255,255,255,.75); }
.footer h5 { color: #fff; font-size: 1rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 20px; }
.footer a { color: rgba(255,255,255,.6); }
.footer a:hover { color: var(--accent); }
.footer .footer-links li { margin-bottom: 8px; list-style: none; }
.footer .footer-links li a { font-size: 14px; }
.footer .footer-contact li { list-style: none; margin-bottom: 10px; font-size: 14px; display: flex; gap: 10px; }
.footer .footer-contact li i { color: #4caf50; margin-top: 3px; flex-shrink: 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 25px; margin-top: 50px; }
.footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); color: rgba(255,255,255,.7); margin-right: 8px; transition: .3s; font-size: 16px; }
.footer-social a:hover { background: var(--primary); color: #fff; }

/* ===== LOADER — dots in a circle ===== */
#page-loader {
  position: fixed; inset: 0; background: #fff;
  z-index: 9999; display: flex !important;
  align-items: center; justify-content: center;
  transition: opacity .3s ease;
}
#page-loader.hidden { opacity: 0; pointer-events: none; }
.loader-circle {
  position: relative;
  width: 44px; height: 44px;
  animation: spin 1.2s linear infinite;
}
.loader-circle span {
  position: absolute;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--primary);
  top: 50%; left: 50%;
  margin: -3.5px 0 0 -3.5px;
}
.loader-circle span:nth-child(1) { transform: rotate(0deg)   translateY(-18px); opacity: 1; }
.loader-circle span:nth-child(2) { transform: rotate(45deg)  translateY(-18px); opacity: .85; }
.loader-circle span:nth-child(3) { transform: rotate(90deg)  translateY(-18px); opacity: .7; }
.loader-circle span:nth-child(4) { transform: rotate(135deg) translateY(-18px); opacity: .55; }
.loader-circle span:nth-child(5) { transform: rotate(180deg) translateY(-18px); opacity: .4; }
.loader-circle span:nth-child(6) { transform: rotate(225deg) translateY(-18px); opacity: .3; }
.loader-circle span:nth-child(7) { transform: rotate(270deg) translateY(-18px); opacity: .2; }
.loader-circle span:nth-child(8) { transform: rotate(315deg) translateY(-18px); opacity: .1; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== SEARCH BAR ===== */
.search-bar { position: relative; }
.search-bar input { border-radius: 30px; padding-left: 20px; padding-right: 50px; border: 2px solid #e0e0e0; }
.search-bar input:focus { border-color: var(--primary); }
.search-bar button { position: absolute; right: 5px; top: 50%; transform: translateY(-50%); background: var(--primary); border: none; color: #fff; width: 36px; height: 36px; border-radius: 50%; }

/* ===== LANGUAGE TOGGLE ===== */
.lang-toggle { font-size: 12px; }
.lang-toggle a { color: rgba(255,255,255,.7); padding: 2px 8px; border-radius: 3px; }
.lang-toggle a.active { background: var(--accent); color: #111; }

/* ===== NEWSLETTER ===== */
.newsletter-section { background: var(--primary); padding: 50px 0; }
.newsletter-section h3 { color: #fff; }
.newsletter-section p { color: rgba(255,255,255,.8); }
.newsletter-form { display: flex; gap: 10px; max-width: 500px; }
.newsletter-form input { flex: 1; border-radius: 30px; border: none; padding: 12px 20px; }
.newsletter-form button { border-radius: 30px; background: var(--accent); border: none; color: #111; padding: 12px 25px; font-weight: 600; white-space: nowrap; }

/* ===== MISC ===== */
.text-primary { color: var(--primary) !important; }
.text-accent { color: var(--accent) !important; }
.text-blue { color: var(--blue) !important; }
.bg-primary { background: var(--primary) !important; }
.bg-accent { background: var(--accent) !important; }
.bg-dark-green { background: var(--primary-dark) !important; }
.border-primary { border-color: var(--primary) !important; }
.rounded-lg { border-radius: 12px !important; }
.shadow-sm { box-shadow: 0 2px 12px rgba(0,0,0,.06) !important; }
.overlay-green { position: relative; }
.overlay-green::before { content: ''; position: absolute; inset: 0; background: rgba(27,94,32,.75); }
.overlay-green > * { position: relative; z-index: 1; }
.section-bg-pattern { background-color: var(--light-bg); background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%232e7d32' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }

/* ===== GIVEHOPE-STYLE HERO BANNER ===== */
.block-31 { position: relative; }
.block-31 .owl-dots {
  position: absolute;
  bottom: 30px;
  right: 50px;
}
.block-31 .owl-dots .owl-dot {
  float: left;
  width: 40px;
  height: 3px;
  background: #fff;
  opacity: .3;
  margin: 0 3px;
}
.block-31 .owl-dots .owl-dot.active { opacity: 1; }
.block-31 .owl-nav {
  position: absolute;
  bottom: 60px;
  right: 50px;
}
.block-31 .owl-nav .owl-prev,
.block-31 .owl-nav .owl-next {
  color: #fff;
  font-size: 20px;
  opacity: .5;
  transition: .3s;
}
.block-31 .owl-nav .owl-prev:hover,
.block-31 .owl-nav .owl-next:hover { opacity: 1; }

.block-30 {
  background-size: cover;
  background-position: center center;
  background-color: #ccc;
  padding: 0;
  position: relative;
}
@media (max-width: 991.98px) {
  .block-30 { background-position: center center !important; }
}
.block-30, .block-30 .row {
  min-height: 700px;
  height: 100vh;
}
.block-30:before {
  content: "";
  background: #000;
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  opacity: .15;
  z-index: 0;
}
.block-30 .container { position: relative; z-index: 1; }
.block-30.block-30-sm,
.block-30.block-30-sm .row {
  min-height: 700px;
  height: 70vh;
}
/* Heading — matches givehope exactly: light weight, large, centered */
/* Heading — smaller like givehope, fits 2 lines */
.block-30 .heading {
  color: #fff;
  font-size: 36px;
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 50px;
  font-family: "Dosis", sans-serif;
}
@media (min-width: 768px) { .block-30 .heading { font-size: 50px; } }
@media (min-width: 992px) { .block-30 .heading { font-size: 55px; } }
.block-30 .lead { color: #fff; }

/* Play video — exact givehope match */
.ftco-play-video span {
  transition: .3s all ease;
}
.ftco-play-video > .play-icon-wrap {
  display: inline-block;
  width: 50px;
  height: 50px;
  border: 1px solid #fff;
  position: relative;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  flex-shrink: 0;
}
.ftco-play-video > .play-icon-wrap > span {
  font-size: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: 2px;
  transform: translate(-50%, -50%);
  color: #fff;
}
.ftco-play-video:hover > .play-icon-wrap {
  transform: scale(1.2);
}
.ftco-play-video:hover span { color: #fff; }
.ftco-play-video {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: .3s;
}
.ftco-play-video:hover { color: #fff; text-decoration: none; }
}

/* Stats block — use blue instead of orange */
.block-48 { background: var(--blue); padding: 50px; color: #fff; }
.block-48 .block-48-text-1 { font-size: 22px; color: #fff; }
.block-48 .block-48-counter { font-size: 70px; line-height: 1; font-family: "Dosis", sans-serif; font-weight: 700; color: #fff; }
.block-48 .ftco-counter .ftco-number { font-size: 40px; font-weight: 700; color: #fff; font-family: "Dosis", sans-serif; }
.block-48 .ftco-counter .ftco-label { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.7); }
.block-48 .btn-white { background: #fff; color: var(--blue); border-radius: 0; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.block-48 .btn-white:hover { background: var(--primary-dark); color: #fff; }

.ftco-counter .ftco-number {
  display: block;
  font-size: 52px;
  font-weight: 700;
  color: var(--blue);
  font-family: "Dosis", sans-serif;
  line-height: 1;
}
.ftco-counter .ftco-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #999;
}
.welcome-text .display-4 {
  font-family: "Dosis", sans-serif;
  font-weight: 300;
}

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--primary-dark);
  padding: 0;
}
.stats-bar-item {
  text-align: center;
  padding: 40px 20px;
  border-right: 1px solid rgba(255,255,255,.1);
  transition: background .3s;
}
.stats-bar-item:last-child { border-right: none; }
.stats-bar-item:hover { background: rgba(255,255,255,.05); }
.stats-bar-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-light);
  font-family: "Dosis", sans-serif;
  line-height: 1;
  margin-bottom: 8px;
}
.stats-bar-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(255,255,255,.65);
}
@media (max-width: 767px) {
  .stats-bar-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); }
  .stats-bar-number { font-size: 2.2rem; }
}

/* ===== WELFARE-STYLE ICON SERVICES ===== */
.services .icon {
  border-radius: 50%;
}
.services .icon span {
  font-size: 50px;
  color: var(--primary);
}
.services h3.heading {
  font-size: 20px;
  margin-bottom: 15px;
  font-family: "Dosis", sans-serif;
}
.services p {
  font-size: 15px;
  color: #777;
}
.services .link-underline {
  color: var(--primary);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .1em;
  text-decoration: underline;
}
.services .link-underline:hover {
  text-decoration: none;
  color: var(--primary-dark);
}
.block-6 {
  margin-bottom: 40px;
}

/* ===== GIVEHOPE FEATURED SECTION (volunteer/get involved) ===== */
.featured-section {
  padding: 4em 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.featured-section img {
  box-shadow: 0 4px 30px -5px black;
  border-radius: 7px;
}
.featured-section.overlay-color-2 {
  position: relative;
}
.featured-section.overlay-color-2:before {
  position: absolute;
  content: "";
  background: var(--earth);
  left: 0; top: 0; right: 0; bottom: 0;
  opacity: .88;
}
.featured-section .container { position: relative; z-index: 1; }

.form-volunteer h2 {
  font-size: 25px;
  margin-bottom: 20px;
  color: #fff;
}
.form-volunteer .form-control {
  border: 2px solid #fff;
  background: none !important;
  margin-bottom: 10px;
  color: #fff !important;
  border-radius: 0;
}
.form-volunteer .form-control::placeholder { color: rgba(255,255,255,.7); font-style: italic; }
.form-volunteer select.form-control option { color: #333; background: #fff; }
.form-volunteer .btn-white {
  background: #fff;
  color: var(--primary);
  border-radius: 0;
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.form-volunteer .btn-white:hover { background: var(--primary); color: #fff; }

/* ===== WELFARE CAUSE-ENTRY CARDS ===== */
.cause-entry {
  background: #fff;
  border: 1px solid #fafafa;
  box-shadow: 0 2px 20px rgba(0,0,0,.07);
  border-radius: 4px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.cause-entry .img {
  display: block;
  height: 200px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  flex-shrink: 0;
}
@media (min-width: 768px) {
  .cause-entry .text {
    margin-top: -40px !important;
    background: #fff;
    width: 90%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
  }
}
.cause-entry .text h3 {
  font-size: 15px;
  margin-bottom: 8px;
}
.cause-entry .text h3 a { color: #000; }
.cause-entry .text h3 a:hover { color: var(--primary); }
.cause-entry .text p { font-size: 13px; color: #777; margin-bottom: 8px; }
.cause-entry .text .custom-progress-success {
  background-color: #f2f2f2;
  height: .3rem;
  border-radius: 4px;
  margin-bottom: 10px;
}
.cause-entry .text .custom-progress-success .progress-bar { background: var(--primary) !important; }
.cause-entry span.donation-time {
  font-style: italic;
  color: #cfcfcf;
  font-size: 13px;
}
.cause-entry span.fund-raised {
  color: #000;
  font-size: 13px;
  font-weight: 600;
}

/* Cause carousel dots — small, vertical, right side */
.carousel-cause + .owl-dots,
.carousel-cause .owl-dots {
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.carousel-cause .owl-dots .owl-dot span {
  width: 6px;
  height: 6px;
  background: #ccc;
  border-radius: 50%;
  display: block;
  transition: .3s;
}
.carousel-cause .owl-dots .owl-dot.active span,
.carousel-cause .owl-dots .owl-dot:hover span {
  background: var(--primary);
  height: 16px;
  border-radius: 3px;
}
/* Make parent relative so dots position correctly */
.col-md-12:has(.carousel-cause) {
  position: relative;
}

/* ===== WELFARE GALLERY STRIP ===== */
.ftco-gallery { overflow: hidden; }
.gallery {
  width: 25%;
  position: relative;
}
.gallery:after {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  content: '';
  background: rgba(0,0,0,.2);
  transition: all .3s ease;
}
.gallery:hover:after { background: rgba(121,85,72,.65); }
@media (max-width: 767.98px) { .gallery { width: 100%; } }
.gallery.img {
  display: block;
  height: 250px;
  background-size: cover;
  background-position: center;
}
.gallery .icon {
  width: 50px;
  height: 50px;
  background: rgba(255,255,255,.8);
  opacity: 0;
  border-radius: 50%;
  position: relative;
  z-index: 1;
  transition: all .3s ease;
  font-size: 20px;
  color: #000;
}
.gallery:hover .icon { opacity: 1; }

/* ===== CONSISTENT FONT SIZES ACROSS SECTIONS ===== */
/* News cards */
.news-card h4 { font-size: 15px; font-weight: 600; line-height: 1.4; margin-bottom: 8px; }
.news-card p { font-size: 13px; }
.news-cat { font-size: 11px; }
.news-meta { font-size: 11px; }

/* CTA welfare icons */
.services h3.heading { font-size: 16px; margin-bottom: 10px; }
.services p { font-size: 14px; }
.services .icon span { font-size: 40px; }

/* Get Involved form */
.form-volunteer h2 { font-size: 20px; margin-bottom: 15px; }
.form-volunteer .form-control { font-size: 13px; }

/* Footer */
.footer h5 { font-size: 12px; }
.footer p, .footer-links li a, .footer-contact li { font-size: 11px; }
.footer-bottom p { font-size: 10px; }
.footer * { font-size: 13px !important; }

/* Make all cause-entry cards equal height in carousel */
.carousel-cause .owl-item {
  display: flex;
}
.carousel-cause .item {
  display: flex;
  width: 100%;
  height: 100%;
}
.carousel-cause .cause-entry {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.carousel-cause .cause-entry .img {
  flex-shrink: 0;
}
.carousel-cause .cause-entry .text {
  display: flex;
  flex-direction: column;
  flex: 1;
}
/* Status badge at top */
.carousel-cause .cause-entry .project-status {
  flex-shrink: 0;
}
/* Title and description */
.carousel-cause .cause-entry .text h3 {
  flex-shrink: 0;
}
.carousel-cause .cause-entry .text > p {
  flex: 1;
  margin-bottom: 10px;
}
/* Progress section at bottom */
.carousel-cause .cause-entry .donation-time,
.carousel-cause .cause-entry .progress,
.carousel-cause .cause-entry .fund-raised {
  flex-shrink: 0;
  margin-top: auto;
}
.carousel-cause .cause-entry .fund-raised {
  margin-top: 0;
}

/* Clamp cause-entry description to 3 lines max — no card can ever grow longer */
.carousel-cause .cause-entry .text > p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 0 0 auto;
}

/* ===== OVERRIDE ALL ORANGE/YELLOW — enforce single green ===== */
/* Remove yellow box-shadow on buttons */
.btn { box-shadow: none !important; }
.btn-outline-primary {
  border: 2px solid var(--primary) !important;
  color: var(--primary) !important;
  background: transparent !important;
}
.btn-outline-primary:hover {
  background: var(--primary) !important;
  color: #fff !important;
  border-color: var(--primary) !important;
}
/* Kill any yellow/gold glow from vendor CSS */
.btn:focus, .btn:active { outline: none !important; box-shadow: none !important; }

/* Badges — use same green as stats bar */
.project-status.status-ongoing { background: #e8f5e9; color: var(--primary); border: none; }
.project-status.status-development { background: #e8f5e9; color: var(--primary-dark); border: none; }
.project-status.status-completed { background: var(--primary); color: #fff; border: none; }
.project-status.status-proposed { background: #f5f7f2; color: var(--primary); border: none; }

/* Footer — darker green */
.footer { background: #1a2e1a !important; }
.footer a:hover { color: #fff !important; }
.footer .footer-links li a { color: rgba(255,255,255,.7); }
.footer .footer-links li a:hover { color: #fff; }

/* ===== COLOUR BALANCE — green + blue + earth ===== */
/* Stats bar — green background, earth numbers */
.stats-bar { background: var(--primary) !important; }
.stats-bar-number { color: #d7ccc8 !important; }
.stats-bar-label { color: #d7ccc8 !important; }
.stats-bar-item { border-right-color: rgba(255,255,255,.15) !important; }

/* Stats block (block-48) — blue */
.block-48 { background: #0277bd !important; }
.block-48 .block-48-text-1,
.block-48 .block-48-counter { color: #fff !important; }
.block-48 .btn-white { background: #fff !important; color: #0277bd !important; }
.block-48 .btn-white:hover { background: #1b5e20 !important; color: #fff !important; }

/* Counter numbers on white sections — blue */
.ftco-counter .ftco-number { color: #0277bd !important; }

/* Get Involved overlay — earth brown */
.featured-section.overlay-color-2:before { background: #795548 !important; opacity: .9; }

/* Services icons — rotate green/blue/earth */
.services .icon span { color: #2e7d32; }
.col-md-4:nth-child(2) .services .icon span { color: #0277bd; }
.col-md-4:nth-child(3) .services .icon span { color: #795548; }

/* Underline link with arrow */
.link-arrow {
  color: var(--primary);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 500;
  transition: .2s;
  text-decoration: none;
  border-bottom: 1px solid var(--primary);
  padding-bottom: 2px;
}
.link-arrow span {
  display: inline-block;
  transition: transform .2s;
  text-decoration: none;
  border-bottom: none;
  margin-left: 8px;
  text-decoration: none !important;
  border: none !important;
}
.link-arrow:hover { color: var(--primary-dark); border-bottom-color: var(--primary-dark); text-decoration: none; }
.link-arrow:hover span { transform: translateX(4px); }

/* News section — blue accents */
.news-cat { color: #0277bd !important; }
.news-card h4 a:hover { color: #0277bd !important; }
