/* ==========================================================================
   Five Line Website
   ========================================================================== */

:root {
    --primary: #08bfe8;
    --primary-light: #56dcff;
    --primary-dark: #087cae;
    --secondary: #7048e8;
    --background: #040919;
    --background-soft: #081126;
    --background-card: rgba(11, 23, 49, 0.78);
    --surface: #0c1832;
    --text: #f7fbff;
    --text-soft: #b8c7dc;
    --text-muted: #8192aa;
    --border: rgba(138, 190, 255, 0.14);
    --border-hover: rgba(71, 211, 255, 0.45);
    --shadow: 0 28px 70px rgba(0, 0, 0, 0.34);
    --gradient: linear-gradient(135deg, #08bfe8, #5168ed 55%, #8b4ce8);
    --container: 1200px;
    --radius-large: 30px;
    --radius-medium: 20px;
    --radius-small: 12px;
    --transition: 0.3s ease;
}

/* ==========================================================================
   Reset
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    color: var(--text);
    background:
        radial-gradient(circle at 15% 10%, rgba(27, 92, 182, 0.12), transparent 25%),
        linear-gradient(180deg, #030817 0%, #071126 48%, #030817 100%);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}

body.arabic-page {
    font-family: "Noto Naskh Arabic", serif;
}

body.english-page {
    font-family: "Manrope", sans-serif;
    line-height: 1.7;
}

button,
input,
textarea,
select,
nav,
.button,
.section-label,
.service-number,
.project-category,
.statistic-item,
.footer-column h2 {
    font-family: "Noto Sans Arabic", sans-serif;
}

.english-page button,
.english-page input,
.english-page textarea,
.english-page select,
.english-page nav,
.english-page .button,
.english-page .section-label,
.english-page .service-number,
.english-page .project-category,
.english-page .statistic-item,
.english-page .footer-column h2 {
    font-family: "Manrope", sans-serif;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    color: inherit;
}

ul {
    list-style: none;
}

svg {
    display: block;
}

.container {
    width: min(calc(100% - 40px), var(--container));
    margin-inline: auto;
}

.section {
    position: relative;
    padding: 120px 0;
}

.skip-link {
    position: fixed;
    top: -100px;
    inset-inline-start: 20px;
    z-index: 9999;
    padding: 10px 18px;
    color: #00101b;
    background: var(--primary-light);
    border-radius: 8px;
    transition: var(--transition);
}

.skip-link:focus {
    top: 15px;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;
    border-bottom: 1px solid transparent;
    transition:
        background var(--transition),
        border-color var(--transition),
        box-shadow var(--transition);
}

.site-header.scrolled {
    background: rgba(3, 8, 23, 0.9);
    border-color: var(--border);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(20px);
}

.header-container {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.site-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.site-logo {
    width: 56px;
    height: 54px;
    object-fit: contain;
    filter: drop-shadow(0 8px 18px rgba(0, 193, 235, 0.2));
}

.brand-content {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.brand-content strong {
    font-family: "Noto Sans Arabic", sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
}

.english-page .brand-content strong {
    font-family: "Manrope", sans-serif;
}

.brand-content small {
    max-width: 190px;
    margin-top: 3px;
    color: var(--text-muted);
    font-size: 0.68rem;
    white-space: nowrap;
}

.desktop-navigation {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    position: relative;
    padding: 31px 0;
    color: var(--text-soft);
    font-size: 0.89rem;
    font-weight: 500;
    transition: color var(--transition);
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: 19px;
    inset-inline-start: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    border-radius: 10px;
    transition: width var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.language-switch {
    min-height: 42px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--text-soft);
    border: 1px solid var(--border);
    border-radius: 30px;
    font-family: "Noto Sans Arabic", sans-serif;
    font-size: 0.78rem;
    transition: var(--transition);
}

.english-page .language-switch {
    font-family: "Manrope", sans-serif;
}

.language-switch:hover {
    color: var(--text);
    border-color: var(--primary);
    background: rgba(8, 191, 232, 0.08);
}

.language-icon {
    color: var(--primary-light);
}

.header-contact-button {
    min-height: 42px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #00121c;
    background: linear-gradient(135deg, #58dcff, #08bfe8);
    border-radius: 30px;
    font-family: "Noto Sans Arabic", sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    box-shadow: 0 8px 25px rgba(8, 191, 232, 0.2);
    transition: var(--transition);
}

.english-page .header-contact-button {
    font-family: "Manrope", sans-serif;
}

.header-contact-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(8, 191, 232, 0.35);
}

.mobile-menu-button {
    width: 44px;
    height: 42px;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 12px;
    cursor: pointer;
}

.mobile-menu-button span {
    width: 19px;
    height: 2px;
    background: var(--text);
    border-radius: 4px;
    transition: var(--transition);
}

.mobile-menu-button.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-button.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-button.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-navigation {
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    background: rgba(3, 8, 23, 0.98);
    border-bottom: 1px solid var(--border);
    transition: max-height 0.4s ease, visibility 0.4s;
}

.mobile-navigation.open {
    max-height: 520px;
    visibility: visible;
}

.mobile-navigation-content {
    padding-block: 15px 25px;
    display: flex;
    flex-direction: column;
}

.mobile-nav-link,
.mobile-language-link {
    padding: 13px 4px;
    color: var(--text-soft);
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
}

.mobile-language-link {
    color: var(--primary-light);
    border-bottom: 0;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero-section {
    position: relative;
    min-height: 820px;
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: -4;
    background-image: url("../images/home/home-hero.png");
    background-size: cover;
    background-position: center;
    transform: scale(1.015);
}

.arabic-page .hero-background {
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -3;
    background:
        linear-gradient(
            90deg,
            rgba(2, 7, 20, 0.97) 0%,
            rgba(3, 9, 25, 0.89) 34%,
            rgba(3, 9, 25, 0.37) 64%,
            rgba(3, 9, 25, 0.16) 100%
        ),
        linear-gradient(
            180deg,
            rgba(2, 7, 20, 0.5) 0%,
            transparent 40%,
            #040919 100%
        );
}

.arabic-page .hero-overlay {
    transform: scaleX(-1);
}

.hero-grid {
    position: absolute;
    inset: 0;
    z-index: -2;
    opacity: 0.13;
    background-image:
        linear-gradient(rgba(71, 211, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(71, 211, 255, 0.1) 1px, transparent 1px);
    background-size: 70px 70px;
    mask-image: linear-gradient(to bottom, transparent, black 30%, transparent);
}

.hero-container {
    padding-top: 105px;
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
}

.hero-badge {
    width: fit-content;
    margin-bottom: 22px;
    padding: 7px 14px;
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--primary-light);
    background: rgba(8, 191, 232, 0.08);
    border: 1px solid rgba(71, 211, 255, 0.22);
    border-radius: 30px;
    font-family: "Noto Sans Arabic", sans-serif;
    font-size: 0.78rem;
}

.english-page .hero-badge {
    font-family: "Manrope", sans-serif;
}

.badge-dot {
    width: 7px;
    height: 7px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 0 6px rgba(8, 191, 232, 0.09);
    animation: badgePulse 2s infinite;
}

@keyframes badgePulse {
    50% {
        box-shadow: 0 0 0 10px rgba(8, 191, 232, 0);
    }
}

.hero-content h1 {
    max-width: 680px;
    font-size: clamp(3rem, 5.6vw, 5.6rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -1px;
}

.english-page .hero-content h1 {
    font-size: clamp(2.8rem, 5vw, 5rem);
    font-weight: 800;
    letter-spacing: -3px;
}

.hero-content h1 span {
    display: block;
    color: transparent;
    background: linear-gradient(90deg, #58dcff, #4f9cf5 48%, #a56eff);
    background-clip: text;
    -webkit-background-clip: text;
}

.hero-content > p {
    max-width: 600px;
    margin-top: 25px;
    color: var(--text-soft);
    font-size: 1.18rem;
    line-height: 1.95;
}

.english-page .hero-content > p {
    font-size: 1.05rem;
    line-height: 1.8;
}

.hero-actions {
    margin-top: 35px;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.button {
    min-height: 52px;
    padding: 0 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    border: 1px solid transparent;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 700;
    transition: var(--transition);
}

.button-primary {
    color: #00121b;
    background: linear-gradient(135deg, #61e2ff, #08bfe8);
    box-shadow: 0 14px 35px rgba(8, 191, 232, 0.2);
}

.button-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(8, 191, 232, 0.34);
}

.button-secondary {
    color: var(--text);
    background: rgba(255, 255, 255, 0.035);
    border-color: var(--border);
    backdrop-filter: blur(10px);
}

.button-secondary:hover {
    border-color: var(--border-hover);
    background: rgba(8, 191, 232, 0.08);
    transform: translateY(-3px);
}

.english-page .button span,
html[dir="ltr"] .text-link span,
html[dir="ltr"] .service-card-content a span {
    transform: rotate(180deg);
}

.scroll-indicator {
    position: absolute;
    bottom: 35px;
    left: 50%;
    width: 28px;
    height: 45px;
    display: flex;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 20px;
    transform: translateX(-50%);
}

.scroll-indicator span {
    width: 4px;
    height: 8px;
    margin-top: 9px;
    background: var(--primary-light);
    border-radius: 5px;
    animation: scrollMove 1.8s infinite;
}

@keyframes scrollMove {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    70% {
        transform: translateY(15px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 0;
    }
}

/* ==========================================================================
   Statistics
   ========================================================================== */

.statistics-section {
    position: relative;
    z-index: 3;
    margin-top: -1px;
    border-block: 1px solid var(--border);
    background: rgba(5, 13, 31, 0.92);
    backdrop-filter: blur(15px);
}

.statistics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.statistic-item {
    position: relative;
    padding: 30px 20px;
    text-align: center;
}

.statistic-item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 25%;
    inset-inline-end: 0;
    width: 1px;
    height: 50%;
    background: var(--border);
}

