/* ================= ROOT VARIABLES ================= */
:root {
  --bg: #0b1020;
  --bg-card: #141a2e;
  --primary: #7c3aed;
  --primary-dark: #6d28d9;
  --primary-light: #a78bfa;
  --text: #ffffff;
  --text-muted: #94a3b8;
  --border: #1f2a44;
  --radius: 12px;
}

/* ================= GLOBAL RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ================= NAVBAR ================= */
.navbar {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

/* আগের .navbar { position: sticky ... } ব্লকটি মুছে এটি বসাও */
#header-placeholder {
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  padding: 20px 0;
  background: rgba(11, 16, 32, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.1rem;
}

.logo-icon {
  color: var(--primary-light);
  font-family: monospace;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}
/* ================= BUTTONS ================= */
.btn{
    display: inline-block;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 500;
    font-size: 0.95rem;
    border: 1px solid transparent;
    transition: all 0.3s;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-outline {
  border-color: var(--primary-light);
  color: var(--text);
}

.btn-outline:hover {
  background: rgba(124, 58, 237, 0.15);
}

.btn-small {
  padding: 8px 18px;
  font-size: 0.85rem;
}



/* ================= GLOBAL RESPONSIVE ================= */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ল্যাপটপ */
/* @media (max-width: 1024px) {
  .container {
    max-width: 960px;
  }
} */

/* ট্যাবলেট ও মোবাইল: মেনু লিংক লুকিয়ে শুধু Let's Talk বাটন রাখা */
/* @media (max-width: 768px) {
  .nav-links a:not(.btn) {
    display: none;
  }

  .logo {
    font-size: 1rem;
  }
} */


/* ছোট ফোন */
 /* @media (max-width: 480px) {
  .navbar {
    padding: 14px 0;
  }

  .nav-inner {
    gap: 10px;
  }

  .btn-small {
    padding: 7px 14px;
    font-size: 0.8rem;
  }
}   */


/* ================= NAVBAR: MOBILE MENU ================= */

/* হ্যামবার্গার বাটন: ডেস্কটপে লুকানো */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  margin-left: auto;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* খোলা অবস্থায় তিন দাগ "X" হবে */
.menu-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .nav-inner {
    position: relative;
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: flex;
  }

  /* মেনু ডিফল্টে লুকানো, নিচে নামবে */
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 0;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.4);
    z-index: 100;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    display: block;
    padding: 14px 24px;
    font-size: 1rem;
    border-bottom: 1px solid var(--border);
  }

  .nav-links a:last-child {
    border-bottom: none;
  }

  /* Let's Talk বাটন মেনুর ভেতরে পূর্ণ প্রস্থে */
  .nav-links a.nav-cta {
    margin: 16px 24px 6px;
    text-align: center;
    border-bottom: none;
  }
}

@media (max-width: 480px) {
  .nav-links a {
    padding: 13px 20px;
  }

  .nav-links a.nav-cta {
    margin: 14px 20px 6px;
  }
}



/* ================= HERO SECTION ================= */
.hero{
    padding: 80px 0 0 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 40px;
}

.greeting {
  color: var(--text-muted);
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
}
.hero h1 span {
  color: var(--primary);
}
.role {
  color: var(--primary-light);
  font-size: 1.5rem;
  font-weight: 600;
  margin: 10px 0 16px;
}
.desc {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.stats {
  display: flex;
  gap: 40px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 30px;
  margin-top: 20px;
  padding: 20px;
}

.stats h3 {
  font-size: 1.8rem;
  font-weight: 700;
}

.stats p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ছবি ও ব্যাকগ্রাউন্ড ব্লব */
.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
}
.blob {
  position: absolute;
  width: 90%;
  height: 90%;
  top: 5%;
  background: linear-gradient(135deg, var(--primary), #4c1d95);
  border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
  opacity: 0.85;
}
.hero-image img {
  position: relative;
  z-index: 1;
  width: 90%;
  max-width: 500px;
  border-radius: 20px;
}


/* ================= SECTION COMMON ================= */
.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 50px;
}

.section-title span {
  color: var(--primary);
}

