@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;800;900&display=swap');

:root {
    --primary: #c4a87c;
    --primary-dark: #a38960;
    --text-main: #2c2825;
    --text-light: #666;
    --bg-body: #fdfbf7;
    --bg-white: #ffffff;
    --bg-checkered: #f4f4f4;

    --font-main: 'Tajawal', sans-serif;

    --transition: all 0.3s ease;
    --shadow-sm: 0 5px 15px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Floating Order pill */
.order-now {
    position: fixed;
    bottom: 26px;
    left: 22px;
    background: linear-gradient(90deg, #c4a87c 0%, #c4a87c 100%);
    color: #fff;
    border: none;
    padding: 10px 16px;
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(255, 123, 24, 0.18);
    display: inline-flex;
    gap: 8px;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    line-height: 1;
    z-index: 9999;
    text-decoration: none;
    transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}

/* Hide floating buttons when mobile menu is open */
body.no-scroll .order-now,
body.no-scroll .back-to-top {
    opacity: 0;
    pointer-events: none;
}

.order-now:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255, 123, 24, 0.22);
}

.order-now:active {
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .order-now {
        /* bottom: 82px; */
        left: 14px;
        padding: 9px 12px;
        font-size: 13px
    }
}

/* Language-aware positions: place the floating controls depending on page language/dir */
html:lang(en) .order-now,
html[dir="ltr"] .order-now {
    right: 22px;
    left: auto;
}

html:lang(en) .back-to-top,
html[dir="ltr"] .back-to-top {
    left: 22px;
    right: auto;
}

html:lang(ar) .order-now,
html[dir="rtl"] .order-now {
    left: 22px;
    right: auto;
}

html:lang(ar) .back-to-top,
html[dir="rtl"] .back-to-top {
    right: 22px;
    left: auto;
}

