/* =========================================================
   NEXUS — MASTER CSS
   Clean / Responsive / English + Arabic RTL
========================================================= */


/* =========================================================
   VARIABLES
========================================================= */

:root {
    --navy: #101a24;
    --navy-light: #172532;
    --gold: #b8945f;
    --gold-light: #c8aa78;
    --cream: #f6f3ed;
    --white: #ffffff;
    --text: #333333;
    --muted: #707070;
    --border: #ded9d0;
    --success: #46735c;
    --container: 1200px;
}


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

button,
input,
select,
textarea {
    font: inherit;
}


/* =========================================================
   CONTAINER
========================================================= */

.container {
    width: min(calc(100% - 80px), var(--container));
    margin: 0 auto;
}


/* =========================================================
   TYPOGRAPHY
========================================================= */

h1,
h2,
h3,
h4 {
    font-family: "Playfair Display", serif;
    font-weight: 600;
}

.eyebrow {
    margin-bottom: 15px;
    color: var(--gold);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
}

.section-heading {
    max-width: 780px;
    margin-bottom: 65px;
}

.section-heading h2 {
    margin-bottom: 20px;
    color: var(--navy);
    font-size: clamp(38px, 5vw, 62px);
    line-height: 1.1;
}

.section-heading > p:last-child {
    max-width: 650px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.8;
}


/* =========================================================
   BUTTONS
========================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 28px;
    border: 1px solid transparent;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .5px;
    text-decoration: none;
    cursor: pointer;

    transition:
        transform .3s ease,
        background-color .3s ease,
        color .3s ease,
        border-color .3s ease,
        box-shadow .3s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
}

.btn-secondary {
    background: transparent;
    border-color: var(--navy);
    color: var(--navy);
}

.btn-secondary:hover {
    background: var(--navy);
    color: var(--white);
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: relative;
    z-index: 100;
    background: var(--white);
    border-bottom: 1px solid #eeeeee;
}

.nav-container {
    min-height: 90px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.logo {
    display: flex;
    flex-direction: column;

    line-height: 1;
    text-decoration: none;
}

.logo-main {
    color: var(--navy);
    font-family: "Playfair Display", serif;
    font-size: 27px;
    font-weight: 700;
    letter-spacing: 4px;
}

.logo-sub {
    margin-top: 7px;
    color: var(--gold);
    font-size: 7px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 34px;
}

.main-nav a {
    position: relative;

    padding: 8px 0;

    color: var(--navy);
    font-size: 12px;
    font-weight: 600;

    text-decoration: none;

    transition: color .3s ease;
}

.main-nav a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: -5px;

    width: 0;
    height: 1px;

    background: var(--gold);

    transition: width .3s ease;
}

.main-nav a:hover {
    color: var(--gold);
}

.main-nav a:hover::after {
    width: 100%;
}

.header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 44px;
    padding: 0 20px;

    background: var(--navy);
    color: var(--white);

    font-size: 11px;
    font-weight: 700;

    text-decoration: none;

    transition:
        transform .3s ease,
        background-color .3s ease;
}

.header-cta:hover {
    background: var(--gold);
    transform: translateY(-2px);
}


/* =========================================================
   LANGUAGE SWITCHER
========================================================= */

.language-switcher {
    display: flex;
    align-items: center;

    gap: 8px;
    margin-left: 20px;

    white-space: nowrap;

    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 600;
}

.language-switcher a {
    color: inherit;
    text-decoration: none;

    transition: color .3s ease, opacity .3s ease;
}

.language-switcher a:hover {
    color: var(--gold);
    opacity: .8;
}

.language-switcher .active-language {
    color: var(--gold);
    font-weight: 700;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    background: var(--cream);
}

.hero-container {
    min-height: 700px;

    display: grid;
    grid-template-columns: 1fr 1fr;

    align-items: center;
}

.hero-content {
    padding: 80px 70px 80px 0;
}

.hero-content h1 {
    max-width: 650px;
    margin-bottom: 30px;

    color: var(--navy);

    font-size: clamp(48px, 6vw, 78px);
    line-height: 1.02;
}

.hero-content h1 span {
    display: block;
    color: var(--gold);
}

.hero-description {
    max-width: 550px;
    margin-bottom: 35px;

    color: var(--muted);

    font-size: 16px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-visual {
    height: 600px;
    overflow: hidden;
}

.hero-visual img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .8s ease;
}

.hero-visual:hover img {
    transform: scale(1.03);
}


/* =========================================================
   ABOUT
========================================================= */

.about-section {
    padding: 120px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 90px;

    align-items: center;
}

.about-image {
    height: 620px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .8s ease;
}

.about-image:hover img {
    transform: scale(1.025);
}

.about-content h2 {
    max-width: 580px;
    margin-bottom: 30px;

    color: var(--navy);

    font-size: clamp(40px, 5vw, 64px);
    line-height: 1.08;
}

.about-content p:not(.eyebrow) {
    max-width: 600px;
    margin-bottom: 20px;

    color: var(--muted);

    font-size: 15px;
    line-height: 1.85;
}

.text-link {
    display: inline-flex;

    margin-top: 15px;

    color: var(--navy);

    font-size: 12px;
    font-weight: 700;

    text-decoration: none;

    transition: color .3s ease;
}

.text-link:hover {
    color: var(--gold);
}
/* =========================================================
   ABOUT EXPERIENCE
========================================================= */

