/* Custom RTL Styles for SparkUp Theme - Arabic Support */

/* Cairo Font Face */
body {
    direction: rtl;
    text-align: right;
    font-family: 'Cairo', 'Segoe UI', 'Tahoma', Arial, sans-serif !important;
    font-style: normal !important;
}

/* تطبيق على النصوص فقط، وليس الأيقونات */
h1, h2, h3, h4, h5, h6,
p, span, div, a, li,
.hero-text, .services-style,
.footer-contact {
    font-family: 'Cairo', 'Segoe UI', 'Tahoma', Arial, sans-serif !important;
    font-style: normal !important;
}

/* استثناء الأيقونات من تغيير الخط */
[class*="fa-"],
.fa, .fas, .far, .fal, .fab,
i[class*="fa"] {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro", "Font Awesome 5 Free" !important;
    font-style: normal !important;
}
/* Header Navigation */
.header-left {
    flex-direction: row-reverse;
}

.header-left nav ul {
    flex-direction: row-reverse;
}

.header-left nav ul li {
    margin-left: 30px;
    margin-right: 0;
}

.header-left nav ul li:last-child {
    margin-left: 0;
}

.header-left nav ul li:first-child {
    margin-left: 30px;
}

/* Logo */
.logo {
    text-align: right;
    order: 2;
}

.header-left {
    order: 1;
}

.top-bar {
    flex-direction: row-reverse;
}

/* Button Arrows - Flip for RTL */
.button-arrow-wrapper svg {
    transform: rotate(180deg);
}

/* Swiper Navigation - Flip positions */
.swiper-button-next {
    left: 0;
    right: auto;
}

.swiper-button-prev {
    right: 0;
    left: auto;
}

.swiper-button-next svg {
    transform: rotate(180deg);
}

.swiper-button-prev svg {
    transform: rotate(180deg);
}

/* Hero Section */
.hero-text {
    text-align: right;
}

.hero-text .bottom-style {
    text-align: right;
}

.hero-text .bottom-style .rating {
    flex-direction: row-reverse;
}

.hero-text .bottom-style .tet-style {
    text-align: right;
}

/* Team Images */
.team-img {
    flex-direction: row-reverse;
}

/* Branding Section */
.branding-style {
    text-align: right;
}

.branding-style i {
    margin-left: 20px;
    margin-right: 0;
}

.branding-style span {
    left: 20px;
    right: auto;
}

/* Services Section */
.services-style {
    text-align: right;
}

.services-style i {
    margin-left: 0;
    margin-right: 0;
    float: right;
}

/* Workflow Section */
.workflow {
    text-align: right;
}

.workflow.center {
    text-align: center;
}

.workflow img {
    margin-left: 15px;
    margin-right: 0;
}

/* Team Section */
.team-style {
    text-align: right;
}

.team-style div {
    text-align: right;
}

.team-style a {
    text-align: right;
    justify-content: flex-end;
}

.team-style a img {
    margin-left: 10px;
    margin-right: 0;
}

/* Reviews Section */
.webilte-reviews {
    flex-direction: row-reverse;
}

.webilte-text {
    text-align: right;
}

.quotation-mark {
    left: 20px;
    right: auto;
}

/* Pricing Section */
.pricing-table {
    text-align: right;
}

.pricing-table ul li {
    text-align: right;
}

.pricing-table ul li i {
    margin-left: 10px;
    margin-right: 0;
}

/* FAQ Accordion */
.accordion-item {
    text-align: right;
}

.accordion-item .heading {
    text-align: right;
    flex-direction: row-reverse;
}

.accordion-item .icon {
    margin-left: 15px;
    margin-right: 0;
}

.accordion-item .icon::before {
    content: '+';
    float: left;
}

.accordion-item.active .icon::before {
    content: '-';
    float: left;
}

.accordion-item .title {
    text-align: right;
}

.accordion-item .content {
    text-align: right;
}

/* Footer */
.footer-contact {
    text-align: right;
    flex-direction: row-reverse;
}

.footer-contact i {
    margin-left: 15px;
    margin-right: 0;
}

.footer-contact div {
    text-align: right;
}

.footer-left {
    text-align: right;
}

.footer-center {
    text-align: right;
}