.statistic-item strong {
    display: block;
    color: var(--primary-light);
    font-size: 1.8rem;
    line-height: 1.3;
}

.statistic-item span {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* ==========================================================================
   Shared Sections
   ========================================================================== */

.section-label {
    margin-bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--primary-light);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.4px;
}

.section-label::before {
    content: "";
    width: 25px;
    height: 2px;
    background: var(--gradient);
    border-radius: 5px;
}

.section-title {
    max-width: 760px;
    font-size: clamp(2.2rem, 4vw, 3.7rem);
    line-height: 1.25;
    font-weight: 700;
}

.english-page .section-title {
    font-size: clamp(2rem, 3.5vw, 3.25rem);
    line-height: 1.2;
    letter-spacing: -1.5px;
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 55px;
    text-align: center;
}

.section-heading .section-label {
    justify-content: center;
}

.section-heading p,
.projects-header p {
    margin-top: 16px;
    color: var(--text-soft);
    font-size: 1.05rem;
}

/* ==========================================================================
   About
   ========================================================================== */

.about-section {
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 80px;
}

.about-image-wrapper {
    position: relative;
}

.about-image {
    position: relative;
    z-index: 2;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border: 1px solid var(--border);
    border-radius: var(--radius-large);
    box-shadow: var(--shadow);
}

.image-glow {
    position: absolute;
    top: 12%;
    right: 5%;
    width: 70%;
    height: 70%;
    background: rgba(8, 191, 232, 0.25);
    filter: blur(90px);
}

.about-experience-card {
    position: absolute;
    z-index: 4;
    bottom: -28px;
    inset-inline-end: -25px;
    max-width: 270px;
    padding: 17px 20px;
    display: flex;
    align-items: center;
    gap: 13px;
    background: rgba(7, 17, 38, 0.88);
    border: 1px solid rgba(71, 211, 255, 0.23);
    border-radius: 18px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(20px);
}

.experience-icon {
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    color: var(--primary-light);
    background: rgba(8, 191, 232, 0.1);
    border-radius: 13px;
}

.about-experience-card strong,
.about-experience-card small {
    display: block;
}

.about-experience-card strong {
    font-family: "Manrope", sans-serif;
}

.about-experience-card small {
    margin-top: 2px;
    color: var(--text-muted);
    font-size: 0.7rem;
    line-height: 1.5;
}

.section-content > p {
    margin-top: 17px;
    color: var(--text-soft);
    font-size: 1.05rem;
}

.feature-list {
    margin-top: 25px;
    display: grid;
    gap: 12px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 11px;
    color: var(--text-soft);
}

.feature-list li span {
    width: 25px;
    height: 25px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    color: #00151d;
    background: var(--primary-light);
    border-radius: 50%;
    font-family: Arial, sans-serif;
    font-size: 0.7rem;
    font-weight: bold;
}

.text-link {
    width: fit-content;
    margin-top: 29px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-light);
    font-family: "Noto Sans Arabic", sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
}

.english-page .text-link {
    font-family: "Manrope", sans-serif;
}

.text-link span {
    transition: transform var(--transition);
}

.text-link:hover span {
    transform: translateX(-5px);
}

/* ==========================================================================
   Services
   ========================================================================== */

.services-section {
    overflow: hidden;
    background: rgba(4, 10, 25, 0.7);
    border-block: 1px solid var(--border);
}

.services-light {
    position: absolute;
    top: 20%;
    left: 50%;
    width: 650px;
    height: 650px;
    background: rgba(83, 61, 210, 0.09);
    border-radius: 50%;
    filter: blur(120px);
    transform: translateX(-50%);
}

.services-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.service-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(14, 29, 59, 0.9), rgba(7, 15, 35, 0.9));
    border: 1px solid var(--border);
    border-radius: var(--radius-large);
    transition: var(--transition);
}

.service-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-7px);
    box-shadow: var(--shadow);
}

.service-card-large {
    min-height: 610px;
}

.service-image {
    position: absolute;
    inset: 0;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.04);
}

.service-image-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, #071026 5%, rgba(7, 16, 38, 0.92) 35%, rgba(7, 16, 38, 0.08) 78%),
        linear-gradient(90deg, rgba(7, 16, 38, 0.18), transparent);
}

.service-card-content {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    padding: 35px;
}

.service-number {
    position: absolute;
    top: 36px;
    inset-inline-end: 35px;
    color: rgba(255, 255, 255, 0.24);
    font-size: 0.8rem;
}

.service-icon {
    width: 53px;
    height: 53px;
    margin-bottom: 18px;
    display: grid;
    place-items: center;
    color: var(--primary-light);
    background: rgba(8, 191, 232, 0.11);
    border: 1px solid rgba(71, 211, 255, 0.2);
    border-radius: 16px;
}

.service-icon svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-card h3 {
    font-size: 1.65rem;
    line-height: 1.4;
}

.service-card p {
    margin-top: 10px;
    color: var(--text-soft);
}

.service-card-content > a {
    width: fit-content;
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--primary-light);
    font-family: "Noto Sans Arabic", sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
}

.english-page .service-card-content > a {
    font-family: "Manrope", sans-serif;
}

.service-card-small {
    min-height: 310px;
    padding: 38px;
}

.service-card-small .service-number {
    top: 38px;
    inset-inline-end: 38px;
}

.service-card-small p {
    max-width: 470px;
}

.service-pattern {
    position: absolute;
    right: -70px;
    bottom: -90px;
    width: 240px;
    height: 240px;
    opacity: 0.15;
    border: 1px solid var(--primary);
    border-radius: 50%;
    box-shadow:
        0 0 0 30px rgba(8, 191, 232, 0.2),
        0 0 0 65px rgba(8, 191, 232, 0.13);
}

/* ==========================================================================
   Why Us
   ========================================================================== */

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.why-us-card {
    position: relative;
    min-height: 285px;
    padding: 30px;
    overflow: hidden;
    background: rgba(10, 22, 47, 0.62);
    border: 1px solid var(--border);
    border-radius: var(--radius-medium);
    transition: var(--transition);
}

.why-us-card::before {
    content: "";
    position: absolute;
    top: 0;
    inset-inline-start: 0;
    width: 0;
    height: 3px;
    background: var(--gradient);
    transition: width var(--transition);
}

.why-us-card:hover {
    background: rgba(12, 29, 60, 0.86);
    border-color: var(--border-hover);
    transform: translateY(-5px);
}

.why-us-card:hover::before {
    width: 100%;
}

.why-us-number {
    position: absolute;
    top: 23px;
    inset-inline-end: 25px;
    color: rgba(255, 255, 255, 0.2);
    font-family: "Manrope", sans-serif;
    font-size: 0.75rem;
}

.why-us-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 25px;
    display: grid;
    place-items: center;
    color: var(--primary-light);
    background: rgba(8, 191, 232, 0.1);
    border-radius: 14px;
    font-family: "Manrope", sans-serif;
    font-weight: 700;
}

.why-us-card h3 {
    font-size: 1.3rem;
}

.why-us-card p {
    margin-top: 10px;
    color: var(--text-muted);
    font-size: 0.94rem;
}

/* ==========================================================================
   Projects
   ========================================================================== */

.projects-section {
    background: rgba(4, 10, 24, 0.62);
    border-block: 1px solid var(--border);
}

.projects-header {
    margin-bottom: 50px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
}

.projects-header > div {
    max-width: 760px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.project-card {
    position: relative;
    min-height: 430px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-large);
    isolation: isolate;
    transition: var(--transition);
}

.project-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    opacity: 0.8;
}

.project-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(to top, rgba(3, 8, 23, 0.96), rgba(3, 8, 23, 0.08)),
        radial-gradient(circle at 50% 35%, transparent, rgba(3, 8, 23, 0.4));
}

