/* =========================================================
   فجر النسك — أنماط الموقع
   ملاحظة: تم فصل CSS عن HTML دون تغيير قيم التصميم.
   ========================================================= */

/* Layout: RTL multi-page site matching the Figma design: white navbar with logo, dark-green hero, section pages tinted by their sitemap color, dark-green footer. WhatsApp replaces all booking. */
:root {
    --bg:#FAFAF7;
    --surface:#FFFFFF;
    --ink:#2B2021;
    --muted:#756568;
    --line:#E9DFE0;

    /* الهوية الخمرية الجديدة */
    --g900:#542027;
    --g800:#702B35;
    --g600:#8B3945;
    --g100:#EBDADD;
    --g50:#F8EFF0;

    /* الذهبي */
    --gold:#B88A2E;
    --gold5:#CFA23F;
    --gold50:#FBF4E3;

    /* واتساب */
    --wa:#0E8A43;

    --logo-bg:transparent;

    /* تذييل الموقع */
    --foot-bg:#542027;
    --foot-ink:#F8EFF0;

    --shadow:0 10px 30px rgba(84,32,39,.10);

    /* ألوان الصفحات */
    --about:#702B35;
    --services:#8B3945;
    --companies:#702B35;
    --hotels:#8B3945;
    --transport:#702B35;
    --achv:#8B3945;
    --partners:#702B35;
    --partnership:#8B3945;
    --contact:#542027;

    --font:'Cairo',system-ui,-apple-system,'Segoe UI',Tahoma,sans-serif
}
* {
    box-sizing:border-box
}
body {
    background:var(--bg);
    color:var(--ink);
    font-family:var(--font);
    font-size:16px;
    line-height:1.7;
    padding-inline:16px
}
.wrap {
    max-width:1200px;
    margin-inline:auto
}
h1,h2,h3 {
    line-height:1.3;
    text-wrap:balance;
    margin:0
}
p {
    margin:0
}
a {
    color:inherit
}
button {
    font:inherit;
    color:inherit
}
:focus-visible {
    outline:3px solid var(--gold5);
    outline-offset:2px
}
/* header */
header {
    position:sticky;
    top:env(safe-area-inset-top,0px);
    z-index:20;
    background:var(--surface);
    border-bottom:1px solid var(--line);
    margin-inline:-16px;
    padding:8px 16px
}
.hbar {
    max-width:1200px;
    margin-inline:auto;
    display:flex;
    align-items:center;
    gap:20px
}
.logo-btn {
    background:var(--logo-bg);
    border:0;
    border-radius:10px;
    padding:2px 4px;
    cursor:pointer;
    display:flex
}
.logo-img {
    background:none!important;
    height:68px;
    width:auto;
    display:block
}
.logo-img,.logo-full {
    filter:none
}
.logo-full {
    height:150px;
    width:auto;
    display:block;
    max-width:100%
}
.links {
    display:flex;
    gap:4px;
    flex:1;
    justify-content:center;
    flex-wrap:wrap
}
.links a {
    text-decoration:none;
    font-size:14px;
    font-weight:600;
    padding:6px 10px;
    border-radius:999px;
    white-space:nowrap
}
.links a:hover {
    background:var(--g50)
}
.links a[aria-current="page"] {
    color:var(--g800);
    background:var(--g50)
}
.menu-btn {
    display:none;
    margin-inline-start:auto;
    border:1px solid var(--line);
    background:transparent;
    border-radius:12px;
    width:44px;
    height:44px;
    cursor:pointer;
    place-items:center
}
.menu-btn svg {
    width:26px;
    height:26px;
    stroke:currentColor;
    stroke-width:2.2;
    stroke-linecap:round
}
/* buttons */
.btn {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    border:0;
    border-radius:12px;
    padding:12px 24px;
    font-weight:700;
    cursor:pointer;
    text-decoration:none;
    background:var(--g800);
    color:#fff;
    font-size:16px
}
.btn.wa {
    background:var(--wa);
    color:#fff
}
.btn.gold {
    background:var(--gold5);
    color:#14231C
}
.btn.ghost {
    background:transparent;
    border:1.5px solid currentColor;
    color:var(--ink)
}
.hotel h3 a {
    text-decoration:none
}
.btn.sm {
    padding:8px 16px;
    font-size:15px
}
.wa-i {
    width:22px;
    height:22px;
    stroke:currentColor;
    fill:none;
    stroke-width:1.8;
    stroke-linecap:round;
    stroke-linejoin:round;
    flex:none
}
.fab {
    position:fixed;
    left:16px;
    bottom:calc(16px + env(safe-area-inset-bottom,0px));
    z-index:30;
    padding:14px 22px;
    border-radius:999px;
    box-shadow:0 8px 24px rgba(0,0,0,.28);
    font-size:17px
}
/* sections */
main {
    padding-bottom:24px;
    --c:var(--g800)
}
.crumbs {
    display:flex;
    gap:8px;
    color:var(--muted);
    font-size:14px;
    padding-block:18px;
    flex-wrap:wrap
}
.crumbs a {
    text-decoration:none
}
.crumbs a:hover {
    text-decoration:underline
}
.hero {
    background:var(--c);
    color:#fff;
    border-radius:28px;
    padding:56px 40px;
    position:relative;
    overflow:hidden;
    margin-top:16px
}
.hero.home {
    background:var(--g800);
    padding-block:72px
}
.hero::before {
    content:"";
    position:absolute;
    inset-inline-start:-120px;
    top:-140px;
    width:420px;
    height:420px;
    border-radius:50%;
    background:rgba(207,162,63,.18)
}
.hero::after {
    content:"";
    position:absolute;
    inset-inline-end:-100px;
    bottom:-160px;
    width:380px;
    height:380px;
    border-radius:50%;
    background:rgba(207,162,63,.12)
}
.hero>* {
    position:relative;
    z-index:1
}
.hero h1 {
    font-size:clamp(34px,6vw,60px);
    font-weight:800;
    max-width:18ch
}
.hero p {
    color:rgba(255,255,255,.9);
    font-size:19px;
    max-width:56ch;
    margin:12px 0 26px
}
.hero .row {
    display:flex;
    gap:12px;
    flex-wrap:wrap
}
.hero .btn.ghost {
    color:#fff
}
.sec {
    margin-top:56px
}
.sec.band {
    background:var(--g50);
    border-radius:28px;
    padding:40px 24px
}
.sec h2 {
    font-size:30px;
    font-weight:800;
    color:var(--ct)
}
.sec .sub {
    color:var(--muted);
    margin-top:4px
}
.grid {
    display:grid;
    gap:20px;
    margin-top:24px;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr))
}
.grid.s {
    grid-template-columns:repeat(auto-fit,minmax(170px,1fr))
}
.grid>* {
    min-width:0
}
.card {
    background:var(--surface);
    border:1.5px solid var(--line);
    border-radius:20px;
    padding:24px;
    display:grid;
    gap:8px;
    align-content:start
}
a.card {
    text-decoration:none;
    color:inherit
}
a.card:hover {
    border-color:var(--c)
}
.card h3 {
    font-size:20px;
    font-weight:700
}
.card .d {
    color:var(--muted)
}
.card.top {
    border-top:5px solid var(--c)
}
.ico {
    width:56px;
    height:56px;
    border-radius:50%;
    background:var(--c);
    display:grid;
    place-items:center;
    margin-bottom:6px
}
.ico svg {
    width:28px;
    height:28px;
    stroke:#fff;
    fill:none;
    stroke-width:2;
    stroke-linecap:round;
    stroke-linejoin:round
}
.hotel {
    padding:0;
    overflow:hidden;
    gap:0
}
.hotel .img {
    background:var(--g100);
    display:grid;
    place-items:center;
    height:170px;
    color:var(--g800)
}
.hotel .img svg {
    width:56px;
    height:56px;
    stroke:currentColor;
    fill:none;
    stroke-width:1.6;
    stroke-linecap:round;
    stroke-linejoin:round
}
.hotel .b {
    padding:16px;
    display:grid;
    gap:8px
}
.meta {
    display:flex;
    justify-content:space-between;
    gap:8px;
    align-items:center;
    color:var(--muted);
    font-size:14px
}
.star {
    color:var(--gold);
    font-weight:700
}
.price {
    font-weight:700;
    color:var(--ct)
}
.stat {
    text-align:center;
    background:var(--gold50);
    border-color:var(--gold5)
}
.stat b {
    display:block;
    font-size:30px;
    color:var(--gold);
    line-height:1.3
}
.pills {
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:20px
}
.pill {
    display:inline-flex;
    gap:8px;
    align-items:center;
    border-radius:999px;
    padding:10px 20px;
    font-weight:600;
    background:color-mix(in srgb,var(--c) 12%,var(--surface));
    border:1.5px solid color-mix(in srgb,var(--c) 30%,var(--line))
}
a.pill {
    text-decoration:none
}
a.pill:hover {
    border-color:var(--c)
}
.checks {
    list-style:none;
    padding:0;
    margin:16px 0 0;
    display:grid;
    gap:10px
}
.checks li::before {
    content:"✓";
    color:var(--ct);
    font-weight:800;
    margin-inline-end:10px
}
.split {
    display:grid;
    grid-template-columns:1fr 340px;
    gap:32px;
    align-items:start;
    margin-top:32px
}
.split>* {
    min-width:0
}
.info {
    display:flex;
    justify-content:space-between;
    gap:12px;
    padding-block:9px;
    border-bottom:1px dashed var(--line)
}
.info:last-of-type {
    border:0
}
.info span:first-child {
    color:var(--muted)
}
.gal {
    display:grid;
    grid-template-columns:2.4fr 1fr;
    gap:14px;
    margin-top:20px
}
.ph {
    border-radius:20px;
    background:var(--g100);
    display:grid;
    place-items:center;
    color:var(--muted);
    font-size:13px;
    text-align:center;
    min-height:110px
}
.ph.m {
    min-height:360px
}
.thumbs {
    display:grid;
    gap:14px;
    grid-template-rows:repeat(3,1fr)
}
.cta {
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
    flex-wrap:wrap;
    background:color-mix(in srgb,var(--c) 10%,var(--surface));
    border:1.5px solid var(--c);
    border-radius:24px;
    padding:28px
}
.cta>div {
    flex:1 1 300px;
    min-width:0
}
.cta h2 {
    font-size:24px;
    color:var(--ink)
}
.tbl {
    overflow-x:auto;
    margin-top:20px;
    border:1.5px solid var(--line);
    border-radius:16px
}
table {
    border-collapse:collapse;
    width:100%;
    min-width:440px;
    background:var(--surface)
}
th,td {
    padding:12px 16px;
    text-align:start;
    border-bottom:1px solid var(--line)
}
th {
    background:color-mix(in srgb,var(--c) 12%,var(--surface))
}
tr:last-child td {
    border:0
}
.note {
    font-size:13px;
    color:var(--muted);
    margin-top:12px
}
.num {
    direction:ltr;
    unicode-bidi:plaintext;
    display:inline-block;
    font-weight:700
}
footer {
    background:var(--foot-bg);
    color:var(--foot-ink);
    border-top:1px solid var(--line);
    margin-inline:-16px;
    padding:40px 16px 96px;
    margin-top:64px
}
footer .wrap {
    display:grid;
    gap:12px
}
footer .chip {
    background:transparent;
    padding:0;
    justify-self:start;
    display:flex
}
footer a.fl {
    color:#BFE8D2;
    text-decoration:none;
    font-weight:600
}
footer a.fl:hover {
    text-decoration:underline
}
footer .fls {
    display:flex;
    gap:8px 20px;
    flex-wrap:wrap;
    margin:6px 0
}
footer {
    border-top:0
}
footer .num {
    color:var(--foot-ink)
}
@media (max-width:1060px) {
    .links {
        display:none;
        position:absolute;
        inset-inline:0;
        top:100%;
        background:var(--surface);
        border-bottom:1px solid var(--line);
        padding:12px 16px;
        flex-direction:column;
        align-items:stretch
    }
    .links.open {
        display:flex
    }
    .links a {
        padding:12px;
        font-size:16px
    }
    .menu-btn {
        display:grid;
        margin-inline-start:0
    }
    .theme-btn {
        margin-inline-start:auto
    }
    .hbar>.btn {
        display:none
    }
}
@media (max-width:820px) {
    .split,.gal {
        grid-template-columns:1fr
    }
    .thumbs {
        grid-template-columns:repeat(3,1fr);
        grid-template-rows:auto
    }
    .ph.m {
        min-height:220px
    }
    .hero {
        padding:36px 22px
    }
    .hero.home {
        padding-block:44px
    }
    .sec h2 {
        font-size:26px
    }
}
@media (prefers-reduced-motion:no-preference) {
    .btn,.links a,a.card {
        transition:filter .15s,border-color .15s,background .15s
    }
    .btn:hover {
        filter:brightness(1.08)
    }
}
:root {
    color-scheme:light
}
:root[data-theme="dark"] {
    --bg:#0F1A15;
    --surface:#17241D;
    --ink:#EAF1EC;
    --muted:#9DB0A5;
    --line:#26372E;
    --g50:#15281F;
    --g100:#1F3A2C;
    --gold50:#2B2414;
    --shadow:0 10px 30px rgba(0,0,0,.4);
    --foot-bg:#09130F;
    --foot-ink:#D5EBE0;
    color-scheme:dark
}
:root[data-theme="dark"] .links a[aria-current="page"] {
    color:#BFE8D2
}
:root[data-theme="dark"] .hotel .img {
    color:var(--g600)
}
:root[data-theme="dark"] .pill.on {
    background:var(--g600);
    border-color:var(--g600)
}
.theme-btn {
    border:1px solid var(--line);
    background:transparent;
    color:var(--ink);
    border-radius:12px;
    width:44px;
    height:44px;
    cursor:pointer;
    display:grid;
    place-items:center;
    flex:none
}
.theme-btn svg {
    width:22px;
    height:22px;
    stroke:currentColor;
    fill:none;
    stroke-width:2;
    stroke-linecap:round;
    stroke-linejoin:round
}
body,header,.card,.hotel,footer {
    transition:background-color .25s ease,color .25s ease,border-color .25s ease
}
html {
    scroll-behavior:smooth
}
.skip {
    position:absolute;
    inset-inline-start:12px;
    top:-60px;
    background:var(--g800);
    color:#fff;
    padding:10px 16px;
    border-radius:10px;
    z-index:99;
    font-weight:700;
    text-decoration:none
}
.skip:focus {
    top:8px
}
.rv {
    opacity:0;
    transform:translateY(18px);
    transition:opacity .6s ease,transform .6s ease
}
.rv.in {
    opacity:1;
    transform:none
}
.card {
    transition:transform .2s ease,box-shadow .2s ease
}
@media (hover:hover) {
    a.card:hover,.hotel:hover {
        transform:translateY(-4px);
        box-shadow:var(--shadow)
    }
}
.faq details {
    background:var(--surface);
    border:1px solid var(--line);
    border-radius:14px;
    padding:0 18px;
    margin-bottom:10px
}
.faq summary {
    cursor:pointer;
    font-weight:700;
    padding:16px 0;
    list-style:none;
    display:flex;
    justify-content:space-between;
    gap:12px;
    align-items:center
}
.faq summary::-webkit-details-marker {
    display:none
}
.faq summary::after {
    content:"+";
    font-size:24px;
    color:var(--g600);
    line-height:1
}
.faq details[open] summary::after {
    content:"\2212"
}
.faq details p {
    margin:0 0 16px;
    color:var(--muted);
    line-height:1.9
}
.totop {
    position:fixed;
    right:16px;
    bottom:calc(16px + env(safe-area-inset-bottom,0px));
    z-index:30;
    width:46px;
    height:46px;
    border-radius:50%;
    border:1px solid var(--line);
    background:var(--surface);
    color:var(--g800);
    box-shadow:var(--shadow);
    cursor:pointer;
    display:none;
    place-items:center;
    font-size:20px
}
.totop.show {
    display:grid
}
@media (prefers-reduced-motion:reduce) {
    html {
        scroll-behavior:auto
    }
    .rv {
        opacity:1;
        transform:none;
        transition:none
    }
    .card {
        transition:none
    }
}
.pill.on {
    background:var(--g800);
    color:#fff;
    border-color:var(--g800)
}
button.pill {
    cursor:pointer;
    font-family:inherit;
    font-size:inherit
}
.more {
    color:var(--ct);
    font-weight:700;
    display:inline-block;
    margin-top:8px
}
a.card.top {
    text-decoration:none;
    color:inherit
}


