/* ==========================================================================
   Mohammad Habibur Rahman — personal one-page site
   ========================================================================== */

:root {
  --navy: #0b2545;
  --navy-deep: #03213a;
  --ink: #16263b;
  --text: #3d4a5c;
  --muted: #5f6b7c;
  --green: #0a8f4a;
  --green-bright: #3cc46e;
  --green-soft: #e3f4ea;
  --red: #e0262f;
  --gold: #c9a45c;
  --bg-soft: #f4f7fa;
  --line: #e3e8ef;
  --shadow: 0 6px 24px rgba(11, 37, 69, 0.08);
  --container: 1344px;
  --header-h: 74px;
  --font-body: "Poppins", "Hind Siliguri", system-ui, sans-serif;
  --font-display: "Poppins", "Noto Sans Bengali", "Hind Siliguri", system-ui, sans-serif;
  --font-script: "Galada", "Hind Siliguri", cursive;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4, p, figure, blockquote, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { display: inline-block; flex: none; width: 1em; height: 1em; fill: currentColor; vertical-align: -0.125em; }

.container { width: min(100% - 48px, var(--container)); margin-inline: auto; }

.skip-link {
  position: absolute; top: 8px; left: -9999px; z-index: 500;
  padding: 8px 14px; border-radius: 6px; background: var(--navy); color: #fff;
}
.skip-link:focus { left: 12px; }

:focus-visible { outline: 3px solid var(--green-bright); outline-offset: 2px; }

[id] { scroll-margin-top: calc(var(--header-h) + 6px); }

.flag-bar {
  display: block; width: 84px; height: 4px; border-radius: 4px;
  background: linear-gradient(90deg, #1a9b4b 0 58%, var(--red) 58% 100%);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 11px 20px; border: 0; border-radius: 8px;
  font-size: 15px; font-weight: 600; line-height: 1.3; white-space: nowrap;
  transition: transform 0.15s, box-shadow 0.2s, background-color 0.2s, border-color 0.2s, color 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn .icon { font-size: 0.95em; }
.btn .icon-lg { font-size: 1.35em; }

.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: #12355f; }

.btn-green {
  background: linear-gradient(180deg, #17a85b, #0a8445);
  color: #fff;
  box-shadow: 0 6px 16px rgba(10, 132, 69, 0.28);
}
.btn-green:hover { box-shadow: 0 10px 22px rgba(10, 132, 69, 0.38); }

.btn-outline-light { background: rgba(255, 255, 255, 0.04); color: #fff; border: 1.5px solid rgba(255, 255, 255, 0.78); }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.14); }

.btn-outline { background: #fff; color: var(--navy); border: 1.5px solid #c9d2de; }
.btn-outline:hover { border-color: var(--navy); }

.btn-pill {
  padding: 9px 16px; border: 1.5px solid #cfd7e2; border-radius: 10px;
  background: #fff; color: var(--navy); font-size: 14px;
  box-shadow: 0 2px 6px rgba(11, 37, 69, 0.05);
}
.btn-pill:hover { border-color: var(--navy); }
.btn-lg { padding: 14px 30px; font-size: 16px; }

.text-link { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--navy); }
.text-link:hover { color: var(--green); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s, border-color 0.25s;
}
@supports (backdrop-filter: blur(8px)) {
  .site-header { background: rgba(255, 255, 255, 0.9); backdrop-filter: saturate(1.4) blur(10px); }
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(11, 37, 69, 0.08); }

.header-inner { display: flex; align-items: center; gap: 22px; height: var(--header-h); }

.brand { display: flex; flex: none; align-items: center; gap: 10px; }
.brand-mark { width: 64px; height: 44px; }
.brand-text strong {
  display: block; font-family: var(--font-display); font-size: 19px; font-weight: 700;
  line-height: 1.25; color: var(--navy);
}
.brand-text small { display: block; margin-top: 2px; font-size: 11.5px; line-height: 1.3; color: var(--muted); white-space: nowrap; }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 20px; }
.main-nav a {
  position: relative; display: block; padding: 8px 0;
  font-size: 15px; font-weight: 500; color: #1d2b3d; white-space: nowrap;
  transition: color 0.2s;
}
.main-nav a::after {
  content: ""; position: absolute; right: 0; bottom: 1px; left: 0; height: 2.5px; border-radius: 2px;
  background: var(--green); transform: scaleX(0); transition: transform 0.25s;
}
.main-nav a:hover { color: var(--green); }
.main-nav a.active { color: var(--navy); font-weight: 600; }
.main-nav a.active::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 12px; }

.search { position: relative; display: flex; align-items: center; }
.search .icon { position: absolute; left: 12px; font-size: 14px; color: #8a96a8; pointer-events: none; }
.search input {
  width: 140px; height: 38px; padding: 0 12px 0 34px;
  border: 1px solid transparent; border-radius: 8px; background: #f1f4f8;
  font: inherit; font-size: 14px; color: var(--ink);
  transition: width 0.25s, border-color 0.2s, background-color 0.2s;
}
.search input::placeholder { color: #8a96a8; }
.search input:focus { width: 180px; border-color: #b9d6c4; background: #fff; outline: none; }
.search.not-found input { border-color: var(--red); animation: shake 0.35s; }

.lang-switch { display: flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.lang-switch button {
  padding: 4px 10px; border: 0; border-radius: 999px; background: none;
  font-size: 13px; font-weight: 600; line-height: 1.45; color: var(--muted);
  transition: background-color 0.2s, color 0.2s;
}
.lang-switch button:hover { color: var(--navy); }
.lang-switch button[aria-pressed="true"] { background: var(--navy); color: #fff; }

.menu-toggle {
  display: none; place-items: center; width: 42px; height: 42px;
  border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--navy); font-size: 20px;
}
.menu-toggle .icon-close { display: none; }
.nav-open .menu-toggle .icon-open { display: none; }
.nav-open .menu-toggle .icon-close { display: block; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; background: var(--navy-deep); color: #fff; }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, #02203a 0%, #02203a 20%, rgba(2, 32, 58, 0.9) 31%, rgba(2, 32, 58, 0.5) 44%, rgba(2, 32, 58, 0.1) 58%, rgba(2, 32, 58, 0) 70%, rgba(2, 32, 58, 0.35) 100%),
    linear-gradient(0deg, rgba(2, 25, 45, 0.65) 0%, rgba(2, 25, 45, 0) 36%),
    linear-gradient(180deg, rgba(2, 32, 58, 0.45) 0%, rgba(2, 32, 58, 0) 42%);
}

.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; min-height: 540px; }

.hero-content { position: relative; z-index: 3; max-width: 540px; padding: 38px 0 46px; }
.hero-kicker { margin-bottom: 6px; font-size: 21px; font-weight: 500; letter-spacing: 0.02em; color: rgba(255, 255, 255, 0.9); }
.hero-title {
  margin-bottom: 12px; font-family: var(--font-display); font-size: 66px; font-weight: 800;
  line-height: 1.14; letter-spacing: -0.005em;
}
.hero-title span { display: block; }
.hero-title .accent { color: var(--green-bright); }
.hero-roles { margin-bottom: 10px; font-size: 21px; font-weight: 700; }
.hero-desc { margin-bottom: 16px; font-size: 18px; line-height: 1.6; color: rgba(255, 255, 255, 0.92); }
.hero-quote p { font-size: 17px; line-height: 1.7; color: rgba(255, 255, 255, 0.9); }
html[lang="en"] .hero-quote p { font-style: italic; }
.hero-quote cite { font-size: 14px; font-style: normal; color: rgba(255, 255, 255, 0.72); white-space: nowrap; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }

.hero-person {
  position: absolute; bottom: 0; left: 50%; z-index: 2;
  height: 91%; transform: translateX(-46%); pointer-events: none;
}
.hero-person img { width: auto; max-width: none; height: 100%; filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.35)); }

.hero-aside { position: relative; z-index: 3; align-self: start; margin-top: 150px; }
.hero-dream {
  font-family: var(--font-display); font-size: 27px; font-weight: 600; line-height: 1.38;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.4);
}
.hero-aside .flag-bar { margin-top: 16px; }

.hero-tiles {
  position: absolute; right: 0; bottom: 22px; z-index: 3;
  display: grid; grid-template-columns: repeat(4, 124px); gap: 12px;
}
.hero-tiles li {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  height: 94px; padding: 8px; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 10px;
  background: rgba(9, 38, 66, 0.6); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  font-size: 15px; font-weight: 600; line-height: 1.25; text-align: center;
}
@supports (backdrop-filter: blur(6px)) {
  .hero-tiles li { background: rgba(9, 38, 66, 0.45); backdrop-filter: blur(8px); }
}
.hero-tiles .icon { font-size: 30px; }

/* ---------- Sections (shared) ---------- */
.section { padding: 28px 0; }
.section-tight { padding: 6px 0 14px; }

.section-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.section-head h2 { font-family: var(--font-display); font-size: 30px; font-weight: 800; line-height: 1.3; color: var(--navy); }
.section-sub { margin-top: 2px; font-size: 17px; color: #4b5768; }

/* ---------- About ---------- */
.about { padding-top: 36px; }
.about-grid { display: grid; grid-template-columns: 330px minmax(0, 1fr) 340px; align-items: stretch; gap: 34px; }

.about-photo { overflow: hidden; border-radius: 16px; background: #eef1f5; box-shadow: var(--shadow); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }

.about-title { font-family: var(--font-display); font-size: 34px; font-weight: 800; line-height: 1.25; color: var(--navy); }
.about-subtitle { margin-top: 4px; font-size: 20px; font-weight: 600; color: #253247; }
.title-bar { display: block; width: 60px; height: 3px; margin: 12px 0 16px; border-radius: 3px; background: var(--green); }
.about-text > p:not(.about-subtitle) { margin-bottom: 12px; font-size: 15.5px; line-height: 1.8; }
.about-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 20px; }

.info-card {
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 14px 22px; border-radius: 16px; background: var(--bg-soft);
}
.info-card li { display: flex; align-items: center; gap: 16px; padding: 9px 0; }
.info-icon {
  display: grid; flex: none; place-items: center; width: 54px; height: 54px;
  border-radius: 14px; background: var(--green-soft); color: var(--green); font-size: 24px;
}
.info-icon.is-red { background: #fde8ea; color: var(--red); }
.info-card h3 { font-size: 16px; font-weight: 700; line-height: 1.35; color: var(--navy); }
.info-card p { font-size: 14px; line-height: 1.55; color: var(--muted); }

/* ---------- Milestones ---------- */
.milestones-box { padding: 18px 26px 22px; border-radius: 16px; background: var(--bg-soft); }
.milestones .section-head { margin-bottom: 14px; }
.milestones .section-head h2 { font-size: 28px; }

.timeline-scroll { overflow-x: auto; scrollbar-width: thin; }
.timeline { position: relative; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); min-width: 900px; }
.timeline::before {
  content: ""; position: absolute; top: 22px; right: calc(100% / 14); left: calc(100% / 14);
  height: 2px; background: #d3dbe5;
}
.timeline li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 0 10px; text-align: center; }
.timeline li + li::after {
  content: ""; position: absolute; top: 62px; bottom: 2px; left: 0; width: 1px; background: #dbe2ea;
}
.tl-icon { position: relative; z-index: 1; display: grid; place-items: center; width: 66px; height: 46px; background: var(--bg-soft); color: var(--navy); font-size: 34px; }
.timeline p { font-size: 15px; font-weight: 500; line-height: 1.5; color: #26364a; }

/* ---------- Businesses ---------- */
.biz-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.biz-card {
  display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--line); border-radius: 14px; background: #fff;
  box-shadow: 0 4px 18px rgba(11, 37, 69, 0.06);
  transition: transform 0.25s, box-shadow 0.25s;
}
.biz-card:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(11, 37, 69, 0.12); }
.biz-cover { width: 100%; height: auto; aspect-ratio: 3.2 / 1; object-fit: cover; }
.biz-body { display: flex; flex: 1; flex-direction: column; padding: 16px 22px 20px; }
.biz-logo { align-self: flex-start; width: auto; height: 40px; margin-bottom: 10px; }
.biz-card h3 { font-family: "Poppins", sans-serif; font-size: 17px; font-weight: 700; line-height: 1.35; color: var(--navy); }
.biz-role { margin-top: 2px; font-size: 14.5px; color: var(--muted); }
.biz-desc { flex: 1; margin-top: 8px; font-size: 14.5px; line-height: 1.6; }
.more-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 12px; font-size: 15px; font-weight: 700; color: var(--navy); }
.more-link .icon { transition: transform 0.2s; }
.more-link:hover { color: var(--green); }
.more-link:hover .icon { transform: translateX(4px); }

/* ---------- Social / professional engagement ---------- */
.social { padding-top: 12px; }
.org-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.org-card {
  display: flex; align-items: flex-start; gap: 18px; padding: 22px 20px;
  border: 1px solid var(--line); border-radius: 14px; background: #fff;
  box-shadow: 0 4px 18px rgba(11, 37, 69, 0.05);
  transition: transform 0.25s, box-shadow 0.25s;
}
.org-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(11, 37, 69, 0.1); }
.org-card img { flex: none; width: 92px; height: 92px; }
.org-card h3 { font-size: 16px; font-weight: 700; line-height: 1.5; color: var(--navy); }
.org-role { margin-bottom: 6px; font-size: 15px; font-weight: 600; color: var(--navy); }
.org-card p:last-child { font-size: 14px; line-height: 1.6; color: var(--muted); }

/* ---------- Stats band ---------- */
.stats-band {
  position: relative; overflow: hidden; isolation: isolate;
  margin-top: 10px; color: #fff;
  background: #0b2a22 url("../images/band-forest.webp") center / cover no-repeat;
}
.stats-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(6, 34, 28, 0.66), rgba(6, 34, 28, 0.8) 55%, rgba(6, 34, 28, 0.62));
}
.stats-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 400px; align-items: center; gap: 30px; min-height: 196px; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stats li { position: relative; display: flex; flex-direction: column; align-items: center; padding: 22px 10px; text-align: center; }
.stats li + li::before {
  content: ""; position: absolute; top: 24%; bottom: 24%; left: 0; width: 1px; background: rgba(255, 255, 255, 0.28);
}
.stat-icon { margin-bottom: 8px; font-size: 40px; }
.stat-icon.is-green { color: #2fbf64; }
.stats strong { font-family: "Poppins", sans-serif; font-size: 38px; font-weight: 700; line-height: 1.1; }
.stats span { margin-top: 4px; font-size: 15.5px; line-height: 1.4; color: rgba(255, 255, 255, 0.9); }
.stats span small { display: block; font-size: 14px; }

.stats-quote { position: relative; z-index: 1; }
.stats-quote p { padding-right: 120px; font-family: var(--font-display); font-size: 25px; font-weight: 600; line-height: 1.45; }
.stats-sprout {
  position: absolute; right: -40px; bottom: 0; width: auto; height: 100%;
  -webkit-mask-image: radial-gradient(ellipse 55% 60% at 52% 52%, #000 40%, transparent 72%);
  mask-image: radial-gradient(ellipse 55% 60% at 52% 52%, #000 40%, transparent 72%);
}
.stats-flag { position: absolute; right: 150px; bottom: 26px; width: 70px; }

/* ---------- Photo gallery ---------- */
.gallery { padding-top: 26px; }
.photo-grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; }
.photo { position: relative; display: block; overflow: hidden; aspect-ratio: 6 / 5; border-radius: 10px; background: #eef1f5; }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.photo:hover img { transform: scale(1.06); }

/* ---------- Video gallery ---------- */
.videos { padding-top: 0; }
.video-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.video-card { display: flex; flex-direction: column; gap: 8px; padding: 0; border: 0; background: none; text-align: center; }
.video-thumb { position: relative; display: block; overflow: hidden; aspect-ratio: 3 / 1; border-radius: 10px; background: var(--navy); }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.video-thumb::after { content: ""; position: absolute; inset: 0; background: rgba(3, 20, 35, 0.22); transition: background-color 0.25s; }
.play {
  position: absolute; top: 50%; left: 50%; z-index: 1; display: grid; place-items: center;
  width: 42px; height: 42px; border: 2px solid #fff; border-radius: 50%;
  background: rgba(0, 0, 0, 0.35); color: #fff; font-size: 15px;
  transform: translate(-50%, -50%); transition: transform 0.2s, background-color 0.2s;
}
.play .icon { margin-left: 3px; }
.video-card:hover .video-thumb img { transform: scale(1.05); }
.video-card:hover .play { background: var(--green); transform: translate(-50%, -50%) scale(1.08); }
.video-title { font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--navy); }

/* ---------- Blog ---------- */
.blog { padding-top: 0; }
.blog-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.post {
  display: flex; align-items: center; gap: 14px; padding: 10px;
  border: 1px solid var(--line); border-radius: 12px; background: #fff;
  box-shadow: 0 3px 12px rgba(11, 37, 69, 0.05);
  transition: transform 0.25s, box-shadow 0.25s;
}
.post:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(11, 37, 69, 0.1); }
.post img { flex: none; width: 96px; height: 96px; border-radius: 8px; object-fit: cover; }
.post h3 { font-size: 15px; font-weight: 700; line-height: 1.45; color: var(--navy); }
.post time { display: block; margin-top: 8px; font-size: 13px; color: var(--muted); }

/* ---------- Testimonials ---------- */
.testimonials { padding-top: 0; }
.quote-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.quote-card { display: flex; gap: 18px; padding: 18px 22px; border-radius: 12px; background: var(--bg-soft); }
.quote-mark { margin-top: 4px; font-size: 30px; color: #16a458; }
.quote-card blockquote { font-size: 15px; line-height: 1.7; }
.quote-card figcaption { margin-top: 6px; font-size: 14.5px; font-weight: 700; color: var(--navy); }

/* ---------- Call to action ---------- */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate; color: #fff;
  background: #0c2a24 url("../images/band-forest.webp") center 70% / cover no-repeat;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(7, 30, 26, 0.1) 0%, rgba(7, 30, 26, 0.86) 20%, rgba(7, 30, 26, 0.9) 100%);
}
.cta-plant {
  position: absolute; top: 0; left: 0; z-index: -2; width: auto; height: 100%;
  -webkit-mask-image: linear-gradient(90deg, #000 55%, transparent);
  mask-image: linear-gradient(90deg, #000 55%, transparent);
}
.cta-inner { display: flex; align-items: center; gap: 36px; min-height: 120px; padding: 18px 0 18px 200px; }
.cta-head h2 { font-family: var(--font-display); font-size: 30px; font-weight: 800; line-height: 1.3; }
.cta-head p { font-size: 17px; color: rgba(255, 255, 255, 0.9); }
.cta-text { flex: 1; padding-left: 36px; border-left: 1px solid rgba(255, 255, 255, 0.3); font-size: 15px; line-height: 1.7; color: rgba(255, 255, 255, 0.88); }
.cta-band .btn-green { border: 1.5px solid rgba(255, 255, 255, 0.35); }

/* ---------- Footer ---------- */
.site-footer { background: #03233d; color: rgba(255, 255, 255, 0.82); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.75fr 1.25fr 1fr 0.8fr; gap: 36px; padding: 36px 0 28px; }

.brand-light .brand-mark { --hr-r: #fff; }
.brand-light .brand-text strong { color: #fff; }
.brand-light .brand-text small { color: rgba(255, 255, 255, 0.62); }
.footer-brand p { margin-top: 18px; font-size: 15px; line-height: 1.75; color: rgba(255, 255, 255, 0.85); }

.site-footer h3 { margin-bottom: 12px; font-size: 17px; font-weight: 700; color: #fff; }
.footer-links li { line-height: 1.55; }
.footer-links a { display: inline-block; font-size: 14px; color: rgba(255, 255, 255, 0.78); transition: color 0.2s; }
.footer-links a:hover { color: #fff; }

.footer-contact li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 9px; font-size: 14.5px; line-height: 1.55; }
.footer-contact .icon { margin-top: 3px; font-size: 16px; color: #fff; }
.footer-contact a:hover { color: #fff; text-decoration: underline; }

.socials { display: flex; gap: 12px; }
.socials a {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px;
  color: #fff; font-size: 20px; transition: transform 0.2s, filter 0.2s;
}
.socials a:hover { transform: translateY(-3px); filter: brightness(1.1); }
.s-linkedin { background: #0a66c2; }
.s-facebook { background: #1877f2; }
.s-youtube { background: #f00; }
.s-whatsapp { background: #25d366; }

.footer-sign { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.signature { font-family: var(--font-script); font-size: 30px; line-height: 1.3; color: #fff; transform: rotate(-9deg); }
.footer-sign .flag-bar { width: 70px; margin-top: 18px; margin-left: 60px; }

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.06); background: #011a2e; }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; font-size: 14px; color: rgba(255, 255, 255, 0.75); }
.heart { margin-left: 4px; color: var(--red); vertical-align: -2px; }

/* ---------- Modals ---------- */
.modal {
  position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center;
  padding: 24px; background: rgba(2, 14, 26, 0.9); animation: fade-in 0.2s ease;
}
.modal[hidden] { display: none; }
.modal-close {
  position: absolute; top: 16px; right: 16px; display: grid; place-items: center;
  width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, 0.14); color: #fff; font-size: 20px;
}
.modal-close:hover, .lb-nav:hover { background: rgba(255, 255, 255, 0.26); }
.lb-figure img { max-width: min(90vw, 1100px); max-height: 80vh; border-radius: 10px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); }
.lb-count { margin-top: 10px; font-size: 14px; text-align: center; color: rgba(255, 255, 255, 0.8); }
.lb-nav {
  position: absolute; top: 50%; display: grid; place-items: center; width: 50px; height: 50px;
  border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.14); color: #fff; font-size: 20px;
  transform: translateY(-50%);
}
.lb-prev { left: 18px; }
.lb-next { right: 18px; }

.video-box { position: relative; width: min(92vw, 960px); }
.video-box .modal-close { top: -56px; right: 0; }
.video-frame { display: grid; place-items: center; overflow: hidden; aspect-ratio: 16 / 9; border-radius: 12px; background: #000; color: #fff; }
.video-frame iframe { width: 100%; height: 100%; border: 0; }
.video-frame img { grid-area: 1 / 1; width: 100%; height: 100%; object-fit: cover; opacity: 0.35; }
.video-soon { grid-area: 1 / 1; z-index: 1; padding: 24px; font-size: 20px; font-weight: 600; text-align: center; }
.video-modal-title { margin-top: 14px; font-size: 18px; font-weight: 600; text-align: center; color: #fff; }

body.modal-open { overflow: hidden; }

/* ---------- Helpers / animation ---------- */
.search-hit { animation: search-hit 2.4s ease; border-radius: 6px; }

@keyframes search-hit {
  0%, 60% { background: rgba(60, 196, 110, 0.22); box-shadow: 0 0 0 6px rgba(60, 196, 110, 0.22); }
  100% { background: transparent; box-shadow: 0 0 0 0 transparent; }
}
@keyframes shake {
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}
@keyframes fade-in { from { opacity: 0; } }

/* ---------- English tweaks ---------- */
html[lang="en"] .hero-title { font-size: 58px; }
html[lang="en"] .hero-dream { font-size: 24px; }
html[lang="en"] .brand-text strong { font-size: 17.5px; }
html[lang="en"] .brand-text small { font-size: 11px; }
html[lang="en"] .main-nav ul { gap: 17px; }
html[lang="en"] .main-nav a { font-size: 14px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1400px) {
  .header-inner { gap: 20px; }
  .main-nav ul { gap: 16px; }
  .main-nav a { font-size: 14.5px; }
  .hero-title { font-size: 60px; }
  .hero-tiles { grid-template-columns: repeat(4, 112px); }
  .about-grid { grid-template-columns: 300px minmax(0, 1fr) 320px; gap: 28px; }
  .stats-inner { grid-template-columns: minmax(0, 1fr) 360px; }
  .stats-quote p { font-size: 23px; }
}

/* Search collapses to an icon that expands when focused
   (always in English, where the menu labels are longer). */
html[lang="en"] .search { width: 38px; height: 38px; }
html[lang="en"] .search .icon { z-index: 6; }
html[lang="en"] .search input { position: absolute; top: 0; right: 0; width: 38px; padding: 0 0 0 38px; cursor: pointer; }
html[lang="en"] .search input::placeholder { color: transparent; }
html[lang="en"] .search input:focus {
z-index: 5; width: min(240px, calc(100vw - 32px)); padding-right: 12px; cursor: text;
box-shadow: 0 8px 24px rgba(11, 37, 69, 0.14);
}
html[lang="en"] .search input:focus::placeholder { color: #8a96a8; }

@media (max-width: 1380px) {
  .search { width: 38px; height: 38px; }
  .search .icon { z-index: 6; }
  .search input { position: absolute; top: 0; right: 0; width: 38px; padding: 0 0 0 38px; cursor: pointer; }
  .search input::placeholder { color: transparent; }
  .search input:focus {
    z-index: 5; width: min(240px, calc(100vw - 32px)); padding-right: 12px; cursor: text;
    box-shadow: 0 8px 24px rgba(11, 37, 69, 0.14);
  }
  .search input:focus::placeholder { color: #8a96a8; }
}

/* Collapse navigation into a drop-down panel */
@media (max-width: 1360px) {
  .menu-toggle { display: grid; }
  .main-nav {
    position: absolute; top: 100%; right: 0; left: 0; margin: 0;
    border-top: 1px solid var(--line); background: #fff; box-shadow: 0 16px 30px rgba(11, 37, 69, 0.12);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  }
  .nav-open .main-nav { visibility: visible; opacity: 1; transform: none; }
  .main-nav ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 24px; width: min(100% - 48px, var(--container)); margin: 0 auto; padding: 14px 0 18px; }
  .main-nav a { padding: 10px 4px; font-size: 16px; }
  .main-nav a::after { right: auto; width: 34px; }
  .header-actions { margin-left: auto; }
}

@media (max-width: 1200px) {
  .hero-title { font-size: 54px; }
  .hero-content { max-width: 460px; }
  .hero-person { height: 88%; transform: translateX(-38%); }
  .hero-dream { font-size: 23px; }
  .hero-aside { margin-top: 110px; }
  .hero-tiles { grid-template-columns: repeat(4, 100px); gap: 10px; }
  .hero-tiles li { height: 84px; font-size: 13.5px; }
  .hero-tiles .icon { font-size: 26px; }

  .about-grid { grid-template-columns: 280px minmax(0, 1fr); }
  .info-card { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 4px 20px; padding: 16px 22px; }

  .biz-grid, .org-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .photo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .video-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .blog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .stats-inner { grid-template-columns: 1fr; gap: 0; padding: 10px 0 26px; }
  .stats-quote p { max-width: 640px; padding-right: 0; text-align: center; margin: 0 auto; }
  .stats-sprout { display: none; }
  .stats-flag { right: 50%; transform: translateX(50%); bottom: 14px; }

  .cta-inner { flex-wrap: wrap; gap: 18px 30px; padding-left: 170px; }
  .cta-text { flex-basis: 320px; }

  .footer-grid { grid-template-columns: 1.4fr 1fr 1.4fr; }
  .footer-follow { grid-column: 1 / 2; }
  .footer-sign { grid-column: 2 / 4; align-items: flex-start; }
}

@media (max-width: 1000px) {

  /* Hero stacks: text, then portrait with the highlight tiles */
  .hero-inner { display: flex; flex-direction: column; min-height: 0; }
  .hero-media::after {
    background:
      linear-gradient(180deg, rgba(2, 32, 58, 0.92) 0%, rgba(2, 32, 58, 0.82) 45%, rgba(2, 32, 58, 0.2) 70%, rgba(2, 32, 58, 0.55) 100%);
  }
  .hero-content { max-width: 640px; padding: 34px 0 8px; }
  .hero-person { position: relative; bottom: auto; left: auto; width: min(520px, 100%); height: auto; margin: 12px auto 0; transform: none; }
  .hero-person img { width: 100%; height: auto; }
  .hero-aside { position: absolute; right: 0; bottom: 150px; margin: 0; }
  .hero-dream { font-size: 20px; }
  .hero-tiles { position: relative; right: auto; bottom: auto; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: -70px 0 22px; }

  .quote-grid { grid-template-columns: 1fr; gap: 14px; }
}

@media (max-width: 760px) {
  :root { --header-h: 66px; }
  .container { width: min(100% - 32px, var(--container)); }

  .brand-mark { width: 52px; height: 36px; }
  .brand-text strong, html[lang="en"] .brand-text strong { font-size: 16px; }
  .brand-text small, html[lang="en"] .brand-text small { font-size: 10px; }
  .header-cta { display: none; }
  .main-nav ul { grid-template-columns: repeat(2, 1fr); width: min(100% - 32px, var(--container)); }

  .hero-kicker { font-size: 17px; }
  .hero-title, html[lang="en"] .hero-title { font-size: 42px; }
  .hero-roles { font-size: 18px; }
  .hero-desc { font-size: 16px; }
  .hero-quote p { font-size: 15.5px; }
  .hero-aside { display: none; }
  .hero-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: -40px; }
  .hero-tiles li { flex-direction: row; height: 58px; gap: 10px; font-size: 14px; }
  .hero-tiles .icon { font-size: 22px; }

  .section { padding: 26px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .section-head h2, .milestones .section-head h2 { font-size: 25px; }
  .section-sub { font-size: 15.5px; }

  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 420px; aspect-ratio: 8 / 9; }
  .about-title { font-size: 29px; }
  .info-card { grid-template-columns: 1fr; }

  .milestones-box { padding: 16px 16px 18px; }

  .biz-grid, .org-grid { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .video-grid { grid-template-columns: 1fr; }
  .video-thumb { aspect-ratio: 2.4 / 1; }
  .blog-grid { grid-template-columns: 1fr; }

  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats li:nth-child(3)::before { display: none; }
  .stats strong { font-size: 32px; }
  .stats-quote p { font-size: 20px; }

  .cta-plant { opacity: 0.4; }
  .cta-inner { flex-direction: column; align-items: flex-start; padding: 26px 0; }
  .cta-head h2 { font-size: 25px; }
  .cta-text { flex-basis: auto; padding-left: 0; border-left: 0; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand, .footer-contact { grid-column: 1 / -1; }
  .footer-follow, .footer-sign { grid-column: auto; }
  .footer-bottom-inner { flex-direction: column; align-items: center; gap: 4px; text-align: center; }
  .lb-nav { top: auto; bottom: 20px; transform: none; }
}

@media (max-width: 480px) {
  .search { display: none; }
  .header-inner { gap: 10px; }
  .brand { flex: 0 1 auto; gap: 8px; min-width: 0; }
  .brand-mark { width: 46px; height: 32px; }
  .brand-text strong, html[lang="en"] .brand-text strong { max-width: 150px; font-size: 15px; line-height: 1.2; }
  .brand-text small { display: none; }
  .header-actions { gap: 8px; }
  .lang-switch button { padding: 4px 8px; font-size: 12.5px; }
  .menu-toggle { width: 40px; height: 40px; }
}

@media (max-width: 420px) {
  .hero-title, html[lang="en"] .hero-title { font-size: 36px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .main-nav ul { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ---------- Print: "Download profile" prints a clean one-page profile ---------- */
@media print {
  @page { margin: 14mm; }
  body { font-size: 12pt; color: #000; }
  .site-header, .skip-link, .hero-media, .hero-person, .hero-aside, .hero-tiles, .hero-actions,
  .about-actions, .text-link, .section-head .btn, .more-link, .stats-band, .gallery, .videos,
  .blog, .testimonials, .cta-band, .footer-links, .footer-follow, .footer-sign, .footer-bottom, .modal { display: none !important; }
  .hero { background: none; color: var(--navy); }
  .hero-inner { display: block; min-height: 0; }
  .hero-content { max-width: none; padding: 0 0 12px; }
  .hero-title { font-size: 30pt; }
  .hero-kicker, .hero-desc, .hero-quote p, .hero-quote cite { color: #333; }
  .section { padding: 10px 0; break-inside: avoid; }
  .about-grid { grid-template-columns: 150px 1fr; }
  .info-card { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); }
  .biz-card, .org-card { box-shadow: none; break-inside: avoid; }
  .biz-cover { display: none; }
  .site-footer { background: none; color: #000; }
  .footer-grid { display: block; padding: 0; }
  .footer-brand { display: none; }
  .site-footer h3, .footer-contact .icon { color: #000; }
  .timeline-scroll { overflow: visible; }
  .timeline { min-width: 0; }
}
