* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Tajawal', Arial, sans-serif;
}

body {
    line-height: 1.6;
    color: #0a0a0a;
    background-color: #ffffff;
    direction: rtl;
    overflow-x: hidden;
    transition: direction 0.3s ease;
}

/* Navbar default LTR */
.nav-ltr {
    direction: ltr;
    text-align: left;
    flex-direction: row; /* menu items left to right */
}

/* Navbar RTL */
.nav-rtl {
    direction: rtl;
    text-align: right;
    flex-direction: row-reverse; /* menu items right to left */
}

body[dir="ltr"] {
    font-family: 'Inter', Arial, sans-serif;
}

img {
    max-width: 100%;
    height: auto;
}

/* Layout components */
.container {
    width: 100%;
    max-width: 1574px;
    margin: 0 auto;
    padding: 0 16px;
}

.hero-section {
    background-color: #101727;
    background: linear-gradient(180deg, #101727b2 0%, #10172799 50%, #00000000 100%),
    url('../images/img_image_construction.png');

    background-size: cover;
    background-position: center;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

.header {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 16px;
    order: 1;
}

.user-section {
    display: flex;
    align-items: center;
    gap: 8px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 20px;
}

.arrow-icon {
    width: 16px;
    height: 16px;
}

.logo {
    width: 48px;
    height: 28px;
    border-radius: 14px;
}

/* Language Toggle Button */
.language-toggle {
    background: #0833ff;
    border: none;
    border-radius: 12px;
    padding: 4px 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
    transition: all 0.3s ease;
    box-shadow: 0px 2px 8px rgba(8, 51, 255, 0.2);
    order: 5;
}

/* Language Toggle Button */
.signing-toggle {
    background: #D4D6E2;
    border: #0833ff 2px solid;
    border-radius: 12px;
    padding: 4px 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #0833ff;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(8, 51, 255, 0.2);
    order: 5;
}

.signing-toggle:hover {
    background: #0629cc;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(8, 51, 255, 0.3);
}

.language-toggle:hover {
    background: #0629cc;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(8, 51, 255, 0.3);
}

.language-toggle:active {
    transform: translateY(0);
}

.language-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.nav-menu {
    display: none;
    gap: 16px;
    align-items: center;
    order: 3;
    width: 100%;
    flex-direction: column;
    padding: 16px 0;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    margin-top: 8px;
}

.nav-menu.mobile-open {
    display: flex;
}

.nav-item {
    position: relative;
    padding: 12px 4px;
    font-size: 14px;
    font-weight: 500;
    color: #0a0a0a;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
    border-radius: 8px;
}

.nav-item:hover {
    color: #0833ff;
    background-color: rgba(8, 51, 255, 0.1);
}

.company-logo {
    width: 80px;
    height: 60px;
    order: 2;
}

.mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    cursor: pointer;
    order: 4;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #0a0a0a;
    position: relative;
    transition: all 0.3s ease;
}

.mobile-menu-toggle span::before,
.mobile-menu-toggle span::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: #0a0a0a;
    transition: all 0.3s ease;
}

.mobile-menu-toggle span::before {
    top: -8px;
}

.mobile-menu-toggle span::after {
    bottom: -8px;
}

.hero-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 24px 16px;
}

.hero-inner {
    width: 100%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    position: relative;
}

.hero-stack {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 40px;
}