/* ডেস্কটপ-এর জন্য হিরো যেমন আছে তেমনই থাকবে */

/* ল্যাপটপ */
@media (max-width: 1024px) {
  .hero {
    padding: 60px 0;
  }

  .hero-inner {
    gap: 30px;
  }

  .hero h1 {
    font-size: 3rem;
  }
}

/* ট্যাবলেট */
@media (max-width: 768px) {
  .hero {
    padding: 50px 0;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .desc {
    margin-inline: auto;
  }

  .hero-buttons,
  .stats {
    justify-content: center;
  }

  .stats {
    gap: 20px;
    margin-top: 35px;
  }

  .hero-image {
    order: -1;
  }

  .blob {
    width: 80%;
    height: 80%;
  }
}

/* মোবাইল */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.1rem;
  }

  .role {
    font-size: 1.2rem;
  }

  .stats {
    flex-wrap: wrap;
    gap: 16px;
  }

  .stats h3 {
    font-size: 1.4rem;
  }

  .hero-buttons .btn {
    width: 100%;
    text-align: center;
  }
}




/* ================= ABOUT SECTION (3 Column) ================= */
.about {
  padding-bottom: 40px 0;
}

.about-card {
  display: grid;
  grid-template-columns: 170px 1fr 350px;
  align-items: center;
  gap: 30px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 30px;
  background: #0d1424;
  border: 1px solid var(--border);
  border-radius: 14px;
}


/* কলাম ১: ছবি */
.about-photo img {
  width: 130px;
  height: 130px;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid var(--primary);
  margin: 0 auto;
}

/* কলাম ২: শিরোনাম ও বর্ণনা */
.about-title {
  position: relative;
  font-size: 1.5rem;
  font-weight: 600;
  padding-bottom: 10px;
  margin-bottom: 12px;
}

.about-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background: var(--primary);
  border-radius: 3px;
}

.about-desc {
  font-size: 1.0rem;
  line-height: 1.7;
  color: var(--text-muted);
}

/* কলাম ৩: তথ্যের তালিকা */
.about-info {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-left: 24px;
  border-left: 1px solid var(--border);
}

.about-info li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.0rem;
  color: var(--text-muted);
}

.about-info .icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--primary-light);
}

.about-info .icon svg {
  width: 16px;
  height: 16px;
}

/* ল্যাপটপ */
@media (max-width: 1024px) {
  .about-card {
    grid-template-columns: 150px 1fr 220px;
    gap: 22px;
  }
}

/* ট্যাবলেট */
@media (max-width: 768px) {
  .about-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 24px 20px;
  }

  .about-photo img {
    margin: 0 auto;
  }

  .about-title::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .about-info {
    border-left: none;
    border-top: 1px solid var(--border);
    padding-left: 0;
    padding-top: 20px;
    align-items: center;
  }

  .about-info li {
    justify-content: center;
  }
}

/* মোবাইল */
@media (max-width: 480px) {
  .about-photo img {
    width: 110px;
    height: 110px;
  }

  .about-desc {
    font-size: 0.85rem;
  }
}


/* ================= SKILLS SECTION ================= */
.skills {
  padding: 40px 0;
  /* border-top: 1px solid var(--border); */
}
.section-title{
    text-align: left;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 5px;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100px;
  height: 3px;
  background: var(--primary);
  border-radius: 3px;
}
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
}
.skill-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 20px;
  text-align: center;
  transition: transform 0.3s, border-color 0.3s;
}

.skill-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
}

.skill-card img {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
}

.skill-card p {
  font-weight: 500;
  color: var(--text-muted);
}

/* ল্যাপটপ */
@media (max-width: 1024px) {
  .skills-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ট্যাবলেট */
@media (max-width: 768px) {
  .skills {
    padding: 70px 0;
  }

  .skills-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

/* মোবাইল */
@media (max-width: 480px) {
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .skill-card {
    padding: 22px 12px;
  }
}


/* ================= PROJECTS SECTION ================= */
.projects {
  padding: 20px 0 50px 0;
}

.projects-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 5px;
}
.projects-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100px;
  height: 3px;
  background: var(--primary);
  border-radius: 3px;
}