/* صفحة من نحن: أقسام مستقلة مع صورة على يسار النص */
.about-details {
    display: grid;
    grid-template-columns: minmax(150px, 230px) minmax(0, 1fr);
    gap: 28px;
    align-items: center;
    direction: ltr;
    margin: 32px 0;
    padding: 28px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-inline-start: 5px solid var(--about);
    border-radius: 22px;
    box-shadow: var(--shadow);
    scroll-margin-top: 110px;
}
.about-details .about-detail-image {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 16px;
    background: var(--g50);
}
.about-details .about-detail-copy {
    min-width: 0;
    direction: rtl;
    text-align: right;
}
.about-details .about-detail-copy h2 {
    color: var(--about);
    font-size: clamp(23px, 3vw, 30px);
    margin: 0 0 14px;
}
.about-details .about-detail-copy p {
    color: var(--muted);
    line-height: 2;
    margin: 0 0 12px;
}
.about-details .about-detail-copy p:last-child {
    margin-bottom: 0;
}
.about-links a {
    scroll-margin-top: 110px;
}
@media (max-width: 700px) {
    .about-details {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 18px;
        margin: 24px 0;
    }
    .about-details .about-detail-image {
        width: min(100%, 300px);
        aspect-ratio: 16 / 10;
        justify-self: center;
    }
}

