/* ==========================================================================
   Kalmedia | Print Design Service Page — Production Stylesheet
   Design System: Royal Blue (#0D62B8), Sky Ambient, Clean Modern Typography
   ========================================================================== */

/* ── 1. Hero Section ── */
.pd-hero {
  position: relative;
  padding-top: calc(var(--header-h, 88px) + 2.5rem);
  padding-bottom: 4.5rem;
  background: #FFFFFF;
  overflow: hidden;
  max-width: 100vw;
  box-sizing: border-box;
}

.pd-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.pd-hero-bg-glow {
  position: absolute;
  top: -10%;
  inset-inline-end: -5%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle at center, rgba(20, 119, 214, 0.08) 0%, rgba(211, 233, 251, 0.25) 45%, transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
}

.pd-hero-bg-accent {
  position: absolute;
  bottom: -5%;
  inset-inline-start: -5%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle at center, rgba(56, 189, 248, 0.06) 0%, rgba(231, 243, 253, 0.2) 50%, transparent 75%);
  border-radius: 50%;
  filter: blur(50px);
}

.pd-hero-container {
  position: relative;
  z-index: 1;
}

.pd-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
}

.pd-hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: right;
}

.pd-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #EBF4FD;
  border: 1px solid #D1E5FA;
  border-radius: 999px;
  padding: 0.4rem 1.25rem;
  font-family: var(--font-display, 'Cairo', sans-serif);
  font-size: 0.88rem;
  font-weight: 700;
  color: #0D62B8;
  margin-bottom: 1.35rem;
  box-shadow: 0 2px 8px rgba(13, 98, 184, 0.06);
  animation: pdFadeDown 0.6s var(--ease, ease) forwards;
}

.pd-hero-title {
  font-family: var(--font-display, 'Cairo', sans-serif);
  font-size: clamp(2.1rem, 4.2vw, 3.25rem);
  font-weight: 800;
  line-height: 1.25;
  color: #0B2036;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
  word-wrap: break-word;
  animation: pdFadeUp 0.7s var(--ease, ease) 0.1s both;
}

.pd-hero-title .accent {
  color: #0D62B8;
  position: relative;
  display: inline-block;
}

.pd-hero-desc {
  font-family: var(--font-body, 'IBM Plex Sans Arabic', sans-serif);
  font-size: 1.08rem;
  line-height: 1.85;
  color: #3C5876;
  margin-bottom: 2rem;
  max-width: 560px;
  animation: pdFadeUp 0.7s var(--ease, ease) 0.2s both;
}

.pd-hero-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.25rem;
  animation: pdFadeUp 0.7s var(--ease, ease) 0.3s both;
}

.pd-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  background: #0D62B8;
  color: #FFFFFF !important;
  font-family: var(--font-display, 'Cairo', sans-serif);
  font-size: 1rem;
  font-weight: 700;
  padding: 0.85rem 1.85rem;
  border-radius: 999px;
  border: 2px solid #0D62B8;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(13, 98, 184, 0.25);
  transition: all 0.28s var(--ease, ease);
  cursor: pointer;
}

.pd-btn-primary:hover {
  background: #08498a;
  border-color: #08498a;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(13, 98, 184, 0.35);
}

.pd-btn-primary svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
  transition: transform 0.25s var(--ease, ease);
}

html[dir="rtl"] .pd-btn-primary:hover svg {
  transform: translateX(-4px);
}

html[dir="ltr"] .pd-btn-primary:hover svg {
  transform: translateX(4px);
}

.pd-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: #FFFFFF;
  color: #0B2036 !important;
  font-family: var(--font-display, 'Cairo', sans-serif);
  font-size: 1rem;
  font-weight: 700;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  border: 1.5px solid #DCEAF7;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(11, 32, 54, 0.04);
  transition: all 0.28s var(--ease, ease);
  cursor: pointer;
}

.pd-btn-secondary:hover {
  background: #F4FAFF;
  border-color: #0D62B8;
  color: #0D62B8 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(13, 98, 184, 0.1);
}

.pd-btn-secondary svg {
  width: 18px;
  height: 18px;
  stroke: #0D62B8;
  stroke-width: 2;
  fill: none;
}

.pd-hero-benefits {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  animation: pdFadeUp 0.7s var(--ease, ease) 0.4s both;
}

.pd-benefit-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body, 'IBM Plex Sans Arabic', sans-serif);
  font-size: 0.88rem;
  font-weight: 600;
  color: #12314F;
}