.projects-title span {
  color: var(--primary);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

/* কার্ডের কাঠামো */
.project-card {
  background: #0d1424;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
}

/* উপরের বেগুনি অংশ */
.project-visual {
  padding: 22px 20px 0;
  background: linear-gradient(160deg, #7c3aed 0%, #3b1e74 100%);
}

/* ব্রাউজার উইন্ডো */
.browser {
  background: #f4f4f8;
  border-radius: 8px 8px 0 0;
  overflow: hidden;
}

.browser-bar {
  display: flex;
  gap: 5px;
  padding: 7px 10px;
  background: #e2e2ea;
}

.browser-bar span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #b4b4c0;
}

.browser img {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: cover;
  object-position: top;
  transition: transform 0.4s;
}

.project-card:hover .browser img {
  transform: scale(1.04);
}

/* নিচের গাঢ় অংশ */
.project-body {
  padding: 18px 20px 20px;
}

.project-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.project-body p {
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* লিংক */
.project-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 500;
}

.project-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.3s;
}

.project-links svg {
  width: 15px;
  height: 15px;
}

.link-demo {
  color: var(--primary-light);
}

.link-code {
  color: var(--text-muted);
}

.project-links a:hover {
  color: var(--text);
}


/* ল্যাপটপ */
@media (max-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ট্যাবলেট */
@media (max-width: 768px) {
  .projects {
    padding: 70px 0;
  }

  .projects-title {
    font-size: 1.7rem;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }
}

/* মোবাইল */
@media (max-width: 480px) {
  .project-body {
    padding: 18px 16px;
  }

  .project-body h3 {
    font-size: 1rem;
  }

  .project-links {
    flex-wrap: wrap;
    gap: 8px;
  }
}

/* ================= EXPERIENCE SECTION ================= */
.experience {
  padding: 20px 0 30px 0;
}

.experience-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 50px;
  position: relative;
  padding-bottom: 5px;
}
.experience-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100px;
  height: 3px;
  background: var(--primary);
  border-radius: 3px;
}
.experience-title span {
  color: var(--primary);
}

.experience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr  1.4fr;
  gap: 60px;
  align-items: start;
}

/* টাইমলাইনের উল্লম্ব রেখা */
.timeline {
  list-style: none;
  position: relative;
  padding-left: 30px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--border);
}

.timeline-item {
  position: relative;
  padding-bottom: 40px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

/* প্রতিটি আইটেমের বিন্দু */
.timeline-item::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--primary);
  box-sizing: border-box;
}

/* বর্তমান কাজের বিন্দু ভরাট ও আলোকিত */
.timeline-item.current::before {
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.25);
}

.job-period {
  display: inline-block;
  padding: 4px 12px;
  margin-bottom: 10px;
  font-size: 0.75rem;
  border-radius: 20px;
  background: rgba(124, 58, 237, 0.15);
  color: var(--primary-light);
}

.timeline-item h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.job-company {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.experience-summary {
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.experience-summary p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-muted);
}
/* ল্যাপটপ */
@media (max-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ট্যাবলেট */
@media (max-width: 768px) {
  .projects {
    padding: 70px 0;
  }

  .projects-title {
    font-size: 1.7rem;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }
}

/* মোবাইল */
@media (max-width: 480px) {
  .project-body {
    padding: 18px 16px;
  }

  .project-body h3 {
    font-size: 1rem;
  }

  .project-links {
    flex-wrap: wrap;
    gap: 8px;
  }
}

/* ================= HOME BLOG SECTION (Feature Image) ================= */
.home-blog {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}

.home-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

/* কার্ডের কাঠামো */
.home-blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
}

.home-blog-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
}

/* ফিচার ইমেজের বক্স (লিংক) */
.home-blog-thumb {
  display: block;
  width: 100%;
  height: 180px;
  overflow: hidden;
}

/* ছবি বক্সের মাপে কেটে ভরবে */
.home-blog-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

/* হোভারে ছবি সামান্য বড় হবে */
.home-blog-card:hover .home-blog-thumb img {
  transform: scale(1.05);
}

