/* ========================================================================== MD SHAWON AHMED — SQA PORTFOLIO Unique, modern, professional CSS-only theme - Dark tech palette with cyan/orange accents - Serif headings + Sans body for elegant hierarchy - Responsive, accessible, and animation-rich without JS ========================================================================== */
/* --------------------------- */
/* 1) COLOR SYSTEM & TYPOGRAPHY */
/* --------------------------- */
:root {
  /* Palette */
  --bg: #0b1220;
  /* deep navy */
  --bg-soft: #0f182b;
  /* slightly lighter */
  --surface: #121a2e;
  /* card surface */
  --surface-2: #0e1527;
  /* alternate card tone */
  --text: #f5f7ff;
  /* base text */
  --muted: #b8c3e0;
  /* secondary text */
  --line: rgba(255, 255, 255, .08);
  /* hairline borders */
  --shadow: 0 12px 28px rgba(0, 0, 0, .45);
  /* Accents */
  --accent: #10d1d8;
  /* cyan */
  --accent-2: #ff8a3d;
  /* warm orange */
  --accent-grad: linear-gradient(135deg, #10d1d8, #6bbcff 40%, #ff8a3d 100%);
  --section-grad: radial-gradient(1200px 600px at 10% -10%, rgba(16, 209, 216, .14), transparent 60%), radial-gradient(1000px 700px at 100% 20%, rgba(255, 138, 61, .08), transparent 55%);
  /* Typography */
  --ff-sans: "Inter", "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --ff-serif: "Merriweather", Georgia, "Times New Roman", serif;
  /* Sizing */
  --radius: 16px;
  --radius-lg: 22px;
  --pad: 24px;
  --pad-lg: 36px;
  /* Speeds */
  --t-fast: .18s cubic-bezier(.2, .8, .2, 1);
  --t-med: .35s cubic-bezier(.2, .8, .2, 1);
}

/* Base reset-ish */
* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--ff-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --------------------------- */
/* 2) GLOBAL ELEMENT STYLES */
/* --------------------------- */
h1,
h2,
h3,
h4 {
  margin: 0 0 .4em;
  font-family: var(--ff-serif);
  letter-spacing: .2px;
  color: #ffffff;
}

h1 {
  font-size: clamp(2rem, 2.6vw + 1rem, 3rem);
}

h2 {
  font-size: clamp(1.6rem, 1.6vw + 1rem, 2.2rem);
}

h3 {
  font-size: clamp(1.1rem, .8vw + 1rem, 1.35rem);
}

p {
  color: var(--muted);
  margin: 0 0 1rem;
}

.lead {
  color: #dce6ff;
  opacity: .9
}

/* Section shell + visual separators */
.section {
  position: relative;
  padding: clamp(64px, 6vw, 96px) 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .02), transparent 30%), var(--section-grad);
  isolation: isolate;
}

.section+.section {
  /* subtle divider between sections */
  border-top: 1px solid var(--line);
}

/* Section title underline accent */
.section-title {
  display: inline-block;
  position: relative;
  padding-bottom: .25rem;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 64px;
  height: 3px;
  border-radius: 3px;
  background: var(--accent-grad);
  box-shadow: 0 4px 14px rgba(16, 209, 216, .35);
}

/* Wrapper constraints */
.container {
  max-width: 1100px;
  margin: 0 auto;
}

/* --------------------------- */
/* 3) NAVIGATION / SIDEBAR */
/* --------------------------- */
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 280px;
  padding: 28px 22px;
  background: color-mix(in oklab, var(--surface), transparent 20%);
  backdrop-filter: blur(10px);
  border-right: 1px solid var(--line);
  box-shadow: var(--shadow);
  z-index: 50;
}

@supports (backdrop-filter: blur(1px)) {
  .sidebar {
    backdrop-filter: blur(12px) saturate(120%);
  }
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.brand img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 14px;
  background: var(--accent-grad) padding-box;
  border: 2px solid transparent;
  box-shadow: 0 10px 28px rgba(16, 209, 216, .25);
}

