.bd-home-page {
    --bd-navy: #071D36;
    --bd-navy-2: #0A2C53;
    --bd-blue: #27AAE1;
    --bd-blue-2: #288FCC;
    --bd-red: #ED2324;
    --bd-red-dark: #C91D25;
    --bd-soft: #F5F8FC;
    --bd-text: #13233A;
    --bd-muted: #667085;
    background: #fff;
    color: var(--bd-text);
}

.bd-home-hero {
    padding: 0;
    background: #fff;
}

.bd-home-hero__shell {
    width: 100%;
    margin: 0 auto;
    position: relative;
}

.bd-home-hero__carousel,
.bd-home-hero__slide,
.bd-home-hero__media {
    border-radius: 0;
    overflow: hidden;
}

.bd-home-hero__slide {
    position: relative;
    min-height: 520px;
    background: var(--bd-navy);
}

.bd-home-hero__media {
    position: absolute;
    inset: 0;
    display: block;
}

.bd-home-hero__media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.bd-home-hero__slide--with-copy::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(270deg, rgba(7, 29, 54, .84), rgba(7, 29, 54, .5), rgba(7, 29, 54, .18));
}

.bd-home-hero__copy {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 40px));
    max-width: none;
    margin: 0 auto;
    padding: 110px 0 156px;
    color: #fff;
    direction: rtl;
    text-align: right;
}

.bd-home-hero__copy strong {
    display: block;
    max-width: 680px;
    font-family: var(--font-heading);
    font-size: 32px;
    line-height: 1.45;
    font-weight: 900;
    text-shadow: 0 8px 28px rgba(0, 0, 0, .24);
}

.bd-home-hero__copy p {
    max-width: 660px;
    margin: 14px 0 0;
    color: rgba(255, 255, 255, .9);
    font-size: 16px;
    line-height: 1.9;
    text-shadow: 0 6px 22px rgba(0, 0, 0, .18);
}

.bd-home-hero__copy a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    margin-top: 22px;
    padding: 0 24px;
    border-radius: 8px;
    background: var(--bd-red);
    color: #fff;
    font-weight: 800;
    box-shadow: 0 14px 30px rgba(237, 35, 36, .24);
    transition: transform .2s ease, background .2s ease;
}

.bd-home-hero__copy a:hover {
    color: #fff;
    background: var(--bd-red-dark);
    transform: translateY(-1px);
}

.bd-home-hero .owl-dots {
    position: absolute;
    bottom: 28px;
    left: 0;
    right: 0;
}

.bd-home-search {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(220px, .7fr) 150px;
    gap: 12px;
    width: min(980px, calc(100% - 48px));
    margin: -46px auto 0;
    padding: 14px;
    border: 1px solid rgba(18, 48, 84, .08);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 22px 60px rgba(14, 37, 68, .16);
}

.bd-home-search__field {
    position: relative;
}

.bd-home-search__field i {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #8a99ad;
}

.bd-home-search input,
.bd-home-search select {
    width: 100%;
    min-height: 48px;
    border: 1px solid #dce6f2;
    border-radius: 8px;
    background: #fff;
    color: var(--bd-text);
    padding: 10px 42px 10px 14px;
}

.bd-home-search button {
    min-height: 48px;
    border: 0;
    border-radius: 8px;
    background: var(--bd-red);
    color: #fff;
    font-weight: 800;
}

.bd-home-intro {
    padding: 78px 0 34px;
    text-align: center;
}

.bd-home-intro span,
.bd-home-section__head span,
.bd-home-cta span {
    display: inline-flex;
    color: var(--bd-red);
    font-weight: 800;
    margin-bottom: 10px;
}

.bd-home-intro h1 {
    max-width: 900px;
    margin: 0 auto;
    color: var(--bd-navy-2);
    font-size: 42px;
    line-height: 1.45;
    font-weight: 800;
}

.bd-home-intro p,
.bd-home-section__head p {
    max-width: 820px;
    margin: 14px auto 0;
    color: var(--bd-muted);
    font-size: 16px;
    line-height: 2;
}

.bd-home-section {
    padding: 54px 0;
}

.bd-home-section--compact {
    padding-top: 34px;
}

.bd-home-section--soft {
    background: var(--bd-soft);
}

.bd-home-pills-section {
    padding: 20px 0 40px;
}

.bd-home-section__head {
    text-align: center;
    margin-bottom: 30px;
}

.bd-home-section__head h2 {
    color: var(--bd-navy-2);
    font-size: 30px;
    line-height: 1.45;
    font-weight: 800;
    margin: 0;
}

.bd-home-quick-grid,
.bd-home-menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.bd-home-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.bd-home-pills a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid #dce6f2;
    border-radius: 999px;
    background: #fff;
    color: var(--bd-navy-2);
    font-weight: 800;
    box-shadow: 0 10px 26px rgba(14, 37, 68, .06);
}

.bd-home-pills a:hover {
    border-color: var(--bd-blue);
    color: var(--bd-blue);
}

