/* SMF front page — matches PDF mockup */

*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --smf-maroon: #a0153b;
  --smf-maroon-light: #c2185b;
  --smf-green: #1a472a;
  --smf-navy: #0a1a45;
  --smf-navy-mid: #1e3a7a;
  --smf-red-label: #b71c1c;
  --smf-grad: linear-gradient(90deg, #9e1440 0%, #0a1a45 100%);
  --smf-ink: #222;
  --smf-muted: #555;
}

.smf-front-page {
  margin: 0;
  font-family: Arial, "Manrope", "Noto Sans Bengali", sans-serif;
  color: var(--smf-ink);
  background: #fff;
  line-height: 1.45;
}

.smf-front-page a { text-decoration: none; }

/* ========== HEADER ========== */
.smf-top {
  padding: 0.85rem 1rem 0.65rem;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.smf-top-grid {
  display: grid;
  grid-template-columns: 88px 1fr 88px;
  gap: 0.75rem 1rem;
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
}

.smf-top-logo img {
  width: 78px;
  height: 78px;
  object-fit: contain;
}

.smf-top-center { text-align: center; }

.smf-org-title {
  margin: 0;
  font-family: "Times New Roman", Georgia, "Noto Serif Bengali", serif;
  font-size: clamp(1.05rem, 2.5vw, 1.55rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--smf-green);
  line-height: 1.2;
}

.smf-sec8 {
  margin: 0.25rem 0 0.45rem;
  font-size: 0.72rem;
  color: #333;
}

.smf-top-row1 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.35rem 1.25rem;
  font-size: 0.68rem;
  margin-bottom: 0.25rem;
}

.smf-reg-label {
  color: var(--smf-red-label);
  font-weight: 700;
  text-transform: uppercase;
}

.smf-top-row1 .smf-addr {
  color: var(--smf-red-label);
  font-weight: 600;
}

.smf-contact-inline {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  align-items: center;
}

.smf-contact-inline span,
.smf-contact-inline a {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: #222;
  font-size: 0.68rem;
}

.smf-contact-inline i {
  color: var(--smf-red-label);
  font-size: 0.75rem;
}

.smf-top-row2 {
  font-size: 0.62rem;
  color: #333;
  line-height: 1.5;
}

.smf-top-row-director,
.smf-top-row-clinic {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.35rem 0.65rem;
  font-size: 0.68rem;
  color: #333;
  margin-bottom: 0.25rem;
  line-height: 1.45;
}

.smf-top-row-director {
  font-weight: 600;
  color: var(--smf-navy);
}

.smf-top-row-clinic strong {
  color: var(--smf-maroon);
}

.smf-sep {
  color: #bbb;
  font-weight: 400;
}

.smf-services-note {
  background: #fafafa;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.smf-services-note-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1rem 1.25rem 1.15rem;
  text-align: center;
}