.brand .name {
  font-family: var(--ff-serif);
  font-weight: 800;
  font-size: 18px;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand .role {
  font-size: 12px;
  color: var(--muted);
}

.sidebar .nav {
  list-style: none;
  padding: 10px 0 20px;
  margin: 14px 0 22px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.sidebar .nav a {
  display: block;
  padding: 10px 12px;
  margin: 6px 0;
  color: var(--text);
  text-decoration: none;
  border-radius: 12px;
  transition: transform var(--t-fast), background var(--t-fast), color var(--t-fast), box-shadow var(--t-fast);
}

.sidebar .nav a:hover {
  transform: translateX(4px);
  color: #0b1220;
  background: var(--accent-grad);
  box-shadow: 0 10px 24px rgba(16, 209, 216, .30);
}

.sidebar .social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.sidebar .social a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: color-mix(in oklab, var(--surface-2), transparent 10%);
  border: 1px solid var(--line);
  color: var(--text);
  transition: transform var(--t-fast), background var(--t-fast), box-shadow var(--t-fast);
}

.sidebar .social a:hover {
  transform: translateY(-3px);
  background: var(--accent-grad);
  color: #0b1220;
  box-shadow: 0 10px 24px rgba(255, 138, 61, .25);
}

.content {
  margin-left: 280px;
}

/* --------------------------- */
/* 4) HERO / HOME */
/* --------------------------- */
.hero {
  background: radial-gradient(700px 300px at 10% 0%, rgba(16, 209, 216, .10), transparent 60%), radial-gradient(700px 400px at 90% 10%, rgba(255, 138, 61, .08), transparent 55%);
  padding-top: clamp(80px, 10vw, 120px);
  padding-bottom: clamp(48px, 6vw, 80px);
}

.hero .title {
  font-family: var(--ff-serif);
  font-weight: 900;
  line-height: 1.15;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-wrap: balance;
}

.hero .lead {
  max-width: 70ch;
}

/* CTA buttons */
.btn-brand,
.btn-ghost {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 14px;
  font-weight: 700;
  letter-spacing: .2px;
  border: 1px solid transparent;
  transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t-fast), color var(--t-fast);
}

.btn-brand {
  background: var(--accent-grad);
  color: #07101f;
  box-shadow: 0 12px 28px rgba(16, 209, 216, .25);
}

.btn-brand:hover {
  transform: translateY(-2px) scale(1.02) rotate(-.2deg);
  box-shadow: 0 16px 36px rgba(16, 209, 216, .38);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}

.btn-ghost:hover {
  background: color-mix(in oklab, var(--accent), transparent 90%);
  border-color: color-mix(in oklab, var(--accent), transparent 70%);
  transform: translateY(-2px);
}

/* --------------------------- */
/* 5) GRID, CARDS & LISTS */
/* --------------------------- */
.grid {
  display: grid;
  gap: 18px;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  background: linear-gradient(180deg, color-mix(in oklab, var(--surface), transparent 6%), color-mix(in oklab, var(--surface-2), transparent 6%));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--pad);
  box-shadow: var(--shadow);
  position: relative;
  transition: transform var(--t-med), box-shadow var(--t-med), border-color var(--t-fast);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 40px rgba(0, 0, 0, .6);
  border-color: color-mix(in oklab, var(--accent), transparent 70%);
}

/* ========================== */
/* SIDEBAR + MOBILE NAV       */
/* ========================== */

/* Hamburger */
.hamburger {
  position: fixed;
  top: 18px;
  left: 18px;
  width: 38px;
  height: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 1100;
  background: transparent;
  border: none;
}

.hamburger .bar {
  height: 4px;
  width: 100%;
  background: var(--accent);
  border-radius: 2px;
  transition: all .3s ease;
}

.hamburger.active .bar:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.hamburger.active .bar:nth-child(2) {
  opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

/* Backdrop */
.backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .65);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease;
  z-index: 900;
}

.backdrop.show {
  opacity: 1;
  visibility: visible;
}

/* Sidebar */
.sidebar {
  position: fixed;
  top: 0;
  left: -280px;
  width: 260px;
  height: 100%;
  background: linear-gradient(160deg,
      color-mix(in oklab, var(--surface), transparent 8%),
      color-mix(in oklab, var(--surface-2), transparent 16%));
  border-right: 1px solid var(--line);
  box-shadow: 8px 0 22px rgba(0, 0, 0, .55);
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 1000;
  transition: left .35s ease;
}

.sidebar.show {
  left: 0;
}

/* Brand */
.sidebar .brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.sidebar .brand img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--accent);
}

.sidebar .brand .name {
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
}

.sidebar .brand .role {
  font-size: .85rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Slogan */
.site-slogan {
  display: block;
  font-size: .85rem;
  font-style: italic;
  color: var(--muted);
  margin-bottom: 22px;
}

/* Nav Links */
.sidebar .nav {
  list-style: none;
  padding: 0;
  margin: 0;
  flex-grow: 1;
}

.sidebar .nav li {
  margin-bottom: 10px;
}

.sidebar .nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-size: .95rem;
  transition: background .25s, color .25s;
}

.sidebar .nav a:hover,
.sidebar .nav a.active {
  background: rgba(16, 209, 216, .12);
  color: #fff;
}

/* Social */
.sidebar .social {
  display: flex;
  gap: 14px;
  margin-top: 16px;
}

