/* ===========================
   Hero Slider Section
   =========================== */
.hero-section {
    margin: 30px 0;
}

.hero-swiper {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.slider-image {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.swiper-button-next,
.swiper-button-prev {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.95);
    border-radius: 50%;
    box-shadow: var(--shadow-md);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 20px;
    font-weight: 900;
    color: var(--primary-color);
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--white);
    opacity: 0.6;
}

.swiper-pagination-bullet-active {
    background: var(--primary-color);
    opacity: 1;
    width: 30px;
    border-radius: 5px;
}

/* ===========================
   Categories Section
   =========================== */
.categories-section {
    margin: 60px 0;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-dark);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 25px;
}

.category-card {
    background: var(--white);
    border-radius: 16px;
    padding: 25px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.category-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-light);
    overflow: hidden;
}

.category-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
}

.badge-new-category {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #FF5722;
    color: var(--white);
    font-size: 9px;
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

/* ===========================
   Discover Kuwait Section
   =========================== */
.discover-section {
    background: linear-gradient(135deg, #FFF8E1 0%, #FFECB3 100%);
    border-radius: 20px;
    padding: 50px 40px;
    margin: 50px 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.discover-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.section-title-discover {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.badge-new-inline {
    background: #FF5722;
    color: var(--white);
    font-size: 11px;
    padding: 4px 12px;
    border-radius: 16px;
    font-weight: 700;
    text-transform: uppercase;
}

.discover-subtitle {
    font-size: 15px;
    color: var(--text-light);
    margin: 10px 0 20px;
}

.see-all-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
}

.see-all-link:hover {
    gap: 12px;
}

.discover-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 20px;
}

.discover-card {
    background: var(--white);
    border-radius: 16px;
    padding: 20px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.discover-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.discover-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-light);
    overflow: hidden;
}

.discover-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.discover-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
    line-height: 1.4;
}

/* ===========================
   Trending Categories Section
   =========================== */
.trending-section {
    background: linear-gradient(135deg, #5B8DEE 0%, #4A7BDB 100%);
    border-radius: 20px;
    padding: 50px 40px;
    margin: 50px 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.section-title-white {
    font-size: 32px;
    font-weight: 700;
    color: var(--white);
    text-align: center;
    margin-bottom: 40px;
}

.trending-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.trending-card {
    background: var(--white);
    border-radius: 16px;
    padding: 25px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.trending-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.trending-icon {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-light);
    overflow: hidden;
}

.trending-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.trending-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
}

/* ===========================
   Statistics Section
   =========================== */
.statistics-section {
    background: linear-gradient(135deg, #E8EAF6 0%, #C5CAE9 100%);
    border-radius: 20px;
    padding: 60px 40px;
    margin: 50px 0;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.stats-content {
    text-align: center;
}

.stats-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 40px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.stat-card {
    background: var(--white);
    border-radius: 16px;
    padding: 30px 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.stat-number {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 13px;
    color: var(--text-light);
    font-weight: 500;
    margin: 0;
}

.btn-post-ad-large {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-color);
    color: var(--white);
    padding: 16px 40px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(49, 39, 131, 0.3);
}

.btn-post-ad-large:hover {
    background: #25195f;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(49, 39, 131, 0.4);
}

.btn-post-ad-large i {
    font-size: 20px;
    font-weight: 700;
}

/* ===========================
   Tips Section
   =========================== */
.tips-section {
    margin: 60px 0;
}

.section-title-dark {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-dark);
}

.tips-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.tips-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tip-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.tip-item:hover,
.tip-item.active {
    background: var(--bg-light);
    border-color: var(--primary-color);
}

.tip-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #25195f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 22px;
    flex-shrink: 0;
}

.tip-text {
    flex: 1;
}

.tip-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.tip-description {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.tips-visual {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tips-image {
    position: absolute;
    max-width: 100%;
    max-height: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.tips-image.active {
    opacity: 1;
    z-index: 1;
}

/* ===========================
   Explore Section
   =========================== */
.explore-section {
    margin: 60px 0;
}

.section-title-explore {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-dark);
}

.explore-grid {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    gap: 20px;
}

.explore-card {
    background: var(--white);
    border-radius: 16px;
    padding: 20px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.explore-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.explore-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-light);
    overflow: hidden;
}

.explore-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.explore-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
    line-height: 1.4;
}

/* ===========================
   Featured Ads Section
   =========================== */
.featured-ads-section {
    margin: 60px 0;
}

.section-header-tabs {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.section-title-ads {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.tabs-wrapper {
    display: flex;
    gap: 10px;
    background: var(--bg-light);
    padding: 5px;
    border-radius: 10px;
}

.tab-btn {
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-light);
    transition: var(--transition);
}

.tab-btn.active {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.ads-scroll-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 10px 0;
    scrollbar-width: thin;
}

.ads-scroll-container::-webkit-scrollbar {
    height: 6px;
}

.ads-scroll-container::-webkit-scrollbar-track {
    background: var(--bg-light);
    border-radius: 10px;
}

.ads-scroll-container::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.ad-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    min-width: 280px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.ad-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.ad-image-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.ad-swiper {
    height: 100%;
}

.ad-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vip-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #FFD700;
    color: var(--text-dark);
    font-size: 11px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    z-index: 2;
}

.favorite-btn {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 36px;
    height: 36px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--text-light);
    transition: var(--transition);
    z-index: 2;
}

