﻿    /* ===== FIGMA HERO SECTION - EXACT LAYOUT ===== */
    .hero-container {
        width: 100%;
        position: relative;
        overflow: hidden;
        background: #ffffff;
        /* Remove diagonal stripe pattern - keep clean white */
    }

    .hero-wrapper {
        display: flex;
        padding: 64px 156px 64px 64px;
        justify-content: center;
        align-items: center;
        gap: 64px;
        align-self: stretch;
        max-width: 1440px;
        margin: 0 auto;
        position: relative;
        z-index: 2;
    }

    /* Decorative floating orbs - make them more subtle */
    .hero-bg-orb {
        position: absolute;
        border-radius: 50%;
        background: rgba(240, 240, 245, 0.5);
        border: none;
        z-index: 1;
    }

    .hero-orb-1 {
        width: 120px;
        height: 120px;
        top: 60px;
        right: 320px;
        background: linear-gradient(135deg, rgba(245, 245, 250, 0.6), rgba(235, 235, 245, 0.4));
    }

    .hero-orb-2 {
        width: 80px;
        height: 80px;
        top: 50%;
        right: 45%;
        background: rgba(240, 240, 245, 0.3);
    }

    .hero-orb-3 {
        width: 60px;
        height: 60px;
        bottom: 120px;
        left: 35%;
        background: rgba(245, 245, 250, 0.4);
    }

    .hero-image-container {
        flex: 0 0 auto;
        position: relative;
    }

    .hero-image {
        width: 647px;
        height: 534px;
        aspect-ratio: 647/534;
        object-fit: cover;
        border-radius: 24px;
        box-shadow: 0 12px 48px rgba(0, 0, 0, 0.12);
        display: block;
    }

    .hero-content-side {
        flex: 1;
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }

    .hero-content {
        max-width: 540px;
        text-align: right;
    }

    .hero-title h1 {
        font-size: 2.75rem;
        font-weight: 800;
        line-height: 1.25;
        margin: 0 0 1.5rem 0;
        color: #1a1a1a;
    }

    .accent-pill {
        background: #6A5D8B;
        color: #fff;
        padding: 4px 20px;
        border-radius: 12px;
        font-size: 2.75rem;
        display: inline-block;
        margin: 0 4px;
        box-shadow: 0 4px 12px rgba(106, 93, 139, 0.25);
    }

    /* Search Section Styles */
    .search-section {
        background: white;
        border-radius: 20px;
        padding: 24px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
        margin-bottom: 20px;
    }

    .tab-group {
        display: flex;
        gap: 8px;
        background: #f5f3ff;
        padding: 6px;
        border-radius: 50px;
        margin-bottom: 20px;
    }

    .tab {
        flex: 1;
        padding: 10px 20px;
        border: none;
        background: transparent;
        color: #666;
        font-weight: 600;
        font-size: 15px;
        border-radius: 50px;
        cursor: pointer;
        transition: all 0.3s;
    }

    .tab.active {
        background: #6A5D8B;
        color: white;
        box-shadow: 0 2px 8px rgba(106, 93, 139, 0.3);
    }

    .tab:hover:not(.active) {
        background: rgba(106, 93, 139, 0.1);
    }

    .search-inputs-row {
        display: flex;
        gap: 12px;
        align-items: center;
    }

    .search-select {
        flex: 1;
        padding: 14px 18px;
        border: 1px solid #e5e5e5;
        border-radius: 50px;
        font-size: 15px;
        color: #333;
        background: #fafafa;
        cursor: pointer;
        outline: none;
        transition: all 0.3s;
    }

    .search-select:focus {
        border-color: #6A5D8B;
        background: white;
        box-shadow: 0 0 0 3px rgba(106, 93, 139, 0.1);
    }

    .search-btn {
        width: 52px;
        height: 52px;
        flex-shrink: 0;
        border: none;
        border-radius: 12px;
        background: #6A5D8B;
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s;
        box-shadow: 0 4px 12px rgba(106, 93, 139, 0.3);
    }

    .search-btn:hover {
        background: #5A5179;
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(106, 93, 139, 0.4);
    }

    /* Info Pill */
    .info-pill {
        display: inline-flex;
        align-items: center;
        gap: 12px;
        background: #6A5D8B;
        color: white;
        padding: 14px 24px;
        border-radius: 50px;
        font-size: 15px;
        font-weight: 500;
        box-shadow: 0 4px 16px rgba(106, 93, 139, 0.25);
    }

    .info-pill svg {
        flex-shrink: 0;
    }

    /* Responsive adjustments */
    @media (max-width: 1200px) {
        .hero-wrapper {
            padding: 48px 80px 48px 48px;
            gap: 48px;
        }
    
        .hero-image {
            width: 500px;
            height: 413px;
        }
    
        .hero-title h1 {
            font-size: 2.25rem;
        }
    
        .accent-pill {
            font-size: 2.25rem;
        }
    }

    @media (max-width: 992px) {
        .hero-wrapper {
            flex-direction: column-reverse;
            padding: 32px 24px;
            gap: 32px;
        }
    
        .hero-image {
            width: 100%;
            height: auto;
            max-width: 600px;
        }
    
        .hero-content-side {
            justify-content: center;
        }
    
        .hero-content {
            text-align: center;
            max-width: 100%;
        }
    
        .hero-title h1 {
            font-size: 2rem;
        }
    
        .accent-pill {
            font-size: 2rem;
        }
    
        .hero-bg-orb {
            display: none;
        }
    
        .search-inputs-row {
            flex-wrap: wrap;
        }
    
        .search-select {
            min-width: 45%;
        }
    }

    /* ===== END FIGMA HERO SECTION ===== */

    /* ===== FIGMA ADS SECTION (إعلانات) ===== */
    .ads-section {
        background: #fafafa;
        padding: 60px 0;
        direction: rtl;
    }

    .ads-section-title {
        font-size: 32px;
        font-weight: 800;
        color: #1a1a1a;
        margin-bottom: 48px;
    }

    .ads-horizontal-scroll {
        display: flex;
        gap: 24px;
        justify-content: center;
        align-items: center;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding: 20px 0;
    }

    .ad-card-figma {
        background: white;
        border-radius: 16px;
        padding: 24px;
        min-width: 280px;
        max-width: 320px;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
        transition: all 0.3s;
        flex-shrink: 0;
    }

    .ad-card-figma:hover {
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
        transform: translateY(-4px);
    }

    .ad-card-featured {
        transform: scale(1.08);
        box-shadow: 0 8px 32px rgba(106, 93, 139, 0.15);
        border: 2px solid #6A5D8B;
    }

    .ad-card-featured:hover {
        transform: scale(1.08) translateY(-4px);
    }

    .ad-card-header {
        text-align: right;
        margin-bottom: 16px;
    }

    .ad-badge {
        display: inline-block;
        background: #f0f0f0;
        color: #666;
        padding: 6px 16px;
        border-radius: 20px;
        font-size: 13px;
        font-weight: 600;
    }

    .ad-badge-featured {
        background: #6A5D8B;
        color: white;
    }

    .ad-card-body {
        text-align: center;
    }

    .ad-company-logo {
        width: 80px;
        height: 80px;
        object-fit: contain;
        margin: 0 auto 16px;
        background: #f5f5f5;
        padding: 12px;
        border-radius: 12px;
    }

    .ad-logo-large {
        width: 120px;
        height: 120px;
    }

    .ad-company-name {
        font-size: 18px;
        font-weight: 700;
        color: #1a1a1a;
        margin-bottom: 16px;
    }

    .ad-stats {
        list-style: none;
        padding: 0;
        margin: 0;
        text-align: right;
    }

    .ad-stats li {
        font-size: 14px;
        color: #666;
        margin-bottom: 10px;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .ad-stats i {
        color: #6A5D8B;
        font-size: 16px;
    }

    @media (max-width: 992px) {
        .ads-horizontal-scroll {
            justify-content: flex-start;
            padding-right: 20px;
            padding-left: 20px;
        }
    
        .ad-card-featured {
            transform: scale(1);
        }
    }

    /* ===== END FIGMA ADS SECTION ===== */

    .ads-section {
        background: #fff;
    }
    .ads-wrap {
        background: #fff;
        border-radius: 24px;
    }
    .ads-title {
        font-size: 32px;
        font-weight: 800;
        color: #1a1a1a;
    }

    .ads-row {
        flex-wrap: nowrap !important;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .ads-row > [class^="col-"],
    .ads-row > [class*=" col-"] {
        flex: 0 0 auto;
        min-width: 340px;
    }
    .ad-card {
        background: #fff;
        border: 1px solid #eee;
        border-radius: 18px;
        box-shadow: 0 2px 12px rgba(106,93,139,0.07);
        min-height: 260px;
        transition: box-shadow 0.2s;
    }
    .ad-card:hover {
        box-shadow: 0 4px 24px rgba(106,93,139,0.13);
    }
    .ad-logo {
        max-width: 80px;
        max-height: 80px;
        object-fit: contain;
        border-radius: 12px;
        background: #f5f3ff;
        box-shadow: 0 2px 8px rgba(106,93,139,0.08);
    }
    .ad-details h5 {
        font-size: 18px;
        font-weight: 700;
        margin-bottom: 0.5rem;
    }
    .ad-details ul {
        font-size: 15px;
        color: #444;
    }
    .ad-details .badge {
        font-size: 13px;
        font-weight: 600;
        border-radius: 8px;
        padding: 4px 12px;
        margin-bottom: 6px;
    }
    /* Central stylesheet for the site (header + main content styles moved here) */

    /* Global RTL & font */
    body {
        direction: rtl;
        font-family: 'Cairo', sans-serif;
    }

    /* Brand color tokens */
    :root {
        --aq-primary: #6A5D8B;            /* requested button color */
        --aq-primary-hover: #5A5179;      /* slightly darker for hover/focus */
        --aq-primary-ghost: rgba(106,93,139,0.08);
    }

    /* Header styles */
    .header {
        background-color: #fff;
        border-bottom: 1px solid #ddd;
        padding: 8px 16px;
    }

    .navbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 30px;
    }

    .logo-text {
        font-size: 13px;
        font-weight: 700;
        color: #fff;
        background-color: #7B5CF4;
        padding: 6px 12px;
        border-radius: 12px;
    }

    .nav-links {
        display: flex;
        list-style: none;
        gap: 22px;
        margin: 0;
        padding: 0;
        flex: 1;
        justify-content: center;
        align-items: center;
    }

    .nav-links a {
        text-decoration: none;
        color: #666;
        font-weight: 500;
        font-size: 14px;
        padding: 6px 4px;
        transition: color 0.15s ease, background 0.15s ease;
    }

    .nav-links a.active {
        color: #111;
        font-weight: 700;
    }

    .action-buttons {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .outline-btn {
        border: 1.5px solid var(--aq-primary);
        color: var(--aq-primary);
        background-color: transparent;
        padding: 6px 12px;
        border-radius: 18px;
        font-weight: 600;
        cursor: pointer;
        font-size: 13px;
    }

    .fill-btn {
        background-color: var(--aq-primary);
        color: #fff;
        border: none;
        padding: 6px 12px;
        border-radius: 18px;
        font-weight: 600;
        cursor: pointer;
        font-size: 13px;
    }

    .icon-btn, .user-icon {
        width: 36px;
        height: 36px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
    }

    .user-icon {
        border: 1.5px solid var(--aq-primary);
        border-radius: 50%;
        color: var(--aq-primary);
        cursor: pointer;
    }

    .outline-btn:hover {
        background-color: var(--aq-primary-ghost);
    }

    .fill-btn:hover {
        background-color: var(--aq-primary-hover);
    }

    /* Main content / hero styles */
    .hero-content {
        padding-right: 3rem;
        margin-top: 2rem;
    }

    .hero-title h1 {
        font-size: 2.25rem;
        font-weight: 800;
        line-height: 1.4;
        margin: 0;
        color: #1a1a1a;
    }

    .accent-pill {
        background: #7B5CF4;
        color: #fff;
        padding: 4px 16px;
        border-radius: 8px;
        font-size: 1.1rem;
        display: inline-block;
        margin: 0 4px;
    }

    .search-section {
        box-shadow: 0 4px 16px rgba(0,0,0,0.03);
        border: 1px solid #f0f0f0;
        padding: 1.5rem !important;
    }

    .search-tabs {
        margin-bottom: 1.25rem;
    }

    .tab-group {
        display: flex;
        gap: 0.25rem;
        background: #f8f9fa;
        padding: 4px;
        border-radius: 50rem;
        width: fit-content;
        margin: 0 auto;
    }

    .tab {
        padding: 8px 24px;
        border: none;
        background: transparent;
        color: #666;
        font-weight: 500;
        font-size: 0.875rem;
        transition: all 0.2s;
        border-radius: 50rem;
        min-width: 80px;
    }

    .tab:hover:not(.active) {
        background: var(--aq-primary-ghost);
        color: var(--aq-primary);
    }

    .tab.active {
        background: var(--aq-primary);
        color: white;
        font-weight: 600;
    }

    .tabs .tab { flex: 1; border: none; background: transparent; padding: 8px 12px; border-radius: 30px; font-weight:600; color:#666; }
    .tabs .tab.active { background: #F3EEFF; color: #7B5CF4; }

    .search-controls {
        display: flex;
        gap: 0.75rem;
        align-items: center;
    }

    .select-group {
        display: flex;
        gap: 0.75rem;
        flex-grow: 1;
    }

    .select-wrapper {
        position: relative;
        flex: 1;
    }

    .form-select {
        width: 100%;
        padding: 0.75rem 1rem;
        border: 1px solid #eee;
        border-radius: 50rem;
        appearance: none;
        background: #fff url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='%237B5CF4' d='M8 10L4 6h8l-4 4z'/%3e%3c/svg%3e") no-repeat left 1rem center/12px;
        color: #666;
        font-size: 0.875rem;
        font-weight: 500;
    }

    .form-select:focus {
        outline: none;
        border-color: #7B5CF4;
        box-shadow: 0 0 0 2px rgba(123, 92, 244, 0.1);
    }

    .search-btn {
        width: 48px;
        height: 48px;
        border: none;
        border-radius: 12px;
        background: var(--aq-primary);
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.2s;
        box-shadow: 0 2px 8px rgba(106, 93, 139, 0.2);
    }

    .search-btn:hover {
        background: var(--aq-primary-hover);
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(106, 93, 139, 0.3);
    }

    .info-pill {
        background: #7B5CF4;
        color: #fff;
        max-width: fit-content;
        padding: 0.75rem 1.5rem;
        border-radius: 50rem;
        box-shadow: 0 4px 12px rgba(123, 92, 244, 0.15);
        font-size: 0.875rem;
        display: flex;
        align-items: center;
        gap: 0.75rem;
        margin-top: 1.5rem;
    }

    .info-pill img {
        width: 28px;
        height: 28px;
        object-fit: contain;
    }

    /* Responsive adjustments */
    @media (max-width: 992px) {
        .hero-content {
            padding-right: 0;
            text-align: center;
        }
    
        .tab-group {
            margin: 0 auto;
        }
    
        .info-pill {
            margin-left: auto;
            margin-right: auto;
        }
    }

    /* Ensure the hero row uses LTR layout so Bootstrap order classes work predictably
       (we keep text direction inside columns as RTL) */
    .main-content .row {
        direction: ltr;
        align-items: center;
    }

    .hero-right {
        direction: rtl; /* keep text alignment and reading order inside the right column */
        text-align: right;
    }

    /* Constrain search card and info pill so they sit on the right side and don't stretch */
    .search-card {
        max-width: 540px;
        margin-left: auto; /* push to the right within the LTR row */
    }

    .info-pill {
        margin-left: auto;
        max-width: 540px;
    }

    /* LTR overrides for the hero area only */
    .main-content[dir="ltr"] .form-select {
        background-position: right 1rem center;
        padding-right: 2.25rem;
        padding-left: 1rem;
    }

    .main-content[dir="ltr"] .search-card {
        margin-left: auto;
    }

    .section-title { font-size: 32px; font-weight: 800; }

    .feature-card { background: #fff; border: 1px solid #f2f1f6; }
    .feature-icon { width: 84px; height: 84px; object-fit: contain; }
    .feature-list { list-style: none; padding: 0; margin: 10px 0 0 0; font-size: 14px; }
    .feature-list li::before { content: "\2713 "; color: #2db94d; margin-left:6px; }

    .feature-card.popular { background: linear-gradient(180deg,#fff,#faf7ff); position: relative; }
    .feature-card .ribbon { position: absolute; transform: translateX(40%); right: -6px; top: 12px; background:#7B5CF4; color:#fff; padding:6px 8px; border-radius:8px; font-size:12px; }

    /* RTL adjustments */
    .feature-card .ribbon { left: auto; }

    /* Features container styling to match reference */
    .features-wrap {
        background: #F5F3FF;
        border: 1px solid #eee9ff;
        border-radius: 24px;
    }

    /* Purple buttons inside this page section */
    /* Global button color overrides */
    .btn-primary {
        background-color: var(--aq-primary) !important;
        border-color: var(--aq-primary) !important;
    }
    .btn-primary:hover,
    .btn-primary:focus {
        background-color: var(--aq-primary-hover) !important;
        border-color: var(--aq-primary-hover) !important;
    }

    .btn-outline-primary {
        color: var(--aq-primary) !important;
        border-color: var(--aq-primary) !important;
    }
    .btn-outline-primary:hover,
    .btn-outline-primary:focus {
        color: #fff !important;
        background-color: var(--aq-primary) !important;
        border-color: var(--aq-primary) !important;
    }

    /* Place ribbon on the left for LTR hero page to mirror screenshot composition */
    .main-content[dir="ltr"] .feature-card.popular .ribbon {
        left: -6px;
        right: auto;
        transform: translateX(-40%);
    }

    /* Partners / Brokers band */
    .partners-band {
        background: var(--aq-primary);
        color: #fff;
    }
    .partners-title { color: #fff; font-size: 28px; font-weight: 800; }
    .logos-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
    .logo-item { display: flex; align-items: center; justify-content: center; min-width: 120px; }
    .partner-logo { max-height: 40px; width: auto; object-fit: contain; opacity: 0.95; }
    .logo-white { filter: brightness(0) invert(1); }
    .logo-fallback { display: none; color: #fff; font-weight: 700; opacity: .9; }

    @media (max-width: 768px) {
        .logos-row { justify-content: center; }
    }

    /* Keep features cards in a single row with graceful horizontal scroll on small screens */
    .features-row {
        flex-wrap: nowrap !important;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
    }
    .features-row > [class^="col-"],
    .features-row > [class*=" col-"] {
        flex: 0 0 auto; /* prevent shrinking/wrapping */
        min-width: 320px; /* keep card readable on small screens */
    }

    /* Responsive rules */
    @media (max-width: 992px) {
        .hero-image { max-height: 260px; }
        .hero-title { text-align: center; }
        .hero-right { text-align: center !important; }
        .info-pill { margin-left: auto; margin-right: auto; }
    }

    @media (max-width: 768px) {
        .nav-links { display: none; }
        .nav-inner { gap: 8px; }
        .outline-btn, .fill-btn { padding: 6px 10px; font-size: 12px; }
    }

    /* Small helper styles */
    .rounded-pill { border-radius: 50rem !important; }

    .features-section {
        text-align: center;
        margin-top: 60px;
    }

    .features-wrap {
        background-color: #f8f9fa;
        border-radius: 20px;
    }

    .section-title {
        text-align: center;
        font-weight: 700;
        margin-bottom: 40px;
    }

    .features-row {
        display: flex;
        justify-content: center;
        align-items: stretch;
        flex-wrap: wrap; /* wraps on smaller screens */
        gap: 30px; /* increased spacing */
    }

    .feature-card {
        background: #fff;
        border-radius: 16px;
        padding: 25px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        flex: 1 1 31%; /* ⬅️ slightly increased width (was 30%) */
        max-width: 400px; /* ⬅️ wider cards */
        transition: transform 0.3s ease;
    }

        .feature-card:hover {
            transform: translateY(-5px);
        }

    .feature-icon {
        width: 100%;
        height: 200px; /* ⬆️ bigger image */
        object-fit: cover;
        border-radius: 12px;
    }

    .feature-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }

        .feature-list li {
            margin-bottom: 8px;
            font-size: 15px;
        }

    .ribbon {
        position: absolute;
        top: 15px;
        right: -30px;
        background: #7B5CF4;
        color: white;
        padding: 5px 40px;
        transform: rotate(45deg);
        font-size: 12px;
    }

    .popular {
        position: relative;
    }

    /* ✅ Responsive breakpoints */
    @media (max-width: 992px) {
        .feature-card {
            flex: 1 1 45%; /* 2 per row on tablets */
            max-width: 45%;
        }
    }

    @media (max-width: 768px) {
        .feature-card {
            flex: 1 1 100%; /* 1 per row on mobile */
            max-width: 100%;
        }
    }
    /*for logo */
    .hero-image {
        width: 80%; /* reduced width */
        max-width: 420px; /* max image size */
        height: auto;
        object-fit: cover;
        border-radius: 16px;
        transition: all 0.3s ease;
    }

        .hero-image:hover {
            transform: scale(1.03); /* small hover zoom */
        }

    .accent-pill {
        color: #7B5CF4;
        font-weight: 700;
    }

    .bg-purple {
        background: #7B5CF4;
        color: #fff;
    }

    .tab {
        border: none;
        background: transparent;
        color: #444;
        font-weight: 600;
    }

        .tab.active {
            background: #7B5CF4;
            color: #fff;
        }

    .search-card {
        width: 100%;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    }

    @media (min-width: 992px) {
        .row.gx-5 {
            flex-wrap: nowrap; /* keep side by side */
        }
    }

    @media (max-width: 991.98px) {
        .hero-image {
            width: 100%; /* full width on small screens */
            max-width: none;
        }

        .hero-content {
            margin-top: 18px;
        }
    }

    .ads-section {
        direction: rtl;
    }

    .ads-section-title {
        font-size: 2rem;
        font-weight: 700;
    }

    .ads-horizontal-scroll {
        display: flex;
        gap: 24px;
        overflow-x: auto;
        scroll-behavior: smooth;
        padding-bottom: 10px;
    }

    .ad-card-figma {
        flex: 0 0 280px;
        background: #fff;
        border-radius: 16px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.08);
        transition: transform 0.3s ease;
        border: 1px solid #eee;
    }

        .ad-card-figma:hover {
            transform: translateY(-5px);
        }

    .ad-card-header {
        display: flex;
        justify-content: flex-end;
        padding: 8px 12px 0 0;
    }

    .ad-badge {
        background-color: #f3f2f2;
        color: #6b6b6b;
        border-radius: 12px;
        padding: 4px 10px;
        font-size: 0.85rem;
        font-weight: 500;
    }

    .ad-badge-featured {
        background-color: #efe9fc;
        color: #7b49c3;
    }

    .ad-card-body {
        padding: 16px;
    }

    .ad-company-logo {
        width: 70px;
        height: 70px;
        border-radius: 12px;
        object-fit: contain;
    }

    .ad-logo-large {
        width: 80px;
        height: 80px;
    }

    .ad-company-name {
        font-weight: 600;
        font-size: 1rem;
        color: #333;
    }

    .ad-stats {
        font-size: 0.9rem;
        color: #666;
        line-height: 1.6;
    }

        .ad-stats i {
            margin-left: 6px;
            color: #8b8b8b;
        }
    .projects-section {
        direction: rtl;
        background-color: #f8f7fb;
        padding: 40px 0;
        border-radius: 20px;
    }

    .projects-header {
        text-align: right;
    }

    .section-title {
        font-size: 1.8rem;
        color: #000;
    }

    .btn-more {
        background-color: #6e56cf;
        color: #fff;
        border: none;
        border-radius: 10px;
        padding: 8px 18px;
        font-weight: 500;
        font-size: 0.95rem;
        transition: all 0.3s ease;
    }

        .btn-more:hover {
            background-color: #5941b3;
        }

    .projects-scroll {
        display: flex;
        gap: 24px;
        overflow-x: auto;
        scroll-behavior: smooth;
        padding-bottom: 10px;
    }

    .project-card {
        flex: 0 0 280px;
        background: #fff;
        border-radius: 20px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.08);
        transition: transform 0.3s ease;
        overflow: hidden;
        border: 1px solid #eee;
    }

        .project-card:hover {
            transform: translateY(-5px);
        }

    .project-image {
        width: 100%;
        height: 180px;
        object-fit: cover;
    }

    .project-body {
        padding: 15px;
    }

    .project-type {
        background-color: #efe9fc;
        color: #7b49c3;
        border-radius: 12px;
        padding: 4px 10px;
        font-size: 0.85rem;
        font-weight: 500;
    }

    .project-title {
        font-weight: 700;
        font-size: 1.1rem;
        margin-top: 8px;
        color: #222;
    }

    .project-tags {
        display: flex;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 6px;
        margin-top: 10px;
        color: #6b6b6b;
        font-size: 0.85rem;
    }

        .project-tags span {
            background-color: #f3f0fa;
            border-radius: 8px;
            padding: 3px 8px;
        }

    .project-location, .project-details {
        font-size: 0.9rem;
        color: #777;
        margin-top: 6px;
    }

        .project-location i,
        .project-details i {
            color: #9c83e2;
            margin-left: 5px;
        }

    .project-price {
        margin-top: 10px;
        font-weight: 600;
        font-size: 1rem;
        color: #333;
    }

        .project-price span {
            color: #000;
            font-weight: 700;
        }

    .auctions-section {
        direction: rtl;
        background-color: #fff;
        padding: 40px 0;
    }

    .auctions-header {
        text-align: right;
    }

    .section-title {
        font-size: 1.8rem;
        color: #000;
    }

    .btn-more {
        background-color: #6e56cf;
        color: #fff;
        border: none;
        border-radius: 10px;
        padding: 8px 18px;
        font-weight: 500;
        font-size: 0.95rem;
        transition: all 0.3s ease;
    }

        .btn-more:hover {
            background-color: #5941b3;
        }

    .auctions-scroll {
        display: flex;
        gap: 24px;
        overflow-x: auto;
        scroll-behavior: smooth;
        padding-bottom: 10px;
    }

    /* Card */
    .auction-card {
        flex: 0 0 280px;
        background: #fff;
        border-radius: 20px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.08);
        overflow: hidden;
        transition: transform 0.3s ease;
    }

        .auction-card:hover {
            transform: translateY(-5px);
        }

    .auction-header-img {
        width: 100%;
        height: 120px;
        object-fit: cover;
        background: linear-gradient(90deg, #0e3b5c, #007b8f);
    }

    .auction-countdown {
        display: flex;
        justify-content: space-around;
        background: #fff;
        border-radius: 12px;
        box-shadow: 0 2px 6px rgba(0,0,0,0.05);
        margin: -20px auto 10px;
        width: 90%;
        padding: 10px 0;
    }

    .count-item {
        text-align: center;
    }

        .count-item span {
            font-weight: 700;
            font-size: 1.2rem;
            color: #4c3ecb;
        }

        .count-item small {
            display: block;
            color: #999;
            font-size: 0.8rem;
        }

    .auction-body {
        padding: 10px 15px;
        text-align: right;
    }

    .auction-title {
        font-weight: 700;
        color: #000;
        font-size: 1rem;
        margin-bottom: 6px;
    }

    .auction-status {
        border-radius: 8px;
        padding: 2px 10px;
        font-size: 0.85rem;
        font-weight: 600;
        color: #fff;
    }

    .auction-closed {
        background-color: #b0b0b0;
    }

    .auction-upcoming {
        background-color: #9c83e2;
    }

    .auction-active {
        background-color: #38b36f;
    }

    .auction-info {
        font-size: 0.9rem;
        color: #555;
        margin-top: 8px;
    }

        .auction-info p {
            margin: 3px 0;
        }

        .auction-info i {
            color: #9c83e2;
            margin-left: 5px;
        }

    .auction-footer {
        background-color: #f7f6fb;
        padding: 10px 15px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-size: 0.85rem;
        color: #666;
        border-top: 1px solid #eee;
    }

    .sponsor-logo {
        height: 20px;
        object-fit: contain;
    }
    .ads-section {
        background: #fff;
        padding: 40px 0;
        text-align: center;
        font-family: 'Cairo', sans-serif;
    }

    .ads-title {
        font-size: 28px;
        font-weight: 700;
        margin-bottom: 40px;
    }

    .ads-slider {
        display: flex;
        justify-content: center;
        gap: 24px;
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: thin;
    }

    .ad-card {
        background: #fff;
        border-radius: 20px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
        width: 280px;
        min-width: 280px;
        padding: 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: right;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

        .ad-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
        }

    .ad-info h4 {
        margin: 8px 0;
        font-size: 18px;
        color: #222;
    }

    .ad-category {
        color: #666;
        font-size: 14px;
        margin-bottom: 8px;
    }

    .ad-badge {
        background: #d9d2f3;
        color: #5b3cc4;
        padding: 4px 10px;
        border-radius: 8px;
        font-size: 12px;
    }

    .ad-stats p {
        font-size: 13px;
        color: #555;
        margin: 2px 0;
    }

    .ad-logo {
        width: 70px;
        height: 70px;
        border-radius: 10px;
        object-fit: cover;
    }

    /*form home image*/
    .hero-container {
        position: relative;
        background: #fff;
        padding: 60px 80px;
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden;
        direction: rtl;
        font-family: 'Cairo', sans-serif;
    }

    .hero-wrapper {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 80px;
        max-width: 1400px;
        width: 100%;
        /* 👇 Ensure image is on LEFT and content on RIGHT */
        flex-direction: row-reverse;
    }

    .hero-image-container {
        flex: 1.2;
        display: flex;
        justify-content: center;
    }

    .hero-image {
        width: 100%;
        max-width: 650px; /* 👈 Makes it big */
        height: auto;
        border-radius: 18px;
        object-fit: cover;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    }

    .hero-content-side {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-title h1 {
        font-size: 42px;
        font-weight: 700;
        color: #1c1c1c;
        line-height: 1.5;
        text-align: right;
    }

    .accent-pill {
        background: #7b5ad1;
        color: #fff;
        padding: 4px 12px;
        border-radius: 12px;
    }

    .search-section {
        box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
        width: 100%;
        margin-top: 20px;
    }

    .tab-group {
        display: flex;
        gap: 12px;
        justify-content: center;
    }

    .tab {
        background: #f2f1f8;
        color: #7a6fc2;
        border: none;
        border-radius: 10px;
        padding: 10px 30px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
    }

        .tab.active {
            background: #7b5ad1;
            color: white;
        }

    .search-controls {
        display: flex;
        justify-content: space-between;
    }

    .search-inputs-row {
        display: flex;
        gap: 12px;
    }

    .search-select {
        border: 1px solid #ddd;
        border-radius: 10px;
        padding: 10px 16px;
        font-size: 14px;
        flex: 1;
    }

    .search-btn {
        background: #7b5ad1;
        border: none;
        border-radius: 10px;
        width: 50px;
        display: flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
    }

    .info-pill {
        background: #7b5ad1;
        color: white;
        border-radius: 14px;
        padding: 14px 24px;
        display: inline-flex;
        align-items: center;
        gap: 10px;
        font-size: 14px;
        margin-top: 20px;
    }

    /* --- Optional Decorative Orbs --- */
    .hero-bg-orb {
        position: absolute;
        border-radius: 50%;
        filter: blur(100px);
        z-index: 0;
    }

    .hero-orb-1 {
        top: 0;
        left: 0;
        width: 300px;
        height: 300px;
        background: rgba(123, 90, 209, 0.15);
    }

    .hero-orb-2 {
        bottom: 50px;
        right: 150px;
        width: 250px;
        height: 250px;
        background: rgba(199, 170, 255, 0.25);
    }

    /* --- Responsive Design --- */
    @media (max-width: 992px) {
        .hero-wrapper {
            flex-direction: column;
            gap: 40px;
        }

        .hero-image {
            max-width: 100%;
        }

        .hero-title h1 {
            font-size: 32px;
            text-align: center;
        }

        .hero-content-side {
            align-items: center;
            text-align: center;
        }

        .search-section {
            width: 100%;
        }
    }