.sidebar .social a {
  font-size: 1.2rem;
  color: var(--muted);
  transition: color .3s;
}

.sidebar .social a:hover {
  color: var(--accent);
}

/* Responsive: Sidebar hidden on desktop */
@media (min-width: 992px) {

  .hamburger,
  .backdrop {
    display: none;
  }

  .sidebar {
    left: 0;
    position: sticky;
    top: 0;
    height: 100vh;
  }
}

/* ========================== */
/* ABOUT SECTION              */
/* ========================== */
#about .about-card {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  padding: 28px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg,
              color-mix(in oklab, var(--surface), transparent 5%),
              color-mix(in oklab, var(--surface-2), transparent 8%));
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 28px rgba(0,0,0,.45);
  transition: transform var(--t-med), box-shadow var(--t-med);
}
#about .about-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(0,0,0,.6);
}

#about .about-left {
  flex: 1;
  text-align: center;
}
#about .about-image {
  width: 150px;
  height: 150px;
  margin: 0 auto 16px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--accent);
  box-shadow: 0 6px 18px rgba(0,0,0,.35);
}
#about .about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#about .about-intro {
  font-size: .95rem;
  color: var(--muted);
  line-height: 1.55;
}

#about .about-right {
  flex: 1.5;
}
#about .about-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
  margin-bottom: 20px;
}
#about .detail {
  font-size: .95rem;
  color: var(--muted);
}
#about .detail span {
  font-weight: 600;
  color: var(--accent);
}

#about .about-links .btn-brand {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--accent-grad);
  color: #0b1220;
  font-weight: 600;
  text-decoration: none;
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}
#about .about-links .btn-brand:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(16,209,216,.35);
}

/* Responsive */
@media (max-width: 992px) {
  #about .about-card {
    flex-direction: column;
    text-align: center;
  }
  #about .about-right {
    width: 100%;
  }
  #about .about-details {
    grid-template-columns: 1fr;
    text-align: left;
  }
}


/* ========================== */
/* EDUCATION TIMELINE         */
/* ========================== */
#education {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, .02), transparent 40%), var(--section-grad);
  padding-top: 60px;
  padding-bottom: 60px;
}

#education .timeline {
  position: relative;
  margin: 40px auto;
  padding-left: 30px;
  border-left: 2px solid var(--line);
}

#education .timeline-item {
  position: relative;
  margin-bottom: 40px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

#education .timeline-icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: color-mix(in oklab, var(--surface), transparent 8%);
  border: 2px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .35);
  transition: border-color var(--t-fast), transform var(--t-fast);
}

#education .timeline-icon img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

#education .timeline-item:hover .timeline-icon {
  border-color: var(--accent);
  transform: scale(1.05);
}

#education .timeline-content {
  background: linear-gradient(180deg,
      color-mix(in oklab, var(--surface), transparent 6%),
      color-mix(in oklab, var(--surface-2), transparent 10%));
  padding: 16px 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .35);
  transition: border-color var(--t-fast), box-shadow var(--t-med);
}

#education .timeline-item:hover .timeline-content {
  border-color: color-mix(in oklab, var(--accent), transparent 60%);
  box-shadow: 0 14px 28px rgba(0, 0, 0, .55);
}

#education .timeline-content .date {
  font-size: .9rem;
  font-weight: 600;
  color: var(--accent);
  display: block;
  margin-bottom: 6px;
}

#education .timeline-content h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: #fff;
}

#education .timeline-content p {
  font-size: .95rem;
  color: var(--muted);
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
  #education .timeline {
    padding-left: 20px;
  }

  #education .timeline-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  #education .timeline-icon {
    width: 56px;
    height: 56px;
  }

  #education .timeline-icon img {
    width: 36px;
    height: 36px;
  }
}

/* ========================== */
/* FOOTER                     */
/* ========================== */

.footer {
  background: linear-gradient(145deg,
      color-mix(in oklab, var(--surface), transparent 10%),
      color-mix(in oklab, var(--surface-2), transparent 20%));
  border-top: 1px solid var(--line);
  padding: 24px 0;
  margin-top: 40px;
  font-size: .9rem;
  color: var(--muted);
}

.foot-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-left p {
  margin: 4px 0;
}

