
/* =========================
   Njoom Alnawras - Clean Main CSS
   Header + Homepage + Services + Articles + Footer + Responsive
========================= */

:root {
    --gold: #c9963e;
    --gold-dark: #a87525;
    --dark: #090b0d;
    --dark-soft: #151515;
    --white: #ffffff;
    --light: #f8f5ef;
    --text: #1e1e1e;
    --muted: #666666;
    --border: #e7dfd2;
    --radius: 18px;
    --shadow: 0 12px 35px rgba(0, 0, 0, .12);
    --container: 1180px;
}

body.dark-mode {
    --white: #101010;
    --light: #181818;
    --text: #f5f5f5;
    --muted: #cfcfcf;
    --border: #2a2a2a;
}

/* =========================
   Reset
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    direction: rtl;
    scroll-behavior: smooth;
}

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: "Cairo", sans-serif;
    background: var(--white);
    color: var(--text);
    line-height: 1.8;
}

a {
    text-decoration: none;
    color: inherit;
}

img,
video {
    max-width: 100%;
    display: block;
}

button,
input,
textarea,
select {
    font-family: inherit;
}

.container {
    width: min(100% - 32px, var(--container));
    margin-inline: auto;
}

.section {
    padding: 75px 0;
}

.section-label {
    color: var(--gold);
    font-weight: 800;
    font-size: 15px;
}

.section-title {
    text-align: center;
    margin-bottom: 38px;
}

.section-title h2 {
    font-size: clamp(28px, 4vw, 34px);
    line-height: 1.4;
}

/* =========================
   Buttons
========================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 999px;
    font-weight: 800;
    transition: .3s ease;
    border: none;
}

.btn-primary {
    background: var(--gold);
    color: #fff;
}

.btn-primary:hover {
    background: var(--gold-dark);
    transform: translateY(-3px);
}

.btn-outline {
    border: 1px solid var(--gold);
    color: var(--gold);
}

.btn-outline:hover {
    background: var(--gold);
    color: #fff;
}

.center-btn {
    text-align: center;
    margin-top: 30px;
}

/* =========================
   Header - New Unified Version
========================= */

.header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    height: 85px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 0 70px;
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, .05);
    transition: .35s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 8px 25px rgba(0, 0, 0, .08);
}

.logo {
    display: flex;
    align-items: center;
    color: var(--text);
    font-size: 25px;
    font-weight: 900;
    white-space: nowrap;
}

.logo img {
    width: 80px;
    height: auto;
    display: block;
}

.navbar {
    display: flex;
    align-items: center;
    gap: 26px;
}

.navbar a {
    color: #111;
    font-size: 17px;
    font-weight: 800;
    transition: .3s ease;
}

.navbar a:hover {
    color: var(--gold-dark);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.whatsapp-btn,
#theme-toggle,
.menu-toggle {
    width: 45px;
    height: 45px;
    min-width: 45px;
    min-height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    font-size: 18px;
    transition: .3s ease;
}

.whatsapp-btn {
    background: #25D366;
    color: #fff;
    font-size: 22px;
}

#theme-toggle,
.menu-toggle {
    background: #f1f1f1;
    color: #111;
}

.whatsapp-btn:hover,
#theme-toggle:hover,
.menu-toggle:hover {
    transform: translateY(-3px);
}

.menu-toggle {
    display: none;
}

/* Dark header */
body.dark-mode .header {
    background: rgba(10, 10, 10, .92);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

body.dark-mode .navbar a {
    color: #fff;
}

body.dark-mode #theme-toggle,
body.dark-mode .menu-toggle {
    background: #222;
    color: #fff;
}

/* =========================
   Hero - Single Image
========================= */

.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
    text-align: center;
}

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(0, 0, 0, .35), rgba(0, 0, 0, .45)),
        linear-gradient(to left, rgba(0, 0, 0, .15), rgba(0, 0, 0, .35));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: #fff;
    width: min(950px, 92%);
    margin: 0 auto;
    text-align: center;
}

.hero-content h1,
.hero h1 {
    font-size: clamp(32px, 5vw, 58px);
    line-height: 1.35;
    margin-bottom: 22px;
    font-weight: 900;
}

.hero-content p,
.hero p {
    font-size: clamp(16px, 2vw, 20px);
    color: rgba(255, 255, 255, .9);
    margin-bottom: 34px;
    line-height: 2;
}

/* =========================
   About
========================= */

.about {
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 65px;
    align-items: center;
}