.footer-center ul {
    text-align: right;
}

.footer-center ul li {
    text-align: right;
}

.footer-link {
    text-align: right;
}

.footer-link li a {
    justify-content: flex-end;
    flex-direction: row-reverse;
}

.footer-link li a img {
    margin-left: 10px;
    margin-right: 0;
}

.footer-bottom-style {
    flex-direction: row-reverse;
}

.footer-bottom-style ul {
    text-align: right;
}

/* Form Elements */
.form-group input,
.form-group textarea {
    text-align: right;
}

/* Lists */
.theme-list {
    text-align: right;
}

.theme-list li {
    text-align: right;
    padding-right: 20px;
    padding-left: 0;
}

.theme-list li::before {
    right: 0;
    left: auto;
}

/* Stars Rating */
.stars {
    justify-content: flex-end;
    flex-direction: row-reverse;
}

/* Scroll to Top */
.scroll-to-top {
    left: 30px;
    right: auto;
}

/* Marquee - Reverse animation for RTL */
.marquee-content {
    animation-direction: reverse;
}

/* Question Answer Section */
.question-heading {
    text-align: right;
}

.question-heading h3 {
    text-align: right;
}

/* Project Section */
.project-style {
    text-align: right;
}

.project-img {
    text-align: left;
}

/* Blog Section */
.blog-single {
    text-align: right;
}

.blog-single .blog-info {
    flex-direction: row-reverse;
}

.blog-single .blog-info span {
    margin-left: 15px;
    margin-right: 0;
}

/* Headings Global */
.heading {
    text-align: right;
}

.heading h2 {
    text-align: right;
}

.heading p {
    text-align: right;
}

/* Container Adjustments */
.row {
    direction: rtl;
}

.col-lg-4,
.col-lg-6,
.col-lg-8,
.col-md-6,
.col-md-4 {
    text-align: right;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .header-left nav ul {
        text-align: right;
        flex-direction: column;
    }

    .header-left nav ul li {
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 10px;
        text-align: right;
    }

    .hero-text {
        text-align: center;
    }

    .branding-style {
        flex-direction: column;
        text-align: center;
    }

    .webilte-reviews {
        flex-direction: column;
    }

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

@media (max-width: 480px) {
    .button-wrapper {
        text-align: center;
    }

    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }

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

    .branding-stat-item .stat-icon
    {
        margin: 0px !important;
    }

}

/* Additional RTL Fixes */
.recommended-companies {
    text-align: right;
}

.recommended-companies h2 {
    text-align: right;
}

.recommended-companies p {
    text-align: right;
}

/* Mission and Vision */
.mission,
.vision {
    text-align: right;
}

.mission h3,
.vision h3 {
    text-align: right;
}

/* Experience Counter */
.experience {
    text-align: right;
}

/* About Image */
.about-img {
    text-align: left;
}

/* Ensure proper text direction for Arabic content */
h1, h2, h3, h4, h5, h6, p, span, a, li {
    direction: rtl;
    unicode-bidi: embed;
}

/* Input placeholders */
input::placeholder,
textarea::placeholder {
    text-align: right;
    direction: rtl;
}

/* Additional Flexbox Fixes for RTL */
.container {
    direction: rtl;
}

/* Header Button Fix */
.header-btn {
    margin-right: auto;
    margin-left: 0;
}

/* Hero Section Bottom Style */
.bottom-style {
    flex-direction: row-reverse;
}

.bottom-style .tet-style {
    margin-left: 30px;
    margin-right: 0;
}

/* Branding Icons */
.branding-style {
    display: flex;
    align-items: flex-start;
}

.branding-style > div {
    flex: 1;
}

/* Services Grid */
.services .row {
    direction: rtl;
}

/* Team Member Cards */
.team-style figure {
    text-align: center;
}

/* Pricing Table Icons */
.pricing-table > i {
    text-align: center;
    display: block;
    margin-bottom: 20px;
}

/* Blog Cards */
.blog-single {
    direction: rtl;
}

.blog-single figure {
    text-align: center;
}