.footer-left .tagline {
  font-size: .85rem;
  font-style: italic;
  color: var(--accent);
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-right a {
  font-size: 1.2rem;
  color: var(--muted);
  transition: color .3s, transform .3s;
}

.footer-right a:hover {
  color: var(--accent);
  transform: scale(1.15);
}

/* Responsive */
@media (max-width: 768px) {
  .foot-wrap {
    flex-direction: column;
    text-align: center;
  }

  .footer-right {
    justify-content: center;
  }
}

/* ========================== */
/* HERO CTA BUTTONS           */
/* ========================== */

.hero .btn {
  display: inline-block;
  padding: 12px 24px;
  margin: 6px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all 0.35s ease;
  font-size: 1rem;
  letter-spacing: 0.3px;
  backdrop-filter: blur(10px);
}

/* Glassy Gradient Resume Btn */
.hero .btn-resume {
  background: linear-gradient(135deg,
      color-mix(in srgb, var(--brand), #00c6ff 40%),
      color-mix(in srgb, var(--brand), #ff6b6b 40%));
  color: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.hero .btn-resume:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.35);
}

/* Ghost Hire Me Btn */
.hero .btn-hire {
  border: 2px solid var(--brand);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.hero .btn-hire:hover {
  background: var(--brand);
  color: #fff;
  transform: translateY(-2px);
}

/* Muted text style for hero */
.hero p {
  color: var(--muted);
  max-width: 700px;
  margin: 0 auto 20px auto;
  line-height: 1.6;
}

/* ========================== */
/* EXPERIENCE SECTION         */
/* ========================== */
#experience {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, .015), transparent 40%), var(--section-grad);
  padding-top: 60px;
  padding-bottom: 60px;
}

#experience .grid {
  gap: 28px;
}

#experience .exp-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg,
      color-mix(in oklab, var(--surface), transparent 6%),
      color-mix(in oklab, var(--surface-2), transparent 10%));
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .4);
  transition: transform var(--t-med), box-shadow var(--t-med), border-color var(--t-fast);
}

#experience .exp-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: color-mix(in oklab, var(--accent), transparent 65%);
  box-shadow: 0 20px 42px rgba(0, 0, 0, .65);
}

#experience .exp-logo {
  flex-shrink: 0;
  width: 70px;
  height: 70px;
  border-radius: 14px;
  object-fit: cover;
  border: 2px solid var(--line);
  background: #fff;
  box-shadow: 0 6px 14px rgba(0, 0, 0, .3);
  transition: transform var(--t-fast), border-color var(--t-fast);
}

#experience .exp-card:hover .exp-logo {
  transform: scale(1.05);
  border-color: var(--accent);
}

#experience .exp-body h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: #fff;
}

#experience .exp-meta {
  font-size: .9rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 10px;
}

#experience .exp-body ul {
  font-size: .95rem;
  line-height: 1.55;
  list-style: disc;
}

#experience .exp-body ul li {
  margin-bottom: 6px;
}

/* Responsive */
@media (max-width: 992px) {
  #experience .grid-2 {
    grid-template-columns: 1fr;
  }

  #experience .exp-card {
    flex-direction: column;
    align-items: flex-start;
  }

  #experience .exp-logo {
    width: 60px;
    height: 60px;
    border-radius: 12px;
  }
}

/* ========================== */
/* CONTACT SECTION            */
/* ========================== */
#contact {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, .015), transparent 40%), var(--section-grad);
  padding-top: 60px;
  padding-bottom: 60px;
}

#contact .grid {
  gap: 28px;
}

/* ---- Contact Form ---- */
#contact form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

#contact .form-row.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

#contact .form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: color-mix(in oklab, var(--surface), transparent 6%);
  font-size: .95rem;
  color: #fff;
  transition: all var(--t-fast);
}

#contact .form-control:focus {
  outline: none;
  border-color: var(--accent);
  background: color-mix(in oklab, var(--surface-2), transparent 4%);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent), transparent 80%);
}

#contact textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* Error messages */
#contact .error {
  font-size: .8rem;
  font-weight: 500;
  color: #ff6b6b;
  display: none;
  margin-top: 4px;
}

#contact .form-control.invalid {
  border-color: #ff6b6b;
  box-shadow: 0 0 0 2px rgba(255, 107, 107, .4);
}

/* Buttons */
#contact .btn-brand {
  background: var(--accent-grad);
  border: none;
  color: #0b1220;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 999px;
  transition: all var(--t-fast);
}

#contact .btn-brand:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(16, 209, 216, .4);
}

#contact .btn-ghost {
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 10px 20px;
  font-weight: 600;
  color: var(--accent);
  transition: all var(--t-fast);
}

#contact .btn-ghost:hover {
  background: var(--accent-grad);
  color: #0b1220;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(16, 209, 216, .4);
}

/* ---- Contact Info Card ---- */
#contact .card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
}

#contact .card p {
  font-size: .95rem;
  color: var(--muted);
  margin-bottom: 6px;
}

#contact .card a {
  transition: color var(--t-fast);
}

#contact .card a:hover {
  color: var(--accent);
}

/* Social Icons */
#contact .social {
  display: flex;
  gap: 14px;
}

