@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Tajawal:wght@300;400;500;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&family=Tajawal:wght@300;400;500;700;800;900&display=swap');


:root {

    --font-ar: 'Tajawal', sans-serif;
    --font-en: 'Cairo', sans-serif;
    --primary-blue: #0066CC;
    --primary-green: #00AA55;
    --dark-blue: #004080;
    --light-blue: #E6F2FF;
    --dark-green: #008844;
    --light-green: #E6F9F0;
    --text-dark: #2C3E50;
    --text-light: #7d7d7d;
    --white: #FFFFFF;
    --gray-100: #F8F9FA;
    --gray-200: #E9ECEF;
    --shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
    /* Approximate multi-color gradient inspired by ONE ERP logo */
    --logo-gradient: linear-gradient(
        90deg,
        #0052CC 0%,
        #0075FF 16%,
        #00B5FF 32%,
        #00C9A7 48%,
        #7CD321 64%,
        #FFC928 80%,
        #FF7A45 100%
    );
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Tajawal', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}
.container {
    max-width: 1180px !important;
}


body {
    font-family: var(--font-en);
    color: var(--text-dark);
    line-height: 1.7;
}

/* Arabic content */
html[lang="ar"],
body.rtl {
    font-family: var(--font-ar);
    direction: rtl;
    text-align: right;
    letter-spacing: 0;
}

body.rtl .address_en{
    display: none;
}
body.rtl .address_ar{
    display: block;
}

.address_ar{
    display: none;
}
.fixed-top {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
}

.oneerp-stripe {
    height: 3px;
    background-image: var(--logo-gradient);
    background-size: 200% 100%;
    animation: oneerp-stripe-move 4s linear infinite;
}

@keyframes oneerp-stripe-move {
    0%   { background-position: 0% 0; }
    100% { background-position: 200% 0; }
}

.navbar {
    padding: 0.6rem 0.25rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.navbar.scrolled {
    padding: 0.4rem 0.25rem;
    box-shadow: var(--shadow);
    background: rgba(255, 255, 255, 0.98);
}
.navbar-brand {
    height: 20px;
}
.navbar-brand img {
    max-width: 100%;
    max-height: 90%;
    padding-left: 10px;
}

.brand-name {
    line-height: 15px;
    padding-top: 4px;
    margin-left: -18px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.rtl .navbar-nav {
    flex-direction: row-reverse;
}

body.rtl .ms-auto {
    margin-right: auto !important;
    margin-left: 0 !important;
}

body.rtl .ms-lg-2 {
    margin-right: 0.5rem !important;
    margin-left: 0 !important;
}

body.rtl .ms-lg-3 {
    margin-right: 1rem !important;
    margin-left: 0 !important;
}
body.rtl #navbarNav{
    direction: ltr !important;
}

.nav-link {
    position: relative;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1.08rem;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 0.25s ease, transform 0.25s ease;
}

.nav-link i {
    font-size: 0.95rem;
    opacity: 0.8;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0.9rem;
    right: 0.9rem;
    bottom: 0.1rem;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-green));
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--primary-blue);
    transform: translateY(-1px);
}

.nav-link:hover i,
.nav-link:focus i {
    opacity: 1;
    transform: translateY(-1px);
}

.nav-link:hover::after,
.nav-link:focus::after {
    transform: scaleX(1);
}

.nav-link.active {
    color: var(--primary-blue);
    font-weight: 600;
}

.nav-link.active::after {
    transform: scaleX(1);
}

body.rtl .nav-link {
    flex-direction: row-reverse;
}

.btn-primary {
    background: var(--primary-green);
    border: none;
    padding: 0.6rem 1.75rem;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 102, 204, 0.25);
    text-transform: uppercase;
    font-size: 1rem;

}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.35);
    background: var(--dark-blue);
}

.btn-contact {
    background: var(--primary-green);
    box-shadow: 0 3px 10px rgba(0, 170, 85, 0.25);
}

.btn-contact:hover {
    background: var(--dark-green);
    box-shadow: 0 5px 15px rgba(0, 170, 85, 0.35);
}

.lang-switch {
    border-radius: 25px;
    padding: 0.5rem 1.1rem;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.lang-switch i {
    font-size: 1rem;
    transition: transform 0.4s ease, color 0.25s ease;
}

.lang-switch #langText {
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.lang-switch:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    color: var(--white);
}