/* Language Switcher */
.header-left nav ul li a[href*="ar"],
.header-left nav ul li a[href*="en"] {
    font-weight: bold;
    padding: 5px 15px;
    border-radius: 20px;
    background: rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.header-left nav ul li a[href*="ar"]:hover,
.header-left nav ul li a[href*="en"]:hover {
    background: rgba(255,255,255,0.2);
}

/* Contact Form RTL */
.contact-form input,
.contact-form textarea {
    direction: rtl;
    text-align: right;
}

/* Swiper RTL Configuration */
/*.swiper-container-rtl .swiper-slide {*/
/*    text-align: right;*/
/*}*/

/* Additional Button Fixes */
.button-wrapper {
    display: inline-flex;
    align-items: center;
    flex-direction: row-reverse;
}

.button-main {
    margin-left: 10px;
    margin-right: 0;
}

/* Mobile Header */
@media (max-width: 991px) {

}

/* Typography Improvements for Arabic */
body[dir="rtl"] {
    font-family: 'Cairo', 'Arial', 'Tahoma', sans-serif;
}

/* Apply Cairo font to all Arabic text elements */
[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] h4,
[dir="rtl"] h5,
[dir="rtl"] h6,
[dir="rtl"] p,
[dir="rtl"] span,
[dir="rtl"] a,
[dir="rtl"] li {
    font-family: 'Cairo', 'Arial', 'Tahoma', sans-serif;
}

/* Fix Bootstrap Grid in RTL */
.row > * {
    direction: rtl;
}

/* Ensure proper spacing for RTL content */
.gap {
    direction: rtl;
}

/* Hero Shapes RTL */
.hero-shap .shap-one,
.hero-shap .shap-two,
.hero-shap .shap-three {
    transform: scaleX(-1);
}

/* Pattern Images RTL */
.shap-3,
.shap-4 {
    transform: scaleX(-1);
}

.button-wrapper:before {
    content: "";
    position: absolute;
    width: 75% !important;
    height: 100%;
    background-color: var(--theme-color);
    border-radius: 100px;
    right: 0;
}


/* Mobile Menu */
@media (max-width: 768px) {

    .header-btn .button-main
    {
        line-height: 20px !important;
    }
}


.header-btn .button-main
{
    color: #070616;
    letter-spacing: 1.44px;
    font-size: 14px;
    font-weight: 600;
    line-height: 55px;
}

/* Statistics Section - RTL */
.statistics-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.statistic-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    flex-direction: row-reverse;
}

.statistic-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    pointer-events: none;
}

.statistic-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.25);
}

.statistic-item:nth-child(1) {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.statistic-item:nth-child(2) {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.statistic-item:nth-child(3) {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.stat-number {
    flex-shrink: 0;
}

.stat-number h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 5px;
    flex-direction: row-reverse;
}

.stat-number span {
    font-size: 1.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.statistic-item p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
    flex-grow: 1;
    text-align: right;
}

.stat-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.stat-icon i {
    font-size: 1.5rem;
    color: #ffffff;
}

/* Branding Statistics - RTL */

.branding-stat-item {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 35px 25px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    border-radius: 20px;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    margin-bottom: 25px;
    flex-direction: row-reverse;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

.branding-stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(145deg, transparent, rgba(255, 255, 255, 0.02));
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 20px;
}

.branding-stat-item:hover::before {
    opacity: 1;
}

.branding-stat-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.15);
}

/* Unique gradient overlays for each card */
.branding-stat-item:nth-child(1) {
    background: linear-gradient(145deg, rgba(102, 126, 234, 0.08), rgba(118, 75, 162, 0.04));
}