.pd-benefit-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: #0D62B8;
  border-radius: 50%;
  flex-shrink: 0;
  color: #FFFFFF;
}

.pd-benefit-check svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  stroke-width: 3;
  fill: none;
}

.pd-hero-media {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: pdFadeIn 0.9s var(--ease, ease) 0.2s both;
}

.pd-hero-visual-card {
  position: relative;
  width: 100%;
  max-width: 580px;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, #F8FAFD 0%, #FFFFFF 100%);
  border: 1px solid rgba(220, 234, 247, 0.8);
  box-shadow: 0 20px 48px -12px rgba(11, 32, 54, 0.12), 0 4px 16px rgba(13, 98, 184, 0.04);
  transition: transform 0.4s var(--ease, ease), box-shadow 0.4s var(--ease, ease);
}

.pd-hero-visual-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 28px 60px -12px rgba(11, 32, 54, 0.16), 0 8px 24px rgba(13, 98, 184, 0.08);
}

.pd-hero-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 24px;
}

.pd-hero-media-backdrop {
  position: absolute;
  inset: -8%;
  background: radial-gradient(ellipse at center, rgba(13, 98, 184, 0.12) 0%, rgba(231, 243, 253, 0.4) 50%, transparent 70%);
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
}

/* ── 2. Services / Categories Section ── */
.pd-services-section {
  padding: 5.5rem 0 5rem;
  background: #FAFCFE;
  position: relative;
  overflow: hidden;
  border-top: 1px solid #EEF5FC;
  max-width: 100vw;
  box-sizing: border-box;
}

.pd-services-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 10%, rgba(20, 119, 214, 0.03) 0%, transparent 60%);
}

.pd-section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
  position: relative;
  z-index: 1;
}

.pd-section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display, 'Cairo', sans-serif);
  font-size: 0.88rem;
  font-weight: 700;
  color: #0D62B8;
  background: #EBF4FD;
  padding: 0.35rem 1.15rem;
  border-radius: 999px;
  border: 1px solid #D1E5FA;
  margin-bottom: 0.85rem;
}

.pd-section-eyebrow .pd-dot {
  width: 6px;
  height: 6px;
  background: #0D62B8;
  border-radius: 50%;
}

.pd-section-title {
  font-family: var(--font-display, 'Cairo', sans-serif);
  font-size: clamp(1.85rem, 3.2vw, 2.45rem);
  font-weight: 800;
  color: #0B2036;
  line-height: 1.3;
  margin-bottom: 0.85rem;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.pd-title-bar {
  display: block;
  width: 48px;
  height: 3.5px;
  background: #0D62B8;
  border-radius: 999px;
  margin: 0.85rem auto 1rem;
}

.pd-section-subtitle {
  font-family: var(--font-body, 'IBM Plex Sans Arabic', sans-serif);
  font-size: 1.05rem;
  color: #3C5876;
  line-height: 1.75;
}

.pd-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.85rem;
  position: relative;
  z-index: 1;
}

.pd-service-card {
  position: relative;
  background: #FFFFFF;
  border: 1px solid #E4EFF9;
  border-radius: 20px;
  padding: 2.2rem 1.85rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 6px 18px -6px rgba(11, 32, 54, 0.05);
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
}

.pd-service-card::before {
  content: '';
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #0D62B8, #38BDF8);
  opacity: 0;
  transition: opacity 0.3s var(--ease, ease);
}

.pd-service-card:hover {
  transform: translateY(-6px);
  border-color: #AFD9F7;
  box-shadow: 0 18px 36px -10px rgba(13, 98, 184, 0.12), 0 4px 12px rgba(11, 32, 54, 0.03);
}

.pd-service-card:hover::before {
  opacity: 1;
}

.pd-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.4rem;
}

.pd-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: #EBF4FD;
  color: #0D62B8;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.35s var(--ease, ease);
  flex-shrink: 0;
}

.pd-card-icon svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
}

.pd-service-card:hover .pd-card-icon {
  background: #0D62B8;
  color: #FFFFFF;
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(13, 98, 184, 0.25);
}

.pd-card-num {
  font-family: var(--font-display, 'Cairo', sans-serif);
  font-size: 1.15rem;
  font-weight: 800;
  color: #AFD9F7;
  letter-spacing: 0.05em;
  transition: color 0.3s;
}