.project-fosooly::before {
    background:
        radial-gradient(circle at 50% 35%, rgba(37, 99, 235, 0.65), transparent 33%),
        linear-gradient(145deg, #12295c, #071126);
}

.project-vehicle::before {
    background:
        radial-gradient(circle at 50% 35%, rgba(3, 176, 151, 0.6), transparent 33%),
        linear-gradient(145deg, #0a3b42, #071126);
}

.project-flmc::before {
    background:
        radial-gradient(circle at 50% 35%, rgba(130, 76, 232, 0.65), transparent 33%),
        linear-gradient(145deg, #2d1e5f, #071126);
}

.project-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-7px);
    box-shadow: var(--shadow);
}

.project-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.project-category {
    padding: 6px 12px;
    color: var(--primary-light);
    background: rgba(4, 11, 27, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    font-size: 0.68rem;
    backdrop-filter: blur(10px);
}

.project-arrow {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
}

.project-symbol {
    width: 105px;
    height: 105px;
    margin: 55px auto 30px;
    display: grid;
    place-items: center;
    color: white;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(14px);
    font-size: 3rem;
    font-weight: 700;
    transform: rotate(-5deg);
    transition: transform var(--transition);
}

.project-card:hover .project-symbol {
    transform: rotate(0) scale(1.05);
}

.project-symbol-flmc {
    font-family: "Manrope", sans-serif;
    font-size: 1.6rem;
    letter-spacing: -1px;
}

.project-content {
    margin-top: auto;
}

.project-content h3 {
    font-size: 1.55rem;
}

.project-content p {
    margin-top: 8px;
    color: var(--text-soft);
    font-size: 0.92rem;
}

/* ==========================================================================
   CTA
   ========================================================================== */

.cta-section {
    padding: 100px 0;
}

.cta-box {
    position: relative;
    min-height: 290px;
    padding: 55px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(11, 39, 76, 0.92), rgba(29, 21, 73, 0.92));
    border: 1px solid rgba(71, 211, 255, 0.22);
    border-radius: 35px;
    box-shadow: var(--shadow);
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 750px;
}

.cta-content h2 {
    font-size: clamp(2.1rem, 4vw, 3.5rem);
    line-height: 1.25;
}

.cta-content p {
    margin-top: 12px;
    color: var(--text-soft);
    font-size: 1.04rem;
}

.cta-box .button {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.cta-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(20px);
}

.cta-glow-one {
    top: -160px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: rgba(8, 191, 232, 0.14);
}

.cta-glow-two {
    bottom: -200px;
    left: 30%;
    width: 420px;
    height: 420px;
    background: rgba(112, 72, 232, 0.15);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    position: relative;
    padding-top: 85px;
    overflow: hidden;
    background: #020611;
    border-top: 1px solid var(--border);
}

.footer-container {
    position: relative;
    z-index: 2;
    padding-bottom: 60px;
    display: grid;
    grid-template-columns: 1.55fr 0.8fr 1fr 1.05fr;
    gap: 55px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 13px;
}

.footer-brand img {
    width: 64px;
    height: 60px;
    object-fit: contain;
}

.footer-brand strong,
.footer-brand span {
    display: block;
}

.footer-brand strong {
    font-size: 1.2rem;
}

.footer-brand span {
    color: var(--text-muted);
    font-family: "Noto Sans Arabic", sans-serif;
    font-size: 0.7rem;
}

.english-page .footer-brand span {
    font-family: "Manrope", sans-serif;
}

.footer-company > p {
    max-width: 400px;
    margin-top: 20px;
    color: var(--text-muted);
    font-size: 0.94rem;
}

.footer-email {
    width: fit-content;
    margin-top: 18px;
    display: flex;
    align-items: center;
    gap: 9px;
    direction: ltr;
    color: var(--primary-light);
    font-family: "Manrope", sans-serif;
    font-size: 0.82rem;
}

.footer-column h2 {
    margin-bottom: 20px;
    font-size: 0.92rem;
}

.footer-column nav {
    display: grid;
    gap: 11px;
}

.footer-column nav a {
    width: fit-content;
    color: var(--text-muted);
    font-size: 0.82rem;
    transition: var(--transition);
}

.footer-column nav a:hover {
    color: var(--primary-light);
    transform: translateX(-3px);
}

.english-page .footer-column nav a:hover {
    transform: translateX(3px);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 17px;
}

.footer-contact h2 {
    margin-bottom: 3px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-contact-icon {
    width: 39px;
    height: 39px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    color: var(--primary-light);
    background: rgba(8, 191, 232, 0.08);
    border: 1px solid var(--border);
    border-radius: 11px;
}

.footer-contact-item small,
.footer-contact-item strong,
.footer-contact-item a {
    display: block;
}

.footer-contact-item small {
    color: var(--text-muted);
    font-size: 0.68rem;
}

.footer-contact-item strong,
.footer-contact-item a {
    color: var(--text-soft);
    font-size: 0.8rem;
    font-weight: 500;
}

.footer-contact-item a {
    direction: ltr;
    font-family: "Manrope", sans-serif;
}

.footer-bottom {
    position: relative;
    z-index: 2;
    min-height: 75px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
    font-family: "Noto Sans Arabic", sans-serif;
    font-size: 0.72rem;
}

.english-page .footer-bottom {
    font-family: "Manrope", sans-serif;
}

.footer-legal-links {
    display: flex;
    gap: 22px;
}

.footer-legal-links a {
    transition: color var(--transition);
}

.footer-legal-links a:hover {
    color: var(--primary-light);
}

.footer-decoration {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
}

.footer-decoration-one {
    top: 0;
    right: -180px;
    width: 400px;
    height: 400px;
    background: rgba(8, 191, 232, 0.08);
}

.footer-decoration-two {
    bottom: -200px;
    left: -150px;
    width: 400px;
    height: 400px;
    background: rgba(112, 72, 232, 0.08);
}

/* ==========================================================================
   Back to top and animations
   ========================================================================== */

.back-to-top {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 900;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    visibility: hidden;
    opacity: 0;
    color: #00121b;
    background: var(--primary-light);
    border: 0;
    border-radius: 50%;
    box-shadow: 0 12px 30px rgba(8, 191, 232, 0.25);
    cursor: pointer;
    transform: translateY(15px);
    transition: var(--transition);
}

.back-to-top.visible {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-3px);
}

.javascript-warning {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 9999;
    padding: 10px;
    color: white;
    background: #b91c1c;
    text-align: center;
}

.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition:
        opacity 0.75s ease,
        transform 0.75s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1100px) {
    .desktop-navigation {
        gap: 18px;
    }

    .nav-link {
        font-size: 0.78rem;
    }

    .brand-content small {
        display: none;
    }

    .header-contact-button {
        display: none;
    }

    .about-grid {
        gap: 50px;
    }

    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-container {
        grid-template-columns: 1.4fr 1fr 1fr;
    }

    .footer-company {
        grid-column: span 3;
    }
}

