﻿/* ================================================================
   AMAJED PROJECT BUNDLES
   Front-end only first release — no pricing / no database dependency
   ================================================================ */

/* ================================================================
   HOME SECTION
   ================================================================ */

.home-project-bundles {
    position: relative;
    overflow: hidden;
    padding-top: 70px;
    padding-bottom: 76px;
    background:
        radial-gradient(circle at 8% 0%, color-mix(in srgb, var(--cyan) 7%, transparent), transparent 30%),
        linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
}

.home-project-bundles::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .45;
    background-image:
        linear-gradient(color-mix(in srgb, var(--line) 32%, transparent) 1px, transparent 1px),
        linear-gradient(90deg, color-mix(in srgb, var(--line) 32%, transparent) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.25), transparent 72%);
}

.project-bundles-head,
.home-project-bundles-grid,
.project-bundles-actions {
    position: relative;
    z-index: 1;
}

.project-bundles-head {
    margin-bottom: 30px;
}

.project-bundles-head .h2 {
    margin-bottom: 0;
}

.home-project-bundles-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.project-bundle-card {
    min-width: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--surface);
    box-shadow: 0 18px 48px rgba(2, 16, 28, .075);
    transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}

.project-bundle-card:hover {
    transform: translateY(-6px);
    border-color: color-mix(in srgb, var(--cyan) 48%, var(--line));
    box-shadow: 0 26px 66px rgba(2, 16, 28, .13);
}

.project-bundle-card-media {
    position: relative;
    aspect-ratio: 1.46 / 1;
    overflow: hidden;
    background: #0a1720;
}

.project-bundle-card-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transform: scale(1.01);
    transition: transform .5s ease, filter .5s ease;
}

.project-bundle-card:hover .project-bundle-card-media img {
    transform: scale(1.055);
    filter: saturate(1.04) contrast(1.02);
}

.project-bundle-card-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(1,8,14,.04) 35%, rgba(1,8,14,.58) 100%);
}

.project-bundle-card-tag {
    position: absolute;
    left: 16px;
    bottom: 14px;
    padding: 7px 10px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 999px;
    color: #f5fbfe;
    background: rgba(2, 13, 20, .58);
    backdrop-filter: blur(10px);
    font-size: 9px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: .14em;
}

body[dir="rtl"] .project-bundle-card-tag {
    left: auto;
    right: 16px;
    letter-spacing: 0;
}

.project-bundle-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 22px 20px 19px;
}

.project-bundle-card-body h3 {
    margin: 0 0 9px;
    color: var(--ink);
    font-size: clamp(19px, 1.45vw, 24px);
    line-height: 1.08;
    letter-spacing: -.035em;
}

body[dir="rtl"] .project-bundle-card-body h3 {
    letter-spacing: 0;
    line-height: 1.28;
}

.project-bundle-card-body p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.65;
}

.project-bundle-card-meta {
    margin-top: auto;
    padding-top: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid var(--line);
}

.project-bundle-card-meta > span:first-child {
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
}

.project-bundle-card-meta strong {
    margin-inline-end: 4px;
    color: var(--cyan-2);
    font-size: 18px;
    font-weight: 900;
}

.project-bundle-card-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--ink);
    font-size: 10px;
    font-weight: 900;
    white-space: nowrap;
}

.project-bundle-card-link b {
    color: var(--cyan-2);
    transition: transform .24s ease;
}

.project-bundle-card:hover .project-bundle-card-link b {
    transform: translateX(4px);
}

body[dir="rtl"] .project-bundle-card:hover .project-bundle-card-link b {
    transform: translateX(-4px);
}

.project-bundles-actions {
    margin-top: 28px;
    display: flex;
    justify-content: center;
}

/* ================================================================
   FULL PAGE
   ================================================================ */

.project-bundles-page {
    overflow: clip;
    background: var(--bg);
}

.project-bundles-hero,
.project-bundle-detail-hero {
    position: relative;
    isolation: isolate;
    min-height: min(720px, 80svh);
    display: flex;
    align-items: end;
    padding-top: 150px;
}

.project-bundles-hero-media,
.project-bundles-hero-shade,
.project-bundle-detail-media,
.project-bundle-detail-shade {
    position: absolute;
    inset: 0;
}

.project-bundles-hero-media,
.project-bundle-detail-media {
    z-index: 0;
    overflow: hidden;
}

.project-bundles-hero-media img,
.project-bundle-detail-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    filter: saturate(.78) contrast(1.08) brightness(.68);
    transform: scale(1.025);
}