.about-experience {
    display: flex;
    align-items: center;
    gap: 22px;

    margin: 30px 0;
    padding: 22px 25px;

    border-left: 3px solid var(--gold);

    background: rgba(190, 155, 85, 0.07);
}


.experience-number {
    color: var(--gold);

    font-family: "Playfair Display", serif;
    font-size: 48px;
    font-weight: 600;
    line-height: 1;
}


.experience-text {
    display: flex;
    flex-direction: column;

    gap: 5px;
}


.experience-text strong {
    color: var(--navy);

    font-size: 15px;
    font-weight: 700;
}


.experience-text span {
    color: var(--text-light);

    font-size: 12px;
    letter-spacing: 0.4px;
}


/* Mobile */

@media (max-width: 650px) {

    .about-experience {
        gap: 16px;

        padding: 20px;
    }

    .experience-number {
        font-size: 40px;
    }

}

/* =========================================================
   SERVICES
========================================================= */

.services-section {
    padding: 120px 0;
    background: var(--cream);
}

.service-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;

    margin: 80px 0 50px;

    background: var(--white);
}

.service-feature-image {
    min-height: 480px;
    overflow: hidden;
}

.service-feature-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .7s ease;
}

.service-feature:hover .service-feature-image img {
    transform: scale(1.04);
}

.service-feature-content {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 70px;
}

.feature-number {
    margin-bottom: 20px;

    color: var(--gold);

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
}

.service-feature-content h3 {
    max-width: 550px;
    margin: 15px 0 20px;

    color: var(--navy);

    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.12;
}

.service-feature-content p:not(.eyebrow) {
    max-width: 540px;
    margin-bottom: 15px;

    color: var(--muted);

    font-size: 15px;
    line-height: 1.8;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 1px;

    border: 1px solid var(--border);

    background: var(--border);
}

.service-card {
    position: relative;

    min-height: 280px;
    padding: 35px;

    background: var(--white);

    transition:
        transform .35s ease,
        box-shadow .35s ease;
}

.service-card:hover {
    z-index: 2;

    transform: translateY(-6px);

    box-shadow:
        0 20px 45px rgba(0, 0, 0, .08);
}

.service-icon {
    display: inline-flex;

    margin-bottom: 25px;

    color: var(--gold);

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
}

.service-card h4 {
    margin-bottom: 15px;

    color: var(--navy);

    font-size: 22px;
    line-height: 1.25;
}

.service-card p {
    margin-bottom: 20px;

    color: var(--muted);

    font-size: 13px;
    line-height: 1.75;
}

.service-card a {
    color: var(--navy);

    font-size: 11px;
    font-weight: 700;

    text-decoration: none;
}

.service-card a:hover {
    color: var(--gold);
}

.financial-feature {
    margin-top: 120px;
}

.financial-grid {
    grid-template-columns: repeat(3, 1fr);
}


/* =========================================================
   WHY NEXUS
========================================================= */

.why-section {
    padding: 120px 0;
}

.why-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;

    gap: 90px;

    align-items: center;
}

.why-image {
    height: 680px;
    overflow: hidden;
}

.why-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.why-content h2 {
    max-width: 650px;
    margin: 15px 0 25px;

    color: var(--navy);

    font-size: clamp(38px, 5vw, 62px);
    line-height: 1.1;
}

.why-intro {
    max-width: 620px;
    margin-bottom: 45px;

    color: var(--muted);

    font-size: 15px;
    line-height: 1.8;
}

.why-list {
    border-top: 1px solid var(--border);
}

.why-item {
    display: grid;
    grid-template-columns: 45px 1fr;

    gap: 20px;

    padding: 25px 0;

    border-bottom: 1px solid var(--border);
}