@media (max-width: 768px) {

    html:lang(en) .order-now,
    html[dir="ltr"] .order-now {
        right: 14px;
        left: auto;
    }

    html:lang(en) .back-to-top,
    html[dir="ltr"] .back-to-top {
        left: 14px;
        right: auto;
    }

    html:lang(ar) .order-now,
    html[dir="rtl"] .order-now {
        left: 14px;
        right: auto;
    }

    html:lang(ar) .back-to-top,
    html[dir="rtl"] .back-to-top {
        right: 14px;
        left: auto;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

body.no-scroll {
    overflow: hidden;
}


/* Utilities */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.btn {
    display: inline-block;
    padding: 12px 35px;
    background-color: var(--primary);
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    /* Slight radius based on site */
    font-weight: 700;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    font-weight: 800;
}

/* Custom decorated section title (lines + diamond) to match reference */
.section-title {
    position: relative;
}

.section-title .section-decor {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 1rem;
}

.section-title .decor-line {
    display: block;
    width: 90px;
    height: 1px;
    background: linear-gradient(90deg, rgba(196, 168, 124, 0.2), rgba(196, 168, 124, 0.6), rgba(196, 168, 124, 0.2));
}

.section-title .decor-diamond {
    width: 12px;
    height: 12px;
    display: inline-block;
    background: var(--primary);
    transform: rotate(45deg);
    border-radius: 2px;
    box-shadow: 0 6px 18px rgba(196, 168, 124, 0.12);
}

.section-title .subtitle {
    display: block;
    text-transform: uppercase;
    letter-spacing: 8px;
    font-weight: 700;
    color: #7a766f;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.section-title h2 {
    font-size: 2.25rem;
    letter-spacing: 0.5px;
    font-weight: 900;
    color: var(--text-main);
    margin: 0;
}

.bg-\[\#C4A87C\]\/50 {
    background-color: #c4a87c80;
    background-color: lab(70.577% 5.94294 26.7627 / .5);
}

.w-12 {
    width: calc(var(--spacing) * 12);
}

.h-px {
    height: 1px;
}

.mx-auto {
    margin-inline: auto;
}

/* Premium Section Title based on Image */
.section-title-premium {
    text-align: center;
    margin-bottom: 60px;
}

.section-title-premium .v-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to top, #c4a87c, transparent);
    margin: 0 auto 30px;
}

.section-title-premium h2 {
    color: #fff;
    font-size: 1.85rem;
    font-weight: 500;
    margin: 0;
    letter-spacing: 1px;
    line-height: 1.2;
}

.section-title-premium .h-line {
    width: 40px;
    height: 1px;
    background: #c4a87c;
    margin: 15px auto 0;
    opacity: 1;
}

@media (max-width: 768px) {
    .section-title-premium h2 {
        font-size: 1.85rem;
    }

    .section-title-premium .v-line {
        height: 40px;
    }
}

*,
:after,
:before,
::backdrop {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
}

@media (max-width: 991px) {
    .section-title .decor-line {
        width: 60px;
    }

    .section-title h2 {
        font-size: 2.2rem;
    }

    .section-title .subtitle {
        letter-spacing: 6px;
    }
}

.section-title span {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.5rem;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
    background: transparent;
}

/* Knowledge center navigation */
.nav-dropdown { position: relative; }
.nav-dropdown > a i { font-size: .65rem; margin-inline-start: .3rem; transition: transform .25s ease; }
.nav-dropdown-menu { position: absolute; top: calc(100% + 12px); inset-inline-start: 50%; width: 210px; padding: 8px; background: #fff; border: 1px solid rgba(196,168,124,.22); border-radius: 14px; box-shadow: 0 18px 50px rgba(44,40,37,.14); opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: .25s ease; }
[dir="ltr"] .nav-dropdown-menu { transform: translate(50%, 8px); }
.nav-dropdown:hover .nav-dropdown-menu, .nav-dropdown:focus-within .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
[dir="ltr"] .nav-dropdown:hover .nav-dropdown-menu, [dir="ltr"] .nav-dropdown:focus-within .nav-dropdown-menu { transform: translate(50%, 0); }
.nav-dropdown:hover > a i { transform: rotate(180deg); }
nav .nav-dropdown-menu a, header:not(.scrolled) nav .nav-dropdown-menu a { display: block; color: var(--text-main) !important; background: transparent !important; border: 0 !important; border-radius: 9px; padding: 10px 12px; font-size: .9rem; text-align: start; }
nav .nav-dropdown-menu a::after { display: none; }
nav .nav-dropdown-menu a:hover { color: var(--primary-dark) !important; background: rgba(196,168,124,.12) !important; }

/* Editorial and knowledge pages */
.content-hero { position: relative; overflow: hidden; min-height: 510px; padding: 155px 0 90px; color: #fff; background: radial-gradient(circle at 18% 20%, rgba(196,168,124,.22), transparent 27%), linear-gradient(125deg,#191713,#302b25 58%,#191713); }
.content-hero::before { content:""; position:absolute; inset:0; opacity:.18; background-image: linear-gradient(rgba(255,255,255,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.06) 1px,transparent 1px); background-size:54px 54px; mask-image:linear-gradient(to bottom,#000,transparent); }
.content-hero-glow { position:absolute; width:350px; height:350px; border:1px solid rgba(196,168,124,.22); border-radius:50%; inset-inline-end:-90px; top:80px; box-shadow:0 0 0 55px rgba(196,168,124,.025),0 0 0 110px rgba(196,168,124,.02); }
.content-hero-inner { position:relative; z-index:1; max-width:900px; margin-inline-start:auto; margin-inline-end:auto; text-align:center; }
.breadcrumbs { display:flex; justify-content:center; align-items:center; gap:10px; margin-bottom:42px; font-size:.88rem; color:rgba(255,255,255,.6); }
.breadcrumbs a { color:rgba(255,255,255,.78); text-decoration:none; }.breadcrumbs i{font-size:.6rem}.content-eyebrow{display:inline-flex;align-items:center;gap:9px;color:#d8c39f;font-weight:700;letter-spacing:.08em;margin-bottom:18px}.content-hero h1{font-size:clamp(2.5rem,5vw,4.6rem);line-height:1.15;margin:0 0 20px;font-weight:900}.content-hero p{max-width:730px;margin:0 auto;color:rgba(255,255,255,.74);font-size:1.15rem;line-height:1.9}.content-hero-action{margin-top:30px}.content-hero-action i,.content-cta .btn i{margin-inline-start:9px}
.content-page{padding:95px 0;background:#fdfbf7}.content-section-heading{text-align:center;max-width:690px;margin:0 auto 52px}.content-section-heading>span,.warranty-intro>div>span,.articles-toolbar>div>span{color:var(--primary-dark);font-weight:800;font-size:.9rem;letter-spacing:.08em}.content-section-heading h2,.articles-toolbar h2{font-size:clamp(1.8rem,3vw,2.7rem);line-height:1.3;margin:8px 0 12px}.content-section-heading p{color:var(--text-light)}
.guide-timeline{max-width:900px;margin:0 auto 70px;position:relative}.guide-timeline::before{content:"";position:absolute;top:38px;bottom:38px;inset-inline-start:37px;width:1px;background:linear-gradient(var(--primary),rgba(196,168,124,.12))}.guide-step{position:relative;display:grid;grid-template-columns:76px 1fr auto;gap:24px;align-items:center;padding:22px 0}.guide-step-number{position:relative;z-index:1;width:76px;height:76px;border-radius:24px;background:#fff;border:1px solid rgba(196,168,124,.28);display:grid;place-items:center;color:var(--primary-dark);font-weight:900;box-shadow:var(--shadow-sm)}.guide-step h3{font-size:1.25rem;margin-bottom:5px}.guide-step p{color:var(--text-light)}.guide-step>i{color:rgba(196,168,124,.55)}
.decision-grid,.warranty-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.info-panel,.warranty-cards article{padding:34px;background:#fff;border:1px solid rgba(196,168,124,.16);border-radius:20px;box-shadow:var(--shadow-sm);transition:.3s ease}.info-panel:hover,.warranty-cards article:hover{transform:translateY(-5px);box-shadow:var(--shadow-md)}.info-panel>i,.warranty-cards article>i{width:50px;height:50px;display:grid;place-items:center;border-radius:15px;background:rgba(196,168,124,.13);color:var(--primary-dark);font-size:1.2rem;margin-bottom:28px}.info-panel h3,.warranty-cards h3{margin-bottom:10px}.info-panel p,.warranty-cards p{color:var(--text-light)}.info-panel a{display:inline-block;color:var(--primary-dark);font-weight:700;margin-top:20px;text-decoration:none}.info-panel.featured{background:#28241f;color:#fff}.info-panel.featured p{color:rgba(255,255,255,.65)}.info-panel.featured a{color:#d8c39f}
.faq-layout{display:grid;grid-template-columns:260px 1fr;gap:70px;align-items:start}.faq-aside{position:sticky;top:110px;display:flex;flex-direction:column;gap:5px}.faq-aside>span{font-weight:800;margin-bottom:12px}.faq-aside>a{padding:11px 14px;border-radius:10px;color:var(--text-light);text-decoration:none}.faq-aside>a:hover{background:rgba(196,168,124,.12);color:var(--primary-dark)}.faq-help{margin-top:28px;padding:24px;background:#28241f;color:#fff;border-radius:18px;display:flex;flex-direction:column;align-items:flex-start;gap:8px}.faq-help>i{color:#d8c39f;font-size:1.5rem}.faq-help a{color:#d8c39f;text-decoration:none;font-size:.9rem}.faq-group{scroll-margin-top:110px;margin-bottom:48px}.faq-group h2{font-size:1.65rem;margin-bottom:17px}.faq-item{background:#fff;border:1px solid rgba(196,168,124,.17);border-radius:14px;margin-bottom:12px;overflow:hidden}.faq-item summary{list-style:none;cursor:pointer;padding:22px 24px;display:flex;justify-content:space-between;align-items:center;gap:20px;font-weight:700}.faq-item summary::-webkit-details-marker{display:none}.faq-item summary i{color:var(--primary-dark);transition:.25s}.faq-item[open] summary i{transform:rotate(45deg)}.faq-item>div{padding:0 24px 22px;color:var(--text-light);line-height:1.9}
.warranty-intro{display:grid;grid-template-columns:1fr 240px;align-items:center;gap:70px;margin-bottom:55px}.warranty-intro h2{font-size:clamp(2rem,3.5vw,3.1rem);line-height:1.3;margin:8px 0 14px}.warranty-intro p{color:var(--text-light);max-width:680px}.warranty-seal{aspect-ratio:1;border-radius:50%;background:#28241f;color:#fff;border:8px solid #eee5d6;outline:1px solid var(--primary);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.warranty-seal i{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:var(--primary);margin-bottom:8px}.warranty-seal small{color:#d8c39f}.service-process{margin-top:90px}.process-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:0;background:#fff;border:1px solid rgba(196,168,124,.18);border-radius:20px;overflow:hidden}.process-grid article{padding:38px;border-inline-end:1px solid rgba(196,168,124,.18)}.process-grid article:last-child{border:0}.process-grid b{font-size:2.8rem;color:rgba(196,168,124,.35)}.process-grid h3{margin:8px 0}.process-grid p{color:var(--text-light)}.warranty-note{display:flex;gap:18px;padding:28px;margin-top:28px;background:#f3ecdf;border-radius:16px}.warranty-note>i{color:var(--primary-dark);margin-top:6px}.warranty-note p{color:var(--text-light);margin-top:4px}
.articles-toolbar{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:30px}.article-search{width:min(360px,100%);display:flex;align-items:center;gap:12px;padding:0 18px;background:#fff;border:1px solid rgba(196,168,124,.25);border-radius:12px}.article-search i{color:var(--primary-dark)}.article-search input{width:100%;padding:14px 0;border:0;outline:0;background:transparent;font-family:inherit}.article-filters{display:flex;gap:9px;overflow:auto;padding-bottom:8px;margin-bottom:35px}.article-filters button{white-space:nowrap;padding:9px 18px;border:1px solid rgba(196,168,124,.25);border-radius:999px;background:#fff;color:var(--text-main);font-family:inherit;cursor:pointer}.article-filters button.active,.article-filters button:hover{background:var(--primary);color:#fff}.articles-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.article-card{background:#fff;border-radius:19px;overflow:hidden;border:1px solid rgba(196,168,124,.14);box-shadow:var(--shadow-sm);transition:.3s}.article-card:hover{transform:translateY(-6px);box-shadow:var(--shadow-md)}.article-visual{height:180px;position:relative;display:grid;place-items:center;background:linear-gradient(135deg,#29251f,#494036);overflow:hidden}.article-visual::after{content:"";position:absolute;width:150px;height:150px;border:1px solid rgba(255,255,255,.1);border-radius:50%;box-shadow:0 0 0 35px rgba(255,255,255,.025)}.article-visual>i{font-size:2.4rem;color:#d8c39f;z-index:1}.article-visual>span{position:absolute;top:16px;inset-inline-start:16px;padding:6px 11px;border-radius:999px;background:rgba(255,255,255,.12);color:#fff;font-size:.8rem}.article-body{padding:25px}.article-meta{display:flex;justify-content:space-between;color:#908a82;font-size:.8rem;margin-bottom:12px}.article-body h3{font-size:1.25rem;line-height:1.55;margin-bottom:9px}.article-body p{color:var(--text-light);font-size:.92rem}.article-link{display:inline-block;margin-top:20px;color:var(--primary-dark);font-weight:800}.article-link i{margin-inline-start:6px}.empty-articles{text-align:center;padding:60px;color:var(--text-light)}.empty-articles i{font-size:2rem;margin-bottom:12px}
.content-cta{padding:0 0 90px;background:#fdfbf7}.content-cta-card{display:flex;align-items:center;justify-content:space-between;gap:30px;padding:45px 52px;border-radius:24px;color:#fff;background:linear-gradient(120deg,#28241f,#41392f);box-shadow:0 24px 70px rgba(44,40,37,.18)}.content-cta-card span{color:#d8c39f;font-size:.9rem}.content-cta-card h2{font-size:clamp(1.5rem,3vw,2.2rem);margin-top:5px}.content-cta-card .btn{flex:0 0 auto}

@media(max-width:991px){.nav-dropdown-menu{position:static;width:auto;padding:4px 0 4px 18px;background:transparent;border:0;box-shadow:none;opacity:1;visibility:visible;transform:none!important}.nav-dropdown>a i{display:none}nav .nav-dropdown-menu a,header:not(.scrolled) nav .nav-dropdown-menu a{font-size:.82rem;padding:7px 14px;color:inherit!important}.decision-grid,.warranty-cards,.articles-grid{grid-template-columns:repeat(2,1fr)}.faq-layout{grid-template-columns:1fr;gap:35px}.faq-aside{position:static}.faq-aside>a{display:none}.faq-help{display:none}.warranty-intro{grid-template-columns:1fr 190px;gap:35px}.process-grid{grid-template-columns:1fr}.process-grid article{border-inline-end:0;border-bottom:1px solid rgba(196,168,124,.18)}.articles-toolbar{align-items:stretch;flex-direction:column}.content-cta-card{align-items:flex-start;flex-direction:column}}
@media(max-width:640px){.content-hero{min-height:460px;padding:130px 0 70px}.content-hero h1{font-size:2.45rem}.content-hero p{font-size:1rem}.breadcrumbs{margin-bottom:30px}.content-page{padding:65px 0}.guide-step{grid-template-columns:58px 1fr;gap:16px}.guide-step-number{width:58px;height:58px;border-radius:17px}.guide-timeline::before{inset-inline-start:28px}.guide-step>i{display:none}.decision-grid,.warranty-cards,.articles-grid{grid-template-columns:1fr}.warranty-intro{grid-template-columns:1fr}.warranty-seal{width:180px;margin:auto}.content-cta-card{padding:32px 25px}.content-cta-card .btn{width:100%;text-align:center}.faq-item summary{padding:18px}.faq-item>div{padding:0 18px 18px}}

header.scrolled {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    padding: 0.8rem 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* RTL Specific Header Layout */
body[dir="rtl"] header .container {
    flex-direction: row;
}

.logo img {
    height: 50px;
    width: auto;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 0.5rem;
}

nav a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    font-size: 1.05rem;
    transition: var(--transition);
    position: relative;
}

/* Make nav links pill-shaped on larger screens */
nav a {
    /* display: inline-flex; */
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    /* padding: 8px 18px; */
    border-radius: 999px;
    border: 1px solid transparent;
}

/* Transparent header: white pills with subtle border */
header:not(.scrolled) nav a {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

/* Active / hover state */
nav a.active,
nav a:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transition: var(--transition);
    transform-origin: left;
}

body[dir="rtl"] nav a::after {
    transform-origin: right;
}

nav a:hover,
nav a.active {
    color: var(--primary);
}

nav a:hover::after,
nav a.active::after {
    transform: scaleX(1);
}



header:not(.scrolled) .phone-link {
    color: #fff;
}

header:not(.scrolled) .mobile-menu-btn {
    color: #fff;
}

header:not(.scrolled) .header-actions .btn {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.18);
}

header:not(.scrolled) .btn.btn-outline {
    color: #fff;
    border-color: #fff;
}

header:not(.scrolled) nav a:hover,
header:not(.scrolled) nav a.active {
    color: var(--primary);
}

/* Revert to light colors when header has scrolled class to contrast with dark bg */
header.scrolled nav a,
header.scrolled .phone-link,
header.scrolled .mobile-menu-btn {
    color: #ffffff;
}

header.scrolled .btn.btn-outline {
    color: var(--primary);
    border-color: var(--primary);
}

/* Header additional helpers */
.header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.phone-link {
    color: var(--text-main);
    font-weight: 700;
    font-size: 0.95rem;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.lang-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

header.scrolled .lang-pill {
    background: rgba(196, 168, 124, 0.1);
    color: var(--primary);
    border-color: rgba(196, 168, 124, 0.2);
}

.lang-pill:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}


/* Mobile adjustments for header elements */
@media (max-width: 991px) {
    .header-left {
        display: none;
    }

    header .container {
        padding: 0 1rem;
    }

    .logo img {
        height: 40px;
    }

    .header-actions {
        margin-right: 50px;
        /* Spacer for the menu button */
    }

    body[dir="rtl"] .header-actions {
        margin-right: 0;
        margin-left: 50px;
    }

    .lang-pill span {
        display: none;
        /* Hide text on small mobiles if needed, or keep it */
    }
}


/* Mobile language link inside nav */
.lang-mobile {
    display: none;
}

@media (max-width: 991px) {

    /* Position mobile menu button and language button near each other */
    .mobile-menu-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        right: 16px;
    }

    body[dir="rtl"] .mobile-menu-btn {
        right: auto;
        left: 16px;
    }

    .header-actions {
        display: flex;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        right: 30px;
    }

    body[dir="rtl"] .header-actions {
        right: auto;
        left: 30px;
    }

    .header-actions .lang-switch a {
        padding: 6px 12px;
        border-radius: 30px;
        border: 2px solid var(--primary);
        color: var(--primary);
        background: transparent;
        font-weight: 700;
    }

    /* make the mobile nav links more button-like space-wise */
    nav ul {
        padding: 2rem;
    }

    nav ul li {
        margin: 0.6rem 0;
    }

    /* header:not(.scrolled) nav a {
        color: #000 !important;
    } */
    header:not(.scrolled) nav a {
        color: #000000 !important;
    }
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--text-main);
    cursor: pointer;
    z-index: 1001;

    /* Language pill (header + mobile) */
    .lang-btn {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        padding: 8px 18px;
        border-radius: 999px;
        /* translucent light pill for dark header */
        background: rgba(255, 255, 255, 0.08);
        color: #ffffff;
        text-decoration: none;
        border: 1px solid rgba(255, 255, 255, 0.12);
        box-shadow: 0 12px 34px rgba(0, 0, 0, 0.45);
        backdrop-filter: blur(6px) saturate(120%);
        -webkit-backdrop-filter: blur(6px) saturate(120%);
        font-weight: 700;
        font-size: 0.95rem;
    }

    .lang-btn .lang-icon {
        color: currentColor;
        width: 18px;
        height: 18px;
        opacity: 0.95
    }

    .lang-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5);
        background: rgba(255, 255, 255, 0.12);
    }

    .lang-btn.mobile {
        padding: 6px 12px;
        font-size: 0.9rem;
        border-radius: 999px;
    }

    /* Flip icon/text ordering for RTL */
    html[dir="rtl"] .lang-btn {
        flex-direction: row-reverse;
    }

    html[dir="rtl"] .lang-btn .lang-icon {
        margin-left: 0;
        margin-right: 6px;
    }

    /* Mobile menu tweak: ensure lang-mobile displays inline in menu */
    .lang-mobile a.lang-btn {
        display: inline-flex;
        align-items: center;
    }

    /* Strong overrides: ensure floating controls flip according to html lang/dir
   Placed at file end to override earlier misplaced rules (uses !important)
*/
    html[dir="ltr"] .order-now,
    html:lang(en) .order-now {
        right: 22px !important;
        left: auto !important;
    }

    html[dir="ltr"] .back-to-top,
    html:lang(en) .back-to-top {
        left: 22px !important;
        right: auto !important;
    }

    html[dir="rtl"] .order-now,
    html:lang(ar) .order-now {
        left: 22px !important;
        right: auto !important;
    }

    html[dir="rtl"] .back-to-top,
    html:lang(ar) .back-to-top {
        right: 22px !important;
        left: auto !important;
    }

    @media (max-width: 768px) {

        html[dir="ltr"] .order-now,
        html:lang(en) .order-now {
            right: 14px !important;
            left: auto !important;
        }

        html[dir="ltr"] .back-to-top,
        html:lang(en) .back-to-top {
            left: 14px !important;
            right: auto !important;
        }

        html[dir="rtl"] .order-now,
        html:lang(ar) .order-now {
            left: 14px !important;
            right: auto !important;
        }

        html[dir="rtl"] .back-to-top,
        html:lang(ar) .back-to-top {
            right: 14px !important;
            left: auto !important;
        }
    }
}

/* Nav mobile elements hidden on desktop */
.nav-mobile-header,
.nav-mobile-footer {
    display: none;
}

/* Mobile adjustments for header elements */
@media (max-width: 991px) {
    .header-left {
        display: none;
    }

    header .container {
        padding: 0 1rem;
    }

    .logo img {
        height: 40px;
    }

    /* Hide desktop language pill on mobile */
    .header-actions {
        display: none !important;
    }

    /* Mobile Menu Button (Hamburger) */
    .mobile-menu-btn {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 20px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 1001;
        position: absolute;
        top: 50%;
        right: 1.5rem;
        transform: translateY(-50%);
    }

    body[dir="rtl"] .mobile-menu-btn {
        right: auto;
        left: 1.5rem;
    }

    .mobile-menu-btn span {
        width: 100%;
        height: 2px;
        background-color: #ffffff;
        border-radius: 10px;
        transition: all 0.3s cubic-bezier(0.68, -0.6, 0.32, 1.6);
    }

    header:not(.scrolled) .mobile-menu-btn span {
        background-color: #fff;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: translateY(9px) rotate(135deg);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(-20px);
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-135deg);
    }

    .mobile-menu-btn.active span {
        background-color: var(--text-main) !important;
    }

    /* Mobile Nav Drawer */
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: 100%;
        height: 100vh;
        background: #fff;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        padding: 0;
        transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 9999;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
    }

    body[dir="ltr"] nav {
        right: auto;
        left: -100%;
        transition: left 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    }

    nav.active {
        right: 0;
    }

    body[dir="ltr"] nav.active {
        left: 0;
    }

    /* Mobile Nav Header (Logo + Close Button) */
    .nav-mobile-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1.5rem 2rem;
        background: #1a1a1a;
        border-bottom: 1px solid #333;
        position: relative;
    }

    .nav-close-btn {
        background: none;
        border: none;
        color: #ffffff;
        cursor: pointer;
        padding: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        /* position: absolute; */
        left: 1.5rem;
    }

    /* RTL: move close button to right */
    body[dir="rtl"] .nav-close-btn {
        left: auto;
        right: 1.5rem;
    }

    .nav-close-btn:hover {
        opacity: 0.7;
    }

    .nav-logo {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .nav-logo img {
        height: 45px;
        width: auto;
    }

    /* Language button in header */
    .lang-circle-btn-header {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        color: #ffffff;
        transition: all 0.3s ease;
    }

    .lang-circle-btn-header:hover {
        background: rgba(255, 255, 255, 0.2);
    }

    /* Navigation List */
    nav ul {
        display: flex;
        flex-direction: column;
        padding: 1.5rem 2rem;
        gap: 0;
        margin: 0;
        width: 100%;
        flex: 1;
    }

    nav ul li {
        width: 100%;
        margin: 0;
        opacity: 0;
        transform: translateY(10px);
        transition: all 0.4s ease;
        border-bottom: 1px solid #f4f4f4;
    }

    nav ul li a {
        display: block;
        padding: 1.2rem 0;
        font-size: 1.1rem;
        font-weight: 500;
        color: var(--text-main);
        text-align: right;
        border-radius: 0;
        background: transparent !important;
        border: none !important;
        text-decoration: none;
        transition: color 0.3s ease;
    }

    /* LTR: align left */
    body[dir="ltr"] nav ul li a {
        text-align: left;
    }

    nav ul li a:hover,
    nav ul li a.active {
        color: var(--primary) !important;
        background: transparent !important;
        border: none !important;
    }

    /* Force links to be dark inside the mobile menu (overrides header.scrolled) */
    nav.active ul li a {
        color: var(--text-main) !important;
    }

    nav.active ul li a:hover {
        color: var(--primary) !important;
    }

    /* Staggered animation */
    nav.active ul li {
        opacity: 1;
        transform: translateY(0);
    }

    nav.active ul li:nth-child(1) {
        transition-delay: 0.1s;
    }

    nav.active ul li:nth-child(2) {
        transition-delay: 0.15s;
    }

    nav.active ul li:nth-child(3) {
        transition-delay: 0.2s;
    }

    nav.active ul li:nth-child(4) {
        transition-delay: 0.25s;
    }

    nav.active ul li:nth-child(5) {
        transition-delay: 0.3s;
    }

    /* Mobile Footer (Language Button) */
    .nav-mobile-footer {
        display: flex;
        justify-content: flex-start;
        /* padding-left: 2rem; */
        /* padding-right: 2rem; */
        border-top: 1px solid #f0f0f0;
    }

    /* RTL: move to right */
    body[dir="rtl"] .nav-mobile-footer {
        justify-content: flex-start;
    }

    body[dir="ltr"] .nav-mobile-footer {
        justify-content: flex-end;
    }

    .lang-circle-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 48px;
        height: 48px;
        background: #f4f4f4;
        border-radius: 50%;
        color: var(--text-main);
        transition: all 0.3s ease;
    }

    .lang-circle-btn:hover {
        background: #e0e0e0;
    }
}


/* Hero */
.hero {
    height: 90vh;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    /* Fallback bg if video fails */
    background-color: #f0f0f0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 1.5rem;
}

.hero-content h1,
.hero-content p {
    text-align: center;
    width: 100%;
}

.hero-content .btn {
    align-self: center;
    margin-left: auto;
    margin-right: auto;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.hero p {
    font-size: 1.75rem;
    margin-bottom: 2.5rem;
    text-align: center;
    /* opacity: 0.9; */
}

/* Hero Mobile Responsive */
@media (max-width: 768px) {
    .hero-content {
        padding: 0 1.25rem;
        align-items: center;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.2rem;
        text-align: center;
    }

    .hero-content p {
        font-size: 1.2rem;
        text-align: center;
    }

    .hero-content .btn {
        display: inline-block;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.9rem;
    }

    .hero-content p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
}

/* About Section */
.about {
    padding: 6rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-img img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Work Steps - Premium Design */
.steps {
    padding: 8rem 0;
    background-color: #FAFAFA;
    /* Very light off-white */
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

@media (max-width: 991px) {
    .steps {
        padding: 5rem 0;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.step-wrapper {
    width: 100%;
}

.step-card-modern {
    position: relative;
    height: 329px;
    width: 100%;
    border-radius: 32px;
    overflow: hidden;
    background: #1a1a1a;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.step-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.2);
}

.step-img-new {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.step-img-new img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.step-card-modern:hover .step-img-new img {
    transform: scale(1.1);
}

.step-overlay-new {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.95) 0%,
            rgba(0, 0, 0, 0.5) 40%,
            rgba(0, 0, 0, 0.1) 70%,
            transparent 100%);
    z-index: 1;
}

.step-body-new {
    position: relative;
    z-index: 2;
    height: 90%;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.step-huge-num {
    position: absolute;
    top: 2rem;
    left: 2.5rem;
    font-size: 8rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.12);
    line-height: 1;
    letter-spacing: -2px;
    pointer-events: none;
    font-family: 'Inter', sans-serif;
    /* Using a cleaner font for large numbers if available */
}

/* RTL adjustment for huge number position if needed */
body[dir="rtl"] .step-huge-num {
    left: 2.5rem;
    /* Keep it on the left as in the image even for RTL cards */
}

.step-content-box {
    text-align: right;
    max-width: 90%;
}

body[dir="ltr"] .step-content-box {
    text-align: left;
}

.step-small-num {
    display: block;
    font-size: 1rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.step-title-new {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.step-desc-new {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .step-card-modern {
        height: 400px;
        border-radius: 24px;
    }

    .step-body-new {
        padding: 2rem;
    }

    .step-huge-num {
        font-size: 5rem;
        top: 1.5rem;
        left: 1.5rem;
    }

    .step-title-new {
        font-size: 1.8rem;
    }

    .step-desc-new {
        font-size: 1rem;
    }
}


/* Kitchen Guide (Tabs Re-styled) */
.kitchen-guide.dark-theme {
    padding: 8rem 0;
    background: #141210;
    color: #fff;
}

.kitchen-guide.dark-theme .section-title h2 {
    color: #fff;
    font-size: 1.875rem;
}

.kitchen-guide.dark-theme .section-title .subtitle {
    color: var(--primary);
    opacity: 0.9;
}

.guide-tabs-container {
    max-width: 1000px;
    margin: 0 auto 5rem;
}

.guide-tabs {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.guide-tab-item {
    cursor: pointer;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    flex: 1 1 120px;
    max-width: 160px;
}

.guide-tab-img {
    width: 100%;
    aspect-ratio: 16/10;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.4s ease;
    background: rgba(255, 255, 255, 0.05);
}

.guide-tab-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    transition: all 0.4s ease;
}

.guide-tab-label {
    font-size: 0.95rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
}

.guide-tab-item.active .guide-tab-img,
.guide-tab-item:hover .guide-tab-img {
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(196, 168, 124, 0.3);
}

.guide-tab-item.active .guide-tab-img img,
.guide-tab-item:hover .guide-tab-img img {
    opacity: 1;
    transform: scale(1.1);
}

.guide-tab-item.active .guide-tab-label,
.guide-tab-item:hover .guide-tab-label {
    color: var(--primary);
}

.guide-content {
    margin-left: 40px;
    margin-right: 40px;
    display: none;
    animation: fadeIn 0.5s ease;
}

.guide-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.guide-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.guide-card img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    display: block;
}

.guide-floating-box {
    position: absolute;
    top: 50%;
    right: 40px;
    transform: translateY(-50%);
    width: 380px;
    background: rgba(30, 27, 24, 0.75);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    color: #fff;
    z-index: 5;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

body[dir="ltr"] .guide-floating-box {
    right: auto;
    left: 40px;
}

.guide-style-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    text-align: right;
}

body[dir="ltr"] .guide-style-title {
    text-align: left;
}

.guide-divider {
    width: 40px;
    height: 1px;
    background: var(--primary);
    margin: 1.5rem 0 2rem auto;
    /* For RTL */
}

body[dir="ltr"] .guide-divider {
    margin: 1.5rem auto 2rem 0;
}

.guide-details {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.guide-detail-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: right;
}

body[dir="ltr"] .guide-detail-item {
    text-align: left;
}

.detail-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

.detail-value {
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
}

@media (max-width: 991px) {
    .guide-tabs {
        gap: 0.75rem;
    }

    .guide-tab-item {
        flex: 1 1 calc(33.33% - 1rem);
        max-width: none;
    }

    .guide-tab-label {
        font-size: 0.85rem;
    }

    .kitchen-guide.dark-theme .section-title h2 {
        font-size: 2.5rem;
    }

    .guide-card img {
        height: 500px;
    }

    .guide-floating-box {
        position: static;
        width: 100%;
        transform: none;
        border-radius: 0;
        padding: 2rem;
    }

    .guide-style-title {
        font-size: 1.75rem;
    }
}


/* Materials */
.materials {
    padding: 6rem 0;
    background: var(--bg-white);
}

/* Branch / Location */
.branch {
    padding: 6rem 0;
    background: var(--bg-body);
}

.branch-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    margin-top: 30px;
}

.branch-image img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 10px;
}

.branch-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.6rem;
}

.branch-address,
.branch-hours {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.branch-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

@media (max-width: 991px) {
    .branch-card {
        grid-template-columns: 1fr;
    }

    .branch-image img {
        height: 690px;
    }
}

/* Combined About + Branch styles */
.about-branch {
    padding: 6rem 0;
    background: var(--bg-body);
}

.about-branch-grid {
    display: grid;
    grid-template-columns: 1fr 560px;
    gap: 2.5rem;
    align-items: start;
}

.about-branch .about-img img {
    width: 100%;
    height: 840px;
    /* height: 100%; */
    max-height: 840px;
    object-fit: cover;
    border-radius: 12px;
}

.about-branch-content .about-text-block {
    color: var(--text-light);
    margin: 1rem 0 0.5rem 0;
    line-height: 1.8;
}

/* Step Modal Styles */
.step-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.step-modal.open {
    display: flex;
}

.step-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.step-modal-card {
    position: relative;
    width: min(900px, 94%);
    max-height: 90vh;
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
    z-index: 2001;
    display: flex;
    flex-direction: column;
    animation: modalScaleUp 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@keyframes modalScaleUp {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.step-modal-close {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 2010;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.step-modal-close:hover {
    transform: rotate(90deg);
    background: #fff;
}

body[dir="rtl"] .step-modal-close {
    left: auto;
    right: 20px;
}

.step-modal-media {
    position: relative;
    width: 100%;
    height: 400px;
    min-height: 300px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.step-modal-media img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.step-modal-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 50%, transparent 100%);
    z-index: 1;
}

.step-modal-number-bg {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 150px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.1);
    line-height: 0.8;
    pointer-events: none;
    z-index: 2;
}

body[dir="rtl"] .step-modal-number-bg {
    right: auto;
    left: 30px;
}

.step-modal-header-content {
    position: absolute;
    bottom: 30px;
    right: 40px;
    z-index: 3;
    text-align: right;
}

body[dir="ltr"] .step-modal-header-content {
    right: auto;
    left: 40px;
    text-align: left;
}

.step-modal-badge {
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(196, 168, 124, 0.3);
    margin-left: auto;
    /* For RTL */
}

body[dir="ltr"] .step-modal-badge {
    margin-left: 0;
    margin-right: auto;
}

.step-modal-title {
    font-size: 3rem;
    font-weight: 900;
    color: #fff;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.step-modal-body {
    padding: 2.5rem 3rem;
    background: #fff;
    overflow-y: auto;
    flex: 1;
}

.step-modal-lead {
    font-size: 1.25rem;
    color: #8b8076;
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.step-modal-desc {
    font-size: 1.1rem;
    color: var(--text-main);
    line-height: 1.8;
    opacity: 0.9;
}

@media (max-width: 991px) {
    .step-modal-media {
        height: 300px;
    }

    .step-modal-title {
        font-size: 2.25rem;
    }

    .step-modal-number-bg {
        font-size: 100px;
    }

    .step-modal-body {
        padding: 1.5rem 2rem;
    }

    .step-modal-header-content {
        bottom: 20px;
        right: 20px;
    }

    body[dir="ltr"] .step-modal-header-content {
        left: 20px;
    }
}


.branch-card.premium {
    background: #FFFAF1;
    border-radius: 40px;
    padding-left: 3rem;
    padding-right: 3rem;
    box-shadow: 0 30px 70px rgba(16, 24, 32, 0.04);
    border: 1px solid rgba(196, 168, 124, 0.12);
    max-width: 900px;
    margin: 1rem auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.branch-header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 15px;
    text-align: right;
    /* margin-bottom: 2.5rem; */
}

.branch-tag {
    color: #bfa37e;
    font-weight: 700;
    font-size: 1.25rem;
}

.branch-icon-box {
    width: 64px;
    height: 64px;
    background: #bfa37e;
    color: #fff;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 10px 25px rgba(191, 163, 126, 0.2);
}

.branch-body {
    text-align: right;
    /* margin-bottom: 4rem; */
}

body[dir="ltr"] .branch-body {
    text-align: left;
}

.branch-title {
    font-size: 1.25rem;
    font-weight: 900;
    color: #1a1a1a;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.branch-subtitle {
    font-size: 1.1rem;
    color: #8b8076;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.branch-time {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
    color: #8b8076;
    font-size: 1.25rem;
    font-weight: 600;
}

.branch-time i {
    font-size: 1.8rem;
    color: #bfa37e;
}

.branch-footer {
    border-top: 1.5px solid rgba(196, 168, 124, 0.1);
    padding-top: 1rem;
}

.branch-btns-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.branch-btn-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 2rem 1rem;
    background: #fff;
    border: 1px solid rgba(196, 168, 124, 0.15);
    border-radius: 24px;
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.02);
}

.branch-btn-item i {
    font-size: 1.6rem;
    color: #bfa37e;
    transition: all 0.3s ease;
}

.branch-btn-item:hover {
    background: #bfa37e;
    color: #fff;
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(191, 163, 126, 0.25);
    border-color: #bfa37e;
}

.branch-btn-item:hover i {
    color: #fff;
}

@media (max-width: 991px) {
    .branch-card.premium {
        padding: 1rem;
        margin: 1rem auto;
    }

    .branch-title {
        font-size: 2.5rem;
    }

    .branch-subtitle {
        font-size: 1.25rem;
    }

    .branch-btns-grid {
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .branch-title {
        font-size: 2rem;
    }

    .branch-btns-grid {
        grid-template-columns: 1fr;
    }

    .branch-btn-item {
        flex-direction: row;
        justify-content: center;
        padding: 1.25rem;
        gap: 15px;
    }
}



/* About card styling to match reference */
.about-card {
    background: #fff;
    border-radius: 18px;
    padding: 2rem;
    box-shadow: 0 8px 30px rgba(16, 24, 32, 0.06);
    border: 1px solid rgba(196, 168, 124, 0.06);
}

.about-card .section-title span {
    color: rgba(196, 168, 124, 0.7);
    font-weight: 700;
    display: block;
    margin-bottom: 0.25rem;
}

.about-card .section-title h2 {
    font-size: 2.6rem;
    margin-bottom: 0.75rem;
    color: var(--text-main);
    font-weight: 800;
}

.about-card .about-text-block {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.about-img img {
    border-radius: 18px;
    border: 6px solid rgba(196, 168, 124, 0.04);
    box-shadow: 0 10px 30px rgba(16, 24, 32, 0.06);
}


/* About features (three rounded cards) */
.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1.75rem;
}

.feature-card {
    /* background: linear-gradient(180deg, rgba(240, 239, 239, 0.65), rgba(175, 112, 112, 0.55)); */
    /* background: linear-gradient(180deg,rgb(255 255 255 / 65%), rgb(191 164 164 / 55%)) */
    background: linear-gradient(rgb(255 255 255 / 65%), rgb(191 164 164 / 55%));
    border-radius: 18px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: #000000;
}

/* Hover effects to match original site (subtle lift, shadow and primary border) */
.feature-card {
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    cursor: default;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(16, 24, 32, 0.12);
    border-color: rgba(196, 168, 124, 0.28);
}

.feature-card:hover .feature-icon {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 16px 36px rgba(196, 168, 124, 0.14);
}

.feature-icon,
.feature-icon svg {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

/* Add hover for about-card, branch-card and compact branch */
.about-card,
.branch-card,
.branch-card.compact {
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.about-card:hover,
.branch-card:hover,
.branch-card.compact:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(16, 24, 32, 0.12);
    border-color: rgba(196, 168, 124, 0.18);
}

/* Ensure project items have clear pointer and consistent hover overlay */
.project-item {
    cursor: pointer;
    transition: transform 0.6s ease, box-shadow 0.35s ease;
}

.project-item:hover {
    box-shadow: 0 20px 50px rgba(16, 24, 32, 0.12);
}

/* Ensure material and other cards use the same lift */
.material-card,
.about-card,
.branch-card,
.feature-card {
    will-change: transform;
}


.feature-icon {
    width: 72px;
    height: 72px;
    border-radius: 14px;
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
    font-size: 1.25rem;
    box-shadow: 0 8px 20px rgba(196, 168, 124, 0.16);
}

.feature-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.15rem;
    color: #0c0c0c;
}

.feature-card p {
    color: rgba(11, 11, 11, 0.85);
    margin: 0;
}

.blur-2xl {
    --tw-blur: blur(var(--blur-2xl));
    filter: var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, );
}

@media (max-width: 991px) {
    .about-features {
        grid-template-columns: 1fr;
    }
}

.branch-card.compact .branch-content h3 {
    margin: 0 0 0.25rem 0;
    font-size: 1.1rem;
}

.branch-card.compact .branch-content p {
    margin: 0;
    color: var(--text-light);
    font-size: 1.6rem;
}

.branch-card.compact .branch-actions {
    margin-top: 0.5rem;
}

@media (max-width: 991px) {
    .about-branch-grid {
        grid-template-columns: 1fr;
    }

    .about-branch .about-img img {
        max-height: 320px;
    }

    .about-branch-content {
        margin-top: 1.5rem;
    }
}

.materials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.material-card {
    background: var(--bg-body);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.material-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.material-image {
    height: 250px;
    overflow: hidden;
}

.material-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.material-card:hover .material-image img {
    transform: scale(1.1);
}

.container-fluid {
    padding-right: 100px;
    padding-left: 100px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.material-content {
    padding: 1.5rem;
    background: #000000;
    color: #ffffff;
    /* border-radius: 10px; */
    /* border: 1px solid #c4a87c; */
    /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); */
    transition: var(--transition);
    cursor: pointer;

}

.material-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.material-content p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Partners Ticker - Removed if old/unused */
.partners {
    padding: 6rem 0;
    background: var(--bg-white);
    overflow: hidden;
}


/* Gallery / Portfolio */
.gallery {
    padding: 6rem 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
}

.project-item {
    position: relative;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

.project-item.hidden {
    display: none;
}

.project-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    will-change: transform;
}

.project-item:hover img {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    color: #fff;
    pointer-events: none;
    /* Keep overlay non-blocking */
}

.project-item:hover .project-overlay {
    opacity: 1;
}

.gallery-actions-wrap {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 12px;
    z-index: 10;
    pointer-events: auto;
    /* Enable interaction for buttons */
}

.gallery-action-btn {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8b7355;
    font-size: 1.25rem;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(10px);
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.project-item:hover .gallery-action-btn {
    opacity: 1;
    transform: translateY(0);
}

.gallery-action-btn:hover {
    background: var(--primary);
    color: #fff;
    transform: scale(1.1);
}

.project-info h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
}

.project-info span {
    font-size: 0.85rem;
    opacity: 0.9;
}

/* Lightbox Modal */
.lightbox-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(10px);
}

.lightbox-modal.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.lightbox-modal.active .lightbox-content {
    transform: scale(1);
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: -40px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
    transition: transform 0.3s ease;
}

.lightbox-close:hover {
    transform: rotate(90deg) scale(1.2);
    color: var(--primary);
}

@media (max-width: 768px) {
    .lightbox-close {
        top: -50px;
        right: 0;
    }
}

/* Footer */
footer {
    background: #1a1a1a;
    color: #fff;
    padding: 5rem 0 2rem;
    text-align: right;
    /* RTL Default */
}

body[dir="ltr"] footer {
    text-align: left;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.footer-col a {
    display: block;
    color: #bbb;
    text-decoration: none;
    margin-bottom: 0.8rem;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--primary);
    padding-right: 5px;
    /* RTL shift */
}

body[dir="ltr"] .footer-col a:hover {
    padding-right: 0;
    padding-left: 5px;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: #777;
    font-size: 0.9rem;
}

/* Responsive Tweaks */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .project-item {
        height: 300px;
    }

    .section-title h2 {
        font-size: 2rem;
    }
}

/* Contact card two-column layout like reference */
.contact-card {
    background: #fff;
    border-radius: 12px;
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 2rem;
    padding: 2.25rem;
    box-shadow: 0 20px 50px rgba(16, 24, 32, 0.06);
    border: 1px solid rgba(196, 168, 124, 0.06);
    max-width: 1100px;
    margin: 0 auto;
}

.contact-left h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.35rem;
    color: var(--text-main);
}

.contact-left .muted {
    color: var(--text-light);
    margin-bottom: 1.25rem;
}

.contact-form-grid {
    display: grid;
    gap: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 700;
    color: var(--text-main);
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: #fbf9f7;
    color: var(--text-main);
}

.form-group textarea {
    resize: vertical;
}

.file-upload {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 18px 20px;
    border-radius: 12px;
    border: 2px dashed rgba(196, 168, 124, 0.28);
    background: linear-gradient(180deg, rgba(250, 247, 244, 1), rgba(255, 255, 255, 1));
    cursor: pointer;
    justify-content: center;
}

.file-upload input[type=file] {
    display: none;
}

.file-label {
    color: #8b7f72;
    font-weight: 700;
}

.file-upload svg {
    margin-right: 8px;
    color: #8b7f72;
}

.submit-full {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #1a1a1a;
    padding: 18px 24px;
    border-radius: 14px;
    font-weight: 800;
    font-size: 1.05rem;
    box-shadow: 0 10px 30px rgba(16, 24, 32, 0.12);
    border: none;
    cursor: pointer;
    text-align: center;
}

.submit-full .btn-icon {
    color: #1a1a1a;
    transform: translateY(1px);
}

.submit-full .btn-text {
    color: #1a1a1a;
}

.submit-full:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(16, 24, 32, 0.16);
}


.contact-right {
    padding: 0 1.25rem;
    display: flex;
    align-items: center;
}

.contact-right-inner {
    width: 100%;
}

.contact-right-inner h4 {
    margin: 0 0 1rem 0;
    font-size: 1rem;
    color: var(--text-main);
    font-weight: 800;
}

/* Linkified contact boxes: card appearance + hover */
.contact-box {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 14px;
    border-radius: 12px;
    background: #fff;
    margin-bottom: 14px;
    box-shadow: 0 8px 20px rgba(16, 24, 32, 0.03);
    border: 1px solid rgba(196, 168, 124, 0.06);
    text-decoration: none;
    color: inherit;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}

.contact-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 60px rgba(16, 24, 32, 0.12);
    border-color: rgba(196, 168, 124, 0.18);
}

.contact-box:active {
    transform: translateY(-2px);
}

/* Beige rounded-square icon background with subtle inset shadow to match reference */
.contact-box .icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: linear-gradient(180deg, #fbf6f0 0%, #f7f2eb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(196, 168, 124, 0.06) inset, 0 6px 18px rgba(16, 24, 32, 0.03);
    border: 1px solid rgba(196, 168, 124, 0.06);
}

.contact-box .icon-wrap svg {
    color: var(--primary);
    width: 20px;
    height: 20px;
}

.contact-box .contact-info .label {
    font-size: 0.82rem;
    color: var(--text-light);
}

.contact-box .contact-info .value {
    font-weight: 800;
    color: var(--text-main);
}

/* Divider between columns */
.contact-card {
    position: relative;
}

.contact-right {
    border-left: 1px solid rgba(196, 168, 124, 0.08);
    padding-left: 2rem;
}

.contact-left {
    padding-right: 2rem;
}

/* Logo above right column title */
.contact-logo-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.contact-logo {
    max-width: 90px;
    opacity: 0.95;
    filter: saturate(0.9);
}

/* Right column background to match reference: subtle warm tint */
.contact-right-inner {
    background: linear-gradient(180deg, rgba(249, 246, 243, 1), rgba(249, 246, 243, 1));
    padding: 1rem;
    border-radius: 8px;
}

.contact-right-title {
    text-align: center;
    font-weight: 800;
    margin: 0 0 1rem 0;
    font-size: 1rem;
    color: var(--text-main);
    text-transform: none;
    letter-spacing: 0;
}

.contact-right-inner .contact-box {
    background: #fff;
}

/* Make subtitle small uppercase style (like the top 'GET A FREE ...') */
.section-subtle {
    display: block;
    text-transform: uppercase;
    letter-spacing: 6px;
    color: #8b8076;
    font-weight: 700;
    font-size: 0.85rem;
    text-align: center;
    margin-bottom: 0.5rem;
}

.follow {
    margin-top: 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
    position: relative;
    padding-top: 1rem;
    color: var(--text-light);
}

.follow::before {
    content: '';
    display: block;
    width: 100%;
    max-width: 520px;
    height: 1px;
    background: rgba(0, 0, 0, 0.06);
    margin: 0 auto 6px auto;
}

.follow-title {
    font-size: 1rem;
    color: var(--text-main);
    font-weight: 700;
    letter-spacing: 0.4px;
}

.socials {
    display: flex;
    gap: 18px;
    align-items: center;
    justify-content: center;
}

.social {
    width: 68px;
    height: 68px;
    border-radius: 14px;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 18px rgba(16, 24, 32, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.social svg {
    width: 24px;
    height: 24px;
    color: #6d6056;
}

.social:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(16, 24, 32, 0.12);
}

/* Hover color for social icons on hover-capable devices.
   Also include a Tailwind-like utility selector provided by the user for compatibility. */
@media (hover: hover) {

    .follow .social:hover svg,
    .follow .social:focus svg {
        color: #1877f2;
    }

    .group-hover\:text-\[\#1877F2\]:is(:where(.group):hover *) {
        color: #1877f2;
    }
}

@media (max-width: 991px) {
    .contact-card {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    .contact-right {
        order: 2;
        padding: 0;
    }

    .social {
        width: 56px;
        height: 56px;
        border-radius: 12px;
    }
}

/* Partners - centered large title + evenly spaced logos (like reference) */
.partners .section-title {
    text-align: center;
    margin-bottom: 3.5rem;
}

.partners .section-title .subtitle {
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #8b8076;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.partners .section-title h2 {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-main);
    margin: 0.5rem 0 2rem;
}

.partners-logos {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
    padding: 2.5rem 1rem;
}

.partners-logos .partner-logo {
    flex: 1 1 16%;
    min-width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 0;
}

@media (max-width: 991px) {
    .partners .section-title h2 {
        font-size: 2.4rem;
    }

    .partners-logos {
        flex-wrap: wrap;
        gap: 1.25rem;
    }

    .partners-logos .partner-logo {
        flex: 0 0 33%;
    }
}

/* Marquee animation for partners logos
.partners-marquee {
    overflow: hidden;
}

.partners-track {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    will-change: transform;
    animation: partners-scroll 28s linear infinite;
}

.partners-marquee:hover .partners-track {
    animation-play-state: paused;
}

.partners-track .partner-logo {
    flex: 0 0 12.5%;
    min-width: 120px;
    padding: 1.25rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes partners-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .partners-track {
        animation: none;
    }
}

@media (max-width: 991px) {
    .partners-track {
        animation-duration: 40s;
    }
}

@media (max-width: 1200px) {
    .partners-track .partner-logo {
        flex: 0 0 16.666%;
    }
}

@media (max-width: 768px) {
    .partners-track .partner-logo {
        flex: 0 0 33.333%;
    }
} */
/* Marquee animation for partners logos */
.partners-marquee {
    overflow: hidden;
    position: relative;
    width: 100%;
    direction: ltr;
    /* Force LTR to ensure consistent scrolling from right-to-left */
    padding: 1rem 0;
}

.partners-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: partners-scroll 50s ease infinite;
    will-change: transform;
}

.partners-marquee:hover .partners-track {
    animation-play-state: paused;
}

.partners-track .partner-logo {
    flex: 0 0 auto;
    padding: 0 3rem;
    /* Spacing between logos */
    display: flex;
    align-items: center;
    justify-content: center;
}

.partners-track .partner-logo img {
    max-width: 180px;
    /* max-height: 80px; */
    height: auto;
    object-fit: contain;
    /* filter: grayscale(100%); */
    /* opacity: 0.5; */
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.partners-track .partner-logo:hover img {
    /* filter: grayscale(0%); */
    opacity: 1;
    transform: scale(1.1);
}

/* Definition for seamless loop */
@keyframes partners-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        /* Move by half because we have duplicates */
        transform: translateX(-50%);
    }
}

/* Edge Fades */
.partners-marquee::before,
.partners-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 150px;
    z-index: 2;
    pointer-events: none;
}

.partners-marquee::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-white), transparent);
}

