:root {
    --gold: #B98534;
    --gold-dark: #8F6425;
    --ink: #0D0F11;
    --ink-2: #171A1E;
    --paper: #FFFFFF;
    --soft: #F6F4EF;
    --line: #E7DFD2;
    --muted: #6B6F75;
    --success: #25D366;
    --shadow: 0 18px 60px rgba(13,15,17,.10);
    --radius: 24px;
    --container: 1220px;
    --transition: .28s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Cairo",sans-serif;
    color: var(--ink);
    background: #fff;
    line-height: 1.9;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button,input,textarea,select {
    font: inherit;
}

.container {
    width: min(92%,var(--container));
    margin-inline: auto;
}

.section {
    padding: 96px 0;
}

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

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 999px;
    background: #F6EEE1;
    color: var(--gold-dark);
    font-weight: 800;
    font-size: 13px;
    margin-bottom: 15px;
}

.section-title {
    font-size: clamp(30px,4vw,48px);
    line-height: 1.35;
    font-weight: 900;
    margin-bottom: 16px;
}

.section-title span {
    color: var(--gold);
}

.lead {
    color: var(--muted);
    max-width: 760px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 50px;
    padding: 11px 22px;
    border-radius: 13px;
    font-weight: 800;
    transition: transform var(--transition),box-shadow var(--transition),background var(--transition);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-dark {
    background: var(--ink);
    color: #fff;
    box-shadow: 0 12px 30px rgba(13,15,17,.18);
}

.btn-gold {
    background: var(--gold);
    color: #fff;
    box-shadow: 0 12px 30px rgba(185,133,52,.20);
}

.btn-wa {
    background: var(--success);
    color: #fff;
}

.btn-outline {
    border: 1px solid var(--line);
    background: #fff;
}

.topline {
    height: 4px;
    background: linear-gradient(90deg,var(--ink) 0 68%,var(--gold) 68% 100%);
}

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(0,0,0,.06);
}

.navbar {
    min-height: 82px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 28px;
    align-items: center;
    direction: ltr;
}

.logo {
    justify-self: start;
    direction: rtl;
}

.logo img {
    width: 118px;
    height: 64px;
    object-fit: contain;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    direction: rtl;
}

.nav a {
    font-size: 14px;
    font-weight: 800;
    position: relative;
    padding: 29px 0;
}

.nav a:after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 18px;
    height: 3px;
    width: 0;
    background: var(--gold);
    border-radius: 10px;
    transition: width var(--transition);
}

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

.nav a:hover:after,.nav a.active:after {
    width: 100%;
}

.header-actions {
    display: flex;
    gap: 8px;
    direction: rtl;
}

.icon-btn {
    min-width: 44px;
    height: 44px;
    padding: 0 14px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #fff;
    font-weight: 800;
    font-size: 13px;
}

.icon-call {
    background: var(--ink);
}

.icon-wa {
    background: var(--success);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 12px;
    padding: 10px;
}

.menu-toggle span {
    display: block;
    height: 2px;
    background: var(--ink);
    margin: 5px 0;
    transition: .25s;
}

.hero {
    position: relative;
    min-height: 700px;
    display: flex;
    align-items: center;
    background: linear-gradient(90deg,rgba(13,15,17,.94),rgba(13,15,17,.65),rgba(13,15,17,.18)),url("images/hero.svg") center/cover no-repeat;
    color: #fff;
    overflow: hidden;
}

.hero:after {
    content: "";
    position: absolute;
    inset: auto -160px -260px auto;
    width: 520px;
    height: 520px;
    border: 70px solid rgba(185,133,52,.18);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
}

.hero h1 {
    font-size: clamp(44px,6vw,78px);
    line-height: 1.18;
    font-weight: 900;
    margin-bottom: 22px;
}

.hero h1 span {
    color: #E7C17F;
}

