/* Projects landing — Techzo why-choose-us structure, HDL palette */
body.purple-mode-projects {
  padding-top: 0 !important;
  background: #fff !important;
}

body.purple-mode-projects .hdl-content-wrap {
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
  width: 100% !important;
  box-shadow: none !important;
  border: 0 !important;
}

body.purple-mode-projects .site-header {
  background: transparent !important;
}

.prj-page {
  --prj-deep: #1c1230;
  --prj-mid: #45256e;
  --prj-bright: #5a368c;
  --prj-accent: #7e4db8;
  --prj-paper: #f6f3fa;
  --prj-text: #2a1b45;
  --prj-mute: #615275;
  --prj-line: rgba(90, 54, 140, 0.12);
  direction: rtl;
  font-family: 'ModamPro', Tahoma, sans-serif;
  color: var(--prj-text);
  background: #fff;
}

.prj-container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.prj-sub {
  display: inline-block;
  margin: 0 0 12px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--prj-bright);
  background: rgba(90, 54, 140, 0.08);
}

.prj-sub--light {
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.12);
}

.prj-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 10px;
  background: var(--prj-bright);
  color: #fff !important;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(90, 54, 140, 0.28);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.prj-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.prj-btn--light {
  background: #fff;
  color: var(--prj-deep) !important;
}

.prj-lead {
  margin: 0 0 22px;
  color: var(--prj-mute);
  line-height: 1.9;
  font-size: 1.02rem;
}

/* Breadcrumb */
.prj-breadcrumb {
  position: relative;
  padding: 120px 0 72px;
  color: #fff;
  background:
    radial-gradient(circle at 85% 20%, rgba(155, 127, 212, 0.35), transparent 42%),
    linear-gradient(135deg, #2a1b45 0%, #5a368c 48%, #1c1230 100%);
  overflow: hidden;
}

.prj-breadcrumb::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.2) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}

.prj-breadcrumb .prj-container {
  position: relative;
  z-index: 1;
}

.prj-breadcrumb h1 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
}

.prj-breadcrumb__nav {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.78);
}

.prj-breadcrumb__nav a {
  color: #fff;
  text-decoration: none;
}

.prj-breadcrumb__nav a:hover {
  text-decoration: underline;
}

/* About */
.prj-about {
  padding: 90px 0 70px;
}

.prj-about__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.prj-about__panel {
  position: relative;
  min-height: 420px;
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.18), transparent 40%),
    linear-gradient(160deg, #5a368c, #1c1230 70%);
  box-shadow: 0 30px 60px rgba(42, 27, 69, 0.22);
}

.prj-about__orb {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  right: -40px;
  bottom: -50px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.22), transparent 70%);
}

.prj-about__badge {
  position: absolute;
  left: 24px;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--prj-deep);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
}

.prj-about__badge strong {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--prj-bright);
}

.prj-about__badge span {
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.35;
}

.prj-about__mark {
  position: absolute;
  inset-inline-start: 28px;
  top: 36px;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.05;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.02em;
}

.prj-about__content h2 {
  margin: 0 0 16px;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  font-weight: 800;
  line-height: 1.35;
}

.prj-checklist {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 18px;
}

.prj-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 600;
  line-height: 1.55;
}

.prj-check {
  flex: 0 0 auto;
  color: var(--prj-accent);
  margin-top: 1px;
}

/* Counters */
.prj-counters {
  padding: 0 0 80px;
}

.prj-counters__row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.prj-counters__row article {
  padding: 28px 22px;
  border-radius: 18px;
  background: var(--prj-paper);
  border: 1px solid var(--prj-line);
  text-align: center;
}

.prj-counters__row h4 {
  margin: 0 0 12px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--prj-mute);
}

.prj-counters__row strong {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--prj-deep);
}

.prj-counters__row small {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--prj-bright);
}

/* Expertise */
.prj-expertise {
  padding: 80px 0;
  background: var(--prj-paper);
}

.prj-expertise__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.prj-expertise__frame {
  min-height: 380px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 70% 20%, rgba(255, 255, 255, 0.16), transparent 40%),
    linear-gradient(145deg, rgba(126, 77, 184, 0.35), transparent 45%),
    linear-gradient(135deg, #5a368c, #1c1230 72%);
  box-shadow: 0 24px 50px rgba(42, 27, 69, 0.16);
}

.prj-expertise__content h2 {
  margin: 0 0 14px;
  font-size: clamp(1.45rem, 2.8vw, 2.15rem);
  font-weight: 800;
  line-height: 1.35;
}

.prj-progress {
  display: grid;
  gap: 18px;
  margin-top: 8px;
}

.prj-progress__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.prj-progress__head h6 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
}