.partners-marquee::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-white), transparent);
}

@media (max-width: 768px) {

    .partners-marquee::before,
    .partners-marquee::after {
        width: 60px;
    }

    .partners-track {
        animation-duration: 50s;
    }

    .partners-track .partner-logo {
        padding: 0 1.5rem;
    }

    .partners-track .partner-logo img {
        max-width: 120px;
        /* max-height: 60px; */
    }
}


/* Back-to-top floating button */
.back-to-top {
    position: fixed;
    right: 28px;
    /* lifted so it doesn't overlap the Order pill */
    bottom: 20px;
    width: 56px;
    height: 56px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.04);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(16, 24, 32, 0.08);
    cursor: pointer;
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
    transition: transform 0.28s cubic-bezier(.2, .9, .2, 1), opacity 0.28s ease, box-shadow 0.2s ease;
    z-index: 1200;
}

.back-to-top svg {
    color: var(--text-main);
    width: 18px;
    height: 18px;
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.back-to-top:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 60px rgba(16, 24, 32, 0.14);
}

/* RTL support: place on left when needed */
body[dir="rtl"] .back-to-top {
    left: auto;
    right: 28px;
}

@media (prefers-reduced-motion: reduce) {
    .back-to-top {
        transition: none;
    }
}

/* Ensure back-to-top sits above the order pill on small screens */
@media (max-width: 768px) {
    .order-now {
        /* bottom: 82px; */
        left: 14px;
        padding: 9px 12px;
        font-size: 13px
    }

    .back-to-top {
        /* bottom: 146px !important; */
        right: 18px !important;
    }

    body[dir="rtl"] .back-to-top {
        left: 18px !important;
        right: auto !important;
    }

    body[dir="ltr"] .back-to-top {
        right: 18px !important;
        left: auto !important;
    }

    body[dir="rtl"] .order-now {
        right: 18px !important;
        left: auto !important;
    }

    body[dir="ltr"] .order-now {
        left: 18px !important;
        right: auto !important;
    }
}

