* {            margin: 0;            padding: 0;            box-sizing: border-box;            font-family: 'IBM Plex Sans Arabic', sans-serif;        }        html {            scroll-behavior: smooth;        }        body {            background-color: #FFFFFF;            color: #081B3D;            overflow-x: hidden;        }        /* انتقالات هادئة وناعمة وليست سينمائية معقدة */        .reveal-section {            opacity: 1;            transform: none;        }        .reveal-section.active {            opacity: 1;            transform: translateY(0);        }        /* الهيدر وشريط التنقل */        header {            display: flex;            justify-content: space-between;            align-items: center;            padding: 20px 50px;            background-color: rgba(255, 255, 255, 0.95);            backdrop-filter: blur(10px);            border-bottom: 1px solid #f0f0f0;            position: sticky;            top: 0;            z-index: 1000;        }        .nav-left {            display: flex;            align-items: center;            gap: 15px;        }        .lang-btn {            background: none;            border: 1px solid #d1d5db;            padding: 8px 16px;            border-radius: 8px;            cursor: pointer;            font-weight: 500;            color: #081B3D;            transition: 0.2s ease;        }        .lang-btn:hover {            border-color: #081B3D;            background-color: #FAFAFB;        }        .primary-btn {            background-color: #2563EB;            color: #FFFFFF;            border: none;            padding: 10px 22px;            border-radius: 10px;            font-weight: 600;            cursor: pointer;            transition: background-color 0.2s ease, transform 0.2s ease;        }        .primary-btn:hover {            background-color: #1d4ed8;        }        .nav-links {            display: flex;            list-style: none;            gap: 25px;        }        .nav-links a {            text-decoration: none;            color: #081B3D;            font-weight: 500;            font-size: 15px;            transition: color 0.2s ease;        }        .nav-links a:hover {            color: #2563EB;        }        .logo img {            height: 35px;            display: block;        }        /* قسم الهيرو الرئيسي */        .hero-section {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    min-height: 80vh;
    text-align: center;
    background: #FFFFFF;
}        .hero-title {            font-size: 44px;            font-weight: 700;            color: #081B3D;            margin-bottom: 20px;            line-height: 1.3;        }        .hero-desc {            font-size: 16px;            color: #49566B;            margin-bottom: 40px;            font-weight: 400;        }        .dark-btn {            background-color: #081B3D;            color: #FFFFFF;            border: none;            padding: 12px 35px;            border-radius: 10px;            font-size: 16px;            font-weight: 600;            cursor: pointer;            box-shadow: 0 4px 12px rgba(8, 27, 61, 0.15);            transition: background-color 0.2s ease, transform 0.2s ease;        }        .dark-btn:hover {            background-color: #132d5e;            transform: translateY(-1px);        }        .wave-container {            position: relative;            padding: 40px 0;            text-align: center;            background: radial-gradient(circle, rgba(37,99,235,0.03) 0%, rgba(255,255,255,1) 70%);        }        .sub-text {            font-size: 14px;            color: #49566B;            margin-top: 30px;            display: flex;            justify-content: center;            gap: 15px;            align-items: center;            flex-wrap: wrap;        }        .dot {            width: 4px;            height: 4px;            background-color: #49566B;            border-radius: 50%;        }        /* --- سكشن نهج ندير (Section 2) --- */        .approach-section {            padding: 80px 50px;            background-color: #FFFFFF;            max-width: 1200px;            margin: 0 auto;        }        .approach-header {            text-align: right;            margin-bottom: 50px;        }        .approach-tag {            font-size: 14px;            color: #2563EB;            font-weight: 600;            display: inline-block;            margin-bottom: 15px;        }        .approach-title {            font-size: 36px;            font-weight: 700;            color: #081B3D;            margin-bottom: 20px;            line-height: 1.4;        }        .approach-desc {            font-size: 15px;            color: #49566B;            max-width: 700px;        }        .cards-container {            display: grid;            grid-template-columns: repeat(3, 1fr);            gap: 30px;        }        .card {            background-color: #FFFFFF;            border: 1px solid #E5E7EB;            border-radius: 12px;            padding: 40px 30px;            text-align: center;            transition: border-color 0.3s ease;        }        .card:hover {            border-color: #d1d5db;        }        .card-icon {            margin-bottom: 20px;            display: inline-flex;            justify-content: center;            align-items: center;        }        .card-title {            font-size: 20px;            font-weight: 700;            color: #081B3D;            margin-bottom: 15px;        }        .card-desc {            font-size: 14px;            color: #49566B;            line-height: 1.6;        }        /* --- سكشن منتجاتنا (Section 3) --- */        .products-section {            padding: 80px 50px;            background-color: #FAFAFB;            max-width: 1200px;            margin: 0 auto;        }        .products-header {            text-align: right;            margin-bottom: 50px;        }        .products-title {            font-size: 36px;            font-weight: 700;            color: #081B3D;        }        .products-grid {            display: flex;            flex-direction: column;            gap: 30px;        }        .product-card {            background-color: #FFFFFF;            border-radius: 16px;            padding: 40px;            box-shadow: 0 10px 30px rgba(8, 27, 61, 0.06);            display: flex;            align-items: center;            justify-content: space-between;            gap: 40px;            text-align: right;        }                        .product-info {            flex: 1;        }        .product-name {            font-size: 24px;            font-weight: bold;            color: #081B3D;            margin-bottom: 12px;        }        .product-desc {            font-size: 14px;            color: #52627E;            font-weight: 400;            margin-bottom: 20px;            line-height: 1.6;        }        .product-features {            list-style: none;            margin-bottom: 25px;            display: flex;            flex-direction: column;            gap: 8px;        }        .product-features li {            font-size: 14px;            font-weight: 500;            color: #1C4E99;            display: flex;            align-items: center;            gap: 8px;        }        .visit-btn {            background-color: #081B3D;            color: #FFFFFF;            border: none;            padding: 10px 25px;            border-radius: 8px;            font-size: 14px;            font-weight: 600;            cursor: pointer;            transition: background-color 0.2s ease;        }        .visit-btn:hover {            background-color: #132d5e;        }        .product-image-frame {
    background: #FAFAFB;
    width: 380px;
    height: 220px;
    overflow: hidden;
    border-radius: 12px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-image-frame img {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    padding: 20px;
    object-fit: contain;
    object-position: center;
    image-rendering: -webkit-optimize-contrast;
    display: block;
}        /* --- سكشن مشاريعنا (Section 4) --- */        .projects-section {            padding: 80px 50px;            background-color: #FFFFFF;            max-width: 1200px;            margin: 0 auto;        }        .projects-header {            text-align: right;            margin-bottom: 20px;        }        .projects-title {            font-size: 36px;            font-weight: 700;            color: #081B3D;        }        .projects-desc {            font-size: 15px;            color: #52627E;            text-align: right;            margin-bottom: 50px;        }        .projects-grid {            display: flex;            flex-direction: column;            gap: 30px;        }        .project-card {            background-color: #EFF5FF;            border-radius: 16px;            padding: 40px;            box-shadow: 0 4px 20px rgba(8, 27, 61, 0.04);            text-align: right;            display: flex;            flex-direction: column;            gap: 12px;        }                .project-category {            font-size: 14px;            font-weight: 600;            color: #2563EB;        }        .project-name {            font-size: 20px;            font-weight: 700;            color: #102347;        }        .project-text {            font-size: 14px;            color: #000000;            line-height: 1.6;        }        .project-link {            display: inline-flex;            align-items: center;            gap: 5px;            text-decoration: none;            font-size: 14px;            font-weight: 600;            color: #2563EB;            margin-top: 10px;            width: fit-content;            transition: opacity 0.2s ease;        }        .project-link:hover {            opacity: 0.8;        }        /* --- سكشن الإحصائيات (Section 5) --- */        .stats-section {            background-color: #FFFFFF;            padding: 60px 50px;            max-width: 1200px;            margin: 0 auto;            border-top: 1px solid #f0f0f0;            border-bottom: 1px solid #f0f0f0;        }        .stats-grid {            display: grid;            grid-template-columns: repeat(4, 1fr);            gap: 30px;            text-align: center;        }        .stat-item {            color: #081B3D;        }        .stat-number {            font-size: 38px;            font-weight: 700;            margin-bottom: 8px;            color: #081B3D;        }        .stat-label {            font-size: 16px;            font-weight: 400;            color: #49566B;        }        /* --- سكشن شركاء النجاح (Section 6) --- */        .partners-section {            padding: 80px 50px;            background-color: #FFFFFF;            max-width: 1200px;            margin: 0 auto;            text-align: right;        }        .partners-title {            font-size: 36px;            font-weight: 700;            color: #081B3D;            margin-bottom: 15px;        }        .partners-desc {            font-size: 15px;            color: #52627E;            margin-bottom: 50px;        }                                /* --- سكشن آراء عملائنا (Section 7) --- */        .testimonials-section {            padding: 80px 50px;            background-color: #FAFAFB;            max-width: 1200px;            margin: 0 auto;            text-align: right;        }        .testimonials-title {            font-size: 36px;            font-weight: 700;            color: #081B3D;            margin-bottom: 50px;        }        .testimonial-card {            background-color: #FFFFFF;            border-radius: 16px;            padding: 50px 40px;            box-shadow: 0 10px 30px rgba(8, 27, 61, 0.06);            max-width: 950px;            margin: 0 auto;            position: relative;        }        .quote-icon {            font-size: 36px;            color: #2563EB;            line-height: 1;            margin-bottom: 20px;            display: flex;            justify-content: flex-start;            font-weight: bold;        }        .testimonial-text {            font-size: 18px;            font-weight: 600;            color: #102347;            margin-bottom: 20px;            line-height: 1.6;        }        .testimonial-author {            font-size: 14px;            font-weight: 400;            color: #52627E;        }        /* --- سكشن كيف يمكننا مساعدتك؟ (Section 8) --- */        .contact-section {            padding: 80px 50px;            background-color: #FAFAFB;            max-width: 1200px;            margin: 0 auto;        }        .contact-container {            display: flex;            justify-content: space-between;            align-items: flex-start;            gap: 60px;        }        .contact-form-card {            flex: 1.1;            background-color: #FFFFFF;            border-radius: 16px;            padding: 40px;            box-shadow: 0 10px 30px rgba(8, 27, 61, 0.06);            text-align: right;        }        .contact-info {            flex: 1;            text-align: right;        }        .contact-main-title {            font-size: 36px;            font-weight: 700;            color: #081B3D;            margin-bottom: 15px;            line-height: 1.3;        }        .contact-sub-text {            font-size: 15px;            color: #52627E;            margin-bottom: 30px;            line-height: 1.6;        }        .contact-details {            display: flex;            flex-direction: column;            gap: 12px;        }        .contact-details a, .contact-details span {            font-size: 15px;            font-weight: 500;            color: #1C4E99;            text-decoration: none;            transition: opacity 0.2s ease;        }        .contact-details a:hover {            opacity: 0.8;        }        .form-group {            margin-bottom: 20px;        }        .form-input {            width: 100%;            background-color: #FFFFFF;            border: 1px solid #E5E7EB;            border-radius: 8px;            padding: 12px 16px;            font-size: 14px;            color: #102347;            outline: none;            transition: border-color 0.2s ease;        }        .form-input::placeholder {            color: #9CA3AF;        }        .form-input:focus {            border-color: #2563EB;        }        textarea.form-input {            resize: vertical;            min-height: 100px;        }        .submit-btn {            width: 100%;            background: linear-gradient(135deg, #2563EB, #7C3AED);            color: #FFFFFF;            border: none;            padding: 14px;            border-radius: 8px;            font-size: 15px;            font-weight: 600;            cursor: pointer;            transition: opacity 0.2s ease;        }        .submit-btn:hover {            opacity: 0.9;        }        /* --- سكشن الفوتر (Footer) --- */        footer {            background-color: #FFFFFF;            padding: 60px 50px 30px 50px;            max-width: 1200px;            margin: 0 auto;            border-top: 1px solid #E5E7EB;        }        .footer-container {            display: flex;            justify-content: space-between;            align-items: flex-start;            gap: 40px;            margin-bottom: 40px;            text-align: right;        }        .footer-right {            display: flex;            gap: 80px;        }        .footer-column {            display: flex;            flex-direction: column;            gap: 15px;        }        .footer-column-title {            font-size: 16px;            font-weight: 700;            color: #243653;        }        .footer-links {            list-style: none;            display: flex;            flex-direction: column;            gap: 12px;        }        .footer-links a {            text-decoration: none;            font-size: 14px;            font-weight: 400;            color: #243653;            transition: color 0.2s ease;        }        .footer-links a:hover {            color: #2563EB;        }        .footer-left {            display: flex;            flex-direction: column;            gap: 12px;            max-width: 320px;            text-align: right;        }        .footer-logo img {            height: 35px;            display: block;        }        .footer-desc {            font-size: 14px;            color: #52627E;            line-height: 1.6;        }        .footer-vision {
    display: block;
    align-self: flex-start;
    height: 60px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}        .footer-bottom {            display: flex;            justify-content: space-between;            align-items: center;            padding-top: 25px;            border-top: 1px solid #F0F2F5;            font-size: 13px;            color: #53637B;        }        .footer-bottom-links {            display: flex;            gap: 20px;            list-style: none;        }        .footer-bottom-links a {            text-decoration: none;            color: #53637B;            transition: color 0.2s ease;        }        .footer-bottom-links a:hover {            color: #243653;        }        @media (max-width: 900px) {            .cards-container, .stats-grid, .contact-container, .footer-container, .footer-right {                grid-template-columns: 1fr;                flex-direction: column;                gap: 30px;            }            .product-card, .product-card.reverse {                flex-direction: column;                align-items: stretch;            }            .product-image-frame {                width: 100%;                height: 180px;            }                        header {                padding: 20px 20px;            }            .approach-section, .products-section, .projects-section, .stats-section, .partners-section, .testimonials-section, .contact-section, footer {                padding: 40px 20px;            }            .footer-bottom {                flex-direction: column;                gap: 15px;                text-align: center;            }        }



/* Identical groups make the half-track translation an exact seamless loop. */
.partners-logos {
    width: 100%;
    overflow: hidden;
    /* Anchor the oversized track at the left edge even inside the RTL page. */
    direction: ltr;
    background: #FFFFFF;
    padding-block: 16px;
}
.partners-logos:focus-visible {
    outline: 2px solid #2563EB;
    outline-offset: 4px;
    border-radius: 8px;
}
.partners-marquee-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    width: max-content;
    direction: ltr;
    animation: partners-scroll 64s linear infinite;
}
.partners-marquee-group {
    display: flex;
    flex-wrap: nowrap;
    flex: 0 0 auto;
    width: max-content;
    align-items: center;
    gap: 50px;
    /* Two half-gaps at each seam equal one regular logo gap. */
    padding-inline: 25px;
}
.partner-logo {
    flex: 0 0 160px;
    width: 160px;
    min-width: 120px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.partner-logo img {
    display: block;
    flex: 0 0 auto;
    width: auto;
    height: auto;
    max-width: 140px;
    max-height: 40px;
    object-fit: contain;
    transform: scale(var(--logo-scale, 1))
        translate(var(--logo-x, 0%), var(--logo-y, 0%));
    opacity: 0.8;
    transition: opacity 0.2s ease;
}
.partner-logo:hover img { opacity: 1; }
.partners-logos:hover .partners-marquee-track,
.partners-logos:focus-within .partners-marquee-track {
    animation-play-state: paused;
}
@keyframes partners-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
@media (max-width: 900px) {
    .partners-marquee-group { gap: 32px; padding-inline: 16px; }
}
@media (prefers-reduced-motion: reduce) {
    .partners-logos { overflow-x: auto; }
    .partners-marquee-track { animation: none; }
    .partners-marquee-group[aria-hidden="true"],
    .partner-logo[aria-hidden="true"] { display: none; }
    .partner-logo img { transition: none; }
}

/* Compensate for transparent PNG padding without changing the source images. */
.partner-logo img[src="partner-1.png"] { --logo-scale: 1.00000; --logo-x: 0.00000%; --logo-y: 0.00000%; }
.partner-logo img[src="partner-2.png"] { --logo-scale: 1.00000; --logo-x: 0.00000%; --logo-y: 0.00000%; }
.partner-logo img[src="partner-3.png"] { --logo-scale: 3.23202; --logo-x: 0.00000%; --logo-y: -0.56533%; }
.partner-logo img[src="partner-4.png"] { --logo-scale: 3.58042; --logo-x: 0.00000%; --logo-y: 0.00000%; }
.partner-logo img[src="partner-5.png"] { --logo-scale: 1.88860; --logo-x: -1.26953%; --logo-y: -2.40055%; }
.partner-logo img[src="partner-6.png"] { --logo-scale: 1.00000; --logo-x: 0.00000%; --logo-y: 0.00000%; }
.partner-logo img[src="partner-7.png"] { --logo-scale: 2.21918; --logo-x: 0.69444%; --logo-y: 2.31481%; }
.partner-logo img[src="partner-8.png"] { --logo-scale: 4.37073; --logo-x: 0.00000%; --logo-y: -0.04883%; }

/* Keep English copy aligned with the LTR layout; numbers remain readable in Arabic. */
html[dir="ltr"] :is(.approach-header,.products-header,.product-card,.projects-header,.projects-desc,.project-card,.partners-section,.clients-section,.testimonials-section,.contact-form-card,.contact-info,.footer-container,.footer-left) { text-align: left; }
html[dir="ltr"] #contact-form .form-input { text-align: left; }
html[dir="rtl"] #contact-form input[name="phone"] { direction: ltr; text-align: right; unicode-bidi: plaintext; }
html[dir="rtl"] #contact-form input[name="phone"]::placeholder { text-align: right; }

/* A separate client grid, distinct from the animated partner marquee. */
.clients-section { max-width: 1200px; margin: 0 auto; padding: 80px 50px; background: #fff; text-align: start; scroll-margin-top: var(--header-offset, 100px); }
.clients-title { color: #081b3d; font-size: 36px; font-weight: 700; margin-bottom: 32px; }
.clients-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.client-card { min-width: 0; height: 100px; padding: 12px; display: flex; align-items: center; justify-content: center; overflow: hidden; background: #fff; border: 1px solid #e1e7f2; border-radius: 12px; box-shadow: 0 2px 8px #1e293b0a; }
.client-card img { display: block; width: auto; height: auto; max-width: min(100%, 120px); max-height: 64px; object-fit: contain; }
@media (max-width: 900px) { .clients-section { padding: 40px 20px; } .clients-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 600px) { .clients-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }

/* Compact footer spacing for desktop and mobile, in both reading directions. */
footer { padding-top: 36px; padding-bottom: 20px; }
.footer-container { margin-bottom: 24px; }
.footer-links { gap: 9px; }
.footer-left { gap: 9px; }
.footer-bottom { padding-top: 16px; }
@media (max-width: 900px) {
  footer { padding-top: 28px; padding-bottom: 18px; }
  .footer-container { gap: 22px; margin-bottom: 20px; }
  .footer-right { gap: 20px; }
  .footer-bottom { padding-top: 14px; gap: 10px; }
}
/* Text and cards stay in normal flow while their entrance reverses offscreen. */
.approach-armed .approach-header > :is(.approach-tag, .approach-title, .approach-desc) { opacity: 0; transform: translateY(8px); transition: opacity .9s cubic-bezier(.25,.46,.45,.94), transform .9s cubic-bezier(.25,.46,.45,.94); }
.approach-armed .cards-container > .card { opacity: 0; transform: scale(.88); transition: opacity .9s cubic-bezier(.25,.46,.45,.94), transform .9s cubic-bezier(.25,.46,.45,.94); }
.approach-armed .approach-title { transition-delay: .16s; }
.approach-armed .approach-desc { transition-delay: .32s; }
.approach-armed .cards-container > .card:nth-child(1) { transition-delay: .12s; }
.approach-armed .cards-container > .card:nth-child(2) { transition-delay: .24s; }
.approach-armed .cards-container > .card:nth-child(3) { transition-delay: .36s; }
.approach-entrance .approach-header > :is(.approach-tag, .approach-title, .approach-desc),
.approach-entrance .cards-container > .card { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .approach-armed .approach-header > :is(.approach-tag, .approach-title, .approach-desc),
  .approach-armed .cards-container > .card { opacity: 1; transform: none; transition: none; }
}
/* The product track is enhanced only when its scroll animation can fit. */
.products-section.is-horizontal .products-viewport { overflow-x: clip; overflow-y: visible; }
.products-section.is-horizontal .products-grid { flex-direction: row; align-items: stretch; }
.products-section.is-horizontal .product-card { flex: 0 0 100%; min-width: 0; box-sizing: border-box; }
.products-section .product-card[hidden] { display: none !important; }
.products-section.is-horizontal.is-height-constrained .product-card { max-height: var(--products-available-height); overflow-y: auto; align-items: flex-start; }
/* Let longer English copy fit naturally without a nested card scroller. */
html[lang|="en"] .products-section.is-horizontal.is-height-constrained { padding-block: 32px; }
html[lang|="en"] .products-section.is-horizontal.is-height-constrained .products-header { margin-bottom: 24px; }
html[lang|="en"] .products-section.is-horizontal.is-height-constrained .product-card { max-height: none; overflow: visible; align-items: center; padding: 24px; gap: 24px; }
html[lang|="en"] .products-section.is-horizontal.is-height-constrained .product-name { margin-bottom: 8px; }
html[lang|="en"] .products-section.is-horizontal.is-height-constrained .product-desc { margin-bottom: 12px; line-height: 1.45; }
html[lang|="en"] .products-section.is-horizontal.is-height-constrained .product-features { gap: 4px; margin-bottom: 14px; }
html[lang|="en"] .products-section.is-horizontal.is-height-constrained .product-image-frame { height: min(200px, 26vh); }

/* Project rows retain their original content and links in normal document order. */
.projects-grid { gap: 0; border-top: 1px solid #dce4ef; }
.projects-grid .project-card[hidden] { display: none !important; }
.projects-grid .project-card {
    display: block; padding: 0; gap: 0; border-radius: 0;
    border-bottom: 1px solid #dce4ef; background: transparent; box-shadow: none;
}
.project-row-toggle {
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
    width: 100%; padding: 24px 0; border: 0; background: transparent;
    text-align: start; color: inherit; cursor: pointer; font: inherit;
}
.project-row-heading { display: grid; gap: 8px; }
.project-row-content { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .42s ease; }
.projects-grid.is-measuring .project-row-content { transition: none; }
.project-row-content-inner { min-height: 0; overflow: hidden; opacity: 0; transform: translateY(6px); transition: opacity .35s ease, transform .42s ease; }
.project-card.is-open .project-row-content { grid-template-rows: 1fr; }
.project-card.is-open .project-row-content-inner { opacity: 1; transform: none; }
.project-row-content-inner > .project-link { margin-bottom: 25px; }
.project-row-toggle:focus-visible { outline: 2px solid #2563eb; outline-offset: 4px; }
html[data-theme="dark"] .projects-section .projects-grid .project-card { background: transparent !important; border-color: #35353c !important; box-shadow: none !important; }
html[data-theme="dark"] .projects-grid { border-color: #35353c; }
@media (prefers-reduced-motion: reduce) { .project-row-content, .project-row-content-inner { transition: none; } }

/* Projects typography, scoped to both the original and enhanced rows. */
.projects-section .projects-title { font-size: clamp(28px, 3.6vw, 44px); color: #081b3d; }
.projects-section .projects-desc { font-size: 16px; line-height: 1.7; color: #52627e; }
.projects-section .project-category { font-size: 14px; color: #1d4f9c; }
.projects-section .project-name { font-size: clamp(20px, 2.2vw, 30px); font-weight: 600; line-height: 1.3; color: #102347; }
.projects-section .project-card:is(.is-open, :hover) .project-name { color: #2059a8; }
.projects-section .project-text { font-size: 16px; line-height: 1.7; color: #475569; }
.projects-section .project-link { font-size: 15px; color: #1d4f9c; }
html[data-theme="dark"] .projects-section .projects-desc { color: #b8beca !important; }
html[data-theme="dark"] .projects-section .project-category,
html[data-theme="dark"] .projects-section .project-link { color: #a6c6ff; }
html[data-theme="dark"] .projects-section .project-text { color: #c4c4cc; }
html[data-theme="dark"] .projects-section .project-card:is(.is-open, :hover) .project-name { color: #a6c6ff !important; }

/* Match the contact button only while a project is expanded. */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .projects-section .project-name { -webkit-text-fill-color: currentColor; transition: -webkit-text-fill-color .25s ease; }
  .projects-section .project-card.is-open .project-name {
    background-image: linear-gradient(135deg, #2563eb, #7c3aed);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}
@media (prefers-reduced-motion: reduce) { .projects-section .project-name { transition: none; } }

/* Let the testimonial read as part of the section instead of a boxed card. */
.testimonials-section .testimonial-card { background: transparent; border: 0; border-radius: 0; box-shadow: none; max-width: none; margin: 0; padding: 0; }
.testimonials-section .quote-icon { font-size: clamp(52px, 6vw, 72px); font-weight: 700; }
.testimonials-section .testimonial-text { font-size: clamp(22px, 2.4vw, 32px); }
html[data-theme="dark"] .testimonials-section .testimonial-card { background: transparent !important; border: 0; box-shadow: none !important; }

/* Keep section surfaces on the page canvas while retaining individual cards. */
:is(.products-section, .stats-section, .partners-section, .testimonials-section, .contact-section, .partners-logos) { background: transparent; }
.stats-section { border-top: 0; border-bottom: 0; }

/* Floating contact labels retain the original form fields and submission flow. */
#contact-form .form-group { position: relative; margin-bottom: 22px; }
#contact-form .form-input {
  display: block; width: 100%; background: transparent; border: 0;
  border-bottom: 1px solid #cbd5e1; border-radius: 0; box-shadow: none;
  padding: 26px 0 10px; color: #102347; outline: none;
}
#contact-form .form-input::placeholder { color: transparent; }
#contact-form .form-group > label {
  position: absolute; inset-inline-start: 0; top: 25px; color: #52627e;
  pointer-events: none; transform-origin: right center;
  transition: transform .35s cubic-bezier(.22,1,.36,1), color .3s ease;
}
html[dir="ltr"] #contact-form .form-group > label { transform-origin: left center; }
#contact-form .form-input:focus + label,
#contact-form .form-input:not(:placeholder-shown) + label,
#contact-form .form-input:-webkit-autofill + label { transform: translateY(-19px) scale(.82); }
#contact-form .form-input:focus + label { color: #6d28d9; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  #contact-form .form-input:focus + label { background-image: linear-gradient(135deg,#2563eb,#7c3aed); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
}
#contact-form .form-group::after {
  content: ''; position: absolute; inset-inline: 0; bottom: 0; height: 2px;
  background: linear-gradient(135deg,#2563eb,#7c3aed); transform: scaleX(0);
  transition: transform .38s cubic-bezier(.22,1,.36,1); pointer-events: none;
}
#contact-form .form-group:focus-within::after { transform: scaleX(1); }
#contact-form .form-input:focus-visible { outline: none; }
html[data-theme="dark"] #contact-form .form-input { background: transparent !important; border: 0 !important; border-bottom: 1px solid #52525b !important; border-radius: 0; box-shadow: none; color: #fafafa !important; }
html[data-theme="dark"] #contact-form .form-input::placeholder { color: transparent !important; }
html[data-theme="dark"] #contact-form .form-input:focus { outline: none !important; }
html[data-theme="dark"] #contact-form .form-group > label { color: #c4c4cc; }
@media (prefers-reduced-motion: reduce) { #contact-form .form-group > label, #contact-form .form-group::after { transition: none; } }

/* Keep navigation and content usable across narrow and wide viewports. */
.nadeer-menu-toggle{display:none;align-items:center;justify-content:center;width:40px;height:40px;border:1px solid #d1d5db;border-radius:8px;background:transparent;color:#081b3d;font:inherit;font-size:20px;cursor:pointer}
html[data-theme="dark"] .nadeer-menu-toggle{color:#fafafa;border-color:#52525b;background:#18181b}
header,.nav-left,.contact-container,.contact-form-card,.contact-info,.footer-container,.footer-right,.footer-left,.product-info,.project-card,.card{min-width:0}
section :is(h1,h2,h3,h4,p,li,a),footer :is(p,a){overflow-wrap:anywhere}
img,video{max-width:100%}
@media(max-width:1023px){
 header{padding:14px 20px;gap:12px}.nav-left{gap:8px}.nadeer-menu-toggle{display:inline-flex;flex:none}
 header.nadeer-menu-ready .nav-links{display:none;position:absolute;top:100%;inset-inline:0;max-height:calc(100dvh - 80px);overflow-y:auto;flex-direction:column;gap:0;padding:8px 20px 16px;background:#fff;border-bottom:1px solid #e5e7eb;box-shadow:0 12px 20px #0f172a14}
 header:not(.nadeer-menu-ready){flex-wrap:wrap}header:not(.nadeer-menu-ready) .nav-links{order:3;width:100%;flex-wrap:wrap;gap:10px 16px}header:not(.nadeer-menu-ready) .nadeer-menu-toggle{display:none}
 header.nadeer-menu-open .nav-links{display:flex}header .nav-links a{display:block;padding:10px 0}
 html[data-theme="dark"] header .nav-links{background:#09090b;border-color:#303039}
}
@media(max-width:639px){
 #hero .hero-title{font-size:clamp(29px,8vw,40px);overflow-wrap:anywhere}#hero .hero-desc{font-size:15px}
 .approach-title,.products-title,.projects-title,.partners-title,.testimonials-title,.contact-main-title{font-size:clamp(27px,7vw,36px)}
 .product-card,.testimonial-card,.contact-form-card{padding:24px 20px}.contact-form-card,.contact-info{width:100%}
 .footer-bottom-links{flex-wrap:wrap;justify-content:center}.sub-text{gap:8px}
}

.skip-link {
    position: fixed;
    inset-block-start: 1rem;
    inset-inline-start: 1rem;
    z-index: 10000;
    padding: 0.625rem 1rem;
    border-radius: 0.375rem;
    background: #17233a;
    color: #fff;
}

.skip-link:not(:focus) {
    clip-path: inset(50%);
}

html:lang(ar) .skip-link [lang="en"],
html:lang(en) .skip-link [lang="ar"] {
    display: none;
}