.branding-stat-item:nth-child(1):hover {
    box-shadow:
        0 20px 40px rgba(102, 126, 234, 0.25),
        0 0 0 1px rgba(102, 126, 234, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.branding-stat-item:nth-child(2) {
    background: linear-gradient(145deg, rgba(240, 147, 251, 0.08), rgba(245, 87, 108, 0.04));
}

.branding-stat-item:nth-child(2):hover {
    box-shadow:
        0 20px 40px rgba(240, 147, 251, 0.25),
        0 0 0 1px rgba(240, 147, 251, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.branding-stat-item:nth-child(3) {
    background: linear-gradient(145deg, rgba(79, 172, 254, 0.08), rgba(0, 242, 254, 0.04));
}

.branding-stat-item:nth-child(3):hover {
    box-shadow:
        0 20px 40px rgba(79, 172, 254, 0.25),
        0 0 0 1px rgba(79, 172, 254, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.branding-stat-item .stat-number {
    flex-shrink: 0;
    position: relative;
}

.branding-stat-item .stat-number h3 {
    font-size: 3.2rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-direction: row-reverse;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    transition: all 0.4s ease;
    background: linear-gradient(135deg, #ffffff, rgba(255, 255, 255, 0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.branding-stat-item:hover .stat-number h3 {
    transform: scale(1.05);
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
}

.branding-stat-item .stat-number span {
    font-size: 2rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.4s ease;
}

.branding-stat-item p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
    flex-grow: 1;
    text-align: right;
    line-height: 1.5;
    transition: all 0.4s ease;
}

.branding-stat-item:hover p {
    color: rgba(255, 255, 255, 0.95);
    transform: translateX(-5px);
}

.branding-stat-item .stat-icon {
    flex-shrink: 0;
    width: 65px;
    height: 65px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.4s ease;
    position: relative;
}

.branding-stat-item .stat-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), transparent);
    border-radius: 18px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.branding-stat-item:hover .stat-icon::before {
    opacity: 1;
}

.branding-stat-item:hover .stat-icon {
    transform: translateY(-2px) scale(1.05);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.08));
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.1);
}

.branding-stat-item .stat-icon i {
    font-size: 1.8rem;
    color: #ffffff;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.branding-stat-item:hover .stat-icon i {
    color: #ffffff;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
}

/* Enhanced responsive design */
@media (max-width: 768px) {
    .branding-stat-item {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 30px 20px;
    }

    .branding-stat-item p {
        text-align: center;
    }

    .branding-stat-item .stat-number h3 {
        font-size: 2.6rem;
        justify-content: center;
    }

    .branding-stat-item:hover p {
        transform: translateY(-3px);
    }
}

@media (max-width: 480px) {
    .branding-stat-item .stat-number h3 {
        font-size: 2.2rem;
    }

    .branding-stat-item {
        padding: 25px 18px;
        margin-bottom: 20px;
    }

    .branding-stat-item .stat-icon {
        width: 55px;
        height: 55px;
    }

    .branding-stat-item .stat-icon i {
        font-size: 1.5rem;
    }
}

/* Branding Statistics Section */
.branding-statistics {
    margin-top: 40px;
    padding: 30px 0;
}

.branding-stat-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px 30px;
    margin: 15px 0;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.1),
        0 8px 32px rgba(0, 0, 0, 0.05);
}

.branding-stat-item:nth-child(1) {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(147, 51, 234, 0.15) 100%);
}

.branding-stat-item:nth-child(2) {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.15) 0%, rgba(239, 68, 68, 0.15) 100%);
}

.branding-stat-item:nth-child(3) {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(34, 197, 94, 0.15) 100%);
}

.branding-stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.branding-stat-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.15),
        0 16px 50px rgba(0, 0, 0, 0.1);
}

.branding-stat-item:nth-child(1):hover {
    box-shadow:
        0 8px 25px rgba(59, 130, 246, 0.3),
        0 16px 50px rgba(147, 51, 234, 0.2);
}

.branding-stat-item:nth-child(2):hover {
    box-shadow:
        0 8px 25px rgba(236, 72, 153, 0.3),
        0 16px 50px rgba(239, 68, 68, 0.2);
}

.branding-stat-item:nth-child(3):hover {
    box-shadow:
        0 8px 25px rgba(59, 130, 246, 0.3),
        0 16px 50px rgba(34, 197, 94, 0.2);
}

.branding-stat-item .stat-number {
    text-align: center;
    margin-bottom: 15px;
}

.branding-stat-item .stat-number h3 {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1;
}

.branding-stat-item .stat-number span {
    font-size: 36px;
}

.branding-stat-item p {
    text-align: center;
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    margin: 15px 0;
    opacity: 0.9;
}

.branding-stat-item .stat-icon {
    text-align: center;
    margin-top: 20px;
}

.branding-stat-item .stat-icon i {
    font-size: 28px;
    color: #ffffff;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.branding-stat-item:hover .stat-icon i {
    opacity: 1;
    transform: scale(1.1);
}