.about-image img {
    width: 100%;
    height: 470px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.about-content h2 {
    font-size: clamp(30px, 4vw, 40px);
    margin: 10px 0 18px;
}

.about-content p {
    color: var(--muted);
    font-size: 17px;
    line-height: 2;
}

/* =========================
   Services Cards
========================= */

.services {
    background: var(--light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.service-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .08);
    transition: .35s ease;
    border: 1px solid var(--border);
}

.service-card:hover {
    transform: translateY(-8px);
}

.service-card img {
    width: 100%;
    height: 185px;
    object-fit: cover;
}

.service-card h3 {
    margin: 18px 20px 8px;
    font-size: 22px;
    line-height: 1.5;
}

.service-card p {
    color: var(--muted);
    margin: 0 20px 22px;
    font-size: 15px;
    line-height: 1.9;
}

/* =========================
   Clients / Customers
========================= */

.customers,
.clients {
    background: var(--white);
    overflow: hidden;
}

.customers-row,
.reel-row {
    width: 100%;
    overflow: hidden;
    margin: 26px 0;
    direction: ltr;
}

.customers-marquee,
.reel-track {
    display: flex;
    width: max-content;
    gap: 70px;
    will-change: transform;
}

.customers-group,
.reel-set {
    display: flex;
    align-items: center;
    gap: 70px;
    flex-shrink: 0;
}

.customers-group img,
.reel-set img {
    width: 160px;
    height: 75px;
    object-fit: contain;
    flex-shrink: 0;
    filter: grayscale(100%);
    opacity: .75;
    transition: .3s ease;
}

.customers-group img:hover,
.reel-set img:hover {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.08);
}

.marquee-left,
.move-left {
    animation: marqueeLeft 35s linear infinite;
}

.marquee-right,
.move-right {
    animation: marqueeRight 35s linear infinite;
}

@keyframes marqueeLeft {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-50% - 35px));
    }
}

@keyframes marqueeRight {
    from {
        transform: translateX(calc(-50% - 35px));
    }

    to {
        transform: translateX(0);
    }
}

/* =========================
   Company Video
========================= */

.works-section {
    background: var(--dark);
    color: #fff;
    padding: 90px 0;
}

.works-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 60px;
    align-items: center;
}

.video-box {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.video-box video {
    width: 100%;
    display: block;
}

.works-content h2 {
    font-size: clamp(30px, 4vw, 40px);
    margin: 10px 0 18px;
}

.works-content p {
    color: rgba(255, 255, 255, .75);
    margin-bottom: 25px;
}

/* =========================
   Articles Cards / Listing
========================= */

.articles-preview,
.articles-page {
    background: var(--light);
}

.articles-grid,
.articles-page .articles-grid {
    display: grid;
    gap: 30px;
}

.articles-grid {
    grid-template-columns: repeat(2, 1fr);
}

.articles-page {
    padding: 130px 7% 80px;
    min-height: 100vh;
}

.articles-page .articles-grid {
    max-width: 1180px;
    margin: 0 auto;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.articles-hero {
    max-width: 900px;
    margin: 0 auto 45px;
    text-align: center;
}

.articles-hero h1 {
    font-size: clamp(34px, 5vw, 52px);
    font-weight: 900;
    line-height: 1.4;
}

.articles-hero p {
    color: var(--muted);
    font-size: 18px;
    line-height: 2;
}

.article-card {
    background: var(--white);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: .3s ease;
}

.article-card:hover {
    transform: translateY(-8px);
}

.article-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.articles-preview .article-card img {
    height: 240px;
}

.article-card h3,
.article-card h2 {
    padding: 22px;
    font-size: 21px;
    line-height: 1.7;
}

.article-content {
    padding: 22px;
}

.article-content h2,
.article-content h3 {
    font-size: 22px;
    line-height: 1.6;
    margin-bottom: 12px;
}

.article-content p {
    color: var(--muted);
    font-size: 15px;
    margin-bottom: 18px;
}

/* =========================
   Single Article
========================= */

.article-page {
    background: var(--white);
    max-width: 1050px;
    margin: 0 auto;
    padding: 130px 7% 80px;
}

.article-back {
    display: inline-block;
    margin: 0 0 25px;
    color: var(--gold);
    font-weight: 800;
}

.article-cover {
    width: 100%;
    max-width: 900px;
    height: auto;
    display: block;
    margin: 25px auto 40px;
    border-radius: 18px;
    box-shadow: var(--shadow);
}

.article-page h1 {
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.55;
    margin-bottom: 22px;
    font-weight: 900;
    text-align: right;
}

.article-page h2 {
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.6;
    margin: 50px 0 20px;
    color: var(--gold-dark);
    font-weight: 900;
}

.article-page h3 {
    font-size: clamp(20px, 2.5vw, 26px);
    line-height: 1.6;
    margin: 32px 0 12px;
}

.article-page p {
    color: var(--muted);
    font-size: clamp(16px, 1.6vw, 20px);
    line-height: 2.1;
    margin-bottom: 22px;
}

.article-page a {
    color: var(--gold-dark);
    font-weight: 800;
}

.article-meta,
.article-info-box {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 22px;
    color: var(--muted);
    font-size: 15px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.article-inline-image {
    width: 100%;
    max-width: 760px;
    height: auto;
    display: block;
    margin: 35px auto;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.article-btn {
    display: inline-flex;
    background: var(--gold);
    color: #fff !important;
    padding: 14px 30px;
    border-radius: 999px;
    font-weight: 800;
    margin: 35px 0;
}

/* Article FAQ */
.article-faq {
    margin-top: 70px;
}

.article-faq h2 {
    margin-bottom: 25px;
}

.article-faq-item {
    border: 1px solid var(--border);
    border-radius: 14px;
    margin-bottom: 14px;
    overflow: hidden;
    background: var(--light);
}

.article-faq-question {
    width: 100%;
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: 20px 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 17px;
    font-weight: 800;
    color: var(--text);
    text-align: right;
}

.article-faq-question i {
    transition: .3s;
}

.article-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
}

.article-faq-answer p {
    padding: 0 22px 22px;
    margin: 0;
}

.article-faq-item.active .article-faq-answer {
    max-height: 300px;
}

.article-faq-item.active i {
    transform: rotate(180deg);
}

/* =========================
   Service Pages
========================= */

.service-hero {
    position: relative;
    height: 70vh;
    min-height: 460px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.service-hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to left, rgba(0, 0, 0, .75), rgba(0, 0, 0, .25));
}

.service-hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 720px;
    padding-top: 80px;
}

.service-hero-content h1 {
    font-size: clamp(36px, 5vw, 52px);
    line-height: 1.3;
    margin-bottom: 15px;
}

.service-hero-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, .85);
}

