/* =============================================================================
   faruque.info.bd — clean, dependency-free stylesheet
   ========================================================================== */

:root {
  --brand: #0a2540;
  --brand-soft: #14263d;
  --accent: #2c7773;
  --accent-soft: #e8f1f0;
  --ivory: #f7f6f2;
  --white: #ffffff;
  --text: #202938;
  --muted: #55657a;
  --border: #e3e6ea;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(10, 37, 64, 0.07);
  --container: 1080px;
  --font: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue",
    Arial, "Noto Sans", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--accent); }
a:hover { text-decoration-thickness: 2px; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--brand);
  color: #fff;
  padding: 0.7rem 1rem;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 1.75rem);
}

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  min-height: 68px;
  padding-block: 0.55rem;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  text-decoration: none;
  color: var(--brand);
  margin-right: auto;
}

.brand strong { font-size: 1.02rem; letter-spacing: -0.01em; }
.brand span { font-size: 0.72rem; color: var(--accent); font-weight: 600; }

.nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.nav a:hover { background: var(--ivory); color: var(--brand); }

.nav a[aria-current="page"] {
  background: var(--brand);
  color: var(--white);
}

/* ---- Main ---- */
main { display: block; }

.section { padding-block: clamp(2rem, 5vw, 3.5rem); }
.section--tight { padding-block: clamp(1.5rem, 3vw, 2.25rem); }

.eyebrow {
  margin: 0 0 0.4rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

h1, h2, h3 { color: var(--brand); line-height: 1.22; letter-spacing: -0.015em; }
h1 { font-size: clamp(1.8rem, 4.4vw, 2.7rem); margin: 0 0 0.7rem; }
h2 { font-size: clamp(1.3rem, 2.6vw, 1.7rem); margin: 0 0 0.7rem; }
h3 { font-size: 1.06rem; margin: 0 0 0.3rem; }

.lede {
  max-width: 62ch;
  margin: 0 0 1.4rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.1rem);
}

p { margin: 0 0 1rem; }
.prose p { max-width: 68ch; color: var(--muted); }

/* ---- Hero ---- */
.hero {
  background: linear-gradient(160deg, #ffffff 0%, #f2f6f5 100%);
  border-bottom: 1px solid var(--border);
}
.hero .container { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.hero h1 { max-width: 18ch; }
.hero .lede { max-width: 56ch; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 0.4rem; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 46px;
  padding: 0.6rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-soft); }

.btn--secondary {
  background: transparent;
  color: var(--brand);
  border-color: #c9d1da;
}
.btn--secondary:hover { background: var(--white); border-color: var(--brand); }

/* ---- Layout helpers ---- */
.grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 640px) {
  .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.split {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 860px) {
  .split { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); align-items: start; }
}

/* ---- Cards ---- */
.card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 1.3rem 1.35rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(20, 38, 61, 0.04);
}

.card p { margin: 0; color: var(--muted); font-size: 0.94rem; }

.card__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 0.8rem;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
}

/* ---- Facts / list ---- */
.facts {
  display: grid;
  gap: 0.7rem;
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
}
.facts li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  color: var(--muted);
  font-size: 0.95rem;
}
.facts svg { flex: 0 0 auto; margin-top: 0.25rem; color: var(--accent); }

.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.65rem; }
.ticks li { display: flex; gap: 0.6rem; align-items: flex-start; color: var(--muted); }
.ticks svg { flex: 0 0 auto; margin-top: 0.22rem; color: var(--accent); }

/* ---- Panels / callout ---- */
.panel {
  padding: 1.4rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.callout {
  margin-top: 2rem;
  padding: 1.5rem 1.6rem;
  background: var(--brand);
  color: #e9eef4;
  border-radius: var(--radius);
}
.callout h2 { color: #fff; }
.callout p { color: #c9d5e2; margin-bottom: 1.1rem; max-width: 60ch; }
.callout .btn--primary { background: #fff; color: var(--brand); }
.callout .btn--primary:hover { background: #eef3f8; }
.callout .btn--secondary { color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.callout .btn--secondary:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }

/* ---- Contact rows ---- */
.contact-list { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; gap: 0.7rem; }
.contact-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: inherit;
  text-decoration: none;
}
a.contact-row:hover { border-color: var(--accent); box-shadow: 0 2px 10px rgba(20, 38, 61, 0.06); }

.contact-row__icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
}
.contact-row__text { display: grid; min-width: 0; }
.contact-row__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-row__value {
  font-weight: 600;
  color: var(--brand);
  overflow-wrap: anywhere;
}

/* ---- Footer ---- */
.site-footer {
  margin-top: 1rem;
  padding-block: 1.6rem;
  background: var(--brand);
  color: #c3d0dd;
  font-size: 0.86rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  align-items: center;
  justify-content: space-between;
}
.site-footer a { color: #e9eef4; }
.site-footer p { margin: 0; }

/* ---- 404 ---- */
.center-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  padding-block: 3rem;
  text-align: center;
}
.center-page p { max-width: 48ch; margin-inline: auto; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
