:root {
    --primary: #123b5d;
    --primary-dark: #0c2a43;
    --secondary: #c89b3c;
    --text: #1d2939;
    --muted: #667085;
    --light: #f7f9fc;
    --white: #ffffff;
    --border: #e4e7ec;
    --dark: #101828;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--white);
    color: var(--text);
    line-height: 1.6;
}

body.rtl {
    font-family: Tahoma, Arial, sans-serif;
}

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

.container {
    width: 90%;
    max-width: 1180px;
    margin: auto;
}

/* HEADER */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
    gap: 30px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 13px;
}

.brand-mark {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 1px;
}

.brand-text strong {
    display: block;
    color: var(--primary);
    font-size: 16px;
}

.brand-text span {
    display: block;
    font-size: 11px;
    color: var(--muted);
    letter-spacing: .5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}

.nav-links a {
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
    transition: .2s ease;
}

.nav-links a:hover {
    color: var(--secondary);
}

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

.language-btn {
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--primary);
    border-radius: 8px;
    padding: 9px 15px;
    font-weight: 700;
    cursor: pointer;
}

.menu-btn {
    display: none;
    border: none;
    background: transparent;
    font-size: 26px;
    color: var(--primary);
    cursor: pointer;
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 22px;
    border-radius: 8px;
    font-weight: 700;
    transition: .25s ease;
    border: 1px solid transparent;
    cursor: pointer;
    font: inherit;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-secondary {
    background: transparent;
    border-color: var(--primary);
    color: var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
}

/* HERO */
.hero {
    min-height: 660px;
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at 85% 20%, rgba(200,155,60,.12), transparent 26%),
        linear-gradient(135deg, #f8fafc, #eef4f8);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 70px;
    align-items: center;
}

.eyebrow {
    display: inline-block;
    color: var(--secondary);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1.3px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.hero h1 {
    font-size: 54px;
    line-height: 1.08;
    color: var(--dark);
    margin-bottom: 22px;
}

.hero h1 span {
    color: var(--primary);
}

.hero p {
    max-width: 680px;
    font-size: 18px;
    color: var(--muted);
    margin-bottom: 30px;
}

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

.hero-panel {
    background: var(--primary);
    color: var(--white);
    padding: 42px;
    border-radius: 24px;
    position: relative;
    min-height: 380px;
    box-shadow: 0 24px 60px rgba(18,59,93,.20);
    overflow: hidden;
}

.hero-panel::before {
    content: "";
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(255,255,255,.06);
    position: absolute;
    right: -35px;
    top: -40px;
}

.hero-panel h3 {
    font-size: 28px;
    margin-bottom: 24px;
}

.hero-feature {
    padding: 17px 0;
    border-bottom: 1px solid rgba(255,255,255,.15);
}

.hero-feature:last-child {
    border-bottom: none;
}

.hero-feature strong {
    display: block;
    margin-bottom: 3px;
}

.hero-feature span {
    font-size: 14px;
    color: rgba(255,255,255,.72);
}

/* SECTIONS */
section {
    padding: 95px 0;
}

.section-header {
    max-width: 700px;
    margin-bottom: 50px;
}

.section-header.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-header h2 {
    font-size: 38px;
    color: var(--dark);
    margin-bottom: 14px;
}

.section-header p {
    color: var(--muted);
    font-size: 17px;
}

/* ABOUT */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.about-card {
    background: var(--light);
    padding: 42px;
    border-radius: 20px;
    border: 1px solid var(--border);
}

.about-card h3 {
    color: var(--primary);
    font-size: 27px;
    margin-bottom: 18px;
}

.about-card p {
    color: var(--muted);
    margin-bottom: 15px;
}

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

.value {
    border-left: 3px solid var(--secondary);
    padding-left: 15px;
}

body.rtl .value {
    border-left: 0;
    padding-left: 0;
    border-right: 3px solid var(--secondary);
    padding-right: 15px;
}

.value strong {
    display: block;
    color: var(--dark);
    margin-bottom: 3px;
}

.value span {
    color: var(--muted);
    font-size: 14px;
}

/* SERVICES */
.services,
.contact {
    background: var(--light);
}

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

.service-card {
    background: var(--white);
    padding: 32px;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: .25s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(16,24,40,.08);
}

.service-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #eef4f8;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 20px;
    color: var(--dark);
    margin-bottom: 10px;
}

.service-card p {
    color: var(--muted);
    font-size: 15px;
}

/* APPROACH */
.approach-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.step {
    padding: 28px;
    border-top: 4px solid var(--primary);
    background: var(--white);
    box-shadow: 0 10px 30px rgba(16,24,40,.06);
}

.step small {
    color: var(--secondary);
    font-weight: 700;
}

.step h3 {
    margin: 10px 0;
    color: var(--dark);
}

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

/* INDUSTRIES */
.industries {
    background: var(--primary);
    color: var(--white);
}

.industries .section-header h2 {
    color: var(--white);
}

.industries .section-header p {
    color: rgba(255,255,255,.70);
}

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

.industry {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 14px;
    padding: 26px 22px;
}

.industry h3 {
    margin-bottom: 8px;
}

.industry p {
    color: rgba(255,255,255,.70);
    font-size: 14px;
}

/* CTA */
.cta {
    padding: 80px 0;
}

.cta-box {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: 55px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cta-box h2 {
    font-size: 34px;
    margin-bottom: 8px;
}

.cta-box p {
    color: rgba(255,255,255,.75);
}

.cta-box .btn {
    background: var(--white);
    color: var(--primary);
    white-space: nowrap;
}

/* CONTACT */
.contact-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 50px;
}

.contact-info {
    background: var(--primary);
    color: var(--white);
    padding: 40px;
    border-radius: 18px;
}

.contact-info h3 {
    font-size: 27px;
    margin-bottom: 20px;
}

.contact-info p {
    color: rgba(255,255,255,.72);
    margin-bottom: 28px;
}

.contact-item {
    margin-bottom: 20px;
}

.contact-item small {
    display: block;
    color: rgba(255,255,255,.60);
    margin-bottom: 4px;
}

.contact-item a,
.contact-item span {
    font-weight: 700;
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 18px;
    border: 1px solid var(--border);
}

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

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 7px;
    color: var(--dark);
}