/* Material modal styles (matches the second attachment layout) */
.material-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1500;
}

.material-modal[aria-hidden="false"],
.material-modal.active {
    display: flex;
}

.material-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(4, 4, 5, 0.6);
    backdrop-filter: blur(6px);
}

.material-modal-card {
    position: relative;
    width: 360px;
    max-width: calc(100% - 32px);
    background: linear-gradient(180deg, rgba(10, 8, 7, 0.9), rgba(18, 16, 14, 0.95));
    border-radius: 14px;
    padding: 22px;
    box-shadow: 0 30px 80px rgba(3, 3, 3, 0.6);
    color: #fff;
    display: block;
}

.material-modal-close {
    position: absolute;
    top: 10px;
    left: 12px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 24px;
    cursor: pointer;
}

.material-modal-body {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.material-modal-visual {
    height: 140px;
    border-radius: 12px;
    overflow: hidden;
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
}

.material-modal-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.85) contrast(1.02);
}

.material-modal-content h3 {
    color: #dcbf96;
    font-size: 28px;
    margin-bottom: 6px;
    text-align: center;
}

.material-modal-content .muted {
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    margin-bottom: 12px;
}

.modal-divider {
    height: 2px;
    width: 60px;
    background: linear-gradient(90deg, transparent, rgba(200, 180, 140, 0.95), transparent);
    margin: 0 auto 12px auto;
    border-radius: 3px;
}