.service-content {
    background: var(--white);
}

.service-box {
    max-width: 900px;
    margin: auto;
    text-align: center;
}

.service-box h2 {
    font-size: clamp(28px, 4vw, 34px);
    margin-bottom: 18px;
}

.service-box p {
    color: var(--muted);
    font-size: 17px;
    line-height: 2;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-top: 35px;
}

.feature-card {
    background: var(--light);
    border: 1px solid var(--border);
    padding: 24px;
    border-radius: 14px;
    text-align: center;
    font-weight: 800;
}

.service-gallery {
    background: var(--light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.gallery-grid img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
    transition: .3s ease;
}

.gallery-grid img:hover {
    transform: scale(1.03);
}

.service-whatsapp {
    text-align: center;
    margin-top: 35px;
}

/* =========================
   Footer
========================= */

.footer {
    background: #0d0d0d;
    color: #fff;
    padding-top: 70px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 45px;
}

.footer h3,
.footer h4 {
    color: var(--gold);
    margin-bottom: 18px;
}

.footer p,
.footer a {
    color: rgba(255, 255, 255, .75);
    display: block;
    margin-bottom: 10px;
    transition: .3s ease;
}

.footer a:hover {
    color: var(--gold);
}

.footer-logo {
    width: 70px;
    height: auto;
    display: block;
    margin-bottom: 18px;
}

.footer-social {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.footer-social a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(201, 150, 62, .55);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 18px;
    margin: 0;
}

.footer-social a:hover {
    background: var(--gold);
    color: #fff;
    transform: translateY(-3px);
}

.footer-bottom {
    margin-top: 45px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    text-align: center;
    padding: 20px;
    color: rgba(255, 255, 255, .55);
}

/* =========================
   Floating WhatsApp
========================= */

.floating-whatsapp {
    position: fixed;
    left: 25px;
    bottom: 25px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    box-shadow: var(--shadow);
    z-index: 900;
    transition: .3s ease;
}

.floating-whatsapp:hover {
    transform: translateY(-4px);
}

/* =========================
   Lightbox
========================= */

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .88);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 25px;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 95%;
    max-height: 85vh;
    border-radius: 12px;
}

.lightbox-close {
    position: absolute;
    top: 25px;
    left: 25px;
    background: transparent;
    color: #fff;
    border: 0;
    font-size: 40px;
    cursor: pointer;
}