.hero p {
    max-width: 720px;
    color: rgba(255,255,255,.82);
    font-size: 18px;
    margin-bottom: 30px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.stats {
    margin-top: -48px;
    position: relative;
    z-index: 3;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 14px;
}

.stat {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 22px;
    text-align: center;
    box-shadow: var(--shadow);
}

.stat strong {
    display: block;
    font-size: 24px;
    color: var(--gold-dark);
}

.stat span {
    font-size: 13px;
    color: var(--muted);
}

.about-grid {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    gap: 70px;
    align-items: center;
    direction: ltr;
}

.about-image,.about-copy {
    direction: rtl;
}

.about-image img {
    border-radius: 30px;
    box-shadow: var(--shadow);
    width: 100%;
    min-height: 500px;
    object-fit: cover;
}

.check-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 26px 0;
}

.check-item {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: #fff;
}

.check-item i {
    color: var(--gold);
    margin-left: 8px;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 22px;
}

.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 12px 38px rgba(13,15,17,.06);
    transition: .3s;
}

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

.card-media {
    aspect-ratio: 4/3;
    background: #efefef;
    overflow: hidden;
}

.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-body {
    padding: 23px;
}

.card-body h3 {
    font-size: 19px;
    margin-bottom: 8px;
}

.card-body p {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 16px;
}

.card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
}

.card-actions .btn {
    padding-inline: 10px;
    font-size: 13px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 16px;
}

.portfolio-item {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/3;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .4s;
}

.portfolio-item:hover img {
    transform: scale(1.04);
}

.portfolio-item:after {
    content: "مشروع منفذ";
    position: absolute;
    inset: auto 14px 14px 14px;
    padding: 10px 14px;
    border-radius: 12px;
    background: rgba(13,15,17,.78);
    color: #fff;
    text-align: center;
    font-weight: 800;
}

.center {
    text-align: center;
}

.center .lead {
    margin-inline: auto;
}

.process {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 18px;
}

.step {
    padding: 28px 22px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    text-align: center;
    position: relative;
}

.step b {
    display: grid;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: var(--ink);
    color: #fff;
    place-items: center;
    margin: 0 auto 14px;
}

.step h3 {
    margin-bottom: 7px;
}

.step p {
    color: var(--muted);
    font-size: 14px;
}

.faq-wrap {
    max-width: 900px;
    margin: 35px auto 0;
}

.faq-item {
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-q {
    width: 100%;
    background: #fff;
    border: 0;
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    gap: 15px;
    font-weight: 900;
    text-align: right;
    cursor: pointer;
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
}

.faq-a p {
    padding: 0 20px 18px;
    color: var(--muted);
}

.faq-item.active .faq-q {
    color: var(--gold-dark);
}

.cta {
    padding: 72px 0;
    background: linear-gradient(120deg,#0D0F11,#272016);
    color: #fff;
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
}

.cta p {
    color: rgba(255,255,255,.72);
}

.footer {
    background: #0B0D0F;
    color: #fff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 35px;
    padding: 64px 0 44px;
}

.footer-logo img {
    width: 135px;
    height: 78px;
    object-fit: contain;
    background: #fff;
    border-radius: 12px;
    padding: 4px;
}

.footer p,.footer a {
    color: rgba(255,255,255,.68);
    font-size: 14px;
}

.footer h3 {
    margin-bottom: 13px;
    color: #E7C17F;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 18px 0;
    text-align: center;
    color: rgba(255,255,255,.5);
    font-size: 13px;
}

.page-hero {
    padding: 100px 0 80px;
    background: linear-gradient(120deg,#0D0F11,#33291D);
    color: #fff;
    text-align: center;
}

.page-hero h1 {
    font-size: clamp(34px,5vw,60px);
    margin-bottom: 10px;
}

.page-hero p {
    color: rgba(255,255,255,.72);
    max-width: 760px;
    margin: auto;
}

.content-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 50px;
    align-items: start;
}

.prose h2 {
    font-size: 30px;
    margin: 26px 0 10px;
}

.prose h3 {
    font-size: 22px;
    margin: 22px 0 8px;
}

.prose p {
    color: var(--muted);
    margin-bottom: 14px;
}

.prose ul {
    list-style: disc;
    padding-right: 22px;
    color: var(--muted);
}

.side-card {
    position: sticky;
    top: 110px;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 24px;
    background: var(--soft);
}

.side-card img {
    border-radius: 16px;
    margin-bottom: 18px;
}

.contact-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 35px;
}

.contact-card {
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 24px;
    background: #fff;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.field.full {
    grid-column: 1/-1;
}

.field input,.field textarea,.field select {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 13px 14px;
    outline: none;
}

.field input:focus,.field textarea:focus,.field select:focus {
    border-color: var(--gold);
}

.floating-wa {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 900;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--success);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 26px;
    box-shadow: 0 12px 30px rgba(37,211,102,.28);
}

