@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+Bengali:wght@400;500;600;700;800&display=swap");

:root {
  --blue: #1f73f1;
  --dark: #12192c;
  --text: #667085;
  --line: #e9eef7;
  --soft: #f7fbff;
  --white: #fff;
  --shadow: 0 20px 50px rgba(22, 54, 100, 0.08);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family:
    "Noto Sans Bengali",
    Inter,
    Segoe UI,
    Arial,
    sans-serif;
  color: var(--dark);
  background: #fff;
}
a {
  text-decoration: none;
  color: inherit;
}
.container {
  width: min(1250px, 92%);
  margin: auto;
}
.header {
  position: sticky;
  top: 0;
  z-index: 99;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #edf2fa;
}
.nav-wrap {
  height: 78px;
  display: flex;
  align-items: center;
  gap: 30px;
}
.logo {
  font-weight: 800;
  letter-spacing: 0.4px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo span,
.icon-box {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #eaf3ff;
  color: var(--blue);
  display: grid;
  place-items: center;
}
.nav {
  margin-left: auto;
  display: flex;
  gap: 34px;
  font-size: 14px;
  font-weight: 700;
}
.nav a {
  color: #2f3a4f;
  font-weight: 700;
  text-transform: uppercase;
}
.nav a:hover {
  color: var(--blue);
}
.nav a.active {
  color: var(--blue);
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 25px;
  background: var(--blue);
  color: white;
  border-radius: 8px;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(31, 115, 241, 0.22);
}
.btn.small {
  padding: 13px 22px;
  font-weight: 700;
}
.btn.outline {
  background: white;
  color: var(--blue);
  border: 1px solid #b9d3fb;
  box-shadow: none;
}
.menu-btn {
  display: none;
  border: 0;
  background: var(--blue);
  color: #fff;
  border-radius: 8px;
  padding: 10px 12px;
}
.section {
  padding: 80px 0;
}
.section-soft {
  background: linear-gradient(180deg, #fbfdff, #f7fbff);
}
.hero {
  position: relative;
  padding: 19px 0 72px;
  background:
    radial-gradient(circle at 77% 46%, rgba(31, 115, 241, 0.1) 0%, rgba(31, 115, 241, 0.05) 24%, transparent 44%),
    linear-gradient(180deg, #fbfdff 0%, #f5faff 100%);
  overflow: hidden;
}
.hero-grid,
.about-grid,
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 70px;
}
.hero-grid {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
}
.hero-text {
  min-width: 0;
}
.badge {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  background: #edf5ff;
  color: var(--blue);
  padding: 9px 14px;
  border-radius: 7px;
  font-weight: 700;
  font-size: 14px;
}
.hero h1 {
  font-size: 58px;
  line-height: 1.15;
  margin: 24px 0 18px;
  letter-spacing: -2px;
}
.hero h1 span {
  color: var(--blue);
}
.hero h1 em {
  font-style: normal;
  font-size: 44px;
}
.hero p,
.about p,
.card p,
.cta p,
.footer p {
  color: var(--text);
  line-height: 1.8;
}
.hero-actions {
  display: flex;
  gap: 18px;
  margin: 30px 0;
}
.social {
  display: flex;
  gap: 16px;
}
.social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: white;
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  color: #26415f;
}
.hero-photo {
  position: relative;
  min-width: 0;
  min-height: 0;
  display: grid;
  place-items: center end;
}
.hero-photo img {
  width: 100%;
  max-width: 560px;
  height: auto;
  max-height: 540px;
  display: block;
  object-fit: contain;
  object-position: center right;
  position: relative;
  z-index: 2;
}
.eyebrow {
  font-size: 13px;
  color: var(--blue);
  font-weight: 800;
  letter-spacing: 0.7px;
}
.section h2,
.about h2 {
  font-size: 34px;
  line-height: 1.35;
  margin: 10px 0 22px;
}
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.skills-grid div {
  min-height: 145px;
  padding: 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.skills-grid i,
.card .icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #edf5ff;
  color: var(--blue);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.skills-grid b,
.skills-grid span {
  display: block;
}
.skills-grid span {
  color: var(--text);
  font-size: 14px;
}
.center {
  text-align: center;
}
.section-line-title {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
  text-align: left;
}
.section-line-title::after {
  content: "";
  height: 1px;
  flex: 1;
  background: #dce5f1;
}
.section-line-title h2 {
  margin-bottom: 0;
  font-size: 31px;
  min-width: 0;
}
.section-line-title + .cards {
  margin-top: 0;
}
.services-section .section-line-title {
  margin-bottom: 9px;
}
.services-section {
  padding-top: 40px;
}
.portfolio-section {
  padding-top: 40px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 35px;
  text-align: left;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 34px;
  box-shadow: var(--shadow);
  transition: 0.25s;
}
.card:hover {
  transform: translateY(-6px);
}
.card h3 {
  margin: 0 0 12px;
}
.card a {
  color: var(--blue);
  font-weight: 700;
  font-size: 14px;
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 34px;
  gap: 22px;
}
.section-head .section-line-title {
  flex: 1;
  margin-bottom: 0;
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.project {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}
.project img {
  width: 100%;
  display: block;
  height: 180px;
  object-fit: cover;
}
.project div {
  padding: 18px;
  position: relative;
}
.project h3 {
  margin: 0 0 7px;
}
.project p {
  margin: 0;
  color: var(--text);
}
.project i {
  position: absolute;
  right: 18px;
  top: 22px;
}
.testimonial {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 35px;
  box-shadow: var(--shadow);
  margin-top: 28px;
}
.quote {
  font-size: 34px;
  color: var(--blue);
}
.client {
  display: flex;
  gap: 15px;
  align-items: center;
}
.client img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
}
.client span {
  display: block;
  color: var(--text);
  font-size: 13px;
}
.cta {
  min-height: 380px;
  padding: 50px;
  border-left: 1px solid var(--line);
  background: url("../images/desk.svg") right bottom/46% no-repeat;
}
.footer {
  border-top: 1px solid var(--line);
  padding-top: 55px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr 1.4fr;
  gap: 60px;
}
.footer a {
  display: block;
  color: #4b5870;
  margin: 11px 0;
}
.footer .social a {
  display: grid;
}
.copyright {
  border-top: 1px solid var(--line);
  padding: 20px 4%;
  color: #667085;
  font-size: 14px;
  margin-top: 35px;
}
.footer h4 {
  margin-top: 0;
}
.footer .logo {
  color: var(--dark);
}
.blog-section {
  background: #fff;
  padding-top: 22px;
}
.blog-breadcrumb,
.blog-read-breadcrumb,
.page-breadcrumb {
  min-height: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin-bottom: 16px;
  padding: 0 14px;
  border: 1px solid #d9e3f0;
  border-radius: 8px;
  background: #fff;
  color: #334155;
  font-size: 14px;
}
.blog-breadcrumb span,
.blog-breadcrumb b,
.blog-read-breadcrumb span,
.blog-read-breadcrumb b,
.page-breadcrumb span,
.page-breadcrumb b {
  color: #94a3b8;
  font-weight: 500;
}
.blog-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.blog-section-head h2 {
  position: relative;
  margin: 0;
  padding-left: 14px;
  font-size: 24px;
  line-height: 1.25;
}
.blog-section-head h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 5px;
  border-radius: 999px;
  background: #ff234d;
}
.blog-section-head a {
  color: #ff0026;
  font-size: 13px;
  font-weight: 800;
}
.blog-category-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 30px;
}
.blog-category-grid a {
  min-height: 138px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 18px;
  padding: 20px 12px;
  border: 1px solid #dce5f1;
  border-radius: 10px;
  background: #fff;
  color: #111827;
  font-weight: 400;
  text-align: center;
}
.blog-category-grid i {
  font-size: 27px;
  font-weight: 400;
  color: #111827;
}
.front-blog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}
.front-blog-title {
  margin-bottom: 26px;
}
.front-blog-card {
  display: block;
  overflow: hidden;
  border: 1px solid #dce5f1;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.05);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}
.front-blog-card:hover {
  border-color: #b9d3fb;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.09);
  transform: translateY(-3px);
}
.front-blog-image {
  position: relative;
  height: 170px;
  overflow: hidden;
  background: #f3f7fb;
}
.front-blog-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.front-blog-image span {
  position: absolute;
  left: 24px;
  bottom: 22px;
  max-width: calc(100% - 48px);
  padding: 7px 18px;
  border-radius: 999px;
  background: rgba(89, 89, 89, 0.54);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}
.front-blog-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 18px;
  border-bottom: 1px solid #e5edf6;
  color: #334155;
  font-size: 13px;
}
.front-blog-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.front-blog-content {
  padding: 18px;
}
.front-blog-content h3 {
  margin: 0 0 12px;
  color: #061228;
  font-size: 21px;
  line-height: 1.4;
}
.front-blog-content p {
  margin: 0 0 16px;
  color: #334155;
  font-size: 14px;
  line-height: 1.65;
}
.blog-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 24px;
  border: 1px dashed #dce5f1;
  border-radius: 10px;
  color: var(--text);
  text-align: center;
}
.blog-read-page {
  padding: 22px 0 70px;
  background: #fff;
}
.blog-read-layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(280px, 1fr);
  gap: 22px;
  align-items: start;
}
.blog-read-hero {
  width: 100%;
  height: 430px;
  display: block;
  object-fit: cover;
  border-radius: 14px 14px 0 0;
}
.blog-read-body {
  padding: 24px;
  border: 1px solid #dce5f1;
  border-top: 0;
  border-radius: 0 0 14px 14px;
  background: #fff;
}
.blog-read-body h1 {
  margin: 0 0 14px;
  color: #061228;
  font-size: 31px;
  line-height: 1.35;
}
.blog-read-author {
  margin: 0 0 24px;
  color: #334155;
  font-size: 14px;
}
.blog-read-author a {
  color: #ff0026;
  text-decoration: underline;
}
.blog-read-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid #dce5f1;
  border-bottom: 1px solid #dce5f1;
  color: #334155;
  font-size: 14px;
}
.blog-read-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.blog-summary-box {
  margin: 24px 0;
  padding: 22px 20px;
  border-radius: 14px;
  background: #f0f3f8;
  color: #061228;
}
.blog-read-content p {
  margin: 0 0 18px;
  color: #1f2937;
  font-size: 16px;
  line-height: 1.85;
}
.blog-read-sidebar {
  display: grid;
  gap: 20px;
  position: sticky;
  top: 96px;
  max-height: calc(100vh - 118px);
  overflow: auto;
  align-self: start;
  scrollbar-width: none;
}
.blog-read-sidebar::-webkit-scrollbar {
  display: none;
}
.blog-side-card {
  padding: 24px;
  border: 1px solid #dce5f1;
  border-radius: 16px;
  background: #fff;
}
.blog-side-card h2 {
  margin: 0 0 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid #dce5f1;
  font-size: 17px;
}
.blog-latest-list {
  display: grid;
}
.blog-latest-list a {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid #dce5f1;
}
.blog-latest-list a:last-child {
  border-bottom: 0;
}
.blog-latest-list img {
  width: 70px;
  height: 54px;
  object-fit: cover;
  border-radius: 8px;
}
.blog-latest-list strong,
.blog-latest-list small {
  display: block;
}
.blog-latest-list strong {
  overflow: hidden;
  color: #111827;
  font-size: 15px;
  line-height: 1.35;
  text-overflow: ellipsis;
}
.blog-latest-list small {
  margin-top: 5px;
  color: #ff0026;
  font-size: 14px;
}
.blog-side-categories {
  display: grid;
  gap: 9px;
}
.blog-side-categories a {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 12px;
  border: 1px solid #dce5f1;
  border-radius: 8px;
  color: #1f2937;
  font-size: 14px;
  font-weight: 700;
}
.blog-side-categories a:hover {
  border-color: #b9d3fb;
  color: var(--blue);
}
.page-hero {
  padding: 22px 0 34px;
  border-bottom: 1px solid #edf2fa;
}
.page-hero h1 {
  margin: 10px 0 0;
  color: #061228;
  font-size: 42px;
  line-height: 1.2;
}
.page-breadcrumb {
  margin-bottom: 24px;
}
.page-hero .eyebrow {
  display: block;
}
.contact-page-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: start;
}
.service-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
}
.service-detail-card,
.service-detail-side {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
}
.service-detail-card {
  padding: 34px;
}
.service-detail-card .icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #edf5ff;
  color: var(--blue);
  font-size: 20px;
  margin-bottom: 20px;
}
.service-detail-card h2,
.service-detail-side h2 {
  margin: 0 0 16px;
  color: #061228;
}
.service-detail-lead {
  margin: 0 0 24px;
  color: var(--text);
  font-size: 18px;
  line-height: 1.75;
}
.service-detail-content {
  margin-bottom: 26px;
}
.service-detail-content p {
  margin: 0 0 16px;
  color: #1f2937;
  font-size: 16px;
  line-height: 1.85;
}
.service-detail-side {
  display: grid;
  gap: 10px;
  padding: 22px;
}
.service-detail-side h2 {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  font-size: 18px;
}
.service-detail-side a {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 12px;
  border: 1px solid #dce5f1;
  border-radius: 8px;
  color: #1f2937;
  font-weight: 700;
}
.service-detail-side a:hover,
.service-detail-side a.active {
  border-color: #b9d3fb;
  background: #f7fbff;
  color: var(--blue);
}
.contact-info-panel,
.contact-form-panel {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
}
.contact-info-panel {
  display: grid;
  gap: 16px;
  padding: 32px;
}
.contact-info-panel p {
  margin: 0 0 8px;
  color: var(--text);
  line-height: 1.8;
}
.contact-info-panel div {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 4px 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid #e1e9f4;
  border-radius: 10px;
}
.contact-info-panel i {
  grid-row: span 2;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #edf5ff;
  color: var(--blue);
}
.contact-info-panel span {
  color: var(--text);
  font-size: 13px;
}
.contact-info-panel b {
  min-width: 0;
  color: #061228;
  word-break: break-word;
}
.contact-form-panel {
  padding: 32px;
}
@media (max-width: 900px) {
  .nav {
    display: none;
    position: absolute;
    top: 78px;
    left: 4%;
    right: 4%;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 20px;
    box-shadow: var(--shadow);
    flex-direction: column;
    gap: 14px;
  }
  .nav.active {
    display: flex;
  }
  .menu-btn {
    display: block;
    margin-left: auto;
  }
  .nav-wrap > .btn {
    display: none;
  }
  .hero-grid,
  .about-grid,
  .split {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .hero h1 {
    font-size: 40px;
  }
  .hero h1 em {
    font-size: 32px;
  }
  .cards,
  .portfolio-grid {
    grid-template-columns: 1fr 1fr;
  }
  .blog-category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .front-blog-grid {
    grid-template-columns: 1fr 1fr;
  }
  .blog-read-layout {
    grid-template-columns: 1fr;
  }
  .blog-read-sidebar {
    grid-template-columns: 1fr 1fr;
    position: static;
    max-height: none;
    overflow: visible;
  }
  .contact-page-grid {
    grid-template-columns: 1fr;
  }
  .service-detail-layout {
    grid-template-columns: 1fr;
  }
  .skills-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-photo {
    min-height: 0;
    place-items: center;
  }
  .hero-photo img {
    width: min(100%, 500px);
    height: auto;
    min-height: 0;
  }
  .cta {
    border-left: 0;
    padding: 30px;
  }
}
@media (max-width: 560px) {
  .section {
    padding: 55px 0;
  }
  .hero-actions,
  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .section-head .section-line-title {
    width: 100%;
  }
  .cards,
  .portfolio-grid,
  .skills-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .blog-section-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .blog-category-grid {
    grid-template-columns: 1fr 1fr;
  }
  .front-blog-grid {
    grid-template-columns: 1fr;
  }
  .front-blog-meta {
    align-items: flex-start;
    flex-direction: column;
  }
  .front-blog-content h3 {
    font-size: 21px;
  }
  .blog-read-hero {
    height: 260px;
  }
  .blog-read-body {
    padding: 20px;
  }
  .blog-read-body h1 {
    font-size: 25px;
  }
  .page-hero h1 {
    font-size: 32px;
  }
  .page-breadcrumb {
    width: 100%;
  }
  .blog-read-meta,
  .blog-read-breadcrumb {
    align-items: flex-start;
    flex-direction: column;
  }
  .blog-read-sidebar {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 34px;
  }
  .hero h1 em {
    font-size: 27px;
  }
  .hero-photo img {
    width: 100%;
    height: auto;
    min-height: 0;
  }
  .nav-wrap {
    height: 70px;
  }
  .nav {
    top: 70px;
  }
}
.contact-form {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 9px;
  font-family: inherit;
}
.contact-form textarea {
  min-height: 105px;
}
.contact-form button {
  border: 0;
  cursor: pointer;
}
.sent {
  background: #dcfce7;
  color: #166534;
  padding: 12px 14px;
  border-radius: 8px;
  margin: 12px 0;
}
.small {
  font-size: 13px;
  color: var(--text);
}