.project-bundles-hero-shade,
.project-bundle-detail-shade {
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(2,10,16,.95) 0%, rgba(2,10,16,.82) 44%, rgba(2,10,16,.30) 76%, rgba(2,10,16,.60) 100%),
        linear-gradient(0deg, rgba(2,10,16,.84), transparent 62%);
}

body[dir="rtl"] .project-bundles-hero-shade,
body[dir="rtl"] .project-bundle-detail-shade {
    background:
        linear-gradient(270deg, rgba(2,10,16,.95) 0%, rgba(2,10,16,.82) 44%, rgba(2,10,16,.30) 76%, rgba(2,10,16,.60) 100%),
        linear-gradient(0deg, rgba(2,10,16,.84), transparent 62%);
}

.project-bundles-hero-grid,
.project-bundle-detail-grid {
    position: relative;
    z-index: 2;
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(250px, 330px);
    gap: clamp(40px, 6vw, 92px);
    align-items: end;
}

.project-bundles-hero-copy,
.project-bundle-detail-copy {
    max-width: 900px;
}

.project-bundles-title,
.project-bundle-detail-title {
    max-width: 920px;
    margin: 12px 0 20px;
    font-size: clamp(52px, 6vw, 88px);
    line-height: .96;
    letter-spacing: -.055em;
}

body[dir="rtl"] .project-bundles-title,
body[dir="rtl"] .project-bundle-detail-title {
    line-height: 1.12;
    letter-spacing: 0;
}

.project-bundles-hero .lede,
.project-bundle-detail-hero .lede {
    max-width: 760px;
    color: #c5d2da;
    font-size: clamp(15px, 1.3vw, 18px);
}

.project-bundles-hero-actions {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.project-bundles-hero-contact {
    border-color: rgba(255,255,255,.24);
    color: #eef7fb;
    background: rgba(2,12,19,.28);
    backdrop-filter: blur(12px);
}

.project-bundles-hero-note {
    align-self: end;
    padding: 24px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 26px;
    background: rgba(2,12,19,.44);
    backdrop-filter: blur(18px);
    box-shadow: 0 28px 80px rgba(0,0,0,.20);
}

.project-bundles-hero-note > span {
    display: block;
    margin-bottom: 9px;
    color: #8ca2af;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .16em;
}

body[dir="rtl"] .project-bundles-hero-note > span {
    letter-spacing: 0;
}

.project-bundles-hero-note strong {
    display: block;
    color: #f5fbfe;
    font-size: 28px;
    line-height: 1.05;
}

.project-bundles-hero-note p {
    margin: 12px 0 0;
    color: #afc0c9;
    font-size: 12px;
    line-height: 1.65;
}

.project-bundles-catalog {
    background:
        radial-gradient(circle at 12% 0%, color-mix(in srgb, var(--cyan) 5%, transparent), transparent 27%),
        var(--bg);
}

.project-bundles-section-head {
    margin-bottom: 38px;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, .72fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: end;
}

.project-bundles-section-head .h2 {
    margin-bottom: 0;
}

.project-bundles-section-head > .lede {
    margin: 0;
    max-width: 620px;
}

.project-bundles-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.project-bundles-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: var(--surface);
    box-shadow: 0 20px 56px rgba(2,16,28,.07);
    transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}

.project-bundles-card:hover {
    transform: translateY(-5px);
    border-color: color-mix(in srgb, var(--cyan) 44%, var(--line));
    box-shadow: 0 28px 72px rgba(2,16,28,.12);
}

.project-bundles-card-media {
    position: relative;
    display: block;
    aspect-ratio: 1.46 / 1;
    overflow: hidden;
    background: #08141d;
}

.project-bundles-card-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .5s ease;
}

.project-bundles-card:hover .project-bundles-card-media img {
    transform: scale(1.055);
}

.project-bundles-card-media-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(2,10,16,.58));
}

.project-bundles-card-badge {
    position: absolute;
    left: 18px;
    bottom: 16px;
    padding: 7px 10px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 999px;
    color: #fff;
    background: rgba(2,12,19,.52);
    backdrop-filter: blur(10px);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .14em;
}

body[dir="rtl"] .project-bundles-card-badge {
    left: auto;
    right: 18px;
    letter-spacing: 0;
}

.project-bundles-card-body {
    padding: 24px 22px 21px;
}

.project-bundles-card-body h3 {
    margin: 0 0 9px;
    color: var(--ink);
    font-size: clamp(21px, 1.7vw, 28px);
    line-height: 1.08;
    letter-spacing: -.035em;
}

body[dir="rtl"] .project-bundles-card-body h3 {
    letter-spacing: 0;
    line-height: 1.3;
}