#contact .social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: color-mix(in oklab, var(--surface-2), transparent 8%);
  color: #fff;
  font-size: 1.2rem;
  transition: all var(--t-fast);
}

#contact .social a:hover {
  background: var(--accent-grad);
  color: #0b1220;
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(16, 209, 216, .35);
}

/* Responsive */
@media (max-width: 768px) {
  #contact .grid-2 {
    grid-template-columns: 1fr;
  }

  #contact .form-row.two {
    grid-template-columns: 1fr;
  }
}

/* ========================== */
/* PROJECTS SECTION           */
/* ========================== */
#projects {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, .015), transparent 40%), var(--section-grad);
  padding-top: 60px;
  padding-bottom: 60px;
}

#projects .section-sub {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 36px;
  text-align: center;
  letter-spacing: .3px;
}

#projects .grid {
  gap: 24px;
}

#projects .project {
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(180deg,
      color-mix(in oklab, var(--surface), transparent 6%),
      color-mix(in oklab, var(--surface-2), transparent 12%));
  box-shadow: 0 10px 24px rgba(0, 0, 0, .4);
  transition: transform var(--t-med), box-shadow var(--t-med), border-color var(--t-fast);
  text-decoration: none;
  color: inherit;
}

#projects .project img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform var(--t-med), filter var(--t-med);
}

#projects .project:hover img {
  transform: scale(1.08);
  filter: brightness(1.15);
}

#projects .project:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: color-mix(in oklab, var(--accent), transparent 60%);
  box-shadow: 0 20px 42px rgba(0, 0, 0, .65);
}

#projects .p-body {
  padding: 16px 18px 20px;
}

#projects .p-body h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
}

#projects .p-body .lead {
  font-size: .95rem;
  color: var(--muted);
  margin-bottom: 10px;
}

#projects .p-body .tag {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 999px;
  background: color-mix(in oklab, var(--accent), transparent 88%);
  border: 1px solid color-mix(in oklab, var(--accent), transparent 70%);
  color: var(--accent);
  margin-right: 6px;
  margin-top: 4px;
  transition: all var(--t-fast);
}

#projects .p-body .tag:hover {
  background: var(--accent-grad);
  color: #0b1220;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(16, 209, 216, .35);
}

/* GitHub Button */
#projects .btn-ghost {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 600;
  border: 1px solid var(--accent);
  color: var(--accent);
  background: transparent;
  transition: all var(--t-fast);
}

#projects .btn-ghost:hover {
  background: var(--accent-grad);
  color: #0b1220;
  border-color: transparent;
  box-shadow: 0 6px 16px rgba(16, 209, 216, .4);
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 992px) {
  #projects .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  #projects .grid-3 {
    grid-template-columns: 1fr;
  }
}

/* ========================== */
/* CERTIFICATIONS SECTION     */
/* ========================== */
#certifications {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, .02), transparent 40%), var(--section-grad);
  padding-top: 60px;
  padding-bottom: 60px;
}

#certifications .grid {
  gap: 28px;
}

#certifications .card.cert {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg,
      color-mix(in oklab, var(--surface), transparent 4%),
      color-mix(in oklab, var(--surface-2), transparent 10%));
  box-shadow: 0 10px 26px rgba(0, 0, 0, .4);
  transition: all var(--t-med);
}

#certifications .card.cert:hover {
  border-color: color-mix(in oklab, var(--accent), transparent 60%);
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .65);
}

#certifications .card.cert>img {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 12px;
  border: 2px solid var(--line);
  background: #fff;
  box-shadow: 0 6px 14px rgba(0, 0, 0, .3);
  transition: transform var(--t-fast), border-color var(--t-fast);
}

#certifications .card.cert:hover>img {
  transform: scale(1.05);
  border-color: var(--accent);
}

#certifications .card.cert h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: #fff;
}

#certifications .card.cert .lead {
  font-size: .92rem;
  color: var(--muted);
  margin-bottom: 4px;
}

#certifications .card.cert .exp-meta {
  font-size: .85rem;
  font-weight: 500;
  color: var(--accent);
}

#certifications .cert-thumb {
  width: 90px;
  height: 64px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  transition: transform var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .35);
}

#certifications .cert-thumb:hover {
  transform: scale(1.08);
  border-color: var(--accent);
  box-shadow: 0 10px 20px rgba(16, 209, 216, .35);
}

/* Responsive */
@media (max-width: 768px) {
  #certifications .card.cert {
    flex-direction: column;
    align-items: flex-start;
  }

  #certifications .cert-thumb {
    width: 100%;
    height: auto;
    margin-top: 12px;
  }
}

/* ========================== */
/* SKILLS SECTION             */
/* ========================== */
#skills {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, .02), transparent 40%), var(--section-grad);
}