.pd-service-card:hover .pd-card-num {
  color: #0D62B8;
}

.pd-card-title {
  font-family: var(--font-display, 'Cairo', sans-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: #0B2036;
  margin-bottom: 0.65rem;
  line-height: 1.35;
  overflow-wrap: break-word;
  word-wrap: break-word;
  transition: color 0.25s;
}

.pd-service-card:hover .pd-card-title {
  color: #0D62B8;
}

.pd-card-desc {
  font-family: var(--font-body, 'IBM Plex Sans Arabic', sans-serif);
  font-size: 0.95rem;
  color: #4A6785;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.pd-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid #F0F6FC;
  font-family: var(--font-display, 'Cairo', sans-serif);
  font-size: 0.88rem;
  font-weight: 700;
  color: #0D62B8;
  transition: all 0.25s;
}

.pd-card-arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #F0F6FC;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0D62B8;
  transition: all 0.25s var(--ease, ease);
}

.pd-card-arrow svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
  transition: transform 0.25s var(--ease, ease);
}

html[dir="rtl"] .pd-service-card:hover .pd-card-arrow svg {
  transform: translateX(-3px);
}

html[dir="ltr"] .pd-service-card:hover .pd-card-arrow svg {
  transform: translateX(3px);
}

.pd-service-card:hover .pd-card-arrow {
  background: #0D62B8;
  color: #FFFFFF;
}

/* ── 3. Workflow Section ── */
.pd-workflow-section {
  padding: 5.5rem 0 5.5rem;
  background: #FFFFFF;
  position: relative;
  overflow: hidden;
  max-width: 100vw;
  box-sizing: border-box;
}

.pd-workflow-track {
  position: relative;
  margin-top: 2rem;
}

.pd-workflow-line {
  position: absolute;
  top: 36px;
  inset-inline-start: 5%;
  inset-inline-end: 5%;
  height: 2px;
  background: repeating-linear-gradient(90deg, #AFD9F7 0, #AFD9F7 8px, transparent 8px, transparent 16px);
  z-index: 0;
}

.pd-workflow-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.25rem;
  position: relative;
  z-index: 1;
}

.pd-workflow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  padding: 0 0.4rem;
  transition: transform 0.3s var(--ease, ease);
}

.pd-workflow-step:hover {
  transform: translateY(-5px);
}

.pd-step-icon-wrap {
  position: relative;
  margin-bottom: 1.25rem;
}

.pd-step-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px solid #DCEAF7;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0D62B8;
  box-shadow: 0 8px 24px -6px rgba(13, 98, 184, 0.12);
  transition: all 0.35s var(--ease, ease);
}

.pd-step-icon svg {
  width: 32px;
  height: 32px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  transition: transform 0.3s var(--ease, ease);
}

.pd-workflow-step:hover .pd-step-icon {
  background: #0D62B8;
  border-color: #0D62B8;
  color: #FFFFFF;
  box-shadow: 0 12px 28px -4px rgba(13, 98, 184, 0.28);
  transform: scale(1.06);
}

.pd-workflow-step:hover .pd-step-icon svg {
  transform: scale(1.08);
}

.pd-step-num {
  position: absolute;
  bottom: -6px;
  inset-inline-end: -4px;
  width: 26px;
  height: 26px;
  background: #0D62B8;
  color: #FFFFFF;
  border-radius: 50%;
  font-family: var(--font-display, 'Cairo', sans-serif);
  font-size: 0.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #FFFFFF;
  box-shadow: 0 2px 6px rgba(11, 32, 54, 0.15);
  transition: all 0.3s var(--ease, ease);
}

.pd-workflow-step:hover .pd-step-num {
  background: #0B2036;
  transform: scale(1.1);
}

.pd-step-title {
  font-family: var(--font-display, 'Cairo', sans-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: #0B2036;
  margin-bottom: 0.5rem;
  line-height: 1.35;
  overflow-wrap: break-word;
  word-wrap: break-word;
  transition: color 0.25s;
}

.pd-workflow-step:hover .pd-step-title {
  color: #0D62B8;
}

.pd-step-desc {
  font-family: var(--font-body, 'IBM Plex Sans Arabic', sans-serif);
  font-size: 0.88rem;
  color: #4A6785;
  line-height: 1.65;
}

/* ── 4. Portfolio Section ── */
.pd-portfolio-section {
  padding: 5.5rem 0 5.5rem;
  background: #F8FAFD;
  position: relative;
  overflow: hidden;
  border-top: 1px solid #EEF5FC;
  max-width: 100vw;
  box-sizing: border-box;
}

.pd-portfolio-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 1.75rem;
  margin-top: 2.5rem;
  align-items: stretch;
}