/* FINAL REVISIONS */

.card-media {
    aspect-ratio: 1/1 !important;
}

.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-actions {
    display: flex !important;
    flex-direction: column !important;
    gap: 9px !important;
}

.card-actions .btn {
    width: 100%;
}

.floating-contact {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 900;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.floating-contact a {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 23px;
    box-shadow: 0 12px 30px rgba(0,0,0,.2);
}

.floating-call {
    background: #0D0F11;
}

.floating-whatsapp {
    background: #25D366;
}

.footer-grid {
    direction: ltr;
}

.footer-grid>div {
    direction: rtl;
}

.footer-grid>div:first-child {
    order: 4;
}

.footer-grid>div:nth-child(2) {
    order: 3;
}

.footer-grid>div:nth-child(3) {
    order: 2;
}

.footer-grid>div:nth-child(4) {
    order: 1;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0,0,0,.92);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: .25s;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.lightbox-image {
    max-width: 88vw;
    max-height: 86vh;
    border-radius: 15px;
}

.lightbox button {
    position: absolute;
    border: 0;
    background: rgba(255,255,255,.14);
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
}

.lightbox-close {
    top: 18px;
    right: 18px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 28px;
}

.lightbox-prev,.lightbox-next {
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 68px;
    border-radius: 14px;
    font-size: 24px;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

@media (max-width:700px) {
    .footer-grid {
        direction: rtl;
    }

    .footer-grid>div {
        order: initial !important;
    }

    .floating-contact {
        right: 13px;
        bottom: 13px;
    }

    .floating-contact a {
        width: 54px;
        height: 54px;
    }

    .lightbox-image {
        max-width: 94vw;
        max-height: 80vh;
    }

    .lightbox-prev {
        left: 6px;
    }

    .lightbox-next {
        right: 6px;
    }
}

/* ===== Final Made in Egypt revisions ===== */

:root {
    --gold: #BF8430;
    --gold-dark: #9B6923;
}

.hero {
    background: linear-gradient(90deg,rgba(13,15,17,.95),rgba(13,15,17,.67),rgba(13,15,17,.20)),
url("images/hero-main.webp") center/cover no-repeat !important;
}

.card-media {
    aspect-ratio: 1/1 !important;
}

.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
}

.card-actions {
    display: flex !important;
    flex-direction: column !important;
    gap: 9px !important;
}

.card-actions .btn {
    width: 100%;
}

.about-video-wrap {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #111;
    aspect-ratio: 4/3;
}

.about-video-wrap video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.floating-contact {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 950;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.floating-contact a {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 23px;
    box-shadow: 0 12px 30px rgba(0,0,0,.18);
}

.floating-call {
    background: var(--gold) !important;
}

.floating-whatsapp {
    background: #25D366;
}

.footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr !important;
    grid-template-areas: "brand quick products contact";
    direction: ltr !important;
}

.footer-brand {
    grid-area: brand;
    direction: rtl;
    text-align: right;
}

.footer-quick {
    grid-area: quick;
    direction: rtl;
}

.footer-products {
    grid-area: products;
    direction: rtl;
}

.footer-contact {
    grid-area: contact;
    direction: rtl;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0,0,0,.93);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: .25s;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.lightbox-image {
    max-width: 88vw;
    max-height: 86vh;
    border-radius: 16px;
    box-shadow: 0 20px 70px rgba(0,0,0,.45);
}

.lightbox button {
    position: absolute;
    border: 0;
    background: rgba(255,255,255,.14);
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
    backdrop-filter: blur(8px);
}

.lightbox-close {
    top: 18px;
    right: 18px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 28px;
}

.lightbox-prev,.lightbox-next {
    top: 50%;
    transform: translateY(-50%);
    width: 54px;
    height: 70px;
    border-radius: 14px;
    font-size: 24px;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

@media (max-width:700px) {
    .footer-grid {
        grid-template-columns: 1fr !important;
        grid-template-areas: "brand" "quick" "products" "contact";
        text-align: center !important;
    }

    .footer-brand,.footer-quick,.footer-products,.footer-contact {
        text-align: center !important;
    }

    .footer-logo img {
        margin-inline: auto;
    }

    .floating-contact {
        right: 13px;
        bottom: 13px;
    }

    .floating-contact a {
        width: 54px;
        height: 54px;
    }

    .lightbox-image {
        max-width: 94vw;
        max-height: 80vh;
    }

    .lightbox-prev {
        left: 6px;
    }

    .lightbox-next {
        right: 6px;
    }
}

/*
 * =========================================================
 * FINAL COMPLETE REVISION
 * =========================================================
 */

:root {
    --gold: #BF8430;
    --gold-dark: #9B6923;
}

/* Product cards */

.card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-media {
    display: block;
    width: 100%;
    aspect-ratio: 1/1 !important;
    overflow: hidden;
}

.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    object-position: center;
}

.card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    text-align: center !important;
}

