﻿:root {
   
    --navy: #4172f56;
    --blue: #4067b1;
    --dark-blue: #172b49;
    --text: #1f2f46;
    --muted: #6d7a8d;
    --soft: #f5f8fc;
    --white: #ffffff;
    --radius: 24px;
    --shadow: 0 25px 70px rgba(22, 44, 77, 0.14);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    direction: rtl;
    background: #ffffff;
    color: var(--text);
    font-family: "Cairo", sans-serif;
    overflow-x: hidden;
}

    body.en {
        direction: ltr;
        font-family: "Montserrat", "Cairo", sans-serif;
    }

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

img {
    display: block;
    max-width: 100%;
}

.container {
    width: min(100% - 40px, 1180px);
    margin-inline: auto;
}

/* Header */

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(65, 114, 181, 0.09);
    backdrop-filter: blur(16px);
    transition: 0.35s;
}

    .site-header.scrolled {
        box-shadow: 0 12px 35px rgba(23, 45, 77, 0.09);
    }

.nav-wrap {
    height: 88px;
    display: flex;
    align-items: center;
    gap: 32px;
}

.brand img {
    width: 155px;
    max-height: 72px;
    object-fit: contain;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 34px;
    margin-inline: auto;
}

    .main-nav a {
        position: relative;
        padding: 12px 0;
        font-size: 15px;
        font-weight: 700;
    }

        .main-nav a::after {
            content: "";
            position: absolute;
            right: 0;
            bottom: 5px;
            width: 0;
            height: 2px;
            background: var(--blue);
            transition: 0.3s;
        }

        .main-nav a:hover::after {
            width: 100%;
        }

.lang-switch,
.footer-lang {
    padding: 10px 16px;
    border: 1px solid rgba(65, 114, 181, 0.25);
    border-radius: 10px;
    background: #ffffff;
    color: var(--navy);
    font-weight: 700;
    cursor: pointer;
}

.menu-toggle {
    display: none;
    border: 0;
    background: none;
    color: var(--navy);
    font-size: 24px;
}

/* Hero */

.hero {
    position: relative;
    min-height: 720px;
    height: min(900px, 100vh);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-slides,
.hero-slide,
.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-slide {
    background-position: center;
    background-size: cover;
    opacity: 0;
    transform: scale(1.06);
    transition: opacity 1.2s ease, transform 7s ease;
}

    .hero-slide.active {
        opacity: 1;
        transform: scale(1);
    }

.hero-overlay {
    z-index: 1;
    background: linear-gradient( 90deg, rgba(22, 44, 77, 0.9), rgba(38, 76, 129, 0.64), rgba(34, 73, 133, 0.25) );
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 1180px;
    padding-top: 85px;
    color: #ffffff;
}

    .hero-content > * {
        max-width: 720px;
    }

.eyebrow,
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--blue);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.2px;
}

.eyebrow {
    color: #dce8ff;
}

    .eyebrow::before,
    .section-label::before {
        content: "";
        width: 38px;
        height: 2px;
        background: currentColor;
    }

.hero h1 {
    margin: 22px 0;
    font-size: clamp(42px, 5.5vw, 75px);
    font-weight: 800;
    line-height: 1.18;
}

.hero p {
    margin: 0 0 35px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 19px;
    line-height: 2;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 24px;
    border-radius: 12px;
    font-weight: 800;
    transition: 0.3s;
}

.btn-primary {
    background: var(--blue);
    color: #ffffff;
    box-shadow: 0 15px 35px rgba(64, 103, 177, 0.35);
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.btn:hover {
    transform: translateY(-3px);
}

.slider-dots {
    position: absolute;
    z-index: 4;
    bottom: 34px;
    left: 50%;
    display: flex;
    gap: 9px;
    transform: translateX(-50%);
}

.dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: 0.3s;
}

    .dot.active {
        width: 30px;
        border-radius: 10px;
        background: #ffffff;
    }

.circuit {
    position: absolute;
    z-index: 2;
    width: 270px;
    height: 270px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    transform: rotate(45deg);
}

.circuit-a {
    bottom: 40px;
    left: -120px;
}

.circuit-b {
    top: 120px;
    right: -170px;
}

/* Statistics */

.stats-strip {
    position: relative;
    z-index: 8;
    margin-top: -1px;
    background: var(--navy);
    color: #ffffff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
}

    .stats-grid div {
        padding: 25px;
        border-inline-end: 1px solid rgba(255, 255, 255, 0.12);
    }

        .stats-grid div:last-child {
            border: 0;
        }

    .stats-grid strong {
        display: block;
        color: #bcd2ff;
        font-size: 30px;
    }

    .stats-grid span {
        font-size: 14px;
    }

/* General Sections */

.section {
    padding: 105px 0;
}

.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 75px;
}