.pd-port-featured {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: #FFFFFF;
  border: 1px solid #E2EDF8;
  box-shadow: 0 8px 24px -6px rgba(11, 32, 54, 0.08);
  display: flex;
  flex-direction: column;
  min-height: 480px;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  text-decoration: none;
}

.pd-port-featured:hover {
  transform: translateY(-6px);
  border-color: #AFD9F7;
  box-shadow: 0 20px 40px -10px rgba(13, 98, 184, 0.16);
}

.pd-port-featured .pd-port-img-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.pd-port-featured img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.pd-port-featured:hover img {
  transform: scale(1.05);
}

.pd-port-sm-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.pd-port-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #FFFFFF;
  border: 1px solid #E2EDF8;
  box-shadow: 0 6px 18px -4px rgba(11, 32, 54, 0.06);
  min-height: 230px;
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  text-decoration: none;
}

.pd-port-card:hover {
  transform: translateY(-5px);
  border-color: #AFD9F7;
  box-shadow: 0 16px 32px -8px rgba(13, 98, 184, 0.14);
}

.pd-port-card .pd-port-img-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.pd-port-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.pd-port-card:hover img {
  transform: scale(1.06);
}

.pd-port-badge {
  position: absolute;
  top: 1.15rem;
  inset-inline-start: 1.15rem;
  background: rgba(11, 32, 54, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #FFFFFF;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-family: var(--font-display, 'Cairo', sans-serif);
  font-size: 0.78rem;
  font-weight: 700;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s;
}

.pd-port-featured .pd-port-badge {
  background: #0D62B8;
  border-color: rgba(255, 255, 255, 0.3);
  font-size: 0.82rem;
  padding: 0.4rem 1rem;
}

.pd-port-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 32, 54, 0.05) 0%, rgba(11, 32, 54, 0.4) 40%, rgba(11, 32, 54, 0.88) 100%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem 1.35rem;
  color: #FFFFFF;
  transition: all 0.35s;
}

.pd-port-featured .pd-port-overlay {
  padding: 2.25rem 2rem;
  background: linear-gradient(180deg, rgba(11, 32, 54, 0.05) 0%, rgba(11, 32, 54, 0.35) 45%, rgba(11, 32, 54, 0.92) 100%);
}

.pd-port-subtitle {
  font-family: var(--font-body, 'IBM Plex Sans Arabic', sans-serif);
  font-size: 0.82rem;
  color: #AFD9F7;
  font-weight: 600;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.pd-port-title {
  font-family: var(--font-display, 'Cairo', sans-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.35;
  margin: 0;
  overflow-wrap: break-word;
  word-wrap: break-word;
  transition: color 0.25s;
}

.pd-port-featured .pd-port-title {
  font-size: 1.45rem;
}

.pd-port-view-action {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  font-family: var(--font-display, 'Cairo', sans-serif);
  font-size: 0.85rem;
  font-weight: 700;
  color: #38BDF8;
  opacity: 0.9;
  transform: translateY(4px);
  transition: all 0.3s var(--ease, ease);
}

.pd-port-view-action svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
  transition: transform 0.25s;
}

html[dir="rtl"] .pd-port-card:hover .pd-port-view-action svg,
html[dir="rtl"] .pd-port-featured:hover .pd-port-view-action svg {
  transform: translateX(-4px);
}

html[dir="ltr"] .pd-port-card:hover .pd-port-view-action svg,
html[dir="ltr"] .pd-port-featured:hover .pd-port-view-action svg {
  transform: translateX(4px);
}

.pd-port-card:hover .pd-port-view-action,
.pd-port-featured:hover .pd-port-view-action {
  opacity: 1;
  transform: translateY(0);
}

.pd-port-footer {
  text-align: center;
  margin-top: 3.25rem;
}

.pd-port-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.9rem 2.25rem;
  border-radius: 999px;
  border: 1.5px solid #0D62B8;
  background: #FFFFFF;
  color: #0D62B8;
  font-family: var(--font-display, 'Cairo', sans-serif);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s var(--ease, ease);
  box-shadow: 0 4px 14px rgba(13, 98, 184, 0.08);
}