.why-number {
    padding-top: 4px;

    color: var(--gold);

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.why-item h4 {
    margin-bottom: 7px;

    color: var(--navy);

    font-size: 20px;
}

.why-item p {
    max-width: 540px;

    color: var(--muted);

    font-size: 13px;
    line-height: 1.7;
}


/* =========================================================
   CONTACT
========================================================= */

.contact-section {
    padding: 120px 0;
    background: var(--cream);
}

.contact-container {
    display: grid;
    grid-template-columns: .85fr 1.15fr;

    gap: 80px;

    align-items: start;
}

.contact-intro {
    padding-top: 20px;
}

.contact-intro h2 {
    max-width: 600px;
    margin: 15px 0 25px;

    color: var(--navy);

    font-size: clamp(42px, 5vw, 65px);
    line-height: 1.08;
}

.contact-intro > p:not(.eyebrow) {
    max-width: 520px;
    margin-bottom: 45px;

    color: var(--muted);

    font-size: 15px;
    line-height: 1.8;
}

.contact-details {
    border-top: 1px solid var(--border);
}

.contact-detail {
    display: flex;
    flex-direction: column;

    gap: 6px;

    padding: 20px 0;

    border-bottom: 1px solid var(--border);
}

.contact-detail-label {
    color: var(--gold);

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.8px;
}

.contact-detail strong,
.contact-detail a {
    color: var(--navy);

    font-size: 14px;
    font-weight: 600;

    text-decoration: none;
}

.contact-detail a:hover {
    color: var(--gold);
}

.whatsapp-link {
    display: inline-flex;

    margin-top: 25px;

    color: var(--navy);

    font-size: 12px;
    font-weight: 700;

    text-decoration: none;
}

.whatsapp-link:hover {
    color: var(--gold);
}


/* =========================================================
   CONTACT FORM
========================================================= */

.contact-form-wrapper {
    padding: 55px;

    background: var(--white);

    box-shadow:
        0 20px 60px rgba(16, 26, 36, .08);
}

.form-heading {
    margin-bottom: 35px;
}

.form-heading h3 {
    margin-bottom: 10px;

    color: var(--navy);

    font-size: 32px;
}

.form-heading p {
    color: var(--muted);

    font-size: 13px;
    line-height: 1.7;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 20px;
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;

    margin-bottom: 8px;

    color: var(--navy);

    font-size: 11px;
    font-weight: 700;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;

    padding: 15px 16px;

    border: 1px solid var(--border);
    border-radius: 0;

    outline: none;

    background: var(--white);
    color: var(--navy);

    font-size: 13px;

    transition:
        border-color .3s ease,
        box-shadow .3s ease;
}

.form-group textarea {
    min-height: 145px;
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #a0a0a0;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold);

    box-shadow:
        0 0 0 3px rgba(184, 148, 95, .08);
}

.form-submit {
    width: 100%;
    margin-top: 5px;
}

.form-message {
    min-height: 20px;
    margin-top: 15px;

    font-size: 12px;
}

.form-message.success {
    color: var(--success);
}

.form-message.error {
    color: #a34d4d;
}

.form-note {
    margin-top: 18px;

    color: #999;

    font-size: 10px;
}


/* =========================================================
   FINAL CTA
========================================================= */

.final-cta {
    padding: 75px 0;
    background: var(--navy);
}

.final-cta-container {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 50px;
}

.final-cta h2 {
    max-width: 750px;
    margin-top: 10px;

    color: var(--white);

    font-size: clamp(36px, 4vw, 52px);
    line-height: 1.1;
}


/* =========================================================
   PREMIUM FOOTER
========================================================= */

.site-footer {
    position: relative;
    overflow: hidden;
    padding-top: 90px;
    color: #ffffff;

    background:
        radial-gradient(
            circle at 15% 10%,
            rgba(190, 155, 85, 0.12),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            #0b1219 0%,
            #101b24 55%,
            #0a1118 100%
        );
}


/* Gold line at top */

.site-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;

    width: 90%;
    max-width: 1250px;
    height: 1px;

    transform: translateX(-50%);

    background: linear-gradient(
        90deg,
        transparent,
        #c6a15b,
        transparent
    );

    opacity: 0.7;
}


/* =========================================================
   FOOTER GRID
========================================================= */

.footer-container {
    position: relative;
    z-index: 1;

    display: grid;

    grid-template-columns:
        2fr
        1fr
        1fr
        1.35fr;

    gap: 60px;

    padding-bottom: 75px;
}


/* =========================================================
   BRAND
========================================================= */

.footer-brand {
    padding-right: 25px;
}


.footer-logo {
    position: relative;

    display: inline-block;

    margin-bottom: 25px;

    color: #ffffff;

    font-family: "Playfair Display", serif;

    font-size: 32px;
    font-weight: 600;
    letter-spacing: 4px;

    text-decoration: none;

    transition:
        color 0.3s ease,
        transform 0.3s ease;
}


.footer-logo::after {
    content: "";

    display: block;

    width: 45px;
    height: 2px;

    margin-top: 12px;

    background: #c6a15b;

    transition: width 0.3s ease;
}


.footer-logo:hover {
    color: #c6a15b;
}


.footer-logo:hover::after {
    width: 75px;
}


.footer-brand p {
    max-width: 350px;

    margin: 0 0 10px;

    color: rgba(255, 255, 255, 0.65);

    font-size: 13px;
    line-height: 1.9;
}


/* =========================================================
   FOOTER COLUMNS
========================================================= */

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    gap: 13px;
}


.footer-column h4 {
    position: relative;

    margin: 0 0 20px;
    padding-bottom: 13px;

    color: #ffffff;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.8px;

    text-transform: uppercase;
}


.footer-column h4::after {
    content: "";

    position: absolute;
    bottom: 0;
    left: 0;

    width: 30px;
    height: 2px;

    background: #c6a15b;
}


/* =========================================================
   FOOTER LINKS
========================================================= */

.footer-column a,
.footer-column span {
    display: inline-block;

    color: rgba(255, 255, 255, 0.65);

    font-size: 13px;
    line-height: 1.7;

    text-decoration: none;

    transition:
        color 0.3s ease,
        transform 0.3s ease;
}


.footer-column a:hover {
    color: #c6a15b;
    transform: translateX(5px);
}


/* =========================================================
   CONTACT COLUMN
========================================================= */

.footer-column:last-child {
    padding-left: 5px;
}


.footer-column:last-child a,
.footer-column:last-child span {
    word-break: break-word;
}


/* =========================================================
   FOOTER BOTTOM
========================================================= */

.footer-bottom {
    position: relative;

    padding: 24px 0;

    border-top: 1px solid rgba(255, 255, 255, 0.10);

    background: rgba(0, 0, 0, 0.15);
}


.footer-bottom-container {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;
}


.footer-bottom p {
    margin: 0;

    color: rgba(255, 255, 255, 0.45);

    font-size: 11px;
    letter-spacing: 0.3px;
}


/* =========================================================
   LEGAL LINKS
========================================================= */

.footer-legal {
    display: flex;
    align-items: center;

    gap: 28px;
}