.material-modal-list {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    overflow: hidden;
}

.material-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 12px;
    background: transparent;
}

.material-row+.material-row {
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.material-row .label {
    color: rgba(255, 255, 255, 0.75);
    font-weight: 600;
}

.material-row .value {
    color: rgba(200, 180, 140, 1);
    font-weight: 700;
}

.modal-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 14px;
}

/* Ensure RTL orders labels to the right */
html[dir="rtl"] .material-row {
    direction: rtl;
}

/* Make material cards clickable */
.material-card {
    cursor: pointer;
}

.material-card:focus {
    outline: 2px solid rgba(196, 168, 124, 0.35);
    outline-offset: 4px;
}

/* In-place expanded card styles (appended) */
.material-card {
    position: relative;
}

.material-card-new .material-expanded {
    position: absolute;
    inset: 0;
    z-index: 5;
    pointer-events: auto;
}

.material-expanded .expanded-inner {
    width: 100%;
    height: 100%;
    background: #141210;
    display: flex;
    flex-direction: column;
    padding: 1rem;
    text-align: center;
}

.expanded-title {
    color: #c4a87c;
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 0.2rem;
    text-align: center;
}

.expanded-sub {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
    margin-bottom: 0.75rem;
    text-align: center;
}

.expanded-divider {
    width: 30px;
    height: 1px;
    background: rgba(196, 168, 124, 0.4);
    margin: 0 auto 1rem;
}