input,
textarea {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    outline: none;
    font: inherit;
    background: var(--white);
}

input:focus,
textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(18,59,93,.08);
}

textarea {
    min-height: 140px;
    resize: vertical;
}

.hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

#formStatus {
    margin-top: 18px;
    font-size: 14px;
    font-weight: 600;
}

.form-success {
    color: #067647;
    background: #ecfdf3;
    padding: 12px 15px;
    border-radius: 7px;
    border: 1px solid #abefc6;
}

.form-error {
    color: #b42318;
    background: #fef3f2;
    padding: 12px 15px;
    border-radius: 7px;
    border: 1px solid #fecdca;
}

button:disabled {
    opacity: .65;
    cursor: not-allowed;
}

/* FOOTER */
footer {
    background: #0c2438;
    color: rgba(255,255,255,.68);
    padding: 35px 0;
}

.footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

footer strong {
    color: var(--white);
}

/* RESPONSIVE */
@media (max-width: 980px) {
    .hero-grid,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

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

    .approach-grid,
    .industry-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero {
        padding: 70px 0;
    }

    .hero h1 {
        font-size: 44px;
    }

    .nav-links {
        position: absolute;
        top: 76px;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 25px 5%;
        border-bottom: 1px solid var(--border);
        display: none;
    }

    .nav-links.active {
        display: flex;
    }

    body.rtl .nav-links {
        align-items: flex-end;
    }

    .menu-btn {
        display: block;
    }
}

@media (max-width: 650px) {
    section {
        padding: 70px 0;
    }

    .brand-text {
        display: none;
    }

    .hero h1 {
        font-size: 36px;
    }

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

    .services-grid,
    .approach-grid,
    .industry-grid,
    .values,
    .form-row {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 31px;
    }

    .cta-box {
        flex-direction: column;
        align-items: flex-start;
        padding: 38px 28px;
    }

    .contact-form,
    .contact-info {
        padding: 28px;
    }

    .footer-row {
        flex-direction: column;
        text-align: center;
    }
}


/* Keep phone numbers and email addresses in the correct order in RTL mode */
.contact-item a[href^="tel:"],
.contact-item a[href^="mailto:"] {
    direction: ltr;
    unicode-bidi: isolate;
    display: inline-block;
    text-align: left;
}

body.rtl .contact-item a[href^="tel:"],
body.rtl .contact-item a[href^="mailto:"] {
    direction: ltr;
    unicode-bidi: isolate;
}