/* Responsive design for statistics */
@media (max-width: 768px) {
    .branding-statistics {
        margin-top: 20px;
        padding: 20px 0;
    }

    .branding-stat-item {
        padding: 30px 20px;
        margin: 10px 0;
    }

    .branding-stat-item .stat-number h3 {
        font-size: 36px;
    }

    .branding-stat-item .stat-number span {
        font-size: 28px;
    }

    .branding-stat-item .stat-icon i {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .branding-stat-item {
        padding: 25px 15px;
    }

    .branding-stat-item .stat-number h3 {
        font-size: 32px;
    }

    .branding-stat-item .stat-number span {
        font-size: 24px;
    }

    .branding-stat-item p {
        font-size: 14px;
        padding-bottom: 0px !important;
    }
}

/* Modern Services Styling */
.services-style.modern {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 35px 25px;
    margin: 20px 0;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.05),
        0 8px 32px rgba(0, 0, 0, 0.02);
}

.services-style.modern:hover {
    transform: translateY(-8px);
    box-shadow:
        0 12px 32px rgba(0, 0, 0, 0.1),
        0 20px 64px rgba(0, 0, 0, 0.05);
    border-color: rgba(59, 130, 246, 0.3);
}

.services-style.modern .service-icon {
    text-align: center;
    margin-bottom: 25px;
}

.services-style.modern .service-icon i {
    font-size: 48px;
    color: #3b82f6;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.services-style.modern:hover .service-icon i {
    transform: scale(1.1);
}

.services-style.modern h3 {
    color: #1f2937;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 50px;
    line-height: 2.3;
    text-align: right;
}

.services-style.modern h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.services-style.modern:hover h3 a {
    color: #3b82f6;
}

.services-style.modern p {
    color: #6b7280;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: right;
}

.services-style.modern .service-highlight {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
    padding: 15px 20px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 20px;
    border-right: 4px solid #f59e0b;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.1);
    text-align: right;
}

.services-style.modern .service-benefits {
    margin: 20px 0;
}

.services-style.modern .service-benefits p {
    margin-bottom: 10px;
    font-weight: 600;
    color: #374151;
    text-align: right;
}

.services-style.modern .service-benefits ul.theme-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.services-style.modern .service-benefits ul.theme-list li {
    position: relative;
    padding: 8px 30px 8px 0;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.5;
    text-align: right;
}

.services-style.modern .service-benefits ul.theme-list li::before {
    content: '✓';
    position: absolute;
    right: 0;
    top: 8px;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #10b981, #34d399);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.services-style.modern .service-cta {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    padding: 15px 20px;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    font-size: 15px;
    margin-top: 25px;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
}

.services-style.modern:hover .service-cta {
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
    transform: translateY(-2px);
}

