@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #1e293b;
  background: #f8fafc;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --color-primary: #2563eb;
  --color-on-primary: #fff;
  --color-secondary: #3b82f6;
  --color-accent: #ea580c;
  --color-background: #f8fafc;
  --color-foreground: #1e293b;
  --color-card: #fff;
  --color-muted: #e9eff8;
  --color-muted-foreground: #475569;
  --color-border: #d8e1ee;
  --ink: #172338;
  --blue-deep: #163b86;
  --orange-dark: #7c2d06;
  --paper: #f8fafc;
  --glass: rgba(255,255,255,.72);
  --shadow-soft: 0 16px 45px rgba(26, 54, 96, .08);
}
gg:hover::after {
  content: "your@email.com";
  position: absolute;
  /* Popup styling এখানে */
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; min-width: 320px; background: var(--paper); color: var(--ink); }
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: -1;
  background: radial-gradient(ellipse at 87% 7%, rgba(59,130,246,.11), transparent 30%),
              radial-gradient(ellipse at 3% 42%, rgba(234,88,12,.045), transparent 27%);
}
button, a { font: inherit; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid #163b86; outline-offset: 4px; }
::selection { background: #bfdbfe; color: #172338; }

.site-shell { overflow: clip; }
.container { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: absolute; top: -60px; left: 16px; padding: 12px 16px; background: #fff; border: 2px solid var(--color-primary); z-index: 20; }
.skip-link:focus { top: 12px; }
.site-header {
  position: sticky; top: 0; z-index: 10; border-bottom: 1px solid rgba(216,225,238,.75);
  background: rgba(248,250,252,.84); backdrop-filter: blur(16px);
}
.nav-wrap { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 800; letter-spacing: -.04em; color: var(--ink); }
.brand-mark { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 11px 11px 11px 3px; color: white; background: var(--color-primary); font-size: 15px; letter-spacing: -.06em; }
.brand-name { font-size: 16px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: #334155; text-decoration: none; font-size: 13px; font-weight: 700; transition: color 180ms ease; }
.nav-links a:hover { color: var(--color-primary); }
.nav-links .nav-contact { padding: 11px 17px; border-radius: 9px; background: var(--color-primary); color: white; }
.nav-links .nav-contact:hover { background: var(--blue-deep); color: white; }
.menu-toggle { display: none; width: 44px; height: 42px; border: 1px solid var(--color-border); border-radius: 10px; color: var(--ink); background: white; cursor: pointer; }
.menu-toggle svg { width: 20px; height: 20px; }

.hero { padding: 76px 0 90px; position: relative; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(330px, .8fr); gap: 74px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--blue-deep); text-transform: uppercase; letter-spacing: .14em; font: 500 11px 'DM Mono', monospace; }
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--color-accent); }
.hero h1 { max-width: 700px; margin: 22px 0 18px; color: var(--ink); font-size: clamp(48px, 6.6vw, 82px); line-height: .99; letter-spacing: -.075em; font-weight: 800; }
.hero h1 span { color: var(--color-primary); }
.hero-copy { max-width: 590px; margin: 0; color: #475569; font-size: 17px; line-height: 1.8; }
.hero-copy strong { color: var(--ink); font-weight: 700; }
.hero-actions { display: flex; gap: 13px; flex-wrap: wrap; margin-top: 30px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 10px; border: 1px solid transparent; border-radius: 9px; padding: 0 19px; font-size: 13px; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform 180ms ease, background 180ms ease, border-color 180ms ease; }
.button:hover { transform: translateY(-2px); }
.button svg, .text-link svg { width: 16px; height: 16px; }
.button-primary { color: #fff; background: var(--color-primary); box-shadow: 0 8px 18px rgba(37,99,235,.18); }
.button-primary:hover { background: var(--blue-deep); }
.button-secondary { color: var(--blue-deep); background: rgba(255,255,255,.68); border-color: #b9c9e2; }
.button-secondary:hover { border-color: var(--color-primary); background: white; }
.hero-note { display: flex; gap: 9px; align-items: center; margin-top: 28px; color: #475569; font-size: 12px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #198754; box-shadow: 0 0 0 4px rgba(25,135,84,.12); }
.portrait-wrap { justify-self: end; width: min(100%, 390px); position: relative; padding: 18px 18px 0 0; }
.portrait-wrap::before { content: ""; position: absolute; inset: 0 0 18px 18px; border: 1px solid #a8c2ed; border-radius: 24px 24px 24px 5px; }
.portrait-frame { position: relative; height: 470px; overflow: hidden; border-radius: 22px 22px 22px 5px; background: #dbeafe; box-shadow: var(--shadow-soft); }
.portrait-frame::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(17,35,60,.24)); pointer-events: none; }
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 43%; display: block; }
.portrait-caption { position: absolute; z-index: 1; left: 20px; right: 20px; bottom: 18px; display: flex; justify-content: space-between; align-items: end; color: #fff; }
.portrait-caption strong { display: block; font-size: 14px; }
.portrait-caption span { font: 11px 'DM Mono', monospace; opacity: .9; }
.photo-index { position: absolute; right: -23px; top: 49px; z-index: 2; padding: 10px 13px; border: 1px solid rgba(255,255,255,.75); border-radius: 10px; background: var(--glass); backdrop-filter: blur(14px); box-shadow: 0 8px 22px rgba(26,54,96,.09); font: 11px 'DM Mono', monospace; color: var(--blue-deep); }
.hero-orbit { position: absolute; width: 190px; height: 190px; border: 1px dashed rgba(37,99,235,.22); border-radius: 50%; right: -105px; bottom: -62px; z-index: -1; }

.section { padding: 93px 0; }
.section-top { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.section-heading { margin: 12px 0 0; max-width: 650px; font-size: clamp(34px, 4vw, 48px); line-height: 1.08; letter-spacing: -.055em; color: var(--ink); }
.section-intro { max-width: 390px; margin: 0 0 4px; font-size: 14px; line-height: 1.75; color: #475569; }
.work-section { background: #edf3fc; border-block: 1px solid #e2eaf5; }
.project-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 20px; }
.project-card { overflow: hidden; border: 1px solid rgba(182,199,224,.75); border-radius: 15px; background: rgba(255,255,255,.76); box-shadow: 0 8px 24px rgba(26,54,96,.045); transition: transform 200ms ease, box-shadow 200ms ease; }
.project-card:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(26,54,96,.11); }
.project-card:first-child { grid-row: span 2; }
.project-image { position: relative; display: block; overflow: hidden; background: #dbeafe; aspect-ratio: 16 / 8.3; }
.project-card:first-child .project-image { aspect-ratio: 16 / 10.7; }
.project-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 320ms ease; }
.project-card:hover .project-image img { transform: scale(1.025); }
.project-image::after { content: ""; position: absolute; inset: 50% 0 0; background: linear-gradient(transparent, rgba(19,35,59,.16)); pointer-events: none; }
.project-body { padding: 20px 22px 22px; }
.project-title-line { display: flex; align-items: start; justify-content: space-between; gap: 15px; }
.project-title-line h3 { margin: 0; color: var(--ink); font-size: 19px; letter-spacing: -.04em; }
.project-kind { flex: none; padding: 6px 9px; border-radius: 999px; color: var(--blue-deep); background: #e8f0ff; font: 10px 'DM Mono', monospace; }
.project-body p { margin: 9px 0 16px; color: #475569; font-size: 13px; line-height: 1.65; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--blue-deep); text-decoration: none; font-size: 12px; font-weight: 800; }
.text-link:hover { color: var(--color-primary); }

.about-section { padding-bottom: 100px; }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; }
.about-lead { font-size: clamp(22px, 2.6vw, 31px); line-height: 1.42; letter-spacing: -.04em; color: var(--ink); margin: 14px 0 18px; }
.about-copy { color: #475569; font-size: 14px; line-height: 1.85; margin: 0; }
.toolkit-panel { padding: 26px 28px; border: 1px solid rgba(255,255,255,.88); border-radius: 16px; background: var(--glass); backdrop-filter: blur(12px); box-shadow: var(--shadow-soft); }
.toolkit-panel h3 { margin: 0; font-size: 17px; letter-spacing: -.03em; }
.toolkit-panel > p { margin: 8px 0 22px; color: #475569; font-size: 12px; }
.toolkit-group + .toolkit-group { margin-top: 20px; }
.toolkit-label { margin: 0 0 10px; color: var(--blue-deep); text-transform: uppercase; letter-spacing: .11em; font: 11px 'DM Mono', monospace; }
.skill-list { display: flex; flex-wrap: wrap; gap: 8px; }
.skill-chip { display: inline-flex; align-items: center; min-height: 32px; border: 1px solid #d6e1f0; border-radius: 7px; padding: 0 10px; background: rgba(255,255,255,.78); color: #293b55; font-size: 11px; font-weight: 600; }

.path-section { background: #f0f5fb; border-block: 1px solid #e2eaf5; }
.path-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.path-card { position: relative; padding: 28px 30px 30px; border: 1px solid #d8e1ee; border-radius: 14px; background: rgba(255,255,255,.7); }
.path-card::before { content: ""; position: absolute; top: 28px; left: 0; width: 3px; height: 44px; background: var(--color-accent); border-radius: 0 3px 3px 0; }
.path-card h3 { margin: 0 0 11px; font-size: 20px; letter-spacing: -.04em; }
.path-card p { margin: 0; max-width: 450px; color: #475569; font-size: 13px; line-height: 1.8; }
.path-meta { margin-top: 22px; display: flex; align-items: center; gap: 8px; color: var(--blue-deep); font: 10px 'DM Mono', monospace; text-transform: uppercase; letter-spacing: .1em; }
.path-meta svg { width: 15px; height: 15px; }

.contact-section { padding: 90px 0 48px; }
.contact-panel { position: relative; overflow: hidden; padding: 49px 52px; border-radius: 20px 20px 20px 5px; color: #fff; background: var(--blue-deep); }
.contact-panel::before, .contact-panel::after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; pointer-events: none; }
.contact-panel::before { width: 400px; height: 400px; right: -115px; top: -190px; }
.contact-panel::after { width: 255px; height: 255px; right: -42px; top: -120px; }
.contact-inner { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: end; gap: 36px; }
.contact-copy { max-width: 590px; }
.contact-copy .eyebrow { color: #dbeafe; }
.contact-copy .eyebrow::before { background: #fdba74; }
.contact-copy h2 { margin: 14px 0 13px; font-size: clamp(36px, 5vw, 55px); letter-spacing: -.06em; line-height: 1.04; }
.contact-copy p { margin: 0; max-width: 500px; color: #d8e6ff; font-size: 14px; line-height: 1.75; }
.contact-actions { display: flex; flex-direction: column; gap: 10px; flex: none; }
.button-warm { color: #2b170d; background: #fdba74; }
.button-warm:hover { background: #fed7aa; }
.button-light { color: white; border-color: rgba(255,255,255,.48); background: transparent; }
.button-light:hover { border-color: white; background: rgba(255,255,255,.1); }
.contact-links { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 28px; }
.contact-links a { color: #e2edff; font-size: 11px; font-weight: 600; text-decoration: underline; text-decoration-color: rgba(226,237,255,.45); text-underline-offset: 4px; }
.contact-links a:hover { color: white; text-decoration-color: white; }
.site-footer { display: flex; justify-content: space-between; gap: 18px; align-items: center; padding: 25px 0 30px; color: #475569; font-size: 11px; }
.footer-mark { color: var(--ink); font-weight: 800; letter-spacing: -.03em; }
.back-top { color: var(--blue-deep); font-weight: 700; text-decoration: none; }
.back-top:hover { text-decoration: underline; text-underline-offset: 3px; }

[data-reveal] { opacity: 1; transform: none; }
.reveal-ready [data-reveal] { opacity: 0; transform: translateY(12px); transition: opacity 360ms ease, transform 360ms ease; }
.reveal-ready [data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 860px) {
  .hero { padding-top: 58px; }
  .hero-grid { gap: 40px; grid-template-columns: minmax(0, 1.1fr) minmax(260px, .8fr); }
  .portrait-frame { height: 400px; }
  .about-grid { gap: 40px; }
  .contact-inner { align-items: start; flex-direction: column; }
  .contact-actions { flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 680px) {
  .container { width: min(100% - 36px, 520px); }
  .nav-wrap { min-height: 66px; }
  .menu-toggle { display: grid; place-items: center; }
  .nav-links { display: none; position: absolute; top: calc(100% + 1px); left: 0; right: 0; padding: 14px 18px 18px; flex-direction: column; align-items: stretch; gap: 0; background: rgba(248,250,252,.98); border-bottom: 1px solid var(--color-border); box-shadow: 0 12px 18px rgba(26,54,96,.08); }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 13px 5px; }
  .nav-links .nav-contact { text-align: center; margin-top: 7px; }
  .hero { padding: 46px 0 65px; }
  .hero-grid { grid-template-columns: 1fr; gap: 38px; }
  .hero h1 { max-width: 540px; font-size: clamp(48px, 13vw, 68px); }
  .hero-copy { font-size: 15px; }
  .portrait-wrap { justify-self: center; width: min(86%, 370px); }
  .portrait-frame { height: 390px; }
  .photo-index { right: -13px; }
  .section { padding: 67px 0; }
  .section-top { align-items: start; flex-direction: column; margin-bottom: 25px; }
  .section-intro { max-width: 500px; }
  .project-grid { grid-template-columns: 1fr; }
  .project-card:first-child { grid-row: auto; }
  .project-card:first-child .project-image { aspect-ratio: 16 / 8.5; }
  .about-grid, .path-grid { grid-template-columns: 1fr; gap: 25px; }
  .toolkit-panel { padding: 23px 21px; }
  .contact-section { padding: 65px 0 28px; }
  .contact-panel { padding: 34px 25px; }
  .contact-links { gap: 15px 19px; }
  .site-footer { align-items: start; flex-direction: column; }
}
@media (max-width: 390px) {
  .container { width: calc(100% - 28px); }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .portrait-frame { height: 350px; }
  .project-title-line { flex-direction: column; gap: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal-ready [data-reveal] { opacity: 1; transform: none; }
}
#progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: #2563eb;
  z-index: 99999;
  transition: width 0.05s linear;
}