@media (max-width: 850px) {
    .section {
        padding: 85px 0;
    }

    .desktop-navigation,
    .header-contact-button {
        display: none;
    }

    .mobile-menu-button {
        display: flex;
    }

    .hero-section {
        min-height: 740px;
    }

    .hero-container {
        grid-template-columns: 1fr;
    }

    .hero-content {
        max-width: 650px;
    }

    .hero-visual-space {
        display: none;
    }

    .hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(2, 7, 20, 0.96),
                rgba(2, 7, 20, 0.76)
            ),
            linear-gradient(
                180deg,
                rgba(2, 7, 20, 0.35),
                #040919
            );
    }

    .arabic-page .hero-overlay {
        transform: none;
    }

    .statistics-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .statistic-item:nth-child(2)::after {
        display: none;
    }

    .statistic-item:nth-child(-n + 2) {
        border-bottom: 1px solid var(--border);
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-image-wrapper {
        max-width: 650px;
    }

    .about-experience-card {
        inset-inline-end: 20px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card-large {
        min-height: 570px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-card {
        min-height: 390px;
    }

    .cta-box {
        padding: 45px;
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-company {
        grid-column: span 2;
    }
}

@media (max-width: 600px) {
    .container {
        width: min(calc(100% - 28px), var(--container));
    }

    .section {
        padding: 70px 0;
    }

    .header-container {
        min-height: 74px;
    }

    .site-logo {
        width: 45px;
        height: 43px;
    }

    .brand-content strong {
        font-size: 0.94rem;
    }

    .language-switch {
        min-height: 38px;
        padding: 0 10px;
    }

    .language-icon {
        display: none;
    }

    .mobile-menu-button {
        width: 40px;
        height: 38px;
    }

    .hero-section {
        min-height: 700px;
    }

    .hero-container {
        padding-top: 85px;
    }

    .hero-background {
        background-position: 68% center;
    }

    .hero-content h1 {
        font-size: 2.7rem;
    }

    .english-page .hero-content h1 {
        font-size: 2.45rem;
        letter-spacing: -1.5px;
    }

    .hero-content > p {
        font-size: 1rem;
        line-height: 1.85;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-actions .button {
        width: 100%;
    }

    .scroll-indicator {
        display: none;
    }

    .statistic-item {
        padding: 23px 8px;
    }

    .statistic-item strong {
        font-size: 1.4rem;
    }

    .statistic-item span {
        font-size: 0.68rem;
    }

    .section-title {
        font-size: 2.15rem;
    }

    .english-page .section-title {
        font-size: 2rem;
    }

    .section-heading {
        margin-bottom: 38px;
    }

    .about-experience-card {
        position: relative;
        right: auto;
        bottom: auto;
        left: auto;
        max-width: 100%;
        margin: -25px 15px 0;
    }

    .service-card-large {
        min-height: 500px;
    }

    .service-card-content,
    .service-card-small {
        padding: 26px;
    }

    .service-card h3 {
        font-size: 1.4rem;
    }

    .why-us-grid {
        grid-template-columns: 1fr;
    }

    .why-us-card {
        min-height: auto;
    }

    .projects-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .project-card {
        min-height: 410px;
    }

    .cta-section {
        padding: 70px 0;
    }

    .cta-box {
        padding: 35px 25px;
        border-radius: 25px;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-box .button {
        width: 100%;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .footer-company {
        grid-column: auto;
    }

    .footer-bottom {
        padding: 22px 0;
        align-items: flex-start;
        flex-direction: column;
    }

    .back-to-top {
        right: 16px;
        bottom: 16px;
    }
}

@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;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
/* ==========================================================================
   تحسين إضاءة الموقع
   ========================================================================== */

body {
    background:
        radial-gradient(
            circle at 10% 12%,
            rgba(8, 191, 232, 0.16),
            transparent 28%
        ),
        radial-gradient(
            circle at 88% 42%,
            rgba(112, 72, 232, 0.14),
            transparent 30%
        ),
        linear-gradient(
            180deg,
            #07152d 0%,
            #0b1d3a 45%,
            #08162f 100%
        );
}

/* تخفيف التعتيم فوق صورة الواجهة */

.hero-overlay {
    background:
        linear-gradient(
            90deg,
            rgba(4, 14, 35, 0.92) 0%,
            rgba(5, 18, 43, 0.78) 34%,
            rgba(5, 18, 43, 0.22) 67%,
            rgba(5, 18, 43, 0.06) 100%
        ),
        linear-gradient(
            180deg,
            rgba(4, 14, 35, 0.25) 0%,
            transparent 48%,
            #07152d 100%
        );
}

/* العربية تحتاج عكس التدرج فقط */

.arabic-page .hero-overlay {
    transform: scaleX(-1);
}

/* شريط الإحصائيات */

.statistics-section {
    background:
        linear-gradient(
            90deg,
            rgba(9, 29, 59, 0.96),
            rgba(12, 37, 73, 0.96),
            rgba(9, 29, 59, 0.96)
        );
}

/* قسم الخدمات */

.services-section {
    background:
        radial-gradient(
            circle at 50% 10%,
            rgba(8, 191, 232, 0.12),
            transparent 35%
        ),
        linear-gradient(
            180deg,
            #091a36,
            #0d2141
        );
}

/* بطاقات الخدمات */

.service-card {
    background:
        linear-gradient(
            145deg,
            rgba(18, 45, 84, 0.96),
            rgba(10, 28, 58, 0.96)
        );
}

/* لماذا فايف لاين */

.why-us-section {
    background:
        radial-gradient(
            circle at 15% 50%,
            rgba(8, 191, 232, 0.1),
            transparent 30%
        ),
        linear-gradient(
            180deg,
            #0c2040,
            #091a35
        );
}

.why-us-card {
    background:
        linear-gradient(
            145deg,
            rgba(20, 50, 92, 0.86),
            rgba(12, 33, 67, 0.9)
        );
}

/* المشاريع */

.projects-section {
    background:
        radial-gradient(
            circle at 85% 35%,
            rgba(112, 72, 232, 0.13),
            transparent 32%
        ),
        linear-gradient(
            180deg,
            #081a36,
            #0d2447
        );
}

/* تحسين الحدود */

.service-card,
.why-us-card,
.project-card,
.about-image {
    border-color: rgba(100, 193, 255, 0.2);
}

/* نسخة الجوال */

@media (max-width: 850px) {
    .hero-overlay,
    .arabic-page .hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(4, 14, 35, 0.88),
                rgba(5, 18, 43, 0.62)
            ),
            linear-gradient(
                180deg,
                rgba(4, 14, 35, 0.18),
                #07152d
            );

        transform: none;
    }
}
/* تحسين موضع صورة الواجهة حسب اللغة */

.arabic-page .hero-background {
    transform: scaleX(-1) scale(1.015);
    background-position: center;
}

.english-page .hero-background {
    transform: scale(1.015);
    background-position: center;
}
/* شعارات المشاريع */

.project-logo-wrapper {
    width: 150px;
    height: 150px;
    margin: 42px auto 25px;
    padding: 12px;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.project-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 20px;
}

.project-card:hover .project-logo-wrapper {
    transform: translateY(-5px) scale(1.04);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}
/* ==========================================================================
   About Page
   ========================================================================== */

/* واجهة الصفحات الداخلية */

.inner-hero {
    position: relative;
    min-height: 590px;
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
}

.inner-hero-background {
    position: absolute;
    inset: 0;
    z-index: -4;
    background-size: cover;
    background-position: center;
}

.about-page-hero .inner-hero-background {
    background-image: url("../images/about/about-hero.png");
}

.inner-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -3;
    background:
        linear-gradient(
            90deg,
            rgba(4, 14, 35, 0.92),
            rgba(4, 14, 35, 0.68) 45%,
            rgba(4, 14, 35, 0.25)
        ),
        linear-gradient(
            180deg,
            rgba(3, 10, 26, 0.25),
            rgba(5, 17, 40, 0.92)
        );
}

.arabic-page .inner-hero-overlay {
    transform: scaleX(-1);
}

.inner-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    opacity: 0.14;
    background-image:
        linear-gradient(rgba(71, 211, 255, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(71, 211, 255, 0.12) 1px, transparent 1px);
    background-size: 75px 75px;
    mask-image: linear-gradient(to bottom, transparent 10%, black, transparent);
}

.inner-hero-content {
    padding-top: 100px;
}

.inner-hero-content h1 {
    max-width: 820px;
    font-size: clamp(3rem, 5.2vw, 5.2rem);
    line-height: 1.15;
}

.english-page .inner-hero-content h1 {
    max-width: 900px;
    font-size: clamp(2.8rem, 4.6vw, 4.7rem);
    line-height: 1.08;
    letter-spacing: -2.5px;
}

.inner-hero-content > p {
    max-width: 690px;
    margin-top: 20px;
    color: var(--text-soft);
    font-size: 1.12rem;
}

.breadcrumb {
    margin-top: 28px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.76rem;
}

.breadcrumb a {
    color: var(--primary-light);
    transition: color var(--transition);
}

.breadcrumb a:hover {
    color: white;
}

.breadcrumb span:last-child {
    color: var(--text-soft);
}

/* القصة */

.about-story-section {
    background:
        radial-gradient(
            circle at 10% 50%,
            rgba(8, 191, 232, 0.09),
            transparent 28%
        ),
        linear-gradient(
            180deg,
            #07152d,
            #0a1e3d
        );
}

.about-story-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 90px;
}

.about-story-heading .section-title {
    max-width: 520px;
}

.about-story-content {
    padding-top: 12px;
}

.about-story-content p {
    color: var(--text-soft);
    font-size: 1.08rem;
}

.about-story-content p + p {
    margin-top: 18px;
}

.about-company-highlight {
    position: relative;
    min-height: 190px;
    margin-top: 75px;
    padding: 30px 45px;
    display: flex;
    align-items: center;
    gap: 30px;
    overflow: hidden;
    background:
        linear-gradient(
            135deg,
            rgba(15, 48, 88, 0.95),
            rgba(19, 32, 76, 0.95)
        );
    border: 1px solid rgba(71, 211, 255, 0.22);
    border-radius: 30px;
    box-shadow: var(--shadow);
}

.company-highlight-logo {
    position: relative;
    z-index: 2;
    width: 125px;
    height: 125px;
    padding: 10px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 27px;
}

.company-highlight-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.company-highlight-content {
    position: relative;
    z-index: 2;
}

.company-highlight-content span {
    display: block;
    color: var(--primary-light);
    font-family: "Manrope", sans-serif;
    font-size: 0.82rem;
    letter-spacing: 0.5px;
}

.company-highlight-content strong {
    max-width: 700px;
    margin-top: 5px;
    display: block;
    font-size: clamp(1.7rem, 3vw, 2.8rem);
    line-height: 1.35;
}

.company-highlight-pattern {
    position: absolute;
    top: -140px;
    inset-inline-end: -50px;
    width: 370px;
    height: 370px;
    opacity: 0.2;
    border: 1px solid var(--primary);
    border-radius: 50%;
    box-shadow:
        0 0 0 40px rgba(8, 191, 232, 0.18),
        0 0 0 90px rgba(112, 72, 232, 0.12);
}

/* الرؤية والرسالة */

.vision-mission-section {
    background:
        radial-gradient(
            circle at 90% 40%,
            rgba(112, 72, 232, 0.1),
            transparent 30%
        ),
        linear-gradient(
            180deg,
            #091a35,
            #0d2447
        );
    border-block: 1px solid var(--border);
}

.vision-mission-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
    gap: 40px;
}

.vision-image-wrapper {
    position: relative;
    min-height: 650px;
}

.vision-image {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 1px solid rgba(100, 193, 255, 0.2);
    border-radius: var(--radius-large);
    box-shadow: var(--shadow);
}

.vision-image-glow {
    position: absolute;
    top: 15%;
    left: 10%;
    width: 75%;
    height: 75%;
    background: rgba(8, 191, 232, 0.17);
    filter: blur(100px);
}

.vision-mission-content {
    display: grid;
    grid-template-rows: repeat(2, 1fr);
    gap: 22px;
}

.vision-mission-card {
    position: relative;
    padding: 38px;
    overflow: hidden;
    background:
        linear-gradient(
            145deg,
            rgba(19, 47, 87, 0.92),
            rgba(10, 28, 58, 0.94)
        );
    border: 1px solid var(--border);
    border-radius: var(--radius-large);
    transition: var(--transition);
}

.vision-mission-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.vision-card-number {
    position: absolute;
    top: 30px;
    inset-inline-end: 32px;
    color: rgba(255, 255, 255, 0.2);
    font-family: "Manrope", sans-serif;
    font-size: 0.75rem;
}

.vision-card-icon {
    width: 53px;
    height: 53px;
    margin-bottom: 22px;
    display: grid;
    place-items: center;
    color: var(--primary-light);
    background: rgba(8, 191, 232, 0.1);
    border: 1px solid rgba(71, 211, 255, 0.18);
    border-radius: 16px;
}

.vision-card-icon svg {
    width: 27px;
    height: 27px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.vision-mission-card .section-label {
    margin-bottom: 7px;
}

.vision-mission-card h2 {
    max-width: 480px;
    font-size: 1.85rem;
    line-height: 1.4;
}

.english-page .vision-mission-card h2 {
    line-height: 1.25;
}

.vision-mission-card p {
    margin-top: 12px;
    color: var(--text-soft);
}

/* القيم */

.company-values-section {
    background:
        radial-gradient(
            circle at 10% 20%,
            rgba(8, 191, 232, 0.09),
            transparent 27%
        ),
        linear-gradient(
            180deg,
            #0b2040,
            #081a35
        );
}

.company-values-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.company-value-card {
    position: relative;
    min-height: 245px;
    padding: 32px;
    overflow: hidden;
    background:
        linear-gradient(
            145deg,
            rgba(18, 46, 85, 0.86),
            rgba(10, 29, 59, 0.9)
        );
    border: 1px solid var(--border);
    border-radius: var(--radius-medium);
    transition: var(--transition);
}

.company-value-card::after {
    content: "";
    position: absolute;
    right: -55px;
    bottom: -65px;
    width: 135px;
    height: 135px;
    opacity: 0;
    background: rgba(8, 191, 232, 0.14);
    border-radius: 50%;
    filter: blur(15px);
    transition: opacity var(--transition);
}

.company-value-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.company-value-card:hover::after {
    opacity: 1;
}

.value-icon {
    width: 49px;
    height: 49px;
    margin-bottom: 22px;
    display: grid;
    place-items: center;
    color: var(--primary-light);
    background: rgba(8, 191, 232, 0.1);
    border: 1px solid rgba(71, 211, 255, 0.15);
    border-radius: 15px;
    font-family: "Manrope", sans-serif;
    font-size: 1.2rem;
}

.company-value-card h3 {
    font-size: 1.35rem;
}

.company-value-card p {
    margin-top: 10px;
    color: var(--text-muted);
    font-size: 0.94rem;
}

/* أسلوب العمل */

.company-approach-section {
    background:
        radial-gradient(
            circle at 80% 50%,
            rgba(112, 72, 232, 0.1),
            transparent 30%
        ),
        linear-gradient(
            180deg,
            #081a35,
            #0c2243
        );
    border-top: 1px solid var(--border);
}

.approach-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 25px;
}

.approach-timeline::before {
    content: "";
    position: absolute;
    top: 30px;
    right: 8%;
    left: 8%;
    height: 1px;
    background:
        linear-gradient(
            90deg,
            transparent,
            var(--primary),
            var(--secondary),
            transparent
        );
}

.approach-step {
    position: relative;
    padding-top: 80px;
    text-align: center;
}

.approach-number {
    position: absolute;
    top: 0;
    left: 50%;
    z-index: 2;
    width: 61px;
    height: 61px;
    display: grid;
    place-items: center;
    color: #00141d;
    background: linear-gradient(135deg, #61e2ff, #08bfe8);
    border: 7px solid #0a1d3a;
    border-radius: 50%;
    box-shadow: 0 0 30px rgba(8, 191, 232, 0.25);
    transform: translateX(-50%);
    font-family: "Manrope", sans-serif;
    font-size: 0.72rem;
    font-weight: 800;
}

.approach-step h3 {
    font-size: 1.25rem;
}

.approach-step p {
    margin-top: 9px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ==========================================================================
   About Page Responsive
   ========================================================================== */

@media (max-width: 1000px) {
    .about-story-grid {
        gap: 50px;
    }

    .vision-mission-grid {
        grid-template-columns: 1fr;
    }

    .vision-image-wrapper {
        min-height: auto;
    }

    .vision-image {
        aspect-ratio: 4 / 3;
    }

    .company-values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .approach-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 45px 25px;
    }

    .approach-timeline::before {
        display: none;
    }
}

@media (max-width: 750px) {
    .inner-hero {
        min-height: 530px;
    }

    .inner-hero-content {
        padding-top: 85px;
    }

    .inner-hero-content h1 {
        font-size: 2.8rem;
    }

    .english-page .inner-hero-content h1 {
        font-size: 2.55rem;
        letter-spacing: -1.5px;
    }

    .inner-hero-overlay,
    .arabic-page .inner-hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(4, 14, 35, 0.85),
                rgba(4, 14, 35, 0.6)
            ),
            linear-gradient(
                180deg,
                rgba(3, 10, 26, 0.2),
                rgba(5, 17, 40, 0.95)
            );
        transform: none;
    }

    .about-story-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-story-content {
        padding-top: 0;
    }

    .about-company-highlight {
        padding: 28px;
        align-items: flex-start;
        flex-direction: column;
    }

    .company-highlight-logo {
        width: 100px;
        height: 100px;
    }

    .vision-mission-card {
        padding: 30px;
    }

    .company-values-grid {
        grid-template-columns: 1fr;
    }

    .approach-timeline {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .approach-step {
        padding-top: 75px;
    }
}

@media (max-width: 480px) {
    .inner-hero-content h1 {
        font-size: 2.35rem;
    }

    .english-page .inner-hero-content h1 {
        font-size: 2.2rem;
    }

    .inner-hero-content > p {
        font-size: 1rem;
    }

    .about-company-highlight {
        margin-top: 50px;
        border-radius: 22px;
    }

    .vision-mission-card {
        padding: 25px;
    }

    .vision-mission-card h2 {
        font-size: 1.55rem;
    }

    .company-value-card {
        min-height: auto;
        padding: 27px;
    }
}
/* ==========================================================================
   Services Page
   ========================================================================== */

.services-page-hero .inner-hero-background {
    background-image: url("../images/services/services-hero.png");
}

/* مقدمة الخدمات */

.services-introduction {
    padding-bottom: 80px;
    background:
        radial-gradient(
            circle at 50% 20%,
            rgba(8, 191, 232, 0.12),
            transparent 35%
        ),
        linear-gradient(
            180deg,
            #07152d,
            #0a1e3d
        );
}

.services-introduction .section-heading {
    margin-bottom: 0;
}

/* تفاصيل الخدمات */

.services-details {
    background: #091a35;
}

.service-detail {
    position: relative;
    padding: 105px 0;
    overflow: hidden;
    border-top: 1px solid var(--border);
}

.service-detail:nth-child(odd) {
    background:
        radial-gradient(
            circle at 10% 50%,
            rgba(8, 191, 232, 0.1),
            transparent 30%
        ),
        linear-gradient(
            180deg,
            #0a1e3d,
            #0c2446
        );
}

.service-detail:nth-child(even) {
    background:
        radial-gradient(
            circle at 90% 50%,
            rgba(112, 72, 232, 0.11),
            transparent 30%
        ),
        linear-gradient(
            180deg,
            #0c2446,
            #091a35
        );
}

.service-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 75px;
}

