/* ===========================================================
   South Bangla Charity — Elementor Mockup Stylesheet
   These CSS variables map directly to Elementor "Global Colors"
   and "Global Fonts" — set them up first under
   Elementor > Site Settings > Global Colors / Global Fonts.
   =========================================================== */

:root {
  --primary: #0B7A3D;      /* Global Color: Primary (Green) */
  --primary-dark: #075C2D;
  --secondary: #F5A623;    /* Global Color: Secondary (Orange) */
  --secondary-dark: #D6890B;
  --text: #253027;         /* Global Color: Text */
  --text-light: #5B6B60;
  --bg: #FFFFFF;           /* Global Color: Background */
  --bg-alt: #F5F8F5;       /* Global Color: Section Background (light gray-green) */
  --border: #E4EAE5;
  --white: #FFFFFF;

  --font-heading: 'Poppins', 'Segoe UI', Arial, sans-serif;  /* Global Font: Heading */
  --font-body: 'Inter', 'Segoe UI', Arial, sans-serif;       /* Global Font: Body */

  --radius: 10px;
  --shadow: 0 6px 24px rgba(11, 122, 61, 0.08);
  --shadow-hover: 0 12px 32px rgba(11, 122, 61, 0.16);
  --container: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
}

h1 { font-size: clamp(32px, 5vw, 52px); }
h2 { font-size: clamp(26px, 4vw, 36px); }
h3 { font-size: 20px; }
h4 { font-size: 17px; }

p { color: var(--text-light); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }

.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.eyebrow {
  display: inline-block;
  color: var(--primary);
  background: rgba(11,122,61,0.08);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.section-head p { margin-top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-primary { background: var(--secondary); color: #2A1900; }
.btn-primary:hover { background: var(--secondary-dark); transform: translateY(-2px); }
.btn-outline { background: transparent; border-color: var(--white); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,0.15); transform: translateY(-2px); }
.btn-green { background: var(--primary); color: var(--white); }
.btn-green:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn-ghost { background: transparent; border-color: var(--primary); color: var(--primary); }
.btn-ghost:hover { background: var(--primary); color: var(--white); }
.btn-sm { padding: 9px 18px; font-size: 13px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 999;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 12px; font-family: var(--font-heading); font-weight: 700; font-size: 20px; color: var(--primary); }
.logo .logo-mark {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 18px; flex-shrink: 0;
}
.logo small { display: block; font-weight: 400; font-size: 11px; color: var(--text-light); letter-spacing: 0.04em; }
.logo-img { height: 52px; width: 52px; border-radius: 50%; object-fit: cover; flex-shrink: 0; background: var(--white); box-shadow: 0 0 0 2px rgba(11,122,61,0.15); }
.site-footer .logo-img { box-shadow: 0 0 0 2px rgba(255,255,255,0.15); }
.logo-tagline { font-size: 11px; font-weight: 400; color: var(--text-light); letter-spacing: 0.04em; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.nav-menu { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; row-gap: 6px; justify-content: flex-end; }
.nav-menu a {
  font-family: var(--font-heading); font-weight: 500; font-size: 13.5px; white-space: nowrap;
  color: var(--text); position: relative; padding: 6px 0;
}
.nav-menu a.active, .nav-menu a:hover { color: var(--primary); }
.nav-menu a.active::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 2px; background: var(--secondary);
}
.header-actions { display: flex; align-items: center; gap: 18px; }
.nav-toggle { display: none; background: none; border: none; font-size: 24px; color: var(--primary); cursor: pointer; }

@media (max-width: 1180px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: fixed; top: 73px; left: 0; right: 0; bottom: 0;
    background: var(--white); flex-direction: column; align-items: flex-start;
    padding: 24px; gap: 4px; transform: translateX(-100%); transition: transform 0.25s ease;
    overflow-y: auto;
  }
  .nav-menu.open { transform: translateX(0); }
  .nav-menu a { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 15px; }
  .header-actions .btn span { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 640px;
  display: flex; align-items: center;
  background: linear-gradient(120deg, rgba(7,92,45,0.92), rgba(11,122,61,0.82)), url('https://picsum.photos/seed/sbc-hero/1600/900') center/cover;
  color: var(--white);
}
.hero-content { max-width: 640px; }
.hero .eyebrow { background: rgba(255,255,255,0.15); color: var(--white); }
.hero h1 { color: var(--white); margin-bottom: 18px; }
.hero p { color: rgba(255,255,255,0.88); font-size: 18px; margin-bottom: 32px; max-width: 540px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Grids & Cards ---------- */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-2 { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: all 0.25s ease; display: flex; flex-direction: column;
}
.card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.card img { width: 100%; height: 200px; object-fit: cover; }
.card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { margin-bottom: 10px; }
.card-body p { font-size: 14.5px; margin-bottom: 16px; flex: 1; }

.icon-card { padding: 32px 26px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); text-align: left; }
.icon-badge {
  width: 56px; height: 56px; border-radius: 14px; background: rgba(11,122,61,0.1);
  color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 18px;
}
.icon-card h3 { margin-bottom: 8px; }
.icon-card p { font-size: 14.5px; }

.badge {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.03em;
  padding: 5px 12px; border-radius: 999px; text-transform: uppercase;
}
.badge-ongoing { background: rgba(245,166,35,0.15); color: var(--secondary-dark); }
.badge-completed { background: rgba(11,122,61,0.12); color: var(--primary); }
.badge-future { background: rgba(91,107,96,0.12); color: var(--text-light); }

/* ---------- Stats ---------- */
.stats-band { background: var(--primary); color: var(--white); padding: 60px 0; }
.stats-band .grid-4 { text-align: center; }
.stat-num { font-family: var(--font-heading); font-size: 42px; font-weight: 700; color: var(--secondary); }
.stat-label { font-size: 14px; color: rgba(255,255,255,0.85); margin-top: 6px; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery-grid img { border-radius: var(--radius); height: 220px; object-fit: cover; cursor: pointer; transition: transform 0.25s ease; }
.gallery-grid img:hover { transform: scale(1.03); }
@media (max-width: 960px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .gallery-grid { grid-template-columns: 1fr; } }

.filter-bar { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 36px; }
.filter-btn {
  font-family: var(--font-heading); font-weight: 600; font-size: 14px; padding: 9px 20px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--white); color: var(--text); cursor: pointer; transition: all 0.2s;
}
.filter-btn.active, .filter-btn:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* ---------- Testimonials ---------- */
.testimonial { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; }
.testimonial .quote-icon { color: var(--secondary); font-size: 26px; margin-bottom: 12px; }
.testimonial p { font-style: italic; margin-bottom: 18px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-author img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.testimonial-author strong { display: block; font-size: 14.5px; }
.testimonial-author span { font-size: 12.5px; color: var(--text-light); }

/* ---------- Donation CTA band ---------- */
.donate-band {
  background: linear-gradient(120deg, var(--primary-dark), var(--primary));
  color: var(--white); border-radius: 20px; padding: 56px; text-align: center;
}
.donate-band h2 { color: var(--white); }
.donate-band p { color: rgba(255,255,255,0.85); max-width: 560px; margin: 12px auto 28px; }

/* ---------- Timeline (About) ---------- */
.timeline { position: relative; padding-left: 32px; border-left: 3px solid var(--border); }
.timeline-item { position: relative; padding-bottom: 36px; }
.timeline-item::before {
  content: ""; position: absolute; left: -41px; top: 4px; width: 16px; height: 16px;
  border-radius: 50%; background: var(--secondary); border: 3px solid var(--white); box-shadow: 0 0 0 3px var(--primary);
}
.timeline-item .year { color: var(--primary); font-weight: 700; font-family: var(--font-heading); font-size: 14px; margin-bottom: 6px; }

/* ---------- Team ---------- */
.team-card { text-align: center; }
.team-card img { width: 100%; height: 240px; object-fit: cover; border-radius: var(--radius); margin-bottom: 16px; }
.team-card h4 { margin-bottom: 4px; }
.team-card span { color: var(--primary); font-size: 13.5px; font-weight: 600; }
.team-card p { font-size: 13.5px; margin: 8px 0 0; }
.team-card .socials { display: flex; gap: 10px; justify-content: center; margin-top: 10px; }
.team-card .socials a { width: 32px; height: 32px; border-radius: 50%; background: var(--bg-alt); display: flex; align-items: center; justify-content: center; font-size: 13px; color: var(--primary); }

/* ---------- Forms ---------- */
.form-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 8px;
  font-family: var(--font-body); font-size: 14.5px; background: var(--bg-alt);
}
.field textarea { resize: vertical; min-height: 110px; }
.checkbox-group { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 18px; }
.checkbox-group label { display: flex; align-items: center; gap: 8px; font-size: 14px; }

/* ---------- Info blocks (contact/donation) ---------- */
.info-row { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px; }
.info-row .icon-badge { flex-shrink: 0; margin-bottom: 0; }
.info-row h4 { margin-bottom: 4px; }
.info-row p { font-size: 14.5px; margin: 0; }

.map-placeholder, .qr-placeholder {
  border: 2px dashed var(--border); border-radius: var(--radius); background: var(--bg-alt);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--text-light); font-size: 14px; text-align: center; gap: 8px;
}
.map-placeholder { height: 340px; }
.qr-placeholder { height: 180px; width: 180px; margin: 0 auto; }

table.bank-table { width: 100%; border-collapse: collapse; }
table.bank-table th, table.bank-table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--border); font-size: 14.5px; }
table.bank-table th { background: var(--bg-alt); font-family: var(--font-heading); }