.project-bundles-card-body > p {
    min-height: 59px;
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.62;
}

.project-bundles-card-footer {
    margin-top: 19px;
    padding-top: 17px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-top: 1px solid var(--line);
}

.project-bundles-card-footer > span {
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
}

.project-bundles-card-footer strong {
    color: var(--cyan-2);
    margin-inline-end: 4px;
    font-size: 18px;
}

.project-bundles-card-footer .text-link {
    white-space: nowrap;
    font-size: 10px;
    font-weight: 900;
}

.project-bundles-flow {
    background: var(--surface);
}

.project-bundles-flow-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: var(--surface-2);
}

.project-bundles-flow-grid > div {
    min-height: 150px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 22px;
    border-inline-end: 1px solid var(--line);
}

.project-bundles-flow-grid > div:last-child {
    border-inline-end: 0;
}

.project-bundles-flow-grid span {
    color: var(--cyan-2);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .14em;
}

.project-bundles-flow-grid strong {
    color: var(--ink);
    font-size: 16px;
    line-height: 1.25;
}

.project-bundles-cta-section {
    background: var(--bg);
}

.project-bundles-cta,
.project-bundle-detail-cta {
    padding: clamp(30px, 4vw, 54px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 34px;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--cyan) 22%, var(--line));
    border-radius: 30px;
    background:
        radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--cyan) 12%, transparent), transparent 36%),
        var(--surface);
    box-shadow: 0 22px 66px rgba(2,16,28,.08);
}

.project-bundles-cta .h2,
.project-bundle-detail-cta .h2 {
    max-width: 880px;
    margin-bottom: 0;
}

/* ================================================================
   DETAIL PAGE
   ================================================================ */

.project-bundle-detail-hero {
    min-height: min(650px, 72svh);
}

.project-bundle-detail-grid {
    grid-template-columns: minmax(0, 1fr);
}

.project-bundle-equipment-section {
    background:
        radial-gradient(circle at 82% 10%, color-mix(in srgb, var(--cyan) 5%, transparent), transparent 28%),
        var(--bg);
}

.project-bundle-equipment-layout {
    display: grid;
    grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
    gap: clamp(42px, 7vw, 100px);
    align-items: start;
}

.project-bundle-equipment-copy {
    position: sticky;
    top: 140px;
}

.project-bundle-equipment-copy .h2 {
    margin-bottom: 18px;
}

.project-bundle-equipment-copy .btn {
    margin-top: 24px;
}

.project-bundle-equipment-list {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: var(--surface);
    box-shadow: 0 18px 52px rgba(2,16,28,.06);
}

.project-bundle-equipment-item {
    min-height: 82px;
    padding: 19px 22px;
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    border-bottom: 1px solid var(--line);
}

.project-bundle-equipment-item:last-child {
    border-bottom: 0;
}

.project-bundle-equipment-item span {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid color-mix(in srgb, var(--cyan) 28%, var(--line));
    background: color-mix(in srgb, var(--surface-2) 88%, var(--cyan) 12%);
    color: var(--cyan-2);
    font-size: 10px;
    font-weight: 900;
}

.project-bundle-equipment-item strong {
    color: var(--ink);
    font-size: 15px;
    line-height: 1.4;
}

.project-bundle-detail-cta-section {
    background: var(--surface);
}

.project-bundle-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */

@media (max-width: 1180px) {
    .home-project-bundles-grid,
    .project-bundles-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .project-bundles-flow-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .project-bundles-flow-grid > div:nth-child(3) {
        border-inline-end: 0;
    }

    .project-bundles-flow-grid > div:nth-child(-n+3) {
        border-bottom: 1px solid var(--line);
    }
}