.image-frame {
    position: relative;
    overflow: visible;
    border-radius: 28px;
}

    .image-frame > img {
        width: 100%;
        height: 590px;
        border-radius: 28px;
        object-fit: cover;
        box-shadow: var(--shadow);
    }

    .image-frame::before {
        content: "";
        position: absolute;
        z-index: -1;
        inset: 28px -28px -28px 28px;
        border: 2px solid rgba(64, 103, 177, 0.18);
        border-radius: 28px;
    }

.quality-card {
    position: absolute;
    right: -24px;
    bottom: -24px;
    padding: 25px 34px;
    border-radius: 18px;
    background: var(--navy);
    color: #ffffff;
    box-shadow: var(--shadow);
}

    .quality-card strong {
        display: block;
        color: #9cbcff;
        font-size: 38px;
    }

.section-copy h2,
.section-heading h2,
.why-copy h2,
.contact-cta h2 {
    margin: 16px 0 22px;
    font-size: clamp(34px, 4vw, 55px);
    line-height: 1.35;
}

.section-copy > p,
.section-heading > p,
.why-copy p {
    color: var(--muted);
    font-size: 17px;
    line-height: 2;
}

/* Values */

.values-list {
    margin-top: 26px;
}

    .values-list article {
        display: flex;
        gap: 20px;
        padding: 22px 0;
        border-bottom: 1px solid #e7ebf1;
    }

        .values-list article > span {
            color: var(--blue);
            font-weight: 800;
        }

    .values-list h3 {
        margin: 0 0 5px;
    }

    .values-list p {
        margin: 0;
        color: var(--muted);
    }

/* Solutions */

.solutions {
    position: relative;
    background: var(--soft);
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 48px;
    text-align: center;
}

    .section-heading .section-label {
        justify-content: center;
    }

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.solution-card {
    padding: 34px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: 0 12px 38px rgba(30, 54, 88, 0.07);
    transition: 0.4s;
}

    .solution-card:hover {
        border-color: rgba(64, 103, 177, 0.25);
        box-shadow: var(--shadow);
        transform: translateY(-10px);
    }

.icon-box {
    width: 68px;
    height: 68px;
    margin-bottom: 25px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: linear-gradient(145deg, var(--navy), var(--blue));
    color: #ffffff;
    font-size: 27px;
}

.solution-card h3 {
    margin: 0 0 12px;
    font-size: 23px;
}

.solution-card p {
    min-height: 74px;
    color: var(--muted);
    line-height: 1.9;
}

.solution-card a {
    color: var(--blue);
    font-weight: 800;
}

/* Why Us */

.why-us {
    background: #ffffff;
}

.why-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.4fr;
    align-items: start;
    gap: 70px;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.feature {
    padding: 28px;
    border-radius: 20px;
    background: var(--soft);
    transition: 0.3s;
}

    .feature:hover {
        background: #ffffff;
        box-shadow: var(--shadow);
        transform: translateY(-5px);
    }

    .feature i {
        color: var(--blue);
        font-size: 28px;
    }

    .feature h3 {
        margin: 16px 0 8px;
    }

    .feature p {
        margin: 0;
        color: var(--muted);
        line-height: 1.8;
    }

/* Contact */

.contact-cta {
    position: relative;
    overflow: hidden;
    padding: 80px 0;
    background: linear-gradient( 135deg, var(--navy), #294e84 );
    color: #ffffff;
}

    .contact-cta::after {
        content: "";
        position: absolute;
        top: -120px;
        left: -100px;
        width: 340px;
        height: 340px;
        border: 50px solid rgba(255, 255, 255, 0.035);
        border-radius: 50%;
    }

.cta-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    align-items: center;
    gap: 60px;
}

.section-label.light {
    color: #bcd2ff;
}

.contact-cta p {
    color: rgba(255, 255, 255, 0.72);
}

.contact-actions {
    display: grid;
    gap: 14px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 17px;
    padding: 19px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.09);
    transition: 0.3s;
}

    .contact-link:hover {
        background: rgba(255, 255, 255, 0.15);
        transform: translateX(-4px);
    }

    .contact-link i {
        font-size: 28px;
    }

    .contact-link span {
        display: flex;
        flex-direction: column;
    }

    .contact-link small {
        color: #c9d8ef;
    }
/* Location Section */

.location-section {
    position: relative;
    padding: 95px 0;
    background: #ffffff;
}

.location-heading {
    max-width: 760px;
    margin: 0 auto 38px;
    text-align: center;
}

.location-heading .section-label {
    justify-content: center;
}

.location-heading h2 {
    margin: 15px 0 12px;
    color: var(--text);
    font-size: clamp(31px, 4vw, 48px);
    line-height: 1.4;
}

.location-heading p {
    margin: 0;
    color: var(--muted);
    font-size: 17px;
}

.location-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(64, 103, 177, 0.14);
    border-radius: 26px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.location-card iframe {
    display: block;
    width: 100%;
    height: 500px;
    border: 0;
}