/* ---------- Footer ---------- */
.site-footer { background: #0F1F16; color: rgba(255,255,255,0.75); padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1.1fr 1.3fr; gap: 32px; padding-bottom: 50px; }
@media (max-width: 1100px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: var(--white); margin-bottom: 18px; font-size: 15px; }
.site-footer .logo { color: var(--white); margin-bottom: 14px; }
.site-footer p { color: rgba(255,255,255,0.6); font-size: 14px; }
.footer-links a { display: block; padding: 6px 0; font-size: 14px; color: rgba(255,255,255,0.7); }
.footer-links a:hover { color: var(--secondary); }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 14px;
}
.footer-social a:hover { background: var(--secondary); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding: 22px 0; font-size: 13px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}
.footer-bottom a { color: rgba(255,255,255,0.6); margin-left: 18px; }
.footer-bottom a:hover { color: var(--secondary); }

/* ---------- Page header banner (inner pages) ---------- */
.page-banner {
  background: linear-gradient(120deg, rgba(7,92,45,0.93), rgba(11,122,61,0.85)), url('https://picsum.photos/seed/sbc-banner/1600/700') center/cover;
  color: var(--white); padding: 90px 0 60px; text-align: center;
}
.page-banner h1 { color: var(--white); margin-bottom: 10px; }
.breadcrumb { font-size: 14px; color: rgba(255,255,255,0.75); }
.breadcrumb a { color: var(--white); }
.breadcrumb .sep { margin: 0 8px; }