.service-detail-reverse .service-detail-image-wrapper {
    order: 2;
}

.service-detail-reverse .service-detail-content {
    order: 1;
}

.service-detail-image-wrapper {
    position: relative;
    min-height: 530px;
}

.service-detail-image {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    min-height: 530px;
    object-fit: cover;
    border: 1px solid rgba(100, 193, 255, 0.22);
    border-radius: var(--radius-large);
    box-shadow: var(--shadow);
}

.service-detail-image-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    border-radius: var(--radius-large);
    background:
        linear-gradient(
            145deg,
            transparent 55%,
            rgba(8, 191, 232, 0.12)
        );
}

.service-detail-image-wrapper::before {
    content: "";
    position: absolute;
    top: 12%;
    right: 8%;
    width: 75%;
    height: 75%;
    background: rgba(8, 191, 232, 0.18);
    border-radius: 50%;
    filter: blur(95px);
}

.service-detail-number {
    position: absolute;
    top: -28px;
    inset-inline-start: -18px;
    z-index: 4;
    width: 78px;
    height: 78px;
    display: grid;
    place-items: center;
    color: #00141d;
    background: linear-gradient(135deg, #65e4ff, #08bfe8);
    border: 8px solid #0a1e3d;
    border-radius: 22px;
    box-shadow: 0 15px 35px rgba(8, 191, 232, 0.25);
    font-family: "Manrope", sans-serif;
    font-size: 1rem;
    font-weight: 800;
}

.service-detail-content .section-title {
    max-width: 580px;
    font-size: clamp(2.1rem, 3.4vw, 3.25rem);
}

.service-detail-description {
    max-width: 630px;
    margin-top: 18px;
    color: var(--text-soft);
    font-size: 1.05rem;
}

.service-features-grid {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px 18px;
}

.service-features-grid li {
    min-height: 58px;
    padding: 11px 13px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-soft);
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--border);
    border-radius: 13px;
    font-size: 0.88rem;
    transition: var(--transition);
}