.material-expanded .material-modal-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
}

.material-expanded .material-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.material-expanded .label {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.95rem;
}

.material-expanded .value {
    color: #fff;
    font-weight: 700;
    font-size: 1.05rem;
}

.material-expanded .material-row:last-child .value {
    color: #c4a87c;
}

.expanded-close-wrap {
    margin-top: auto;
    display: flex;
    justify-content: center;
}

.expanded-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.expanded-close:hover {
    color: #c4a87c;
    transform: rotate(-45deg);
}

/* --- About & Branch Section Refresh to match Image --- */

.about-branch {
    background-color: #f7f3f0 !important;
    /* Soft beige background from reference */
    padding: 100px 0;
}

.about-branch-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    /* Adjusted proportions */
    gap: 3rem;
    align-items: stretch;
}

.about-img {
    height: 100%;
    position: relative;
    min-height: 400px;
    /* Minimum height to prevent collapse if content is very thin */
}

.about-img img {
    width: 100%;
    height: 100% !important;
    max-height: none !important;
    object-fit: cover;
    border-radius: 40px !important;
    /* Large rounded corners as per image */
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    position: absolute;
    top: 0;
    left: 0;
}

.about-branch-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-card.premium,
.branch-card.premium {
    background: #ffffff !important;
    border-radius: 40px !important;
    padding: 3rem !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.02) !important;
    border: 1px solid rgba(196, 168, 124, 0.08) !important;
    margin: 0 !important;
    max-width: none !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    /* Ensure children take full width */
}

/* About Card Specifics */
.about-card-inner {
    text-align: right;
}

body[dir="ltr"] .about-card-inner {
    text-align: left;
}

.about-subtitle {
    display: block;
    font-size: 0.85rem;
    letter-spacing: 2px;
    color: #c4a87c;
    font-weight: 700;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.about-title-large {
    font-size: 3.5rem !important;
    font-weight: 800 !important;
    color: #1a1a1a !important;
    margin-bottom: 1.5rem !important;
    line-height: 1.1 !important;
}

.about-divider {
    width: 100%;
    height: 1px;
    background: #eeeeee;
    margin: 1.5rem 0;
}

.about-description {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #777;
    margin: 0;
}

/* Branch Card Specifics */
.branch-header-new {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 2rem;
    justify-content: flex-start;
}

body[dir="rtl"] .branch-header-new {
    justify-content: flex-start;
}

body[dir="ltr"] .branch-header-new {
    justify-content: flex-start;
}

.branch-icon-square {
    width: 52px;
    height: 52px;
    background: #a38960;
    color: white !important;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 10px 20px rgba(163, 137, 96, 0.15);
}

.branch-tag-new {
    font-size: 0.85rem;
    font-weight: 700;
    color: #c4a87c;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.branch-body-new {
    text-align: right;
}

body[dir="ltr"] .branch-body-new {
    text-align: left;
}

.branch-title-new {
    font-size: 1.5rem !important;
    font-weight: 600 !important;
    color: #1a1a1a !important;
    margin-bottom: 0.5rem !important;
    line-height: 1.2 !important;
}

.branch-subtitle-new {
    font-size: 1.1rem;
    color: #777;
    margin-bottom: 2rem;
}

.branch-time-new {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #777;
    font-weight: 600;
    /* margin-bottom: 2.5rem; */
    font-size: 1.1rem;
    justify-content: flex-start;
}

.branch-time-new i {
    color: #c4a87c;
    font-size: 1.2rem;
}

/* Branch Footer Actions */
.branch-actions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.branch-action-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem 0.5rem;
    background: #f7f3f0;
    border-radius: 24px;
    color: #1a1a1a !important;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
}

.branch-action-card i {
    color: #c4a87c;
    font-size: 1.4rem;
}