.card-body h3 {
    margin-bottom: 8px;
}

.card-body p {
    margin-bottom: 18px;
}

.card-actions {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    margin-top: auto;
}

.card-actions .btn {
    width: 100%;
}

/* Previous works */

.portfolio-item {
    cursor: zoom-in;
}

.portfolio-item::after {
    display: none !important;
    content: none !important;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Lightbox */

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0,0,0,.94);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: .25s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.lightbox-image {
    max-width: 88vw;
    max-height: 86vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 24px 80px rgba(0,0,0,.5);
}

.lightbox button {
    position: absolute;
    z-index: 5;
    border: 0;
    background: rgba(255,255,255,.14);
    color: #fff;
    cursor: pointer;
    display: grid;
    place-items: center;
    backdrop-filter: blur(8px);
}

.lightbox button:hover {
    background: var(--gold);
}

.lightbox-close {
    top: 18px;
    right: 18px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 29px;
}

.lightbox-prev,
.lightbox-next {
    top: 50%;
    transform: translateY(-50%);
    width: 54px;
    height: 70px;
    border-radius: 14px;
    font-size: 24px;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

/* About video */

.about-video-wrap {
    overflow: hidden;
    border-radius: 30px;
    background: #0d0f11;
    box-shadow: var(--shadow);
    aspect-ratio: 4/3;
}

.about-video-wrap video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #0d0f11;
}

/* About work steps */

.about-process {
    background: var(--soft);
}

.about-process-head {
    max-width: 820px;
    margin: 0 auto 42px;
    text-align: center;
}

.about-process-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 18px;
}

.about-step {
    padding: 28px 22px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fff;
    text-align: center;
    box-shadow: 0 14px 36px rgba(0,0,0,.05);
}

.about-step b {
    display: grid;
    width: 52px;
    height: 52px;
    margin: 0 auto 15px;
    border-radius: 16px;
    background: var(--gold);
    color: #fff;
    place-items: center;
    font-size: 17px;
}

.about-step h3 {
    margin-bottom: 8px;
}

.about-step p {
    color: var(--muted);
    font-size: 14px;
}

/* Floating call button */

.floating-call {
    background: var(--gold) !important;
}

/*
 * Footer desktop visual order:
 * logo/company left -> products -> quick links -> contact right
 */

.footer-grid {
    grid-template-areas: "brand products quick contact" !important;
    direction: ltr !important;
}