/* =========================================================
   شركات المجموعة — بطاقات صور متوافقة مع الهوية البصرية
   ========================================================= */
.hero.companies-hero {
    background-color: #542027;
background-image: linear-gradient(90deg, rgba(84, 32, 39, .48), rgba(84, 32, 39, .94) 58%), url('../images/companies-hero.jpg');    background-position: center, left center;
    background-size: cover;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.hero.companies-hero::before {
    background: rgba(255,255,255,.09);
}
.hero.companies-hero::after {
    background: rgba(207,162,63,.12);
}
.hero.companies-hero h1,
.hero.companies-hero p {
    margin-inline-start: auto;
    text-align: right;
}
.company-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
    gap: 20px;
}
a.company-card,
a.company-card:hover,
a.company-card:focus-visible,
a.company-card * {
    text-decoration: none !important;
}
a.company-card {
    --company-accent: #702B35;    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    overflow: hidden;
    min-height: 440px;
    border: 1.5px solid color-mix(in srgb, var(--company-accent) 58%, white);
    border-radius: 20px;
    background: var(--surface, #fff);
    box-shadow: 0 8px 22px rgba(31, 28, 43, .07);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
a.company-card--hajj { --company-accent: #702B35; }
a.company-card--umrah { --company-accent: #8B3945; }
a.company-card--transport { --company-accent: #702B35; }
a.company-card--hotels { --company-accent: #8B3945; }a.company-card:hover,
a.company-card:focus-visible {
    border-color: var(--company-accent);
    transform: translateY(-5px);
    box-shadow: 0 15px 32px rgba(31, 28, 43, .13);
    outline: none;
}
.company-card__cover {
    width: 100%;
    height: 178px;
    flex: 0 0 178px;
    background-color: color-mix(in srgb, var(--company-accent) 25%, #f8f5ef);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}
.company-card__cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20, 17, 25, .02) 40%, rgba(20, 17, 25, .25));
}
.company-card__logo-wrap {
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    width: min(78%, 210px);
    height: 100px;
    flex: 0 0 100px;
    margin: -42px auto 0;
    padding: 10px 14px;
    display: grid;
    place-items: center;
    border: 1px solid color-mix(in srgb, var(--company-accent) 35%, white);
    border-radius: 17px;
    background: rgba(255,255,255,.97);
    box-shadow: 0 7px 18px rgba(25, 25, 25, .10);
}
.company-card__logo {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    image-rendering: auto;
}
.company-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: stretch;
    padding: 17px 19px 20px;
    text-align: right;
    direction: rtl;
}
.company-card__body h3 {
    margin: 0 0 9px;
    font-size: clamp(17px, 1.35vw, 20px);
    line-height: 1.65;
    color: var(--ink, #14231c);
}
.company-card__body .d {
    margin: 0;
    line-height: 1.9;
    font-size: 15px;
    color: var(--muted, #5e6b64);
}
.company-card__more {
    margin: auto auto 0;
    padding-top: 19px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #fff !important;
    font-weight: 750;
    min-width: 145px;
}
.company-card__more b {
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255,255,255,.2);
    font-size: 22px;
    line-height: 1;
}
.company-card__more {
  background: var(--companies, #702B35);
    border-radius: 999px;
    padding: 10px 22px;
    text-decoration: none !important;
    border: 0;
    margin-top: 20px;
    align-self: center;
}
@media (max-width: 1050px) {
    .company-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    .hero.companies-hero {
        min-height: 220px;
        padding: 36px 22px;
    }

    .company-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    a.company-card {
        min-height: 390px;
    }

    .company-card__cover {
        height: 190px;
        flex-basis: 190px;
    }

    .company-card__logo-wrap {
        height: 100px;
        flex: 0 0 100px;
        margin: -42px auto 14px;
    }

    .company-card__body {
        padding: 8px 19px 20px;
    }

    .company-card__body h3 {
        margin: 0 0 9px;
        font-size: clamp(17px, 1.35vw, 20px);
        line-height: 1.5;
        color: var(--ink, #14231c);
        position: relative;
        z-index: 2;
    }
}
    /* صور بطاقات الفنادق */
.hotel-cover {
    display: block;
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: #f3f1ed;
    border-radius: 14px 14px 0 0;
}

.hotel-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.35s ease;
}

.hotel-cover:hover img {
    transform: scale(1.04);
}

.hotel {
    overflow: hidden;
}

@media (max-width: 600px) {
    .hotel-cover {
        height: 210px;
    }
}
/* ========================================
   تحسين شكل بطاقات الفنادق
   ======================================== */

.hotel {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 0;
    gap: 0;
}

.hotel .hotel-cover {
    display: block;
    width: 100%;
    height: 230px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--g100);
}

.hotel .hotel-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hotel .b {
    padding: 18px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    flex: 1;
}

.hotel .b h3 {
    margin: 0;
    font-size: 20px;
    line-height: 1.6;
}

.hotel .meta {
    color: var(--muted);
    font-size: 14px;
}

.hotel .price {
    display: block;
    margin-top: 4px;
}

.hotel .btn {
    width: 100%;
    justify-content: center;
    margin-top: auto;
}

.hotel .hotel-cover img[src=""] {
    display: none;
}

/* توحيد ارتفاع بطاقات الفنادق داخل الشبكة */
#hg {
    align-items: stretch;
}

#hg .hotel {
    align-self: stretch;
}
/* شبكة الفنادق */
#hg {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

@media (max-width: 900px) {
    #hg {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    #hg {
        grid-template-columns: minmax(0, 1fr);
    }

    .hotel .hotel-cover {
        height: 220px;
    }
}

}
/* ===== تنسيق شبكة الفنادق وبطاقاتها ===== */

#hg {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 22px !important;
    align-items: stretch;
}