/* কার্ডের নিচের লেখা অংশ */
.home-blog-body {
  padding: 22px;
}

.home-blog-body h3 {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 12px;
}

.home-blog-body h3 a:hover {
  color: var(--primary-light);
}

/* তারিখ ও ক্যাটাগরির সারি */
.blog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.category {
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(124, 58, 237, 0.15);
  color: var(--primary-light);
  font-weight: 500;
}

.read-more {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--primary-light);
  transition: color 0.3s;
}

.read-more:hover {
  color: var(--text);
}

/* "View all posts" বাটনের নিচের অংশ */
.home-blog-more {
  text-align: center;
  margin-top: 50px;
}


/* ল্যাপটপ */
@media (max-width: 1024px) {
  .home-blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ট্যাবলেট ও মোবাইল */
@media (max-width: 768px) {
  .home-blog {
    padding: 70px 0;
  }

  .home-blog-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }

  .home-blog-thumb {
    height: 180px;
  }
}

/* মোবাইল */
@media (max-width: 480px) {
  .home-blog-thumb {
    height: 160px;
  }

  .home-blog-body h3 {
    font-size: 1rem;
  }
}
/* ================= CONTACT SECTION ================= */
.contact {
  padding: 0 0 50px 0;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: start;
  border: 1px solid var(--border);
  padding: 30px;
  border-radius: 10px;

}

/* বাম কলাম */
.contact-title {
  position: relative;
  font-size: 2rem;
  font-weight: 700;
  padding-bottom: 14px;
  margin-bottom: 20px;
}

.contact-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background: var(--primary);
  border-radius: 3px;
}

.contact-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 30px;
  max-width: 380px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all 0.3s;
}

.social-icon:hover {
  border-color: var(--primary);
  color: var(--text);
  background: rgba(124, 58, 237, 0.15);
}

/* ডান কলাম: ফর্ম */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 30px;
  background: #0d1424;
  border: 1px solid var(--border);
  border-radius: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-muted);
}

/* ফোকাস করলে বেগুনি border */
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.2);
}

.contact-form textarea {
  resize: vertical;
  min-height: 130px;
}

.form-submit {
  display: flex;
  justify-content: flex-end;
}

.form-submit .btn {
  cursor: pointer;
  border: none;
}

/* ল্যাপটপ */
@media (max-width: 1024px) {
  .contact-inner {
    gap: 40px;
  }
}

/* ট্যাবলেট */
@media (max-width: 768px) {
  .contact {
    padding: 70px 0;
  }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 22px;
  }
}

/* মোবাইল */
@media (max-width: 480px) {
  .contact-title {
    font-size: 1.7rem;
  }

  .form-submit .btn {
    width: 100%;
  }
}

/* ================= FOOTER ================= */
.footer {
  padding: 80px 0 0;
  background: #0d1424;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding-bottom: 50px;
}

.footer-logo {
  display: inline-flex;
  margin-bottom: 18px;
}

.footer-heading {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.footer-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 8px;
}

.footer-col .social-links {
  margin-top: 18px;
}

/* লিংকের তালিকা */
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--primary-light);
}

/* নিউজলেটার ফর্ম */
.newsletter-form {
  display: flex;
  gap: 8px;
}

.newsletter-form input {
  flex: 1;
  min-width: 0;
  padding: 10px 14px;
  font-family: inherit;
  font-size: 0.85rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 30px;
  outline: none;
  transition: border-color 0.3s;
}

.newsletter-form input::placeholder {
  color: var(--text-muted);
}

.newsletter-form input:focus {
  border-color: var(--primary);
}

.newsletter-form .btn {
  cursor: pointer;
  border: none;
}

/* কপিরাইট লাইন */
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 22px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
}



/* ল্যাপটপ */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

/* ট্যাবলেট ও মোবাইল */
@media (max-width: 768px) {
  .footer {
    padding: 60px 0 0;
  }
}

/* মোবাইল */
@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom p {
    font-size: 0.75rem;
  }
}

/* ================= ABOUT PAGE ================= */
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 12px;
}