#skills .section-sub {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 36px;
  text-align: center;
  letter-spacing: .3px;
}

#skills .grid {
  gap: 24px;
}

#skills .card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg,
      color-mix(in oklab, var(--surface), transparent 6%),
      color-mix(in oklab, var(--surface-2), transparent 10%));
  border-radius: var(--radius-lg);
  padding: var(--pad-lg) var(--pad);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .45);
  transition: transform var(--t-med), box-shadow var(--t-med), border-color var(--t-fast);
}

#skills .card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: color-mix(in oklab, var(--accent), transparent 65%);
  box-shadow: 0 24px 48px rgba(0, 0, 0, .65);
}

#skills .card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}

#skills .card .lead {
  font-size: .95rem;
  color: var(--muted);
  margin-bottom: 14px;
}

/* Tag / Badge styles */
#skills .quick-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

#skills .tag {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  background: color-mix(in oklab, var(--accent), transparent 88%);
  border: 1px solid color-mix(in oklab, var(--accent), transparent 70%);
  color: var(--accent);
  letter-spacing: .3px;
  transition: all var(--t-fast);
}

#skills .tag:hover {
  background: var(--accent-grad);
  border-color: transparent;
  color: #0b1220;
  box-shadow: 0 6px 16px rgba(16, 209, 216, .35);
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 992px) {
  #skills .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  #skills .grid-3 {
    grid-template-columns: 1fr;
  }
}

/* ========================== */
/* SERVICES SECTION           */
/* ========================== */
#services {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, .015), transparent 40%), var(--section-grad);
}

#services .section-sub {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 36px;
  text-align: center;
  letter-spacing: .3px;
}

#services .grid {
  gap: 24px;
}

#services .card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg,
      color-mix(in oklab, var(--surface), transparent 5%),
      color-mix(in oklab, var(--surface-2), transparent 10%));
  border-radius: var(--radius-lg);
  padding: var(--pad-lg) var(--pad);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .4);
  transition: transform var(--t-med), box-shadow var(--t-med), border-color var(--t-fast);
}

#services .card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: color-mix(in oklab, var(--accent), transparent 65%);
  box-shadow: 0 20px 42px rgba(0, 0, 0, .65);
}

#services .card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}

#services .card p {
  font-size: .95rem;
  color: var(--muted);
  line-height: 1.55;
}

/* Responsive */
@media (max-width: 992px) {
  #services .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  #services .grid-3 {
    grid-template-columns: 1fr;
  }
}


/* ===== MOBILE HEADER ===== */
.mobile-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 56px;
  background: #fff;
  /* চাইলে gradient বা transparentও দিতে পারেন */
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  border-bottom: 1px solid #e5e5e5;
  z-index: 1000;
}

