@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: 46px;
  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: 35px;
}
.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: 17px;
  line-height: 1.35;
  margin: 10px 0 9px;
}
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  border: 0;
  border-radius: 0;
  overflow: visible;
  background: transparent;
}
.skills-grid div {
  min-height: 145px;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
  text-align: center;
}
.skills-grid i,
.skill-custom-icon,
.card .icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #edf5ff;
  color: var(--blue);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.skill-custom-icon {
  overflow: hidden;
}
.skill-custom-icon img {
  width: 26px;
  height: 26px;
  display: block;
  object-fit: contain;
}
.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: 7px;
  text-align: left;
}
.section-line-title::after {
  content: "";
  height: 1px;
  flex: 1;
  background: #dce5f1;
}
.section-line-title h2 {
  margin-bottom: 0;
  font-size: 16px;
  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: 14px;
  gap: 22px;
}
.section-head .section-line-title {
  flex: 1;
  margin-bottom: 0;
}
.section-head > .btn {
  gap: 6px;
  padding: 8px 13px;
  font-size: 12px;
  line-height: 1.2;
}
.section-head > .btn i {
  font-size: 10px;
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.project {
  display: block;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.project:hover {
  transform: translateY(-4px);
}
.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: 7px;
}
.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: 19px;
  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);
}
.project-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}
.project-gallery img {
  width: 100%;
  height: 220px;
  display: block;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line);
}
.project-info-list {
  display: grid;
  gap: 12px;
}
.project-info-list p {
  margin: 0;
  display: grid;
  gap: 4px;
}
.project-info-list span {
  color: var(--text);
  font-size: 13px;
}
.project-info-list strong {
  color: #061228;
}
.project-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.project-chip-list span {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid #dce5f1;
  border-radius: 999px;
  color: #1f2937;
  font-size: 13px;
  font-weight: 700;
}
.page-hero {
  padding: 22px 0 14px;
  border-bottom: 0;
}
.page-hero .container {
  position: relative;
  padding-bottom: 14px;
}
.page-hero .container::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: #edf2fa;
}
.page-hero h1 {
  margin: 10px 0 0;
  color: #061228;
  font-size: 25px;
  line-height: 1.2;
}
.page-breadcrumb {
  margin-bottom: 24px;
}
.page-hero .eyebrow {
  display: block;
}
.page-hero + .section {
  padding-top: 13px;
}
.page-hero + .section .cards {
  margin-top: 0;
}
.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: repeat(3, 1fr);
    gap: 16px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-photo {
    order: -1;
    min-height: 0;
    place-items: center;
  }
  .hero-text {
    order: 1;
  }
  .hero-photo img {
    width: min(100%, 500px);
    height: auto;
    min-height: 0;
  }
  .cta {
    border-left: 0;
    padding: 30px;
  }
}
@media (max-width: 560px) {
  .section {
    padding: 28px 0;
  }
  .section h2,
  .about h2,
  .section-line-title h2,
  .blog-section-head h2 {
    font-size: 16px;
  }
  .hero {
    padding: 14px 0 36px;
  }
  .services-section,
  .portfolio-section {
    padding-top: 22px;
  }
  .hero-actions,
  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .hero-actions {
    width: 100%;
    flex-direction: row;
    gap: 10px;
  }
  .hero-actions .btn {
    flex: 1;
    justify-content: center;
    padding: 13px 10px;
    font-size: 14px;
    white-space: nowrap;
  }
  .section-head .section-line-title {
    width: 100%;
  }
  .section-head > .btn {
    padding: 7px 10px;
    font-size: 10px;
  }
  .cards,
  .portfolio-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .skills-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }
  .skills-grid div {
    min-height: 118px;
    padding: 16px 10px;
  }
  .skills-grid i,
  .skill-custom-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 14px;
  }
  .skill-custom-icon img {
    width: 22px;
    height: 22px;
  }
  .skills-grid b {
    font-size: 14px;
    line-height: 1.2;
  }
  .skills-grid span {
    font-size: 12px;
  }
  .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: 15px;
  }
  .page-hero h1 {
    font-size: 19px;
  }
  .page-hero {
    padding-bottom: 6px;
  }
  .page-hero .container {
    padding-bottom: 6px;
  }
  .page-hero + .section {
    padding-top: 13px;
  }
  .page-breadcrumb {
    width: 100%;
  }
  .blog-read-meta,
  .blog-read-breadcrumb {
    align-items: flex-start;
    flex-direction: column;
  }
  .blog-read-sidebar {
    grid-template-columns: 1fr;
  }
  .project-gallery {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 34px;
  }
  .hero h1 span {
    font-size: 24px;
  }
  .hero h1 em {
    font-size: 19px;
  }
  .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);
}

/* Dark frontend theme, matched to tareq-aziz-portfolio.html */
:root {
  --blue: #f5b451;
  --dark: #f4f6f8;
  --text: #a5afbf;
  --line: rgba(244, 246, 248, 0.11);
  --soft: #0b1018;
  --white: #121924;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.34);
  --bg-dark: #070a0f;
  --bg-panel: #0f141d;
  --surface: #121924;
  --surface-hover: #151d29;
  --accent-teal: #42d9c8;
}

body {
  color: var(--dark);
  background:
    linear-gradient(180deg, #070a0f 0%, #0a0f17 46%, #070a0f 100%);
}

h1,
h2,
h3,
h4 {
  letter-spacing: 0;
}

.header {
  background: rgba(7, 10, 15, 0.88);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.24);
}

.logo,
.footer .logo,
.nav a,
.card h3,
.project h3,
.testimonial b,
.front-blog-content h3,
.blog-read-body h1,
.blog-latest-list strong,
.page-hero h1,
.service-detail-card h2,
.service-detail-side h2,
.contact-info-panel b,
.project-info-list strong,
.blog-category-grid a,
.blog-category-grid i {
  color: var(--dark);
}