@media (max-width: 900px) {
    .project-bundles-hero,
    .project-bundle-detail-hero {
        min-height: auto;
        padding-top: 150px;
        padding-bottom: 64px;
    }

    .project-bundles-hero-grid {
        grid-template-columns: 1fr;
    }

    .project-bundles-hero-note {
        max-width: 560px;
    }

    .project-bundles-section-head,
    .project-bundle-equipment-layout {
        grid-template-columns: 1fr;
    }

    .project-bundle-equipment-copy {
        position: static;
    }

    .project-bundles-cta,
    .project-bundle-detail-cta {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 680px) {
    .home-project-bundles {
        padding-top: 54px;
        padding-bottom: 58px;
    }

    .home-project-bundles-grid,
    .project-bundles-grid,
    .project-bundles-flow-grid {
        grid-template-columns: 1fr;
    }

    .project-bundles-title,
    .project-bundle-detail-title {
        font-size: clamp(42px, 12vw, 60px);
    }

    .project-bundles-flow-grid > div {
        min-height: 108px;
        border-inline-end: 0;
        border-bottom: 1px solid var(--line);
    }

    .project-bundles-flow-grid > div:last-child {
        border-bottom: 0;
    }

    .project-bundles-card-body > p {
        min-height: 0;
    }

    .project-bundles-card-footer,
    .project-bundle-card-meta {
        align-items: flex-start;
        flex-direction: column;
    }

    .project-bundle-equipment-item {
        grid-template-columns: 46px minmax(0, 1fr);
        padding: 17px;
    }
}

/* ================================================================
   PROJECT BUNDLES V2 — LIVE CATALOG PRODUCT CARDS
   The detail page now renders real Product rows from ApplicationDbContext.
   ================================================================ */

.project-bundle-equipment-layout {
    grid-template-columns: minmax(300px, .72fr) minmax(0, 1.28fr);
    gap: clamp(38px, 5.5vw, 84px);
}

.project-bundle-live-stat {
    margin-top: 26px;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid color-mix(in srgb, var(--cyan) 25%, var(--line));
    border-radius: 17px;
    background: color-mix(in srgb, var(--surface-2) 92%, var(--cyan) 8%);
}

.project-bundle-live-stat strong {
    color: var(--cyan-2);
    font-size: 28px;
    line-height: 1;
    letter-spacing: -.04em;
}

.project-bundle-live-stat span {
    color: var(--ink);
    font-size: 11px;
    font-weight: 800;
    line-height: 1.45;
}

.project-bundle-catalog-note {
    margin: 13px 0 0;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.6;
}

.project-bundle-catalog-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.project-bundle-product-card {
    min-width: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: 23px;
    color: inherit;
    text-decoration: none;
    background: var(--surface);
    box-shadow: 0 14px 40px rgba(2, 16, 28, .065);
    transition: transform .28s var(--ease-fluid), border-color .28s ease, box-shadow .28s ease;
}

.project-bundle-product-card:hover {
    transform: translateY(-4px);
    border-color: color-mix(in srgb, var(--cyan) 48%, var(--line));
    box-shadow: 0 22px 56px rgba(2, 16, 28, .11);
}

.project-bundle-product-media {
    position: relative;
    aspect-ratio: 1.55 / 1;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    background:
        radial-gradient(circle at 75% 16%, color-mix(in srgb, var(--cyan) 10%, transparent), transparent 36%),
        var(--surface-2);
}

.project-bundle-product-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    padding: 12px;
    transform: scale(.98);
    transition: transform .42s var(--ease-fluid);
}

.project-bundle-product-card:hover .project-bundle-product-media img {
    transform: scale(1.025);
}

.project-bundle-product-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at center, color-mix(in srgb, var(--cyan) 8%, transparent), transparent 54%),
        var(--surface-2);
}

.project-bundle-product-placeholder span {
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .18em;
}

.project-bundle-product-index {
    position: absolute;
    top: 13px;
    inset-inline-start: 13px;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid color-mix(in srgb, var(--cyan) 38%, var(--line));
    border-radius: 50%;
    color: var(--cyan-2);
    background: color-mix(in srgb, var(--surface) 86%, transparent);
    backdrop-filter: blur(12px);
    box-shadow: 0 7px 18px rgba(2,16,28,.08);
    font-size: 9px;
    font-weight: 900;
}

.project-bundle-product-body {
    flex: 1;
    padding: 17px 18px 16px;
    display: flex;
    flex-direction: column;
}

.project-bundle-product-meta {
    display: block;
    margin-bottom: 8px;
    overflow: hidden;
    color: var(--cyan-2);
    font-size: 8.5px;
    font-weight: 850;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.project-bundle-product-body h3 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(16px, 1.35vw, 20px);
    line-height: 1.25;
    letter-spacing: -.025em;
}

body[dir="rtl"] .project-bundle-product-body h3 {
    line-height: 1.45;
    letter-spacing: 0;
}

.project-bundle-product-body p {
    margin: 9px 0 0;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-bundle-product-link {
    margin-top: auto;
    padding-top: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--ink);
    font-size: 10px;
    font-weight: 900;
}

.project-bundle-product-card:hover .project-bundle-product-link {
    color: var(--cyan-2);
}

@media (max-width: 1050px) {
    .project-bundle-equipment-layout {
        grid-template-columns: 1fr;
    }

    .project-bundle-equipment-copy {
        position: static;
        max-width: 760px;
    }
}