/* Responsive design for services */
@media (max-width: 768px) {
    .services-style.modern {
        padding: 30px 20px;
        margin: 15px 0;
    }

    .services-style.modern .service-icon i {
        font-size: 40px;
    }

    .services-style.modern h3 {
        font-size: 20px;
        margin-top : 20px;
    }

    .services-style.modern .service-highlight {
        padding: 12px 16px;
        font-size: 14px;
        margin-top: 60px;
    }

    .services-style.modern .service-cta {
        padding: 12px 16px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .services-style.modern {
        padding: 25px 15px;
    }

    .services-style.modern .service-icon i {
        font-size: 36px;
    }

    .services-style.modern h3 {
        font-size: 18px;
    }

    .services-style.modern p {
        font-size: 14px;
    }

    .services-style.modern .service-benefits ul.theme-list li {
        font-size: 13px;
    }
}

/* Service CTA Button */
.service-cta-button {
    background-color: var(--theme-color);
    color: black;
    padding: 14px 28px;
    text-align: center;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    margin-top: 20px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: inline-block;
    text-decoration: none;
}

.service-cta-button:hover {
    background-color: var(--theme-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    color: black;
    opacity: 0.9;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 25px;
}

.cta-primary .button-main {
    background-color: var(--theme-color);
    color: black;
    font-weight: 600;
}

.cta-secondary .button-main {
    background: transparent;
    color: var(--theme-color);
    border: 2px solid var(--theme-color);
    font-weight: 600;
}

.cta-secondary:hover .button-main {
    background-color: var(--theme-color);
    color: black;
}

@media (max-width: 768px) {
    .cta-buttons {
        gap: 12px;
    }
}

.pricing-top h3 {
    font-size: 30px !important;
    font-weight: 500;
    margin-bottom: 0px !important;
}

footer img.shap-4 {
    position: absolute;
    bottom: 30%;
    left: 7% !important;
    width: 150px;
    animation: spin-left-two 3s infinite;
}

/* RTL Fixes for Swiper Reviews */
.swiper-container-rtl .swiper-button-next {
    left: 10px;
    right: auto;
}

.swiper-container-rtl .swiper-button-prev {
    left: 60px;
    right: auto;
}

/* Additional RTL fixes for reviews section */
.reviews .swiper-button-style {
    left: 0;
    right: auto;
}

.reviews .swiper-button-style .swiper-button-next {
    margin-left: 0;
    margin-right: 10px;
}

.reviews .swiper-button-style .swiper-button-prev {
    margin-left: 60px;
    margin-right: 0;
}

/* Fix for initial slide visibility in RTL mobile */
.js-reviews-carousel .swiper-slide:first-child {
    opacity: 1 !important;
    transform: translate3d(0px, 0, 0) !important;
}

/* Ensure proper fade effect initialization */
.js-reviews-carousel.swiper-container-fade .swiper-slide {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.js-reviews-carousel.swiper-container-fade .swiper-slide-active {
    opacity: 1 !important;
}

/* Mobile RTL specific fixes */
@media (max-width: 768px) {
    .reviews .js-reviews-carousel .swiper-slide:first-child .webilte-reviews {
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .reviews .js-reviews-carousel .swiper-slide:first-child .reviews-img {
        opacity: 1 !important;
    }
    
    /* Force first slide content to be visible */
    .reviews .js-reviews-carousel .swiper-slide:first-child .splitting .word {
        opacity: 1 !important;
        transform: translate(0, 0) !important;
    }
}

/* Fix for RTL text alignment in reviews */
.webilte-text {
    text-align: right;
}

.webilte-text p {
    text-align: right;
}

.webilte-text h3 {
    text-align: right;
}

.webilte-text .subtitle {
    text-align: right;
}

/* Fix for quotation mark positioning in RTL */
.reviews-img img.quotation-mark {
    left: 10px;
    right: auto;
}


.footer-center ul li:before {
    content: "";
    position: absolute;
    width: 7px;
    height: 7px;
    background-color: #7C7C7C;
    border-radius: 50%;
    right: 0;
    top: 8px;
}

.footer-center ul li a
{
    padding-right: 15px;
}

/* Consultant Profile Section - RTL */
.consultant-profile {
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

.consultant-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
}

.image-wrapper:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 35px 70px rgba(0,0,0,0.2);
}

.image-wrapper img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    border-radius: 25px;
    transition: all 0.4s ease;
}

.image-wrapper:hover img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 40px 25px 25px;
}

.consultant-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--theme-color), #3a7bc8);
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    width: fit-content;
    box-shadow: 0 10px 30px rgba(74, 144, 226, 0.4);
    transition: all 0.3s ease;
    margin-right: auto;
}

.consultant-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(74, 144, 226, 0.5);
}

.consultant-badge i {
    color: #FFD700;
    font-size: 16px;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* Social Contact Section - RTL */
.social-contact {
    margin: 15px 0 25px 0;
    text-align: right;
}

.linkedin-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #0077b5, #005885);
    color: white;
    border-radius: 12px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    padding: 14px 20px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 8px 25px rgba(0, 119, 181, 0.2);
    border: 2px solid rgba(0, 119, 181, 0.3);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
    direction: ltr;
}