.bd-home-menu-card {
    position: relative;
    display: grid;
    grid-template-rows: 96px auto auto auto;
    overflow: hidden;
    min-height: 226px;
    border: 1px solid #e2eaf4;
    border-radius: 14px;
    background: #fff;
    color: var(--bd-text);
    box-shadow: 0 16px 38px rgba(14, 37, 68, .1);
    text-align: center;
    transition: transform .2s ease, box-shadow .2s ease;
}

.bd-home-menu-card__image {
    position: relative;
    display: block;
    overflow: hidden;
}

.bd-home-menu-card__image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 29, 54, .1), rgba(7, 29, 54, .35));
}

.bd-home-menu-card__image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .3s ease;
}

.bd-home-menu-card__icon {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin: -31px auto 12px;
    border: 4px solid #fff;
    border-radius: 50%;
    background: var(--bd-red);
    color: #fff;
    font-size: 22px;
    box-shadow: 0 12px 24px rgba(237, 35, 36, .24);
}

.bd-home-menu-card strong {
    display: block;
    padding: 0 16px;
    color: var(--bd-navy-2);
    font-family: var(--font-heading);
    font-size: 18px;
    line-height: 1.5;
    font-weight: 800;
}

.bd-home-menu-card em {
    display: block;
    min-height: 44px;
    padding: 7px 18px 0;
    color: var(--bd-muted);
    font-style: normal;
    font-size: 13px;
    line-height: 1.7;
}

.bd-home-menu-card small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 12px auto 18px;
    color: var(--bd-blue);
    font-size: 13px;
    font-weight: 800;
}

.bd-home-menu-card:hover {
    color: var(--bd-text);
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(14, 37, 68, .14);
}

.bd-home-menu-card:hover .bd-home-menu-card__image img {
    transform: scale(1.05);
}

.bd-home-quick-card {
    position: relative;
    min-height: 190px;
    overflow: hidden;
    border-radius: 14px;
    background: var(--bd-navy);
    box-shadow: 0 18px 46px rgba(14, 37, 68, .12);
    color: #fff;
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.bd-home-quick-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .7;
    transition: transform .35s ease;
}

.bd-home-quick-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 26, 51, .05), rgba(6, 26, 51, .84));
}

.bd-home-quick-card:hover img {
    transform: scale(1.05);
}

.bd-home-quick-card span,
.bd-home-quick-card strong,
.bd-home-quick-card em {
    position: relative;
    z-index: 2;
}

.bd-home-quick-card span {
    color: rgba(255, 255, 255, .82);
    font-size: 13px;
}

.bd-home-quick-card strong {
    font-family: var(--font-heading);
    font-size: 21px;
    line-height: 1.45;
    margin-top: 5px;
}

.bd-home-quick-card em {
    color: rgba(255, 255, 255, .78);
    font-style: normal;
    font-size: 13px;
    margin-top: 6px;
}

.bd-home-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bd-home-product-grid .bd-product-card h3 {
    min-height: auto;
}

.bd-home-product-grid .bd-card,
.bd-home-product-grid .bd-card__body,
.bd-home-product-grid .bd-card__meta,
.bd-home-product-grid .bd-product-footer {
    direction: rtl;
    text-align: right;
}

.bd-home-product-grid .bd-card__meta {
    justify-content: flex-start;
}

.bd-outside-egypt-section {
    padding-top: 28px;
}

.bd-home-month-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: -6px 0 26px;
    direction: rtl;
}

.bd-home-month-filter button {
    min-height: 40px;
    padding: 0 18px;
    border: 1px solid #dce6f2;
    border-radius: 999px;
    background: #fff;
    color: var(--bd-navy-2);
    font-weight: 800;
    box-shadow: 0 10px 26px rgba(14, 37, 68, .06);
    cursor: pointer;
    transition: .2s ease;
}

.bd-home-month-filter button:hover,
.bd-home-month-filter button.is-active {
    border-color: var(--bd-red);
    background: var(--bd-red);
    color: #fff;
    box-shadow: 0 14px 28px rgba(237, 35, 36, .18);
}

.bd-outside-egypt-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    direction: rtl;
}

.bd-outside-tour-card {
    display: flex;
    min-height: 100%;
    overflow: hidden;
    flex-direction: column;
    border: 1px solid #e2eaf4;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 16px 38px rgba(14, 37, 68, .1);
    text-align: right;
    transition: transform .2s ease, box-shadow .2s ease;
}

.bd-outside-tour-card.is-hidden-by-limit {
    display: none;
}

.bd-outside-tour-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 54px rgba(14, 37, 68, .14);
}

.bd-outside-tour-card__image {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #eef3f8;
}

.bd-outside-tour-card__image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .35s ease;
}

.bd-outside-tour-card:hover .bd-outside-tour-card__image img {
    transform: scale(1.05);
}

.bd-outside-tour-card__date {
    position: absolute;
    right: 14px;
    bottom: 14px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(6, 26, 51, .78);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    backdrop-filter: blur(8px);
}

.bd-outside-tour-card__date i {
    color: #ffcf59;
}

.bd-outside-tour-card__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 18px;
}

.bd-outside-tour-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 10px;
}

.bd-outside-tour-card__meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--bd-muted);
    font-size: 12px;
    font-weight: 800;
}