.footer-brand {
    grid-area: brand;
    direction: rtl;
}

.footer-products {
    grid-area: products;
    direction: rtl;
}

.footer-quick {
    grid-area: quick;
    direction: rtl;
}

.footer-contact {
    grid-area: contact;
    direction: rtl;
}

/* Basic copy/select deterrence */

body {
    -webkit-user-select: none;
    user-select: none;
}

input,textarea,select {
    -webkit-user-select: text;
    user-select: text;
}

@media (max-width:900px) {
    .about-process-grid {
        grid-template-columns: repeat(2,1fr);
    }
}

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

    .footer-grid {
        grid-template-areas: "brand" "products" "quick" "contact" !important;
        direction: rtl !important;
    }

    .lightbox-image {
        max-width: 94vw;
        max-height: 80vh;
    }

    .lightbox-prev {
        left: 6px;
    }

    .lightbox-next {
        right: 6px;
    }
}

/* Lightbox visibility fix */

.lightbox {
    position: fixed !important;
    inset: 0 !important;
    z-index: 999999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(0,0,0,.94) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity .25s ease, visibility .25s ease !important;
}

.lightbox.active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.lightbox-image {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: 88vw !important;
    max-height: 86vh !important;
    object-fit: contain !important;
    border-radius: 16px !important;
}

.portfolio-item img,
.gallery-image {
    cursor: zoom-in !important;
}

/*
 * =========================================================
 * LARGE FULLSCREEN LIGHTBOX — FINAL
 * =========================================================
 */

body.lightbox-open {
    overflow: hidden !important;
}

.lightbox {
    position: fixed !important;
    inset: 0 !important;
    z-index: 9999999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 28px 100px !important;
    background: linear-gradient(
            180deg,
            rgba(10,18,24,.94),
            rgba(11,15,18,.96)
        ) !important;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity .24s ease,
        visibility .24s ease !important;
}

.lightbox.active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.lightbox-stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(78vw, 1240px);
    height: 88vh;
}

.lightbox-image {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 82vh !important;
    border: 1px solid rgba(191,132,48,.36);
    border-radius: 16px !important;
    object-fit: contain !important;
    background: #0d0f11;
    box-shadow: 0 30px 100px rgba(0,0,0,.55),
        0 0 0 1px rgba(255,255,255,.03);
}

.lightbox-counter {
    position: absolute;
    left: 50%;
    bottom: 4px;
    transform: translateX(-50%);
    min-width: 86px;
    padding: 7px 14px;
    border: 1px solid rgba(191,132,48,.26);
    border-radius: 999px;
    background: rgba(13,15,17,.78);
    color: #fff;
    text-align: center;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .4px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute !important;
    z-index: 10 !important;
    display: grid !important;
    place-items: center !important;
    border: 1px solid rgba(255,255,255,.08) !important;
    background: rgba(33,45,54,.86) !important;
    color: #fff !important;
    cursor: pointer;
    box-shadow: 0 12px 32px rgba(0,0,0,.24);
    backdrop-filter: blur(9px);
    -webkit-backdrop-filter: blur(9px);
    transition: background-color .22s ease,
        transform .22s ease,
        border-color .22s ease !important;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--gold) !important;
    border-color: rgba(255,255,255,.18) !important;
}

.lightbox-close {
    top: 20px !important;
    left: 22px !important;
    right: auto !important;
    width: 52px !important;
    height: 52px !important;
    border-radius: 50% !important;
    font-size: 24px !important;
}

.lightbox-prev,
.lightbox-next {
    top: 50% !important;
    width: 56px !important;
    height: 68px !important;
    border-radius: 14px !important;
    font-size: 24px !important;
}

.lightbox-prev {
    left: 22px !important;
    transform: translateY(-50%) !important;
}

.lightbox-next {
    right: 22px !important;
    transform: translateY(-50%) !important;
}

.lightbox-prev:hover {
    transform: translateY(-50%)
        translateX(-3px) !important;
}