.linkedin-link::before {
    content: '';
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(270deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: right 0.6s ease;
}

.linkedin-link:hover::before {
    right: 100%;
}

.linkedin-link:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(0, 119, 181, 0.4);
    background: linear-gradient(135deg, #0088cc, #006699);
    border-color: rgba(0, 119, 181, 0.5);
    color: white;
    text-decoration: none;
}

.linkedin-link i {
    font-size: 18px;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.linkedin-link:hover i {
    transform: scale(1.1);
}

.linkedin-link span {
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

/* Profile Information - RTL */
.consultant-info {
    padding-right: 50px;
    text-align: right;
}

.consultant-header {
    margin-bottom: 40px;
}

.consultant-name {
    font-size: 3rem;
    font-weight: 800;
    /*background: linear-gradient(135deg, var(--theme-color), #2c5aa0);*/
    /*-webkit-background-clip: text;*/
    /*-webkit-text-fill-color: transparent;*/
    background-clip: text;
    margin-bottom: 15px;
    line-height: 1.1;
    /*text-shadow: 0 2px 4px rgba(0,0,0,0.1);*/
    text-align: right;
}

.consultant-title {
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 20px;
    font-weight: 600;
    position: relative;
    padding-right: 20px;
    text-align: right;
}

.consultant-title::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 30px;
    background: linear-gradient(135deg, var(--theme-color), #3a7bc8);
    border-radius: 2px;
}

.consultant-description {
    font-size: 1.15rem;
    color: #444;
    line-height: 1.7;
    margin-bottom: 0;
    font-weight: 400;
    text-align: right;
}

/* Experience Stats - RTL */
.experience-stats {
    display: flex;
    gap: 50px;
    margin: 40px 0;
    padding: 30px;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.1), rgba(58, 123, 200, 0.05));
    border-radius: 20px;
    border: 1px solid rgba(74, 144, 226, 0.2);
    direction: ltr;
    justify-content: center;
}

.stat-item {
    text-align: center;
    position: relative;
}

.stat-item::after {
    content: '';
    position: absolute;
    left: -25px;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 60px;
    background: linear-gradient(135deg, var(--theme-color), transparent);
}

.stat-item:first-child::after {
    display: none;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--theme-color), #2c5aa0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
    text-shadow: 0 2px 8px rgba(74, 144, 226, 0.3);
}

.stat-text {
    font-size: 1rem;
    color: #666;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Achievements - RTL */
.achievements {
    margin-bottom: 50px;
}

.achievements h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 25px;
    position: relative;
    padding-right: 20px;
    text-align: right;
}

.achievements h4::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 25px;
    background: linear-gradient(135deg, var(--theme-color), #3a7bc8);
    border-radius: 2px;
}

.achievements-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.achievements-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 18px;
    padding: 15px 20px;
    background: rgba(74, 144, 226, 0.05);
    border-radius: 12px;
    border-right: 4px solid var(--theme-color);
    font-size: 1.05rem;
    line-height: 1.6;
    color: #444;
    transition: all 0.3s ease;
    text-align: right;
    direction: rtl;
}

.achievements-list li:hover {
    background: rgba(74, 144, 226, 0.1);
    transform: translateX(-5px);
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.15);
}

.achievements-list li i {
    color: var(--theme-color);
    font-size: 1rem;
    margin-top: 4px;
    flex-shrink: 0;
    background: rgba(74, 144, 226, 0.1);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
}

/* CTA Button - RTL */
.consultant-cta {
    margin-top: 40px;
    text-align: right;
}

.consultant-button {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, var(--theme-color), #3a7bc8);
    color: white;
    padding: 18px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.4s ease;
    box-shadow: 0 15px 35px rgba(74, 144, 226, 0.4);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    direction: rtl;
}

.consultant-button::before {
    content: '';
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(270deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: right 0.5s ease;
}

.consultant-button:hover::before {
    right: 100%;
}

.consultant-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 45px rgba(74, 144, 226, 0.5);
    color: white;
}

.consultant-button .button-main {
    color: white;
    margin-right: 12px;
    font-weight: 700;
}