.footer-legal a {
    position: relative;

    color: rgba(255, 255, 255, 0.50);

    font-size: 11px;

    text-decoration: none;

    transition: color 0.3s ease;
}


.footer-legal a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: -5px;

    width: 0;
    height: 1px;

    background: #c6a15b;

    transition: width 0.3s ease;
}


.footer-legal a:hover {
    color: #c6a15b;
}


.footer-legal a:hover::after {
    width: 100%;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .site-footer {
        padding-top: 75px;
    }

    .footer-container {
        grid-template-columns: 1.5fr 1fr 1fr;

        gap: 45px;
    }

    .footer-brand {
        grid-column: 1 / -1;

        padding-right: 0;

        margin-bottom: 10px;
    }

    .footer-brand p {
        max-width: 600px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .site-footer {
        padding-top: 65px;
    }

    .footer-container {
        grid-template-columns: 1fr;

        gap: 42px;

        padding-bottom: 55px;
    }

    .footer-brand {
        grid-column: auto;

        margin-bottom: 5px;
    }

    .footer-logo {
        font-size: 28px;

        letter-spacing: 3px;
    }

    .footer-column {
        gap: 11px;
    }

    .footer-column h4 {
        margin-bottom: 12px;
    }

    .footer-column:last-child {
        padding-left: 0;
    }

    .footer-bottom {
        padding: 25px 0;
    }

    .footer-bottom-container {
        flex-direction: column;
        align-items: flex-start;

        gap: 15px;
    }

    .footer-legal {
        flex-wrap: wrap;

        gap: 20px;
    }
}
/* =========================================================
   UAE ECOSYSTEM
========================================================= */

.ecosystem-section {
    position: relative;

    padding: 110px 0 90px;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            rgba(8,20,35,.97),
            rgba(17,35,52,.94)
        );

    color: var(--white);
}

.ecosystem-heading {
    max-width: 760px;

    margin: 0 auto 60px;

    text-align: center;
}

.ecosystem-heading .eyebrow {
    margin-bottom: 16px;
}

.ecosystem-heading h2 {
    margin-bottom: 20px;
}

.ecosystem-heading p {
    line-height: 1.8;
    opacity: .82;
}

.ecosystem-marquee {
    position: relative;

    width: 100%;

    overflow: hidden;

    padding: 15px 0;
}

.ecosystem-track {
    display: flex;
    align-items: center;

    width: max-content;

    gap: 24px;

    animation:
        ecosystemScroll 30s linear infinite;
}

.ecosystem-track:hover {
    animation-play-state: paused;
}

.ecosystem-logo {
    width: 220px;
    height: 105px;

    flex: 0 0 220px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 15px 25px;

    background: var(--white);

    border: 1px solid rgba(0,0,0,.08);
    border-radius: 8px;

    overflow: hidden;

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.ecosystem-logo img {
    display: block;

    width: auto;
    height: auto;

    max-width: 165px;
    max-height: 65px;

    object-fit: contain;
}

.ecosystem-logo:hover {
    transform: translateY(-5px);

    box-shadow:
        0 15px 35px rgba(0,0,0,.12);
}

.ecosystem-disclaimer {
    max-width: 700px;

    margin: 35px auto 0;

    text-align: center;

    font-size: 11px;
    line-height: 1.7;

    opacity: .5;
}

.ecosystem-marquee::before,
.ecosystem-marquee::after {
    content: "";

    position: absolute;

    top: 0;
    bottom: 0;

    width: 100px;

    z-index: 2;

    pointer-events: none;
}

.ecosystem-marquee::before {
    left: 0;

    background:
        linear-gradient(
            to right,
            #081423,
            transparent
        );
}

.ecosystem-marquee::after {
    right: 0;

    background:
        linear-gradient(
            to left,
            #081423,
            transparent
        );
}

@keyframes ecosystemScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}


/* =========================================================
   TESTIMONIALS
========================================================= */

.testimonials-section {
    position: relative;

    padding: 120px 0;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #f7f5f1 0%,
            #ffffff 55%,
            #f3f0ea 100%
        );
}

.testimonials-section::before {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    top: -250px;
    right: -180px;

    border-radius: 50%;

    background: rgba(10,25,42,.04);

    pointer-events: none;
}

.testimonials-section::after {
    content: "";

    position: absolute;

    width: 400px;
    height: 400px;

    bottom: -220px;
    left: -180px;

    border-radius: 50%;

    background: rgba(10,25,42,.035);

    pointer-events: none;
}

.testimonials-section .container {
    position: relative;
    z-index: 2;
}

.testimonials-heading {
    max-width: 760px;

    margin: 0 auto 65px;

    text-align: center;
}

.testimonials-heading .eyebrow {
    margin-bottom: 16px;
}

.testimonials-heading h2 {
    margin-bottom: 20px;
}

.testimonials-heading p {
    max-width: 650px;

    margin: 0 auto;

    line-height: 1.8;

    opacity: .7;
}


/* =========================================================
   TESTIMONIAL SLIDER
========================================================= */

.testimonials-slider {
    position: relative;

    width: 100%;

    overflow: hidden;

    padding: 15px 0 30px;
}

.testimonial-track {
    display: flex;
    align-items: stretch;

    gap: 30px;

    width: max-content;

    animation:
        testimonialMarquee 32s linear infinite;
}

.testimonial-track:hover {
    animation-play-state: paused;
}