/* ---------- PAGE HERO ---------- */
.page-hero {
  padding: 90px 0 60px;
  text-align: center;
  background: radial-gradient(ellipse at top, rgba(124, 58, 237, 0.18), transparent 60%);
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
}

.page-hero h1 span,
.section-head h2 span,
.about-text h2 span,
.skill-bars h2 span,
.cta-box h2 span {
  color: var(--primary);
}

.page-hero-desc {
  color: var(--text-muted);
  margin-top: 10px;
}

/* ---------- INTRO ---------- */
.about-intro {
  padding: 100px 0;
}

.about-intro-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 70px;
}

.photo-wrap {
  position: relative;
  max-width: 420px;
}

.photo-frame {
  position: relative;
  padding: 10px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--primary), #4c1d95);
}

.photo-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 18px;
}

.photo-badge {
  position: absolute;
  right: -20px;
  bottom: 30px;
  padding: 16px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  text-align: center;
}

.photo-badge strong {
  display: block;
  font-size: 1.6rem;
  color: var(--primary-light);
}

.photo-badge span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.about-text h2 {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.2;
}

.role {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary-light);
  margin: 10px 0 20px;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 16px;
}

.info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 24px 0 30px;
}

.info-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
}

.info-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.about-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- STATS ---------- */
.stats-row {
  padding: 0 0 100px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-card {
  padding: 32px 20px;
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.3s, border-color 0.3s;
}

.stat-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
}

.stat-card h3 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-light);
}

.stat-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ---------- WHAT I DO ---------- */
.what-i-do {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}

.section-head {
  text-align: center;
  margin-bottom: 50px;
}

.section-head h2,
.expertise h2 {
  font-size: 2.2rem;
  font-weight: 700;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.highlight-card {
  padding: 36px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: transform 0.3s, border-color 0.3s;
}

.highlight-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
}

.highlight-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border-radius: 14px;
  background: rgba(124, 58, 237, 0.15);
  color: var(--primary-light);
}

.highlight-icon svg {
  width: 26px;
  height: 26px;
}

.highlight-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.highlight-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ---------- EXPERTISE ---------- */
.expertise {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}

.expertise-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 70px;
}

.expertise-image img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid var(--border);
}

.skill-row {
  margin-bottom: 22px;
}

.skill-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 8px;
}

.skill-label span:last-child {
  color: var(--primary-light);
}

.bar {
  height: 8px;
  background: var(--bg-card);
  border-radius: 10px;
  overflow: hidden;
}

.fill {
  width: var(--w);
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  border-radius: 10px;
}

/* ---------- CTA ---------- */
.cta {
  padding: 0 0 100px;
}

.cta-box {
  padding: 60px 40px;
  text-align: center;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.25), var(--bg-card));
  border: 1px solid var(--border);
  border-radius: 20px;
}

.cta-box h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.cta-box p {
  color: var(--text-muted);
  margin-bottom: 28px;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 992px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .page-hero {
    padding: 70px 0 40px;
  }

  .page-hero h1 {
    font-size: 2.1rem;
  }

  .about-intro,
  .what-i-do,
  .expertise {
    padding: 70px 0;
  }

  .about-intro-grid,
  .expertise-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .photo-wrap {
    margin: 0 auto;
  }

  .photo-badge {
    right: 10px;
  }

  .about-text h2,
  .section-head h2,
  .expertise h2 {
    font-size: 1.8rem;
  }

  .cta-box {
    padding: 40px 22px;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}























/* ================= 5. CONTACT PAGE ================= */

/* ---------- Contact Hero ---------- */
.contact-hero {
  padding-bottom: 50px;
}

/* ---------- Info Cards ---------- */
.contact-cards {
  padding: 60px 0 40px;
}

.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.info-card {
  display: block;
  padding: 28px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  transition: transform 0.3s, border-color 0.3s;
}

a.info-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
}

.info-card-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(124, 58, 237, 0.15);
  color: var(--primary-light);
}

.info-card-icon svg {
  width: 24px;
  height: 24px;
}

.info-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.info-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  word-break: break-word;
}

@media (max-width: 1024px) {
  .contact-cards-grid { gap: 18px; }
}