.lang-switch:hover i {
    transform: rotate(15deg) scale(1.1);
}

.banner-section {
    position: relative;
    min-height: 520px;
    margin-top: 0;
    overflow: hidden;
    background: radial-gradient(circle at top left, rgba(0, 102, 204, 0.12), transparent 55%),
                radial-gradient(circle at bottom right, rgba(0, 170, 85, 0.12), transparent 55%),
                #F5F7FB;
}

.banner-slider {
    position: relative;
    height: 520px;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
}

.banner-slide.active {
    opacity: 1;
}

.banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #F7FAFF 0%, #F5F9FF 40%, #F4FFFA 100%);
}

.banner-content {
    position: relative;
    z-index: 2;
    color: #000000;
}

.banner-content h1 {
    margin-bottom: 2rem;
}

.banner-image {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.hero-screens {
    position: relative;
    width: 100%;
    height: 380px;
    overflow: hidden;
    border-radius: 18px;
}
.animate-fade-in {
    animation: fadeIn 5s ease-in;
}

.animate-slide-in {
    animation: slideIn 5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.banner-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.banner-prev,
.banner-next {
    background: rgba(255, 255, 255, 0.3);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.banner-prev:hover,
.banner-next:hover {
    background: rgba(255, 255, 255, 0.5);
}

.banner-dots {
    display: flex;
    gap: 0.5rem;
}

.banner-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.banner-dot.active {
    background: var(--white);
    width: 30px;
    border-radius: 6px;
}

section {
    padding: 5rem 0;
}

.section-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-green));
    margin: 0 auto 2rem;
    border-radius: 2px;
}

.about-content p {
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.8;
}

.why-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
}

.why-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.why-card i {
    font-size: 3rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.why-card h4 {
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 1rem;
}

.why-card p {
    color: var(--text-light);
    line-height: 1.8;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.client-logo {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-logo:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.client-logo img {
    max-width: 150px;
    height: 80px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.client-logo:hover img {
    filter: grayscale(0%);
}

/* =========================
   Alternative Banners (Hollat & Daftra style)
   ========================= */

.alt-banner {
    border-top: 1px solid rgba(148, 163, 184, 0.25);
    background: linear-gradient(135deg, #F8FAFF 0%, #F5F9FF 50%, #F7FFFB 100%);
    background-size: 160% 160%;
    animation: alt-banner-gradient 18s ease-in-out infinite;
}

@keyframes alt-banner-gradient {
    0% {
        background-position: 0% 0%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 0%;
    }
}

.alt-banner .alt-banner-title {
    font-weight: 800;
    font-size: clamp(1.5rem, 2vw, 2.1rem);
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.alt-banner .alt-banner-subtitle {
    color: var(--text-light);
    font-size: 1.0rem;
    max-width: 630px;
}

.alt-banner-hollat {
    position: relative;
    margin-top: 65px;
}

.alt-banner-hollat::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(0, 102, 204, 0.12), transparent 55%);
    opacity: 0.8;
    pointer-events: none;
}

.alt-banner-hollat .container {
    position: relative;
    z-index: 1;
}

.alt-banner-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.25rem;
}

.alt-banner-pills .pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    background: rgba(226, 232, 240, 0.7);
    color: #1E293B;
    font-size: 0.88rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.alt-banner-pills .pill i {
    color: var(--primary-blue);
}

.alt-banner-pills .pill:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    background: #FFFFFF;
}

.case-metrics span {
    background: #eef2ff;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;

    opacity: 0;
    transform: translateY(12px) scale(0.95);
}

/* Animate ONLY when case becomes active */
.case-item.active .case-metrics span {
    animation: metricFadeUp 0.45s ease forwards;
    animation-delay: var(--delay);
}

@keyframes metricFadeUp {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.alt-metric-card {
    #background: #ffffff;
    #border-radius: 18px;
    box-shadow: var(--shadow-lg);
    #padding: 1.5rem 1.75rem;
    #border: 1px solid rgba(148, 163, 184, 0.35);
    animation: alt-metric-float 7s ease-in-out infinite;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.alt-metric-card .metric-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.alt-metric-card .metric-status {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.alt-metric-card .metric-status i {
    font-size: 0.6rem;
    color: #22C55E;
}

.metric-item {
    background: #F9FAFB;
    border-radius: 12px;
    padding: 0.75rem 0.85rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.metric-item .metric-title {
    font-size: 0.8rem;
    color: var(--text-light);
}

.metric-item .metric-value {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
}

.metric-item .metric-trend {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    margin-top: 0.2rem;
}

.metric-item .metric-trend.positive {
    color: #16A34A;
}

.metric-item .metric-trend.neutral {
    color: #6B7280;
}

.alt-screens-row {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.alt-screen-thumb {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.45);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.18);
    transform-origin: center;
    animation: alt-thumb-pulse 6s ease-in-out infinite;
}

.alt-screen-thumb img {
    width: 100%;
    height: 64px;
    object-fit: cover;
    display: block;
}

.alt-screen-thumb:nth-child(2) {
    animation-delay: 0.8s;
}

.alt-screen-thumb:nth-child(3) {
    animation-delay: 1.6s;
}

@keyframes alt-thumb-pulse {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-4px) scale(1.01);
    }
}

@keyframes alt-metric-float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-6px);
    }
}