.service-features-grid li:hover {
    color: var(--text);
    background: rgba(8, 191, 232, 0.07);
    border-color: var(--border-hover);
}

.service-feature-check {
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    color: #00141d;
    background: var(--primary-light);
    border-radius: 50%;
    font-family: Arial, sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
}

/* رحلة تنفيذ الخدمات */

.services-process-section {
    background:
        radial-gradient(
            circle at 50% 65%,
            rgba(112, 72, 232, 0.11),
            transparent 34%
        ),
        linear-gradient(
            180deg,
            #091a35,
            #0c2243
        );
    border-top: 1px solid var(--border);
}

.services-process-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.services-process-grid::before {
    content: "";
    position: absolute;
    top: 48px;
    right: 10%;
    left: 10%;
    height: 1px;
    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(8, 191, 232, 0.65),
            rgba(112, 72, 232, 0.65),
            transparent
        );
}

.services-process-card {
    position: relative;
    min-height: 260px;
    padding: 95px 28px 28px;
    overflow: hidden;
    text-align: center;
    background:
        linear-gradient(
            145deg,
            rgba(18, 46, 85, 0.88),
            rgba(10, 29, 59, 0.92)
        );
    border: 1px solid var(--border);
    border-radius: var(--radius-medium);
    transition: var(--transition);
}

.services-process-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.services-process-number {
    position: absolute;
    top: 20px;
    left: 50%;
    z-index: 2;
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    color: #00141d;
    background: linear-gradient(135deg, #65e4ff, #08bfe8);
    border: 6px solid #0b2040;
    border-radius: 50%;
    box-shadow: 0 0 28px rgba(8, 191, 232, 0.25);
    transform: translateX(-50%);
    font-family: "Manrope", sans-serif;
    font-size: 0.72rem;
    font-weight: 800;
}

.services-process-card h3 {
    font-size: 1.25rem;
}

.services-process-card p {
    margin-top: 10px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ==========================================================================
   Services Page Responsive
   ========================================================================== */

@media (max-width: 1050px) {
    .service-detail-grid {
        gap: 45px;
    }

    .service-detail-image-wrapper,
    .service-detail-image {
        min-height: 460px;
    }

    .service-features-grid {
        grid-template-columns: 1fr;
    }

    .services-process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-process-grid::before {
        display: none;
    }
}

@media (max-width: 800px) {
    .services-introduction {
        padding-bottom: 60px;
    }

    .service-detail {
        padding: 80px 0;
    }

    .service-detail-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .service-detail-reverse .service-detail-image-wrapper,
    .service-detail-reverse .service-detail-content {
        order: initial;
    }

    .service-detail-image-wrapper,
    .service-detail-image {
        min-height: auto;
    }

    .service-detail-image {
        aspect-ratio: 4 / 3;
    }

    .service-detail-number {
        top: -20px;
        inset-inline-start: 18px;
        width: 67px;
        height: 67px;
        border-width: 6px;
    }

    .service-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .service-detail {
        padding: 65px 0;
    }

    .service-detail-content .section-title {
        font-size: 2rem;
    }

    .service-detail-description {
        font-size: 1rem;
    }

    .service-features-grid {
        grid-template-columns: 1fr;
    }

    .services-process-grid {
        grid-template-columns: 1fr;
    }

    .services-process-card {
        min-height: auto;
    }
}
/* ==========================================================================
   Projects and Clients Page
   ========================================================================== */

.projects-page-hero .inner-hero-background {
    background-image: url("../images/projects/projects-hero.png");
}

/* العملاء */

.clients-section {
    background:
        radial-gradient(
            circle at 15% 30%,
            rgba(8, 191, 232, 0.1),
            transparent 30%
        ),
        linear-gradient(
            180deg,
            #07152d,
            #0b2040
        );
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.client-card {
    position: relative;
    min-height: 230px;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    overflow: hidden;
    background:
        linear-gradient(
            145deg,
            rgba(20, 50, 92, 0.88),
            rgba(11, 31, 63, 0.92)
        );
    border: 1px solid var(--border);
    border-radius: var(--radius-medium);
    text-align: center;
    transition: var(--transition);
}

.client-card::before {
    content: "";
    position: absolute;
    top: 0;
    inset-inline-start: 0;
    width: 0;
    height: 3px;
    background: var(--gradient);
    transition: width var(--transition);
}

.client-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.client-card:hover::before {
    width: 100%;
}

.client-logo-wrapper {
    width: 120px;
    height: 100px;
    padding: 12px;
    display: grid;
    place-items: center;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.client-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.client-logo-placeholder {
    color: #0a3260;
    font-family: "Manrope", sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
}

.client-card h3 {
    margin-top: 22px;
    font-family: "Manrope", "Noto Sans Arabic", sans-serif;
    font-size: 1.05rem;
}

/* المنتجات */

.portfolio-products-section {
    background:
        radial-gradient(
            circle at 85% 35%,
            rgba(112, 72, 232, 0.12),
            transparent 32%
        ),
        linear-gradient(
            180deg,
            #0b2040,
            #091a35
        );
    border-top: 1px solid var(--border);
}

.portfolio-products-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.portfolio-product-card {
    position: relative;
    min-height: 570px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background:
        linear-gradient(
            145deg,
            rgba(18, 46, 85, 0.92),
            rgba(9, 27, 57, 0.96)
        );
    border: 1px solid var(--border);
    border-radius: var(--radius-large);
    isolation: isolate;
    transition: var(--transition);
}

.portfolio-product-card::before {
    content: "";
    position: absolute;
    top: -140px;
    left: 50%;
    z-index: -1;
    width: 330px;
    height: 330px;
    background: rgba(8, 191, 232, 0.12);
    border-radius: 50%;
    filter: blur(40px);
    transform: translateX(-50%);
}

.portfolio-product-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-7px);
    box-shadow: var(--shadow);
}

.product-theme-glamix::before,
.product-theme-flmc::before {
    background: rgba(112, 72, 232, 0.17);
}

.product-theme-discount::before {
    background: rgba(239, 68, 68, 0.13);
}

.product-theme-near-me::before {
    background: rgba(14, 165, 233, 0.16);
}

.product-theme-fosooly::before {
    background: rgba(20, 184, 166, 0.15);
}

.portfolio-product-header {
    min-height: 35px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.portfolio-product-type,
.internal-product-badge {
    padding: 6px 11px;
    border-radius: 20px;
    font-family: "Noto Sans Arabic", sans-serif;
    font-size: 0.67rem;
}

.english-page .portfolio-product-type,
.english-page .internal-product-badge {
    font-family: "Manrope", sans-serif;
}

.portfolio-product-type {
    color: var(--primary-light);
    background: rgba(8, 191, 232, 0.08);
    border: 1px solid rgba(71, 211, 255, 0.16);
}

.internal-product-badge {
    color: #d6c6ff;
    background: rgba(112, 72, 232, 0.14);
    border: 1px solid rgba(164, 119, 255, 0.25);
}

.portfolio-product-logo-wrapper {
    width: 145px;
    height: 145px;
    margin: 35px auto 25px;
    padding: 12px;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: #ffffff;
    border-radius: 30px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.28);
    transition: transform var(--transition);
}

.portfolio-product-card:hover .portfolio-product-logo-wrapper {
    transform: scale(1.04) rotate(-2deg);
}

.portfolio-product-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 20px;
}

.portfolio-product-placeholder {
    color: #0a3260;
    font-family: "Manrope", "Noto Sans Arabic", sans-serif;
    font-size: 2rem;
    font-weight: 800;
}

.portfolio-product-card > h3 {
    text-align: center;
    font-size: 1.55rem;
}

.portfolio-product-card > p {
    margin: 10px 0 24px;
    color: var(--text-soft);
    text-align: center;
    font-size: 0.92rem;
}

.portfolio-product-actions {
    margin-top: auto;
    display: grid;
    gap: 10px;
}

.product-action {
    min-height: 43px;
    padding: 8px 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border-radius: 12px;
    font-family: "Noto Sans Arabic", sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    transition: var(--transition);
}

.english-page .product-action {
    font-family: "Manrope", sans-serif;
}

.product-store-action {
    color: #00141d;
    background: linear-gradient(135deg, #61e2ff, #08bfe8);
}

.product-store-action:hover,
.product-website-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(8, 191, 232, 0.2);
}

.product-website-action {
    color: var(--text);
    background: rgba(8, 191, 232, 0.09);
    border: 1px solid rgba(71, 211, 255, 0.25);
}

.product-action-disabled {
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--border);
    cursor: not-allowed;
}