@media (max-width: 768px) {
  .contact-cards-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .contact-cards-grid { grid-template-columns: 1fr; }
}

/* ---------- Form + Side ---------- */
.contact-main {
  padding: 40px 0 100px;
}

.contact-main-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-form-card {
  padding: 40px;
  background: #0d1424;
  border: 1px solid var(--border);
  border-radius: 18px;
}

.contact-form-card h2 {
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.contact-form-card h2 span {
  color: var(--primary);
}

.form-intro {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.field label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
}

.contact-form-card input,
.contact-form-card select,
.contact-form-card textarea {
  width: 100%;
  padding: 13px 16px;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.contact-form-card select option {
  background: var(--bg-card);
}

.contact-form-card input::placeholder,
.contact-form-card textarea::placeholder {
  color: #64748b;
}

.contact-form-card input:focus,
.contact-form-card select:focus,
.contact-form-card textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.2);
}

.contact-form-card textarea {
  resize: vertical;
  min-height: 140px;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  cursor: pointer;
}

.checkbox input {
  margin-top: 3px;
  accent-color: var(--primary);
}

.submit-btn {
  width: 100%;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  padding: 15px;
}

/* Side */
.contact-side {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.side-card {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.side-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.side-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.side-card.highlight {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.25), var(--bg-card));
}

.badge {
  display: inline-block;
  padding: 5px 12px;
  margin-bottom: 14px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 20px;
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
}

.social-row {
  display: flex;
  gap: 12px;
}

.contact-side .social-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all 0.3s;
}

.contact-side .social-icon:hover {
  border-color: var(--primary);
  color: var(--text);
  background: rgba(124, 58, 237, 0.15);
}

@media (max-width: 1024px) {
  .contact-main-grid { gap: 30px; }
  .contact-form-card { padding: 32px; }
}

@media (max-width: 768px) {
  .contact-main-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form-card { padding: 26px 22px; }
}

@media (max-width: 480px) {
  .contact-form-card h2 { font-size: 1.6rem; }
}

/* ---------- Location ---------- */
.location {
  padding: 0 0 100px;
}

.map-box {
  position: relative;
  height: 260px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at 30% 40%, rgba(124, 58, 237, 0.2), transparent 45%),
    linear-gradient(135deg, #0d1424, #141a2e);
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-pin {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--primary-light);
  font-weight: 500;
}

.map-pin svg {
  width: 44px;
  height: 44px;
}

@media (max-width: 768px) {
  .map-box { height: 200px; }
}

/* ---------- FAQ ---------- */
.faq {
  padding: 0 0 100px;
}

.faq-inner {
  max-width: 820px;
}

.faq .section-head {
  text-align: center;
}

.faq-item {
  margin-bottom: 14px;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color 0.3s;
}

.faq-item[open] {
  border-color: var(--primary);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 500;
  font-size: 0.95rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--primary-light);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin-top: 14px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

@media (max-width: 480px) {
  .faq-item { padding: 16px 18px; }
}

/* ---------- Final CTA (Contact) ---------- */
.contact .cta-box,
.cta-box {
  margin: 0 auto;
}


/* ================= 6. SERVICES PAGE ================= */

/* ---------- Service Cards ---------- */
.services-list {
  padding: 80px 0 40px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.service-card {
  display: flex;
  flex-direction: column;
  padding: 34px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: transform 0.3s, border-color 0.3s;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
}

.service-icon {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border-radius: 14px;
  background: rgba(124, 58, 237, 0.15);
  color: var(--primary-light);
}

.service-icon svg {
  width: 26px;
  height: 26px;
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.service-card > p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 18px;
}

.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  flex-grow: 1;
}

.service-features li {
  position: relative;
  padding-left: 24px;
  font-size: 0.85rem;
  color: var(--text);
}

.service-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-light);
  font-weight: 700;
}

.service-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--primary-light);
  transition: color 0.3s;
}

.service-link:hover {
  color: var(--text);
}

@media (max-width: 1024px) {
  .services-grid { gap: 20px; }
  .service-card { padding: 28px 22px; }
}