.branch-action-card:hover {
    background: #ffffff;
    border-color: #c4a87c;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Responsive */
@media (max-width: 1200px) {
    .about-branch-grid {
        grid-template-columns: 1fr;
    }

    .about-img {
        height: 450px !important;
        min-height: 450px !important;
    }

    .about-img img {
        position: relative !important;
        height: 100% !important;
    }
}

@media (max-width: 768px) {
    .about-title-large {
        font-size: 2.5rem !important;
    }

    .branch-title-new {
        font-size: 1rem !important;
    }

    .about-card.premium,
    .branch-card.premium {
        padding: 2rem !important;
    }

    .branch-actions-grid {
        grid-template-columns: 1fr;
    }

    .branch-action-card {
        flex-direction: row;
        justify-content: center;
        padding: 1.25rem;
        gap: 1rem;
    }
}

/* --- Consolidated Kitchen Guide & Materials (Dark Theme) --- */

.kitchen-consolidated {
    background-color: #12100e !important;
    /* Dark rich brown/black background */
    padding: 100px 0;
    color: #ffffff;
}

.kitchen-consolidated .section-title h2 {
    color: #ffffff !important;
    font-size: 3.5rem !important;
    margin-bottom: 3rem !important;
}

.kitchen-consolidated .subtitle {
    color: #c4a87c !important;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

/* Tabs Styling */
.guide-tabs-new {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.guide-tab-item-new {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 140px;
    opacity: 0.4;
}

.guide-tab-item-new.active {
    opacity: 1;
}

.tab-thumb {
    width: 130px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.guide-tab-item-new.active .tab-thumb {
    border-color: #c4a87c;
    box-shadow: 0 0 20px rgba(196, 168, 124, 0.3);
}

.guide-tab-item-new .tab-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #8b8076;
    transition: color 0.3s ease;
}

.guide-tab-item-new.active .tab-label {
    color: #c4a87c;
}

/* Display Area Area */
.guide-display-area {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
}

.guide-content-new {
    display: none;
    animation: fadeIn 0.6s ease;
}

.guide-content-new.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.guide-main-card {
    position: relative;
    width: 100%;
    height: 600px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.main-guide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Glass Card */
.guide-glass-card {
    position: absolute;
    top: 40px;
    left: 40px;
    width: 340px;
    background: rgba(30, 25, 20, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2.5rem;
    z-index: 5;
}

body[dir="rtl"] .guide-glass-card {
    left: auto;
    right: 40px;
}

.guide-name {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: #fff;
}

.guide-info-row {
    margin-bottom: 1.5rem;
}

.info-label {
    display: block;
    font-size: 0.75rem;
    color: #c4a87c;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 4px;
}

.info-value {
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
}

.info-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin: 0;
}

/* Materials Part */
.materials-title-new {
    margin-top: 100px !important;
    text-align: center;
}

.materials-title-new h2 {
    font-size: 2.5rem !important;
    margin-bottom: 1rem !important;
}

.title-underline {
    width: 60px;
    height: 2px;
    background: #c4a87c;
    margin: 0 auto;
}

.materials-grid-new {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    margin-top: 4rem;
}

.material-card-new {
    position: relative;
    height: 300px;
    perspective: 1000px;
    cursor: pointer;
    background: transparent;
}

.mat-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.material-card-new.expanded .mat-card-inner {
    transform: rotateY(180deg);
}

.mat-card-front,
.mat-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(196, 168, 124, 0.3);
    /* Visible border as requested */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.mat-card-back {
    transform: rotateY(180deg);
    background: #141210;
}

.material-card-new:hover .mat-card-inner {
    transform: translateY(-5px);
}

.material-card-new.expanded:hover .mat-card-inner {
    transform: rotateY(180deg) translateY(-5px);
}

.mat-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.material-card-new:hover .mat-bg-img {
    transform: scale(1.1);
}

.mat-overlay-new {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.1) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    color: #fff;
    text-align: right;
    pointer-events: none;
    /* Let clicks pass to the parent card */
}

.mat-title-new {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 4px 0;
}

.mat-sub-new {
    font-size: 0.85rem;
    color: rgb(196 168 124);
    margin: 0;
    line-height: 1.4;
}

/* Responsive */
@media (max-width: 1200px) {
    .materials-grid-new {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .guide-main-card {
        height: 500px;
    }

    .guide-glass-card {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        border-radius: 0;
        background: rgba(30, 25, 20, 0.9);
        padding: 2rem;
    }

    body[dir="rtl"] .guide-glass-card {
        right: 0;
    }
}

@media (max-width: 768px) {
    .materials-grid-new {
        grid-template-columns: repeat(2, 1fr);
    }

    .kitchen-consolidated .section-title h2 {
        font-size: 2.5rem !important;
    }
}

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

    .guide-tabs-new {
        gap: 1rem;
    }

    .guide-tab-item-new {
        width: 110px;
    }

    .tab-thumb {
        width: 100px;
        height: 60px;
    }
}

.branches-container {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 2rem;
    margin-top: 1rem;
    align-items: stretch;
}

@media (max-width: 991px) {
    .branches-container {
        grid-template-columns: 1fr;
    }
}

.branch-card.premium {
    background: #fff;
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
    border: 1px solid #f0f0f0;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.branch-card.premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.branch-card.premium:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(196, 168, 124, 0.12);
    border-color: rgba(196, 168, 124, 0.2);
}

.branch-card.premium:hover::before {
    opacity: 1;
}

.branch-header-new {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.branch-icon-square {
    width: 54px;
    height: 54px;
    background: rgba(196, 168, 124, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    font-size: 1.4rem;
    transition: all 0.3s ease;
}

.branch-card.premium:hover .branch-icon-square {
    background: var(--primary);
    color: #fff;
    transform: rotate(10deg);
}

.branch-tag-new {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.branch-body-new {
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.branch-title-new {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.branch-time-new {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
    font-size: 0.95rem;
}

.branch-time-new i {
    color: var(--primary);
}

.branch-footer-new {
    border-top: 1px solid #f4f4f4;
    padding-top: 2rem;
}

.branch-actions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.branch-action-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: #fdfbf7;
    border: 1px solid #f4f2ee;
    border-radius: 16px;
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.branch-action-card i {
    font-size: 1.1rem;
    color: var(--primary);
}

.branch-action-card:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.branch-action-card:hover i {
    color: #fff;
}

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

    .branch-action-card {
        flex-direction: row;
        justify-content: flex-start;
        padding: 12px 20px;
        gap: 15px;
    }
}

/* ============================================================
   Phone Input with Country Code Picker
   ============================================================ */
.phone-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    background: var(--bg-card, #fff);
    border: 1.5px solid var(--border, #e8e2d8);
    border-radius: 12px;
    overflow: visible;
    transition: border-color 0.2s, box-shadow 0.2s;
    min-height: 50px;
}
.phone-input-wrap:focus-within {
    border-color: var(--primary, #c9a84c);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.12);
}

/* Country trigger button */
.phone-country-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 14px;
    height: 100%;
    min-height: 48px;
    background: transparent;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.15s;
    border-radius: 12px 0 0 12px;
}
[dir="ltr"] .phone-country-btn { border-radius: 12px 0 0 12px; }
[dir="rtl"] .phone-country-btn { border-radius: 0 12px 12px 0; }
.phone-country-btn:hover { background: rgba(201, 168, 76, 0.06); }
.phone-country-btn:focus { outline: none; }

.phone-country-flag {
    font-size: 20px;
    line-height: 1;
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
    display: inline-block;
    width: 26px;
    text-align: center;
}
.phone-country-code {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--primary, #c9a84c);
    letter-spacing: 0.02em;
    font-variant-numeric: tabular-nums;
    direction: ltr;
}
.phone-chevron {
    color: #aaa;
    transition: transform 0.2s;
    flex-shrink: 0;
}
.phone-chevron.open { transform: rotate(180deg); }

/* Divider */
.phone-divider {
    display: block;
    width: 1px;
    height: 28px;
    background: var(--border, #e8e2d8);
    flex-shrink: 0;
}

/* Number input */
.phone-number-input {
    flex: 1;
    border: none !important;
    background: transparent !important;
    padding: 0 14px;
    font-size: 0.95rem;
    color: var(--text-main, #1a1a1a);
    height: 48px;
    outline: none !important;
    box-shadow: none !important;
    min-width: 0;
    font-family: inherit;
    direction: ltr;
}
.phone-number-input::placeholder { color: #bbb; }

/* Dropdown panel */
.phone-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 300px;
    max-height: 320px;
    background: #fff;
    border: 1.5px solid #e8e2d8;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.14);
    overflow: hidden;
    z-index: 9999;
    display: none;
    flex-direction: column;
}
[dir="rtl"] .phone-dropdown { left: auto; right: 0; }
.phone-dropdown.open { display: flex; }

/* Search bar inside dropdown */
.phone-search-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-bottom: 1px solid #f0ece4;
    background: #fafaf8;
    flex-shrink: 0;
}
.phone-search-input {
    flex: 1;
    border: none !important;
    background: transparent !important;
    font-size: 0.88rem;
    color: #333;
    outline: none !important;
    box-shadow: none !important;
    font-family: inherit;
    min-width: 0;
    padding: 0;
}
.phone-search-input::placeholder { color: #bbb; }
.phone-search-clear {
    background: none;
    border: none;
    cursor: pointer;
    color: #aaa;
    font-size: 12px;
    padding: 2px 4px;
    line-height: 1;
    border-radius: 4px;
    flex-shrink: 0;
}
.phone-search-clear:hover { color: #666; background: #eee; }

/* Scrollable list */
.phone-country-list {
    overflow-y: auto;
    flex: 1;
}
.phone-country-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    cursor: pointer;
    transition: background 0.12s;
    font-size: 0.88rem;
    color: #333;
}
.phone-country-item:hover { background: #faf7f0; }
.phone-country-item.active {
    background: rgba(201, 168, 76, 0.1);
    font-weight: 600;
}
.phone-ci-flag {
    font-size: 18px;
    line-height: 1;
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}
.phone-ci-name {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.phone-ci-dial {
    font-size: 0.78rem;
    font-variant-numeric: tabular-nums;
    color: #999;
    direction: ltr;
    flex-shrink: 0;
}
.phone-country-item.active .phone-ci-dial { color: var(--primary, #c9a84c); font-weight: 700; }
.phone-country-empty {
    text-align: center;
    padding: 20px;
    color: #bbb;
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 480px) {
    .phone-dropdown { width: 280px; }
}

/* ============================================================
   WhatsApp Floating Button - فوق سهم الرجوع للأعلى
   ============================================================ */
.whatsapp-float {
    position: fixed;
    bottom: 88px; /* فوق سهم الرجوع */
    right: 22px;
    background: #25d366;
    color: #fff;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
    z-index: 1199;
    text-decoration: none;
    transition: transform 0.25s cubic-bezier(.2,.9,.2,1), box-shadow 0.25s ease;
    will-change: transform;
}

.whatsapp-float svg {
    width: 28px;
    height: 28px;
    fill: #fff;
    display: block;
}

.whatsapp-float:hover {
    transform: translateY(-4px) scale(1.06);
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.55);
    color: #fff;
}

/* RTL: يمين للعربية */
html[dir="rtl"] .whatsapp-float,
html:lang(ar) .whatsapp-float {
    right: 22px;
    left: auto;
}

/* LTR: يسار للإنجليزية */
html[dir="ltr"] .whatsapp-float,
html:lang(en) .whatsapp-float {
    left: 22px;
    right: auto;
}

/* Hide when mobile menu is open */
body.no-scroll .whatsapp-float {
    opacity: 0;
    pointer-events: none;
}

/* Mobile */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 46px;
        height: 46px;
        font-size: 22px;
        bottom: 84px;
        right: 14px;
    }

    html[dir="rtl"] .whatsapp-float,
    html:lang(ar) .whatsapp-float {
        right: 14px;
        left: auto;
    }

    html[dir="ltr"] .whatsapp-float,
    html:lang(en) .whatsapp-float {
        left: 14px;
        right: auto;
    }
}

/* ============================================================
   Performance Hints - تحسينات الأداء
   ============================================================ */

/* GPU acceleration for animated elements */
.back-to-top,
.order-now,
header {
    will-change: transform;
}

/* Optimize scroll-triggered animations */
[data-aos],
.fade-in,
.slide-up {
    will-change: opacity, transform;
}

/* Smooth video rendering */
video {
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Home knowledge hub */
.home-knowledge{padding:100px 0;background:linear-gradient(180deg,#fdfbf7,#f5efe5)}
.knowledge-heading{display:flex;justify-content:space-between;align-items:end;gap:40px;margin-bottom:42px}.knowledge-heading>div{max-width:720px}.knowledge-kicker{display:inline-flex;align-items:center;gap:9px;color:var(--primary-dark);font-weight:800;margin-bottom:12px}.knowledge-heading h2{font-size:clamp(2rem,4vw,3.25rem);line-height:1.25;margin-bottom:12px}.knowledge-heading p{color:var(--text-light);font-size:1.05rem}.knowledge-all-link{flex:0 0 auto;color:var(--primary-dark);font-weight:800;text-decoration:none;padding-bottom:5px;border-bottom:1px solid rgba(163,137,96,.35)}.knowledge-all-link i,.knowledge-card-link i{margin-inline-start:7px}.knowledge-home-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.knowledge-home-card{min-height:330px;display:flex;flex-direction:column;align-items:flex-start;padding:30px;border-radius:20px;background:#fff;color:var(--text-main);border:1px solid rgba(196,168,124,.18);box-shadow:var(--shadow-sm);text-decoration:none;transition:.3s ease}.knowledge-home-card:hover{transform:translateY(-7px);box-shadow:0 22px 50px rgba(44,40,37,.12);border-color:rgba(196,168,124,.45)}.knowledge-card-icon{width:52px;height:52px;display:grid;place-items:center;border-radius:15px;background:#f3ecdf;color:var(--primary-dark);font-size:1.25rem;margin-bottom:28px}.knowledge-home-card small{color:#d8c39f;font-weight:800;margin-bottom:5px}.knowledge-home-card h3{font-size:1.25rem;line-height:1.45;margin-bottom:10px}.knowledge-home-card p{color:var(--text-light);font-size:.92rem}.knowledge-card-link{margin-top:auto;padding-top:25px;color:var(--primary-dark);font-weight:800}.knowledge-home-card-featured{background:linear-gradient(145deg,#24211d,#39322b);color:#fff}.knowledge-home-card-featured p{color:rgba(255,255,255,.67)}.knowledge-home-card-featured .knowledge-card-icon{background:rgba(216,195,159,.13);color:#d8c39f}.knowledge-home-card-featured .knowledge-card-link{color:#d8c39f}

/* Buying guide checklist */
.buyer-checklist{scroll-margin-top:110px;display:grid;grid-template-columns:.85fr 1.15fr;gap:55px;margin-top:28px;padding:45px;border-radius:22px;background:#fff;border:1px solid rgba(196,168,124,.18);box-shadow:var(--shadow-sm)}.buyer-checklist>div>span{color:var(--primary-dark);font-weight:800}.buyer-checklist h2{font-size:2rem;line-height:1.35;margin:7px 0 12px}.buyer-checklist p{color:var(--text-light)}.buyer-checklist ul{list-style:none;display:grid;gap:12px}.buyer-checklist li{display:flex;align-items:flex-start;gap:12px;padding-bottom:12px;border-bottom:1px solid #eee8df}.buyer-checklist li:last-child{border:0}.buyer-checklist li i{flex:0 0 auto;width:24px;height:24px;display:grid;place-items:center;border-radius:50%;background:#f1e9dc;color:var(--primary-dark);font-size:.7rem}

/* Long-form GEO articles */
.article-header{position:relative;overflow:hidden;padding:155px 0 85px;background:radial-gradient(circle at 15% 30%,rgba(196,168,124,.18),transparent 25%),linear-gradient(125deg,#191713,#302b25);color:#fff}.article-header-inner{max-width:900px;text-align:center}.article-header h1{font-size:clamp(2.4rem,5vw,4.2rem);line-height:1.25;margin:0 0 18px}.article-header-inner>p{max-width:760px;margin:auto;color:rgba(255,255,255,.72);font-size:1.1rem;line-height:1.9}.article-header-meta{display:flex;justify-content:center;flex-wrap:wrap;gap:22px;margin-top:28px;color:rgba(255,255,255,.62);font-size:.86rem}.article-header-meta i{color:#d8c39f;margin-inline-end:5px}.article-layout{display:grid;grid-template-columns:240px minmax(0,760px);justify-content:center;gap:65px;padding-top:80px;padding-bottom:80px}.article-toc{position:sticky;top:105px;align-self:start;display:flex;flex-direction:column;padding:22px;border:1px solid rgba(196,168,124,.2);border-radius:16px;background:#fff}.article-toc strong{margin-bottom:10px}.article-toc a{padding:9px 0;color:var(--text-light);text-decoration:none;font-size:.88rem;border-bottom:1px solid #f0ece6}.article-toc a:hover{color:var(--primary-dark)}.article-content{min-width:0}.direct-answer{padding:28px 30px;border-radius:18px;background:#f2eadc;border-inline-start:4px solid var(--primary);margin-bottom:45px}.direct-answer span{display:block;color:var(--primary-dark);font-weight:900;margin-bottom:8px}.direct-answer i{margin-inline-end:6px}.direct-answer p{font-size:1.08rem;line-height:1.9}.article-content>section:not(.direct-answer){scroll-margin-top:110px;margin-bottom:48px}.article-content h2{font-size:1.85rem;line-height:1.4;margin-bottom:13px}.article-content>section>p{font-size:1.06rem;color:#59544e;line-height:2}.article-checklist{padding:32px;border-radius:18px;background:#28241f;color:#fff}.article-checklist>p{color:rgba(255,255,255,.65)!important}.article-checklist ul{list-style:none;margin-top:20px;display:grid;gap:12px}.article-checklist li{display:flex;gap:12px;align-items:center}.article-checklist li i{width:25px;height:25px;display:grid;place-items:center;border-radius:50%;background:rgba(216,195,159,.14);color:#d8c39f;font-size:.7rem}.article-disclaimer{display:flex;gap:13px;padding:20px;border-radius:13px;background:#f5f2ed;color:var(--text-light);font-size:.88rem}.article-disclaimer i{color:var(--primary-dark);margin-top:5px}.related-articles{padding:80px 0;background:#f7f2ea}.related-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:22px}.related-grid>a{display:block;padding:30px;border-radius:18px;background:#fff;color:var(--text-main);text-decoration:none;border:1px solid rgba(196,168,124,.18);transition:.3s}.related-grid>a:hover{transform:translateY(-4px);box-shadow:var(--shadow-md)}.related-grid span{color:var(--primary-dark);font-weight:800;font-size:.85rem}.related-grid h3{font-size:1.3rem;line-height:1.5;margin:7px 0}.related-grid p{color:var(--text-light);font-size:.9rem}.related-grid b{display:block;margin-top:18px;color:var(--primary-dark)}.article-link{text-decoration:none}.article-link-muted{color:#9b958d}

@media(max-width:1100px){.knowledge-home-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:900px){.article-layout{grid-template-columns:1fr;gap:30px}.article-toc{position:static}.article-toc a{display:none}.buyer-checklist{grid-template-columns:1fr;gap:28px}}
@media(max-width:700px){.home-knowledge{padding:70px 0}.knowledge-heading{align-items:flex-start;flex-direction:column;gap:18px}.knowledge-home-grid,.related-grid{grid-template-columns:1fr}.knowledge-home-card{min-height:285px}.article-header{padding:130px 0 65px}.article-header-meta{gap:10px 18px}.article-layout{padding-top:55px}.buyer-checklist{padding:28px 22px}.article-checklist{padding:25px 20px}}

/* Reduce paint areas for fixed elements */
.back-to-top,
.whatsapp-float,
.order-now {
    contain: layout style;
}

/* National Day offer */
:root{--offer-strip-height:58px}
.site-offer-strip{position:fixed;inset:0 0 auto;z-index:1002;height:var(--offer-strip-height);display:flex;align-items:center;justify-content:center;gap:clamp(12px,2.2vw,34px);padding:0 max(16px,env(safe-area-inset-right)) 0 max(16px,env(safe-area-inset-left));color:#fff;text-decoration:none;background:linear-gradient(100deg,#063d34,#082924 58%,#051b19);border-bottom:1px solid rgba(239,192,90,.38);box-shadow:0 8px 24px rgba(0,0,0,.16)}
.site-offer-strip:hover{color:#fff;background:linear-gradient(100deg,#075044,#0a332d 58%,#06231f)}
.site-offer-strip__badge{flex:0 0 auto;width:38px;height:38px;display:grid;place-items:center;border:1px solid #efc05a;border-radius:11px;color:#efc05a;font-size:1.25rem;font-weight:900;transform:rotate(-2deg)}
.site-offer-strip__copy{display:flex;align-items:baseline;gap:10px;white-space:nowrap}.site-offer-strip__copy strong{font-size:.95rem}.site-offer-strip__copy small{color:rgba(255,255,255,.72);font-size:.75rem}.site-offer-strip__copy b{color:#efc05a}
.site-offer-strip__countdown{display:flex;align-items:center;gap:5px;direction:ltr;color:#fff}.site-offer-strip__countdown>.cd-expires-label{margin-inline-end:5px;color:rgba(255,255,255,.66);font-size:.7rem;direction:rtl}.site-offer-strip__countdown>span:not(.cd-expires-label){display:flex;align-items:baseline;gap:2px}.site-offer-strip__countdown b{font-size:.9rem}.site-offer-strip__countdown small{color:#d6bd87;font-size:.6rem}.site-offer-strip__countdown i{color:#efc05a;font-style:normal;font-weight:900}
.site-offer-strip__action{display:inline-flex;align-items:center;gap:7px;padding:7px 12px;border-radius:9px;background:#e8bb5d;color:#11211d;font-size:.76rem;font-weight:900;white-space:nowrap}
header{top:var(--offer-strip-height)}
.offer-section{scroll-margin-top:calc(var(--offer-strip-height) + 86px);padding:64px 0;background:linear-gradient(180deg,#071d1a,#0a2d27)}
.offer-details{max-width:1100px;margin:auto}.offer-details__heading{text-align:center;max-width:720px;margin:0 auto 30px;color:#fff}.offer-details__heading>span{color:#efc05a;font-size:.82rem;font-weight:800;letter-spacing:.08em}.offer-details__heading h2{margin:7px 0 10px;font-size:clamp(1.75rem,3vw,2.6rem)}.offer-details__heading p{color:rgba(255,255,255,.72)}.offer-details img{display:block;width:100%;height:auto;border:1px solid rgba(239,192,90,.36);border-radius:22px;box-shadow:0 22px 55px rgba(0,0,0,.3)}
@media(max-width:720px){:root{--offer-strip-height:56px}.site-offer-strip{gap:7px;justify-content:space-between;padding-inline:10px}.site-offer-strip__badge{display:none}.site-offer-strip__copy{display:block;min-width:0}.site-offer-strip__copy strong{display:block;overflow:hidden;text-overflow:ellipsis;font-size:.72rem}.site-offer-strip__copy small{display:block;font-size:.64rem}.site-offer-strip__countdown{gap:2px;flex:0 0 auto}.site-offer-strip__countdown>.cd-expires-label{display:inline;margin-inline-end:2px;font-size:.58rem;white-space:nowrap}.site-offer-strip__countdown b{font-size:.68rem}.site-offer-strip__countdown small{font-size:.48rem}.site-offer-strip__action{display:inline-flex;flex:0 0 auto;padding:6px 8px;font-size:.62rem}.offer-section{padding:42px 0}.offer-details__heading{margin-bottom:20px}.offer-details img{border-radius:14px}}
@media(max-width:430px){.site-offer-strip__badge{display:none}.site-offer-strip__countdown>span:nth-of-type(n+4),.site-offer-strip__countdown>i:nth-of-type(n+3){display:none}}

/* Responsive resilience layer */
html {
    width: 100%;
    overflow-x: clip;
    -webkit-text-size-adjust: 100%;
}

body {
    min-width: 320px;
    overflow-x: clip;
}

img,
video,
svg {
    max-width: 100%;
}

img,
video {
    height: auto;
}

.hero > img,
.hero > video,
.project-item img,
.step-image img,
.material-image img,
.guide-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.container {
    width: min(100%, 1280px);
    padding-inline: clamp(16px, 4vw, 40px);
}

:where(.row, .projects-grid, .materials-grid-new, .contact-card, .article-layout, .buyer-checklist) > * {
    min-width: 0;
}

:where(h1, h2, h3, p, a, span, li) {
    overflow-wrap: break-word;
}

input,
select,
textarea,
button {
    max-width: 100%;
}

.material-modal-card,
.step-modal-card {
    max-width: calc(100vw - 32px);
    max-height: calc(100dvh - 32px);
    overflow-y: auto;
}

@media (max-width: 1100px) {
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    }

    .contact-card {
        grid-template-columns: minmax(0, 1fr) minmax(300px, 38%);
    }
}

@media (max-width: 991px) {
    .hero {
        height: auto;
        min-height: max(560px, 100svh);
    }

    .hero-title {
        font-size: clamp(2.1rem, 8vw, 4rem);
    }

    .contact-card {
        grid-template-columns: 1fr;
    }

    .contact-info,
    .contact-map {
        border: 0;
        min-width: 0;
    }

    .guide-main-card {
        height: auto;
        min-height: 0;
    }

    .guide-main-image {
        height: clamp(300px, 55vw, 500px);
    }

    .content-hero h1,
    .article-header h1 {
        font-size: clamp(2rem, 7vw, 3.5rem);
    }
}

@media (hover: none), (pointer: coarse) {
    .project-overlay {
        opacity: 1;
        background: linear-gradient(to top, rgba(15, 13, 11, .84), transparent 68%);
    }

    .project-actions {
        opacity: 1;
        transform: none;
    }

    .project-item:hover,
    .knowledge-home-card:hover,
    .related-grid > a:hover {
        transform: none;
    }
}

@media (max-width: 768px) {
    section {
        scroll-margin-top: 76px;
    }

    .section-padding,
    .contact-section,
    .related-articles {
        padding-block: 64px;
    }

    .section-title,
    .buyer-checklist h2,
    .article-content h2 {
        font-size: clamp(1.65rem, 7vw, 2.25rem);
    }

    .about-img {
        height: clamp(280px, 80vw, 380px);
    }

    .project-item {
        height: auto;
        aspect-ratio: 4 / 3;
    }

    .step-card,
    .knowledge-home-card,
    .buyer-checklist,
    .direct-answer,
    .article-checklist {
        padding: 24px 20px;
    }

    .step-image {
        height: clamp(210px, 58vw, 330px);
    }

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

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

    .contact-info {
        padding: 30px 22px;
    }

    .contact-map {
        min-height: 320px;
    }

    .article-header,
    .content-hero {
        padding-top: 120px;
    }

    .article-header-meta {
        align-items: center;
    }
}

@media (max-width: 600px) {
    .projects-grid,
    .materials-grid-new,
    .about-features,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .guide-tabs {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scrollbar-width: thin;
        padding-bottom: 8px;
    }

    .guide-tab {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .social-links,
    .article-header-meta {
        flex-wrap: wrap;
    }

    .phone-country-dropdown {
        width: min(280px, calc(100vw - 40px));
    }

    .file-upload-area {
        padding: 24px 14px;
    }
}

@media (max-width: 380px) {
    .container {
        padding-inline: 14px;
    }

    .hero-title {
        font-size: 1.95rem;
    }

    .contact-info,
    .step-card,
    .buyer-checklist {
        padding-inline: 16px;
    }
}