@media (max-width: 700px) {
    .project-bundle-catalog-grid {
        grid-template-columns: 1fr;
    }

    .project-bundle-product-media {
        aspect-ratio: 1.8 / 1;
    }
}

/* PB-V2.3 REMOVE VERSION NOTE START */
/* The version-status card was intentionally removed from the bundles landing hero. */
.project-bundles-hero-grid {
    grid-template-columns: minmax(0, 1fr);
}

.project-bundles-hero-copy {
    max-width: 920px;
}
/* PB-V2.3 REMOVE VERSION NOTE END */

/* AMAJED PB V2.9.1 HERO IMAGE START */
.project-bundles-hero-media img {
    object-position: center center;
    filter: saturate(.86) contrast(1.06) brightness(.73);
    transform: scale(1.025);
}

body[dir="rtl"] .project-bundles-hero-media img {
    transform: scale(1.025) scaleX(-1);
}

/* Preserve the original premium hero proportions. */
@media (min-width: 901px) {
    .project-bundles-hero {
        min-height: min(720px, 80svh);
        padding-top: 150px;
    }

    .project-bundles-title {
        max-width: 920px;
        margin-top: 12px;
        margin-bottom: 20px;
        font-size: clamp(52px, 6vw, 88px);
        line-height: .96;
        letter-spacing: -.055em;
    }

    body[dir="rtl"] .project-bundles-title {
        line-height: 1.12;
        letter-spacing: 0;
    }

    .project-bundles-hero .lede {
        max-width: 760px;
        font-size: clamp(15px, 1.3vw, 18px);
    }

    .project-bundles-hero-actions {
        margin-top: 30px;
    }

    .project-bundles-catalog {
        padding-top: var(--section-y);
    }

    .project-bundles-section-head {
        margin-bottom: 38px;
    }
}
/* AMAJED PB V2.9.1 HERO IMAGE END */

/* AMAJED PB V2.9.2 HERO TYPOGRAPHY START */
/* Make hero copy readable over the dark cinematic image without changing the page identity. */
.project-bundles-hero .project-bundles-title {
    color: #f8fbfd !important;
    opacity: 1 !important;
    font-weight: 850 !important;
    text-shadow:
        0 3px 7px rgba(0, 0, 0, .46),
        0 12px 34px rgba(0, 0, 0, .38);
    text-wrap: balance;
}

.project-bundles-hero .lede {
    color: rgba(245, 250, 253, .94) !important;
    opacity: 1 !important;
    font-weight: 520 !important;
    line-height: 1.78 !important;
    text-shadow: 0 2px 14px rgba(0, 0, 0, .58);
}

.project-bundles-hero .eyebrow,
.project-bundles-hero [class*="eyebrow"] {
    color: #18b9f2 !important;
    opacity: 1 !important;
    font-weight: 900 !important;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .45);
}

.project-bundles-hero .breadcrumbs,
.project-bundles-hero [class*="breadcrumb"] {
    color: rgba(248, 252, 255, .88) !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .55);
}

/* English typography */
body:not([dir="rtl"]) .project-bundles-hero .project-bundles-title,
html[lang="en"] .project-bundles-hero .project-bundles-title {
    font-size: clamp(50px, 5.55vw, 84px) !important;
    line-height: .98 !important;
    letter-spacing: -.045em !important;
}

/* Arabic needs more vertical breathing room and less aggressive tracking. */
body[dir="rtl"] .project-bundles-hero .project-bundles-title,
html[lang="ar"] .project-bundles-hero .project-bundles-title {
    font-size: clamp(48px, 5.15vw, 80px) !important;
    line-height: 1.2 !important;
    letter-spacing: 0 !important;
    font-weight: 800 !important;
}

body[dir="rtl"] .project-bundles-hero .lede,
html[lang="ar"] .project-bundles-hero .lede {
    line-height: 1.95 !important;
    font-weight: 600 !important;
}

@media (max-width: 900px) {
    .project-bundles-hero .project-bundles-title {
        font-size: clamp(42px, 9vw, 64px) !important;
    }

    .project-bundles-hero .lede {
        font-size: 15px !important;
        line-height: 1.75 !important;
    }
}

@media (max-width: 560px) {
    .project-bundles-hero .project-bundles-title {
        font-size: clamp(38px, 11.5vw, 54px) !important;
    }

    body[dir="rtl"] .project-bundles-hero .project-bundles-title,
    html[lang="ar"] .project-bundles-hero .project-bundles-title {
        line-height: 1.22 !important;
    }
}
/* AMAJED PB V2.9.2 HERO TYPOGRAPHY END */