.alt-metric-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 55px rgba(15, 23, 42, 0.28);
}

.metric-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    background-color: #FFFFFF;
}

.alt-banner-daftra {
    background: radial-gradient(circle at top right, rgba(0, 102, 204, 0.08), transparent 55%), #FFFFFF;
}

.alt-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.2rem 0.9rem;
    border-radius: 999px;
    background: #EEF2FF;
    color: #4F46E5;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    box-shadow: 0 0 0 1px rgba(79, 70, 229, 0.25);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.alt-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.25rem;
}

.alt-tags span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    font-size: 0.82rem;
    color: #0F172A;
    background-color: #FFFFFF;
}

.alt-tags span i {
    color: var(--primary-blue);
}

.alt-template-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.template-card {
    display: flex;
    gap: 0.65rem;
    padding: 0.75rem 0.9rem;
    border-radius: 14px;
    background: #F9FAFB;
    border: 1px solid rgba(148, 163, 184, 0.4);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.template-icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.template-icon.retail { background: linear-gradient(135deg, #6366F1, #4F46E5); }
.template-icon.services { background: linear-gradient(135deg, #0EA5E9, #0369A1); }
.template-icon.projects { background: linear-gradient(135deg, #22C55E, #15803D); }
.template-icon.clinics { background: linear-gradient(135deg, #EC4899, #BE185D); }

.template-body h5 {
    font-size: 0.96rem;
    font-weight: 700;
    margin-bottom: 0.15rem;
}

.template-body p {
    font-size: 0.8rem;
    color: var(--text-light);
    margin: 0;
}

.template-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    background-color: #FFFFFF;
    border-color: rgba(59, 130, 246, 0.6);
}

.template-icon::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 0%, rgba(255, 255, 255, 0.55), transparent 55%);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.template-card:hover .template-icon::after {
    opacity: 0.5;
}

.alt-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(79, 70, 229, 0.35);
    background-color: #E0E7FF;
}

.alt-dashboard-wrap {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(148, 163, 184, 0.45);
    margin-bottom: 1rem;
}

.alt-dashboard-image {
    width: 100%;
    height: 210px;
    object-fit: cover;
    display: block;
    transform-origin: center;
    animation: alt-dashboard-float 9s ease-in-out infinite;
}

@keyframes alt-dashboard-float {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-6px) scale(1.01);
    }
}

/* Icon micro-animations */
.alt-banner-pills .pill i {
    animation: alt-icon-bob 4s ease-in-out infinite;
}

.template-icon i {
    animation: alt-icon-bob 5s ease-in-out infinite;
}

@keyframes alt-icon-bob {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

.clients-more {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    font-style: italic;
    margin-top: 1rem;
}

.case-studies-wrapper {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
        flex-direction: row;

}

.case-tab {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}


.case-tab.active {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
    color: var(--white);
    border-color: transparent;
}
.case-tab:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}

.case-tab img {
    height: 28px;
    max-width: 80px;
    object-fit: contain;
}
.case-tab .case-name {
    display: none;
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
}
.case-tab.active img {
    display: none;
}

.case-tab.active .case-name {
    display: inline-block;
}
.case-content {
    flex: 1;
}

/* LTR */
.case-item {
    display: none;
}

.case-item.active {
    display: block;
    animation: fadeUp 0.5s ease;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.case-item h3 {
    color: var(--primary-blue);
    margin-bottom: 0px !important;
}
.case-text h5 {
    margin-top: 1.5rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    gap: 8px;
}

.case-text h5::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary-green);
}
.case-text p {
    background: #f9fafb;
    padding: 14px 16px;
    border-radius: 12px;
    border-left: 4px solid var(--primary-blue);
    margin-bottom: 1rem;
}
.case-tabs {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 12px 0;
    overflow: visible;
        width: 260px;
    flex-shrink: 0;

}


.case-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

/* Text */
.case-text {
    flex: 1;
}
.case-company{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
/* Logo */
.case-metrics {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 1.2rem;
}
.case-logo{
    text-align: end;
    #max-width: 25%;
    margin-inline-end: 48px;
}
.case-logo img {
    width: 100%;
    max-height: 35px;
}
/* Show logo only for active case */
.case-item.active .case-logo img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.5);
}
.case-item.active .case-logo {
    display: block;
}


@media (max-width: 768px) {
    .case-inner {
        flex-direction: column;
        text-align: center;
    }

}
.case-item.active {
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.testimonials-slider {
    overflow: hidden;
    position: relative;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-card {
    flex: 0 0 100%;
    padding: 2rem;
}

@media (min-width: 768px) {
    .testimonial-card {
        flex: 0 0 50%;
    }
}

@media (min-width: 1200px) {
    .testimonial-card {
        flex: 0 0 33.333%;
    }
}

.testimonial-inner {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    height: 100%;
}

.testimonial-inner .photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
    display: block;
    border: 4px solid var(--light-blue);
}

.testimonial-inner .message {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.testimonial-inner .name {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.testimonial-inner .position {
    color: var(--primary-blue);
    font-size: 0.9rem;
}

.bg-gradient {
    background: linear-gradient(135deg, var(--light-blue), var(--light-green));
}

.solutions-wrapper {
    position: relative;
}

.solutions-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.solutions-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.solutions-controls {
    display: flex;
    gap: 0.5rem;
}

.solutions-control {
    background: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 6px;
    color: var(--primary-blue);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.solutions-control:hover {
    background: var(--primary-blue);
    color: var(--white);
}

.solutions-slider {
    overflow: hidden;
    padding: 1rem 0;
}

.solutions-track {
    display: flex;
    gap: 1rem;
    transition: transform 0.5s ease;
}
.phone-line {
    direction: ltr !important;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
    #font-size: 0.95rem;
    color: var(--text-light);
}
.phone-line img {
    width: 22px;
    height: auto;
    border-radius: 3px;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.08);
}

.phone-line span {
    white-space: nowrap;
}
body.rtl .phone-line {
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.solution-badge {
    flex-shrink: 0;
    background: var(--white);
    padding: 1.5rem 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 250px;
}

.solution-badge:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    color: var(--primary-blue);
}

.solution-badge i {
    font-size: 2rem;
    background: var(--primary-blue);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.solution-badge span {
    font-weight: 600;
}

.feature-card {
    background: var(--white);
    padding: 2.5rem 2rem .5rem 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
    min-height: 350px;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-card i {
    font-size: 3.5rem;
    background: var(--logo-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;    margin-bottom: 1.5rem;
}

.feature-card h4 {
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 1rem;
}


.pricing-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.popular {
    border: 3px solid var(--primary-blue);
}

.pricing-card.popular::before {
    content: 'Most Popular';
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--primary-green);
    color: var(--white);
    padding: 0.5rem 3rem;
    transform: rotate(45deg);
    font-size: 0.85rem;
    font-weight: 600;
}

body.rtl .pricing-card.popular::before {
    content: 'الأكثر شعبية';
    right: auto;
    left: -35px;
    transform: rotate(-45deg);
}

.pricing-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.pricing-card .price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.pricing-card .period {
    color: var(--text-light);
    margin-bottom: 2rem;
    display: block;
}

.pricing-card ul {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-card ul li {
    padding: 0.75rem 0;
    color: var(--text-light);
    border-bottom: 1px solid var(--gray-200);
}

.pricing-card ul li:last-child {
    border-bottom: none;
}

.pricing-card ul li i {
    color: var(--primary-green);
    margin-right: 0.5rem;
}

body.rtl .pricing-card ul li i {
    margin-right: 0;
    margin-left: 0.5rem;
}

.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.contact-form .form-label {
    font-weight: 600;
    color: var(--text-dark);
}

.contact-form .form-control,
.contact-form .form-select {
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(0, 102, 204, 0.15);
}

.contact-info {
    background: linear-gradient(135deg, var(--light-blue), var(--light-green));
    padding: 2.5rem;
    border-radius: 15px;
}

.contact-cta {
    text-align: center;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid rgba(0, 102, 204, 0.2);
}

.contact-cta i {
    font-size: 3rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.contact-cta h4 {
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.contact-cta p {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.7;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-item i {
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.info-item-content h5 {
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.info-item-content p {
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

footer {
    margin-top: 0;
}

footer p,
footer a {
    margin-bottom: 0;
}

footer a:hover {
    opacity: 0.8;
}

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    overflow-y: auto;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.modal-dialog {
    background-color: var(--white);
    margin: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-light);
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--text-dark);
}

.modal-body {
    padding: 2rem;
}

.success-animation {
    text-align: center;
    padding: 3rem 2rem;
}

.success-icon {
    font-size: 5rem;
    color: var(--primary-green);
    animation: bounce 1s ease;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-30px);
    }
    60% {
        transform: translateY(-15px);
    }
}

.success-animation h3 {
    color: var(--text-dark);
    font-weight: 700;
    margin: 1.5rem 0 1rem;
}

.success-animation p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.7;
}

.powered-by {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.powered-by img {
    height: 25px;
    width: auto;
}
h1, h2, h3, h4, h5, h6,
.section-title,
.solutions-title,
.pricing-card h3,
.modal-title {
    font-weight: 700;
    letter-spacing: -0.5px;
}
h1, .display-4 {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    line-height: 1.15;
}

h3 {
    font-size: 1.4rem;
}

h4 {
    font-size: 1.2rem;
}
p,
.about-content p,
.why-card p,
.case-item p {
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.7;
} 
.feature-card p{
    font-size: 1.0rem !important;
    color: var(--text-light);
    line-height: 1.7;
}

.lead {
    font-size: 1.15rem;
    font-weight: 400;
}
.btn {
    font-weight: 600;
    letter-spacing: 0.3px;
}

.card,
.why-card,
.feature-card,
.pricing-card,
.client-logo {
    border-radius: 18px;
}

@media (max-width: 991px) {
    .banner-slider {
        height: auto;
        min-height: 420px;
    }

    .banner-section {
        min-height: 420px;
    }

    .banner-content h1 {
        font-size: 1.75rem;
    }

    .case-studies-wrapper {
        flex-direction: column;
    }

    .case-tabs {
        width: 100%;
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    .case-content {
        padding: 2rem 1.5rem;
    }

    .modal-dialog {
        margin: 1rem;
    }

    .solutions-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .nav-link {
        font-size: 0.98rem;
    }
}

@media (max-width: 767px) {
    .clients-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 1.5rem;
    }

    .client-logo {
        padding: 1rem;
    }

    .client-logo img {
        max-width: 120px;
        height: 60px;
    }
}

.hero-screen {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.08);
    transition: opacity 1.2s ease, transform 1.2s ease;
    overflow-y: auto;
    padding-right: 6px;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.hero-screen.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
     scroll-behavior: auto;
}
.screen-mockup {
    width: 100%;
    height: auto;
    object-fit: contain;   /* 👈 FULL IMAGE, no crop */
    background: #ffffff;
    padding: 10px;
    border-radius: 16px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.18);
}
.hero-screen.active .screen-mockup {
    animation: screenFloat 6s ease-in-out infinite;
}
.hero-screen::-webkit-scrollbar {
    width: 6px;
}

.hero-screen::-webkit-scrollbar-track {
    background: transparent;
}

.hero-screen::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #3b82f6, #06b6d4);
    border-radius: 10px;
}

.hero-screen::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #2563eb, #0891b2);
}

@keyframes screenFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}