.logo span,
.icon-box,
.skills-grid i,
.skill-custom-icon,
.card .icon,
.service-detail-card .icon,
.contact-info-panel i {
  background: rgba(66, 217, 200, 0.08);
  color: var(--accent-teal);
  border: 1px solid rgba(66, 217, 200, 0.22);
}

.nav a:hover,
.nav a.active,
.eyebrow,
.card a,
.quote,
.blog-section-head a,
.blog-read-author a,
.blog-latest-list small,
.blog-side-categories a:hover,
.service-detail-side a:hover,
.service-detail-side a.active {
  color: var(--blue);
}

.btn {
  background: var(--blue);
  color: var(--bg-dark);
  box-shadow: 0 8px 26px rgba(245, 180, 81, 0.34);
}

.btn.small {
  color: var(--bg-dark);
}

.btn.outline {
  background: transparent;
  color: var(--dark);
  border-color: var(--line);
}

.btn.outline:hover,
.btn:hover {
  transform: translateY(-2px);
}

.menu-btn {
  background: var(--blue);
  color: var(--bg-dark);
}

.header .logo {
  gap: 0;
  font-size: 1.2em;
}

.header .logo span {
  display: none;
}

.header .menu-btn {
  background: transparent;
  color: #fff;
  box-shadow: none;
}

.section-soft,
.blog-section,
.blog-read-page {
  background: var(--bg-dark);
}

.hero {
  background:
    radial-gradient(circle at 77% 42%, rgba(66, 217, 200, 0.12) 0%, rgba(66, 217, 200, 0.05) 24%, transparent 46%),
    linear-gradient(180deg, #070a0f 0%, #0a0f17 100%);
}

.hero h1 {
  letter-spacing: 0;
}

.hero h1 span {
  color: var(--blue);
}

.hero p,
.about p,
.card p,
.cta p,
.footer p,
.project p,
.skills-grid span,
.client span,
.front-blog-content p,
.blog-read-author,
.blog-read-meta,
.blog-read-content p,
.blog-summary-box,
.service-detail-lead,
.service-detail-content p,
.contact-info-panel p,
.contact-info-panel span,
.project-info-list span,
.copyright,
.small {
  color: var(--text);
}

.badge {
  background: rgba(66, 217, 200, 0.07);
  border: 1px solid rgba(66, 217, 200, 0.34);
  color: var(--accent-teal);
}

.social a {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
}

.social a:hover {
  color: var(--accent-teal);
  border-color: rgba(66, 217, 200, 0.38);
}

.skills-grid div,
.card,
.project,
.testimonial,
.front-blog-card,
.blog-read-body,
.blog-side-card,
.service-detail-card,
.service-detail-side,
.contact-info-panel,
.contact-form-panel,
.blog-category-grid a {
  background: var(--surface);
  border-color: var(--line);
  box-shadow: var(--shadow);
}

.card:hover,
.skills-grid div:hover,
.project:hover,
.front-blog-card:hover,
.blog-category-grid a:hover {
  background: var(--surface-hover);
  border-color: rgba(245, 180, 81, 0.42);
}

.skills-grid div,
.front-blog-meta,
.blog-side-card h2,
.blog-latest-list a,
.blog-read-meta,
.service-detail-side h2,
.copyright {
  border-color: var(--line);
}

.section-line-title::after {
  background: var(--line);
}

.project i {
  color: var(--accent-teal);
}

.front-blog-image,
.blog-summary-box {
  background: var(--bg-panel);
}

.front-blog-image span {
  background: rgba(7, 10, 15, 0.72);
  color: var(--dark);
}

.blog-breadcrumb,
.blog-read-breadcrumb,
.page-breadcrumb {
  background: var(--surface);
  border-color: var(--line);
  color: var(--dark);
}

.blog-breadcrumb span,
.blog-breadcrumb b,
.blog-read-breadcrumb span,
.blog-read-breadcrumb b,
.page-breadcrumb span,
.page-breadcrumb b {
  color: var(--text);
}

.blog-empty {
  border-color: var(--line);
  color: var(--text);
}

.page-hero {
  background: var(--bg-dark);
}

.page-hero .container::after {
  background: var(--line);
}

.blog-side-categories a,
.service-detail-side a,
.project-chip-list span,
.contact-info-panel div,
.contact-form input,
.contact-form textarea {
  background: var(--bg-panel);
  border-color: var(--line);
  color: var(--dark);
}

.project-gallery img {
  border-color: var(--line);
}

.blog-section-head h2::before {
  background: var(--blue);
}

.blog-category-grid a:hover i {
  color: var(--blue);
}

.blog-side-categories a:hover,
.service-detail-side a:hover,
.service-detail-side a.active {
  background: rgba(245, 180, 81, 0.08);
  border-color: rgba(245, 180, 81, 0.42);
}

.cta {
  background:
    radial-gradient(circle at right bottom, rgba(66, 217, 200, 0.12), transparent 42%),
    var(--surface);
  border-left-color: var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.footer {
  border-top-color: var(--line);
  background: var(--bg-dark);
}

.footer a {
  color: var(--text);
}

.footer a:hover {
  color: var(--accent-teal);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #748092;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(66, 217, 200, 0.35);
  outline-offset: 2px;
  border-color: rgba(66, 217, 200, 0.5);
}

.sent {
  background: rgba(66, 217, 200, 0.12);
  color: var(--accent-teal);
  border: 1px solid rgba(66, 217, 200, 0.3);
}

@media (max-width: 900px) {
  .nav {
    background: var(--surface);
    border-color: var(--line);
  }
}