.bd-outside-tour-card__meta i {
    color: var(--bd-blue);
}

.bd-outside-tour-card h3 {
    min-height: 56px;
    margin: 0;
    color: var(--bd-navy-2);
    font-family: var(--font-heading);
    font-size: 19px;
    line-height: 1.5;
    font-weight: 850;
}

.bd-outside-tour-card h3 a {
    color: inherit;
}

.bd-outside-tour-card h3 a:hover {
    color: var(--bd-blue);
}

.bd-outside-tour-card p {
    min-height: 50px;
    margin: 10px 0 16px;
    color: var(--bd-muted);
    font-size: 14px;
    line-height: 1.8;
}

.bd-outside-tour-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #edf2f8;
}

.bd-outside-tour-card__footer strong {
    color: var(--bd-red);
    font-size: 19px;
    line-height: 1.3;
    font-weight: 900;
    white-space: nowrap;
}

.bd-outside-tour-card__footer a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid #d9e2ef;
    border-radius: 8px;
    color: var(--bd-blue);
    font-size: 13px;
    font-weight: 850;
}

.bd-outside-tour-card__footer a:hover {
    border-color: var(--bd-blue);
    background: #f7fbff;
    color: var(--bd-blue-2);
}

.bd-outside-egypt-empty {
    margin: 22px 0 0;
    padding: 18px;
    border: 1px solid #edf2f8;
    border-radius: 12px;
    background: #fff;
    color: var(--bd-muted);
    text-align: center;
    font-weight: 800;
}

.bd-home-more {
    text-align: center;
    margin-top: 28px;
}

.bd-home-more a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 24px;
    border: 1px solid var(--bd-blue);
    border-radius: 8px;
    color: var(--bd-blue);
    font-weight: 800;
}

.bd-home-more a:hover {
    background: var(--bd-blue);
    color: #fff;
}

.bd-home-cta {
    padding: 56px 0;
}

.bd-home-cta .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 34px;
    border-radius: 16px;
    background: linear-gradient(270deg, var(--bd-navy), var(--bd-navy-2));
    color: #fff;
    direction: rtl;
    text-align: right;
}

.bd-home-cta .container > div {
    flex: 1 1 auto;
}

.bd-home-cta h2 {
    max-width: 780px;
    margin: 0;
    color: #fff;
    font-size: 27px;
    line-height: 1.55;
    font-weight: 800;
}

.bd-home-cta p {
    margin: 10px 0 0;
    color: rgba(255, 255, 255, .78);
    line-height: 1.9;
}

.bd-home-cta a {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    min-width: 160px;
    padding: 0 24px;
    border-radius: 8px;
    background: var(--bd-red);
    color: #fff;
    font-weight: 800;
}

@media (max-width: 991px) {
    .bd-home-hero__slide {
        min-height: 360px;
    }

    .bd-home-hero__copy {
        padding: 70px 34px 130px;
    }

    .bd-home-hero__copy strong {
        font-size: 27px;
    }

    .bd-home-search,
    .bd-home-quick-grid,
    .bd-home-menu-grid,
    .bd-outside-egypt-grid,
    .bd-home-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bd-home-search button {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767px) {
    .bd-home-hero {
        padding-top: 0;
    }

    .bd-home-hero__shell {
        width: 100%;
    }

    .bd-home-hero__slide {
        min-height: 300px;
        border-radius: 0;
    }

    .bd-home-hero__copy {
        width: calc(100% - 28px);
        padding: 42px 0 108px;
    }

    .bd-home-hero__copy strong {
        max-width: 100%;
        font-size: 23px;
    }

    .bd-home-hero__copy p {
        max-width: 100%;
        font-size: 14px;
        line-height: 1.8;
    }

    .bd-home-hero__copy a {
        min-height: 44px;
        padding: 0 20px;
    }

    .bd-home-search {
        width: calc(100% - 24px);
        grid-template-columns: 1fr;
        margin-top: -34px;
    }

    .bd-home-intro {
        padding-top: 62px;
    }

    .bd-home-intro h1 {
        font-size: 28px;
    }

    .bd-home-section__head h2 {
        font-size: 24px;
    }

    .bd-home-quick-grid,
    .bd-home-menu-grid,
    .bd-outside-egypt-grid,
    .bd-home-product-grid {
        grid-template-columns: 1fr;
    }

    .bd-home-month-filter {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        margin-right: -12px;
        margin-left: -12px;
        padding: 0 12px 6px;
        -webkit-overflow-scrolling: touch;
    }

    .bd-home-month-filter button {
        flex: 0 0 auto;
    }

    .bd-outside-tour-card h3,
    .bd-outside-tour-card p {
        min-height: auto;
    }

    .bd-outside-tour-card__footer {
        align-items: stretch;
        flex-direction: column;
    }

    .bd-outside-tour-card__footer a {
        width: 100%;
    }

    .bd-home-cta .container {
        flex-direction: column;
        align-items: stretch;
        text-align: right;
        padding: 26px 18px;
    }

    .bd-home-cta a {
        width: 100%;
    }
}