.prj-progress__head span {
  font-weight: 800;
  color: var(--prj-bright);
}

.prj-progress__track {
  height: 10px;
  border-radius: 999px;
  background: rgba(90, 54, 140, 0.12);
  overflow: hidden;
}

.prj-progress__bar {
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #7e4db8, #5a368c);
  transition: width 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Projects grid */
.prj-grid-sec {
  padding: 90px 0 70px;
}

.prj-grid-sec__head {
  text-align: center;
  margin-bottom: 42px;
}

.prj-grid-sec__head h2 {
  margin: 0 0 10px;
  font-size: clamp(1.55rem, 3vw, 2.3rem);
  font-weight: 800;
}

.prj-grid-sec__head p:last-child {
  margin: 0;
  color: var(--prj-mute);
}

.prj-empty {
  text-align: center;
  color: var(--prj-mute);
  padding: 40px 0;
}

.prj-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px 24px;
}

/* Techzo project card style */
.prj-card {
  position: relative;
  z-index: 1;
}

.prj-card::before {
  content: '';
  position: absolute;
  left: -1px;
  bottom: -1px;
  width: 78px;
  height: 78px;
  background: #fff;
  z-index: 1;
  border-radius: 0 15px 0 0;
}

.prj-card__thumb {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(135deg, #45256e, #1c1230);
}

.prj-card__thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: #1c1230;
  opacity: 0;
  transition: opacity 0.3s ease-out;
  pointer-events: none;
}

.prj-card:hover .prj-card__thumb::after {
  opacity: 0.9;
}

.prj-card__thumb a {
  display: block;
}

.prj-card__thumb img {
  display: block;
  width: 100%;
  height: 470px;
  object-fit: cover;
}

.prj-card__placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 470px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 2.4rem;
  font-weight: 800;
}

.prj-card__content {
  text-align: center;
  position: absolute;
  right: 20px;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease-out;
  margin-top: 40px;
  z-index: 2;
  pointer-events: none;
}

.prj-card:hover .prj-card__content {
  opacity: 1;
  visibility: visible;
  margin-top: 0;
  pointer-events: auto;
}

.prj-card__title {
  margin: 0 0 13px;
  font-weight: 700;
  font-size: clamp(1.05rem, 1.6vw, 1.55rem);
  line-height: 1.4;
  color: #fff;
}

.prj-card__title a {
  color: #fff !important;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.prj-card__content span {
  display: block;
  line-height: 1;
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
}

.prj-card__icon {
  position: relative;
  z-index: 2;
}

.prj-card__icon::before,
.prj-card__icon::after {
  content: '';
  position: absolute;
  background-color: transparent;
  bottom: 0;
  height: 40px;
  width: 20px;
  box-shadow: -1px 20px 0 0 #fff;
  left: 76px;
  border-bottom-left-radius: 20px;
  z-index: -2;
}

.prj-card__icon::before {
  top: -117px;
  bottom: auto;
  left: 0;
  z-index: -1;
  border-bottom-left-radius: 20px;
}

.prj-card__icon a {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border-radius: 12px;
  background: #f5f6f7;
  color: var(--prj-deep);
  transform: rotate(270deg);
  transition: background 0.25s ease, color 0.25s ease;
}

.prj-card__icon a:hover {
  background: var(--prj-bright);
  color: #fff;
}

/* CTA */
.prj-cta {
  padding: 0 0 80px;
}

.prj-cta__panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(28px, 4vw, 44px);
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(120deg, #45256e, #1c1230 70%);
  box-shadow: 0 24px 50px rgba(42, 27, 69, 0.18);
}

.prj-cta__panel h2 {
  margin: 0 0 10px;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 800;
}

.prj-cta__panel p:last-child {
  margin: 0;
  max-width: 520px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
}

@media (max-width: 991.98px) {
  .prj-about__grid,
  .prj-expertise__grid {
    grid-template-columns: 1fr;
  }

  .prj-checklist {
    grid-template-columns: 1fr;
  }

  .prj-counters__row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .prj-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .prj-card__thumb img,
  .prj-card__placeholder {
    height: 420px;
  }

  .prj-about__panel,
  .prj-expertise__frame {
    min-height: 300px;
  }
}

@media (max-width: 767.98px) {
  .prj-card__thumb img,
  .prj-card__placeholder {
    height: 400px;
  }
}

@media (max-width: 575.98px) {
  .prj-counters__row,
  .prj-grid {
    grid-template-columns: 1fr;
  }

  .prj-card__thumb img,
  .prj-card__placeholder {
    height: 380px;
  }

  .prj-cta__panel {
    flex-direction: column;
    align-items: flex-start;
  }
}