.hero-badge {
    background: linear-gradient(90deg, rgba(8, 50, 254, 0.2) 0%, rgba(152, 15, 250, 0.2) 100%);
    border: 1px solid rgba(8, 50, 254, 0.3);
    border-radius: 24px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #ffffff;
    box-shadow: 0px 8px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.hero-badge span {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.hero-title {
    font-size: 28px;
    font-weight: 500;
    line-height: 1.3;
    text-align: center;
    color: #ffffff;
    margin-top: 12px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.hero-subtitle {
    font-size: 28px;
    font-weight: 500;
    line-height: 1.3;
    text-align: center;
    color: #ffffff;
    margin-top: 8px;
    padding: 0 16px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.hero-description {
    font-size: 14px;
    line-height: 1.6;
    text-align: center;
    color: #d0d5db;
    margin-top: 16px;
    padding: 0 8px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.search-container {
    background: #ffffff;
    border-radius: 16px;
    padding: 12px;
    box-shadow: 0px 25px 50px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin-top: 24px;
}

.search-btn {
    background: #0833ff;
    border-radius: 14px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    width: 100%;
    min-height: 48px;
}

.search-location {
    background: #f9fafb;
    border-radius: 14px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    color: rgba(10, 10, 10, 0.5);
    font-size: 14px;
    min-height: 48px;
}

.search-input {
    background: #f9fafb;
    border-radius: 14px;
    padding: 15px 40px;
    border: none;
    width: 100%;
    font-size: 14px;
    color: rgba(10, 10, 10, 0.5);
    min-height: 48px;
}


.features-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: center;
    align-items: center;
    margin-top: 24px;
    width: 100%;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 254, 254, 0.9);
    font-size: 14px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    width: 100%;
    margin-top: 32px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 254, 254, 0.2);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
}

.stat-number {
    font-size: 24px;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 12px;
    color: #ffffff;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.scroll-indicator {
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    padding: 10px 8px;
    margin-top: 32px;
    align-self: center;
    width: 24px;
    height: 42px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    animation: scrollDown 2s infinite ease-in-out;
}

.scroll-dot {
    width: 4px;
    height: 6px;
    background: white;
    border-radius: 2px;
    opacity: 0.9;
}

/* The magic happens here */
@keyframes scrollDown {
    0% {
        transform: translateY(-8px);
        opacity: 0;
    }
    50% {
        transform: translateY(12px);
        opacity: 1;
    }
    100% {
        transform: translateY(22px);
        opacity: 0;
    }
}

/* About section */
.about-section {
    background: #ffffff;
    padding: 64px 0;
}

.about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
}

.section-header {
    text-align: center;
    width: 100%;
    padding: 0 16px;
}

.section-badge {
    background: #f3f4f6;
    border-radius: 18px;
    padding: 8px 12px;
    font-size: 12px;
    color: #717182;
    display: inline-block;
    margin-bottom: 12px;
}

.section-title {
    font-size: 24px;
    font-weight: 500;
    line-height: 1.3;
    color: #0a0a0a;
    margin-bottom: 12px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.section-subtitle {
    font-size: 14px;
    color: #717182;
    margin-bottom: 16px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.section-description {
    font-size: 13px;
    line-height: 1.6;
    color: #717182;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    width: 100%;
    padding: 0 16px;
}

.feature-card {
    background: #ffffff;
    border: 2px solid #f2f4f6;
    border-radius: 16px;
    padding: 24px 20px;
    text-align: right;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body[dir="ltr"] .feature-card {
    text-align: left;
}

.feature-card.featured {
    background: #0833ff;
    border-color: #0833ff;
    color: #ffffff;
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: #f9fafb;
    border-radius: 16px;
    padding: 14px;
    margin: 0 auto 16px;
}

.feature-card.featured .feature-icon {
    background: #4566ff;
}

.feature-title {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 10px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.feature-description {
    font-size: 13px;
    line-height: 1.6;
    color: #717182;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.feature-card.featured .feature-description {
    color: #ffffff;
}

/* Services section */
.services-section {
    background: #f9fafb;
    padding: 64px 16px;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    width: 100%;
}

.service-card {
    background: #ffffff;
    border: 2px solid #f2f4f6;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card.featured {
    background: #0833ff;
    border-color: #0833ff;
    color: #ffffff;
}

.service-number {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 12px;
}

.service-label {
    font-size: 12px;
    color: #717182;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.service-card.featured .service-label {
    color: #ffffff;
}

/* How it works section */
.how-it-works-section {
    background: #ffffff;
    padding: 64px 0;
}

/*!*.steps-grid {*!*/
/*!*    display: flex;*!*/
/*!*    flex-direction: column;*!*/
/*!*    gap: 16px;*!*/
/*!*    width: 100%;*!*/
/*!*    padding: 0 16px;*!*/
/*!*}*!*/

/*.step-card {*/
/*    background: #ffffff;*/
/*    border: 2px solid #f2f4f6;*/
/*    border-radius: 16px;*/
/*    width: 100%;*/
/*    text-align: right;*/
/*    position: relative;*/
/*    transition: transform 0.3s ease, box-shadow 0.3s ease;*/
/*}*/

/*body[dir="ltr"] .step-card {*/
/*    text-align: left;*/
/*}*/

/*.step-card.featured {*/
/*    background: #0833ff;*/
/*    border-color: #0833ff;*/
/*    color: #ffffff;*/
/*}*/

/*.step-icon-container {*/
/*    background: #f9fafb;*/
/*    border-radius: 16px;*/
/*    padding: 18px;*/
/*    width: 70px;*/
/*    height: 70px;*/
/*    margin: 32px 32px 24px auto;*/
/*}*/

/*body[dir="ltr"] .step-icon-container {*/
/*    margin: 32px auto 24px 32px;*/
/*}*/

/*.step-card.featured .step-icon-container {*/
/*    background: #4566ff;*/
/*}*/

/*.step-badge {*/
/*    background: #f3f4f6;*/
/*    border-radius: 16px;*/
/*    padding: 6px 12px;*/
/*    font-size: 12px;*/
/*    color: #717182;*/
/*    margin: 24px 32px 12px auto;*/
/*    display: inline-block;*/
/*}*/

/*body[dir="ltr"] .step-badge {*/
/*    margin: 24px auto 12px 32px;*/
/*}*/

/*.step-card.featured .step-badge {*/
/*    background: #4566ff;*/
/*    color: #ffffff;*/
/*}*/

/*.step-title {*/
/*    font-size: 18px;*/
/*    font-weight: 500;*/
/*    margin: 12px 32px 14px;*/
/*    word-wrap: break-word;*/
/*    overflow-wrap: break-word;*/
/*}*/

/*.step-description {*/
/*    font-size: 13px;*/
/*    line-height: 1.6;*/
/*    color: #717182;*/
/*    margin: 14px 28px 32px;*/
/*    word-wrap: break-word;*/
/*    overflow-wrap: break-word;*/
/*}*/

/*.step-card.featured .step-description {*/
/*    color: #ffffff;*/
/*}*/

/*.step-line {*/
/*    width: 100%;*/
/*    height: 4px;*/
/*    background: #f3f4f6;*/
/*    border-radius: 0 0 2px 2px;*/
/*}*/

/*.step-card.featured .step-line {*/
/*    background: #ffffff;*/
/*}*/

.cta-button {
    background: #0833ff;
    color: #ffffff;
    border: none;
    border-radius: 14px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 32px auto 0;
    cursor: pointer;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 48px;
    width: 100%;
    max-width: 320px;
}

/* Solutions section */
.solutions-section {
    background: #f9fafb;
    padding: 64px 0;
}

.solutions-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    padding: 0 16px;
}

.solution-card {
    background: #ffffff;
    border: 2px solid #f2f4f6;
    border-radius: 16px;
    padding: 32px 24px;
    width: 100%;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.solution-card.featured {
    background: #0833ff;
    border-color: #0833ff;
    color: #ffffff;
}

.solution-badge {
    position: absolute;
    top: 32px;
    right: 24px;
    padding: 6px 12px;
    border-radius: 14px;
    font-size: 11px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

body[dir="ltr"] .solution-badge {
    right: auto;
    left: 24px;
}

.solution-badge.recommended {
    background: rgba(173, 70, 255, 0.1);
    border: 1px solid #e9d4ff;
    color: #980ffa;
}

.solution-badge.new {
    background: rgba(0, 201, 80, 0.1);
    border: 1px solid #b8f7cf;
    color: #00a63d;
}

.solution-badge.popular {
    background: #4566ff;
    color: #ffffff;
}

.solution-icon-container {
    background: #f3f4f6;
    border-radius: 16px;
    padding: 18px;
    width: 70px;
    height: 70px;
    margin: 20px auto 18px;
}

.solution-card.featured .solution-icon-container {
    background: #4566ff;
}

.solution-title {
    font-size: 20px;
    font-weight: 500;
    text-align: right;
    margin-bottom: 16px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

body[dir="ltr"] .solution-title {
    text-align: left;
}

.solution-description {
    font-size: 13px;
    line-height: 1.6;
    color: #717182;
    text-align: right;
    margin-bottom: 24px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

body[dir="ltr"] .solution-description {
    text-align: left;
}

.solution-card.featured .solution-description {
    color: #ffffff;
}

.solution-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

.solution-feature {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px;
}

.solution-feature-text {
    font-size: 13px;
    color: #0a0a0a;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.solution-card.featured .solution-feature-text {
    color: #ffffff;
}

.solution-cta {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 14px;
    padding: 14px 24px;
    font-size: 14px;
    font-weight: 500;
    color: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    cursor: pointer;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 48px;
}

.solution-card.featured .solution-cta {
    background: #0833ff;
    border-color: #0833ff;
    color: #ffffff;
}

/* Vision section */
.vision-section {
    background: #ffffff;
    padding: 64px 16px;
}

.vision-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}

.vision-card {
    background: #ffffff;
    border: 2px solid #f2f4f6;
    border-radius: 16px;
    padding: 40px 32px;
    width: 100%;
    text-align: right;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body[dir="ltr"] .vision-card {
    text-align: left;
}

.vision-card.featured {
    background: #0833ff;
    border-color: #0833ff;
    color: #ffffff;
}

.vision-icon-container {
    background: #f9fafb;
    border-radius: 16px;
    padding: 20px;
    width: 80px;
    height: 80px;
    margin: 0 auto 18px;
}

.vision-card.featured .vision-icon-container {
    background: #4566ff;
}

.vision-title {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 16px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.vision-description {
    font-size: 14px;
    line-height: 1.7;
    color: #717182;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.vision-card.featured .vision-description {
    color: #ffffff;
}

/* Goals section */
.goals-section {
    background: #ffffff;
    padding: 64px 16px;
}

.goals-title {
    font-size: 24px;
    font-weight: 500;
    text-align: center;
    color: #0a0a0a;
    margin-bottom: 48px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.goals-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    width: 100%;
}

.goal-card {
    background: #ffffff;
    border: 2px solid #f2f4f6;
    border-radius: 16px;
    padding: 32px 28px;
    text-align: right;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

body[dir="ltr"] .goal-card {
    text-align: left;
}

.goal-card.featured {
    background: #0833ff;
    border-color: #0833ff;
    color: #ffffff;
}

.goal-icon-container {
    color: #0833FF;
    border-radius: 16px;
    padding: 18px;
    width: 70px;
    height: 70px;
    margin: 0 auto 18px;
}

.feature-card:hover,
.goal-card:hover .goal-icon {
    color: white; /* Changes stroke to white on hover */
}

.goal-card.featured .goal-icon-container {
    background: #4566ff;
    margin-bottom: 16px;
}

.goal-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #333;
    transition: color 0.3s ease;
}

.goal-description {

    font-size: 14px;
    color: #666;
    line-height: 1.5;
    transition: color 0.3s ease;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .goal-card {
        padding: 24px 20px;
    }
}

.goal-card:hover .goal-title,
.goal-card:hover .goal-description {
    color: white;
}

/* Contact section */
.contact-section {
    background: #f9fafb;
    padding: 64px 16px;
}

.contact-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
}

.contact-info {
    width: 100%;
}

.contact-title {
    font-size: 24px;
    font-weight: 500;
    color: #0a0a0a;
    text-align: right;
    margin-bottom: 24px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

body[dir="ltr"] .contact-title {
    text-align: left;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.contact-card {
    background: #ffffff;
    border: 2px solid #f2f4f6;
    border-radius: 16px;
    padding: 24px;
}

.contact-card.featured {
    background: #0833ff;
    border-color: #0833ff;
    color: #ffffff;
}

.contact-card-content {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    flex-direction: row-reverse;
}

body[dir="ltr"] .contact-card-content {
    flex-direction: row;
}

.contact-card-info {
    flex: 1;
    text-align: right;
}

body[dir="ltr"] .contact-card-info {
    text-align: left;
}

.contact-card-title {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 8px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.contact-card-text {
    font-size: 13px;
    line-height: 1.4;
    color: #717182;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.contact-card.featured .contact-card-text {
    color: #ffffff;
}

.contact-card-icon {
    width: 56px;
    height: 56px;
    background: #f9fafb;
    border-radius: 16px;
    padding: 14px;
    flex-shrink: 0;
}

.contact-card.featured .contact-card-icon {
    background: #4566ff;
}

.contact-form {
    background: #ffffff;
    border: 2px solid #f2f4f6;
    border-radius: 16px;
    padding: 32px 24px;
    width: 100%;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.1);
}

.search-data {
    position: relative;
    flex: 1;
}

/* Services Autocomplete Styles */
.search-input-wrapper {
    position: relative;
    width: 100%;
}

.services-input-container {
    position: relative;
    width: 100%;
}

/* Common autocomplete styles for both city and services */
.autocomplete-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e1e5e9;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-height: 300px;
    overflow-y: auto;
    z-index: 1001;
    display: none;
    margin-top: 4px;
}

.autocomplete-dropdown.active {
    display: block;
}

.autocomplete-item {
    padding: 12px 16px;
    cursor: pointer;
    font-family: 'Tajawal', sans-serif;
    font-size: 14px;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.autocomplete-item:last-child {
    border-bottom: none;
}

.autocomplete-item:hover,
.autocomplete-item.selected {
    background-color: #f8f9fa;
    color: #0833ff;
}

.autocomplete-item .service-name {
    flex: 1;
}

.autocomplete-item .service-translation {
    font-size: 12px;
    color: #666;
    opacity: 0.8;
    margin-right: 10px;
}

/* RTL/LTR support */
html[dir="rtl"] .autocomplete-item {
    text-align: right;
}

html[dir="ltr"] .autocomplete-item {
    text-align: left;
}

/* Popular service badge */
.service-badge {
    background-color: #0833ff;
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 10px;
    margin-right: 8px;
}


html[dir="ltr"] .service-translation {
    margin-right: 0;
    margin-left: 10px;
}

/* Search container adjustments */
.search-container {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.search-input-wrapper {
    flex: 1;
    min-width: 200px;
}

.search-input {
    width: 100%;
    padding: 24px 45px;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    font-family: 'Tajawal', sans-serif;
    font-size: 14px;
    transition: all 0.3s ease;
    background: white;
}

.search-input:focus {
    outline: none;
    border-color: #0833ff;
    box-shadow: 0 0 0 2px rgba(8, 51, 255, 0.1);
}

.search-btn {
    background: #0833ff;
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 8px;
    font-family: 'Tajawal', sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.search-btn:hover {
    background: #0629cc;
    transform: translateY(-1px);
}

/* Responsive design */
@media (max-width: 768px) {
    .search-container {
        flex-direction: column;
        gap: 10px;
    }

    .search-input-wrapper {
        width: 100%;
    }

    .search-btn {
        width: 100%;
        padding: 14px;
    }
}


.form-icon {
    position: absolute;
    right: 1rem;
    top: 45%;
    transform: translateY(-50%);
    width: 1.25rem;
    height: 1.25rem;
    color: #A3A6B0;
    pointer-events: none;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    font-size: 14px;
    font-weight: 500;
    color: #0a0a0a;
    margin-bottom: 8px;
    display: block;
    text-align: right;
}

body[dir="ltr"] .form-label {
    text-align: left;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 14px;
    background: #f9fafb;
    font-size: 14px;
    color: #0a0a0a;
    min-height: 48px;
}

.form-textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 14px;
    background: #f9fafb;
    font-size: 14px;
    color: #0a0a0a;
    min-height: 120px;
    resize: vertical;
}

.form-submit {
    background: #0833ff;
    color: #ffffff;
    border: 2px solid #0833ff;
    border-radius: 14px;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 48px;
}

/* Footer */
.footer {
    background: radial-gradient(circle at 20% 80%, #ffdde1 0%, #f9c4d8 25%, #d9b3e6 50%, #b19cd9 70%, #7d8aff 90%, #3a4a8c 100%) fixed;
    padding: 18px;
    position: relative;
}

.footer-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    padding: 48px 16px 0;
    gap: 32px;
    position: relative;
}

.footer-contact {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: right;
}

body[dir="ltr"] .footer-contact {
    text-align: left;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    justify-content: flex-end;
}

body[dir="ltr"] .footer-contact-item {
    justify-content: flex-start;
    flex-direction: row-reverse;
}

.footer-contact-text {
    font-size: 13px;
    color: black;
    line-height: 1.5;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.footer-contact-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    flex-shrink: 0;
}

.footer-services {
    width: 100%;
    text-align: center;
}

.footer-section-title {
    font-size: 16px;
    font-weight: 500;
    color: black;
    margin-bottom: 18px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-link {
    font-size: 13px;
    font-weight: 500;
    color: #0833ff;
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #0833ff;
}

.footer-company {
    width: 100%;
    text-align: right;
}

body[dir="ltr"] .footer-company {
    text-align: left;
}

.footer-logo {
    width: 180px;
    height: 130px;
    margin-bottom: 18px;
}

.footer-description {
    font-size: 13px;
    line-height: 1.6;
    color: #0833ff;
    margin-bottom: 18px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.footer-social-title {
    font-size: 15px;
    font-weight: 500;
    color: #0833ff;
    margin-bottom: 16px;
}

.footer-social-links {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

body[dir="ltr"] .footer-social-links {
    justify-content: flex-start;
}

.footer-social-link {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    background: #0833ff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.footer-social-link:hover {
    background: #0833ff;
}

.footer-bottom {
    border-top: 1px solid #0833ff;
    padding: 24px 0;
    margin-top: 24px;
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 16px;
    text-align: center;
}

.back-to-top {
    background: #0833ff;
    color: #ffffff;
    border: none;
    border-radius: 14px;
    padding: 10px 24px;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 44px;
}

.footer-made-in {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #0833ff;
}

.footer-copyright {
    font-size: 13px;
    color: #0833ff;
}

/* Interactive states */
button:hover,
.cta-button:hover,
.solution-cta:hover,
.form-submit:hover,
.back-to-top:hover {
    transform: translateY(-2px);
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.15);
}

.feature-card:hover,
.service-card:hover,
.step-card:hover,
.solution-card:hover,
.vision-card:hover,
.goal-card:hover,
.feature-description:hover {
    background-color: #0833FF;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(8, 51, 255, 0.2);
    border-color: #0833FF;
    color: white;
}

.form-input:focus,
.form-textarea:focus {
    outline: 2px solid #0833ff;
    outline-offset: 2px;
    border-color: #0833ff;
}

/* Responsive media queries */
@media (min-width: 480px) {
    .hero-title,
    .hero-subtitle {
        font-size: 36px;
    }

    .section-title {
        font-size: 28px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .goals-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 640px) {
    .hero-badge {
        font-size: 15px;
        padding: 12px 32px;
    }

    .hero-title,
    .hero-subtitle {
        font-size: 48px;
    }

    .hero-description {
        font-size: 16px;
    }

    .section-title {
        font-size: 32px;
    }

    .section-subtitle {
        font-size: 16px;
    }

    .section-description {
        font-size: 14px;
    }

    .search-container {
        flex-direction: row;
        padding: 16px;
    }

    .search-btn {
        width: auto;
        flex: 0 0 auto;
        padding: 16px 24px;
    }

    .search-location {
        width: auto;
        flex: 0 0 26%;
    }

    .search-input {
        flex: 1;
    }

    .features-list {
        flex-direction: row;
        gap: 16px;
    }

    .feature-item {
        font-size: 15px;
    }

    .about-section,
    .how-it-works-section,
    .vision-section,
    .goals-section {
        padding: 80px 0;
    }

    .services-section,
    .solutions-section,
    .contact-section {
        padding: 80px 24px;
    }

    .feature-card,
    .service-card,
    .goal-card {
        padding: 28px 24px;
    }

    .step-card {
        padding: 0;
    }

    .solution-card {
        padding: 36px 32px;
    }

    .vision-card {
        padding: 48px 40px;
    }

    .contact-form {
        padding: 40px 32px;
    }
}

@media (min-width: 768px) {
    .mobile-menu-toggle {
        display: none;
    }

    .nav-menu {
        display: flex;
        flex-direction: row;
        width: auto;
        order: 3;
        background: transparent;
        padding: 0;
        margin: 0;
        gap: 20px;
    }

    .nav-item {
        width: auto;
    }

    .header {
        padding: 16px 48px;
    }

    .company-logo {
        width: 100px;
        height: 72px;
        order: 2;
    }

    .hero-title,
    .hero-subtitle {
        font-size: 56px;
    }

    .section-title {
        font-size: 40px;
    }

    .section-header {
        width: 70%;
    }

    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }

    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }

    .goals-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
}

@media (min-width: 1024px) {
    .header {
        padding: 16px 64px;
    }

    .nav-menu {
        gap: 24px;
    }

    .company-logo {
        width: 110px;
        height: 80px;
    }

    .hero-content {
        padding: 0 48px;
    }

    .hero-inner {
        width: 70%;
    }

    .hero-title,
    .hero-subtitle {
        font-size: 64px;
    }

    .section-title {
        font-size: 48px;
    }

    .section-header {
        width: 55%;
    }

    .about-section,
    .how-it-works-section,
    .vision-section,
    .goals-section {
        padding: 112px 0;
    }

    .services-section,
    .solutions-section {
        padding: 96px 32px;
    }

    .contact-section {
        padding: 96px 32px;
    }

    .features-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 28px;
    }

    .services-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 28px;
        width: 90%;
        margin: 0 auto;
    }

    .steps-grid {
        flex-direction: row;
        gap: 32px;
        max-width: 1280px;
        margin: 0 auto;
        padding: 0 0;
    }

    .step-card {
        width: 296px;
    }

    .solutions-grid {
        flex-direction: row;
        gap: 28px;
        max-width: 1280px;
        margin: 0 auto;
        padding: 0 32px;
    }

    .solution-card {
        width: calc(33.333% - 19px);
    }

    .vision-grid {
        flex-direction: row;
        gap: 48px;
        max-width: 1280px;
        margin: 0 auto;
    }

    .vision-card {
        width: 50%;
        padding: 58px 56px;
    }

    .vision-icon-container {
        width: 96px;
        height: 96px;
        padding: 24px;
    }

    .goals-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 28px;
        padding: 0 32px;
    }

    .contact-content {
        flex-direction: row;
        gap: 48px;
        max-width: 1280px;
        margin: 0 auto;
    }

    .contact-info,
    .contact-form {
        width: 50%;
    }

    .footer-content {
        flex-direction: row;
        padding: 96px 48px 0;
        gap: 48px;
    }

    .footer-contact {
        width: 25%;
    }

    .footer-services {
        width: 18%;
    }

    .footer-company {
        width: 35%;
    }

    .footer-logo {
        width: 220px;
        height: 160px;
    }

    .footer-bottom-content {
        flex-direction: row;
        text-align: initial;
    }
}

@media (min-width: 1280px) {
    .container {
        padding: 0 32px;
    }

    .header {
        padding: 16px 82px;
    }

    .hero-title,
    .hero-subtitle {
        font-size: 72px;
    }

    .section-title {
        font-size: 56px;
    }

    .section-header {
        padding: 16px 66px 48px 16px;
        align-items: center;
        margin: auto;
        width: 48%;
    }

    .about-section,
    .how-it-works-section,
    .solutions-section,
    .vision-section,
    .goals-section {
        padding: 128px 50px;
    }

    .services-section {
        padding: 80px 56px;
    }

    .contact-section {
        padding: 128px 18px;
    }

    .footer-content {
        padding: 132px 56px 0;
    }

    .footer-contact {
        width: 20%;
    }

    .footer-services {
        width: 16%;
    }

    .footer-company {
        width: 32%;
    }
}

@media (min-width: 1440px) {
    .hero-title,
    .hero-subtitle {
        font-size: 60px;
    }

    .section-title {
        font-size: 64px;
    }
}


.body-how {
    font-family: 'Tajawal', sans-serif;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #333;
    direction: rtl;
    overflow-x: hidden;
    min-height: 100vh;
    padding: 20px;
}


.steps-container {
    display: flex;
    gap: 15px;
    height: 500px;
    margin-bottom: 40px;
}

.step-panel {
    flex: 0.5;
    background: white;
    border-radius: 20px;
    padding: 25px;
    cursor: pointer;
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border: 2px solid #e0e0e0;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.step-panel::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #0833ff, #8170c0);
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.step-panel.active::before {
    transform: scaleX(1);
}

.step-panel.active {
    flex: 3;
    border-color: #0833ff;
    box-shadow: 0 10px 30px rgba(52, 152, 219, 0.2);
}

.step-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    opacity: 0.7;
    transition: opacity 0.5s ease;
}

.step-panel.active .step-content {
    opacity: 1;
}

.step-icon-container {
    margin-bottom: 20px;
    display: flex;
    justify-content: flex-start;
}

.step-icon {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.step-badge {
    display: inline-block;
    background: #f8f9fa;
    color: #0833ff;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
    width: fit-content;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
}

.step-panel.active .step-badge {
    background: #0833ff;
    color: white;
    border-color: #0833ff;
}

.step-title {
    color: #0833ff;
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.step-panel.active .step-title {
    color: #0833ff;
    font-size: 1.8rem;
}

.step-description {
    flex-grow: 1;
    overflow: hidden;
}

.step-description p {
    color: #7f8c8d;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 1rem;
}

.step-details {
    list-style-type: none;
    padding: 0;
    margin: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease 0.2s;
}

.step-panel.active .step-details {
    opacity: 1;
    transform: translateY(0);
}

.step-details li {
    padding: 8px 0;
    padding-right: 25px;
    position: relative;
    color: #555;
    font-size: 0.95rem;
}

.step-details li::before {
    content: "✓";
    position: absolute;
    right: 0;
    color: #0833ff;
    font-weight: bold;
}

.step-line {
    height: 3px;
    background: #e0e0e0;
    margin-top: 20px;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.step-panel.active .step-line {
    background: #0833ff;
}

.step-line::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 0%;
    background: #8170c0;
    animation: progress 2s ease-in-out infinite;
}

.step-panel.active .step-line::after {
    width: 100%;
    animation: progress 2s ease-in-out infinite;
}

@keyframes progress {
    0% {
        width: 0%;
        right: 0;
    }
    50% {
        width: 100%;
        right: 0;
    }
    100% {
        width: 0%;
        right: 100%;
    }
}

.navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 200px;
    margin: 0 auto;
    padding: 20px;
}

.nav-buttons {
    display: flex;
    gap: 15px;
}


.step-indicators {
    display: flex;
    gap: 15px;
}

.step-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #bdc3c7;
    cursor: pointer;
    transition: all 0.3s ease;
}

.step-indicator.active {
    background: #0833ff;
    transform: scale(1.3);
}

/* Mobile Responsive Styles */
@media (max-width: 1024px) {
    .steps-container {
        height: 450px;
    }

    .step-panel {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .body-how {
        padding: 15px;
    }


    h1 {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1rem;
        margin-bottom: 10px;
    }

    .steps-container {
        flex-direction: column;
        height: auto;
        gap: 15px;
        margin-bottom: 30px;
    }

    .step-panel {
        padding: 20px;
        flex: none;
        min-height: 80px;
        height: auto;
        overflow: hidden;
        transition: all 0.5s ease;
    }

    .step-panel.active {
        height: auto;
        min-height: 350px;
        flex: none;
    }

    .step-icon-container {
        margin-bottom: 15px;
    }

    .step-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .step-title {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }

    .step-panel.active .step-title {
        font-size: 1.5rem;
    }

    .step-badge {
        font-size: 0.85rem;
        padding: 6px 12px;
        margin-bottom: 10px;
    }

    .step-description p {
        font-size: 0.95rem;
        margin-bottom: 15px;
    }

    .step-details li {
        font-size: 0.9rem;
        padding: 6px 0;
        padding-right: 20px;
    }

    .navigation {
        flex-direction: column;
        gap: 20px;
        padding: 15px 0;
    }

    .step-indicators {
        order: 1;
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
    }


    .nav-btn {
        padding: 12px 20px;
        font-size: 0.95rem;
        flex: 1;
        max-width: 48%;
        justify-content: center;
    }

    .step-panel:not(.active) .step-description p {
        display: none;
    }

    .step-panel:not(.active) .step-details {
        display: none;
    }

    .step-panel:not(.active) .step-line {
        display: none;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }


    header {
        margin-bottom: 25px;
    }

    h1 {
        font-size: 1.7rem;
    }

    .subtitle {
        font-size: 0.95rem;
    }

    .steps-container {
        gap: 12px;
    }

    .step-panel {
        padding: 15px;
        border-radius: 15px;
        min-height: 70px;
    }

    .step-panel.active {
        min-height: 380px;
        border-radius: 18px;
    }

    .step-icon {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .step-title {
        font-size: 1.2rem;
    }

    .step-panel.active .step-title {
        font-size: 1.4rem;
    }

    .step-badge {
        font-size: 0.8rem;
        padding: 5px 10px;
    }

    .step-details li {
        font-size: 0.85rem;
        padding-right: 18px;
    }

    .navigation {
        gap: 15px;
    }

    .step-indicators {
        gap: 10px;
    }

    .step-indicator {
        width: 10px;
        height: 10px;
    }

    .nav-btn {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
}

@media (max-width: 360px) {
    h1 {
        font-size: 1.5rem;
    }

    .step-panel {
        padding: 12px;
    }

    .step-panel.active {
        min-height: 400px;
    }

    .step-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .nav-btn {
        font-size: 0.85rem;
        padding: 10px 12px;
    }
}

/* Extra small devices (portrait phones) */
@media (max-width: 320px) {
    .step-panel.active {
        min-height: 420px;
    }

    .step-title {
        font-size: 1.1rem;
    }

    .step-panel.active .step-title {
        font-size: 1.3rem;
    }
}