.map-direction-button {
    position: absolute;
    right: 24px;
    bottom: 24px;
    display: inline-flex;
    align-items: center;
    gap: 11px;
    padding: 15px 21px;
    border-radius: 13px;
    background: var(--navy);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 14px 35px rgba(23, 43, 73, 0.28);
    transition:
        transform 0.3s ease,
        background 0.3s ease;
}

.map-direction-button:hover {
    background: var(--blue);
    transform: translateY(-3px);
}

.map-direction-button i {
    font-size: 19px;
}

/* English direction */

body.en .map-direction-button {
    right: auto;
    left: 24px;
}
/* Footer */

.site-footer {
    position: relative;
    overflow: hidden;
    padding: 75px 0 25px;
    background: var(--dark-blue);
    color: #dce5f2;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr 0.9fr;
    gap: 70px;
    padding-bottom: 55px;
}

.footer-brand img {
    width: 240px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

.footer-brand p {
    max-width: 440px;
    color: #aebbd0;
    line-height: 1.9;
}

.footer-grid h3 {
    margin: 0 0 22px;
    color: #ffffff;
}

.footer-grid > div:not(:first-child) {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.footer-grid a,
.footer-grid span {
    color: #b8c4d7;
}

    .footer-grid a:hover {
        color: #ffffff;
    }

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
}

.footer-lang {
    border-color: rgba(255, 255, 255, 0.18);
    background: transparent;
    color: #ffffff;
}

.footer-circuit {
    position: absolute;
    right: -220px;
    bottom: -120px;
    width: 400px;
    height: 400px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    transform: rotate(45deg);
}

/* Floating Buttons */

.floating-whatsapp,
.to-top {
    position: fixed;
    z-index: 999;
    bottom: 24px;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.floating-whatsapp {
    right: 24px;
    background: #25d366;
    font-size: 25px;
}

.to-top {
    left: 24px;
    visibility: hidden;
    background: var(--blue);
    opacity: 0;
    transition: 0.3s;
}

    .to-top.show {
        visibility: visible;
        opacity: 1;
    }

/* Scroll Animation */

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

    .reveal.visible {
        opacity: 1;
        transform: none;
    }

/* English Direction */

body.en .main-nav a::after {
    right: auto;
    left: 0;
}

body.en .hero-overlay {
    background: linear-gradient( 90deg, rgba(22, 44, 77, 0.88), rgba(38, 76, 129, 0.58), rgba(34, 73, 133, 0.22) );
}

body.en .btn i,
body.en .solution-card a i {
    transform: rotate(180deg);
}

body.en .contact-link:hover {
    transform: translateX(4px);
}

/* Tablet */

@media (max-width: 900px) {
    .menu-toggle {
        display: block;
        margin-inline-start: auto;
    }

    .lang-switch {
        order: 3;
    }

    .main-nav {
        position: absolute;
        top: 88px;
        right: 20px;
        left: 20px;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 20px;
        border-radius: 18px;
        background: #ffffff;
        box-shadow: var(--shadow);
        visibility: hidden;
        opacity: 0;
        transform: translateY(-10px);
        transition: 0.3s;
    }

        .main-nav.open {
            visibility: visible;
            opacity: 1;
            transform: none;
        }

        .main-nav a {
            padding: 12px;
        }

    .split-grid,
    .why-grid,
    .cta-grid {
        grid-template-columns: 1fr;
    }

    .about-visual {
        order: 2;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: 720px;
    }

    .hero-content > * {
        max-width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .features-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Mobile */

@media (max-width: 600px) {
    .container {
        width: min(100% - 26px, 1180px);
    }

    .nav-wrap {
        height: 76px;
    }

    .brand img {
        width: 118px;
    }

    .main-nav {
        top: 76px;
    }

    .hero {
        min-height: 680px;
    }

        .hero h1 {
            font-size: 39px;
        }

        .hero p {
            font-size: 16px;
            line-height: 1.8;
        }

    .stats-grid {
        grid-template-columns: 1fr;
    }

        .stats-grid div {
            padding: 16px;
            border-inline-end: 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

    .section {
        padding: 75px 0;
    }

    .split-grid {
        gap: 45px;
    }

    .image-frame > img {
        height: 430px;
    }

    .quality-card {
        right: 12px;
        bottom: -20px;
    }

    .features-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .contact-link b {
        font-size: 13px;
    }

    .floating-whatsapp {
        right: 14px;
    }

    .to-top {
        left: 14px;
    }
}
.location-section {
    padding: 65px 0;
}

.location-heading {
    margin-bottom: 26px;
}

.location-heading h2 {
    font-size: 29px;
}

.location-heading p {
    font-size: 14px;
}

.location-card {
    border-radius: 18px;
}

.location-card iframe {
    height: 390px;
}

.map-direction-button {
    position: static;
    width: calc(100% - 28px);
    margin: 14px;
    justify-content: center;
    padding: 14px 16px;
    border-radius: 12px;
}