.consultant-button .button-arrow-wrapper {
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.consultant-button .button-arrow-wrapper svg {
    transform: scaleX(-1);
}

.consultant-button:hover .button-arrow-wrapper {
    background: rgba(255,255,255,0.3);
    transform: rotate(-45deg);
}

/* Responsive Design - RTL */
@media (max-width: 1199px) {
    .consultant-info {
        padding-right: 30px;
    }

    .consultant-name {
        font-size: 2.5rem;
    }
}

@media (max-width: 991px) {
    .consultant-info {
        padding-right: 0;
        margin-top: 50px;
        text-align: center;
    }

    .consultant-title,
    .consultant-description {
        text-align: center;
    }

    .consultant-title::before {
        display: none;
    }

    .experience-stats {
        justify-content: center;
        gap: 60px;
    }

    .consultant-name {
        font-size: 2.2rem;
    }

    .achievements h4 {
        text-align: center;
    }

    .achievements h4::before {
        display: none;
    }

    .achievements-list li {
        text-align: center;
        direction: ltr;
        border-right: none;
        border-left: 4px solid var(--theme-color);
    }

    .achievements-list li i {
        margin-right: 10px;
        margin-left: 0;
    }

    .consultant-cta {
        text-align: center;
    }

    .social-contact {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .consultant-profile {
        padding: 60px 0;
    }

    .experience-stats {
        flex-direction: column;
        gap: 30px;
        padding: 25px;
    }

    .stat-item::after {
        display: none;
    }

    .consultant-name {
        font-size: 2rem;
    }

    .image-wrapper img {
        height: 450px;
    }

    .consultant-button {
        padding: 15px 30px;
        font-size: 1rem;
    }

    .linkedin-link {
        padding: 12px 18px;
        font-size: 14px;
    }

    .linkedin-link i {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .consultant-name {
        font-size: 1.8rem;
    }

    .image-wrapper img {
        height: 400px;
    }

    .achievements-list li {
        padding: 12px 16px;
        font-size: 1rem;
    }

    .experience-stats {
        padding: 20px;
    }

    .stat-number {
        font-size: 3rem;
    }

    .linkedin-link {
        padding: 10px 16px;
        font-size: 13px;
    }

    .linkedin-link i {
        font-size: 15px;
    }
}

.theme-list li::before
{
    display: none;
}

/* ==========================================
   WhatsApp Float Button - RTL
========================================== */

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    left: 40px; /* RTL: left instead of right */
    z-index: 1000;
    transition: all 0.3s ease;
}

.whatsapp-button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    font-size: 30px;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    /*border: 3px solid rgba(255, 255, 255, 0.1);*/
    backdrop-filter: blur(10px);
    direction: ltr; /* Force LTR for WhatsApp icon */
    line-height: 1;
}

.whatsapp-button:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.4);
    background: linear-gradient(135deg, #2EE068, #1A9D96);
    color: white;
    text-decoration: none;
    width: auto;
    padding: 0 20px;
    border-radius: 30px;
}

.whatsapp-button i {
    font-size: 30px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    width: 100%;
    height: 100%;
}

.whatsapp-button:hover i {
    transform: scale(1.2) rotate(10deg);
}

.whatsapp-text {
    opacity: 0;
    transform: translateX(-20px); /* RTL: reverse direction */
    transition: all 0.3s ease;
    margin-right: 10px; /* RTL: margin-right instead of margin-left */
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 2;
}

.whatsapp-button:hover .whatsapp-text {
    opacity: 1;
    transform: translateX(0);
}

.whatsapp-ripple {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.3);
    animation: whatsapp-pulse 2s infinite;
    z-index: 0;
    pointer-events: none;
}

@keyframes whatsapp-pulse {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

/* Glow effect on hover */
.whatsapp-button::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #25D366, #128C7E, #25D366);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.whatsapp-button:hover::before {
    opacity: 0.7;
    border-radius: 30px;
}

/* Mobile Responsive - RTL */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        left: 20px; /* RTL: left instead of right */
        width: 65px;
        height: 65px;
    }

    .whatsapp-button {
        width: 65px;
        height: 65px;
        font-size: 32px;
    }

    .whatsapp-button:hover {
        padding: 0 18px;
        border-radius: 32px;
    }

    .whatsapp-text {
        font-size: 13px;
        margin-right: 10px; /* RTL: margin-right instead of margin-left */
    }
}

@media (max-width: 480px) {
    .whatsapp-float {
        bottom: 15px;
        left: 15px; /* RTL: left instead of right */
        width: 60px;
        height: 60px;
    }

    .whatsapp-button {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }

    .whatsapp-button:hover {
        padding: 0 15px;
        border-radius: 30px;
    }
}


.text_invert div
{
    padding-bottom: 15px !important;
}