.testimonial-card {
    position: relative;

    width: 420px;
    min-height: 350px;

    flex: 0 0 420px;

    padding: 42px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    background: rgba(255,255,255,.92);

    border: 1px solid rgba(0,0,0,.07);
    border-radius: 10px;

    box-shadow:
        0 20px 55px rgba(0,0,0,.07);

    transition:
        transform .4s ease,
        box-shadow .4s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);

    box-shadow:
        0 30px 75px rgba(0,0,0,.12);
}

.testimonial-quote {
    font-family: "Playfair Display", serif;

    font-size: 72px;
    line-height: .6;

    margin-bottom: 28px;

    opacity: .15;

    user-select: none;
}

.testimonial-text {
    margin: 0 0 35px;

    font-family: "Playfair Display", serif;

    font-size: 19px;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;

    gap: 15px;

    padding-top: 20px;

    border-top: 1px solid rgba(0,0,0,.08);
}

.testimonial-avatar {
    width: 48px;
    height: 48px;

    flex: 0 0 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #111d2d;
    color: var(--white);

    font-weight: 700;
}

.testimonial-author strong {
    display: block;

    margin-bottom: 4px;

    font-size: 14px;
}

.testimonial-author span {
    display: block;

    font-size: 13px;

    opacity: .55;
}

@keyframes testimonialMarquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.testimonials-slider::before,
.testimonials-slider::after {
    content: "";

    position: absolute;

    top: 0;
    bottom: 0;

    width: 100px;

    z-index: 3;

    pointer-events: none;
}

.testimonials-slider::before {
    left: 0;

    background:
        linear-gradient(
            to right,
            #f7f5f1,
            transparent
        );
}

.testimonials-slider::after {
    right: 0;

    background:
        linear-gradient(
            to left,
            #f3f0ea,
            transparent
        );
}


/* =========================================================
   TESTIMONIALS NAVIGATION
========================================================= */

.main-nav a[href="#testimonials"] {
    position: relative;
}


/* =========================================================
   BACK TO TOP
========================================================= */

.back-to-top {
    position: fixed;

    right: 25px;
    bottom: 90px;

    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #111d2d;
    color: var(--white);

    border-radius: 50%;

    text-decoration: none;

    font-size: 22px;
    font-weight: 400;

    box-shadow:
        0 10px 30px rgba(0,0,0,.18);

    z-index: 999;

    transition:
        transform .3s ease,
        background .3s ease,
        box-shadow .3s ease;
}

.back-to-top:hover {
    transform: translateY(-5px);

    background: #1d3048;

    box-shadow:
        0 15px 35px rgba(0,0,0,.25);
}


/* =========================================================
   WHATSAPP FLOATING BUTTON
========================================================= */

.whatsapp-float {
    position: fixed;

    right: 24px;
    bottom: 24px;

    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #25D366;
    color: var(--white);

    border-radius: 50%;

    text-decoration: none;

    box-shadow:
        0 8px 25px rgba(0,0,0,.18);

    z-index: 9999;

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.whatsapp-float:hover {
    transform: translateY(-4px);

    box-shadow:
        0 12px 30px rgba(0,0,0,.25);
}

.whatsapp-icon {
    width: 30px;
    height: 30px;

    display: block;
}


/* =========================================================
   FORM POPUP
========================================================= */

.form-popup {
    position: fixed;
    inset: 0;

    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 25px;

    background: rgba(10,18,25,.72);

    backdrop-filter: blur(8px);

    animation: popupFadeIn .25s ease;
}

.form-popup-box {
    position: relative;

    width: min(100%, 500px);

    padding: 55px 45px;

    background: var(--white);

    text-align: center;

    box-shadow:
        0 30px 80px rgba(0,0,0,.25);

    animation: popupScaleIn .3s ease;
}

.form-popup-icon {
    width: 65px;
    height: 65px;

    margin: 0 auto 25px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--gold);

    color: var(--gold);

    font-size: 28px;
    font-weight: 600;
}

.form-popup-box h3 {
    margin-bottom: 15px;

    color: var(--navy);

    font-size: 32px;
}

.form-popup-box p {
    max-width: 380px;

    margin: 0 auto 30px;

    color: var(--muted);

    font-size: 14px;
    line-height: 1.7;
}

.form-popup-button {
    min-width: 130px;
    min-height: 48px;

    padding: 0 25px;

    border: none;

    background: var(--navy);
    color: var(--white);

    font-size: 12px;
    font-weight: 700;

    cursor: pointer;

    transition: background .3s ease;
}

.form-popup-button:hover {
    background: var(--gold);
}

.form-popup-close {
    position: absolute;

    top: 18px;
    right: 20px;

    width: 35px;
    height: 35px;

    border: none;

    background: transparent;
    color: var(--muted);

    font-size: 28px;
    line-height: 1;

    cursor: pointer;
}

.form-popup-close:hover {
    color: var(--navy);
}