#hg .hotel {
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
    padding: 0;
    overflow: hidden;
    gap: 0;
}

#hg .hotel .hotel-cover {
    display: block;
    width: 100%;
    height: 230px;
    flex-shrink: 0;
    overflow: hidden;
}

#hg .hotel .hotel-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

#hg .hotel .b {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 10px;
    padding: 18px;
}

#hg .hotel .btn {
    width: 100%;
    justify-content: center;
    margin-top: auto;
}

@media (max-width: 900px) {
    #hg {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 600px) {
    #hg {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    #hg .hotel .hotel-cover {
        height: 220px;
    }
}
/* معرض الصور في صفحة تفاصيل الفندق */
.hotel-details-gallery {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 14px;
    margin: 28px 0;
    direction: rtl;
}

.hotel-details-gallery .hotel-main-image {
    height: 380px;
    min-width: 0;
    overflow: hidden;
    border-radius: 18px;
    background: var(--g100, #f3f4f6);
}

.hotel-details-gallery .hotel-side-images {
    display: grid;
    grid-template-rows: repeat(3, minmax(0, 1fr));
    gap: 14px;
    min-width: 0;
}

.hotel-details-gallery .hotel-side-images > div {
    min-height: 0;
    overflow: hidden;
    border-radius: 14px;
    background: var(--g100, #f3f4f6);
}

.hotel-details-gallery img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* وصف الفندق */
.hotel-description-section {
    margin: 30px 0;
    padding: 26px;
    border-radius: 18px;
    background: var(--card, #fff);
    border: 1px solid var(--border, #e5e7eb);
}

.hotel-description-section h2 {
    margin: 0 0 14px;
    font-size: 25px;
    line-height: 1.6;
    color: var(--ct, var(--ink, #222));
}

.hotel-description-section p {
    margin: 0;
    font-size: 17px;
    line-height: 2;
    color: var(--muted, #666);
    white-space: pre-line;
}

/* تحسين العرض على الجوال */
@media (max-width: 700px) {
    .hotel-details-gallery {
        grid-template-columns: 1fr;
    }

    .hotel-details-gallery .hotel-main-image {
        height: 260px;
    }

    .hotel-details-gallery .hotel-side-images {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: auto;
    }

    .hotel-details-gallery .hotel-side-images > div {
        height: 140px;
    }

    .hotel-description-section {
        padding: 18px;
    }

    .hotel-description-section h2 {
        font-size: 22px;
    }

    .hotel-description-section p {
        font-size: 16px;
    }
}
/* تخطيط تفاصيل الفندق: الصور يسار والوصف يمين */
.hotel-details-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
    direction: ltr;
    margin: 28px 0;
}

/* عمود الصور */
.hotel-gallery-column {
    min-width: 0;
}

/* إلغاء الهوامش الزائدة داخل عمود الصور */
.hotel-gallery-column .hotel-details-gallery {
    margin: 0;
}

/* صندوق وصف الفندق */
.hotel-details-layout .hotel-description-section {
    direction: rtl;
    text-align: right;
    margin: 0;
    padding: 28px;
    min-width: 0;
    box-sizing: border-box;
    border-radius: 18px;
    background: var(--card, #fff);
    border: 1px solid var(--border, #e5e7eb);
}

/* عنوان الوصف */
.hotel-description-section h2 {
    margin: 0 0 18px;
    font-size: 25px;
    line-height: 1.7;
}

/* نص الوصف */
.hotel-description-section p {
    margin: 0;
    font-size: 17px;
    line-height: 2;
    white-space: pre-line;
}

/* التوافق مع الجوال */
@media (max-width: 800px) {
    .hotel-details-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hotel-details-layout .hotel-description-section {
        padding: 22px;
    }
}
/* صور أسطول النقل */
.transport-fleet {
    align-items: stretch;
}

.transport-card {
    overflow: hidden;
    padding: 0;
    text-align: right;
}

.transport-img {
    display: block;
    width: 100%;
    height: 230px;
    object-fit: contain;
    background: #fff;
}

.transport-card-content {
    padding: 18px;
}

.transport-card-content h3 {
    margin: 0 0 10px;
}

.transport-card-content .d {
    line-height: 1.9;
    margin: 0;
}

/* عرض مناسب للهواتف */
@media (max-width: 768px) {
    .transport-img {
        height: 200px;
    }
}
/* معرض صور أسطول النقل */
.transport-showcase {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 18px;
    direction: rtl;
    margin-top: 20px;
}

.transport-showcase-main,
.transport-showcase-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: #123d2e;
}

.transport-showcase-main {
    min-height: 440px;
}

.transport-showcase-side {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 18px;
}

.transport-showcase-item {
    min-height: 210px;
}

.transport-showcase-main img,
.transport-showcase-item img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
}

.transport-showcase-caption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 35px 18px 18px;
    color: #fff;
    background: linear-gradient(
        transparent,
        rgba(0, 0, 0, 0.82)
    );
}

.transport-showcase-caption h3 {
    margin: 0 0 7px;
    color: #fff;
}

.transport-showcase-caption p {
    margin: 0;
    line-height: 1.8;
    color: #fff;
}

/* صور بطاقات الأسطول */
.transport-fleet {
    align-items: stretch;
}

.transport-card {
    overflow: hidden;
    padding: 0;
}

.transport-img {
    display: block;
    width: 100%;
    height: 230px;
    object-fit: contain;
    background: #fff;
}

.transport-card-content {
    padding: 18px;
}

.transport-card-content h3 {
    margin: 0 0 10px;
}

.transport-card-content .d {
    margin: 0;
    line-height: 1.9;
}

/* تنسيق الجوال */
@media (max-width: 768px) {
    .transport-showcase {
        grid-template-columns: 1fr;
    }

    .transport-showcase-main {
        min-height: 280px;
    }

    .transport-showcase-side {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
        gap: 10px;
    }

    .transport-showcase-item {
        min-height: 170px;
    }

    .transport-showcase-caption {
        padding: 28px 10px 12px;
    }

    .transport-showcase-caption h3 {
        font-size: 15px;
    }

    .transport-showcase-caption p {
        font-size: 12px;
    }

    .transport-img {
        height: 200px;
    }
}
/* وصف صفحة النقل خارج المربع الأخضر */
.transport-intro {
    max-width: 1100px;
    margin: 25px auto 45px;
    padding: 0 24px;
    text-align: center;
}

.transport-intro p {
    margin: 0;
    font-size: 18px;
    line-height: 2;
    color: var(--text, #333);
}

.transport-hero .row {
    margin-top: 25px;
}

@media (max-width: 768px) {
    .transport-intro {
        margin: 20px auto 30px;
        padding: 0 18px;
    }

    .transport-intro p {
        font-size: 16px;
    }
}
/* مقدمة صفحة النقل: النص يمينًا والصور يسارًا */
.transport-hero-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    direction: rtl;
    max-width: 1288px;
    margin: 20px auto 55px;
    padding: 45px;
    border-radius: 28px;
    background: #F8EFF0;
    box-sizing: border-box;
}

/* النص في الجهة اليمنى */
.transport-hero-text {
    text-align: right;
}

.transport-hero-text h1 {
    font-size: clamp(34px, 3.5vw, 52px);
    line-height: 1.5;
    margin: 0 0 20px;
    color: #702B35;
}

.transport-hero-text p {
    font-size: 20px;
    line-height: 2;
    margin: 0 0 25px;
    color: #756568;
}

.transport-hero-text .row {
    justify-content: flex-start;
}

/* الصور في الجهة اليسرى */
.transport-hero-images {
    display: grid;
    grid-template-rows: 280px 150px;
    gap: 12px;
    min-width: 0;
}

.transport-hero-main-image {
    overflow: hidden;
    border-radius: 20px;
}

.transport-hero-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.transport-hero-small-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.transport-hero-small-images img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 16px;
    display: block;
}

/* عرض الجوال */
@media (max-width: 768px) {
    .transport-hero-layout {
        grid-template-columns: 1fr;
        gap: 28px;
        margin: 15px;
        padding: 24px 18px;
        border-radius: 20px;
    }

    .transport-hero-text h1 {
        font-size: 32px;
    }

    .transport-hero-text p {
        font-size: 17px;
        line-height: 1.9;
    }

    .transport-hero-images {
        grid-template-rows: 220px 120px;
    }

    .transport-hero-small-images img {
        height: 120px;
    }
}
/* ==========================================
   صفحة الشركاء — الدول والشركات
   ========================================== */

.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    margin-top: 26px;
    align-items: stretch;
}

/* البطاقة الأساسية */
.partner-card {
    min-width: 0;
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    text-align: center;

    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 4px 14px rgba(20, 35, 28, 0.04);

    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        border-color 0.22s ease;
}

/* مساحة موحدة للصور */
.partner-image-box {
    width: 100%;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* أعلام الدول */
.partner-flag {
    display: block;
    width: 100%;
    max-width: 210px;
    height: 125px;
    object-fit: contain;
}

/* شعارات الشركات */
.partner-logo {
    display: block;
    width: 100%;
    max-width: 220px;
    height: 125px;
    object-fit: contain;
}

/* أسماء الدول والشركات */
.partner-card h3 {
    width: 100%;
    margin: 0;
    color: var(--ink);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

/* تأثير بسيط عند تمرير الماوس */
@media (hover: hover) {
    .partner-card:hover {
        transform: translateY(-4px);
        border-color: var(--partners);
        box-shadow: 0 10px 24px rgba(20, 35, 28, 0.10);
    }
}

/* الأجهزة اللوحية */
@media (max-width: 900px) {
    .partners-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px;
    }
}

/* الهواتف */
@media (max-width: 600px) {
    .partners-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .partner-card {
        padding: 14px 10px;
        border-radius: 14px;
        gap: 10px;
    }

    .partner-image-box {
        height: 105px;
    }

    .partner-flag,
    .partner-logo {
        height: 95px;
    }

    .partner-card h3 {
        font-size: 14px;
        line-height: 1.7;
    }
}

/* احترام إعداد تقليل الحركة */
@media (prefers-reduced-motion: reduce) {
    .partner-card {
        transition: none;
    }
}
.partnership-step-icon {
  width: 44px;
  height: 44px;
  object-fit: contain;
  margin-bottom: 12px;
}

.partnership-step {
  text-align: center;
}
/* بطاقات التواصل */
.contact-card {
  text-align: center;
  padding: 28px 20px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(25, 52, 83, 0.10);
}

.contact-icon {
  width: 42px;
  height: 42px;
  object-fit: contain;
  margin-bottom: 12px;
}

.contact-card h3 {
  color: #203e63;
  margin-bottom: 16px;
}

.contact-card .d a {
  color: inherit;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-card .d a:hover {
  color: #0d8b4b;
}

.contact-action {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 16px;
  background: #0d8b4b;
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  font-size: 14px;
  transition: background 0.2s ease;
}

.contact-action:hover {
  background: #08723c;
}

@media (max-width: 600px) {
  .contact-card {
    padding: 24px 16px;
  }

  .contact-icon {
    width: 38px;
    height: 38px;
  }
}
/* قسم الشهادات والجوائز */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

.achievement-card {
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    background: var(--surface, #fff);
}

.achievement-image {
    width: 100%;
    height: 320px;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f8f5;
    overflow: hidden;
}

.achievement-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
}

.achievement-card:hover .achievement-image img {
    transform: scale(1.035);
}

.achievement-content {
    padding: 18px;
    text-align: right;
    direction: rtl;
}

.achievement-content h3 {
    margin: 0 0 10px;
    line-height: 1.7;
}

.achievement-content .d {
    line-height: 1.9;
    margin: 0;
}

@media (max-width: 768px) {
    .achievements-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .achievement-image {
        height: 260px;
    }
}

@media (max-width: 480px) {
    .achievements-grid {
        grid-template-columns: 1fr;
    }

    .achievement-image {
        height: 340px;
    }
}
/* معرض صور خدمات الحج */
.hajj-company-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.hajj-company-gallery .card {
    overflow: hidden;
}

.hajj-company-gallery img {
    display: block;
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 12px;
}

.hajj-company-gallery .d {
    padding: 12px 4px 0;
    text-align: center;
}

@media (max-width: 768px) {
    .hajj-company-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .hajj-company-gallery {
        grid-template-columns: 1fr;
    }

    .hajj-company-gallery img {
        height: 260px;
    }
}
/* معرض صور شركة الرزانة */
.razana-gallery {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 20px;
align-items: stretch;
width: 100%;
margin: 25px auto;
}

.razana-gallery .card {
min-width: 0;
overflow: hidden;
padding: 0;
border-radius: 14px;
background: #fff;
border: 1px solid #e5e7eb;
box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
display: flex;
flex-direction: column;
}

.razana-gallery .card img {
display: block;
width: 100%;
height: 220px;
object-fit: cover;
object-position: center;
margin: 0;
border-radius: 0;
}

.razana-gallery .card .d {
padding: 14px 10px;
margin: 0;
text-align: center;
font-size: 15px;
line-height: 1.7;
color: var(--c);
font-weight: 600;
}

/* الأجهزة اللوحية */
@media (max-width: 900px) {
.razana-gallery {
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 16px;
}

.razana-gallery .card img {
    height: 200px;
}
```

}

/* الهواتف */
@media (max-width: 480px) {
.razana-gallery {
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 10px;
}

```
.razana-gallery .card img {
    height: 145px;
}

.razana-gallery .card .d {
    padding: 10px 6px;
    font-size: 13px;
}


}
/* =========================================
صفحة العمرة - Umrah Page
========================================= */

/* تنسيق الواجهة الرئيسية */
.umrah-hero {
background: linear-gradient(135deg, #542027, #8B3945);color: #fff;
border-radius: 24px;
padding: 55px 40px;
margin: 25px auto 40px;
position: relative;
overflow: hidden;
isolation: isolate;
}

.umrah-hero h1 {
color: #fff;
font-size: clamp(30px, 4vw, 46px);
line-height: 1.4;
margin-bottom: 15px;
}

.umrah-hero p {
color: #f0fff6;
font-size: 18px;
line-height: 2;
max-width: 700px;
}

.umrah-hero .btn {
margin-top: 18px;
}

/* شبكة بطاقات خدمات العمرة */
.umrah-services-grid {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 20px;
align-items: stretch;
}

.umrah-service-card {
padding: 25px 20px;
border-radius: 16px;
border: 1px solid rgba(112, 43, 53, 0.15);
background: var(--card, #fff);
transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.umrah-service-card:hover {
transform: translateY(-5px);
box-shadow: 0 12px 28px rgba(84, 32, 39, 0.12);
}

.umrah-service-icon {
width: 58px;
height: 58px;
display: flex;
align-items: center;
justify-content: center;
background: rgba(112, 43, 53, 0.09);
border-radius: 15px;
font-size: 29px;
margin-bottom: 18px;
}

.umrah-service-card h3 {
color: var(--ink);
font-size: 19px;
margin: 0 0 12px;
line-height: 1.7;
}

.umrah-service-card .d {
font-size: 15px;
line-height: 1.9;
margin: 0;
}

/* برامج العمرة */
.umrah-packages {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 20px;
}

.umrah-packages .card {
padding: 28px 22px;
border-radius: 16px;
border: 1px solid rgba(112, 43, 53, 0.15);
border-top: 4px solid var(--g600, #8B3945);
transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.umrah-packages .card:hover {
transform: translateY(-4px);
box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.umrah-packages h3 {
color: var(--ink);
margin: 0 0 12px;
font-size: 20px;
}

.umrah-packages .d {
line-height: 1.9;
margin: 0;
}

/* معرض صور العمرة */
.razana-gallery {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 22px;
align-items: stretch;
}

.razana-gallery .card {
min-width: 0;
overflow: hidden;
padding: 0;
border-radius: 16px;
background: var(--card, #fff);
border: 1px solid rgba(112, 43, 53, 0.15);
box-shadow: 0 5px 18px rgba(0, 0, 0, 0.07);
display: flex;
flex-direction: column;
}

.razana-gallery .card img {
display: block;
width: 100%;
height: 300px;
object-fit: cover;
object-position: center;
margin: 0;
}

.razana-gallery .card .d {
padding: 15px;
margin: 0;
text-align: center;
color: var(--ink);
font-size: 16px;
font-weight: 600;
line-height: 1.7;
}

/* زر التواصل */
#app .umrah-hero .btn.wa {
border-radius: 12px;
padding: 14px 24px;
font-weight: 700;
}

/* الأجهزة اللوحية */
@media (max-width: 900px) {
.umrah-services-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}

```
.umrah-packages {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.umrah-hero {
    padding: 40px 28px;
}

.razana-gallery .card img {
    height: 240px;
}
```

}

/* الهواتف */
@media (max-width: 520px) {
.umrah-hero {
padding: 32px 22px;
border-radius: 18px;
}

.umrah-hero p {
    font-size: 16px;
}

.umrah-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.umrah-service-card {
    padding: 18px 14px;
}

.umrah-service-icon {
    width: 46px;
    height: 46px;
    font-size: 24px;
    margin-bottom: 12px;
}

.umrah-service-card h3 {
    font-size: 16px;
}

.umrah-service-card .d {
    font-size: 13px;
    line-height: 1.8;
}

.umrah-packages {
    grid-template-columns: 1fr;
    gap: 14px;
}

.umrah-packages .card {
    padding: 22px 18px;
}

.razana-gallery {
    grid-template-columns: 1fr;
    gap: 16px;
}

.razana-gallery .card img {
    height: 230px;
}

}

/* =========================================
   صفحة الإرشاد الديني - Guidance Page
   تنسيقات مستقلة لا تؤثر على بقية الصفحات
========================================= */

/* الواجهة الرئيسية */
.guidance-hero {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
}

/* شبكة بطاقات الخدمات */
.guidance-services-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
    margin-top: 28px;
}

/* بطاقات خدمات الإرشاد */
.guidance-service-card {
    position: relative;
    padding: 26px 22px;
    text-align: center;
    border-radius: 18px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    box-sizing: border-box;
}

.guidance-service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.09);
}

.guidance-service-card h3 {
    margin: 14px 0 10px;
    font-size: 19px;
    line-height: 1.7;
}

.guidance-service-card p {
    font-size: 14px;
    line-height: 1.9;
    margin: 0;
}

/* أيقونات الخدمات */
.guidance-service-icon {
    width: 68px;
    height: 68px;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: rgba(185, 146, 74, 0.12);
    font-size: 32px;
    transition: transform 0.3s ease;
}

.guidance-service-card:hover .guidance-service-icon {
    transform: scale(1.08);
}

/* مراحل الإرشاد */
.guidance-stages {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 26px;
}

.guidance-stages .card {
    padding: 25px;
    border-radius: 18px;
    height: 100%;
    box-sizing: border-box;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.guidance-stages .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.guidance-stages h3 {
    margin: 0 0 12px;
    font-size: 20px;
    line-height: 1.7;
}

.guidance-stages p {
    margin: 0;
    line-height: 1.9;
}
.guidance-stages .card { min-width: 0; overflow: hidden; box-sizing: border-box; } .guidance-stages .card img { display: block; width: 100%; max-width: 100%; height: 220px; object-fit: cover; border-radius: 12px; box-sizing: border-box; }
/* صندوق أهمية الإرشاد الديني */
.guidance-message {
    padding: 28px 30px;
    border-radius: 18px;
    border-right: 5px solid #b9924a;
    background: rgba(185, 146, 74, 0.08);
    line-height: 2;
    font-size: 16px;
}

.guidance-message p {
    margin: 0 0 12px;
}

.guidance-message p:last-child {
    margin-bottom: 0;
}

/* معرض صور الإرشاد الديني */
.guidance-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 26px;
}

.guidance-gallery .card {
    overflow: hidden;
    border-radius: 18px;
    padding: 0;
    height: 100%;
}

.guidance-gallery img {
    display: block;
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.guidance-gallery .card:hover img {
    transform: scale(1.04);
}

.guidance-gallery .d {
    padding: 14px 18px;
    margin: 0;
    text-align: center;
    font-size: 15px;
    line-height: 1.8;
}

/* =========================================
   الأجهزة اللوحية
========================================= */
@media (max-width: 1000px) {
    .guidance-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .guidance-stages {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* =========================================
   الهواتف المحمولة
========================================= */
@media (max-width: 600px) {
    .guidance-services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .guidance-service-card {
        padding: 22px 18px;
    }

    .guidance-service-icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }

    .guidance-service-card h3 {
        font-size: 18px;
    }

    .guidance-stages {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .guidance-stages .card {
        padding: 22px 18px;
    }

    .guidance-message {
        padding: 22px 18px;
        font-size: 15px;
    }

    .guidance-gallery {
    grid-template-columns: 1fr;
}

}
/* =========================================
   تنسيق بطاقات الرعاية الصحية
========================================= */

.medical-care-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
    width: 100%;
}

.medical-care-grid .medical-care-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    height: 100%;
    padding: 0;
    overflow: hidden;
    box-sizing: border-box;
    border-radius: 18px;
}

.medical-care-grid .medical-care-card > img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 210px;
    flex-shrink: 0;
    object-fit: cover;
    object-position: center;
    border-radius: 18px 18px 0 0;
}

.medical-care-content {
    padding: 20px;
    box-sizing: border-box;
}

.medical-care-content h3 {
    margin: 0 0 12px;
    font-size: 19px;
    line-height: 1.7;
}

.medical-care-content p {
    margin: 0;
    font-size: 14px;
    line-height: 1.9;
}


/* =========================================
   تنسيق معرض الصور الطبية
========================================= */

.medical-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    width: 100%;
    margin-top: 26px;
}

.medical-gallery .card {
    min-width: 0;
    height: 100%;
    padding: 0;
    overflow: hidden;
    border-radius: 18px;
}

.medical-gallery img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 280px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.35s ease;
}

.medical-gallery .card:hover img {
    transform: scale(1.03);
}

.medical-gallery .d {
    margin: 0;
    padding: 14px 18px;
    text-align: center;
    font-size: 15px;
    line-height: 1.8;
}


/* =========================================
   الأجهزة اللوحية
========================================= */

@media (max-width: 1000px) {
    .medical-care-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .medical-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


/* =========================================
   الهواتف المحمولة
========================================= */

@media (max-width: 600px) {
.guidance-gallery {
grid-template-columns: 1fr;
}

.medical-care-grid {
    grid-template-columns: 1fr;
    gap: 16px;
}

.medical-care-grid .medical-care-card > img {
    height: 220px;
}

.medical-care-content {
    padding: 18px;
}

.medical-gallery {
    grid-template-columns: 1fr;
    gap: 18px;
}

.medical-gallery img {
    height: 230px;
}
/* إصلاح الصور داخل بطاقات مراحل الإرشاد الديني فقط */
}
/* تحسين شعار شركة فجر النسك لتشغيل الفنادق فقط */
a.company-card--hotels .company-card__logo-wrap {
    width: min(78%, 210px);
    height: 100px;
    flex: 0 0 100px;
    margin: -42px auto 0;
    padding: 12px;
    overflow: hidden;
    box-sizing: border-box;
}

a.company-card--hotels .company-card__logo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

a.company-card--hotels .company-card__body h3 {
    position: relative;
    z-index: 2;
    margin-top: 12px;
    line-height: 1.5;/
}
/* تنسيق شعار شركة فجر النسك لخدمات الحجاج */
a.company-card--hajj .company-card__logo-wrap {
    width: min(78%, 210px);
    height: 108px;
    flex: 0 0 108px;
    margin: -42px auto 0;
    padding: 10px;
    box-sizing: border-box;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: #fff;
}

a.company-card--hajj .company-card__logo {
     display: block; width: 100%; height: 100%; max-width: 100%; max-height: 100%; object-fit: contain; object-position: center 1%; }

/* تنسيق شعار شركة تشغيل الفنادق */
a.company-card--hotels .company-card__logo-wrap {
    width: min(78%, 210px);
    height: 108px;
    flex: 0 0 108px;
    margin: -42px auto 0;
    padding: 8px;
    box-sizing: border-box;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: #fff;
}

a.company-card--hotels .company-card__logo {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
}
a.company-card--hajj .company-card__logo { display: block; width: 100%; height: 100%; max-width: 100%; max-height: 100%; object-fit: contain; object-position: center !important; transform: translateY(-12px); }
/* صور بطاقات برامج العمرة */
.umrah-packages .umrah-package-card {
    padding: 0;
    overflow: hidden;
    height: 100%;
}

.umrah-packages .umrah-package-img {
    display: block;
    width: 100%;
    height: 210px;
    object-fit: cover;
    object-position: center;
}

.umrah-packages .umrah-package-content {
    padding: 20px;
}

.umrah-packages .umrah-package-content h3 {
    margin-top: 0;
}

.umrah-packages .umrah-package-content .d {
    margin-bottom: 0;
}

@media (max-width: 600px) {
    .umrah-packages .umrah-package-img {
        height: 190px;
    }
}
/* =================================
   Umrah Page - New Design
================================= */

.umrah-about-box {
    text-align: center;
    padding: 28px;
    border-radius: 16px;
    background: var(--surface, #fff);
    border: 1px solid rgba(0,0,0,.07);
}

.umrah-about-icon {
    font-size: 42px;
    margin-bottom: 12px;
}

.umrah-vision-box {
    text-align: center;
    padding: 30px;
    border-radius: 16px;
    background: var(--surface, #fff);
    border: 1px solid rgba(0,0,0,.07);
}

.umrah-vision-icon {
    font-size: 36px;
    display: block;
    margin-bottom: 10px;
}

.umrah-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.umrah-service-card {
    text-align: center;
    padding: 26px;
    height: 100%;
}

.umrah-service-icon {
    font-size: 38px;
    margin-bottom: 15px;
}

.umrah-achievements {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.umrah-achievement-card {
    text-align: center;
    padding: 28px 18px;
}

.umrah-achievement-number {
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 12px;
    direction: ltr;
}

.umrah-achievement-card h3 {
    font-size: 17px;
    line-height: 1.7;
}

.umrah-achievement-year {
    display: inline-block;
    margin-top: 10px;
    font-size: 13px;
    opacity: .7;
}

/* Mobile */
@media (max-width: 600px) {
    .umrah-services-grid,
    .umrah-achievements {
        grid-template-columns: 1fr;
    }

    .umrah-service-card,
    .umrah-achievement-card {
        padding: 22px 18px;
    }

    .umrah-about-box,
    .umrah-vision-box {
        padding: 22px 16px;
    }
}
/* Umrah - About and Vision Layout */

.umrah-intro-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 35px;
    align-items: center;
    direction: rtl;
}

.umrah-intro-text {
    text-align: right;
}

.umrah-intro-text h2 {
    font-size: 34px;
    font-weight: 800;
    color: #174b6b;
    margin-bottom: 18px;
}

.umrah-intro-text p {
    font-size: 20px;
    font-weight: 500;
    line-height: 2;
    color: #263746;
    margin: 0;
}

.umrah-about-box,
.umrah-vision-box {
    width: 100%;
    min-height: 320px;
    aspect-ratio: 1 / 1;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 25px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 18px;
}

.umrah-about-icon {
    font-size: 55px;
    margin-bottom: 18px;
}

.umrah-vision-icon {
    font-size: 55px;
    margin-bottom: 18px;
}

.umrah-about-box h3,
.umrah-vision-box h3 {
    font-size: 21px;
    font-weight: 800;
    color: #173f55;
}

.umrah-about-box p {
    font-size: 16px;
    line-height: 1.8;
}

/* Mobile */
@media (max-width: 700px) {
    .umrah-intro-layout {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .umrah-intro-text h2 {
        font-size: 28px;
    }

    .umrah-intro-text p {
        font-size: 18px;
    }

    .umrah-about-box,
    .umrah-vision-box {
        min-height: 260px;
        max-width: 320px;
        margin: auto;
    }
}
/* خلفية بطاقة من نحن */
.umrah-about-box {
    background:
        linear-gradient(rgba(0, 0, 0, 0.50), rgba(0, 0, 0, 0.65)),
        url("../images/من نحن.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* خلفية بطاقة رؤيتنا */
.umrah-vision-box {
    background:
        linear-gradient(rgba(0, 0, 0, 0.50), rgba(0, 0, 0, 0.65)),
        url("../images/رؤيتنا.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* النصوص فوق الصور */
.umrah-about-box h3,
.umrah-vision-box h3,
.umrah-about-box p,
.umrah-about-icon,
.umrah-vision-icon {
    color: #fff;
}
/* صور بطاقات خدمات العمرة */

.umrah-service-card {
    padding: 0;
    overflow: hidden;
    text-align: center;
}

.umrah-service-image {
    display: block;
    width: 100%;
    height: 210px;
    object-fit: cover;
}

.umrah-service-content {
    padding: 20px 18px 24px;
}

.umrah-service-content h3 {
    font-size: 19px;
    font-weight: 800;
    margin-bottom: 12px;
}

.umrah-service-content p {
    line-height: 1.8;
}
.umrah-about-box h3 {
    transform: translateY(25px);
}
}