/* ============================================================
   মোঃ আবু সাঈদ — ব্যক্তিগত ওয়েবসাইট
   Editorial • Premium • Fully Responsive
   ============================================================ */

/* ---- কাস্টম ফন্ট ----
   • প্রিভিউ (এখানে):  mdabusayeed/fonts/ ফোল্ডারে ফন্ট রাখুন
   • cPanel লাইভ সাইট: public_html/font/ ফোল্ডারে ফন্ট রাখুন
   নিচের JS অটো-লোডার ফাইলের নাম নিজে খুঁজে নিয়ে চালু করে দেবে।
   ফন্ট না থাকলে Google Fonts (Hind Siliguri + Noto Serif Bengali) ব্যাকআপ চলবে। */
@font-face {
  font-family: 'SayeedCustom';
  src: url('fonts/TargetGroupWeb_400.woff2') format('woff2'),
       url('font/TargetGroupWeb_400.woff2') format('woff2'),
       url('fonts/MdAbuSayeedWeb_400.woff2') format('woff2'),
       url('font/MdAbuSayeedWeb_400.woff2') format('woff2'),
       url('fonts/custom.woff2') format('woff2'),
       url('font/custom.woff2') format('woff2'),
       url('../font/custom.woff2') format('woff2'),
       url('fonts/custom.woff') format('woff'),
       url('font/custom.woff') format('woff'),
       url('fonts/custom.ttf') format('truetype'),
       url('font/custom.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'SayeedCustom';
  src: url('fonts/TargetGroupWeb_700.woff2') format('woff2'),
       url('font/TargetGroupWeb_700.woff2') format('woff2'),
       url('fonts/MdAbuSayeedWeb_700.woff2') format('woff2'),
       url('font/MdAbuSayeedWeb_700.woff2') format('woff2'),
       url('fonts/custom.woff2') format('woff2'),
       url('font/custom.woff2') format('woff2'),
       url('../font/custom.woff2') format('woff2'),
       url('fonts/custom.woff') format('woff'),
       url('font/custom.woff') format('woff'),
       url('fonts/custom.ttf') format('truetype'),
       url('font/custom.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}

@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@300;400;500;600;700&family=Noto+Serif+Bengali:wght@500;600;700;800;900&display=swap');

:root {
  --ink: #0d1b2a;
  --ink-2: #14273f;
  --ink-3: #1e3a5c;
  --gold: #c9a24b;
  --gold-soft: #e8d5a3;
  --paper: #f7f4ec;
  --card: #ffffff;
  --muted: #5b6b80;
  --line: #e6ddcb;
  --red: #c0392b;
  --green: #1e7a4c;
  --radius: 18px;
  --shadow: 0 20px 50px -20px rgba(13, 27, 42, .25);
  --shadow-sm: 0 8px 24px -10px rgba(13, 27, 42, .18);
  --font-head: 'SayeedCustom', 'Noto Serif Bengali', 'Hind Siliguri', serif;
  --font-body: 'SayeedCustom', 'Hind Siliguri', 'Noto Serif Bengali', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.8;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.wrap { width: min(1180px, 92%); margin-inline: auto; }
section { padding: clamp(56px, 8vw, 96px) 0; position: relative; }

/* ---------- টপ বার ---------- */
.topbar {
  background: var(--ink);
  color: #dfe6ef;
  font-size: .82rem;
  padding: 8px 0;
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.topbar b { color: var(--gold-soft); font-weight: 600; }
.topbar .live { display: inline-flex; align-items: center; gap: 8px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #2ecc71; box-shadow: 0 0 0 0 rgba(46,204,113,.6); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(46,204,113,0); } 100% { box-shadow: 0 0 0 0 rgba(46,204,113,0); } }

/* ---------- নেভবার ---------- */
header.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247, 244, 236, .88);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand .mono {
  width: 48px; height: 48px; border-radius: 14px;
  background: linear-gradient(135deg, var(--ink) 40%, var(--ink-3));
  color: var(--gold-soft);
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 800; font-size: 1.25rem;
  border: 1px solid var(--gold);
  box-shadow: var(--shadow-sm);
}
.brand .bt b { display: block; font-family: var(--font-head); font-size: 1.12rem; line-height: 1.3; }
.brand .bt small { color: var(--muted); font-size: .78rem; letter-spacing: .2px; }
.links { display: flex; align-items: center; gap: 6px; }
.links a {
  padding: 9px 15px; border-radius: 999px; font-weight: 500; font-size: .95rem;
  color: var(--ink-2); transition: .25s;
}
.links a:hover, .links a.active { background: var(--ink); color: #fff; }
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 26px; border-radius: 999px; font-weight: 600; font-size: .95rem;
  border: 1px solid transparent; cursor: pointer; transition: .25s; white-space: nowrap;
}
.btn-gold { background: linear-gradient(135deg, #d9b45c, var(--gold)); color: #231a05; box-shadow: 0 10px 24px -10px rgba(201,162,75,.7); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(201,162,75,.8); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); transform: translateY(-2px); }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: #fff; }
.hamb { display: none; background: var(--ink); color: #fff; border: 0; width: 46px; height: 46px; border-radius: 13px; font-size: 1.3rem; cursor: pointer; }

/* মোবাইল ড্রয়ার */
.drawer {
  position: fixed; inset: 0 0 0 30%; z-index: 200;
  background: var(--ink); color: #eef2f7;
  padding: 26px; transform: translateX(105%); transition: transform .35s ease;
  display: flex; flex-direction: column; gap: 6px;
  box-shadow: -20px 0 60px rgba(0,0,0,.35);
}
.drawer.open { transform: none; }
.drawer a { padding: 13px 14px; border-radius: 12px; font-weight: 500; border-bottom: 1px solid rgba(255,255,255,.08); }
.drawer a:hover, .drawer a.active { background: rgba(201,162,75,.18); color: var(--gold-soft); }
.drawer .x { align-self: flex-end; background: rgba(255,255,255,.1); border: 0; color: #fff; width: 42px; height: 42px; border-radius: 12px; font-size: 1.2rem; cursor: pointer; margin-bottom: 8px; }
.scrim { position: fixed; inset: 0; background: rgba(13,27,42,.55); z-index: 190; opacity: 0; pointer-events: none; transition: .3s; }
.scrim.show { opacity: 1; pointer-events: auto; }

/* ---------- হিরো ---------- */
.hero {
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(201,162,75,.22), transparent 60%),
    radial-gradient(700px 380px at -10% 110%, rgba(30,58,92,.16), transparent 60%),
    linear-gradient(180deg, #fbf9f3, var(--paper));
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 18px 8px 10px; font-size: .86rem; font-weight: 600; color: var(--ink-2);
  box-shadow: var(--shadow-sm); margin-bottom: 20px;
}
.eyebrow .pill { background: var(--ink); color: var(--gold-soft); border-radius: 999px; padding: 3px 13px; font-size: .78rem; }
.hero h1 {
  font-family: var(--font-head); font-weight: 900;
  font-size: clamp(2.3rem, 6vw, 4rem); line-height: 1.28; margin-bottom: 6px;
}
.hero h1 .gold { color: var(--gold); position: relative; white-space: nowrap; }
.hero h1 .gold::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 12px;
  background: rgba(201,162,75,.25); z-index: -1; border-radius: 6px;
}
.hero .sub { font-size: clamp(1.02rem, 2.4vw, 1.25rem); color: var(--muted); max-width: 56ch; margin: 12px 0 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.chip {
  background: var(--ink); color: #f3ecdb; font-size: .83rem; font-weight: 500;
  padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(201,162,75,.4);
  display: inline-flex; align-items: center; gap: 8px;
}
.chip i { font-style: normal; color: var(--gold); }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 30px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stat {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 14px 10px; text-align: center; box-shadow: var(--shadow-sm);
}
.stat b { display: block; font-family: var(--font-head); font-size: clamp(1.25rem, 3vw, 1.7rem); color: var(--ink); }
.stat span { font-size: .78rem; color: var(--muted); }

/* হিরো কার্ড (ছবি) */
.photo-card {
  position: relative; background: var(--ink); border-radius: 26px; padding: 18px;
  box-shadow: var(--shadow); border: 1px solid rgba(201,162,75,.35);
  transform: rotate(1.5deg);
}
.photo-frame {
  border-radius: 18px; overflow: hidden; aspect-ratio: 4/4.7; position: relative;
  background: linear-gradient(160deg, #24466e, #0d1b2a 70%);
  display: grid; place-items: center;
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.photo-frame .ph-mono {
  font-family: var(--font-head); font-weight: 900; font-size: clamp(4rem, 12vw, 7rem);
  color: rgba(232,213,163,.9); text-shadow: 0 12px 40px rgba(0,0,0,.5); line-height: 1;
}
.photo-frame .ph-sub { position: absolute; bottom: 0; left: 0; right: 0; padding: 38px 20px 16px;
  background: linear-gradient(transparent, rgba(6,12,20,.85)); color: #fff; }
.photo-frame .ph-sub b { font-family: var(--font-head); font-size: 1.15rem; display: block; }
.photo-frame .ph-sub small { color: var(--gold-soft); }
.float-badge {
  position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 10px 16px; box-shadow: var(--shadow); font-size: .82rem; font-weight: 600;
  display: flex; align-items: center; gap: 10px;
}
.fb-1 { top: 34px; left: -26px; animation: float 4s ease-in-out infinite; }
.fb-2 { bottom: 44px; right: -22px; animation: float 4s ease-in-out infinite reverse; }
.float-badge .ico { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; font-size: 1.1rem; }
.fb-1 .ico { background: #e9f7ef; } .fb-2 .ico { background: #fdf0e4; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* ---------- মার্কি ---------- */
.marquee { background: var(--ink); color: var(--gold-soft); overflow: hidden; padding: 15px 0; border-block: 3px solid var(--gold); }
.marquee .track { display: flex; gap: 48px; width: max-content; animation: slide 26s linear infinite; font-weight: 600; font-size: 1rem; }
.marquee .track span { display: flex; align-items: center; gap: 48px; white-space: nowrap; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- সেকশন হেড ---------- */
.sec-head { text-align: center; max-width: 680px; margin: 0 auto clamp(28px, 4vw, 48px); }
.sec-head .kicker { color: var(--red); font-weight: 700; letter-spacing: 2px; font-size: .8rem; text-transform: uppercase; }
.sec-head h2 { font-family: var(--font-head); font-size: clamp(1.6rem, 4.4vw, 2.5rem); line-height: 1.4; margin: 8px 0 10px; }
.sec-head p { color: var(--muted); }
.sec-head .bar { width: 76px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--gold), var(--red)); margin: 14px auto 0; }

/* ---------- পরিচিতি ---------- */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(26px, 4vw, 54px); align-items: start; }
.about-card { background: var(--ink); color: #e8edf4; border-radius: var(--radius); padding: clamp(24px, 3.5vw, 38px); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.about-card::before { content: "❝"; position: absolute; top: -24px; right: 10px; font-size: 9rem; color: rgba(201,162,75,.14); font-family: Georgia, serif; }
.about-card h3 { font-family: var(--font-head); color: var(--gold-soft); font-size: 1.4rem; margin-bottom: 12px; }
.about-card p { color: #c9d3e1; margin-bottom: 14px; font-size: .98rem; }
.about-card .sign { font-family: var(--font-head); font-size: 1.5rem; color: #fff; margin-top: 8px; }
.info-table { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.info-table .row { display: grid; grid-template-columns: 190px 1fr; border-bottom: 1px dashed var(--line); }
.info-table .row:last-child { border-bottom: 0; }
.info-table .row > div { padding: 14px 20px; font-size: .95rem; }
.info-table .row > div:first-child { background: #faf7ef; font-weight: 700; color: var(--ink-2); }
.info-table .tag { display: inline-block; background: #eef4fb; border: 1px solid #d5e2f2; color: var(--ink-3); border-radius: 8px; padding: 2px 12px; margin: 2px 4px 2px 0; font-size: .85rem; font-weight: 600; }

/* ---------- দায়িত্ব কার্ড ---------- */
.roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.role {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; position: relative; overflow: hidden; transition: .3s; box-shadow: var(--shadow-sm);
}
.role::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: linear-gradient(90deg, var(--gold), var(--red)); transform: scaleX(0); transform-origin: left; transition: .35s; }
.role:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.role:hover::after { transform: scaleX(1); }
.role .n { position: absolute; top: 12px; right: 18px; font-family: var(--font-head); font-size: 2.6rem; font-weight: 900; color: #f0e9d7; }
.role .ico { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; font-size: 1.7rem; margin-bottom: 16px; }
.role h3 { font-family: var(--font-head); font-size: 1.18rem; line-height: 1.5; margin-bottom: 6px; }
.role .org { color: var(--red); font-weight: 700; font-size: .92rem; margin-bottom: 10px; display: block; }
.role p { color: var(--muted); font-size: .9rem; }
.role .more { display: inline-block; margin-top: 12px; font-weight: 700; font-size: .88rem; color: var(--ink-3); }
.role .more:hover { color: var(--red); }

/* ---------- টাইমলাইন ---------- */
.timeline { position: relative; max-width: 760px; margin: 0 auto; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 10px; top: 6px; bottom: 6px; width: 3px; border-radius: 3px; background: linear-gradient(var(--gold), var(--red)); }
.t-item { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; margin-bottom: 18px; box-shadow: var(--shadow-sm); }
.t-item::before { content: ""; position: absolute; left: -31px; top: 24px; width: 15px; height: 15px; border-radius: 50%; background: var(--paper); border: 4px solid var(--gold); }
.t-item .yr { display: inline-block; background: var(--ink); color: var(--gold-soft); font-size: .78rem; font-weight: 700; border-radius: 999px; padding: 3px 14px; margin-bottom: 8px; }
.t-item h3 { font-family: var(--font-head); font-size: 1.08rem; }
.t-item small { color: var(--red); font-weight: 700; }
.t-item p { color: var(--muted); font-size: .92rem; margin-top: 6px; }

/* ---------- দক্ষতা ---------- */
.skills-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.skill-box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); box-shadow: var(--shadow-sm); }
.skill-box h3 { font-family: var(--font-head); margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.skill { margin-bottom: 18px; }
.skill:last-child { margin-bottom: 0; }
.skill .lbl { display: flex; justify-content: space-between; font-weight: 600; font-size: .92rem; margin-bottom: 7px; }
.skill .lbl b { color: var(--red); }
.bar-bg { height: 11px; background: #eee6d3; border-radius: 99px; overflow: hidden; }
.bar-fill { height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, var(--ink-3), var(--gold)); transition: width 1.4s ease; }
.tools { display: flex; flex-wrap: wrap; gap: 10px; }
.tool { background: #faf7ef; border: 1px solid var(--line); border-radius: 12px; padding: 10px 18px; font-weight: 600; font-size: .9rem; display: flex; gap: 8px; align-items: center; transition: .25s; }
.tool:hover { background: var(--ink); color: #fff; transform: translateY(-3px); }

/* ---------- প্রতিষ্ঠান ---------- */
.orgs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.org { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 14px; text-align: center; box-shadow: var(--shadow-sm); transition: .3s; }
.org:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--gold); }
.org .o-ico { width: 58px; height: 58px; margin: 0 auto 12px; border-radius: 18px; display: grid; place-items: center; font-size: 1.6rem; background: linear-gradient(135deg, var(--ink), var(--ink-3)); color: var(--gold-soft); }
.org b { display: block; font-family: var(--font-head); font-size: .98rem; line-height: 1.5; }
.org small { color: var(--muted); font-size: .8rem; }

/* ---------- উক্তি ---------- */
.quotes { background: var(--ink); border-radius: 28px; padding: clamp(30px, 5vw, 56px); color: #eef2f7; text-align: center; position: relative; overflow: hidden; box-shadow: var(--shadow); }
.quotes::before, .quotes::after { position: absolute; color: rgba(201,162,75,.25); font-size: 7rem; font-family: Georgia, serif; line-height: 1; }
.quotes::before { content: "\201C"; top: -20px; left: 24px; }
.quotes::after { content: "\201D"; bottom: -42px; right: 24px; }
.q-slide { display: none; max-width: 720px; margin: 0 auto; animation: fade .5s; }
.q-slide.show { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(12px); } }
.q-slide p { font-family: var(--font-head); font-size: clamp(1.1rem, 3vw, 1.5rem); line-height: 1.9; }
.q-slide .who { color: var(--gold-soft); font-weight: 600; margin-top: 14px; display: block; }
.q-dots { margin-top: 22px; display: flex; gap: 10px; justify-content: center; }
.q-dots button { width: 12px; height: 12px; border-radius: 99px; border: 0; background: rgba(255,255,255,.25); cursor: pointer; transition: .25s; }
.q-dots button.on { width: 34px; background: var(--gold); }

/* ---------- যোগাযোগ ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.c-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3.5vw, 36px); box-shadow: var(--shadow-sm); }
.c-line { display: flex; gap: 14px; align-items: center; padding: 13px 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.c-line:last-of-type { border-bottom: 0; }
.c-line .ico { width: 46px; height: 46px; border-radius: 14px; background: #faf7ef; border: 1px solid var(--line); display: grid; place-items: center; font-size: 1.25rem; flex-shrink: 0; }
.c-line b { display: block; font-size: .85rem; color: var(--muted); font-weight: 600; }
.socials { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.socials a { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; transition: .25s; box-shadow: var(--shadow-sm); }
.socials a svg { width: 23px; height: 23px; fill: #fff; display: block; }
.socials a.fb { background: #1877F2; }
.socials a.yt { background: #FF0000; }
.socials a.ig { background: linear-gradient(45deg, #f9ce34, #ee2a7b 55%, #6228d7); }
.socials a.x { background: #000; }
.socials a.li { background: #0A66C2; }
.socials a.wa { background: #25D366; }
.socials a:hover { transform: translateY(-4px) scale(1.06); filter: brightness(1.08); box-shadow: var(--shadow); }
form .frow { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
form input, form textarea, form select {
  width: 100%; border: 1.5px solid var(--line); border-radius: 13px; padding: 13px 16px;
  font-family: inherit; font-size: .95rem; background: #fffdf8; margin-bottom: 12px; color: var(--ink);
}
form input:focus, form textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201,162,75,.15); }
form textarea { min-height: 130px; resize: vertical; }
.form-ok { display: none; background: #e9f7ef; border: 1px solid #bfe6cd; color: var(--green); border-radius: 12px; padding: 12px 16px; font-weight: 600; margin-bottom: 12px; }

/* ---------- ফুটার ---------- */
footer { background: var(--ink); color: #b9c4d4; padding: 46px 0 0; margin-top: 40px; }
.f-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 30px; padding-bottom: 34px; }
.f-grid h4 { color: #fff; font-family: var(--font-head); margin-bottom: 14px; }
.f-grid a { display: block; padding: 5px 0; font-size: .92rem; transition: .2s; }
.f-grid a:hover { color: var(--gold-soft); padding-left: 6px; }
.f-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: .85rem; }
.f-bottom b { color: var(--gold-soft); }
#toTop {
  position: fixed; bottom: 22px; right: 22px; z-index: 150;
  width: 50px; height: 50px; border-radius: 16px; border: 1px solid var(--gold);
  background: var(--ink); color: var(--gold-soft); font-size: 1.3rem; cursor: pointer;
  opacity: 0; pointer-events: none; transition: .3s; box-shadow: var(--shadow);
}
#toTop.show { opacity: 1; pointer-events: auto; }

/* ---------- অ্যানিমেশন ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   রেসপন্সিভ — সকল ডিভাইস
   ============================================================ */
@media (max-width: 1024px) {
  .roles { grid-template-columns: repeat(2, 1fr); }
  .orgs { grid-template-columns: repeat(3, 1fr); }
  .hero-grid { grid-template-columns: 1fr; }
  .photo-card { max-width: 440px; margin: 0 auto; transform: rotate(0); }
  .fb-1 { left: -8px; } .fb-2 { right: -8px; }
}
@media (max-width: 860px) {
  .links { display: none; }
  .hamb { display: block; }
  .nav-cta { display: none; }
  .about-grid, .skills-grid, .contact-grid { grid-template-columns: 1fr; }
  .f-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .roles, .services { grid-template-columns: 1fr; }
  .orgs { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  form .frow { grid-template-columns: 1fr; }
  .info-table .row { grid-template-columns: 1fr; }
  .info-table .row > div:first-child { padding-bottom: 4px; }
  .float-badge { position: static; margin-top: 12px; animation: none; }
  .photo-card { padding: 14px; }
  .topbar .hide-m { display: none; }
  .f-grid { grid-template-columns: 1fr; }
}
@media (max-width: 380px) {
  .orgs { grid-template-columns: 1fr 1fr; }
  .brand .bt small { display: none; }
}

/* ============================================================
   ✨ নতুন — ইউনিক ডিজাইন ও অ্যানিমেশন
   ============================================================ */
::selection { background: var(--gold); color: #231a05; }
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--gold), var(--ink-3)); border-radius: 99px; border: 2px solid var(--paper); }

/* প্রি-লোডার */
#loader { position: fixed; inset: 0; z-index: 999; background: radial-gradient(600px 300px at 50% 28%, #1e3a5c, var(--ink)); display: grid; place-items: center; transition: opacity .6s, visibility .6s; }
#loader.hide { opacity: 0; visibility: hidden; }
.loader-box { text-align: center; color: var(--gold-soft); }
.loader-mono { font-family: var(--font-head); font-weight: 900; font-size: 4rem; display: block; animation: lpop 1.2s ease-in-out infinite; }
@keyframes lpop { 50% { transform: scale(1.12); text-shadow: 0 0 44px rgba(201,162,75,.75); } }
.loader-bar { width: 210px; height: 5px; border-radius: 99px; background: rgba(255,255,255,.15); margin: 16px auto 10px; overflow: hidden; display: block; }
.loader-bar i { display: block; height: 100%; width: 40%; border-radius: 99px; background: linear-gradient(90deg, var(--gold), #f4e3bb); animation: lslide 1.1s ease-in-out infinite; }
@keyframes lslide { 0% { transform: translateX(-110%); } 100% { transform: translateX(280%); } }
.loader-box small { letter-spacing: 3px; font-size: .8rem; }

/* স্ক্রল প্রোগ্রেস */
.progress { position: fixed; top: 0; left: 0; height: 4px; width: 0; z-index: 1001; background: linear-gradient(90deg, var(--gold), var(--red), var(--gold)); background-size: 200% 100%; animation: pshine 3s linear infinite; }
@keyframes pshine { to { background-position: 200% 0; } }

/* কার্সর গ্লো */
.cursor-glow { position: fixed; top: 0; left: 0; width: 340px; height: 340px; margin: -170px 0 0 -170px; border-radius: 50%; pointer-events: none; z-index: 1; background: radial-gradient(circle, rgba(201,162,75,.15), transparent 65%); }
@media (hover: none), (pointer: coarse) { .cursor-glow { display: none; } }

/* হিরো ব্লব */
.hero { position: relative; }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .45; pointer-events: none; animation: drift 11s ease-in-out infinite alternate; }
.b1 { width: 380px; height: 380px; background: #e9c86d; top: -120px; right: -80px; }
.b2 { width: 320px; height: 320px; background: #9fc3e8; bottom: -120px; left: -100px; animation-delay: -4s; }
.b3 { width: 220px; height: 220px; background: #f0a08e; top: 40%; left: 44%; animation-delay: -7s; opacity: .3; }
@keyframes drift { to { transform: translate(-46px, 44px) scale(1.15); } }
.hero-grid { position: relative; z-index: 2; }

/* টাইপিং */
.typing-row { font-family: var(--font-head); font-weight: 700; font-size: clamp(.98rem, 2.4vw, 1.2rem); color: var(--ink-3); min-height: 2.1em; margin-bottom: 6px; }
.caret { color: var(--red); animation: blink 1s steps(1) infinite; font-weight: 400; }
@keyframes blink { 50% { opacity: 0; } }

/* শিমার বার */
.sec-head .bar { position: relative; overflow: hidden; }
.sec-head .bar::after { content: ""; position: absolute; top: 0; bottom: 0; width: 34px; background: rgba(255,255,255,.75); transform: skewX(-20deg); animation: shine 2.8s ease-in-out infinite; }
@keyframes shine { 0% { left: -40px; } 60%, 100% { left: 110px; } }

/* স্পটলাইট কার্ড */
.spot { position: relative; }
.spot::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), rgba(201,162,75,.18), transparent 62%); opacity: 0; transition: opacity .3s; pointer-events: none; z-index: 1; }
.spot:hover::before { opacity: 1; }

/* বোতাম রিপল */
.btn { position: relative; overflow: hidden; }
.ripple { position: absolute; border-radius: 50%; background: rgba(255,255,255,.55); transform: scale(0); animation: rip .65s ease-out forwards; pointer-events: none; }
@keyframes rip { to { transform: scale(4); opacity: 0; } }

/* টিল্ট */
.tilt { will-change: transform; }

/* মার্কি হোভারে থামবে */
.marquee:hover .track { animation-play-state: paused; }

/* ---------- সেবা ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; position: relative; overflow: hidden; transition: background .35s, transform .35s, box-shadow .35s, border-color .35s; box-shadow: var(--shadow-sm); }
.service:hover { transform: translateY(-8px); box-shadow: var(--shadow); background: var(--ink); border-color: var(--gold); }
.service .s-n { position: absolute; top: 8px; right: 18px; font-family: var(--font-head); font-weight: 900; font-size: 2.8rem; color: #f0e9d7; transition: .35s; }
.service:hover .s-n { color: rgba(201,162,75,.25); }
.service .s-ico { width: 62px; height: 62px; border-radius: 18px; display: grid; place-items: center; font-size: 1.8rem; background: linear-gradient(135deg, #faf3e3, #f0e2c4); margin-bottom: 16px; transition: .35s; }
.service:hover .s-ico { transform: rotate(-8deg) scale(1.06); }
.service h3 { font-family: var(--font-head); font-size: 1.12rem; margin-bottom: 8px; transition: .35s; }
.service:hover h3 { color: var(--gold-soft); }
.service p { color: var(--muted); font-size: .9rem; transition: .35s; }
.service:hover p { color: #b9c4d4; }
.service a { display: inline-block; margin-top: 12px; font-weight: 700; font-size: .88rem; color: var(--red); }
.service:hover a { color: var(--gold); }

/* ---------- প্রশ্নোত্তর ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.qa { background: #fff; border: 1.5px solid var(--line); border-radius: 16px; overflow: hidden; transition: .3s; }
.qa.open { border-color: var(--gold); box-shadow: var(--shadow-sm); }
.qa .q { width: 100%; background: none; border: 0; font-family: inherit; font-weight: 700; font-size: 1rem; text-align: left; padding: 18px 20px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--ink); }
.qa .plus { flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--gold-soft); display: grid; place-items: center; font-size: 1.2rem; transition: .3s; }
.qa.open .plus { transform: rotate(45deg); background: var(--gold); color: #231a05; }
.qa .a { max-height: 0; overflow: hidden; transition: max-height .45s ease; }
.qa .a p { padding: 0 20px 20px; color: var(--muted); font-size: .93rem; }

/* ভাসমান যোগাযোগ বাটন */
.fab { position: fixed; bottom: 22px; left: 22px; z-index: 150; width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, #d9b45c, var(--gold)); display: grid; place-items: center; font-size: 1.6rem; box-shadow: 0 14px 30px -8px rgba(201,162,75,.8); transition: .3s; border: 1px solid #f4e3bb; }
.fab:hover { transform: scale(1.1) rotate(8deg); }

/* রেসপন্সিভ — নতুন সেকশন */
@media (max-width: 1024px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .services { grid-template-columns: 1fr; } .typing-row { min-height: 3.2em; } }

/* প্রতিষ্ঠান কার্ডের URL + লিংক হোভার */
.org .o-link { display: block; margin-top: 8px; font-size: .76rem; font-weight: 700; color: var(--red); }
a.org:hover .o-link { color: #8a6d1f; }
a.role .org, .role a.org { text-decoration: underline dotted; text-underline-offset: 4px; }
.role a.org:hover { color: #8a1f1f; }

/* ============================================================
   প্রফেশনাল আইকন সিস্টেম (SVG — সম্পূর্ণ ইমোজিমুক্ত)
   ============================================================ */
.ic { width: 1.15em; height: 1.15em; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.22em; flex-shrink: 0; }
.topbar .ic { vertical-align: -3px; margin-right: 2px; }
.typing-row .ic { color: var(--red); }
.btn .ic { width: 1.15em; height: 1.15em; }
.cdot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
.role .ico { color: var(--ink-3); }
.role .ico .ic, .service .s-ico .ic { width: 30px; height: 30px; }
.service .s-ico { color: var(--ink-3); }
.org .o-ico .ic { width: 28px; height: 28px; stroke: var(--gold-soft); }
.c-line .ico .ic { width: 22px; height: 22px; color: var(--ink-3); }
.float-badge .ico .ic { width: 20px; height: 20px; color: var(--ink-3); }
.tool .ic { width: 15px; height: 15px; color: var(--red); }
.tool:hover .ic { color: var(--gold); }
.skill-box h3 .ic { width: 22px; height: 22px; color: var(--red); }
.fab .ic { width: 25px; height: 25px; stroke: #231a05; }
.form-ok .ic { width: 20px; height: 20px; vertical-align: -4px; }

/* ============================================================
   ক্লিন লেআউট — সমান সাইজ, গোছানো অ্যালাইনমেন্ট
   ============================================================ */
.roles, .services { align-items: stretch; }
.role, .service { display: flex; flex-direction: column; }
.role > :last-child, .service > :last-child { margin-top: auto; padding-top: 14px; }
.role > .btn { align-self: flex-start; }
.org { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.stats { align-items: stretch; }
.stat { display: flex; flex-direction: column; align-items: center; justify-content: center; }