.product-action-disabled small {
    padding: 2px 7px;
    color: #baa7e9;
    background: rgba(112, 72, 232, 0.14);
    border-radius: 10px;
    font-size: 0.58rem;
}

.product-policy-actions {
    padding-top: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

.product-policy-actions a {
    color: var(--text-muted);
    font-family: "Noto Sans Arabic", sans-serif;
    font-size: 0.7rem;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: color var(--transition);
}

.english-page .product-policy-actions a {
    font-family: "Manrope", sans-serif;
}

.product-policy-actions a:hover {
    color: var(--primary-light);
}

/* ==========================================================================
   Projects Page Responsive
   ========================================================================== */

@media (max-width: 1000px) {
    .clients-grid,
    .portfolio-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 650px) {
    .clients-grid,
    .portfolio-products-grid {
        grid-template-columns: 1fr;
    }

    .client-card {
        min-height: 210px;
    }

    .portfolio-product-card {
        min-height: 550px;
    }

    .portfolio-product-logo-wrapper {
        width: 130px;
        height: 130px;
    }
}
/* ==========================================================================
   Contact Page
   ========================================================================== */

.contact-page-hero .inner-hero-background {
    background-image: url("../images/contact/contact-hero.png");
}

.contact-introduction-section {
    padding-bottom: 75px;
    background:
        radial-gradient(
            circle at 50% 20%,
            rgba(8, 191, 232, 0.11),
            transparent 35%
        ),
        linear-gradient(
            180deg,
            #07152d,
            #0a1e3d
        );
}

.contact-introduction-section .section-heading {
    margin-bottom: 0;
}

.contact-main-section {
    padding: 0 0 120px;
    background:
        radial-gradient(
            circle at 85% 45%,
            rgba(112, 72, 232, 0.11),
            transparent 30%
        ),
        linear-gradient(
            180deg,
            #0a1e3d,
            #0c2446
        );
}

.contact-main-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
    align-items: stretch;
    gap: 30px;
}

/* معلومات التواصل */

.contact-information {
    position: relative;
    min-height: 720px;
    padding: 40px;
    overflow: hidden;
    background:
        linear-gradient(
            145deg,
            rgba(17, 52, 93, 0.96),
            rgba(17, 31, 72, 0.96)
        );
    border: 1px solid rgba(71, 211, 255, 0.22);
    border-radius: var(--radius-large);
    box-shadow: var(--shadow);
}

.contact-information-header {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 17px;
}

.contact-information-header img {
    width: 78px;
    height: 74px;
    object-fit: contain;
}

.contact-information-header strong,
.contact-information-header span {
    display: block;
}

.contact-information-header strong {
    font-size: 1.4rem;
}

.contact-information-header span {
    max-width: 260px;
    color: var(--text-muted);
    font-size: 0.78rem;
}

.contact-information-list {
    position: relative;
    z-index: 2;
    margin-top: 50px;
    display: grid;
    gap: 18px;
}

.contact-information-item {
    padding: 19px;
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid var(--border);
    border-radius: 16px;
}

.contact-information-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    color: var(--primary-light);
    background: rgba(8, 191, 232, 0.1);
    border: 1px solid rgba(71, 211, 255, 0.18);
    border-radius: 14px;
}

.contact-information-item small,
.contact-information-item strong,
.contact-information-item a {
    display: block;
}

.contact-information-item small {
    color: var(--text-muted);
    font-family: "Noto Sans Arabic", sans-serif;
    font-size: 0.7rem;
}

.english-page .contact-information-item small {
    font-family: "Manrope", sans-serif;
}

.contact-information-item strong,
.contact-information-item a {
    margin-top: 2px;
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 600;
}

.contact-information-item a {
    font-family: "Manrope", sans-serif;
}

.contact-privacy-note {
    position: relative;
    z-index: 2;
    margin-top: 30px;
    padding: 18px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-muted);
    background: rgba(3, 10, 25, 0.25);
    border: 1px solid var(--border);
    border-radius: 15px;
    font-size: 0.82rem;
}

.contact-privacy-note > span {
    color: var(--primary-light);
    font-size: 1.1rem;
}

.contact-information-decoration {
    position: absolute;
    right: -160px;
    bottom: -170px;
    width: 380px;
    height: 380px;
    opacity: 0.2;
    border: 1px solid var(--primary);
    border-radius: 50%;
    box-shadow:
        0 0 0 45px rgba(8, 191, 232, 0.17),
        0 0 0 95px rgba(112, 72, 232, 0.12);
}

/* نموذج التواصل */

.contact-form-card {
    padding: 42px;
    background:
        linear-gradient(
            145deg,
            rgba(18, 46, 85, 0.92),
            rgba(9, 27, 57, 0.96)
        );
    border: 1px solid var(--border);
    border-radius: var(--radius-large);
    box-shadow: var(--shadow);
}

.contact-form-header h2 {
    font-size: clamp(2rem, 3vw, 2.8rem);
    line-height: 1.35;
}

.contact-form-header p {
    margin-top: 8px;
    color: var(--text-muted);
}

.contact-form {
    margin-top: 32px;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group-full {
    grid-column: span 2;
}

.form-group label {
    margin-bottom: 8px;
    color: var(--text-soft);
    font-family: "Noto Sans Arabic", sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
}

.english-page .form-group label {
    font-family: "Manrope", sans-serif;
}

.form-group label span {
    color: #fb7185;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    color: var(--text);
    background: rgba(3, 11, 28, 0.48);
    border: 1px solid var(--border);
    border-radius: 13px;
    outline: none;
    transition:
        border-color var(--transition),
        box-shadow var(--transition),
        background var(--transition);
}

.form-group input,
.form-group select {
    height: 52px;
    padding: 0 16px;
}

.form-group textarea {
    min-height: 165px;
    padding: 14px 16px;
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #66778f;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    background: rgba(5, 19, 44, 0.7);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(8, 191, 232, 0.08);
}

.form-group select {
    cursor: pointer;
}

.form-group select option {
    color: var(--text);
    background: #0b1e3b;
}

.consent-field {
    margin-top: 22px;
    display: flex;
    align-items: flex-start;
    gap: 11px;
    color: var(--text-muted);
    font-family: "Noto Sans Arabic", sans-serif;
    font-size: 0.76rem;
    cursor: pointer;
}

.english-page .consent-field {
    font-family: "Manrope", sans-serif;
}

.consent-field input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.consent-checkbox {
    width: 21px;
    height: 21px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    border: 1px solid var(--border-hover);
    border-radius: 6px;
    transition: var(--transition);
}

.consent-field input:checked + .consent-checkbox {
    background: var(--primary);
    border-color: var(--primary);
}

.consent-field input:checked + .consent-checkbox::after {
    content: "✓";
    color: #00141d;
    font-family: Arial, sans-serif;
    font-size: 0.72rem;
    font-weight: bold;
}

.consent-field input:focus-visible + .consent-checkbox {
    box-shadow: 0 0 0 4px rgba(8, 191, 232, 0.12);
}

.contact-submit-button {
    min-width: 180px;
    margin-top: 25px;
    border: 0;
    cursor: pointer;
}

.contact-submit-button:disabled {
    opacity: 0.65;
    cursor: wait;
    transform: none;
}

.contact-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.form-message {
    margin-top: 25px;
    padding: 14px 17px;
    border-radius: 12px;
    font-family: "Noto Sans Arabic", sans-serif;
    font-size: 0.8rem;
}

.english-page .form-message {
    font-family: "Manrope", sans-serif;
}

.form-message-success {
    color: #bbf7d0;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.form-message-error {
    color: #fecaca;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* ==========================================================================
   Contact Responsive
   ========================================================================== */

@media (max-width: 950px) {
    .contact-main-grid {
        grid-template-columns: 1fr;
    }

    .contact-information {
        min-height: auto;
    }
}

@media (max-width: 650px) {
    .contact-main-section {
        padding-bottom: 75px;
    }

    .contact-information,
    .contact-form-card {
        padding: 27px;
        border-radius: 22px;
    }

    .contact-form-grid {
        grid-template-columns: 1fr;
    }

    .form-group-full {
        grid-column: auto;
    }

    .contact-submit-button {
        width: 100%;
    }
}
/* ==========================================================================
   Legal Pages
   ========================================================================== */

.legal-page-hero {
    position: relative;
    min-height: 500px;
    padding: 150px 0 75px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 25% 35%,
            rgba(8, 191, 232, 0.15),
            transparent 30%
        ),
        radial-gradient(
            circle at 80% 40%,
            rgba(112, 72, 232, 0.16),
            transparent 30%
        ),
        linear-gradient(
            145deg,
            #07152d,
            #102750
        );
    border-bottom: 1px solid var(--border);
}

.legal-page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.14;
    background-image:
        linear-gradient(rgba(71, 211, 255, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(71, 211, 255, 0.12) 1px, transparent 1px);
    background-size: 70px 70px;
    mask-image: linear-gradient(to bottom, transparent, black, transparent);
}

.legal-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.legal-hero-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 22px;
    display: grid;
    place-items: center;
    color: var(--primary-light);
    background: rgba(8, 191, 232, 0.1);
    border: 1px solid rgba(71, 211, 255, 0.25);
    border-radius: 22px;
    box-shadow: 0 15px 35px rgba(8, 191, 232, 0.15);
}