.favorite-btn:hover {
    color: var(--danger);
    transform: scale(1.1);
}

.ad-content {
    padding: 15px;
}

.ad-category {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 5px;
}

.ad-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ad-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ad-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
}

.ad-time {
    font-size: 12px;
    color: var(--text-light);
}

/* ===========================
   App Download Section
   =========================== */
.app-download-section {
    background: linear-gradient(135deg, #1565C0 0%, #0D47A1 100%);
    padding: 70px 0;
    color: var(--white);
    margin: 60px 0 0;
}

.app-download-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.app-download-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.app-download-subtitle {
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.7;
    opacity: 0.95;
}

.app-download-badges {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.app-store-badge img,
.play-store-badge img {
    height: 50px;
    width: auto;
    transition: var(--transition);
}

.app-store-badge:hover img,
.play-store-badge:hover img {
    transform: scale(1.05);
}

.app-download-divider {
    text-align: center;
    margin: 30px 0;
    position: relative;
}

.app-download-divider::before,
.app-download-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: rgba(255,255,255,0.3);
}

.app-download-divider::before {
    right: 0;
}

.app-download-divider::after {
    left: 0;
}

.app-download-divider span {
    background: #1565C0;
    padding: 0 20px;
    position: relative;
    font-size: 16px;
}

.app-download-qr {
    text-align: center;
}

.qr-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

.qr-code-image {
    width: 180px;
    height: 180px;
    margin: 0 auto 20px;
    background: var(--white);
    padding: 15px;
    border-radius: 12px;
}

.qr-features {
    list-style: none;
    text-align: right;
    margin-top: 20px;
}

.qr-features li {
    padding: 8px 0;
    padding-right: 25px;
    position: relative;
    font-size: 14px;
    opacity: 0.9;
}

.qr-features li::before {
    content: '✓';
    position: absolute;
    right: 0;
    font-size: 18px;
    color: var(--white);
    font-weight: 700;
}

.app-download-visual {
    position: relative;
    text-align: center;
}

.app-mockup-image {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
}

/* ===========================
   Responsive Design - Home
   =========================== */

/* Tablets */
@media (max-width: 991px) {
    .slider-image {
        height: 350px;
    }

    .categories-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }

    .discover-section {
        padding: 40px 30px;
    }

    .discover-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .trending-section {
        padding: 40px 30px;
    }

    .trending-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .statistics-section {
        padding: 50px 30px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tips-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .tips-visual {
        height: 500px;
    }

    .explore-grid {
        grid-template-columns: repeat(5, 1fr);
    }

    .app-download-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .app-download-visual {
        order: -1;
    }

    .app-mockup-image {
        max-width: 300px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .hero-section {
        margin: 20px 0;
    }

    .slider-image {
        height: 250px;
    }

    .swiper-button-next,
    .swiper-button-prev {
        width: 40px;
        height: 40px;
    }

    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 16px;
    }

    .categories-section {
        margin: 40px 0;
    }

    .section-title {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .category-card {
        padding: 20px 10px;
        gap: 10px;
    }

    .category-icon {
        width: 60px;
        height: 60px;
    }

    .category-name {
        font-size: 12px;
    }

    .discover-section {
        padding: 30px 20px;
        margin: 30px 0;
    }

    .section-title-discover {
        font-size: 22px;
        flex-direction: column;
        gap: 8px;
    }

    .discover-subtitle {
        font-size: 13px;
    }

    .discover-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .discover-card {
        padding: 15px 10px;
    }

    .discover-icon {
        width: 55px;
        height: 55px;
    }

    .discover-name {
        font-size: 11px;
    }

    .trending-section {
        padding: 30px 20px;
        margin: 30px 0;
    }

    .section-title-white {
        font-size: 22px;
        margin-bottom: 30px;
    }

    .trending-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .trending-card {
        padding: 20px 10px;
    }

    .trending-icon {
        width: 70px;
        height: 70px;
    }

    .trending-name {
        font-size: 12px;
    }

    .statistics-section {
        padding: 40px 20px;
        margin: 30px 0;
    }

    .stats-title {
        font-size: 20px;
        margin-bottom: 30px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .stat-card {
        padding: 20px 15px;
    }

    .stat-number {
        font-size: 24px;
    }

    .stat-label {
        font-size: 12px;
    }

    .btn-post-ad-large {
        padding: 14px 30px;
        font-size: 14px;
    }

    .tips-section {
        margin: 40px 0;
    }

    .section-title-dark {
        font-size: 22px;
        margin-bottom: 30px;
    }

    .tips-list {
        gap: 15px;
    }

    .tip-item {
        padding: 15px;
        gap: 15px;
    }

    .tip-icon {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }

    .tip-title {
        font-size: 14px;
    }

    .tip-description {
        font-size: 12px;
    }

    .tips-visual {
        height: 400px;
    }

    .explore-section {
        margin: 40px 0;
    }

    .section-title-explore {
        font-size: 22px;
        margin-bottom: 30px;
    }

    .explore-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .explore-card {
        padding: 15px 8px;
    }

    .explore-icon {
        width: 55px;
        height: 55px;
    }

    .explore-name {
        font-size: 11px;
    }

    .featured-ads-section {
        margin: 40px 0;
    }

    .section-header-tabs {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .section-title-ads {
        font-size: 20px;
    }

    .tabs-wrapper {
        width: 100%;
        overflow-x: auto;
    }

    .tab-btn {
        padding: 8px 20px;
        font-size: 12px;
        white-space: nowrap;
    }

    .ad-card {
        min-width: 240px;
    }

    .ad-image-wrapper {
        height: 180px;
    }

    .app-download-section {
        padding: 50px 0;
        margin: 40px 0 0;
    }

    .app-download-title {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .app-download-subtitle {
        font-size: 14px;
        margin-bottom: 25px;
    }

    .app-download-badges {
        flex-direction: column;
        gap: 10px;
    }

    .app-store-badge img,
    .play-store-badge img {
        height: 45px;
    }

    .qr-title {
        font-size: 18px;
    }

    .qr-code-image {
        width: 150px;
        height: 150px;
    }

    .qr-features li {
        font-size: 12px;
    }

    .app-mockup-image {
        max-width: 250px;
    }
}

/* Very Small Mobile */
@media (max-width: 480px) {
    .slider-image {
        height: 200px;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .category-icon {
        width: 50px;
        height: 50px;
    }

    .category-name {
        font-size: 11px;
    }

    .discover-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .discover-icon {
        width: 50px;
        height: 50px;
    }

    .trending-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .explore-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ad-card {
        min-width: 220px;
    }
}
/* ===========================
   Featured Ads Sections - CORRECT ARABIC DESIGN
   =========================== */
   .automotive-ads,
   .property-ads {
       margin: 50px 0;
   }
   
   /* Header with Arrow */
   .section-header-inline {
       display: flex;
       align-items: center;
       justify-content: space-between;
       margin-bottom: 30px;
       padding: 0 10px;
   }
   
   .section-title-inline {
       font-size: 26px;
       font-weight: 700;
       color: var(--text-dark);
       margin: 0;
   }
   
   .see-all-btn {
       display: inline-flex;
       align-items: center;
       gap: 6px;
       color: var(--text-dark);
       font-weight: 600;
       font-size: 14px;
       transition: var(--transition);
   }
   
   .see-all-btn:hover {
       color: var(--primary-color);
       gap: 10px;
   }
   
   .see-all-btn i {
       font-size: 14px;
   }
   
   /* Ads Scroll Container - THIN SCROLLBAR */
   .ads-scroll-container {
       display: flex;
       gap: 20px;
       overflow-x: auto;
       padding: 10px 0 20px;
       scrollbar-width: thin;
       scrollbar-color: #d0d0d0 transparent;
   }
   
   .ads-scroll-container::-webkit-scrollbar {
       height: 4px;
   }
   
   .ads-scroll-container::-webkit-scrollbar-track {
       background: transparent;
   }
   
   .ads-scroll-container::-webkit-scrollbar-thumb {
       background: #d0d0d0;
       border-radius: 10px;
   }
   
   .ads-scroll-container::-webkit-scrollbar-thumb:hover {
       background: #b0b0b0;
   }
   
   /* Ad Card */
   .ad-card {
       background: var(--white);
       border-radius: 12px;
       overflow: hidden;
       min-width: 260px;
       max-width: 260px;
       box-shadow: 0 2px 8px rgba(0,0,0,0.08);
       transition: var(--transition);
       flex-shrink: 0;
   }
   
   .ad-card:hover {
       transform: translateY(-5px);
       box-shadow: 0 8px 20px rgba(0,0,0,0.12);
   }
   
   /* Ad Image Wrapper */
   .ad-image-wrapper {
       position: relative;
       height: 180px;
       overflow: hidden;
       background: #f5f5f5;
   }
   
   .ad-swiper {
       height: 100%;
   }
   
   .ad-swiper .swiper-slide {
       display: flex;
       align-items: center;
       justify-content: center;
   }
   
   .ad-swiper .swiper-slide img {
       width: 100%;
       height: 100%;
       object-fit: cover;
   }
   
   /* VIP Badge - TOP RIGHT */
   .vip-badge {
       position: absolute;
       top: 10px;
       right: 10px;
       background: rgba(255, 255, 255, 0.95);
       color: var(--text-dark);
       font-size: 10px;
       font-weight: 700;
       padding: 5px 10px;
       border-radius: 6px;
       display: inline-flex;
       align-items: center;
       gap: 4px;
       z-index: 2;
       box-shadow: 0 2px 8px rgba(0,0,0,0.1);
   }
   
   .vip-badge i {
       font-size: 10px;
       color: #FFB800;
   }
   
   /* Favorite Button - TOP LEFT (UNDER VIP) */
   .favorite-btn {
       position: absolute;
       top: 50px;
       right: 10px;
       width: 32px;
       height: 32px;
       background: rgba(255, 255, 255, 0.95);
       border-radius: 50%;
       display: flex;
       align-items: center;
       justify-content: center;
       font-size: 16px;
       color: var(--text-dark);
       transition: var(--transition);
       z-index: 2;
       box-shadow: 0 2px 8px rgba(0,0,0,0.1);
   }
   
   .favorite-btn:hover {
       color: var(--danger);
       background: var(--white);
       transform: scale(1.1);
   }
   
   /* Badge Corner Icons - TOP LEFT */
   .ad-badge-corner {
       position: absolute;
       top: 10px;
       left: 10px;
       display: flex;
       flex-direction: column;
       gap: 5px;
       z-index: 2;
   }
   
   .ad-badge-corner i {
       width: 26px;
       height: 26px;
       background: rgba(255, 255, 255, 0.95);
       border-radius: 50%;
       display: flex;
       align-items: center;
       justify-content: center;
       font-size: 12px;
       color: var(--primary-color);
       box-shadow: 0 2px 8px rgba(0,0,0,0.1);
   }
   
   /* Ad Content */
   .ad-content {
       padding: 12px 14px 14px;
   }
   
   /* Location Badge - NO ICON HERE */
   .ad-location {
       font-size: 11px;
       color: var(--text-light);
       margin-bottom: 6px;
       line-height: 1.3;
       overflow: hidden;
       text-overflow: ellipsis;
       white-space: nowrap;
   }
   
   /* REMOVE ICON FROM TEXT */
   .ad-location i {
       display: none;
   }
   
   .ad-title {
       font-size: 14px;
       font-weight: 700;
       color: var(--text-dark);
       margin-bottom: 6px;
       overflow: hidden;
       text-overflow: ellipsis;
       white-space: nowrap;
       line-height: 1.4;
   }
   
   .ad-specs {
       font-size: 11px;
       color: var(--text-light);
       margin-bottom: 10px;
       line-height: 1.4;
   }
   
   /* Ad Footer */
   .ad-footer {
       display: flex;
       align-items: center;
       justify-content: space-between;
       padding-top: 8px;
       border-top: 1px solid #f0f0f0;
   }
   
   .ad-price {
       font-size: 15px;
       font-weight: 700;
       color: var(--primary-color);
   }
   
   .ad-time {
       font-size: 11px;
       color: var(--text-light);
   }
   
   /* Swiper Pagination */
   .ad-swiper .swiper-pagination {
       bottom: 8px;
   }
   
   .ad-swiper .swiper-pagination-bullet {
       width: 6px;
       height: 6px;
       background: var(--white);
       opacity: 0.6;
   }
   
   .ad-swiper .swiper-pagination-bullet-active {
       background: var(--white);
       opacity: 1;
       width: 18px;
       border-radius: 3px;
   }
   
   /* Responsive */
   @media (max-width: 767px) {
       .automotive-ads,
       .property-ads {
           margin: 30px 0;
       }
   
       .section-header-inline {
           padding: 0 5px;
       }
   
       .section-title-inline {
           font-size: 20px;
       }
   
       .see-all-btn {
           font-size: 13px;
       }
   
       .ad-card {
           min-width: 240px;
           max-width: 240px;
       }
   
       .ad-image-wrapper {
           height: 160px;
       }
   
       .ad-content {
           padding: 10px 12px 12px;
       }
   
       .ad-title {
           font-size: 13px;
       }
   
       .ad-price {
           font-size: 14px;
       }
   
       .favorite-btn {
           top: 45px;
       }
   }
   
   @media (max-width: 480px) {
       .section-title-inline {
           font-size: 18px;
       }
   
       .ad-card {
           min-width: 220px;
           max-width: 220px;
       }
   
       .ad-image-wrapper {
           height: 150px;
       }
   
       .ads-scroll-container::-webkit-scrollbar {
           height: 3px;
       }
   }
/* ===========================
   Featured Ads Sections - CORRECT ARABIC DESIGN
   =========================== */
   .automotive-ads,
   .property-ads {
       margin: 50px 0;
   }
   
   /* Header with Arrow */
   .section-header-inline {
       display: flex;
       align-items: center;
       justify-content: space-between;
       margin-bottom: 30px;
       padding: 0 10px;
   }
   
   .section-title-inline {
       font-size: 26px;
       font-weight: 700;
       color: var(--text-dark);
       margin: 0;
   }
   
   .see-all-btn {
       display: inline-flex;
       align-items: center;
       gap: 6px;
       color: var(--text-dark);
       font-weight: 600;
       font-size: 14px;
       transition: var(--transition);
   }
   
   .see-all-btn:hover {
       color: var(--primary-color);
       gap: 10px;
   }
   
   .see-all-btn i {
       font-size: 14px;
   }
   
   /* Ads Scroll Container - THIN SCROLLBAR */
   .ads-scroll-container {
       display: flex;
       gap: 20px;
       overflow-x: auto;
       padding: 10px 0 20px;
       scrollbar-width: thin;
       scrollbar-color: #d0d0d0 transparent;
   }
   
   .ads-scroll-container::-webkit-scrollbar {
       height: 4px;
   }
   
   .ads-scroll-container::-webkit-scrollbar-track {
       background: transparent;
   }
   
   .ads-scroll-container::-webkit-scrollbar-thumb {
       background: #d0d0d0;
       border-radius: 10px;
   }
   
   .ads-scroll-container::-webkit-scrollbar-thumb:hover {
       background: #b0b0b0;
   }
   
   /* Ad Card */
   .ad-card {
       background: var(--white);
       border-radius: 12px;
       overflow: hidden;
       min-width: 260px;
       max-width: 260px;
       box-shadow: 0 2px 8px rgba(0,0,0,0.08);
       transition: var(--transition);
       flex-shrink: 0;
   }
   
   .ad-card:hover {
       transform: translateY(-5px);
       box-shadow: 0 8px 20px rgba(0,0,0,0.12);
   }
   
   /* Ad Image Wrapper */
   .ad-image-wrapper {
       position: relative;
       height: 180px;
       overflow: hidden;
       background: #f5f5f5;
   }
   
   .ad-swiper {
       height: 100%;
   }
   
   .ad-swiper .swiper-slide {
       display: flex;
       align-items: center;
       justify-content: center;
   }
   
   .ad-swiper .swiper-slide img {
       width: 100%;
       height: 100%;
       object-fit: cover;
   }
   
   /* VIP Badge - TOP RIGHT */
   .vip-badge {
       position: absolute;
       top: 10px;
       right: 10px;
       background: rgba(255, 255, 255, 0.95);
       color: var(--text-dark);
       font-size: 10px;
       font-weight: 700;
       padding: 5px 10px;
       border-radius: 6px;
       display: inline-flex;
       align-items: center;
       gap: 4px;
       z-index: 2;
       box-shadow: 0 2px 8px rgba(0,0,0,0.1);
   }
   
   .vip-badge i {
       font-size: 10px;
       color: #FFB800;
   }
   
   /* Favorite Button - TOP LEFT (UNDER VIP) */
   .favorite-btn {
       position: absolute;
       top: 50px;
       right: 10px;
       width: 32px;
       height: 32px;
       background: rgba(255, 255, 255, 0.95);
       border-radius: 50%;
       display: flex;
       align-items: center;
       justify-content: center;
       font-size: 16px;
       color: var(--text-dark);
       transition: var(--transition);
       z-index: 2;
       box-shadow: 0 2px 8px rgba(0,0,0,0.1);
   }
   
   .favorite-btn:hover {
       color: var(--danger);
       background: var(--white);
       transform: scale(1.1);
   }
   
   /* Badge Corner Icons - TOP LEFT */
   .ad-badge-corner {
       position: absolute;
       top: 10px;
       left: 10px;
       display: flex;
       flex-direction: column;
       gap: 5px;
       z-index: 2;
   }
   
   .ad-badge-corner i {
       width: 26px;
       height: 26px;
       background: rgba(255, 255, 255, 0.95);
       border-radius: 50%;
       display: flex;
       align-items: center;
       justify-content: center;
       font-size: 12px;
       color: var(--primary-color);
       box-shadow: 0 2px 8px rgba(0,0,0,0.1);
   }
   
   /* Ad Content */
   .ad-content {
       padding: 12px 14px 14px;
   }
   
   /* Location Badge - NO ICON HERE */
   .ad-location {
       font-size: 11px;
       color: var(--text-light);
       margin-bottom: 6px;
       line-height: 1.3;
       overflow: hidden;
       text-overflow: ellipsis;
       white-space: nowrap;
   }
   
   /* REMOVE ICON FROM TEXT */
   .ad-location i {
       display: none;
   }
   
   .ad-title {
       font-size: 14px;
       font-weight: 700;
       color: var(--text-dark);
       margin-bottom: 6px;
       overflow: hidden;
       text-overflow: ellipsis;
       white-space: nowrap;
       line-height: 1.4;
   }
   
   .ad-specs {
       font-size: 11px;
       color: var(--text-light);
       margin-bottom: 10px;
       line-height: 1.4;
   }
   
   /* Ad Footer */
   .ad-footer {
       display: flex;
       align-items: center;
       justify-content: space-between;
       padding-top: 8px;
       border-top: 1px solid #f0f0f0;
   }
   
   .ad-price {
       font-size: 15px;
       font-weight: 700;
       color: var(--primary-color);
   }
   
   .ad-time {
       font-size: 11px;
       color: var(--text-light);
   }
   
   /* Swiper Pagination */
   .ad-swiper .swiper-pagination {
       bottom: 8px;
   }
   
   .ad-swiper .swiper-pagination-bullet {
       width: 6px;
       height: 6px;
       background: var(--white);
       opacity: 0.6;
   }
   
   .ad-swiper .swiper-pagination-bullet-active {
       background: var(--white);
       opacity: 1;
       width: 18px;
       border-radius: 3px;
   }
   
   /* Responsive */
   @media (max-width: 767px) {
       .automotive-ads,
       .property-ads {
           margin: 30px 0;
       }
   
       .section-header-inline {
           padding: 0 5px;
       }
   
       .section-title-inline {
           font-size: 20px;
       }
   
       .see-all-btn {
           font-size: 13px;
       }
   
       .ad-card {
           min-width: 240px;
           max-width: 240px;
       }
   
       .ad-image-wrapper {
           height: 160px;
       }
   
       .ad-content {
           padding: 10px 12px 12px;
       }
   
       .ad-title {
           font-size: 13px;
       }
   
       .ad-price {
           font-size: 14px;
       }
   
       .favorite-btn {
           top: 45px;
       }
   }
   
   @media (max-width: 480px) {
       .section-title-inline {
           font-size: 18px;
       }
   
       .ad-card {
           min-width: 220px;
           max-width: 220px;
       }
   
       .ad-image-wrapper {
           height: 150px;
       }
   
       .ads-scroll-container::-webkit-scrollbar {
           height: 3px;
       }
   }
      