/* ---------- Misc ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; gap: 32px; } }
.tag-list { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.tag { font-size: 13px; background: var(--bg-alt); padding: 6px 14px; border-radius: 999px; color: var(--primary); font-weight: 600; }
.notice-box {
  background: rgba(245,166,35,0.1); border: 1px solid rgba(245,166,35,0.3); border-radius: var(--radius);
  padding: 20px 24px; font-size: 14.5px; color: var(--text);
}
.build-note {
  background: #FFF9EC; border-left: 4px solid var(--secondary); padding: 16px 20px; border-radius: 6px;
  font-size: 13.5px; color: var(--text-light); margin-top: 14px;
}
.build-note strong { color: var(--text); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---------- Hero Slider ---------- */
.hero { padding: 0; }
.hero-slides { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease;
  background-position: center; background-size: cover;
}
.hero-slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(7,92,45,0.92), rgba(11,122,61,0.8));
}
.hero-slide.active { opacity: 1; }
.hero { background: none; position: relative; overflow: hidden; }
.hero-content { position: relative; z-index: 2; padding: 100px 0; }
.hero-dots { display: flex; gap: 8px; margin-top: 36px; }
.hero-dots button {
  width: 30px; height: 4px; border-radius: 4px; border: none; background: rgba(255,255,255,0.35); cursor: pointer; transition: background 0.2s;
}
.hero-dots button.active { background: var(--secondary); }

/* ---------- Newsletter (footer) ---------- */
.newsletter-form { display: flex; gap: 0; margin-top: 6px; }
.newsletter-form input {
  flex: 1; padding: 11px 14px; border-radius: 8px 0 0 8px; border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.07); color: var(--white); font-size: 13.5px;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.5); }
.newsletter-form button {
  padding: 0 18px; border-radius: 0 8px 8px 0; border: none; background: var(--secondary); color: #2A1900;
  font-weight: 700; cursor: pointer; font-family: var(--font-heading); font-size: 13px;
}
.newsletter-form button:hover { background: var(--secondary-dark); }
.newsletter-note { font-size: 12px; color: rgba(255,255,255,0.5); margin-top: 8px; }

/* ---------- WhatsApp floating button ---------- */
.whatsapp-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 900;
  width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: var(--white);
  display: flex; align-items: center; justify-content: center; font-size: 26px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25); transition: transform 0.2s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }

/* ---------- Donor / Life Member / general "person highlight" cards ---------- */
.donor-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; text-align: center; transition: all 0.25s ease;
}
.donor-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.donor-card img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; margin: 0 auto 14px; }
.donor-card h4 { margin-bottom: 2px; }
.donor-card .role { font-size: 12.5px; color: var(--text-light); margin-bottom: 10px; }
.donor-card .quote { font-size: 13.5px; font-style: italic; color: var(--text-light); margin: 10px 0; }
.donor-meta { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 10px; }
.donor-meta span { font-size: 11.5px; background: var(--bg-alt); color: var(--primary); font-weight: 600; padding: 4px 10px; border-radius: 999px; }

.member-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  transition: all 0.25s ease;
}
.member-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.member-card img { width: 100%; height: 220px; object-fit: cover; }
.member-card .card-body h4 { margin-bottom: 2px; }
.member-card .member-id { display: inline-block; font-size: 11.5px; font-weight: 700; color: var(--primary); background: rgba(11,122,61,0.08); padding: 3px 10px; border-radius: 999px; margin-bottom: 8px; }
.member-card .designation { font-size: 12.5px; color: var(--secondary-dark); font-weight: 600; margin-bottom: 8px; display: block; }
.member-card .join-date { font-size: 12px; color: var(--text-light); margin-bottom: 8px; }
.member-card p.bio { font-size: 13.5px; }

/* ---------- Search / toolbar row ---------- */
.toolbar-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; justify-content: space-between; margin-bottom: 32px; }
.search-box { position: relative; flex: 1; min-width: 220px; max-width: 360px; }
.search-box input {
  width: 100%; padding: 12px 16px 12px 40px; border-radius: 999px; border: 1px solid var(--border);
  background: var(--bg-alt); font-size: 14px; font-family: var(--font-body);
}
.search-box i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--text-light); }
.no-results { text-align: center; padding: 40px 0; color: var(--text-light); display: none; }
.no-results.show { display: block; }