.lightbox-next:hover {
    transform: translateY(-50%)
        translateX(3px) !important;
}

/* Gallery thumbnails */

.portfolio-item {
    cursor: zoom-in !important;
}

.portfolio-item::after {
    display: none !important;
    content: none !important;
}

@media (max-width:900px) {
    .lightbox {
        padding: 20px 68px !important;
    }

    .lightbox-stage {
        width: 84vw;
        height: 86vh;
    }
}

@media (max-width:700px) {
    .lightbox {
        padding: 72px 12px 70px !important;
    }

    .lightbox-stage {
        width: 100%;
        height: 100%;
    }

    .lightbox-image {
        max-width: 94vw !important;
        max-height: 74vh !important;
        border-radius: 12px !important;
    }

    .lightbox-close {
        top: 14px !important;
        left: 14px !important;
        width: 46px !important;
        height: 46px !important;
    }

    .lightbox-prev,
    .lightbox-next {
        top: auto !important;
        bottom: 14px !important;
        width: 48px !important;
        height: 48px !important;
        border-radius: 50% !important;
        transform: none !important;
    }

    .lightbox-prev {
        left: calc(50% - 62px) !important;
    }

    .lightbox-next {
        right: calc(50% - 62px) !important;
    }

    .lightbox-prev:hover,
    .lightbox-next:hover {
        transform: none !important;
    }

    .lightbox-counter {
        bottom: 10px;
    }
}

/*
 * =========================================================
 * LIGHTBOX FINAL FIX — DEFINITIVE
 * =========================================================
 */

body.lightbox-open {
    overflow: hidden !important;
}

.portfolio-item {
    cursor: zoom-in !important;
}

.portfolio-item img {
    cursor: zoom-in !important;
}

.portfolio-item::after {
    display: none !important;
    content: none !important;
}

.lightbox {
    position: fixed !important;
    inset: 0 !important;
    z-index: 2147483000 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100vw !important;
    height: 100vh !important;
    padding: 26px 96px !important;
    background: rgba(12,22,31,.95) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity .22s ease,
        visibility .22s ease !important;
}

.lightbox.active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.lightbox-stage {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: min(76vw,1220px) !important;
    height: 90vh !important;
}

.lightbox-image {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 84vh !important;
    object-fit: contain !important;
    border-radius: 16px !important;
    background: #0d0f11 !important;
    box-shadow: 0 30px 100px
        rgba(0,0,0,.55) !important;
}

.lightbox-counter {
    position: absolute !important;
    left: 50% !important;
    bottom: 0 !important;
    transform: translateX(-50%) !important;
    padding: 7px 15px !important;
    border-radius: 999px !important;
    background: rgba(13,15,17,.84) !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute !important;
    z-index: 2147483001 !important;
    display: grid !important;
    place-items: center !important;
    border: 0 !important;
    background: rgba(51,65,75,.94) !important;
    color: #fff !important;
    cursor: pointer !important;
    box-shadow: 0 12px 30px
        rgba(0,0,0,.28) !important;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--gold) !important;
}

.lightbox-close {
    top: 18px !important;
    left: 20px !important;
    right: auto !important;
    width: 52px !important;
    height: 52px !important;
    border-radius: 50% !important;
    font-size: 25px !important;
}

.lightbox-prev,
.lightbox-next {
    top: 50% !important;
    width: 56px !important;
    height: 68px !important;
    border-radius: 14px !important;
    font-size: 24px !important;
    transform: translateY(-50%) !important;
}

.lightbox-prev {
    left: 22px !important;
}

.lightbox-next {
    right: 22px !important;
}