.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .6);
    background: rgba(0, 0, 0, .35);
    color: #fff;
    font-size: 38px;
    cursor: pointer;
    z-index: 2100;
}

.lightbox-prev {
    right: 30px;
}

.lightbox-next {
    left: 30px;
}

.lightbox-arrow:hover {
    background: var(--gold);
    border-color: var(--gold);
}

/* =========================
   Quote Page
========================= */

.quote-page {
    background: var(--light);
    padding-top: 120px;
}

.quote-box {
    max-width: 760px;
    margin: auto;
    background: var(--white);
    border-radius: 20px;
    padding: 45px;
    box-shadow: var(--shadow);
}

.quote-box h1 {
    text-align: center;
    margin-bottom: 35px;
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--white);
    color: var(--text);
    font-size: 15px;
    outline: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--gold);
}

.quote-box button {
    width: 100%;
    border: none;
}

/* =========================
   Animations
========================= */

.hidden,
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: .8s ease;
}

.show,
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* =========================
   Responsive - Tablet
========================= */

@media (max-width: 1100px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid,
    .works-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        text-align: center;
    }

    .footer-logo {
        margin-inline: auto;
    }

    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 992px) {
    .header {
        height: 78px;
        padding: 0 14px;
    }

    .logo img {
        width: 66px;
    }

    .header-actions {
        gap: 10px;
        margin-right: auto;
    }

    .menu-toggle {
        display: flex;
    }

    .navbar {
        position: absolute;
        top: 86px;
        right: 14px;
        width: min(300px, calc(100vw - 28px));
        background: rgba(17, 17, 17, .97);
        border-radius: 22px;
        padding: 22px;
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: .3s ease;
        z-index: 2000;
    }

    .navbar.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .navbar a {
        color: #fff !important;
        font-size: 17px;
        white-space: nowrap;
    }

    .articles-page .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid,
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-hero-content h1 {
        font-size: 38px;
    }

    .gallery-grid img {
        height: 190px;
    }
}

/* =========================
   Responsive - Mobile
========================= */

@media (max-width: 768px) {
    .container {
        width: min(100% - 24px, var(--container));
    }

    .section {
        padding: 55px 0;
    }

    .hero {
        height: 100vh;
        min-height: 650px;
        padding: 0;
    }

    .hero-content {
        width: 92%;
        padding: 0;
    }

    .hero h1,
    .hero-content h1 {
        font-size: 30px;
        line-height: 1.55;
    }

    .hero p,
    .hero-content p {
        font-size: 16px;
        line-height: 1.9;
    }

    .about-image img {
        height: 280px;
    }

    .services-grid,
    .articles-grid,
    .articles-page .articles-grid,
    .features-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .service-card img,
    .article-card img {
        height: 220px;
    }

    .service-hero {
        min-height: 520px;
    }

    .service-hero-content {
        padding-top: 80px;
    }

    .article-page {
        padding: 110px 5% 65px;
    }

    .article-page h1 {
        font-size: 28px;
    }

    .article-page p {
        font-size: 16px;
    }

    .article-meta {
        font-size: 14px;
        gap: 10px;
    }

    .quote-box {
        padding: 28px;
    }

    .floating-whatsapp {
        width: 56px;
        height: 56px;
        left: 18px;
        bottom: 18px;
        z-index: 900;
    }

    .customers-marquee,
    .customers-group,
    .reel-track,
    .reel-set {
        gap: 45px;
    }

    .customers-group img,
    .reel-set img {
        width: 130px;
        height: 58px;
    }
}

/* =========================
   Responsive - Small Mobile
========================= */

@media (max-width: 500px) {
    .header {
        padding: 0 12px;
    }

    .logo img {
        width: 62px;
    }

    .whatsapp-btn,
    #theme-toggle,
    .menu-toggle {
        width: 42px;
        height: 42px;
        min-width: 42px;
        min-height: 42px;
    }

    .hero {
        min-height: 600px;
    }

    .hero h1,
    .hero-content h1 {
        font-size: 27px;
    }

    .hero p,
    .hero-content p {
        font-size: 15px;
    }

    .gallery-grid img {
        height: 220px;
    }

    .lightbox-arrow {
        width: 42px;
        height: 42px;
        font-size: 30px;
    }

    .lightbox-prev {
        right: 12px;
    }

    .lightbox-next {
        left: 12px;
    }
}


.article-hero{
    position: relative;
    height: 420px;
    overflow: hidden;
}

.article-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

@media (max-width:768px){

.article-hero{
    height: 400px;
}

}