.pd-port-more-btn:hover {
  background: #0D62B8;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13, 98, 184, 0.2);
}

.pd-port-more-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
  transition: transform 0.25s;
}

html[dir="rtl"] .pd-port-more-btn:hover svg {
  transform: translateX(-4px);
}

html[dir="ltr"] .pd-port-more-btn:hover svg {
  transform: translateX(4px);
}

/* ── 5. Bottom CTA Banner Section ── */
.pd-cta-section {
  padding: 5rem 0 5.5rem;
  background: #FFFFFF;
  position: relative;
  overflow: hidden;
  max-width: 100vw;
  box-sizing: border-box;
}

.pd-cta-card {
  position: relative;
  border-radius: 28px;
  background: linear-gradient(135deg, #0D62B8 0%, #08498A 50%, #0B2036 100%);
  padding: 4.5rem 3rem;
  text-align: center;
  color: #FFFFFF;
  overflow: hidden;
  box-shadow: 0 24px 56px -12px rgba(13, 98, 184, 0.3), 0 8px 24px rgba(11, 32, 54, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.pd-cta-bg-glow {
  position: absolute;
  top: -40%;
  inset-inline-end: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.25) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
  filter: blur(40px);
}

.pd-cta-bg-glow-left {
  position: absolute;
  bottom: -40%;
  inset-inline-start: -10%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(13, 98, 184, 0.4) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
  filter: blur(40px);
}

.pd-cta-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin: 0 auto;
}

.pd-cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  padding: 0.4rem 1.25rem;
  border-radius: 999px;
  font-family: var(--font-display, 'Cairo', sans-serif);
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.pd-cta-badge .pd-dot {
  width: 6px;
  height: 6px;
  background: #38BDF8;
  border-radius: 50%;
}

.pd-cta-title {
  font-family: var(--font-display, 'Cairo', sans-serif);
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.3;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.pd-cta-desc {
  font-family: var(--font-body, 'IBM Plex Sans Arabic', sans-serif);
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.25rem;
}

.pd-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.15rem;
  flex-wrap: wrap;
}

.pd-btn-cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  background: #FFFFFF;
  color: #0D62B8 !important;
  font-family: var(--font-display, 'Cairo', sans-serif);
  font-size: 1.05rem;
  font-weight: 700;
  padding: 0.95rem 2.25rem;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  transition: all 0.3s var(--ease, ease);
}

.pd-btn-cta-primary:hover {
  background: #F4FAFF;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  color: #08498A !important;
}

.pd-btn-cta-primary svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
  transition: transform 0.25s;
}

html[dir="rtl"] .pd-btn-cta-primary:hover svg {
  transform: translateX(-4px);
}

html[dir="ltr"] .pd-btn-cta-primary:hover svg {
  transform: translateX(4px);
}

.pd-btn-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: #FFFFFF !important;
  font-family: var(--font-display, 'Cairo', sans-serif);
  font-size: 1.05rem;
  font-weight: 700;
  padding: 0.95rem 2rem;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.3s var(--ease, ease);
}

.pd-btn-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-3px);
}

.pd-btn-cta-secondary svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