.legal-hero-icon svg {
    width: 34px;
    height: 34px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.legal-hero-content h1 {
    font-size: clamp(2.8rem, 5vw, 4.8rem);
    line-height: 1.2;
}

.english-page .legal-hero-content h1 {
    letter-spacing: -2px;
}

.legal-hero-content > p {
    max-width: 700px;
    margin: 15px auto 0;
    color: var(--text-soft);
    font-size: 1.05rem;
}

.legal-last-updated {
    margin-top: 18px;
    padding: 6px 13px;
    display: inline-flex;
    color: var(--primary-light);
    background: rgba(8, 191, 232, 0.08);
    border: 1px solid rgba(71, 211, 255, 0.18);
    border-radius: 20px;
    font-family: "Noto Sans Arabic", sans-serif;
    font-size: 0.7rem;
}

.english-page .legal-last-updated {
    font-family: "Manrope", sans-serif;
}

.legal-breadcrumb {
    justify-content: center;
}

.legal-hero-decoration {
    position: absolute;
    border-radius: 50%;
    filter: blur(35px);
}

.legal-hero-decoration-one {
    top: -180px;
    right: -120px;
    width: 430px;
    height: 430px;
    background: rgba(8, 191, 232, 0.08);
}

.legal-hero-decoration-two {
    bottom: -230px;
    left: -100px;
    width: 460px;
    height: 460px;
    background: rgba(112, 72, 232, 0.09);
}

/* محتوى الوثيقة */

.legal-content-section {
    background:
        radial-gradient(
            circle at 90% 20%,
            rgba(112, 72, 232, 0.08),
            transparent 27%
        ),
        linear-gradient(
            180deg,
            #091a35,
            #0c2446
        );
}

.legal-layout {
    display: grid;
    grid-template-columns: 290px minmax(0, 1fr);
    align-items: start;
    gap: 35px;
}

.legal-sidebar {
    position: sticky;
    top: 115px;
    padding: 24px;
    background:
        linear-gradient(
            145deg,
            rgba(18, 46, 85, 0.92),
            rgba(9, 27, 57, 0.96)
        );
    border: 1px solid var(--border);
    border-radius: var(--radius-medium);
}

.legal-sidebar-logo {
    padding-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--border);
}

.legal-sidebar-logo img {
    width: 52px;
    height: 50px;
    object-fit: contain;
}

.legal-sidebar-logo strong,
.legal-sidebar-logo small {
    display: block;
}

.legal-sidebar-logo strong {
    font-size: 1rem;
}

.legal-sidebar-logo small {
    color: var(--text-muted);
    font-family: "Noto Sans Arabic", sans-serif;
    font-size: 0.66rem;
}

.english-page .legal-sidebar-logo small {
    font-family: "Manrope", sans-serif;
}

.legal-navigation {
    max-height: calc(100vh - 245px);
    margin-top: 15px;
    display: grid;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-dark) transparent;
}

.legal-navigation a {
    padding: 9px 10px;
    color: var(--text-muted);
    border-radius: 9px;
    font-size: 0.73rem;
    line-height: 1.5;
    transition: var(--transition);
}

.legal-navigation a:hover {
    color: var(--primary-light);
    background: rgba(8, 191, 232, 0.07);
}

.legal-document {
    min-width: 0;
}

.legal-introduction,
.legal-section {
    padding: 36px;
    background:
        linear-gradient(
            145deg,
            rgba(17, 43, 80, 0.88),
            rgba(9, 27, 57, 0.92)
        );
    border: 1px solid var(--border);
    border-radius: var(--radius-medium);
}

.legal-section {
    margin-top: 20px;
    scroll-margin-top: 115px;
}

.legal-introduction {
    border-color: rgba(71, 211, 255, 0.25);
}

.legal-introduction h2,
.legal-section h2 {
    color: var(--text);
    font-size: 1.55rem;
    line-height: 1.45;
}

.legal-introduction p,
.legal-section p {
    margin-top: 13px;
    color: var(--text-soft);
    font-size: 0.98rem;
}

.legal-section ul {
    margin-top: 17px;
    display: grid;
    gap: 10px;
}

.legal-section li {
    position: relative;
    padding-inline-start: 25px;
    color: var(--text-soft);
    font-size: 0.94rem;
}

.legal-section li::before {
    content: "✓";
    position: absolute;
    top: 4px;
    inset-inline-start: 0;
    width: 17px;
    height: 17px;
    display: grid;
    place-items: center;
    color: #00141d;
    background: var(--primary-light);
    border-radius: 50%;
    font-family: Arial, sans-serif;
    font-size: 0.55rem;
    font-weight: bold;
}

.legal-note {
    margin-top: 20px;
    padding: 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(8, 191, 232, 0.07);
    border: 1px solid rgba(71, 211, 255, 0.18);
    border-radius: 13px;
}

.legal-note > span {
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    color: #00141d;
    background: var(--primary-light);
    border-radius: 50%;
    font-family: "Manrope", sans-serif;
    font-size: 0.7rem;
    font-weight: 800;
}

.legal-note p {
    margin-top: 0;
    font-size: 0.88rem;
}

.legal-contact-section {
    border-color: rgba(71, 211, 255, 0.3);
}

.legal-contact-details {
    margin-top: 20px;
    padding: 20px;
    display: grid;
    gap: 4px;
    background: rgba(3, 11, 28, 0.3);
    border: 1px solid var(--border);
    border-radius: 14px;
}

.legal-contact-details strong {
    font-size: 1rem;
}

.legal-contact-details span {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.legal-contact-details a {
    width: fit-content;
    margin-top: 4px;
    color: var(--primary-light);
    font-family: "Manrope", sans-serif;
    font-size: 0.85rem;
}

/* ==========================================================================
   Legal Responsive
   ========================================================================== */

@media (max-width: 900px) {
    .legal-layout {
        grid-template-columns: 1fr;
    }

    .legal-sidebar {
        position: relative;
        top: auto;
    }

    .legal-navigation {
        max-height: none;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .legal-page-hero {
        min-height: 460px;
        padding: 130px 0 60px;
    }

    .legal-hero-content h1 {
        font-size: 2.55rem;
    }

    .legal-content-section {
        padding-top: 70px;
    }

    .legal-sidebar {
        padding: 20px;
    }

    .legal-navigation {
        grid-template-columns: 1fr;
    }

    .legal-introduction,
    .legal-section {
        padding: 25px;
    }

    .legal-introduction h2,
    .legal-section h2 {
        font-size: 1.35rem;
    }
}
/* ==========================================================================
   404 Page
   ========================================================================== */

.error-page {
    position: relative;
    min-height: 760px;
    padding: 150px 0 90px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 25% 40%,
            rgba(8, 191, 232, 0.16),
            transparent 30%
        ),
        radial-gradient(
            circle at 80% 35%,
            rgba(112, 72, 232, 0.17),
            transparent 30%
        ),
        linear-gradient(
            145deg,
            #07152d,
            #102750
        );
}

.error-page::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.14;
    background-image:
        linear-gradient(rgba(71, 211, 255, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(71, 211, 255, 0.12) 1px, transparent 1px);
    background-size: 70px 70px;
    mask-image: radial-gradient(circle, black, transparent 70%);
}

.error-page-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.error-page-content .section-label {
    justify-content: center;
}

.error-code {
    color: transparent;
    background: linear-gradient(135deg, #61e2ff, #5675ef, #a56eff);
    background-clip: text;
    -webkit-background-clip: text;
    font-family: "Manrope", sans-serif;
    font-size: clamp(8rem, 19vw, 15rem);
    font-weight: 800;
    line-height: 0.85;
    letter-spacing: -10px;
    filter: drop-shadow(0 20px 35px rgba(8, 191, 232, 0.14));
}

.error-page-content h1 {
    margin-top: 18px;
    font-size: clamp(2.2rem, 4vw, 3.6rem);
}

.error-page-content > p {
    max-width: 650px;
    margin: 14px auto 0;
    color: var(--text-soft);
    font-size: 1.05rem;
}

.error-page-actions {
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.error-page-decoration {
    position: absolute;
    border-radius: 50%;
    filter: blur(50px);
}

.error-decoration-one {
    top: 10%;
    right: -150px;
    width: 400px;
    height: 400px;
    background: rgba(8, 191, 232, 0.08);
}

.error-decoration-two {
    bottom: 5%;
    left: -150px;
    width: 400px;
    height: 400px;
    background: rgba(112, 72, 232, 0.09);
}
/* إحصائيات صفحة عن الشركة */

.company-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 50px;
}

.company-stat-card {
    padding: 40px 25px;
    border-radius: 24px;
    text-align: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: 0.3s;
}

.company-stat-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
}

.company-stat-card strong {
    display: block;
    margin-bottom: 15px;
    color: var(--primary-light);
    font-size: 3rem;
    font-weight: 800;
}

.company-stat-card span {
    color: var(--text-soft);
    font-size: 1rem;
    font-weight: 600;
}