@media (max-width: 768px) {
  .services-list { padding: 60px 0 30px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ---------- Process ---------- */
.process {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step {
  position: relative;
  padding: 30px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.step-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
}

.step h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.step p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .process-grid { gap: 18px; }
}

@media (max-width: 768px) {
  .process { padding: 70px 0; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .process-grid { grid-template-columns: 1fr; }
}

/* ---------- Pricing ---------- */
.pricing {
  padding: 0 0 100px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: stretch;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 36px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  transition: transform 0.3s, border-color 0.3s;
}

.price-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
}

.price-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.price {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.price strong {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text);
}

.price-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 12px 0 22px;
  line-height: 1.6;
}

.price-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
  flex-grow: 1;
}

.price-list li {
  position: relative;
  padding-left: 24px;
  font-size: 0.875rem;
}

.price-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-light);
  font-weight: 700;
}

.price-btn {
  text-align: center;
}

/* জনপ্রিয় প্যাকেজ আলাদা করা */
.price-card.popular {
  border: 2px solid var(--primary);
  background: linear-gradient(160deg, rgba(124, 58, 237, 0.2), var(--bg-card) 60%);
  transform: translateY(-10px);
}

.price-card.popular:hover {
  transform: translateY(-16px);
}

.popular-tag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 20px;
  background: var(--primary);
  color: #fff;
  white-space: nowrap;
}

@media (max-width: 1024px) {
  .pricing-grid { gap: 20px; }
  .price-card { padding: 30px 22px; }
}

@media (max-width: 768px) {
  .pricing { padding: 0 0 70px; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .price-card.popular { transform: none; }
  .price-card.popular:hover { transform: translateY(-6px); }
}



/* ================= 7. PROJECTS PAGE ================= */

/* ---------- Filter Buttons ---------- */
.project-filter-wrap {
  padding: 50px 0 10px;
}

.project-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.filter-btn {
  padding: 10px 22px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s;
}

.filter-btn:hover {
  color: var(--text);
  border-color: var(--primary);
}

.filter-btn.active {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
}

/* ---------- Client Project Grid ---------- */
.client-projects {
  padding: 50px 0 100px;
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.client-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s, opacity 0.3s;
}

.client-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
}

/* ছবির বড় বক্স: 1200×750 (16:10) অনুপাতে */
.client-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0d1424;
}

.client-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.5s;
}

.client-card:hover .client-thumb img {
  transform: scale(1.04);
}

/* ছবির উপরের ক্যাটাগরি ট্যাগ */
.client-type {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 20px;
  background: rgba(124, 58, 237, 0.9);
  color: #fff;
}

.client-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 26px 26px 24px;
}

.client-body h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.client-client {
  font-size: 0.8rem;
  color: var(--primary-light);
  margin-bottom: 12px;
}

.client-body > p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
}

.client-body .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.client-body .tags span {
  padding: 4px 12px;
  font-size: 0.75rem;
  border-radius: 20px;
  background: rgba(124, 58, 237, 0.15);
  color: var(--primary-light);
}

.client-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.client-links a {
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.3s;
}

.client-links .link-demo {
  color: var(--primary-light);
}

.client-links .link-code {
  color: var(--text-muted);
}

.client-links a:hover {
  color: var(--text);
}

/* ফিল্টারে লুকানো কার্ড */
.client-card.is-hidden {
  display: none;
}

@media (max-width: 1024px) {
  .client-grid { gap: 26px; }
  .client-body h3 { font-size: 1.15rem; }
}

@media (max-width: 768px) {
  .client-projects { padding: 40px 0 70px; }
  .client-grid { grid-template-columns: 1fr; max-width: 620px; margin: 0 auto; }
}

@media (max-width: 480px) {
  .client-body { padding: 22px 20px; }
  .client-links { flex-wrap: wrap; gap: 10px; }
  .filter-btn { padding: 8px 16px; font-size: 0.85rem; }
}

/* ================= 8. BLOG ARCHIVE SYSTEM ================= */

.archive {
  padding: 60px 0 100px;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.archive-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
}

.archive-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
}

/* ছবি: 16:9, বড় করে দেখানো */
.archive-thumb {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0d1424;
}