@media (max-width:700px) {
    .lightbox {
        padding: 70px 10px
            76px !important;
    }

    .lightbox-stage {
        width: 100% !important;
        height: 100% !important;
    }

    .lightbox-image {
        max-width: 94vw !important;
        max-height: 74vh !important;
    }

    .lightbox-close {
        top: 12px !important;
        left: 12px !important;
        width: 46px !important;
        height: 46px !important;
    }

    .lightbox-prev,
    .lightbox-next {
        top: auto !important;
        bottom: 12px !important;
        width: 48px !important;
        height: 48px !important;
        border-radius: 50% !important;
        transform: none !important;
    }

    .lightbox-prev {
        left: calc(50% - 60px) !important;
    }

    .lightbox-next {
        right: calc(50% - 60px) !important;
    }

    .lightbox-counter {
        bottom: 6px !important;
    }
}

/*
 * =========================================================
 * HERO OVERLAY FINAL DIRECTION
 * التظليل الداكن ناحية اليمين بدل الشمال
 * =========================================================
 */

.hero {
    background: linear-gradient(
            to left,
            rgba(13,15,17,.96) 0%,
            rgba(13,15,17,.82) 27%,
            rgba(13,15,17,.48) 55%,
            rgba(13,15,17,.12) 82%,
            rgba(13,15,17,.04) 100%
        ),
        url("images/hero-main.webp") center/cover no-repeat !important;
}

/* على الموبايل نحافظ على وضوح النص مع نفس اتجاه التظليل */

@media (max-width:700px) {
    .hero {
        background: linear-gradient(
                to left,
                rgba(13,15,17,.94) 0%,
                rgba(13,15,17,.80) 35%,
                rgba(13,15,17,.50) 65%,
                rgba(13,15,17,.20) 100%
            ),
            url("images/hero-main.webp") 62% center/cover no-repeat !important;
    }
}

/*
 * =========================================================
 * HERO FINAL — lighter overlay on the LEFT
 * =========================================================
 */

.hero {
    background: linear-gradient(
            to right,
            rgba(13,15,17,.78) 0%,
            rgba(13,15,17,.62) 30%,
            rgba(13,15,17,.34) 58%,
            rgba(13,15,17,.10) 82%,
            rgba(13,15,17,.02) 100%
        ),
        url("images/hero-main.webp") center/cover no-repeat !important;
}

/* النص يظل واضحاً بدون تغميق زائد */

.hero h1 {
    max-width: 900px;
}

.hero h1 span {
    color: #E7C17F;
}

@media (max-width:700px) {
    .hero {
        background: linear-gradient(
                to right,
                rgba(13,15,17,.78) 0%,
                rgba(13,15,17,.60) 42%,
                rgba(13,15,17,.30) 72%,
                rgba(13,15,17,.08) 100%
            ),
            url("images/hero-main.webp") 62% center/cover no-repeat !important;
    }
}

/*
 * =========================================================
 * HERO BUTTONS — THREE ACTIONS
 * =========================================================
 */

.hero .hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.hero .hero-actions .btn {
    min-width: 165px;
}

@media (max-width:700px) {
    .hero .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero .hero-actions .btn {
        width: 100%;
        min-width: 0;
    }
}

/*
 * =========================================================
 * HERO OVERLAY — DARK SHADOW ON THE RIGHT
 * =========================================================
 */

.hero {
    background: linear-gradient(
            to left,
            rgba(13,15,17,.80) 0%,
            rgba(13,15,17,.64) 30%,
            rgba(13,15,17,.34) 58%,
            rgba(13,15,17,.10) 82%,
            rgba(13,15,17,.02) 100%
        ),
        url("images/hero-main.webp") center/cover no-repeat !important;
}

@media (max-width:700px) {
    .hero {
        background: linear-gradient(
                to left,
                rgba(13,15,17,.80) 0%,
                rgba(13,15,17,.62) 42%,
                rgba(13,15,17,.32) 72%,
                rgba(13,15,17,.08) 100%
            ),
            url("images/hero-main.webp") 62% center/cover no-repeat !important;
    }
}

/*
 * =========================================================
 * FAQ ARROWS
 * =========================================================
 */

.faq-q .faq-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 50%;
    color: var(--gold);
    transition: transform .25s ease, background-color .25s ease;
}

.faq-item.active .faq-q .faq-arrow {
    transform: rotate(180deg);
    background: rgba(191,132,48,.10);
}