@keyframes popupFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes popupScaleIn {
    from {
        opacity: 0;
        transform: scale(.92) translateY(10px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}


/* =========================================================
   LEGAL PAGES
========================================================= */

.legal-page {
    padding: 110px 0;

    background: var(--white);
}

.legal-container {
    max-width: 850px;
}

.legal-container h1 {
    margin-bottom: 15px;

    font-family: "Playfair Display", serif;

    font-size: clamp(42px,6vw,68px);
    line-height: 1.05;

    color: var(--navy);
}

.legal-intro {
    margin-bottom: 60px;

    color: var(--muted);

    font-size: 13px;
}

.legal-container h2 {
    margin-top: 45px;
    margin-bottom: 15px;

    color: var(--navy);

    font-family: "Playfair Display", serif;

    font-size: 26px;
}

.legal-container p,
.legal-container li {
    color: var(--muted);

    font-size: 15px;
    line-height: 1.9;
}

.legal-container ul {
    margin: 15px 0 25px;
    padding-left: 25px;
}

.legal-container a {
    color: var(--navy);
}

.legal-back {
    display: inline-flex;

    margin-top: 45px;
}


/* =========================================================
   ARABIC / RTL VERSION
========================================================= */

.arabic-page {
    direction: rtl;

    font-family: "Cairo", sans-serif;
}

.arabic-page h1,
.arabic-page h2,
.arabic-page h3,
.arabic-page h4,
.arabic-page p,
.arabic-page a,
.arabic-page button,
.arabic-page input,
.arabic-page textarea,
.arabic-page select,
.arabic-page label {
    font-family: "Cairo", sans-serif;
}


/* HEADER */

.arabic-page .nav-container {
    direction: rtl;
}

.arabic-page .logo {
    text-align: right;
}

.arabic-page .main-nav {
    direction: rtl;
}

.arabic-page .main-nav a {
    white-space: nowrap;
}

.arabic-page .language-switcher {
    direction: ltr;
}


/* HERO */

.arabic-page .hero-container {
    direction: rtl;
}

.arabic-page .hero-content {
    text-align: right;
    padding: 80px 0 80px 70px;
}

.arabic-page .hero-content h1,
.arabic-page .hero-content p {
    text-align: right;
}

.arabic-page .hero-actions {
    direction: rtl;
    justify-content: flex-start;
}


/* ABOUT */

.arabic-page .about-grid {
    direction: rtl;
}

.arabic-page .about-content {
    text-align: right;
}

.arabic-page .about-content h2,
.arabic-page .about-content p {
    text-align: right;
}


/* SECTION HEADINGS */

.arabic-page .section-heading {
    text-align: right;
}

.arabic-page .section-heading h2,
.arabic-page .section-heading p {
    text-align: right;
}


/* SERVICES */

.arabic-page .service-feature {
    direction: rtl;
}

.arabic-page .services-grid {
    direction: rtl;
}

.arabic-page .service-card,
.arabic-page .service-card h4,
.arabic-page .service-card p {
    text-align: right;
}

.arabic-page .service-feature-content {
    text-align: right;
}


/* WHY */

.arabic-page .why-grid {
    direction: rtl;
}

.arabic-page .why-content,
.arabic-page .why-item {
    text-align: right;
}

.arabic-page .why-item {
    grid-template-columns: 1fr 45px;
}

.arabic-page .why-number {
    order: 2;
    text-align: left;
}


/* CONTACT */

.arabic-page .contact-container {
    direction: rtl;
}

.arabic-page .contact-intro,
.arabic-page .contact-details,
.arabic-page .contact-detail {
    text-align: right;
}

.arabic-page .contact-form-wrapper {
    direction: rtl;
}

.arabic-page .form-heading {
    text-align: right;
}

.arabic-page .form-group,
.arabic-page .form-group label {
    text-align: right;
}

.arabic-page .contact-form input,
.arabic-page .contact-form select,
.arabic-page .contact-form textarea {
    direction: rtl;
    text-align: right;

    font-family: "Cairo", sans-serif;
}


/* FINAL CTA */

.arabic-page .final-cta-container {
    direction: rtl;
}

.arabic-page .final-cta h2 {
    text-align: right;
}


/* FOOTER */

.arabic-page .footer-container {
    direction: rtl;
}

.arabic-page .footer-brand,
.arabic-page .footer-column {
    text-align: right;
}

.arabic-page .footer-bottom-container {
    direction: rtl;
}

.arabic-page .footer-bottom p {
    text-align: right;
}

.arabic-page .footer-legal {
    direction: rtl;
}


/* =========================================================
   ARABIC TESTIMONIALS
========================================================= */

.arabic-page .testimonials-section {
    direction: rtl;
}

.arabic-page .testimonials-heading {
    direction: rtl;
    text-align: center;
}

.arabic-page .testimonials-heading h2,
.arabic-page .testimonials-heading p {
    text-align: center;
}

.arabic-page .testimonial-track {
    direction: rtl;
}

.arabic-page .testimonial-card {
    direction: rtl;
    text-align: right;
}

.arabic-page .testimonial-quote {
    text-align: right;
    direction: rtl;
}

.arabic-page .testimonial-text {
    text-align: right;
    direction: rtl;
}

.arabic-page .testimonial-author {
    direction: rtl;

    flex-direction: row;

    text-align: right;
}

.arabic-page .testimonial-author strong,
.arabic-page .testimonial-author span {
    text-align: right;
}


/* =========================================================
   ARABIC WHATSAPP / FLOATING ELEMENTS
========================================================= */

.arabic-page .whatsapp-float {
    direction: ltr;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .container {
        width: min(calc(100% - 50px), var(--container));
    }

    .main-nav {
        gap: 20px;
    }

    .header-cta {
        padding: 0 14px;
    }

    .hero-container {
        grid-template-columns: 1fr;
    }

    .hero-content {
        padding: 90px 0 60px;
    }

    .hero-visual {
        height: 500px;
    }

    .about-grid,
    .why-grid {
        gap: 50px;
    }

    .services-grid,
    .financial-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .footer-container {
        grid-template-columns: 1.5fr 1fr 1fr;
    }

    .arabic-page .hero-content {
        padding: 90px 0 60px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    /* GENERAL */

    .container {
        width: 90%;
    }


    /* HEADER */

    .site-header {
        padding: 18px 0;
    }

    .nav-container {
        min-height: 75px;

        flex-wrap: wrap;

        justify-content: space-between;

        gap: 15px;
    }

    .logo-main {
        font-size: 24px;
    }

    .logo-sub {
        font-size: 7px;
        letter-spacing: 1.2px;
    }


    /* NAVIGATION */

    .main-nav {
        order: 3;

        width: 100%;

        justify-content: center;

        gap: 20px;

        padding-top: 15px;

        border-top: 1px solid rgba(0,0,0,.08);

        overflow-x: auto;
    }

    .main-nav a {
        white-space: nowrap;

        font-size: 11px;
    }

    .header-cta {
        padding: 10px 14px;

        font-size: 10px;
    }


    /* LANGUAGE */

    .language-switcher {
        margin-left: 0;
        font-size: 12px;
    }


    /* HERO */

    .hero {
        padding: 70px 0;
    }

    .hero-container {
        grid-template-columns: 1fr;

        min-height: auto;

        gap: 45px;
    }

    .hero-content,
    .arabic-page .hero-content {
        padding: 0;

        text-align: center;
    }

    .hero-content h1,
    .arabic-page .hero-content h1 {
        font-size: clamp(42px,11vw,58px);

        line-height: 1.05;

        text-align: center;
    }

    .hero-description,
    .arabic-page .hero-description {
        margin-left: auto;
        margin-right: auto;

        font-size: 15px;

        text-align: center;
    }

    .hero-actions,
    .arabic-page .hero-actions {
        width: 100%;

        flex-direction: column;

        align-items: stretch;

        justify-content: center;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-visual {
        width: 100%;
        height: 380px;
    }

    .hero-visual img {
        height: 380px;
    }


    /* SECTIONS */

    .about-section,
    .services-section,
    .why-section,
    .contact-section {
        padding: 80px 0;
    }

    section {
        padding-top: 70px;
        padding-bottom: 70px;
    }


    /* ABOUT */

    .about-grid {
        grid-template-columns: 1fr;

        gap: 45px;
    }

    .about-image {
        height: 400px;
    }


    /* SERVICES */

    .service-feature {
        grid-template-columns: 1fr;

        margin-top: 50px;
    }

    .service-feature-image {
        min-height: 320px;
    }

    .service-feature-content {
        padding: 45px 30px;
    }

    .services-grid,
    .financial-grid {
        grid-template-columns: 1fr;
    }

    .financial-feature {
        margin-top: 80px;
    }


    /* WHY */

    .why-grid {
        grid-template-columns: 1fr;

        gap: 45px;
    }

    .why-image {
        height: 400px;
    }

    .why-content h2 {
        font-size: 42px;
    }


    /* CONTACT */

    .contact-container {
        grid-template-columns: 1fr;

        gap: 45px;
    }

    .contact-form-wrapper {
        padding: 35px 25px;
    }

    .form-row {
        grid-template-columns: 1fr;

        gap: 0;
    }


    /* FINAL CTA */

    .final-cta {
        padding: 60px 0;
    }

    .final-cta-container {
        flex-direction: column;

        align-items: flex-start;
    }


    /* FOOTER */

    .footer-container {
        grid-template-columns: 1fr 1fr;

        gap: 40px;

        padding-bottom: 50px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-bottom-container {
        flex-direction: column;

        align-items: flex-start;
    }


    /* ECOSYSTEM */

    .ecosystem-section {
        padding: 80px 0 65px;
    }

    .ecosystem-heading {
        margin-bottom: 40px;
    }

    .ecosystem-heading h2 {
        font-size: 32px;
    }

    .ecosystem-track {
        gap: 16px;

        animation-duration: 24s;
    }

    .ecosystem-logo {
        width: 190px;
        height: 75px;

        flex-basis: 190px;

        padding: 0 20px;
    }

    .ecosystem-logo img {
        max-width: 135px;
        max-height: 55px;
    }


    /* TESTIMONIALS */

    .testimonials-section {
        padding: 85px 0;
    }

    .testimonials-heading {
        margin-bottom: 45px;
    }

    .testimonials-heading h2 {
        font-size: 32px;
    }

    .testimonial-track {
        gap: 20px;

        animation-duration: 26s;
    }

    .testimonial-card {
        width: 82vw;

        flex-basis: 82vw;

        min-height: 320px;

        padding: 30px;
    }

    .testimonial-text {
        font-size: 17px;

        line-height: 1.7;
    }

    .testimonial-quote {
        font-size: 60px;
    }

    .testimonials-slider::before,
    .testimonials-slider::after {
        width: 40px;
    }


    /* POPUP */

    .form-popup {
        padding: 18px;
    }

    .form-popup-box {
        padding: 45px 25px;
    }

    .form-popup-box h3 {
        font-size: 28px;
    }


    /* LEGAL */

    .legal-page {
        padding: 75px 0;
    }

    .legal-container h1 {
        font-size: 44px;
    }

    .legal-container h2 {
        font-size: 23px;
    }


    /* FLOATING BUTTONS */

    .whatsapp-float {
        right: 18px;
        bottom: 18px;

        width: 54px;
        height: 54px;
    }

    .whatsapp-icon {
        width: 28px;
        height: 28px;
    }

    .back-to-top {
        right: 18px;
        bottom: 75px;

        width: 44px;
        height: 44px;

        font-size: 20px;
    }


    /* ARABIC MOBILE */

    .arabic-page .section-heading,
    .arabic-page .about-content,
    .arabic-page .why-content,
    .arabic-page .contact-intro,
    .arabic-page .contact-details,
    .arabic-page .service-card,
    .arabic-page .service-feature-content,
    .arabic-page .footer-brand,
    .arabic-page .footer-column {
        text-align: right;
    }

    .arabic-page .testimonial-card {
        text-align: right;
    }

    .arabic-page .testimonial-author {
        flex-direction: row;
    }

    .arabic-page .why-item {
        grid-template-columns: 1fr 40px;
    }

    .arabic-page .why-number {
        text-align: left;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .container {
        width: 92%;
    }

    .logo-main {
        font-size: 21px;
    }

    .logo-sub {
        font-size: 6px;
    }

    .header-cta {
        display: none;
    }

    .main-nav {
        gap: 14px;

        justify-content: flex-start;

        padding-bottom: 4px;
    }

    .main-nav a {
        font-size: 10px;
    }

    .hero {
        padding: 55px 0;
    }

    .hero-content h1 {
        font-size: 42px;
    }

    .hero-description {
        font-size: 14px;
        line-height: 1.7;
    }

    .hero-visual {
        height: 300px;
    }

    .hero-visual img {
        height: 300px;
    }

    .about-content h2 {
        font-size: 40px;
    }

    .service-card {
        padding: 30px 25px;
    }

    .contact-intro h2,
    .final-cta h2 {
        font-size: 40px;
    }

    .footer-container {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-legal {
        flex-direction: column;

        gap: 10px;
    }

    .testimonial-card {
        width: 88vw;

        flex-basis: 88vw;

        padding: 25px;
    }

    .testimonial-text {
        font-size: 16px;
    }

    .form-popup-box {
        padding: 40px 22px;
    }

    .form-popup-box h3 {
        font-size: 26px;
    }
}


/* =========================================================
   ACCESSIBILITY / MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}/* =========================================================
   ABOUT EXPERIENCE
========================================================= */

.about-experience {
    display: flex;
    align-items: center;
    gap: 22px;

    margin: 30px 0;
    padding: 22px 25px;

    border-left: 3px solid var(--gold);

    background: rgba(190, 155, 85, 0.07);
}


.experience-number {
    color: var(--gold);

    font-family: "Playfair Display", serif;
    font-size: 48px;
    font-weight: 600;
    line-height: 1;
}


.experience-text {
    display: flex;
    flex-direction: column;

    gap: 5px;
}


.experience-text strong {
    color: var(--navy);

    font-size: 15px;
    font-weight: 700;
}


.experience-text span {
    color: var(--text-light);

    font-size: 12px;
    letter-spacing: 0.4px;
}


/* Mobile */

@media (max-width: 650px) {

    .about-experience {
        gap: 16px;

        padding: 20px;
    }

    .experience-number {
        font-size: 40px;
    }

/* =========================================================
   NEXUS CLIENT LOGO MARQUEE — FINAL FIX
========================================================= */

.clients-section {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    min-height: auto !important;
    padding: 90px 0 80px !important;
    background: #ffffff !important;
    overflow: hidden !important;
}

.clients-heading {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    max-width: 720px !important;
    margin: 0 auto 45px !important;
    padding: 0 20px !important;
    text-align: center !important;
}

.logo-marquee {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    max-width: 100vw !important;
    overflow: hidden !important;
    padding: 15px 0 !important;
}

.logo-track {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    width: max-content !important;
    gap: 24px !important;
    visibility: visible !important;
    opacity: 1 !important;

    animation: nexusClientScroll 35s linear infinite !important;
}

.client-logo {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    flex: 0 0 210px !important;

    width: 210px !important;
    min-width: 210px !important;
    max-width: 210px !important;

    height: 110px !important;
    min-height: 110px !important;
    max-height: 110px !important;

    margin: 0 !important;
    padding: 18px !important;

    background: #ffffff !important;
    border: 1px solid rgba(11,18,25,.09) !important;
    border-radius: 12px !important;

    box-sizing: border-box !important;
    overflow: hidden !important;
}

.client-logo img {
    display: block !important;

    width: auto !important;
    height: auto !important;

    max-width: 170px !important;
    max-height: 72px !important;

    object-fit: contain !important;

    margin: 0 auto !important;

    filter: grayscale(100%);
    opacity: .75;

    transition:
        filter .3s ease,
        opacity .3s ease,
        transform .3s ease;
}

.client-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

.logo-marquee:hover .logo-track {
    animation-play-state: paused !important;
}


/* MOVEMENT */

@keyframes nexusClientScroll {

    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }

}


/* MOBILE */

@media (max-width: 700px) {

    .clients-section {
        padding: 65px 0 55px !important;
    }

    .client-logo {
        flex-basis: 160px !important;

        width: 160px !important;
        min-width: 160px !important;
        max-width: 160px !important;

        height: 95px !important;
        min-height: 95px !important;
        max-height: 95px !important;

        padding: 14px !important;
    }

    .client-logo img {
        max-width: 130px !important;
        max-height: 62px !important;
    }

    .logo-track {
        gap: 16px !important;
        animation-duration: 28s !important;
    }