.archive-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.archive-card:hover .archive-thumb img {
  transform: scale(1.05);
}

.archive-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 22px 22px 24px;
}

.archive-body .blog-meta {
  margin-bottom: 12px;
}

.archive-body h3 {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 10px;
}

.archive-body h3 a:hover {
  color: var(--primary-light);
}

.archive-body p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
}

/* read-more সবসময় কার্ডের নিচে থাকবে */
.archive-body .read-more {
  margin-top: auto;
}

/* পোস্ট না পাওয়া গেলে */
.post-not-found {
  text-align: center;
  padding: 80px 0;
}

.post-not-found h1 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.post-not-found p {
  color: var(--text-muted);
  margin-bottom: 26px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .archive-grid { gap: 22px; }
}

@media (max-width: 768px) {
  .archive { padding: 40px 0 70px; }
  .archive-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .archive-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
  .archive-body { padding: 20px 18px; }
}

/* ================= 9. SINGLE POST DESIGN ================= */

/* ---------- Two-column layout ---------- */
.post-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 50px;
  align-items: start;
  padding-top: 40px;
}

.post-main {
  min-width: 0; /* লম্বা কোড বা টেবিল যেন কলাম ভেঙে না দেয় */
}

/* ---------- Cover image ---------- */
.post-cover {
  margin: 0 0 32px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #0d1424;
}

.post-cover img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* ---------- Title block ---------- */
.post-title-block {
  margin-bottom: 22px;
}

.post-title-block .category {
  display: inline-block;
  margin-bottom: 16px;
}

.post-title-block h1 {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 18px;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}

/* ---------- Lead (description) ---------- */
.post-lead {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text);
  padding: 4px 0 4px 20px;
  margin-bottom: 30px;
  border-left: 3px solid var(--primary);
}

/* ---------- Back link ---------- */
.post-layout .back-link {
  margin-bottom: 22px;
}

/* ---------- Sidebar ---------- */
.post-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 32px;
}

.side-widget {
  padding: 26px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.widget-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.widget-title span {
  color: var(--primary);
}

.widget-text {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
}

.btn-block {
  display: block;
  width: 100%;
  text-align: center;
}

/* সাইডবারের পোস্ট তালিকা */
.side-post {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  transition: color 0.3s;
}

.side-post + .side-post {
  border-top: 1px solid var(--border);
}

.side-post img {
  flex-shrink: 0;
  width: 78px;
  height: 56px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--border);
}

.side-post h4 {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 4px;
}

.side-post small {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.side-post:hover h4 {
  color: var(--primary-light);
}

/* ক্যাটাগরির তালিকা */
.cat-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cat-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  font-size: 0.875rem;
  border-radius: 10px;
  transition: background 0.3s;
}

.cat-list li:hover {
  background: rgba(124, 58, 237, 0.12);
}

.cat-list li span {
  font-size: 0.75rem;
  padding: 2px 10px;
  border-radius: 20px;
  background: rgba(124, 58, 237, 0.15);
  color: var(--primary-light);
}

/* CTA উইজেট */
.widget-cta {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.25), var(--bg-card));
}

.widget-cta h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .post-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 36px;
  }

  .post-title-block h1 {
    font-size: 2.1rem;
  }
}

@media (max-width: 768px) {
  .post-layout {
    grid-template-columns: 1fr;
    gap: 50px;
    padding-top: 20px;
  }

  .post-sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .post-sidebar .side-widget:first-child {
    grid-column: 1 / -1;
  }

  .post-title-block h1 {
    font-size: 1.8rem;
  }

  .post-lead {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .post-sidebar {
    grid-template-columns: 1fr;
  }

  .post-title-block h1 {
    font-size: 1.55rem;
  }

  .post-meta {
    gap: 8px 16px;
    font-size: 0.8rem;
  }

  .post-cover {
    border-radius: 12px;
  }
}



/* ================= NAVBAR: FORCE MOBILE TOGGLE ================= */
.navbar {
  position: relative;
  z-index: 1000;
}

@media (max-width: 768px) {
  .navbar .menu-toggle {
    display: flex;
  }

  .navbar .menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: #ffffff;
  }
}