/* ── 6. Keyframe Animations ── */
@keyframes pdFadeDown {
  from {
    opacity: 0;
    transform: translateY(-14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pdFadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pdFadeIn {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ── 6. Unified Responsive Breakpoints ── */

/* Laptop / Medium Desktops (max-width: 1200px) */
@media (max-width: 1200px) {
  .pd-workflow-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem 1.5rem;
  }

  .pd-workflow-line {
    display: none;
  }

  .pd-workflow-step {
    background: #F9FBFE;
    padding: 1.75rem 1.25rem;
    border-radius: 18px;
    border: 1px solid #EBF4FD;
  }
}

/* Tablets (max-width: 1024px) */
@media (max-width: 1024px) {
  .pd-hero-grid {
    gap: 2.5rem;
  }

  .pd-hero-title {
    font-size: 2.4rem;
  }

  .pd-hero-desc {
    font-size: 1rem;
  }

  .pd-services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .pd-portfolio-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .pd-port-featured {
    min-height: 380px;
  }
}

/* Small Tablets / Landscape Phones (max-width: 900px) */
@media (max-width: 900px) {
  .pd-hero {
    padding-top: calc(var(--header-h, 80px) + 1.5rem);
    padding-bottom: 3.5rem;
  }

  .pd-hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .pd-hero-content {
    align-items: center;
    text-align: center;
  }

  .pd-hero-badge {
    margin-bottom: 1rem;
  }

  .pd-hero-title {
    font-size: 2.15rem;
  }

  .pd-hero-desc {
    max-width: 100%;
    margin-bottom: 1.75rem;
  }

  .pd-hero-cta {
    justify-content: center;
    margin-bottom: 1.85rem;
  }

  .pd-hero-benefits {
    justify-content: center;
    gap: 1rem;
  }

  .pd-hero-media {
    max-width: 500px;
    margin: 0 auto;
  }
}

/* Mobile Devices (max-width: 768px) */
@media (max-width: 768px) {
  .pd-workflow-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .pd-workflow-step {
    padding: 1.5rem 1rem;
  }
}

/* Small Mobile Devices (max-width: 640px) */
@media (max-width: 640px) {
  .pd-services-section,
  .pd-workflow-section,
  .pd-portfolio-section,
  .pd-cta-section {
    padding: 4rem 0 3.5rem;
  }

  .pd-section-header {
    margin-bottom: 2.5rem;
  }

  .pd-services-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .pd-service-card {
    padding: 1.85rem 1.5rem;
  }

  .pd-port-sm-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .pd-port-featured {
    min-height: 320px;
  }

  .pd-port-card {
    min-height: 240px;
  }

  .pd-port-more-btn {
    width: 100%;
    justify-content: center;
  }

  .pd-cta-card {
    padding: 3.25rem 1.5rem;
    border-radius: 22px;
  }

  .pd-cta-title {
    font-size: 1.85rem;
  }

  .pd-cta-desc {
    font-size: 0.98rem;
    margin-bottom: 1.85rem;
  }

  .pd-cta-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.85rem;
  }

  .pd-btn-cta-primary,
  .pd-btn-cta-secondary {
    width: 100%;
  }
}

/* Narrow Phones (max-width: 520px) */
@media (max-width: 520px) {
  .pd-workflow-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .pd-workflow-step {
    flex-direction: row;
    align-items: flex-start;
    text-align: right;
    gap: 1.2rem;
    padding: 1.35rem 1.25rem;
  }

  .pd-step-icon-wrap {
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .pd-step-icon {
    width: 58px;
    height: 58px;
  }

  .pd-step-icon svg {
    width: 26px;
    height: 26px;
  }

  .pd-step-title {
    font-size: 1rem;
    margin-bottom: 0.35rem;
  }

  .pd-step-desc {
    font-size: 0.85rem;
  }
}

/* Extra Small Phones (max-width: 480px / 375px) */
@media (max-width: 480px) {
  .pd-hero-title {
    font-size: 1.85rem;
    line-height: 1.3;
  }

  .pd-hero-cta {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .pd-btn-primary,
  .pd-btn-secondary {
    width: 100%;
  }

  .pd-hero-benefits {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
    background: #F8FAFD;
    padding: 1rem 1.25rem;
    border-radius: 16px;
    border: 1px solid #E7F3FD;
    width: 100%;
  }

  .pd-benefit-item {
    font-size: 0.85rem;
  }
}

/* ── 7. Accessibility & Focus States ── */
.pd-btn-primary:focus-visible,
.pd-btn-secondary:focus-visible,
.pd-port-featured:focus-visible,
.pd-port-card:focus-visible,
.pd-port-more-btn:focus-visible {
  outline: 3px solid #0D62B8;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .pd-hero-badge,
  .pd-hero-title,
  .pd-hero-desc,
  .pd-hero-cta,
  .pd-hero-benefits,
  .pd-hero-media,
  .pd-hero-visual-card,
  .pd-service-card,
  .pd-workflow-step,
  .pd-port-featured,
  .pd-port-card,
  .pd-port-more-btn {
    animation: none !important;
    transition: none !important;
  }
}

/* =========================================================================
   LTR Direction Overrides for Print Design Page
   ========================================================================= */

html[dir="ltr"] .pd-hero-content,
html[dir="ltr"] .pd-feature-body,
html[dir="ltr"] .pd-process-card,
html[dir="ltr"] .pd-article-body,
html[dir="ltr"] .pd-faq-content,
html[dir="ltr"] .pd-cta-content,
html[dir="ltr"] .pd-section-header {
  text-align: left;
  direction: ltr;
}