.smf-services-note-inner p {
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  color: #444;
  line-height: 1.55;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.smf-social {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  align-items: center;
}

.smf-social a {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.78rem;
}

.smf-social-fb { background: #1565c0; }
.smf-social-ig { background: #e1306c; }
.smf-social-yt { background: #c62828; }

.smf-top-tools {
  display: flex;
  justify-content: flex-end;
  max-width: 1180px;
  margin: 0.35rem auto 0;
  padding: 0 1rem;
}

/* ========== NAV (gradient) ========== */
.smf-nav-wrap {
  background: var(--smf-grad);
  position: sticky;
  top: 0;
  z-index: 200;
}

.smf-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.15rem 0.5rem;
  gap: 0.15rem;
}

.smf-nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 0.65rem;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
}

.smf-nav a:hover { opacity: 0.9; }

.smf-nav-home {
  background: #fff;
  color: var(--smf-maroon) !important;
  border-radius: 2px;
  margin: 0.2rem 0.15rem;
  padding: 0.45rem 0.75rem;
}

.smf-nav-home i { color: var(--smf-maroon); }

.smf-nav-donate {
  background: var(--smf-maroon-light) !important;
  border-radius: 2px;
  margin: 0.2rem 0.15rem;
  padding: 0.45rem 0.85rem !important;
}

.smf-nav-contact {
  background: var(--smf-navy) !important;
  border-radius: 2px;
  margin: 0.2rem 0.15rem;
  padding: 0.45rem 0.75rem !important;
}

/* ========== HERO ========== */
.smf-hero {
  display: grid;
  grid-template-columns: 28% 44% 28%;
  max-width: 1180px;
  margin: 0 auto;
  min-height: 300px;
  background: #fff;
}

.smf-hero-left {
  padding: 1.75rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.smf-hero-headline {
  margin: 0 0 0.5rem;
  font-family: "Times New Roman", Georgia, serif;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.12;
}

.smf-hero-headline .line-maroon {
  display: block;
  color: var(--smf-maroon);
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
}

.smf-hero-headline .line-navy {
  display: block;
  color: var(--smf-navy);
  font-size: clamp(1.2rem, 2.5vw, 1.65rem);
}

.smf-hero-flourish {
  width: 56px;
  height: 14px;
  margin: 0.5rem auto 1.1rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 14'%3E%3Cpath fill='none' stroke='%23a0153b' stroke-width='1.5' d='M0 7h20'/%3E%3Cpath fill='%23a0153b' d='M24 4l4 3-4 3-4-3z'/%3E%3Cpath fill='none' stroke='%23a0153b' stroke-width='1.5' d='M32 7h24'/%3E%3C/svg%3E") center/contain no-repeat;
}

.smf-hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.smf-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.95rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 3px;
  color: #fff;
}

.smf-btn-donate { background: var(--smf-maroon-light); }
.smf-btn-donate:hover { background: var(--smf-maroon); color: #fff; }
.smf-btn-join { background: var(--smf-navy); }
.smf-btn-join:hover { background: var(--smf-navy-mid); color: #fff; }

.smf-hero-photo {
  background: linear-gradient(180deg, #f5ddd0 0%, #f0ece8 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.smf-hero-photo img {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  object-position: center top;
}

.smf-hero-objects {
  background: #faf8f6;
  border-left: 1px solid #eee;
  display: flex;
  flex-direction: column;
}

.smf-objects-head {
  background: var(--smf-maroon);
  color: #fff;
  text-align: center;
  padding: 0.45rem 0.35rem;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.3;
}

.smf-objects-list {
  list-style: none;
  margin: 0;
  padding: 0.5rem 0.55rem 0.65rem;
  overflow-y: auto;
  flex: 1;
}

.smf-objects-list li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 0.35rem;
  margin-bottom: 0.45rem;
  align-items: start;
}

.smf-obj-num {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--smf-maroon);
  color: #fff;
  font-size: 0.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.smf-obj-title {
  font-weight: 700;
  color: var(--smf-navy);
  font-size: 0.58rem;
  display: block;
}

.smf-obj-desc {
  color: var(--smf-muted);
  font-size: 0.54rem;
  display: block;
  line-height: 1.3;
}

/* ========== STATS ========== */
.smf-stats {
  background: #fff;
  border-top: 1px solid #e8e8e8;
  border-bottom: 1px solid #e8e8e8;
}

.smf-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1180px;
  margin: 0 auto;
}

.smf-stat {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  border-right: 1px solid #ddd;
}

.smf-stat:last-child { border-right: none; }

.smf-stat-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #fff;
  flex-shrink: 0;
}

.smf-stat-icon.c1 { background: #e91e63; }
.smf-stat-icon.c2 { background: #1565c0; }
.smf-stat-icon.c3 { background: #7b1fa2; }
.smf-stat-icon.c4 { background: #ec407a; }

.smf-stat-num {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--smf-navy);
  line-height: 1;
}

.smf-stat-label {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #666;
  margin-top: 0.1rem;
}

/* ========== ABOUT + FOCUS ========== */
.smf-mid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1180px;
  margin: 0 auto;
}

.smf-about,
.smf-focus {
  padding: 1.35rem 1.25rem 1.5rem;
}

.smf-about {
  border-right: 1px solid #eee;
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.smf-about-img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid #fce4ec;
}

.smf-section-title-red {
  margin: 0 0 0.55rem;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--smf-maroon);
}

.smf-section-title-blue {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--smf-navy-mid);
}

.smf-about-body p {
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  color: #444;
  line-height: 1.55;
}

.smf-btn-read {
  display: inline-block;
  background: var(--smf-maroon-light);
  color: #fff;
  padding: 0.35rem 0.85rem;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 2px;
}

.smf-btn-read:hover { background: var(--smf-maroon); color: #fff; }

.smf-focus-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
  text-align: center;
}

.smf-focus-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin: 0 auto 0.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: #fff;
}

.smf-fc-health { background: #43a047; }
.smf-fc-edu { background: #fb8c00; }
.smf-fc-women { background: #1e88e5; }
.smf-fc-env { background: #ec407a; }
.smf-fc-community { background: #8e24aa; }

.smf-focus-label {
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--smf-navy);
  line-height: 1.25;
}

/* ========== CTA (gradient) ========== */
.smf-cta {
  background: var(--smf-grad);
  color: #fff;
}

.smf-cta-grid {
  display: grid;
  grid-template-columns: 1.15fr repeat(3, 1fr);
  max-width: 1180px;
  margin: 0 auto;
  align-items: stretch;
}

.smf-cta-quote {
  padding: 1.15rem 1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: clamp(0.95rem, 1.8vw, 1.2rem);
  line-height: 1.35;
  border-right: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.smf-cta-quote i { font-size: 1.25rem; opacity: 0.9; }

.smf-cta-block {
  padding: 0.95rem 0.75rem;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.smf-cta-block:last-child { border-right: none; }

.smf-cta-block i {
  font-size: 1.35rem;
  margin-bottom: 0.25rem;
}

.smf-cta-block h3 {
  margin: 0 0 0.2rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.smf-cta-block p {
  margin: 0;
  font-size: 0.58rem;
  opacity: 0.92;
  line-height: 1.35;
}

.smf-cta-block a { color: #fff; }

/* ========== FOOTER ========== */
.smf-copy {
  background: #111;
  color: #ccc;
  padding: 0.55rem 1rem;
  font-size: 0.58rem;
}

.smf-copy-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.35rem;
  max-width: 1180px;
  margin: 0 auto;
}

.smf-front-page .lang-switch {
  display: inline-flex;
  background: #f0f0f0;
  border: 1px solid #ccc;
  border-radius: 999px;
  padding: 2px;
}

.smf-front-page .lang-btn {
  border: 0;
  background: transparent;
  border-radius: 999px;
  padding: 0.25rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  color: #333;
}

.smf-front-page .lang-btn.active {
  background: var(--smf-navy);
  color: #fff;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 991px) {
  .smf-top-grid { grid-template-columns: 70px 1fr; }
  .smf-social { flex-direction: row; grid-column: 1 / -1; justify-content: center; }
  .smf-hero { grid-template-columns: 1fr; }
  .smf-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .smf-stat:nth-child(2) { border-right: none; }
  .smf-stat { border-bottom: 1px solid #ddd; }
  .smf-mid { grid-template-columns: 1fr; }
  .smf-about { border-right: none; border-bottom: 1px solid #eee; }
  .smf-cta-grid { grid-template-columns: 1fr 1fr; }
  .smf-cta-quote { grid-column: 1 / -1; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.2); }
  .smf-focus-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 575px) {
  .smf-top-grid { grid-template-columns: 1fr; text-align: center; }
  .smf-top-logo { display: flex; justify-content: center; }
  .smf-about { flex-direction: column; align-items: center; text-align: center; }
  .smf-focus-grid { grid-template-columns: repeat(2, 1fr); }
  .smf-cta-grid { grid-template-columns: 1fr; }
  .smf-copy-inner { flex-direction: column; text-align: center; }
}

@media print {
  .smf-nav-wrap, .smf-top-tools, .smf-hero-btns { display: none !important; }
}