/* Hamburger button */
.hamburger {
  width: 32px;
  height: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.hamburger .bar {
  display: block;
  height: 3px;
  width: 100%;
  background: #333;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Mini profile (right side) */
.mini-profile {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mini-pic {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #0077b6;
  /* Accent border */
}

.mini-info {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.mini-name {
  font-size: 14px;
  font-weight: 600;
  color: #222;
}

/* Responsive (tab+desktop এ fixed header না চাইলে) */
@media(min-width: 768px) {
  .mobile-header {
    display: none;
    /* শুধু mobile এ দেখাবে */
  }
}

/* --------------------------- */
/* 7) EXPERIENCE, PROJECTS, ETC */
/* --------------------------- */
/* (keep rest same as your file, already provided above — not removed) */
/* --------------------------- */
/* 12) RESPONSIVE BEHAVIOR */
/* --------------------------- */
@media (max-width: 992px) {
  .about-card {
    flex-direction: column;
    text-align: center;
  }

  .about-image img {
    width: 120px;
    height: 120px;
  }
}

/* (rest of your responsive rules remain unchanged) */


    :root {
      --brand: #ffbd39;
      --bg: #0c0c0c;
      --panel: #111;
      --text: #fff;
      --muted: rgba(255, 255, 255, 0.7);
    }

    html,
    body {
      height: 100%;
      background: var(--bg);
      color: var(--text);
    }

    body {
      font-family: "Poppins", sans-serif;
    }

    /* ============ SIDEBAR ============ */
    .sidebar {
      position: fixed;
      top: 0;
      left: 0;
      bottom: 0;
      width: 280px;
      background: linear-gradient(180deg, #161616, #0f0f0f);
      border-right: 1px solid rgba(255, 255, 255, .06);
      padding: 28px 22px;
      z-index: 1030;
      overflow-y: auto;
      transition: transform .25s ease;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 18px;
    }

    .brand img {
      width: 64px;
      height: 64px;
      object-fit: cover;
      border-radius: 14px;
      border: 2px solid var(--brand);
    }

    .brand .name {
      font-size: 18px;
      font-weight: 700;
      line-height: 1.1;
    }

    .brand .role {
      font-size: 12px;
      color: var(--muted);
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .brand .role .icon {
      color: var(--brand);
    }

    .sidebar .nav {
      list-style: none;
      padding-left: 0;
      margin: 18px 0 26px;
    }

    .sidebar .nav a {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 10px 12px;
      margin: 4px 0;
      border-radius: 10px;
      color: var(--text);
      text-decoration: none;
      font-weight: 500;
      opacity: .9;
    }

    .sidebar .nav a .icon {
      width: 18px;
      display: inline-grid;
      place-items: center;
      opacity: .9;
    }

    .sidebar .nav a:hover,
    .sidebar .nav a.active {
      background: #1a1a1a;
      opacity: 1;
      color: var(--brand);
    }

    .sidebar .nav a:hover .icon,
    .sidebar .nav a.active .icon {
      color: var(--brand);
    }

    .quick-badges {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }

    .badge-pill {
      display: inline-block;
      padding: .35rem .75rem;
      border-radius: 999px;
      background: var(--brand);
      color: #222;
      font-weight: 600;
    }

    .sidebar .social {
      display: flex;
      gap: 10px;
      margin-top: 18px;
    }

    .sidebar .social a {
      width: 36px;
      height: 36px;
      display: grid;
      place-items: center;
      border-radius: 10px;
      background: #1a1a1a;
      color: #fff;
      opacity: .9;
    }

    .sidebar .social a:hover {
      opacity: 1;
      color: var(--brand);
    }

    /* ============ MOBILE MENU BUTTON + OFF-CANVAS ============ */
    .hamburger {
      position: fixed;
      top: 14px;
      left: 14px;
      z-index: 1100;
      width: 44px;
      height: 44px;
      border-radius: 12px;
      border: 1px solid rgba(255, 255, 255, .12);
      background: #141414;
      color: #fff;
      display: none;
      align-items: center;
      justify-content: center;
      cursor: pointer;
    }

    .hamburger .bar {
      width: 20px;
      height: 2px;
      background: #fff;
      position: relative;
    }

    .hamburger .bar::before,
    .hamburger .bar::after {
      content: "";
      position: absolute;
      left: 0;
      width: 100%;
      height: 2px;
      background: #fff;
    }

    .hamburger .bar::before {
      top: -6px;
    }

    .hamburger .bar::after {
      top: 6px;
    }

    .backdrop {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, .5);
      z-index: 1025;
      display: none;
    }

    /* ============ MAIN CONTENT ============ */
    .content {
      margin-left: 280px;
    }

    .section {
      padding: 80px 24px;
    }

    .container {
      max-width: 1040px;
      margin: 0 auto;
    }

    .section .lead {
      color: var(--muted);
    }

    h1.big,
    h2.section-title {
      font-weight: 800;
      letter-spacing: .5px;
    }

    h2.section-title {
      font-size: 34px;
      margin-bottom: 8px;
    }

    .section-sub {
      color: var(--muted);
      margin-bottom: 22px;
    }

    /* Hero */
    .hero {
      padding: 96px 24px 64px;
      background: radial-gradient(80% 80% at 20% 0%, rgba(255, 189, 57, .12), transparent 50%);
    }

    .hero .hero-wrap {
      display: grid;
      grid-template-columns: 1.2fr .8fr;
      gap: 24px;
      align-items: center;
    }

    .hero .title {
      font-size: 42px;
      font-weight: 800;
      line-height: 1.15;
    }

    .hero .subtitle {
      font-size: 18px;
      color: var(--muted);
    }

    .hero-img {
      width: 100%;
      height: 360px;
      object-fit: cover;
      border-radius: 18px;
      border: 1px solid rgba(255, 255, 255, .08);
      background: #101010;
    }

    .cta {
      display: flex;
      gap: 12px;
      margin-top: 22px;
      flex-wrap: wrap;
    }

    .btn-brand {
      background: var(--brand);
      color: #111;
      font-weight: 700;
      border: none;
      padding: 12px 18px;
      border-radius: 12px;
    }

    .btn-ghost {
      border: 1px solid rgba(255, 255, 255, .12);
      background: #141414;
      color: #fff;
      padding: 12px 18px;
      border-radius: 12px;
    }

    /* Typing effect */
    #typing {
      font-weight: 800;
      color: var(--brand);
      white-space: nowrap;
      overflow: hidden;
      border-right: 2px solid var(--brand);
      animation: cursor .8s step-end infinite;
    }

    @keyframes cursor {
      50% {
        border-color: transparent;
      }
    }

    /* Cards & grids */
    .grid {
      display: grid;
      gap: 18px;
    }

    .grid-3 {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .grid-2 {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .card {
      background: var(--panel);
      border-radius: 16px;
      padding: 22px;
      box-shadow: 0 10px 24px rgba(0, 0, 0, .25);
      height: 100%;
    }

    .card h3 {
      margin: 4px 0 8px;
    }

    /* Timeline + Education logos */
    .timeline {
      border-left: 3px solid var(--brand);
      padding-left: 18px;
    }

    .timeline .item {
      margin-bottom: 22px;
      display: flex;
      gap: 12px;
      align-items: flex-start;
    }

    .timeline .date {
      font-weight: 700;
      color: var(--brand);
    }

    .edu-logo {
      width: 44px;
      height: 44px;
      border-radius: 10px;
      object-fit: cover;
      border: 1px solid rgba(255, 255, 255, .12);
      background: #1a1a1a;
      flex-shrink: 0;
    }

    .edu-body {
      display: block;
    }

    /* Experience cards */
    .exp-card {
      display: flex;
      gap: 14px;
      align-items: flex-start;
    }

    .exp-logo {
      width: 56px;
      height: 56px;
      object-fit: cover;
      border-radius: 12px;
      border: 1px solid rgba(255, 255, 255, .08);
      background: #1a1a1a;
    }

    .exp-body h4 {
      margin: 0;
    }

    .exp-meta {
      font-size: 13px;
      color: var(--muted);
      margin: 4px 0 8px;
    }

    /* About photo */
    .about-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 18px;
      align-items: center;
    }

    .about-photo {
      width: 100%;
      height: 280px;
      object-fit: cover;
      border-radius: 16px;
      border: 1px solid rgba(255, 255, 255, .08);
      background: #101010;
    }

    /* Project tiles */
    .project {
      display: block;
      background: #141414;
      border-radius: 16px;
      overflow: hidden;
      text-decoration: none;
      color: #fff;
      transition: transform .2s ease;
    }

    .project:hover {
      transform: translateY(-3px);
    }

    .project img {
      width: 100%;
      height: 160px;
      object-fit: cover;
    }

    .project .p-body {
      padding: 14px;
    }

    .tag {
      font-size: 11px;
      padding: 4px 8px;
      border: 1px solid rgba(255, 255, 255, .14);
      border-radius: 999px;
      margin-right: 6px;
    }

    /* Certification */
    .cert {
      display: flex;
      gap: 14px;
      align-items: center;
    }

    .cert img {
      width: 64px;
      height: 64px;
      object-fit: cover;
      border-radius: 10px;
      background: #1a1a1a;
    }

    .cert-thumb {
      width: 96px;
      height: 64px;
      object-fit: cover;
      border-radius: 10px;
      border: 1px solid rgba(255, 255, 255, .12);
      background: #0f0f0f;
    }

    /* Contact + validation */
    .form-control {
      background: #101010;
      border: 1px solid rgba(255, 255, 255, .12);
      color: #fff;
      border-radius: 12px;
      padding: 12px 14px;
      width: 100%;
    }

    .form-row {
      display: grid;
      gap: 12px;
    }

    .form-row.two {
      grid-template-columns: 1fr 1fr;
    }

    .error {
      display: none;
      color: #ff6b6b;
      font-size: 12px;
      margin-top: 6px;
    }

    .invalid {
      border-color: #ff6b6b !important;
    }

    /* Footer */
    footer {
      padding: 32px 24px;
      border-top: 1px solid rgba(255, 255, 255, .08);
      color: var(--muted);
      background: linear-gradient(180deg, rgba(255, 189, 57, .06), transparent 40%);
    }

    footer .foot-wrap {
      display: flex;
      gap: 12px;
      align-items: center;
      justify-content: center;
      flex-wrap: wrap;
    }

    footer .foot-wrap .dot {
      width: 6px;
      height: 6px;
      border-radius: 999px;
      background: var(--brand);
      display: inline-block;
    }

    /* Responsive */
    @media (max-width: 992px) {
      .content {
        margin-left: 0;
      }

      .sidebar {
        transform: translateX(-100%);
      }

      .sidebar.open {
        transform: translateX(0);
      }

      .backdrop.show {
        display: block;
      }

      .hamburger {
        display: flex;
      }

      .hero {
        padding-top: 84px;
      }

      .hero .hero-wrap {
        grid-template-columns: 1fr;
      }

      .hero-img {
        height: 240px;
      }

      .about-grid {
        grid-template-columns: 1fr;
      }

      .grid-3 {
        grid-template-columns: 1fr;
      }

      .grid-2 {
        grid-template-columns: 1fr;
      }

      .form-row.two {
        grid-template-columns: 1fr;
      }
    }
 