/*
Theme Name: دلّني - Dolnee
Theme URI: https://dolnee.com/
Author: Dolnee Team
Author URI: https://dolnee.com/
Description: Modern Directory Platform for Dolnee (منصة دليل دلّني)
Version: 2.4.26
License: GNU General Public License v2 or later
Text Domain: dolnee_theme
*/

/* =========================================
   1. Design System (Dalni Brand)
   ========================================= */
:root {
    --primary-color: #1456E1;
    --primary-dark: #0E46C4;
    --hero-navy: #0F2345;
    --hero-blue: #1456E1;
    --hero-blue-dark: #0E46C4;
    --heading-color: #0F2345;
    --btn-primary: #1456E1;
    --btn-primary-hover: #0E46C4;
    --btn-secondary: #FFFFFF;
    --btn-secondary-hover: #F1F7FF;
    --accent-color: #22C55E;
    --bg-color: #F8FAFC;
    --card-bg: #FFFFFF;
    --section-bg: #F1F7FF;
    --success-bg: #F0FDF4;
    --text-main: #64748B;
    --text-subheading: #0F2345;
    --text-muted: #64748B;
    --text-secondary: #94A3B8;
    --icon-default: #1456E1;
    --icon-success: #22C55E;
    --icon-inactive: #94A3B8;
    --status-available: #22C55E;
    --status-review: #F59E0B;
    --status-rejected: #EF4444;
    --white: #FFFFFF;

    /* Absolute Luxury Typography */
    --font-main: 'Cairo', 'Tajawal', sans-serif;

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --shadow-soft: 0 10px 30px rgba(15, 35, 69, 0.08);
    --shadow-hover: 0 14px 36px rgba(15, 35, 69, 0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-main);
}

/* =========================================
   2. Reset & Core Typography
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Tajawal', sans-serif;
    background: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 95px;
    /* Offset for fixed navbar */
}

@media (max-width: 768px) {
    body {
        padding-top: 78px;
        /* Offset for smaller mobile navbar */
    }
}

h1,
h2,
h3 {
    font-weight: 800;
    color: var(--heading-color);
    font-family: 'Cairo', 'Tajawal', sans-serif;
}

.section-header h2,
.workers-section-header h2,
.our-goal-section h2,
.cta-card-join h2,
.contact-card-sidebar h3 {
    font-family: 'Cairo', 'Tajawal', sans-serif;
    font-weight: 900;
    letter-spacing: 0;
}

.section-header h2,
.workers-section-header h2 {
    font-size: 2.5rem !important;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 60px 0;
}

.desktop-only {
    display: none !important;
}

@media (min-width: 768px) {
    .desktop-only {
        display: block !important;
    }

    /* Support Flexbox for specific header items */
    nav.nav-center-menu.desktop-only,
    nav.buttons-wrapper.desktop-only {
        display: flex !important;
    }

    .mobile-only {
        display: none !important;
    }
}

/* =========================================
   3. Header & Navigation (Professional White)
   ========================================= */
body.single-restaurant {
    padding-top: 0;
}

.dallni-restaurant-explore {
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
}

.dallni-restaurant-explore__inner {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding-inline: 16px;
}

.dallni-restaurant-explore__inner img {
    object-fit: contain;
}

.dallni-restaurant-explore__logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
}

.dallni-restaurant-explore__logo-link:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.navbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 99999 !important;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    height: 95px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 24px rgba(15, 35, 69, 0.06);
    border-bottom: 1px solid rgba(226, 232, 240, 0.85) !important;
    transition: var(--transition);
}

@media (max-width: 768px) {
    .navbar {
        height: 78px;
    }
}

/* Admin Bar Offset */
.admin-bar .navbar {
    top: 32px !important;
}

@media screen and (max-width: 782px) {

    /* Hide WP Admin bar on mobile to keep a clean, fixed navbar flush to the top */
    #wpadminbar {
        display: none !important;
    }

    html {
        margin-top: 0 !important;
    }

    .admin-bar .navbar {
        top: 0 !important;
    }

    .navbar {
        top: 0 !important;
    }
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 0 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--heading-color);
    white-space: nowrap;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.02);
}

.logo i {
    color: var(--primary-color);
    font-size: 2.2rem;
}

.logo strong {
    color: var(--heading-color);
}

/* Three-Part Distribution Styles */
.nav-center-menu {
    display: flex;
    gap: 40px;
    /* Elegant spacing */
    align-items: center;
    justify-content: center;
    flex: 1;
    /* Pushes logo and buttons to edges */
}

.nav-center-menu a {
    color: var(--heading-color) !important;
    font-size: 1.05rem;
    font-weight: 700;
    transition: var(--transition);
    white-space: nowrap;
    position: relative;
    padding: 5px 0;
}

.nav-center-menu a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--primary-color);
    transition: width 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-radius: 3px;
}

.nav-center-menu a:hover::after {
    width: 100%;
}

.nav-center-menu a:hover {
    color: var(--primary-color) !important;
}

.nav-left-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.buttons-wrapper {
    display: flex;
    gap: 15px;
    align-items: center;
}

/* Clear & Vibrant Navbar Buttons */
.buttons-wrapper .nav-btn-vibrant {
    background: var(--btn-secondary);
    color: var(--btn-primary) !important;
    border: 2px solid var(--btn-primary);
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700 !important;
    font-size: 0.95rem;
    transition: var(--transition);
}

.buttons-wrapper .nav-btn-vibrant:hover {
    color: var(--btn-primary) !important;
    background: var(--btn-secondary-hover);
}

.buttons-wrapper .nav-btn-outline {
    background: var(--btn-primary);
    color: #ffffff !important;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700 !important;
    font-size: 0.95rem;
    transition: var(--transition);
    border: none;
    box-shadow: var(--shadow-soft);
}

.buttons-wrapper .nav-btn-outline:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    background: var(--btn-primary-hover);
}

.premium-btn {
    background: transparent;
    color: var(--white) !important;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    box-shadow: none;
    transition: var(--transition);
}

.premium-btn:hover {
    opacity: 0.8;
}

.mobile-menu-toggle {
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 2.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Drawer Styles (Hidden by default) */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    max-width: 85vw;
    height: 100vh;
    background: #ffffff;
    z-index: 100001;
    transition: right 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    padding: 24px 22px 36px;
    box-shadow: -6px 0 24px rgba(15, 35, 69, 0.16);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
}

.mobile-drawer.active {
    right: 0;
}

.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 35, 69, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 100000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.drawer-overlay.active {
    display: block;
    opacity: 1;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.drawer-logo-img {
    height: 38px;
    width: auto;
    max-width: 130px;
    object-fit: contain;
    display: block;
}

.close-drawer {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #F1F5F9;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: var(--heading-color, #0F2345);
    cursor: pointer;
    transition: all 0.25s ease;
}

.close-drawer:hover {
    background: #E2E8F0;
    color: #EF4444;
}

.drawer-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.drawer-body a:not(.drawer-join-btn) {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--heading-color, #0F2345);
    text-decoration: none;
    padding: 10px 14px;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.drawer-body a:not(.drawer-join-btn) i {
    font-size: 1.25rem;
    color: var(--primary-color, #1456E1);
    transition: transform 0.2s ease;
}

.drawer-body a:not(.drawer-join-btn):hover,
.drawer-body a:not(.drawer-join-btn):active {
    background: #F1F7FF;
    color: var(--primary-color, #1456E1);
}

.drawer-body a:not(.drawer-join-btn):hover i {
    transform: translateX(-2px);
}

.drawer-action-wrap {
    margin-top: 14px;
    padding-top: 16px;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
}

.drawer-body .drawer-join-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--btn-primary, #1456E1);
    color: #ffffff !important;
    padding: 13px 20px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(20, 86, 225, 0.28);
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.drawer-body .drawer-join-btn:hover,
.drawer-body .drawer-join-btn:active {
    background: var(--btn-primary-hover, #0E46C4);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(20, 86, 225, 0.38);
}

.drawer-body .drawer-join-btn i {
    font-size: 1.3rem;
}

/* =========================================
   4. Hero Section & Dynamic Elements
   ========================================= */
.hero {
    background: url('assets/images/city-heroo-new.png?v=3') center 30% / cover no-repeat;
    color: var(--white);
    padding: 120px 0 160px;
    text-align: center;
    position: relative;
    background-attachment: fixed;
    clip-path: ellipse(150% 100% at 50% 0%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}



@media (max-width: 768px) {
    .hero {
        background: url('assets/images/city-heroo-new.png?v=2 ') center 30% / cover no-repeat;
        background-attachment: scroll; /* Scroll better for mobile performance */
        padding: 80px 0 120px;
        clip-path: ellipse(160% 100% at 50% 0%);
        min-height: 300px;
    }
}


.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 850px;
    margin: 0 auto;
}

.hero-title-wrapper {
    position: relative;
    z-index: 15;
}

.hero-title {
    font-size: clamp(1.8rem, 5vw, 3.2rem);
    line-height: 1.25;
    margin-bottom: 12px;
    font-weight: 900;
    color: var(--heading-color);
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.hero-subtitle {
    font-size: clamp(0.95rem, 2vw, 1.3rem);
    color: var(--text-subheading);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: none;
    line-height: 1.5;
}

/* Floating Badges */
.floating-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    padding: 12px 20px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 12;
    animation: floatBadge 4.5s ease-in-out infinite;
    transition: var(--transition);
}

.floating-badge:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
    cursor: default;
}

@keyframes floatBadge {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.fb-right {
    top: 5%;
    right: -25%;
    animation-delay: -1s;
}

.fb-left {
    bottom: -5%;
    left: -20%;
    animation-delay: -2.5s;
}

.fb-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: #fff;
    border-radius: 50%;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.fb-text {
    text-align: right;
    display: flex;
    flex-direction: column;
}

.fb-text strong {
    font-size: 1rem;
    color: var(--text-main);
    font-weight: 800;
    line-height: 1.2;
}

.fb-text span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Mobile responsive layout for badges */
@media (max-width: 768px) {
    .hero-badges-wrapper {
        display: flex;
        flex-direction: column;
        gap: 12px;
        align-items: center;
        justify-content: center;
        margin-top: 0;
        margin-bottom: 25px;
        position: relative;
        z-index: 20;
    }

    .floating-badge {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        animation: none;
        transform: none;
        padding: 8px 15px;
        width: 100%;
        max-width: 280px;
        justify-content: flex-start;
        background: rgba(255, 255, 255, 0.9);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.7rem;
    }
    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 25px;
    }
    .fb-icon {
        width: 32px;
        height: 32px;
        font-size: 1.1rem;
    }
    .fb-text strong {
        font-size: 0.85rem;
    }
    .fb-text span {
        font-size: 0.75rem;
    }
}

/* Exact Match Search Bar */
.search-container {
    max-width: 650px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 8px;
    padding: 6px;
    display: flex;
    flex-direction: row-reverse;
    /* Button on left, input on right */
    align-items: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    position: relative;
}

.search-container input {
    flex: 1;
    border: none;
    outline: none;
    padding: 12px 20px;
    font-size: 1.05rem;
    font-family: 'Tajawal', sans-serif;
    color: var(--text-main);
    background: transparent;
    font-weight: 500;
}

.search-container input::placeholder {
    color: var(--text-secondary);
}

.btn-search-main {
    background: var(--btn-primary) !important;
    color: var(--white);
    border: none;
    padding: 12px 35px;
    border-radius: 6px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-search-main:hover {
    background: var(--btn-primary-hover) !important;
}

/* Mobile Search Optimization */
@media (max-width: 600px) {
    .search-container {
        padding: 5px;
        margin: 20px 15px 0;
        border-radius: 8px;
        flex-direction: row-reverse;
        /* Keep horizontal on mobile too */
    }

    .search-container input {
        padding: 10px 12px;
        font-size: 0.9rem;
    }

    .btn-search-main {
        padding: 10px 20px;
        font-size: 0.9rem;
        border-radius: 6px;
        white-space: nowrap;
    }
}

.separator {
    width: 1px;
    height: 18px;
    background: rgba(255, 255, 255, 0.3);
    margin: 0 5px;
}

/* =========================================
   Location Filter (Below Hero)
   ========================================= */
.kc-location-filter-section {
    padding: 0;
    margin-top: 22px;
    /* clear separation from hero */
    position: relative;
    z-index: 15;
}

@media (max-width: 768px) {
    .kc-location-filter-section {
        margin-top: 16px;
    }
}

.kc-location-filter-card {
    max-width: 780px;
    margin: 0 auto;
    background: var(--card-bg);
    border: 1px solid #EDEDED;
    border-radius: 22px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.06);
    padding: 22px 22px 20px;
    position: relative;
    overflow: hidden;
}

.kc-location-filter-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
}

.kc-location-filter-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-1px);
    transition: var(--transition);
}

.kc-location-filter-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    font-size: 1.05rem;
    color: var(--heading-color);
    margin-bottom: 12px;
}

.kc-location-filter-title i {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--section-bg);
    color: var(--icon-default);
    font-size: 1.25rem;
}

.kc-location-filter-select {
    width: 100%;
    padding: 16px 16px;
    border-radius: 14px;
    border: 1.5px solid #E8E8E8;
    background: #fff;
    color: var(--text-main);
    font-weight: 800;
    outline: none;
    transition: var(--transition);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-left: 44px;
    /* room for chevron */
    background-image: linear-gradient(45deg, transparent 50%, var(--primary-color) 50%),
        linear-gradient(135deg, var(--primary-color) 50%, transparent 50%);
    background-position: 18px calc(50% - 2px),
        24px calc(50% - 2px);
    background-size: 6px 6px,
        6px 6px;
    background-repeat: no-repeat;
}

.kc-location-filter-select option {
    color: var(--text-main);
}

.kc-location-filter-select::-ms-expand {
    display: none;
}

.kc-location-filter-select {
    min-height: 54px;
    /* slightly taller tap target */
}

@media (max-width: 600px) {
    .kc-location-filter-card {
        padding: 20px 16px 18px;
    }

    .kc-location-filter-select {
        padding: 18px 16px;
        min-height: 60px;
        /* larger on mobile */
        font-size: 1.05rem;
    }
}

.kc-location-filter-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(20, 86, 225, 0.12);
}

/* Inverse version for green hero backgrounds (taxonomy header) */
.kc-location-filter-card--inverse {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.30);
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.14);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.kc-location-filter-card--inverse .kc-location-filter-title {
    color: #fff;
}

.kc-location-filter-card--inverse .kc-location-filter-title i {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}

.kc-location-filter-card--inverse .kc-location-filter-select {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    background-image: linear-gradient(45deg, transparent 50%, #fff 50%),
        linear-gradient(135deg, #fff 50%, transparent 50%);
}

.kc-location-filter-hero-wrap {
    max-width: 560px;
    margin: 18px auto 0;
}

.kc-location-filter-card--compact {
    padding: 18px 18px 16px;
}

@media (max-width: 600px) {
    .kc-location-filter-hero-wrap {
        max-width: 520px;
        margin-top: 14px;
        padding: 0 12px;
    }

    .kc-location-filter-card--compact {
        padding: 18px 14px 16px;
        border-radius: 20px;
    }

    .kc-location-filter-card--inverse .kc-location-filter-title {
        font-size: 1rem;
    }
}

.kc-location-filter-card--inverse .kc-location-filter-select option {
    color: var(--text-main);
}

/* =========================================
   5. Category Cards (Clean Boxes)
   ========================================= */
.categories-section {
    margin-top: 60px;
    /* Increased margin to push it down */
    position: relative;
    z-index: 10;
    padding-bottom: 50px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

@media (min-width: 768px) {
    .categories-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
}

.cat-card-modern {
    background: var(--white);
    padding: 8px;
    /* Tight padding for uniformity */
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    border: 1px solid #EDEDED;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    /* Perfectly square */
    width: 100%;
    max-width: 190px;
    margin: 0 auto;
    overflow: hidden;
    /* Prevent content from stretching */
}

.cat-card-modern h3 {
    font-size: 0.8rem;
    margin-top: 6px;
    color: var(--text-main);
    font-weight: 700;
    line-height: 1.2;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cat-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.cat-card-modern img,
.cat-card-modern i {
    width: 52px;
    height: 52px;
    margin-bottom: 10px;
    font-size: 3rem;
    color: var(--icon-default);
    transition: transform 0.3s ease, filter 0.3s ease;
}

.js-subcat-card {
    cursor: pointer !important;
    user-select: none;
}

.cat-card-modern.is-selected {
    background: #135231 !important;
    border-color: #0d3822 !important;
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(19, 82, 49, 0.38) !important;
}

.cat-card-modern.is-selected h3 {
    color: #ffffff !important;
}

.cat-card-modern.is-selected i {
    color: #ffffff !important;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.25));
}

.cat-card-modern.is-selected img {
    filter: brightness(1.08) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.25));
}

/* =========================================
   6. Worker Cards (Image-Free Mode)
   ========================================= */
.workers-section-header {
    text-align: center;
    margin-bottom: 40px;
}

.workers-section-header h2 {
    font-size: 2.15rem;
    color: var(--heading-color);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.workers-section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--btn-primary);
}

.workers-stat-badge-wrapper {
    margin-top: 16px;
    display: flex;
    justify-content: center;
}

.workers-stat-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #F0FDF4;
    color: #15803D;
    font-size: 0.95rem;
    font-weight: 800;
    padding: 7px 18px;
    border-radius: 999px;
    border: 1px solid #BBF7D0;
    box-shadow: 0 4px 14px rgba(34, 197, 94, 0.12);
}

.workers-stat-badge i {
    font-size: 1.15rem;
    color: #16A34A;
}

.workers-section-subtitle {
    margin-top: 10px;
    color: var(--text-muted);
    font-size: 0.98rem;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* =========================================
   Workers Bottom Discovery Card
   ========================================= */
.workers-discovery-card {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin-top: 45px;
    background: #FFFFFF;
    border: 2px solid #86EFAC;
    border-radius: 24px;
    padding: 35px 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 36px rgba(15, 35, 69, 0.06);
    transition: var(--transition);
}

.workers-discovery-card:hover {
    border-color: #22C55E;
    box-shadow: 0 16px 45px rgba(34, 197, 94, 0.15);
}

.discovery-card-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    position: relative;
    z-index: 2;
}

.discovery-text-content {
    flex-grow: 1;
    min-width: 0;
}

.discovery-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #E0F2FE;
    color: #0369A1;
    font-size: 0.85rem;
    font-weight: 800;
    padding: 5px 14px;
    border-radius: 999px;
    margin-bottom: 10px;
}

.discovery-title {
    font-size: 1.35rem;
    color: var(--heading-color);
    font-weight: 800;
    margin-bottom: 8px;
    line-height: 1.35;
}

.discovery-desc {
    color: var(--text-main);
    font-size: 0.98rem;
    line-height: 1.6;
    margin: 0;
}

.discovery-desc strong {
    color: #15803D;
    font-weight: 800;
}

.discovery-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
}

.btn-discovery-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #22C55E;
    color: #FFFFFF !important;
    font-weight: 800;
    font-size: 1rem;
    padding: 14px 28px;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}

.btn-discovery-primary:hover {
    background: #16A34A;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(34, 197, 94, 0.4);
}

.btn-discovery-primary i {
    font-size: 1.25rem;
    transition: transform 0.25s ease;
}

.btn-discovery-primary:hover i {
    transform: translateY(-3px);
}

.btn-discovery-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #FFFFFF;
    color: #0F2345;
    border: 1.5px solid #CBD5E1;
    font-weight: 700;
    font-size: 0.92rem;
    padding: 10px 20px;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-discovery-secondary:hover {
    background: #F1F5F9;
    border-color: #94A3B8;
}

@keyframes categoriesPulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
    }
    50% {
        box-shadow: 0 0 0 18px rgba(34, 197, 94, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

.categories-grid.pulse-highlight {
    animation: categoriesPulseGlow 1.2s ease-out 2;
    border-radius: 20px;
}

@media (max-width: 991px) {
    .discovery-card-inner {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    .discovery-badge {
        justify-content: center;
    }
    .discovery-actions {
        width: 100%;
        flex-direction: column;
        gap: 10px;
    }
    .btn-discovery-primary,
    .btn-discovery-secondary {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .workers-discovery-card {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        padding: 24px 20px !important;
        margin-top: 30px !important;
        margin-bottom: 25px !important;
        border-radius: 20px !important;
        border: 2px solid #86EFAC !important;
        background: #FFFFFF !important;
        box-shadow: 0 8px 24px rgba(34, 197, 94, 0.12) !important;
    }
    .discovery-card-inner {
        flex-direction: column !important;
        text-align: center !important;
        gap: 16px !important;
    }
    .discovery-title {
        font-size: 1.2rem !important;
        line-height: 1.4 !important;
    }
    .discovery-desc {
        font-size: 0.92rem !important;
        line-height: 1.6 !important;
    }
    .discovery-actions {
        flex-direction: column !important;
        width: 100% !important;
        gap: 10px !important;
    }
    .btn-discovery-primary {
        padding: 13px 20px !important;
        font-size: 0.98rem !important;
        min-height: 48px !important;
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .btn-discovery-secondary {
        padding: 12px 18px !important;
        font-size: 0.92rem !important;
        min-height: 46px !important;
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .workers-stat-badge {
        font-size: 0.84rem !important;
        padding: 6px 14px !important;
    }
}

.archive-list {
    background: var(--bg-color, #F8FAFC) !important;
}

.workers-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

@media (min-width: 992px) {
    .workers-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

.worker-card-modern {
    background: #ffffff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 14px 34px rgba(15, 35, 69, 0.08);
    border: 1px solid #EDEDED;
    padding: 24px 26px;
    transition: var(--transition);
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 22px;
    text-align: right;
    width: 100%;
    min-height: 170px;
    position: relative;
    cursor: pointer;
}

.worker-card-modern::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: linear-gradient(180deg, var(--primary-color), var(--accent-color));
}

.worker-card-modern:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(15, 35, 69, 0.14);
    border-color: var(--primary-color);
}

.worker-card-modern h3 {
    font-size: 1.35rem;
    line-height: 1.35;
    margin: 0;
    color: var(--heading-color);
}

.worker-card-link-cover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    border-radius: inherit;
}

.worker-card-modern h3 a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 3;
}

.worker-card-modern h3 a i {
    font-size: 1.1rem;
    color: var(--primary-color);
    transition: transform 0.25s ease;
}

.worker-card-modern:hover h3 a i {
    transform: translateX(-4px);
}

.worker-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

.worker-head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.worker-card-modern .service-type {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(20, 86, 225, 0.08);
    color: var(--primary-color);
    font-size: 0.88rem;
    font-weight: 800;
}

.worker-card-modern .service-type::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.14);
}

.worker-cat-badges {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.worker-subcat-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 13px;
    border-radius: 999px;
    background: #F8FAFC;
    color: #334155;
    font-size: 0.84rem;
    font-weight: 700;
    border: 1px solid #E2E8F0;
    box-shadow: 0 1px 4px rgba(15, 35, 69, 0.03);
    transition: all 0.2s ease;
}

.worker-subcat-badge i {
    font-size: 0.95rem;
    color: #10B981;
}

.worker-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.worker-meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(15, 35, 69, 0.04);
    color: var(--heading-color);
    font-weight: 600;
}

.worker-meta-pill i {
    color: var(--primary-color);
    font-size: 1rem;
}

.worker-snippet {
    margin: 0;
    color: var(--text-main);
    line-height: 1.8;
    font-size: 0.95rem;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.worker-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
    min-width: 138px;
    position: relative;
    z-index: 5;
}

.worker-icon-backdrop {
    width: 92px;
    height: 92px;
    background: #ffffff;
    border: 1.5px solid #EDEDED;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 2.5rem;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(15, 35, 69, 0.04);
}

.worker-icon-backdrop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.worker-icon-backdrop i {
    font-size: 2.3rem;
}

.btn-whatsapp-modern {
    background: linear-gradient(135deg, #25D366 0%, #18B955 100%);
    color: var(--white);
    padding: 13px 18px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 800;
    font-size: 0.98rem;
    position: relative;
    z-index: 5;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    width: 100%;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.22);
}

.btn-whatsapp-modern:hover {
    background: linear-gradient(135deg, #20C35D 0%, #159A47 100%);
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(37, 211, 102, 0.26);
}

.btn-copy-number {
    background: #fff;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 12px 30px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-copy-number:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-copy-number i {
    font-size: 1.4rem;
}

/* =========================================
   Pagination (Modern Floating Island Navigation)
   ========================================= */
.screen-reader-text {
    border: 0 !important;
    clip: rect(1px, 1px, 1px, 1px) !important;
    clip-path: inset(50%) !important;
    height: 1px !important;
    margin: -1px !important;
    overflow: hidden !important;
    padding: 0 !important;
    position: absolute !important;
    width: 1px !important;
    word-wrap: normal !important;
}

.pagination-wrapper {
    margin: 50px auto 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.kc-pagination {
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.kc-pagination .nav-links {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: #ffffff;
    border-radius: 999px;
    box-shadow: 0 10px 30px rgba(15, 35, 69, 0.08), 0 2px 6px rgba(15, 35, 69, 0.04);
    border: 1px solid rgba(226, 232, 240, 0.9);
    position: relative;
    transition: all 0.3s ease;
}

.kc-pagination .nav-links:hover {
    box-shadow: 0 14px 36px rgba(15, 35, 69, 0.12), 0 4px 10px rgba(15, 35, 69, 0.06);
    border-color: rgba(20, 86, 225, 0.25);
}

.kc-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    color: #475569;
    text-decoration: none;
    background: transparent;
    border: 1.5px solid transparent;
    transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
    user-select: none;
    font-family: 'Cairo', 'Tajawal', sans-serif;
    position: relative;
}

.kc-pagination a.page-numbers:hover {
    background: #EFF6FF;
    color: #1456E1;
    border-color: rgba(20, 86, 225, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(20, 86, 225, 0.15);
}

.kc-pagination .page-numbers.current {
    background: linear-gradient(135deg, #1456E1 0%, #0E46C4 100%);
    color: #ffffff !important;
    font-weight: 800;
    box-shadow: 0 6px 18px rgba(20, 86, 225, 0.38);
    border-color: transparent;
    transform: scale(1.04);
    cursor: default;
}

.kc-pagination a.prev.page-numbers,
.kc-pagination a.next.page-numbers {
    padding: 0 20px;
    gap: 8px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    color: #0F2345;
    font-weight: 700;
    font-size: 14.5px;
}

.kc-pagination a.prev.page-numbers:hover,
.kc-pagination a.next.page-numbers:hover {
    background: linear-gradient(135deg, #1456E1 0%, #0E46C4 100%);
    color: #ffffff !important;
    border-color: transparent;
    box-shadow: 0 6px 18px rgba(20, 86, 225, 0.3);
    transform: translateY(-2px);
}

.kc-pagination a.prev.page-numbers i,
.kc-pagination a.next.page-numbers i {
    font-size: 18px;
    line-height: 1;
    transition: transform 0.25s ease;
}

.kc-pagination a.prev.page-numbers:hover i {
    transform: translateX(4px);
}

.kc-pagination a.next.page-numbers:hover i {
    transform: translateX(-4px);
}

.kc-pagination .page-numbers.dots {
    color: #94A3B8;
    min-width: 32px;
    letter-spacing: 2px;
    cursor: default;
}

@media (max-width: 640px) {
    .pagination-wrapper {
        margin: 35px auto 20px;
    }

    .kc-pagination .nav-links {
        gap: 5px;
        padding: 6px 10px;
    }

    .kc-pagination .page-numbers {
        min-width: 38px;
        height: 38px;
        padding: 0 10px;
        font-size: 13.5px;
    }

    .kc-pagination a.prev.page-numbers,
    .kc-pagination a.next.page-numbers {
        padding: 0 14px;
        font-size: 13px;
        gap: 4px;
    }

    .kc-pagination a.prev.page-numbers i,
    .kc-pagination a.next.page-numbers i {
        font-size: 16px;
    }
}

/* =========================================
   NEW: Worker Profile Modern System (Full-Width Desktop)
   ========================================= */
.worker-profile-page {
    background: #F4F7F6;
    min-height: 100vh;
    padding-top: 30px;
    padding-bottom: 70px;
}

/* Container expanding to edges on Laptop / Desktop */
.worker-profile-container {
    width: 100%;
    margin: 0 auto;
    padding: 0 16px;
    box-sizing: border-box;
}

@media (min-width: 992px) {
    .worker-profile-container {
        max-width: 1420px;
        width: calc(100% - 48px);
        padding: 0 10px;
    }
}

@media (min-width: 1366px) {
    .worker-profile-container {
        max-width: 1560px;
        width: 96%;
    }
}

/* Breadcrumbs */
.worker-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
    font-size: 0.92rem;
    color: var(--text-muted);
    flex-wrap: wrap;
}

.worker-breadcrumbs a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.worker-breadcrumbs a:hover {
    color: var(--primary-color);
}

.worker-breadcrumbs .sep {
    color: #CBD5E1;
    font-size: 1.1rem;
}

.worker-breadcrumbs .active {
    color: var(--heading-color);
    font-weight: 700;
}

/* Main Profile Card */
.profile-card-modern {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 12px 45px rgba(15, 35, 69, 0.07);
    width: 100%;
    max-width: 100%;
    margin: 0 auto 35px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(20, 86, 225, 0.08);
}

/* Hero Banner Header inside Card (Calm Solid Tone - No Gradient) */
.profile-card-banner {
    background: #ffffff;
    padding: 38px 48px;
    position: relative;
    overflow: hidden;
    color: var(--heading-color);
    border-bottom: 1.5px solid #EDEDED;
}

.profile-card-banner::before,
.profile-card-banner::after,
.profile-banner-decor-circle {
    display: none;
}

.profile-banner-content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 28px;
}

.profile-identity-group {
    display: flex;
    align-items: center;
    gap: 28px;
    flex: 1;
}

.profile-avatar-wrapper {
    width: 124px;
    height: 124px;
    border-radius: 24px;
    background: #fff;
    border: 4px solid #FFFFFF;
    box-shadow: 0 10px 25px rgba(20, 86, 225, 0.10);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.profile-avatar-wrapper .profile-category-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.profile-avatar-wrapper > i {
    font-size: 3.8rem;
    color: var(--primary-color);
}

.profile-verified-badge {
    position: absolute;
    bottom: 6px;
    right: 6px;
    background: #22C55E;
    color: #fff;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    border: 3px solid #fff;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.35);
    z-index: 3;
}

.profile-primary-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.profile-tags-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.profile-badge-role {
    background: #FFFFFF;
    color: #1D4ED8;
    border: 1.5px solid #BFDBFE;
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 0.92rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(20, 86, 225, 0.06);
}

.profile-badge-subcat {
    background: #FFFFFF;
    color: #334155;
    border: 1.5px solid #E2E8F0;
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 0.92rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(15, 35, 69, 0.04);
}

.profile-badge-subcat i {
    color: #10B981;
    font-size: 1.05rem;
}

.profile-title {
    font-size: 2.3rem;
    font-weight: 900;
    color: var(--heading-color);
    margin: 0;
    line-height: 1.25;
}

.profile-meta-pills {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.profile-meta-pills .meta-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 30px;
    padding: 7px 16px;
    font-size: 0.9rem;
    color: #334155;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(15, 35, 69, 0.04);
}

.profile-meta-pills .meta-item i {
    font-size: 1.15rem;
    color: var(--primary-color);
}

.profile-meta-pills .meta-item.rating-meta i {
    color: #F59E0B;
}

.rating-label {
    color: #64748B;
    font-size: 0.82rem;
    margin-right: 4px;
    font-weight: normal;
}

/* Card Body Grid (Two-Column on Laptop) */
.profile-card-body-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 42px 48px;
    background: #fff;
}

@media (min-width: 992px) {
    .profile-card-body-grid {
        grid-template-columns: minmax(0, 1fr) 390px;
        gap: 40px;
        align-items: start;
    }
}

@media (min-width: 1400px) {
    .profile-card-body-grid {
        grid-template-columns: minmax(0, 1fr) 420px;
        gap: 45px;
    }
}

/* Main Content Area (Right Column) */
.profile-main-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    min-width: 0;
}

.profile-content-block {
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 20px;
    padding: 34px 38px;
    box-shadow: 0 4px 18px rgba(15, 35, 69, 0.03);
    transition: border-color 0.2s ease;
    min-height: 260px;
}

.profile-content-block:hover {
    border-color: #CBD5E1;
}

.block-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    border-bottom: 1px solid #F1F5F9;
    padding-bottom: 16px;
}

.block-header i {
    font-size: 1.6rem;
    color: var(--primary-color);
}

.block-header h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--heading-color);
    margin: 0;
}

.profile-desc-text {
    font-size: 1.1rem;
    line-height: 2.1;
    color: #334155;
}

/* Service Specifications Grid */
.profile-specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

@media (max-width: 768px) {
    .profile-specs-grid {
        grid-template-columns: 1fr;
    }
}

.spec-card-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #F8FAFC;
    border: 1px solid #EDF2F7;
    border-radius: 14px;
    padding: 16px 18px;
    transition: all 0.2s ease;
}

.spec-card-item:hover {
    background: #F1F7FF;
    border-color: #BFDBFE;
}

.spec-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #EFF6FF;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.spec-details {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.spec-label {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.spec-value {
    font-size: 1rem;
    color: var(--heading-color);
    font-weight: 700;
}

/* Sidebar Column (Left in RTL) */
.profile-side-content {
    min-width: 0;
}

.profile-sticky-card {
    position: sticky;
    top: 100px;
    background: #fff;
    border: 1.5px solid #E2E8F0;
    border-radius: 22px;
    padding: 32px 28px;
    box-shadow: 0 10px 35px rgba(15, 35, 69, 0.06);
}

.sticky-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #FEF3C7;
    color: #92400E;
    padding: 5px 14px;
    border-radius: 30px;
    font-size: 0.82rem;
    font-weight: 800;
    margin-bottom: 14px;
}

.sticky-card-title {
    font-size: 1.35rem;
    font-weight: 900;
    color: var(--heading-color);
    margin: 0 0 8px;
}

.sticky-card-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 24px;
}

.sticky-actions-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

/* Contact action buttons: Unified dimensions & modern design language */
.sticky-actions-list .btn-whatsapp-modern,
.sticky-actions-list .btn-call-modern,
.sticky-actions-list .btn-copy-number,
.sticky-actions-list .sticky-btn {
    width: 100% !important;
    padding: 14px 18px !important;
    font-size: 1.02rem !important;
    font-weight: 800 !important;
    font-family: inherit !important;
    line-height: 1.2 !important;
    border-radius: 12px !important;
    min-height: 52px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    box-sizing: border-box !important;
    transition: all 0.25s ease !important;
    text-decoration: none !important;
    cursor: pointer !important;
}

.sticky-actions-list .btn-whatsapp-modern:hover,
.sticky-actions-list .btn-call-modern:hover,
.sticky-actions-list .btn-copy-number:hover,
.sticky-actions-list .sticky-btn:hover {
    transform: translateY(-2px) !important;
    text-decoration: none !important;
}

.sticky-actions-list .btn-whatsapp-modern i,
.sticky-actions-list .btn-call-modern i,
.sticky-actions-list .btn-copy-number i,
.sticky-actions-list .sticky-btn i {
    font-size: 1.35rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* 1. WhatsApp Button: Brand Green */
.sticky-actions-list .btn-whatsapp-modern {
    background: linear-gradient(135deg, #25D366 0%, #18B955 100%) !important;
    color: #FFFFFF !important;
    border: none !important;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.22) !important;
}

.sticky-actions-list .btn-whatsapp-modern:hover,
.sticky-actions-list .btn-whatsapp-modern:focus {
    background: linear-gradient(135deg, #20C35D 0%, #159A47 100%) !important;
    color: #FFFFFF !important;
    box-shadow: 0 12px 26px rgba(37, 211, 102, 0.28) !important;
}

.sticky-actions-list .btn-whatsapp-modern:visited {
    color: #FFFFFF !important;
}

.sticky-actions-list .btn-whatsapp-modern i {
    color: #FFFFFF !important;
}

/* 2. Direct Call Button: Neutral / Dark Navy */
.sticky-actions-list .btn-call-modern {
    background: #F8FAFC !important;
    border: 1.5px solid #CBD5E1 !important;
    color: var(--heading-color) !important;
    box-shadow: 0 4px 14px rgba(15, 35, 69, 0.04) !important;
}

.sticky-actions-list .btn-call-modern:hover,
.sticky-actions-list .btn-call-modern:focus {
    background: var(--heading-color) !important;
    border-color: var(--heading-color) !important;
    color: #FFFFFF !important;
    box-shadow: 0 8px 22px rgba(15, 35, 69, 0.15) !important;
}

.sticky-actions-list .btn-call-modern:visited {
    color: var(--heading-color) !important;
}

.sticky-actions-list .btn-call-modern:hover:visited,
.sticky-actions-list .btn-call-modern:focus:visited {
    color: #FFFFFF !important;
}

.sticky-actions-list .btn-call-modern i {
    color: var(--heading-color) !important;
    transition: color 0.25s ease !important;
}

.sticky-actions-list .btn-call-modern:hover i,
.sticky-actions-list .btn-call-modern:focus i {
    color: #FFFFFF !important;
}

/* 3. Copy Phone Number Button: Dalni Primary Blue */
.sticky-actions-list .btn-copy-number {
    background: #FFFFFF !important;
    border: 2px solid var(--primary-color) !important;
    color: var(--primary-color) !important;
    box-shadow: 0 4px 14px rgba(20, 86, 225, 0.06) !important;
}

.sticky-actions-list .btn-copy-number:hover,
.sticky-actions-list .btn-copy-number:focus {
    background: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #FFFFFF !important;
    box-shadow: 0 8px 22px rgba(20, 86, 225, 0.22) !important;
}

.sticky-actions-list .btn-copy-number i {
    color: var(--primary-color) !important;
    transition: color 0.25s ease !important;
}

.sticky-actions-list .btn-copy-number:hover i,
.sticky-actions-list .btn-copy-number:focus i {
    color: #FFFFFF !important;
}

.sticky-actions-list .btn-copy-number.copied {
    background: #059669 !important;
    border-color: #059669 !important;
    color: #FFFFFF !important;
}

.sticky-actions-list .btn-copy-number.copied i {
    color: #FFFFFF !important;
}

.phone-display-snippet {
    text-align: center;
    background: #F0FDF4;
    border: 1.5px dashed #86EFAC;
    border-radius: 12px;
    padding: 12px;
    font-weight: 800;
    font-size: 1.15rem;
    color: #166534;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: all;
}

.phone-display-snippet:hover {
    background: #DCFCE7;
    border-color: #22C55E;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.12);
}

.phone-display-snippet.copied {
    background: #22C55E !important;
    border-color: #16A34A !important;
    color: #FFFFFF !important;
}

.phone-display-snippet.copied i,
.phone-display-snippet.copied span {
    color: #FFFFFF !important;
}

.phone-display-snippet i {
    color: #22C55E;
    font-size: 1.3rem;
}

.sticky-safety-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #F0FDF4;
    border: 1px solid #DCFCE7;
    border-radius: 14px;
    padding: 14px 16px;
    font-size: 0.84rem;
    color: #166534;
    line-height: 1.5;
}

.sticky-safety-box i {
    font-size: 1.8rem;
    color: #22C55E;
    flex-shrink: 0;
}

.sticky-safety-box strong {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 2px;
}

/* Mobile & Tablet Refinements (< 992px) */
@media (max-width: 991px) {
    .profile-card-banner {
        padding: 22px 18px;
        background: #ffffff;
        border-bottom: 1.5px solid #EDEDED;
        text-align: right;
    }

    .profile-banner-content {
        flex-direction: row;
        align-items: center;
        text-align: right;
        width: 100%;
    }

    .profile-identity-group {
        flex-direction: row;
        align-items: center;
        text-align: right;
        gap: 16px;
        width: 100%;
    }

    .profile-avatar-wrapper {
        width: 86px;
        height: 86px;
        border-radius: 20px;
        border: 3.5px solid #FFFFFF;
        box-shadow: 0 8px 20px rgba(20, 86, 225, 0.12);
        margin: 0;
        background: #FFFFFF;
        flex-shrink: 0;
    }

    .profile-avatar-wrapper > i {
        font-size: 2.6rem;
    }

    .profile-verified-badge {
        width: 26px;
        height: 26px;
        font-size: 0.95rem;
        bottom: 2px;
        right: 2px;
        border: 2px solid #fff;
    }

    .profile-primary-info {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: right;
        gap: 6px;
        flex: 1;
        min-width: 0;
    }

    .profile-title {
        font-size: 1.45rem;
        font-weight: 900;
        margin: 0;
        color: #0F2345;
        line-height: 1.25;
        word-break: break-word;
    }

    .profile-tags-row {
        justify-content: flex-start;
        margin: 0;
    }

    .profile-badge-role {
        background: #FFFFFF;
        color: #1D4ED8;
        border: 1px solid #BFDBFE;
        padding: 4px 12px;
        border-radius: 20px;
        font-size: 0.82rem;
        font-weight: 700;
        box-shadow: 0 2px 6px rgba(20, 86, 225, 0.05);
    }

    .profile-meta-pills {
        justify-content: flex-start;
        gap: 6px;
        margin-top: 2px;
        flex-wrap: wrap;
    }

    .profile-meta-pills .meta-item {
        background: #FFFFFF;
        border: 1px solid #E2E8F0;
        border-radius: 20px;
        padding: 4px 10px;
        font-size: 0.78rem;
        font-weight: 700;
        box-shadow: 0 1px 4px rgba(15, 35, 69, 0.03);
        gap: 5px;
    }

    .profile-meta-pills .meta-item i {
        font-size: 0.95rem;
    }

    .profile-meta-pills .meta-item.rating-meta {
        border-color: #FEF3C7;
        color: #92400E;
    }

    .profile-card-body-grid {
        display: flex;
        flex-direction: column;
        padding: 24px 18px;
        gap: 24px;
    }

    .profile-side-content {
        order: 1;
    }

    .profile-content-block {
        padding: 22px 18px;
        min-height: auto;
    }

    .profile-main-content .profile-content-block:nth-child(2) {
        display: none;
    }

    .profile-sticky-card {
        padding: 24px 18px;
        position: static;
    }

    .sticky-actions-list .btn-whatsapp-modern,
    .sticky-actions-list .btn-call-modern,
    .sticky-actions-list .btn-copy-number,
    .sticky-actions-list .sticky-btn {
        width: 100% !important;
        padding: 14px 16px !important;
        font-size: 1rem !important;
        min-height: 50px !important;
        border-radius: 12px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        box-sizing: border-box !important;
    }

    .sticky-actions-list .btn-whatsapp-modern i,
    .sticky-actions-list .btn-call-modern i,
    .sticky-actions-list .btn-copy-number i {
        font-size: 1.35rem !important;
    }
}

@media (max-width: 420px) {
    .profile-card-banner {
        padding: 18px 14px;
    }

    .profile-identity-group {
        gap: 12px;
    }

    .profile-avatar-wrapper {
        width: 76px;
        height: 76px;
        border-radius: 18px;
    }

    .profile-title {
        font-size: 1.3rem;
    }

    .profile-badge-role {
        font-size: 0.78rem;
        padding: 3px 10px;
    }

    .profile-meta-pills .meta-item {
        padding: 3px 8px;
        font-size: 0.75rem;
    }
}

@media (max-width: 768px) {
    .worker-card-modern {
        display: grid;
        grid-template-columns: auto 1fr;
        grid-template-areas:
            "avatar info"
            "actions actions";
        padding: 16px 16px 14px;
        gap: 12px 14px;
        min-height: auto;
        border-radius: 18px;
        align-items: start;
        background: #ffffff;
        border: 1px solid #E2E8F0;
        box-shadow: 0 4px 18px rgba(15, 35, 69, 0.05);
    }

    .worker-card-modern::before {
        display: none;
    }

    .worker-icon-backdrop {
        grid-area: avatar;
        width: 60px;
        height: 60px;
        border-radius: 16px;
        border: 2px solid #F1F5F9;
        box-shadow: 0 4px 12px rgba(15, 35, 69, 0.06);
        margin-top: 2px;
        flex-shrink: 0;
        overflow: hidden;
    }

    .worker-icon-backdrop img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .worker-icon-backdrop i {
        font-size: 1.8rem;
    }

    .worker-info {
        grid-area: info;
        display: flex;
        flex-direction: column;
        gap: 6px;
        min-width: 0;
        text-align: right;
    }

    .worker-head {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        width: 100%;
    }

    .worker-head h3 {
        font-size: 1.15rem;
        font-weight: 800;
        margin: 0;
        color: var(--heading-color);
        line-height: 1.3;
        width: 100%;
    }

    .worker-head h3 a {
        color: var(--heading-color);
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }

    .worker-head h3 a i {
        font-size: 1rem;
        color: var(--primary-color);
    }

    .worker-cat-badges {
        display: flex;
        align-items: center;
        gap: 6px;
        flex-wrap: wrap;
        width: 100%;
    }

    .worker-card-modern .service-type {
        padding: 4px 10px;
        font-size: 0.78rem;
        font-weight: 800;
        border-radius: 20px;
        background: #EFF6FF;
        color: #1D4ED8;
        border: 1px solid #DBEAFE;
    }

    .worker-card-modern .service-type::before {
        width: 6px;
        height: 6px;
        box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
    }

    .worker-subcat-badge {
        padding: 4px 10px;
        font-size: 0.78rem;
        font-weight: 700;
        border-radius: 20px;
        background: #F8FAFC;
        color: #334155;
        border: 1px solid #E2E8F0;
    }

    .worker-meta-row {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-top: 2px;
        flex-wrap: wrap;
    }

    .worker-meta-pill {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        padding: 3px 6px;
        font-size: 0.78rem;
        color: #64748B;
        font-weight: 600;
        background: transparent;
    }

    .worker-meta-pill i {
        color: var(--primary-color);
        font-size: 0.95rem;
    }

    .worker-snippet {
        display: none;
    }

    .worker-actions {
        grid-area: actions;
        width: 100%;
        margin-top: 2px;
        padding-top: 10px;
        border-top: 1px solid #F1F5F9;
        display: flex;
        flex-direction: row;
        align-items: stretch;
    }

    .worker-actions .btn-whatsapp-modern,
    .worker-card-modern .btn-whatsapp-modern {
        width: 100% !important;
        min-height: 42px !important;
        padding: 10px 16px !important;
        font-size: 0.92rem !important;
        font-weight: 800 !important;
        border-radius: 10px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.22) !important;
    }

    .sticky-actions-list .btn-whatsapp-modern,
    .sticky-actions-list .btn-call-modern,
    .sticky-actions-list .btn-copy-number,
    .sticky-actions-list .sticky-btn {
        width: 100% !important;
        padding: 14px 16px !important;
        font-size: 1rem !important;
        min-height: 50px !important;
        border-radius: 12px !important;
    }

    .profile-badge-subcat {
        font-size: 0.8rem;
        padding: 5px 12px;
    }
}

/* =========================================
   7. Bottom CTA & Contact Sections
   ========================================= */
.bottom-sections-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 50px;
}

@media (min-width: 992px) {
    .bottom-sections-grid {
        grid-template-columns: 1.8fr 1.2fr;
    }
}

.cta-card-join {
    background: var(--white);
    border-radius: 16px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.cta-card-join h2 {
    font-size: 2.1rem;
    margin-bottom: 10px;
}

.cta-card-join .btn-cta {
    background: var(--btn-primary);
    color: #fff;
    padding: 12px 35px;
    border-radius: 8px;
    font-weight: 800;
    display: inline-block;
    margin-top: 15px;
}

/* Contact Specific Styling */
.contact-card-sidebar {
    background: var(--white);
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow-soft);
}

.contact-card-sidebar h3 {
    font-size: 1.9rem;
    margin-bottom: 30px;
    text-align: center;
    color: var(--heading-color);
}

.contact-item-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.contact-item-row i {
    font-size: 1.8rem;
    color: var(--icon-default);
}

/* =========================================
   8. Footer Simple
   ========================================= */
/* =========================================
   Enhanced Footer
   ========================================= */
.dallni-footer {
    background: #0F1C35;
    color: #CBD5E1;
    margin-top: auto;
    direction: rtl;
}

/* ---- Top Section ---- */
.dallni-footer-top {
    padding: 64px 0 48px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.dallni-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1.5fr;
    gap: 48px;
    align-items: start;
}

/* Brand Column */
.footer-col-brand {}

.footer-logo-img {
    max-height: 52px;
    width: auto;
    display: block;
    margin-bottom: 16px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-brand-text {
    font-size: 1.5rem;
    font-weight: 900;
    color: #fff;
    text-decoration: none;
    display: block;
    margin-bottom: 16px;
}

.footer-brand-desc {
    font-size: 0.92rem;
    line-height: 1.75;
    color: #94A3B8;
    margin: 0 0 20px;
}

/* Social Buttons */
.footer-socials {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-social-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #fff;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    text-decoration: none;
    transition: all 0.25s ease;
}

.footer-social-btn:hover { transform: translateY(-3px); }
.footer-social-btn.whatsapp:hover  { background: #25D366; border-color: #25D366; }
.footer-social-btn.instagram:hover { background: #E1306C; border-color: #E1306C; }
.footer-social-btn.twitter:hover   { background: #1DA1F2; border-color: #1DA1F2; }
.footer-social-btn.facebook:hover  { background: #1877F2; border-color: #1877F2; }

/* Column Titles */
.footer-col-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.04em;
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(20, 86, 225, 0.5);
    display: inline-block;
}

/* Links List */
.footer-links-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links-list li a {
    color: #94A3B8;
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s ease, padding-right 0.2s ease;
}

.footer-links-list li a i {
    font-size: 1rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.footer-links-list li a:hover {
    color: #fff;
    padding-right: 4px;
}

/* Contact List */
.footer-contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: #94A3B8;
}

.footer-contact-list li i {
    font-size: 1.2rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.footer-contact-list li a {
    color: #94A3B8;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-contact-list li a:hover { color: #fff; }

/* ---- Bottom Bar ---- */
.dallni-footer-bottom {
    padding: 18px 0;
    background: rgba(0,0,0,0.2);
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-copyright {
    font-size: 0.85rem;
    color: #64748B;
    margin: 0;
}

.footer-copyright strong { color: #94A3B8; }

.footer-dev {
    font-size: 0.82rem;
    color: #64748B;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-dev a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
}

.footer-dev a:hover { color: #fff; }

/* ---- Responsive: Tablet ---- */
@media (max-width: 991px) {
    .dallni-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
    .footer-col-brand {
        grid-column: 1 / -1;
    }
}

/* ---- Responsive: Mobile ---- */
@media (max-width: 600px) {
    .dallni-footer-top {
        padding: 40px 0 32px;
    }
    .dallni-footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .footer-col-brand {
        grid-column: auto;
    }
    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }
    .dallni-footer {
        padding-bottom: 100px; /* space for mobile nav */
    }
}

/* Keep old simple-footer class for any leftover refs */
.simple-footer {
    display: none;
}

.mobile-bottom-nav {
    display: none;
}

@media (max-width: 768px) {
    body {
        padding-bottom: 86px;
    }

    .mobile-bottom-nav {
        position: fixed;
        right: 12px;
        left: 12px;
        bottom: 12px;
        z-index: 2100;
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 8px;
        padding: 10px;
        background: rgba(255, 255, 255, 0.94);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
        border: 1px solid rgba(226, 232, 240, 0.95);
        border-radius: 22px;
        box-shadow: 0 12px 35px rgba(15, 35, 69, 0.14);
    }

    .mobile-bottom-nav__link {
        min-width: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        padding: 8px 4px;
        border-radius: 16px;
        color: var(--text-secondary);
        text-decoration: none;
        transition: var(--transition);
    }

    .mobile-bottom-nav__link i {
        font-size: 1.32rem;
        line-height: 1;
    }

    .mobile-bottom-nav__link span {
        font-size: 0.72rem;
        font-weight: 800;
        line-height: 1.2;
        white-space: nowrap;
    }

    .mobile-bottom-nav__link.nav-link-join span {
        font-size: 0.65rem;
        letter-spacing: -0.15px;
    }

    .mobile-bottom-nav__link.is-active {
        background: #EFF6FF;
        color: var(--primary-color);
        box-shadow: inset 0 0 0 1px rgba(20, 86, 225, 0.08);
    }

    .mobile-bottom-nav__button {
        background: transparent;
        border: 0;
        font: inherit;
        cursor: pointer;
    }

    .simple-footer {
        padding-bottom: 100px;
    }
}

@media (max-width: 420px) {
    .mobile-bottom-nav {
        right: 8px;
        left: 8px;
        bottom: 8px;
        gap: 4px;
        padding: 6px;
        border-radius: 18px;
    }

    .mobile-bottom-nav__link {
        padding: 7px 2px;
        border-radius: 14px;
    }

    .mobile-bottom-nav__link i {
        font-size: 1.22rem;
    }

    .mobile-bottom-nav__link span {
        font-size: 0.66rem;
    }

    .mobile-bottom-nav__link.nav-link-join span {
        font-size: 0.58rem;
        letter-spacing: -0.2px;
    }
}

/* =========================================
   9. Floating Search Card (Search-First)
   ========================================= */
.floating-card-wrapper {
    position: relative;
    margin-top: -60px;
    /* Pulls the card up over the hero section border */
    z-index: 20;
    padding: 0 15px;
}

.floating-search-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08), inset 0 0 0 1px rgba(255, 255, 255, 0.5);
    padding: 25px 30px;
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.floating-search-card:hover {
    box-shadow: 0 20px 50px rgba(45, 182, 98, 0.15), inset 0 0 0 1px rgba(255, 255, 255, 0.8);
    transform: translateY(-3px);
}

.fsc-row {
    margin-bottom: 20px;
}

.fsc-row:last-child {
    margin-bottom: 0;
}

.fsc-location-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-muted);
    /* Dark gray text as requested */
    margin-bottom: 12px;
}

.fsc-location-title i {
    color: var(--primary-color);
    font-size: 1.3rem;
}

/* Redesigned Pill-shaped Search Bar */
.search-container-pill {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border-radius: 50px;
    padding: 6px 6px;
    border: 1px solid #EDEDED;
    transition: var(--transition);
}

.search-container-pill:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(20, 86, 225, 0.12);
    background: #fff;
}

.search-input-group {
    display: flex;
    flex: 1;
    align-items: center;
    padding: 0 15px;
}

.search-input-group i {
    font-size: 1.4rem;
    color: var(--text-secondary);
    margin-left: 10px;
}

.search-input-group input {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    font-size: 1.05rem;
    font-family: 'Tajawal', sans-serif;
    color: var(--text-main);
}

.btn-search-pill {
    background: var(--btn-primary);
    color: var(--white);
    border: none;
    padding: 12px 35px;
    border-radius: 50px;
    /* Pill-shaped button */
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-search-pill:hover {
    background: var(--btn-primary-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-hover);
}

@media (max-width: 600px) {
    .floating-card-wrapper {
        margin-top: -30px;
    }

    .floating-search-card {
        padding: 18px 20px;
        border-radius: 24px;
    }

    .search-container-pill {
        padding: 4px;
        background: #fff;
        border-radius: 16px;
    }

    .btn-search-pill {
        padding: 10px 20px;
        font-size: 0.95rem;
        border-radius: 12px;
    }

    .fsc-location-title {
        font-size: 0.85rem;
        margin-bottom: 8px;
    }
}

/* =========================================
   10. New Brand Identity & Hero Section Styles
   ========================================= */

/* Logo Styling */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    height: 100%;
}

.logo-image {
    width: auto;
    height: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}
.logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Right align for Arabic text */
    line-height: 1;
    overflow: visible;
    height: 100%;
    justify-content: center;
}

.logo-emblem {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--btn-primary), var(--accent-color));
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2px;
    box-shadow: var(--shadow-soft);
    font-size: 1rem;
}
.logo-text {
    font-size: 2.55rem;
    font-weight: 900;
    color: var(--hero-navy);
    line-height: 1.1;
    position: relative;
    display: inline-flex;
    align-items: center;
    letter-spacing: -0.5px;
}

.logo-blue {
    color: var(--btn-primary);
}

.logo-green {
    color: var(--accent-color);
}

.logo-subtext {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 800;
    margin-top: 2px;
    letter-spacing: 0.2px;
    white-space: nowrap;
}

/* Navbar active underline and user button */
.nav-center-menu a.active {
    color: var(--btn-primary) !important;
}
.nav-center-menu a.active::after {
    width: 100% !important;
    background: var(--btn-primary) !important;
}

.nav-login-btn {
    background: var(--btn-secondary);
    color: var(--btn-primary) !important;
    border: 2px solid var(--btn-primary);
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
}
.nav-login-btn:hover {
    background: var(--btn-secondary-hover);
    transform: translateY(-1px);
}

.nav-join-btn {
    background: var(--btn-primary);
    color: #ffffff !important;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
}
.nav-join-btn:hover {
    background: var(--btn-primary-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-hover);
}

/* Join menu: one button that reveals the join options */
.nav-join-menu {
    position: relative;
}

button.nav-join-btn,
button.drawer-join-btn {
    border: 0;
    font-family: inherit;
    cursor: pointer;
}

.js-join-toggle:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

.join-caret {
    transition: transform 0.2s ease;
}

.js-join-toggle[aria-expanded="true"] .join-caret {
    transform: rotate(180deg);
}

.nav-join-options {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    z-index: 1001;
    display: grid;
    gap: 4px;
    min-width: 250px;
    padding: 8px;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 16px;
    box-shadow: var(--shadow-hover);
}

.nav-join-options[hidden],
.drawer-join-options[hidden] {
    display: none;
}

.nav-join-options a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 8px 12px;
    border-radius: 10px;
    color: var(--heading-color) !important;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease;
}

.nav-join-options a i {
    color: var(--primary-color);
    font-size: 1.25rem;
}

.nav-join-options a:hover,
.nav-join-options a:focus-visible {
    background: var(--btn-secondary-hover);
    color: var(--primary-color) !important;
}

.drawer-action-wrap {
    display: grid;
    gap: 10px;
}

.drawer-join-options {
    display: grid;
    gap: 4px;
}

/* The options panel spans the bottom bar and opens above it */
.mobile-bottom-join {
    display: grid;
    min-width: 0;
}

.mobile-bottom-join .js-join-toggle[aria-expanded="true"] {
    background: #EFF6FF;
    color: var(--primary-color);
}

.mobile-bottom-join .nav-join-options {
    top: auto;
    right: 0;
    left: 0;
    bottom: calc(100% + 8px);
    min-width: 0;
}

.nav-login-btn i {
    font-size: 1.3rem;
}

/* New Hero Layout */
.hero-section-new {
    position: relative;
    background: var(--bg-color);
    padding: 22px 0 96px;
    overflow: hidden;
}

.hero-container-new {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: center;
    position: relative;
    z-index: 10;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.hero-right-content {
    text-align: right;
}

.hero-main-title {
    font-size: clamp(2rem, 3.8vw, 3.2rem);
    font-weight: 900;
    color: var(--hero-navy);
    line-height: 1.35;
    margin-bottom: 16px;
}

.hero-title-line {
    display: block;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-subheading);
    line-height: 1.7;
    margin-bottom: 20px;
    font-weight: 600;
}

.highlight-green {
    color: var(--accent-color);
    font-weight: 900;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 36px;
}

.btn-order-now {
    background: var(--btn-primary);
    color: #ffffff !important;
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-soft);
}

.btn-order-now:hover {
    background: var(--btn-primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.icon-circle {
    background: #ffffff;
    color: var(--icon-default);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-order-now i {
    font-size: 1.3rem;
}

.btn-whatsapp-outline {
    background: var(--accent-color);
    color: #ffffff !important;
    border: 1.8px solid var(--accent-color);
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.05rem;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-whatsapp-outline:hover {
    background: #16A34A;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-whatsapp-outline i {
    font-size: 1.4rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 22px;
    justify-content: flex-start;
}

.stat-item {
    text-align: center;
    padding: 0 10px;
}

.stat-item h4 {
    font-size: 2.1rem;
    color: var(--btn-primary);
    font-weight: 900;
    margin-bottom: 0;
}
.stat-item:nth-child(3) h4 {
    color: var(--accent-color);
}

.stat-item p {
    font-size: 1.15rem;
    color: var(--text-muted);
    font-weight: 700;
}

.stat-divider {
    width: 1px;
    height: 48px;
    background: #dbe5f0;
}

.hero-soft-glow {
    position: absolute;
    left: 3%;
    top: 24px;
    width: 560px;
    height: 560px;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 45%, rgba(79, 140, 255, 0.1) 0%, rgba(79, 140, 255, 0.03) 45%, rgba(255, 255, 255, 0) 72%);
    z-index: 1;
}

.hero-wave-blue {
    position: absolute;
    bottom: -118px;
    left: -10%;
    width: 46%;
    height: 230px;
    background: var(--btn-primary);
    border-radius: 62% 38% 0 0;
    z-index: 2;
}

.hero-wave-green {
    position: absolute;
    bottom: -132px;
    right: -12%;
    width: 76%;
    height: 250px;
    background: var(--accent-color);
    border-radius: 58% 42% 0 0;
    z-index: 1;
}

/* Category pages hero (aligned with homepage visual language) */
.hero-category-new {
    position: relative;
    background: var(--bg-color);
    padding: 68px 0 128px;
    min-height: 460px;
    overflow: hidden;
}

.hero-category-new .hero-soft-glow {
    left: 50%;
    top: -120px;
    transform: translateX(-50%);
    width: 700px;
    height: 500px;
    opacity: 0.8;
}

.hero-category-new .hero-wave-blue {
    bottom: -120px;
    left: -14%;
    width: 44%;
    height: 215px;
}

.hero-category-new .hero-wave-green {
    bottom: -126px;
    right: -12%;
    width: 70%;
    height: 230px;
}

.hero-category-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row-reverse;
    gap: 52px;
    text-align: right;
    position: relative;
    z-index: 5;
    max-width: 1040px;
}

.hero-category-text {
    max-width: 620px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: right;
}

.hero-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    margin-bottom: 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(20, 86, 225, 0.10);
    color: var(--btn-primary);
    font-size: 0.96rem;
    font-weight: 800;
    box-shadow: 0 10px 28px rgba(15, 35, 69, 0.06);
    backdrop-filter: blur(8px);
}

.hero-category-badge i {
    font-size: 1.15rem;
    color: var(--icon-default);
}

.hero-category-icon-wrap {
    width: 188px;
    height: 188px;
    margin: 0;
    border-radius: 42px;
    border: 1px solid rgba(20, 86, 225, 0.10);
    background: #ffffff;
    box-shadow: 0 22px 44px rgba(15, 35, 69, 0.10);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--icon-default);
    font-size: 4.9rem;
    overflow: hidden;
    flex-shrink: 0;
}

.hero-category-icon-image {
    width: 93%;
    height: 93%;
    object-fit: contain;
}

.hero-category-title {
    color: var(--hero-navy);
    font-size: clamp(2.4rem, 5vw, 3.4rem);
    margin-bottom: 10px;
    font-weight: 900;
    line-height: 1.18;
    letter-spacing: -0.4px;
}

.hero-category-subtitle {
    color: var(--text-muted);
    font-size: 1.12rem;
    max-width: 560px;
    margin: 0;
    font-weight: 500;
    line-height: 1.9;
}

.hero-category-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.hero-category-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 46px;
    padding: 10px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid #E2E8F0;
    color: var(--text-subheading);
    font-size: 0.95rem;
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(15, 35, 69, 0.05);
}

.hero-category-pill i {
    color: var(--icon-default);
    font-size: 1.15rem;
}

.category-search-wrapper {
    margin-top: -48px;
}

/* ====================================================
   Beauty & Care Category Hero (الهيرو المخصص لقسم العناية والتجميل)
   ==================================================== */
.hero-category-beauty {
    position: relative;
    background-color: #FFF6F8;
    padding: 70px 0 70px;
    min-height: 520px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.beauty-hero-bg-wrap {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.beauty-hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
    z-index: 1;
    transition: transform 0.8s ease;
}

.beauty-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(270deg, 
        rgba(255, 246, 248, 0.97) 0%, 
        rgba(255, 246, 248, 0.90) 34%, 
        rgba(255, 246, 248, 0.45) 58%, 
        rgba(255, 246, 248, 0) 80%
    );
}

.beauty-hero-container {
    position: relative;
    z-index: 5;
    max-width: 1320px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: right;
    padding-right: 20px;
}

.beauty-hero-card {
    max-width: 660px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: right;
}

.beauty-hero-text-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: right;
    width: 100%;
}

.beauty-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    margin-bottom: 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(224, 51, 115, 0.22);
    color: #C2185B;
    font-size: 0.94rem;
    font-weight: 800;
    box-shadow: 0 8px 24px rgba(224, 51, 115, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.beauty-hero-badge i {
    font-size: 1.15rem;
    color: #E03373;
}

.beauty-badge-dot {
    color: #F48FB1;
    font-weight: 900;
    margin: 0 2px;
}

.beauty-hero-title {
    color: #2D1522;
    font-size: clamp(2.3rem, 4.4vw, 3.4rem);
    font-weight: 900;
    line-height: 1.22;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
}

.beauty-title-gradient {
    color: #AD1457 !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #AD1457 !important;
    display: inline-block;
}

.beauty-hero-subtitle {
    color: #5E4652;
    font-size: 1.12rem;
    line-height: 1.85;
    margin: 0 0 16px;
    max-width: 600px;
    font-weight: 500;
}

/* Beauty Hero Integrated Search Box (مربع البحث المدمج فوق عند النص) */
.beauty-hero-search-card {
    width: 100%;
    margin: 10px 0 22px;
}

.beauty-search-inner {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1.5px solid rgba(224, 51, 115, 0.24);
    border-radius: 999px;
    padding: 6px 8px;
    box-shadow: 0 12px 32px rgba(224, 51, 115, 0.10);
    transition: all 0.3s ease;
}

.beauty-search-inner:focus-within {
    border-color: #E03373;
    box-shadow: 0 16px 38px rgba(224, 51, 115, 0.18);
}

.beauty-field-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.beauty-location-group {
    padding: 0 12px 0 6px;
    flex-shrink: 0;
    max-width: 175px;
}

.beauty-location-group i {
    color: #E03373;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.beauty-location-select {
    border: none;
    background: transparent;
    font-size: 0.94rem;
    font-weight: 700;
    color: #2D1522;
    outline: none;
    cursor: pointer;
    width: 100%;
    padding: 6px 0;
}

.beauty-field-divider {
    width: 1px;
    height: 30px;
    background: rgba(224, 51, 115, 0.18);
    margin: 0 4px;
    flex-shrink: 0;
}

.beauty-input-group {
    flex: 1;
    padding: 0 10px;
}

.beauty-input-group i {
    color: #A36B84;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.beauty-input-group input {
    width: 100%;
    border: none;
    background: transparent;
    font-size: 0.95rem;
    font-weight: 500;
    color: #2D1522;
    outline: none;
    padding: 8px 0;
    font-family: inherit;
}

.beauty-input-group input::placeholder {
    color: #A36B84;
    opacity: 0.85;
}

.beauty-search-btn {
    background: linear-gradient(135deg, #E03373 0%, #C2185B 100%) !important;
    color: #ffffff !important;
    border: none;
    border-radius: 999px;
    padding: 12px 26px;
    font-weight: 800;
    font-size: 0.96rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 6px 18px rgba(224, 51, 115, 0.32);
    flex-shrink: 0;
}

.beauty-search-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(224, 51, 115, 0.42);
    color: #ffffff !important;
}

.beauty-search-btn i {
    font-size: 1.1rem;
    color: #ffffff;
}

.beauty-hero-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 6px;
}

.beauty-highlight-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 15px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(224, 51, 115, 0.16);
    color: #381E2C;
    font-size: 0.92rem;
    font-weight: 700;
    box-shadow: 0 6px 18px rgba(224, 51, 115, 0.05);
    transition: all 0.25s ease;
}

.beauty-highlight-pill:hover {
    transform: translateY(-2px);
    border-color: #E03373;
    box-shadow: 0 10px 24px rgba(224, 51, 115, 0.12);
}

.beauty-highlight-pill i {
    color: #E03373;
    font-size: 1.12rem;
}

.beauty-hero-mobile-text {
    display: none !important;
}

@media (min-width: 768px) {
    .beauty-hero-highlights.desktop-only {
        display: flex !important;
    }
}

/* Beauty Hero Responsive */
@media (max-width: 991px) {
    .hero-category-beauty {
        padding: 55px 0 60px;
        min-height: 480px;
    }
    .beauty-hero-card {
        max-width: 530px;
    }
    .beauty-hero-overlay {
        background: linear-gradient(270deg, 
            rgba(255, 246, 248, 0.98) 0%, 
            rgba(255, 246, 248, 0.92) 50%, 
            rgba(255, 246, 248, 0.40) 80%, 
            rgba(255, 246, 248, 0.10) 100%
        );
    }
}

@media (max-width: 767px) {
    .hero-category-beauty {
        position: relative;
        padding: 0 0 20px;
        min-height: auto;
        background-color: #FFF6F8;
        display: flex;
        flex-direction: column;
    }

    .beauty-hero-bg-wrap {
        position: relative;
        width: 100%;
        height: 54vw;
        max-height: 250px;
        min-height: 180px;
        z-index: 1;
        overflow: hidden;
        border-bottom: 1px solid rgba(224, 51, 115, 0.08);
    }

    .beauty-hero-bg-img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: left center;
        opacity: 1 !important;
        display: block;
    }

    .beauty-hero-overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(270deg, 
            rgba(255, 246, 248, 0.92) 0%, 
            rgba(255, 246, 248, 0.50) 45%, 
            rgba(255, 246, 248, 0) 70%
        );
        z-index: 2;
        pointer-events: none;
    }

    /* النص داخل الصورة في الطرف الأيمن مباشرة وبدون أي بطاقة */
    .beauty-hero-mobile-text {
        position: absolute !important;
        top: 0;
        right: 0;
        width: 53%;
        height: 100%;
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        text-align: right;
        padding: 8px 6px 8px 0;
        z-index: 5;
        box-sizing: border-box;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
    }

    .beauty-mobile-title {
        font-size: clamp(1.15rem, 4.4vw, 1.4rem);
        line-height: 1.25;
        margin: 0 0 5px;
        text-align: right;
        font-weight: 900;
        letter-spacing: -0.3px;
        color: #2D1522;
        text-shadow: 0 1px 2px rgba(255, 255, 255, 0.85);
    }

    .beauty-mobile-title .beauty-title-gradient {
        color: #AD1457 !important;
        -webkit-text-fill-color: #AD1457 !important;
        background: none !important;
        text-shadow: none !important;
        font-weight: 900;
    }

    .beauty-mobile-sub {
        font-size: clamp(0.72rem, 2.5vw, 0.84rem);
        line-height: 1.45;
        margin: 0;
        text-align: right;
        color: #553447;
        font-weight: 600;
        text-shadow: 0 1px 2px rgba(255, 255, 255, 0.85);
    }

    .beauty-hero-container {
        position: relative;
        z-index: 5;
        width: 100%;
        padding: 0 14px;
    }

    .beauty-hero-card {
        position: static;
        width: 100%;
        max-width: 100%;
        align-items: stretch;
        text-align: right;
        background: transparent !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        border-radius: 0 !important;
        padding: 0 !important;
        border: none !important;
        box-shadow: none !important;
    }

    /* مربع البحث أسفل صورة الهيرو مباشرة */
    .beauty-hero-search-card {
        margin: 12px 0 6px;
        width: 100%;
        position: relative;
        z-index: 5;
    }

    .beauty-search-inner {
        flex-direction: column;
        border-radius: 16px;
        padding: 10px 12px;
        gap: 8px;
        background: #ffffff;
        border: 1.5px solid rgba(224, 51, 115, 0.22);
        box-shadow: 0 8px 22px rgba(224, 51, 115, 0.08);
    }

    .beauty-field-group {
        width: 100%;
    }

    .beauty-location-group {
        max-width: 100%;
        border-bottom: 1px solid rgba(224, 51, 115, 0.12);
        padding-bottom: 8px;
    }

    .beauty-location-select {
        font-size: 0.92rem;
    }

    .beauty-field-divider {
        display: none;
    }

    .beauty-input-group {
        padding: 0 4px;
    }

    .beauty-input-group input {
        font-size: 0.92rem;
        padding: 6px 0;
    }

    .beauty-search-btn {
        width: 100%;
        justify-content: center;
        padding: 11px 16px;
        border-radius: 12px;
        font-size: 0.95rem;
    }

    /* إلغاء البطاقات والعناصر غير الضرورية على الجوال */
    .beauty-hero-highlights,
    .beauty-hero-highlights.desktop-only,
    .beauty-hero-text-group.desktop-only,
    .desktop-only {
        display: none !important;
    }
}

/* ====================================================
   Beauty Subcategories Section & Pink Blob Cards
   (تحسين تصميم الأقسام الفرعية وبقعة اللون الوردي خلف الأيقونات)
   ==================================================== */
.subcategories-beauty {
    background: #FFF5F8; /* لون وردي فاااتح وناعم */
    padding: 55px 0 40px;
    position: relative;
}

.subcat-beauty-header {
    text-align: center;
    margin-bottom: 36px;
}

.subcat-beauty-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 18px;
    border-radius: 999px;
    background: #ffffff;
    color: #C2185B;
    font-size: 0.88rem;
    font-weight: 800;
    margin-bottom: 12px;
    border: 1px solid rgba(224, 51, 115, 0.18);
    box-shadow: 0 4px 14px rgba(224, 51, 115, 0.05);
}

.subcat-beauty-badge i {
    font-size: 1.1rem;
    color: #E03373;
}

.subcat-beauty-title {
    color: #2D1522;
    font-size: clamp(1.7rem, 3.2vw, 2.2rem);
    font-weight: 900;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}

.subcat-beauty-subtitle {
    color: #6C5562;
    font-size: 1.02rem;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.75;
}

.subcat-beauty-grid {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 26px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.beauty-subcat-card {
    background: #ffffff !important;
    border: 1px solid #EDEDED;
    border-radius: 20px;
    padding: 24px 20px 20px;
    min-width: 200px;
    max-width: 250px;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 18px rgba(15, 35, 69, 0.04);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.beauty-subcat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(224, 51, 115, 0.3);
    box-shadow: 0 12px 30px rgba(224, 51, 115, 0.10);
}

/* Container holding the icon/image */
.subcat-icon-container {
    position: relative;
    width: 85px;
    height: 85px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
}

.subcat-card-img {
    position: relative;
    width: 75px;
    height: 75px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.beauty-subcat-card:hover .subcat-card-img {
    transform: scale(1.06);
}

.subcat-card-icon {
    position: relative;
    font-size: 3.5rem;
    color: #E03373;
    transition: transform 0.3s ease;
}

.beauty-subcat-card:hover .subcat-card-icon {
    transform: scale(1.06);
}

.beauty-subcat-name {
    color: #2D1522;
    font-size: 1.1rem;
    font-weight: 800;
    margin: 6px 0 0;
    transition: color 0.25s ease;
}

.beauty-subcat-card:hover .beauty-subcat-name {
    color: #E03373;
}

/* Active / Selected Beauty Subcategory: Darker Rose/Berry with White Text */
.beauty-subcat-card.is-selected {
    background: #B71556 !important;
    border-color: #880E4F !important;
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(183, 21, 86, 0.38) !important;
}

.beauty-subcat-card.is-selected .beauty-subcat-name {
    color: #ffffff !important;
}

.beauty-subcat-card.is-selected .subcat-card-icon {
    color: #ffffff !important;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.25));
}

.beauty-subcat-card.is-selected .subcat-card-img {
    filter: brightness(1.08) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.25));
}

@media (max-width: 767px) {
    .subcategories-beauty {
        padding: 35px 0 25px;
    }
    .subcat-beauty-header {
        margin-bottom: 20px;
    }
    .subcat-beauty-badge {
        font-size: 0.8rem;
        padding: 5px 14px;
        margin-bottom: 8px;
    }
    .subcat-beauty-title {
        font-size: 1.35rem;
        margin-bottom: 6px;
    }
    .subcat-beauty-subtitle {
        font-size: 0.84rem;
        line-height: 1.55;
    }
    .subcat-beauty-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-bottom: 20px;
    }
    .beauty-subcat-card {
        min-width: 0;
        max-width: none;
        width: 100%;
        padding: 18px 10px 14px;
        border-radius: 16px;
        box-shadow: 0 4px 14px rgba(15, 35, 69, 0.04);
    }
    .subcat-icon-container {
        width: 58px;
        height: 58px;
        margin: 0 auto 8px;
    }
    .subcat-card-img {
        width: 50px;
        height: 50px;
    }
    .subcat-card-icon {
        font-size: 2.5rem;
    }
    .beauty-subcat-name {
        font-size: 0.9rem;
        line-height: 1.35;
        margin: 4px 0 0;
    }
}

/* ====================================================
   Education & Training Category Hero (الهيرو المخصص لقسم التعليم والتدريب)
   ==================================================== */
.hero-category-education {
    position: relative;
    padding: 75px 0 80px;
    background: #F8F7FF;
    overflow: hidden;
    min-height: 480px;
    display: flex;
    align-items: center;
}

.education-hero-bg-wrap {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.education-hero-bg-picture {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 1;
}

.education-hero-bg-picture img,
.education-hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
    z-index: 1;
    transition: transform 0.8s ease;
}

.education-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(270deg, 
        rgba(248, 247, 255, 0.97) 0%, 
        rgba(248, 247, 255, 0.90) 34%, 
        rgba(248, 247, 255, 0.45) 58%, 
        rgba(248, 247, 255, 0) 80%
    );
}

.education-hero-container {
    position: relative;
    z-index: 5;
    max-width: 1320px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: right;
    padding-right: 20px;
}

.education-hero-card {
    max-width: 660px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: right;
}

.education-hero-text-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: right;
    width: 100%;
}

.education-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    margin-bottom: 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(99, 102, 241, 0.22);
    color: #4338CA;
    font-size: 0.94rem;
    font-weight: 800;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.education-hero-badge i {
    font-size: 1.15rem;
    color: #4F46E5;
}

.education-badge-dot {
    color: #A5B4FC;
    font-weight: 900;
    margin: 0 2px;
}

.education-hero-title {
    color: #1E1B4B;
    font-size: clamp(2.3rem, 4.4vw, 3.4rem);
    font-weight: 900;
    line-height: 1.22;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
}

.education-title-gradient {
    color: #4338CA !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #4338CA !important;
    display: inline-block;
}

.education-hero-subtitle {
    color: #4B4869;
    font-size: 1.12rem;
    line-height: 1.85;
    margin: 0 0 16px;
    max-width: 600px;
    font-weight: 500;
}

/* Education Hero Search Box */
.education-hero-search-card {
    width: 100%;
    margin: 0 0 10px;
}

.education-search-inner {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1.5px solid rgba(99, 102, 241, 0.24);
    border-radius: 999px;
    padding: 6px 8px;
    box-shadow: 0 12px 32px rgba(99, 102, 241, 0.10);
    transition: all 0.3s ease;
}

.education-search-inner:focus-within {
    border-color: #4F46E5;
    box-shadow: 0 16px 38px rgba(79, 70, 229, 0.18);
}

.education-field-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.education-location-group {
    padding: 0 12px 0 6px;
    flex-shrink: 0;
    max-width: 175px;
}

.education-location-group i {
    color: #4F46E5;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.education-location-select {
    border: none;
    background: transparent;
    font-size: 0.94rem;
    font-weight: 700;
    color: #1E1B4B;
    outline: none;
    cursor: pointer;
    width: 100%;
    padding: 6px 0;
}

.education-field-divider {
    width: 1px;
    height: 30px;
    background: rgba(99, 102, 241, 0.18);
    margin: 0 4px;
    flex-shrink: 0;
}

.education-input-group {
    flex: 1;
    padding: 0 10px;
}

.education-input-group i {
    color: #818CF8;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.education-input-group input {
    width: 100%;
    border: none;
    background: transparent;
    font-size: 0.95rem;
    font-weight: 500;
    color: #1E1B4B;
    outline: none;
    padding: 8px 0;
    font-family: inherit;
}

.education-input-group input::placeholder {
    color: #818CF8;
    opacity: 0.85;
}

.education-search-btn {
    background: linear-gradient(135deg, #6366F1 0%, #4338CA 100%) !important;
    color: #ffffff !important;
    border: none;
    border-radius: 999px;
    padding: 12px 26px;
    font-weight: 800;
    font-size: 0.96rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 6px 18px rgba(79, 70, 229, 0.32);
    flex-shrink: 0;
}

.education-search-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(79, 70, 229, 0.42);
    color: #ffffff !important;
}

.education-search-btn i {
    font-size: 1.1rem;
    color: #ffffff;
}

.education-hero-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 4px 0 18px;
}

.education-highlight-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 15px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(99, 102, 241, 0.16);
    color: #1E1B4B;
    font-size: 0.92rem;
    font-weight: 700;
    box-shadow: 0 6px 18px rgba(99, 102, 241, 0.05);
    transition: all 0.25s ease;
}

.education-highlight-pill:hover {
    transform: translateY(-2px);
    border-color: #4F46E5;
    box-shadow: 0 10px 24px rgba(99, 102, 241, 0.12);
}

.education-highlight-pill i {
    color: #4F46E5;
    font-size: 1.12rem;
}

.education-hero-mobile-text {
    display: none !important;
}

@media (min-width: 768px) {
    .education-hero-highlights {
        display: flex !important;
    }
}

/* Education Hero Responsive (Laptop & Tablet) */
@media (max-width: 991px) {
    .hero-category-education {
        padding: 55px 0 60px;
        min-height: 480px;
    }
    .education-hero-card {
        max-width: 530px;
    }
    .education-hero-overlay {
        background: linear-gradient(270deg, 
            rgba(248, 247, 255, 0.98) 0%, 
            rgba(248, 247, 255, 0.92) 50%, 
            rgba(248, 247, 255, 0.40) 80%, 
            rgba(248, 247, 255, 0.10) 100%
        );
    }
}

/* Education Hero Responsive (Mobile تجربة الجوال المطابقة للعناية) */
@media (max-width: 767px) {
    .hero-category-education {
        position: relative;
        padding: 0 0 20px;
        min-height: auto;
        background-color: #F8F7FF;
        display: flex;
        flex-direction: column;
    }

    .education-hero-bg-wrap {
        position: relative;
        width: 100%;
        height: 58vw;
        max-height: 270px;
        min-height: 210px;
        z-index: 1;
        overflow: hidden;
        border-bottom: 1px solid rgba(99, 102, 241, 0.08);
    }

    .education-hero-bg-picture {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        display: block;
        z-index: 1;
    }

    .education-hero-bg-picture img,
    .education-hero-bg-img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: left center;
        opacity: 1 !important;
        display: block;
    }

    .education-hero-overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(270deg, 
            rgba(248, 247, 255, 0.92) 0%, 
            rgba(248, 247, 255, 0.50) 45%, 
            rgba(248, 247, 255, 0) 70%
        );
        z-index: 2;
        pointer-events: none;
    }

    /* النص داخل الصورة في الطرف الأيمن مباشرة مع العناصر الصغيرة */
    .education-hero-mobile-text {
        position: absolute !important;
        top: 0;
        right: 0;
        width: 56%;
        height: 100%;
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        text-align: right;
        padding: 8px 8px 8px 0;
        z-index: 5;
        box-sizing: border-box;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
    }

    .education-mobile-title {
        font-size: clamp(1.1rem, 4.2vw, 1.35rem);
        line-height: 1.22;
        margin: 0 0 3px;
        text-align: right;
        font-weight: 900;
        letter-spacing: -0.3px;
        color: #1E1B4B;
        text-shadow: 0 1px 2px rgba(255, 255, 255, 0.85);
    }

    .education-mobile-title .education-title-gradient {
        color: #4338CA !important;
        -webkit-text-fill-color: #4338CA !important;
        background: none !important;
        text-shadow: none !important;
        font-weight: 900;
    }

    .education-mobile-sub {
        font-size: clamp(0.7rem, 2.3vw, 0.8rem);
        line-height: 1.35;
        margin: 0 0 6px;
        text-align: right;
        color: #4338CA;
        font-weight: 600;
        text-shadow: 0 1px 2px rgba(255, 255, 255, 0.85);
    }

    .education-hero-container {
        position: relative;
        z-index: 5;
        width: 100%;
        padding: 0 14px;
    }

    .education-hero-card {
        position: static;
        width: 100%;
        max-width: 100%;
        align-items: stretch;
        text-align: right;
        background: transparent !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        border-radius: 0 !important;
        padding: 0 !important;
        border: none !important;
        box-shadow: none !important;
    }

    /* مربع البحث أسفل صورة الهيرو مباشرة */
    .education-hero-search-card {
        margin: 14px 0 16px;
        width: 100%;
        position: relative;
        z-index: 5;
    }

    .education-search-inner {
        flex-direction: column;
        border-radius: 16px;
        padding: 10px 12px;
        gap: 8px;
        background: #ffffff;
        border: 1.5px solid rgba(99, 102, 241, 0.22);
        box-shadow: 0 8px 22px rgba(99, 102, 241, 0.08);
    }

    .education-field-group {
        width: 100%;
    }

    .education-location-group {
        max-width: 100%;
        border-bottom: 1px solid rgba(99, 102, 241, 0.12);
        padding-bottom: 8px;
    }

    .education-location-select {
        font-size: 0.92rem;
    }

    .education-field-divider {
        display: none;
    }

    .education-input-group {
        padding: 0 4px;
    }

    .education-input-group input {
        font-size: 0.92rem;
        padding: 6px 0;
    }

    .education-search-btn {
        width: 100%;
        justify-content: center;
        padding: 11px 16px;
        border-radius: 12px;
        font-size: 0.95rem;
    }

    /* إخفاء عناصر اللابتوب على الجوال */
    .education-hero-highlights.desktop-only,
    .education-hero-text-group.desktop-only {
        display: none !important;
    }

    /* العناصر الصغيرة على الصورة مع العنوان */
    .education-mobile-highlights {
        display: flex !important;
        flex-wrap: wrap;
        gap: 5px;
        margin-top: 4px;
        align-items: center;
        width: 100%;
    }

    .education-mobile-chip {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        padding: 3px 8px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.90);
        border: 1px solid rgba(99, 102, 241, 0.22);
        color: #1E1B4B;
        font-size: clamp(0.64rem, 2.1vw, 0.72rem);
        font-weight: 700;
        line-height: 1.25;
        box-shadow: 0 2px 6px rgba(99, 102, 241, 0.08);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        white-space: nowrap;
        transition: all 0.2s ease;
    }

    .education-mobile-chip:active {
        transform: scale(0.96);
        background: #ffffff;
        border-color: #4F46E5;
    }

    .education-mobile-chip i {
        color: #4F46E5;
        font-size: 0.82rem;
        flex-shrink: 0;
    }
}

/* ====================================================
   Education Subcategories Section & Clean White Cards
   (تصميم الأقسام الفرعية لقسم التعليم والتدريب)
   ==================================================== */
.subcategories-education {
    background: #F8F7FF; /* لون بنفسجي فاتح جداً وناعم */
    padding: 55px 0 40px;
    position: relative;
}

.subcat-education-header {
    text-align: center;
    margin-bottom: 36px;
}

.subcat-education-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 18px;
    border-radius: 999px;
    background: #ffffff;
    color: #4338CA;
    font-size: 0.88rem;
    font-weight: 800;
    margin-bottom: 12px;
    border: 1px solid rgba(99, 102, 241, 0.18);
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.05);
}

.subcat-education-badge i {
    font-size: 1.1rem;
    color: #4F46E5;
}

.subcat-education-title {
    color: #1E1B4B;
    font-size: clamp(1.7rem, 3.2vw, 2.2rem);
    font-weight: 900;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}

.subcat-education-subtitle {
    color: #4B4869;
    font-size: 1.02rem;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.75;
}

.subcat-education-grid {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 26px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.education-subcat-card {
    background: #ffffff !important;
    border: 1px solid #EBE9F8;
    border-radius: 20px;
    padding: 24px 20px 20px;
    min-width: 200px;
    max-width: 250px;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 18px rgba(30, 27, 75, 0.04);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.education-subcat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 12px 30px rgba(99, 102, 241, 0.10);
}

.subcat-education-icon-container {
    position: relative;
    width: 85px;
    height: 85px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
}

.subcat-education-card-img {
    position: relative;
    width: 75px;
    height: 75px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.education-subcat-card:hover .subcat-education-card-img {
    transform: scale(1.06);
}

.subcat-education-card-icon {
    position: relative;
    font-size: 3.5rem;
    color: #4F46E5;
    transition: transform 0.3s ease;
}

.education-subcat-card:hover .subcat-education-card-icon {
    transform: scale(1.06);
}

.education-subcat-name {
    color: #1E1B4B;
    font-size: 1.1rem;
    font-weight: 800;
    margin: 6px 0 0;
    transition: color 0.25s ease;
}

.education-subcat-card:hover .education-subcat-name {
    color: #4F46E5;
}

/* Active / Selected Education Subcategory: Darker Indigo with White Text */
.education-subcat-card.is-selected {
    background: #3730A3 !important;
    border-color: #1E1B4B !important;
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(55, 48, 163, 0.38) !important;
}

.education-subcat-card.is-selected .education-subcat-name {
    color: #ffffff !important;
}

.education-subcat-card.is-selected .subcat-education-card-icon {
    color: #ffffff !important;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.25));
}

.education-subcat-card.is-selected .subcat-education-card-img {
    filter: brightness(1.08) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.25));
}

@media (max-width: 767px) {
    .subcategories-education {
        padding: 35px 0 25px;
    }
    .subcat-education-header {
        margin-bottom: 20px;
    }
    .subcat-education-badge {
        font-size: 0.8rem;
        padding: 5px 14px;
        margin-bottom: 8px;
    }
    .subcat-education-title {
        font-size: 1.35rem;
        margin-bottom: 6px;
    }
    .subcat-education-subtitle {
        font-size: 0.84rem;
        line-height: 1.55;
    }
    .subcat-education-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-bottom: 20px;
    }
    .education-subcat-card {
        min-width: 0;
        max-width: none;
        width: 100%;
        padding: 18px 10px 14px;
        border-radius: 16px;
        box-shadow: 0 4px 14px rgba(30, 27, 75, 0.04);
    }
    .subcat-education-icon-container {
        width: 58px;
        height: 58px;
        margin: 0 auto 8px;
    }
    .subcat-education-card-img {
        width: 50px;
        height: 50px;
    }
    .subcat-education-card-icon {
        font-size: 2.5rem;
    }
    .education-subcat-name {
        font-size: 0.9rem;
        line-height: 1.35;
        margin: 4px 0 0;
    }
}

/* ====================================================
   Delivery & Transport Category Hero (الهيرو المخصص لقسم التوصيل والنقل)
   ==================================================== */
.hero-category-delivery {
    position: relative;
    background-color: #F0F6FE;
    padding: 70px 0 70px;
    min-height: 520px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.delivery-hero-bg-wrap {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.delivery-hero-bg-picture {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 1;
}

.delivery-hero-bg-picture img,
.delivery-hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
    z-index: 1;
    transition: transform 0.8s ease;
}

.delivery-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(270deg, 
        rgba(240, 246, 254, 0.96) 0%, 
        rgba(240, 246, 254, 0.85) 18%, 
        rgba(240, 246, 254, 0.35) 34%, 
        rgba(240, 246, 254, 0) 48%
    );
}

.delivery-hero-container {
    position: relative;
    z-index: 5;
    max-width: 100% !important;
    width: 100% !important;
    margin-right: 0 !important;
    margin-left: auto !important;
    padding-right: clamp(16px, 3.5vw, 45px) !important;
    padding-left: 20px !important;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: right;
}

.delivery-hero-card {
    max-width: 580px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: right;
}

.delivery-hero-text-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: right;
    width: 100%;
}

.delivery-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    margin-bottom: 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(20, 86, 225, 0.22);
    color: #0E46C4;
    font-size: 0.94rem;
    font-weight: 800;
    box-shadow: 0 8px 24px rgba(20, 86, 225, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.delivery-hero-badge i {
    font-size: 1.18rem;
    color: #1456E1;
}

.delivery-badge-dot {
    color: #60A5FA;
    font-weight: 900;
    margin: 0 2px;
}

.delivery-hero-title {
    color: #0F2345;
    font-size: clamp(2.3rem, 4.4vw, 3.4rem);
    font-weight: 900;
    line-height: 1.22;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
}

.delivery-title-gradient {
    background: linear-gradient(135deg, #1456E1 0%, #0E46C4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.delivery-hero-subtitle {
    color: #475569;
    font-size: 1.12rem;
    line-height: 1.85;
    margin: 0 0 16px;
    max-width: 600px;
    font-weight: 500;
}

/* Delivery Hero Integrated Search Box */
.delivery-hero-search-card {
    width: 100%;
    margin: 10px 0 22px;
}

.delivery-search-inner {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1.5px solid rgba(20, 86, 225, 0.24);
    border-radius: 999px;
    padding: 6px 8px;
    box-shadow: 0 12px 32px rgba(20, 86, 225, 0.10);
    transition: all 0.3s ease;
}

.delivery-search-inner:focus-within {
    border-color: #1456E1;
    box-shadow: 0 16px 38px rgba(20, 86, 225, 0.18);
}

.delivery-field-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.delivery-location-group {
    padding: 0 12px 0 6px;
    flex-shrink: 0;
    max-width: 175px;
}

.delivery-location-group i {
    color: #1456E1;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.delivery-location-select {
    border: none;
    background: transparent;
    font-size: 0.94rem;
    font-weight: 700;
    color: #0F2345;
    outline: none;
    cursor: pointer;
    width: 100%;
    padding: 6px 0;
}

.delivery-field-divider {
    width: 1px;
    height: 30px;
    background: rgba(20, 86, 225, 0.18);
    margin: 0 4px;
    flex-shrink: 0;
}

.delivery-input-group {
    flex: 1;
    padding: 0 10px;
}

.delivery-input-group i {
    color: #64748B;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.delivery-input-group input {
    width: 100%;
    border: none;
    background: transparent;
    font-size: 0.95rem;
    font-weight: 500;
    color: #0F2345;
    outline: none;
    padding: 8px 0;
    font-family: inherit;
}

.delivery-input-group input::placeholder {
    color: #64748B;
    opacity: 0.85;
}

.delivery-search-btn {
    background: linear-gradient(135deg, #1456E1 0%, #0E46C4 100%) !important;
    color: #ffffff !important;
    border: none;
    border-radius: 999px;
    padding: 12px 26px;
    font-weight: 800;
    font-size: 0.96rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 6px 18px rgba(20, 86, 225, 0.32);
    flex-shrink: 0;
}

.delivery-search-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(20, 86, 225, 0.42);
    color: #ffffff !important;
}

.delivery-search-btn i {
    font-size: 1.1rem;
    color: #ffffff;
}

/* Delivery Hero Highlights */
.delivery-hero-highlights {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    margin: 4px 0 18px;
    width: 100%;
}

.delivery-highlight-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 13px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(20, 86, 225, 0.16);
    color: #0F2345;
    font-size: 0.88rem;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 6px 18px rgba(20, 86, 225, 0.05);
    transition: all 0.25s ease;
}

.delivery-highlight-pill:hover {
    transform: translateY(-2px);
    border-color: #1456E1;
    box-shadow: 0 10px 24px rgba(20, 86, 225, 0.12);
}

.delivery-highlight-pill i {
    color: #1456E1;
    font-size: 1.08rem;
    flex-shrink: 0;
}

.delivery-hero-mobile-text {
    display: none !important;
}

@media (min-width: 768px) {
    .delivery-hero-highlights {
        display: flex !important;
    }
}

/* Delivery Responsive */
@media (max-width: 991px) {
    .hero-category-delivery {
        padding: 55px 0 60px;
        min-height: 480px;
    }
    .delivery-hero-container {
        padding-right: 25px !important;
        padding-left: 15px !important;
    }
    .delivery-hero-card {
        max-width: 540px;
    }
    .delivery-hero-overlay {
        background: linear-gradient(270deg, 
            rgba(240, 246, 254, 0.96) 0%, 
            rgba(240, 246, 254, 0.86) 24%, 
            rgba(240, 246, 254, 0.35) 44%, 
            rgba(240, 246, 254, 0) 58%
        );
    }
}

@media (max-width: 767px) {
    .hero-category-delivery {
        position: relative;
        padding: 0 0 10px;
        min-height: auto;
        background-color: #F8FAFC;
        display: flex;
        flex-direction: column;
    }

    .delivery-hero-bg-wrap {
        position: relative;
        width: 100%;
        height: 54vw;
        max-height: 250px;
        min-height: 180px;
        z-index: 1;
        overflow: hidden;
        border-bottom: 1px solid rgba(20, 86, 225, 0.08);
    }

    .delivery-hero-bg-picture {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        display: block;
    }

    .delivery-hero-bg-picture img,
    .delivery-hero-bg-img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: left center;
        opacity: 1 !important;
        display: block;
    }

    .delivery-hero-overlay {
        display: none !important;
        background: none !important;
    }

    /* النص داخل الصورة في الطرف الأيمن مباشرة وبدون أي بطاقة أو تعتيم */
    .delivery-hero-mobile-text {
        position: absolute !important;
        top: 0;
        right: 0;
        width: 62%;
        max-width: 65%;
        height: 100%;
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        text-align: right;
        padding: 8px 12px 8px 2px;
        z-index: 5;
        box-sizing: border-box;
        background: transparent !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        border: none !important;
        box-shadow: none !important;
        border-radius: 0 !important;
    }

    .delivery-mobile-badge {
        display: none !important;
    }

    .delivery-mobile-title {
        font-size: clamp(1.15rem, 4.4vw, 1.4rem);
        line-height: 1.25;
        margin: 0 0 5px;
        text-align: right;
        font-weight: 900;
        letter-spacing: -0.3px;
        color: #0F2345;
        text-shadow: none !important;
    }

    .delivery-mobile-title .delivery-title-gradient {
        color: #1456E1 !important;
        -webkit-text-fill-color: #1456E1 !important;
        background: none !important;
        text-shadow: none !important;
        font-weight: 900;
    }

    .delivery-mobile-sub {
        font-size: clamp(0.72rem, 2.5vw, 0.84rem);
        line-height: 1.45;
        margin: 0;
        text-align: right;
        color: #334155;
        font-weight: 600;
        text-shadow: none !important;
    }

    .delivery-mobile-sub-tags {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center;
        gap: 3px;
        margin-top: 5px;
        max-width: 100%;
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
        -webkit-overflow-scrolling: touch;
    }

    .delivery-mobile-sub-tags::-webkit-scrollbar {
        display: none;
    }

    .delivery-mobile-sub-tag {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 2.5px 6.5px;
        font-size: clamp(0.60rem, 2vw, 0.70rem);
        font-weight: 700;
        color: #1456E1;
        background: #ffffff;
        border: 1px solid rgba(20, 86, 225, 0.22);
        border-radius: 999px;
        box-shadow: 0 1.5px 4px rgba(20, 86, 225, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
        white-space: nowrap;
        flex-shrink: 0;
        line-height: 1.3;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    .delivery-hero-container {
        position: relative;
        z-index: 5;
        width: 100%;
        padding: 0 12px;
    }

    .delivery-hero-card {
        position: static;
        width: 100%;
        max-width: 100%;
        align-items: stretch;
        text-align: right;
        background: transparent !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        border-radius: 0 !important;
        padding: 0 !important;
        border: none !important;
        box-shadow: none !important;
    }

    /* مربع البحث المدمج الذكي بنظام سطرين مدمجين على الجوال */
    .delivery-hero-search-card {
        margin: 8px 0 4px;
        width: 100%;
        position: relative;
        z-index: 5;
    }

    .delivery-search-inner {
        display: flex;
        flex-wrap: wrap;
        border-radius: 16px;
        padding: 8px 10px;
        gap: 7px;
        background: #ffffff;
        border: 1px solid rgba(20, 86, 225, 0.16);
        box-shadow: 0 6px 20px rgba(15, 35, 69, 0.06);
    }

    /* سطر اختيار المدينة */
    .delivery-field-group.delivery-location-group {
        width: 100%;
        flex: 0 0 100%;
        max-width: 100%;
        background: #F8FAFC;
        border: 1px solid #E2E8F0;
        border-radius: 10px;
        padding: 5px 10px;
        height: 38px;
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .delivery-location-group i {
        color: #1456E1;
        font-size: 1.1rem;
    }

    .delivery-location-select {
        font-size: 0.90rem;
        font-weight: 700;
        color: #0F2345;
        background: transparent;
        width: 100%;
    }

    .delivery-field-divider {
        display: none;
    }

    /* سطر حقل البحث مع زر البحث جنباً إلى جنب */
    .delivery-field-group.delivery-input-group {
        flex: 1;
        min-width: 0;
        background: #F8FAFC;
        border: 1px solid #E2E8F0;
        border-radius: 10px;
        padding: 0 10px;
        height: 40px;
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .delivery-input-group i {
        font-size: 1.05rem;
        color: #64748B;
    }

    .delivery-input-group input {
        font-size: 0.88rem;
        padding: 6px 0;
        color: #0F2345;
        font-weight: 600;
        width: 100%;
    }

    .delivery-input-group input::placeholder {
        color: #94A3B8;
        font-size: 0.84rem;
        font-weight: 500;
    }

    .delivery-search-btn {
        width: auto !important;
        flex: 0 0 auto;
        height: 40px;
        padding: 0 18px !important;
        border-radius: 10px;
        font-size: 0.92rem;
        font-weight: 800;
        display: inline-flex;
        align-items: center;
        gap: 5px;
    }

    /* إخفاء أزرار المزايا ونصوص اللابتوب في تجربة الجوال */
    .delivery-hero-highlights,
    .delivery-hero-highlights.desktop-only,
    .delivery-hero-text-group.desktop-only,
    .desktop-only {
        display: none !important;
    }
}

/* ====================================================
   Delivery Subcategories Section (الأقسام الفرعية للتوصيل والنقل)
   ==================================================== */
.subcategories-delivery {
    background: #F0F6FE;
    padding: 55px 0 40px;
    position: relative;
}

.subcat-delivery-header {
    text-align: center;
    margin-bottom: 36px;
}

.subcat-delivery-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 18px;
    border-radius: 999px;
    background: #ffffff;
    color: #0E46C4;
    font-size: 0.88rem;
    font-weight: 800;
    border: 1px solid rgba(20, 86, 225, 0.18);
    box-shadow: 0 4px 14px rgba(20, 86, 225, 0.06);
    margin-bottom: 12px;
}

.subcat-delivery-badge i {
    font-size: 1.1rem;
    color: #1456E1;
}

.subcat-delivery-title {
    color: #0F2345;
    font-size: 1.85rem;
    font-weight: 900;
    margin: 0 0 10px;
}

.subcat-delivery-subtitle {
    color: #64748B;
    font-size: 0.98rem;
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.7;
}

.subcat-delivery-grid {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 26px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.delivery-subcat-card {
    background: #ffffff !important;
    border: 1px solid #E2E8F0;
    border-radius: 20px;
    padding: 24px 20px 20px;
    min-width: 200px;
    max-width: 250px;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 18px rgba(15, 35, 69, 0.04);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.delivery-subcat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(20, 86, 225, 0.35);
    box-shadow: 0 12px 30px rgba(20, 86, 225, 0.12);
}

.subcat-delivery-icon-container {
    position: relative;
    width: 85px;
    height: 85px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    background: transparent;
    border: none;
    box-shadow: none;
    transition: all 0.3s ease;
}

.delivery-subcat-card:hover .subcat-delivery-icon-container {
    transform: scale(1.06);
    background: transparent;
    border: none;
    box-shadow: none;
}

.subcat-delivery-card-img {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

.subcat-delivery-card-icon {
    font-size: 3.2rem;
    color: #1456E1;
}

.delivery-subcat-name {
    color: #0F2345;
    font-size: 1.1rem;
    font-weight: 800;
    margin: 6px 0 0;
    transition: color 0.25s ease;
}

.delivery-subcat-card:hover .delivery-subcat-name {
    color: #1456E1;
}

/* Active / Selected Delivery Subcategory: Darker Royal Navy Blue with White Text */
.delivery-subcat-card.is-selected {
    background: #0A3699 !important;
    border-color: #072566 !important;
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(10, 54, 153, 0.38) !important;
}

.delivery-subcat-card.is-selected .delivery-subcat-name {
    color: #ffffff !important;
}

.delivery-subcat-card.is-selected .subcat-delivery-card-icon {
    color: #ffffff !important;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.25));
}

.delivery-subcat-card.is-selected .subcat-delivery-card-img {
    filter: brightness(1.08) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.25));
}

@media (max-width: 767px) {
    .subcategories-delivery {
        padding: 35px 0 25px;
    }
    .subcat-delivery-header {
        margin-bottom: 20px;
    }
    .subcat-delivery-badge {
        font-size: 0.8rem;
        padding: 5px 14px;
        margin-bottom: 8px;
    }
    .subcat-delivery-title {
        font-size: 1.35rem;
        margin-bottom: 6px;
    }
    .subcat-delivery-subtitle {
        font-size: 0.84rem;
        line-height: 1.55;
    }
    .subcat-delivery-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-bottom: 20px;
    }
    .delivery-subcat-card {
        min-width: 0;
        max-width: none;
        width: 100%;
        padding: 18px 10px 14px;
        border-radius: 16px;
        box-shadow: 0 4px 14px rgba(15, 35, 69, 0.04);
    }
    .subcat-delivery-icon-container {
        width: 58px;
        height: 58px;
        margin: 0 auto 8px;
    }
    .subcat-delivery-card-img {
        width: 50px;
        height: 50px;
    }
    .subcat-delivery-card-icon {
        font-size: 2.5rem;
    }
    .delivery-subcat-name {
        font-size: 0.9rem;
        line-height: 1.35;
        margin: 4px 0 0;
    }
}

/* ====================================================
   Professional Services Category Hero (الهيرو المخصص لقسم الخدمات المهنية)
   تصميم متقن مطابق لصفحة التجميل والعناية بألوان وهوية الخدمات المهنية
   ==================================================== */
.hero-category-professional {
    position: relative;
    background-color: #EDF6FF;
    padding: 70px 0 70px;
    min-height: 520px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.professional-hero-bg-wrap {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.professional-hero-bg-picture {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 1;
}

.professional-hero-bg-picture img,
.professional-hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
    z-index: 1;
    transition: transform 0.8s ease;
}

.professional-hero-overlay {
    display: none !important;
}

.professional-hero-container {
    position: relative;
    z-index: 5;
    max-width: 1320px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: right;
    padding-right: 20px;
}

.professional-hero-card {
    max-width: 660px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: right;
}

.professional-hero-text-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: right;
    width: 100%;
}

.professional-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    margin-bottom: 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(2, 132, 199, 0.22);
    color: #0369A1;
    font-size: 0.94rem;
    font-weight: 800;
    box-shadow: 0 8px 24px rgba(2, 132, 199, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.professional-hero-badge i {
    font-size: 1.15rem;
    color: #0284C7;
}

.professional-badge-dot {
    color: #7DD3FC;
    font-weight: 900;
    margin: 0 2px;
}

.professional-hero-title {
    color: #0C2340;
    font-size: clamp(2.3rem, 4.4vw, 3.4rem);
    font-weight: 900;
    line-height: 1.22;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
}

.professional-title-gradient {
    color: #0284C7 !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #0284C7 !important;
    display: inline-block;
}

.professional-hero-subtitle {
    color: #334E68;
    font-size: 1.12rem;
    line-height: 1.85;
    margin: 0 0 16px;
    max-width: 600px;
    font-weight: 500;
}

/* Professional Hero Integrated Search Box */
.professional-hero-search-card {
    width: 100%;
    margin: 10px 0 22px;
}

.professional-search-inner {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1.5px solid rgba(2, 132, 199, 0.24);
    border-radius: 999px;
    padding: 6px 8px;
    box-shadow: 0 12px 32px rgba(2, 132, 199, 0.10);
    transition: all 0.3s ease;
}

.professional-search-inner:focus-within {
    border-color: #0284C7;
    box-shadow: 0 16px 38px rgba(2, 132, 199, 0.18);
}

.professional-field-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.professional-location-group {
    padding: 0 12px 0 6px;
    flex-shrink: 0;
    max-width: 175px;
}

.professional-location-group i {
    color: #0284C7;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.professional-location-select {
    border: none;
    background: transparent;
    font-size: 0.94rem;
    font-weight: 700;
    color: #0C2340;
    outline: none;
    cursor: pointer;
    width: 100%;
    padding: 6px 0;
}

.professional-field-divider {
    width: 1px;
    height: 30px;
    background: rgba(2, 132, 199, 0.18);
    margin: 0 4px;
    flex-shrink: 0;
}

.professional-input-group {
    flex: 1;
    padding: 0 10px;
}

.professional-input-group i {
    color: #64748B;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.professional-input-group input {
    width: 100%;
    border: none;
    background: transparent;
    font-size: 0.95rem;
    font-weight: 500;
    color: #0C2340;
    outline: none;
    padding: 8px 0;
    font-family: inherit;
}

.professional-input-group input::placeholder {
    color: #64748B;
    opacity: 0.85;
}

.professional-search-btn {
    background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%) !important;
    color: #ffffff !important;
    border: none;
    border-radius: 999px;
    padding: 12px 26px;
    font-weight: 800;
    font-size: 0.96rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 6px 18px rgba(2, 132, 199, 0.32);
    flex-shrink: 0;
}

.professional-search-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(2, 132, 199, 0.42);
    color: #ffffff !important;
}

.professional-search-btn i {
    font-size: 1.1rem;
    color: #ffffff;
}

.professional-hero-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
}

.professional-highlight-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    border: 1.5px solid rgba(2, 132, 199, 0.20);
    color: #0C2340;
    font-size: 0.90rem;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.06);
    transition: all 0.25s ease;
}

.professional-highlight-pill:hover {
    transform: translateY(-2px);
    border-color: #0284C7;
    box-shadow: 0 8px 22px rgba(2, 132, 199, 0.16);
    background: #ffffff;
}

.professional-highlight-pill i {
    color: #0284C7;
    font-size: 1.15rem;
}

/* شارات صغيرة في صف واحد داخل نص الهيرو على الجوال */
.professional-mobile-badges {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.pm-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(2, 132, 199, 0.22);
    color: #0369A1;
    font-size: clamp(0.60rem, 2.2vw, 0.70rem);
    font-weight: 800;
    line-height: 1.2;
    box-shadow: 0 1px 4px rgba(2, 132, 199, 0.08);
    flex-shrink: 0;
}

.pm-badge i {
    color: #0284C7;
    font-size: 0.78rem;
}

.professional-hero-mobile-text {
    display: none !important;
}

/* Professional Hero Responsive */
@media (max-width: 991px) {
    .hero-category-professional {
        padding: 55px 0 60px;
        min-height: 480px;
    }
    .professional-hero-card {
        max-width: 530px;
    }
    .professional-hero-overlay {
        background: linear-gradient(270deg, 
            rgba(237, 246, 255, 0.98) 0%, 
            rgba(237, 246, 255, 0.92) 50%, 
            rgba(237, 246, 255, 0.40) 80%, 
            rgba(237, 246, 255, 0.10) 100%
        );
    }
}

@media (max-width: 767px) {
    .hero-category-professional {
        position: relative;
        padding: 0 0 20px;
        min-height: auto;
        background-color: #EDF6FF;
        display: flex;
        flex-direction: column;
    }

    .professional-hero-bg-wrap {
        position: relative;
        width: 100%;
        height: 54vw;
        max-height: 250px;
        min-height: 180px;
        z-index: 1;
        overflow: hidden;
        border-bottom: 1px solid rgba(2, 132, 199, 0.08);
    }

    .professional-hero-bg-picture {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        display: block;
        z-index: 1;
    }

    .professional-hero-bg-picture img,
    .professional-hero-bg-img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: left center;
        opacity: 1 !important;
        display: block;
    }

    .professional-hero-overlay {
        display: none !important;
    }

    /* النص داخل الصورة في الطرف الأيمن مباشرة وبدون أي بطاقة */
    .professional-hero-mobile-text {
        position: absolute !important;
        top: 0;
        right: 0;
        width: 53%;
        height: 100%;
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        text-align: right;
        padding: 8px 6px 8px 0;
        z-index: 5;
        box-sizing: border-box;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
    }

    .professional-mobile-title {
        font-size: clamp(1.15rem, 4.4vw, 1.4rem);
        line-height: 1.25;
        margin: 0 0 5px;
        text-align: right;
        font-weight: 900;
        letter-spacing: -0.3px;
        color: #0C2340;
        text-shadow: 0 1px 2px rgba(255, 255, 255, 0.85);
    }

    .professional-mobile-title .professional-title-gradient {
        color: #0284C7 !important;
        -webkit-text-fill-color: #0284C7 !important;
        background: none !important;
        text-shadow: none !important;
        font-weight: 900;
    }

    .professional-mobile-sub {
        font-size: clamp(0.72rem, 2.5vw, 0.84rem);
        line-height: 1.45;
        margin: 0;
        text-align: right;
        color: #334E68;
        font-weight: 600;
        text-shadow: 0 1px 2px rgba(255, 255, 255, 0.85);
    }

    .professional-hero-container {
        position: relative;
        z-index: 5;
        width: 100%;
        padding: 0 14px;
    }

    .professional-hero-card {
        position: static;
        width: 100%;
        max-width: 100%;
        align-items: stretch;
        text-align: right;
        background: transparent !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        border-radius: 0 !important;
        padding: 0 !important;
        border: none !important;
        box-shadow: none !important;
    }

    /* مربع البحث أسفل صورة الهيرو مباشرة */
    .professional-hero-search-card {
        margin: 12px 0 6px;
        width: 100%;
        position: relative;
        z-index: 5;
    }

    .professional-search-inner {
        flex-direction: column;
        border-radius: 16px;
        padding: 10px 12px;
        gap: 8px;
        background: #ffffff;
        border: 1.5px solid rgba(2, 132, 199, 0.22);
        box-shadow: 0 8px 22px rgba(2, 132, 199, 0.08);
    }

    .professional-field-group {
        width: 100%;
    }

    .professional-location-group {
        max-width: 100%;
        border-bottom: 1px solid rgba(2, 132, 199, 0.12);
        padding-bottom: 8px;
    }

    .professional-location-select {
        font-size: 0.92rem;
    }

    .professional-field-divider {
        display: none;
    }

    .professional-input-group {
        padding: 0 4px;
    }

    .professional-input-group input {
        font-size: 0.92rem;
        padding: 6px 0;
    }

    .professional-search-btn {
        width: 100%;
        justify-content: center;
        padding: 11px 16px;
        border-radius: 12px;
        font-size: 0.95rem;
    }

    /* إلغاء أزرار المزايا على الجوال بناءً على طلب المستخدم */
    .professional-hero-highlights,
    .professional-hero-highlights.desktop-only {
        display: none !important;
    }

    .professional-hero-text-group.desktop-only,
    .desktop-only {
        display: none !important;
    }
}

/* ====================================================
   Professional Subcategories Section (الأقسام الفرعية المتخصصة للخدمات المهنية)
   تصميم بطاقات ناصعة وأنيقة مماثلة لصفحة التجميل والعناية
   ==================================================== */
.subcategories-professional {
    background: #F4F9FF; /* أزرق سماوي ناعم وفاخر */
    padding: 55px 0 40px;
    position: relative;
}

.subcat-professional-header {
    text-align: center;
    margin-bottom: 36px;
}

.subcat-professional-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 18px;
    border-radius: 999px;
    background: #ffffff;
    color: #0369A1;
    font-size: 0.88rem;
    font-weight: 800;
    margin-bottom: 12px;
    border: 1px solid rgba(2, 132, 199, 0.18);
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.05);
}

.subcat-professional-badge i {
    font-size: 1.1rem;
    color: #0284C7;
}

.subcat-professional-title {
    color: #0C2340;
    font-size: clamp(1.7rem, 3.2vw, 2.2rem);
    font-weight: 900;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}

.subcat-professional-subtitle {
    color: #475569;
    font-size: 1.02rem;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.75;
}

.subcat-professional-grid {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 26px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.professional-subcat-card {
    background: #ffffff !important;
    border: 1px solid #E2E8F0;
    border-radius: 20px;
    padding: 24px 20px 20px;
    min-width: 200px;
    max-width: 250px;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 18px rgba(15, 35, 69, 0.04);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.professional-subcat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(2, 132, 199, 0.3);
    box-shadow: 0 12px 30px rgba(2, 132, 199, 0.12);
}

.subcat-professional-icon-container {
    position: relative;
    width: 85px;
    height: 85px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
}

.subcat-professional-card-img {
    position: relative;
    width: 75px;
    height: 75px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.professional-subcat-card:hover .subcat-professional-card-img {
    transform: scale(1.06);
}

.subcat-professional-card-icon {
    position: relative;
    font-size: 3.5rem;
    color: #0284C7;
    transition: transform 0.3s ease;
}

.professional-subcat-card:hover .subcat-professional-card-icon {
    transform: scale(1.06);
}

.professional-subcat-name {
    color: #0C2340;
    font-size: 1.1rem;
    font-weight: 800;
    margin: 6px 0 0;
    transition: color 0.25s ease;
}

.professional-subcat-card:hover .professional-subcat-name {
    color: #0284C7;
}

/* Active / Selected Professional Subcategory: Darker Slate Blue with White Text */
.professional-subcat-card.is-selected {
    background: #035380 !important;
    border-color: #023a59 !important;
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(3, 83, 128, 0.38) !important;
}

.professional-subcat-card.is-selected .professional-subcat-name {
    color: #ffffff !important;
}

.professional-subcat-card.is-selected .subcat-professional-card-icon {
    color: #ffffff !important;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.25));
}

.professional-subcat-card.is-selected .subcat-professional-card-img {
    filter: brightness(1.08) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.25));
}

@media (max-width: 767px) {
    .subcategories-professional {
        padding: 35px 0 25px;
    }
    .subcat-professional-header {
        margin-bottom: 20px;
    }
    .subcat-professional-badge {
        font-size: 0.8rem;
        padding: 5px 14px;
        margin-bottom: 8px;
    }
    .subcat-professional-title {
        font-size: 1.35rem;
        margin-bottom: 6px;
    }
    .subcat-professional-subtitle {
        font-size: 0.84rem;
        line-height: 1.55;
    }
    .subcat-professional-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-bottom: 20px;
    }
    .professional-subcat-card {
        min-width: 0;
        max-width: none;
        width: 100%;
        padding: 18px 10px 14px;
        border-radius: 16px;
        box-shadow: 0 4px 14px rgba(15, 35, 69, 0.04);
    }
    .subcat-professional-icon-container {
        width: 58px;
        height: 58px;
        margin: 0 auto 8px;
    }
    .subcat-professional-card-img {
        width: 50px;
        height: 50px;
    }
    .subcat-professional-card-icon {
        font-size: 2.5rem;
    }
    .professional-subcat-name {
        font-size: 0.9rem;
        line-height: 1.35;
        margin: 4px 0 0;
    }
}

/* Phone Mockup & Floating Cards (Visual Section) */
.hero-left-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 395px;
    transform: scale(0.82);
    transform-origin: center center;
}

.phone-mockup-wrapper {
    position: relative;
    width: 230px;
    height: 430px;
}

.phone-mockup-wrapper::before {
    display: none;
}

.dashed-circle-track {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 410px;
    height: 410px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 2px dashed #9dc4ff;
    opacity: 0.65;
    z-index: 1;
}

a.floating-bubble,
.floating-bubble {
    position: absolute;
    background: var(--card-bg);
    border-radius: 14px;
    padding: 6px 12px;
    min-width: 100px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    border: 1px solid #E2E8F0;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

a.floating-bubble:hover,
.floating-bubble:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
    border-color: #CBD5E1;
}

.floating-bubble i {
    font-size: 1.4rem;
    margin-bottom: 2px;
}

.floating-bubble .b-text {
    text-align: center;
}
.floating-bubble .b-text strong {
    display: block;
    font-size: 0.82rem;
    color: var(--hero-navy);
    font-weight: 800;
    white-space: nowrap;
}
.floating-bubble .b-text span {
    display: block;
    font-size: 0.68rem;
    color: var(--text-secondary);
    font-weight: 600;
    white-space: nowrap;
}

.bubble-tr { top: 6%; right: -125px; }
.bubble-mr { top: 40%; right: -145px; }
.bubble-br { bottom: 5%; right: -125px; }
.bubble-bl { bottom: 5%; left: -125px; }
.bubble-ml { top: 40%; left: -145px; }
.bubble-tl { top: 6%; left: -125px; }

.bubble-tr i, .bubble-br i, .bubble-ml i { color: var(--icon-default); }
.bubble-mr i, .bubble-bl i, .bubble-tl i { color: var(--accent-color); }

.phone-mockup {
    position: relative;
    width: 100%;
    height: 100%;
    background: #ffffff;
    border: 8px solid var(--hero-navy);
    border-radius: 42px;
    box-shadow: 0 26px 55px rgba(8, 30, 62, 0.16);
    z-index: 3;
    overflow: hidden;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 38px 14px 20px;
    position: relative;
    box-sizing: border-box;
}

.phone-screen-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 14px;
    min-height: 0;
    padding-top: 8px;
}

.phone-logo {
    text-align: center;
    flex-shrink: 0;
}

.phone-logo-image {
    width: auto;
    max-width: 94%;
    height: auto;
    max-height: 220px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    border-radius: 10px;
}

.phone-decor-lines {
    width: 72%;
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
    flex-shrink: 0;
}

.p-line {
    width: 100%;
    height: 6px;
    background: var(--section-bg);
    border-radius: 10px;
}

.p-line.short {
    width: 60%;
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 46%;
    max-width: 110px;
    height: 22px;
    background: var(--hero-navy);
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.phone-search-mockup {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    background: var(--bg-color);
    border: 1px solid #E2E8F0;
    border-radius: 50px;
    padding: 9px 12px;
    color: var(--text-secondary);
    font-size: 0.68rem;
    font-weight: 700;
    flex-shrink: 0;
    box-sizing: border-box;
}
.phone-search-mockup i {
    color: var(--icon-default);
    font-size: 1rem;
    flex-shrink: 0;
}
.phone-search-mockup span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Floating Features Section */
.features-floating-wrapper {
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1200px;
    z-index: 20;
    padding: 0 20px;
}

.features-section-title {
    display: none;
}

.features-section-title h2 {
    color: var(--hero-navy);
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 0;
}

.features-section-title-line {
    display: none;
    width: 54px;
    height: 4px;
    border-radius: 999px;
    background: var(--hero-blue);
}

.features-floating-card {
    background: var(--card-bg);
    border-radius: 22px;
    padding: 18px 22px;
    box-shadow: var(--shadow-soft);
    border: 1px solid #E2E8F0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 4;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: right;
}

.feature-item:not(:last-child) {
    border-left: 1px solid #E2E8F0;
    padding-left: 15px;
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 14px;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.icon-green {
    background: var(--success-bg);
    color: var(--icon-success);
}

.icon-blue {
    background: var(--section-bg);
    color: var(--icon-default);
}

.feature-text h3 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--hero-navy);
    margin-bottom: 2px;
}

.feature-text p {
    font-size: 0.84rem;
    color: var(--text-muted);
}

/* ====================================================
   Full-Width Map Search Banner Section (Edge-to-Edge)
   ==================================================== */
.fullwidth-search-banner-section {
    width: 100%;
    margin-top: 0;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.fws-banner-wrap {
    position: relative;
    width: 100%;
    min-height: 480px;
    background: #0F2345;
    overflow: hidden;
}

.fws-banner-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
    display: block;
    transition: transform 0.6s ease;
}

.fullwidth-search-banner-section:hover .fws-banner-img {
    transform: scale(1.02);
}

.fws-banner-overlay {
    position: relative;
    min-height: 480px;
    width: 100%;
    background: linear-gradient(90deg, rgba(15, 35, 69, 0) 0%, rgba(15, 35, 69, 0.12) 28%, rgba(15, 35, 69, 0.72) 62%, rgba(15, 35, 69, 0.94) 100%);
    display: flex;
    align-items: center;
    z-index: 2;
}

.fws-banner-container {
    width: 100%;
    padding: 0 45px 0 25px;
    display: flex;
    justify-content: flex-start;
}

.fws-banner-content {
    max-width: 650px;
    width: 100%;
    text-align: right;
    color: #ffffff;
    margin-right: 0;
    margin-left: auto;
}

.usc-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(34, 197, 94, 0.25);
    color: #4ade80;
    border: 1px solid rgba(74, 222, 128, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 7px 16px;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.usc-badge i {
    font-size: 1.05rem;
    color: #4ade80;
}

.usc-title {
    color: #ffffff !important;
    font-size: 2.2rem;
    font-weight: 800;
    margin: 0 0 10px;
    line-height: 1.32;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.usc-subtitle {
    color: rgba(255, 255, 255, 0.94);
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

/* Search Box Inside Image */
.usc-search-box-inside {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 12px 16px;
    margin-top: 24px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.85);
}

.search-pill-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr auto;
    gap: 12px;
    align-items: center;
}

.search-input-group,
.location-select-group {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    background: var(--bg-color);
    border-radius: 14px;
    border: 1px solid #E2E8F0;
}

.search-input-group i,
.location-select-group i {
    font-size: 1.3rem;
    color: var(--icon-default);
}

.search-input-group input,
.location-select-group select {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    font-size: 0.95rem;
    color: var(--hero-navy);
    font-family: inherit;
    font-weight: 700;
}

.location-select-group select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

/* ====================================================
   Our Goal Section (لماذا تختار دلّني؟)
   ==================================================== */
.our-goal-section {
    background: var(--white);
    padding: 80px 0;
}

.goal-header {
    text-align: center;
    margin-bottom: 50px;
}

.goal-title {
    color: #0F2345 !important;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.goal-line {
    width: 80px;
    height: 3px;
    background: var(--hero-blue);
    margin: 0 auto 20px;
    border-radius: 2px;
}

.goal-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

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

.goal-feature-card {
    text-align: center;
    padding: 40px 30px;
    border-radius: 20px;
    transition: var(--transition);
    background: #fafafa;
    border: 1px solid #f0f0f0;
}

.goal-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(15, 35, 69, 0.08);
    background: #ffffff;
    border-color: #E2E8F0;
}

.goal-icon-wrap {
    margin-bottom: 20px;
}

.goal-icon-wrap i {
    font-size: 4rem;
    color: var(--hero-blue);
    display: block;
}

.goal-feature-card h3 {
    margin-bottom: 15px;
    color: var(--text-main);
    font-size: 1.4rem;
    font-weight: 700;
}

.goal-feature-card p {
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* Mobile Responsiveness for all new parts */
@media (max-width: 992px) {
    .hero-container-new {
        grid-template-columns: 1fr;
        gap: 26px;
        padding: 0 20px;
    }
    
    .hero-right-content {
        text-align: center;
        order: 2;
        max-width: 560px;
        margin: 0 auto;
    }
    
    .hero-left-visual {
        order: 1;
        height: auto;
        padding: 12px 0 4px;
    }

    .dashed-circle-track,
    a.floating-bubble,
    .floating-bubble {
        display: none !important;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .features-floating-card {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .feature-item:nth-child(2n) {
        border-left: none;
        padding-left: 0;
    }
    
    .hero-section-new {
        padding-bottom: 92px;
    }
    
    .inline-search-card-wrapper {
        margin-top: 58px;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 42px 0;
    }

    .features-floating-wrapper {
        position: relative;
        bottom: 0;
        transform: none;
        left: 0;
        margin-top: -2px;
        padding: 0 16px;
    }

    .features-section-title {
        display: none;
    }

    .features-section-title h2 {
        font-size: 1.35rem;
        margin-bottom: 0;
    }

    .features-section-title-line {
        width: 46px;
        height: 3px;
    }

    .features-floating-card .feature-item:nth-child(1) {
        background: linear-gradient(180deg, #eefaf2 0%, #e8f7ee 100%);
    }

    .features-floating-card .feature-item:nth-child(2) {
        background: linear-gradient(180deg, #edf3ff 0%, #e8f0ff 100%);
    }

    .features-floating-card .feature-item:nth-child(3) {
        background: linear-gradient(180deg, #fff7e9 0%, #fff3df 100%);
    }

    .features-floating-card .feature-item:nth-child(4) {
        background: linear-gradient(180deg, #f2efff 0%, #ebe7ff 100%);
    }

    .categories-section {
        margin-top: 24px;
    }
    
    .features-floating-card {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        padding: 10px;
        margin: 0;
        background: #FFFFFF;
        border: 1px solid rgba(20, 86, 225, 0.08);
        border-top: none;
        border-radius: 0 0 24px 24px;
        box-shadow: 0 16px 40px rgba(15, 35, 69, 0.08);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    
    .feature-item {
        border-left: none !important;
        padding-left: 0 !important;
        background: var(--section-bg);
        padding: 10px 7px;
        border-radius: 14px;
        align-items: center;
        justify-content: flex-start;
        text-align: center;
        min-width: 0;
        flex-direction: column;
        gap: 8px;
        min-height: 78px;
        box-shadow: none;
    }

    .features-floating-card .feature-item:nth-child(3) {
        display: none;
    }

    .feature-icon {
        width: 34px;
        height: 34px;
        border-radius: 12px;
        font-size: 1.15rem;
    }

    .feature-text h3 {
        font-size: 0.74rem;
        line-height: 1.45;
        margin-bottom: 0;
    }

    .feature-text p {
        display: block;
        font-size: 0.64rem;
        line-height: 1.45;
        margin-top: 2px;
    }
    
    .hero-section-new {
        padding-top: 0;
        padding-bottom: 34px;
        background: var(--bg-color);
    }

    .hero-container-new {
        grid-template-columns: minmax(0, 1fr) 148px;
        gap: 12px;
        padding: 0 16px;
        align-items: center;
        background: #FFFFFF;
        border: 1px solid rgba(20, 86, 225, 0.08);
        border-top: none;
        border-radius: 0;
        box-shadow: 0 16px 40px rgba(15, 35, 69, 0.08);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        overflow: hidden;
    }

    .hero-right-content {
        order: 1;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        text-align: right;
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        padding: 20px 0 20px 16px;
    }

    .hero-left-visual {
        order: 2;
        width: auto;
        min-height: 0;
        padding: 18px 16px 18px 0;
        margin-top: 0;
        justify-content: center;
        align-self: stretch;
    }
    
    .fullwidth-search-banner-section {
        margin-bottom: 25px;
    }

    .fws-banner-wrap {
        min-height: auto;
    }

    .fws-banner-img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-position: center 25%;
    }

    .fws-banner-overlay {
        min-height: auto;
        padding: 24px 0;
        background: linear-gradient(180deg, rgba(15, 35, 69, 0.45) 0%, rgba(15, 35, 69, 0.9) 100%);
    }

    .fws-banner-container {
        padding: 0 16px;
    }

    .fws-banner-content {
        max-width: 100%;
        margin: 0;
    }

    .usc-title {
        font-size: 1.35rem;
        margin-bottom: 6px;
    }

    .usc-subtitle {
        font-size: 0.85rem;
        line-height: 1.45;
    }

    .usc-search-box-inside {
        padding: 8px;
        border-radius: 14px;
        margin-top: 14px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    }

    .search-pill-grid {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 6px;
    }

    .search-input-group {
        grid-column: 1 / -1;
        padding: 7px 11px;
        border-radius: 10px;
        gap: 7px;
    }

    .search-input-group i,
    .location-select-group i {
        font-size: 1.05rem;
    }

    .search-input-group input {
        font-size: 0.84rem;
    }

    .location-select-group {
        grid-column: 1;
        padding: 7px 10px;
        border-radius: 10px;
        gap: 6px;
    }

    .location-select-group select {
        font-size: 0.82rem;
    }

    .btn-search-pill {
        grid-column: 2;
        padding: 7px 18px;
        border-radius: 10px;
        font-size: 0.86rem;
        min-height: 35px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero-main-title {
        font-size: 1.6rem;
        line-height: 1.4;
        margin-bottom: 10px;
        max-width: none;
    }

    .hero-title-line--first {
        white-space: nowrap;
    }

    .highlight-green {
        display: inline-block;
    }
    
    .hero-description {
        font-size: 0.88rem;
        line-height: 1.7;
        margin-bottom: 14px;
        max-width: none;
        padding: 0;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        max-width: 100%;
        margin-bottom: 0;
    }

    .btn-order-now,
    .btn-whatsapp-outline {
        width: 100%;
        justify-content: center;
        min-height: 48px;
        padding: 11px 16px;
        font-size: 0.94rem;
        border-radius: 16px;
        box-shadow: 0 12px 26px rgba(15, 35, 69, 0.10);
    }

    .phone-mockup-wrapper {
        width: 148px;
        height: 280px;
        transform: translateX(6px) translateY(2px);
        transform-origin: center center;
    }

    .phone-mockup {
        border-width: 5px;
        border-radius: 28px;
        box-shadow: 0 22px 38px rgba(8, 30, 62, 0.16);
    }

    .phone-screen {
        padding: 24px 8px 12px;
    }

    .phone-logo-image {
        max-height: 132px;
    }

    .phone-search-mockup {
        padding: 7px 8px;
        font-size: 0.56rem;
    }

    .dashed-circle-track,
    a.floating-bubble,
    .floating-bubble {
        display: none !important;
    }
    
    .logo-text {
        font-size: 2rem;
    }

    .logo-subtext {
        font-size: 0.72rem;
    }

    .logo-emblem {
        width: 22px;
        height: 22px;
        font-size: 0.9rem;
    }

    .logo-image {
        width: auto;
        height: 100%;
        max-height: 100%;
    }

    .hero-wave-blue,
    .hero-wave-green,
    .hero-soft-glow {
        display: none;
    }

    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-category-new {
        padding: 42px 0 88px;
        min-height: 390px;
    }

    .hero-category-content {
        flex-direction: column;
        text-align: center;
        gap: 18px;
    }

    .hero-category-text {
        max-width: 100%;
        align-items: center;
        text-align: center;
    }

    .hero-category-badge {
        margin-bottom: 12px;
        font-size: 0.88rem;
    }

    .hero-category-icon-wrap {
        width: 148px;
        height: 148px;
        border-radius: 34px;
        font-size: 3.9rem;
        margin-bottom: 8px;
    }

    .hero-category-title {
        font-size: 2.2rem;
    }

    .hero-category-subtitle {
        font-size: 0.98rem;
        line-height: 1.75;
        padding: 0 10px;
    }

    .hero-category-highlights {
        justify-content: center;
        margin-top: 16px;
    }

    .hero-category-pill {
        font-size: 0.88rem;
        min-height: 42px;
        padding: 8px 12px;
    }

    .category-search-wrapper {
        margin-top: -28px;
    }

    /* Mobile: Why Choose Dalni Section (Small in a Single Row) */
    .our-goal-section {
        padding: 35px 0;
    }

    .goal-header {
        margin-bottom: 20px;
    }

    .goal-title {
        font-size: 1.45rem !important;
        margin-bottom: 6px;
    }

    .goal-line {
        width: 40px;
        height: 3px;
        margin: 0 auto 10px;
    }

    .goal-subtitle {
        font-size: 0.82rem;
        line-height: 1.5;
        padding: 0 8px;
    }

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

    .goal-feature-card {
        padding: 14px 6px;
        border-radius: 14px;
        background: #ffffff;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
        border: 1px solid #f0f0f0;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        min-width: 0;
    }

    .goal-feature-card:hover {
        transform: none;
    }

    .goal-icon-wrap {
        margin-bottom: 8px;
    }

    .goal-icon-wrap i {
        font-size: 1.75rem;
        color: var(--hero-blue);
    }

    .goal-feature-card h3 {
        font-size: 0.78rem;
        font-weight: 800;
        margin-bottom: 4px;
        color: var(--heading-color);
        line-height: 1.3;
        white-space: nowrap;
    }

    .goal-feature-card p {
        font-size: 0.66rem;
        line-height: 1.35;
        color: var(--text-muted);
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}

@media (max-width: 480px) {
    .features-floating-wrapper {
        margin-top: -2px;
        padding: 0 14px;
    }

    .features-section-title h2 {
        font-size: 1.18rem;
    }

    .features-section-title-line {
        width: 40px;
    }

    .section-padding {
        padding: 34px 0;
    }

    .categories-section {
        margin-top: 18px;
    }

    .inline-search-card-wrapper {
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .categories-section .section-header {
        margin-top: 14px !important;
        margin-bottom: 18px !important;
    }

    .hero-section-new {
        padding-top: 0;
        padding-bottom: 28px;
    }

    .hero-container-new {
        grid-template-columns: minmax(0, 1fr) 128px;
        gap: 10px;
        padding: 0 14px;
        border-top: none;
        border-radius: 0;
    }

    .hero-right-content {
        padding: 16px 0 16px 12px;
    }

    .hero-main-title {
        font-size: 1.46rem;
    }

    .hero-title-line--first {
        font-size: 0.95em;
    }

    .hero-description {
        font-size: 0.84rem;
        max-width: none;
    }

    .hero-left-visual {
        min-height: 0;
        margin-top: 0;
        padding: 14px 12px 14px 0;
    }

    .phone-mockup-wrapper {
        width: 128px;
        height: 240px;
        transform: translateX(4px) translateY(2px);
    }

    .phone-logo-image {
        max-height: 112px;
    }

    .btn-order-now,
    .btn-whatsapp-outline {
        min-height: 44px;
        font-size: 0.86rem;
        padding: 10px 12px;
    }

    .features-floating-card {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
        padding: 8px;
        border-radius: 0 0 20px 20px;
    }

    .feature-item {
        padding: 8px 5px;
        gap: 5px;
        border-radius: 12px;
        min-height: 74px;
    }

    .feature-icon {
        width: 28px;
        height: 28px;
        border-radius: 10px;
        font-size: 0.95rem;
    }

    .feature-text h3 {
        font-size: 0.64rem;
        line-height: 1.35;
    }

    .feature-text p {
        font-size: 0.56rem;
        line-height: 1.35;
        margin-top: 2px;
    }

    .goal-features-grid {
        gap: 6px;
    }

    .goal-feature-card {
        padding: 12px 4px;
        border-radius: 12px;
    }

    .goal-icon-wrap {
        margin-bottom: 6px;
    }

    .goal-icon-wrap i {
        font-size: 1.5rem;
    }

    .goal-feature-card h3 {
        font-size: 0.72rem;
    }

    .goal-feature-card p {
        font-size: 0.6rem;
        line-height: 1.3;
    }
}

/* =========================================
   14. Legal Pages
   ========================================= */
.legal-page-shell {
    min-height: 100vh;
    background: linear-gradient(135deg, #f0f9f4 0%, #F4F7F6 100%);
}

.legal-page-hero {
    padding: 72px 0 34px;
}

.legal-page-hero__inner {
    text-align: center;
    max-width: 860px;
    margin: 0 auto;
}

.legal-page-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: 999px;
    background: rgba(20, 86, 225, 0.08);
    color: var(--primary-color);
    font-size: 0.95rem;
    font-weight: 800;
    margin-bottom: 18px;
}

.legal-page-badge i {
    font-size: 1.15rem;
}

.legal-page-hero h1 {
    font-size: clamp(2rem, 5vw, 3.15rem);
    margin-bottom: 14px;
    color: var(--heading-color);
}

.legal-page-hero p {
    color: var(--text-muted);
    font-size: 1.08rem;
    line-height: 1.9;
    max-width: 760px;
    margin: 0 auto;
}

.legal-page-meta {
    margin-top: 18px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 700;
}

.legal-page-content-section {
    padding: 0 0 72px;
}

.legal-page-card {
    background: var(--white);
    border: 1px solid #E2E8F0;
    border-radius: 28px;
    padding: 38px;
    box-shadow: 0 20px 60px rgba(15, 35, 69, 0.08);
}

.legal-page-alert {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 20px;
    border-radius: 18px;
    background: #EFF6FF;
    border: 1px solid #BFDBFE;
    margin-bottom: 26px;
}

.legal-page-alert i {
    font-size: 1.55rem;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 2px;
}

.legal-page-alert p {
    color: var(--heading-color);
    line-height: 1.9;
    font-weight: 700;
}

.legal-page-section + .legal-page-section {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #EEF2F7;
}

.legal-page-section h2 {
    font-size: 1.32rem;
    margin-bottom: 12px;
    color: var(--heading-color);
}

.legal-page-section p,
.legal-page-section li {
    color: var(--text-main);
    font-size: 1rem;
    line-height: 2;
}

.legal-page-section ul {
    list-style: disc;
    margin: 0;
    padding-right: 22px;
}

.legal-page-section li + li {
    margin-top: 6px;
}

.legal-page-section a {
    color: var(--primary-color);
    font-weight: 800;
}

@media (max-width: 768px) {
    .legal-page-hero {
        padding: 46px 0 22px;
    }

    .legal-page-badge {
        font-size: 0.88rem;
        padding: 8px 16px;
    }

    .legal-page-hero p {
        font-size: 0.98rem;
    }

    .legal-page-card {
        padding: 24px 18px;
        border-radius: 20px;
    }

    .legal-page-alert {
        padding: 16px;
        border-radius: 16px;
    }

    .legal-page-section h2 {
        font-size: 1.14rem;
    }

    .legal-page-section p,
    .legal-page-section li {
        font-size: 0.96rem;
    }
}

/* =========================================
   Advertisements Section (ظ‚ط³ظ… ط§ظ„ط¥ط¹ظ„ط§ظ†ط§طھ)
   ========================================= */
.ads-section {
    padding: 40px 0 50px;
    background: linear-gradient(135deg, #F8FAFC 0%, #F1F7FF 100%);
    position: relative;
    overflow: hidden;
}

.ads-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--primary-color));
    background-size: 200% auto;
    animation: ads-shimmer 3s linear infinite;
}

@keyframes ads-shimmer {
    0%   { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.ads-section-header {
    text-align: center;
    margin-bottom: 28px;
}

.ads-section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-color);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 800;
    padding: 5px 16px;
    border-radius: 50px;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.ads-section-label i {
    font-size: 1rem;
}

.ads-section-title {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--heading-color);
    margin: 0;
}

/* Slider Track */
.ads-slider-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.ads-slider-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

/* Single Ad Banner Card */
.ad-banner-card {
    flex: 0 0 calc(100% - 0px);
    min-width: calc(100% - 0px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    background: var(--card-bg);
    text-decoration: none;
    display: block;
    height: 220px; /* Default height */
}

/* Fallback premium gradient when no thumbnail is uploaded */
.ad-banner-card.no-thumb {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
}

.ad-banner-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
}

.ad-banner-card img {
    width: 100%;
    height: 100%; /* Fill parent card height */
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.ad-banner-card:hover img {
    transform: scale(1.03);
}

.ad-banner-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(15,35,69,0.95) 0%, rgba(15,35,69,0.4) 70%, transparent 100%);
    padding: 40px 20px 20px;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 15px;
    z-index: 2;
}

.ad-banner-info {
    flex: 1;
    min-width: 0;
}

.ad-banner-badge {
    display: inline-block;
    background: var(--accent-color);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 3px 12px;
    border-radius: 50px;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.ad-banner-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 4px;
    line-height: 1.3;
}

.ad-banner-subtitle {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.82);
    margin: 0;
}

.ad-banner-link-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.ad-banner-whatsapp-btn {
    flex-shrink: 0;
    background: #25D366;
    color: #fff !important;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
    transition: var(--transition);
    text-decoration: none;
    position: relative;
    z-index: 3;
}

.ad-banner-whatsapp-btn:hover {
    background: #20ba5a;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.4);
}



/* Slider Dots */
.ads-slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
}

.ads-slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #CBD5E1;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.ads-slider-dot.active {
    background: var(--primary-color);
    width: 24px;
    border-radius: 4px;
}

/* Navigation Arrows */
.ads-slider-nav {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 14px;
}

.ads-slider-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--card-bg);
    border: 1.5px solid #E2E8F0;
    color: var(--primary-color);
    font-size: 1.2rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: var(--shadow-soft);
}

.ads-slider-btn:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    transform: scale(1.1);
}

/* No Ads Notice */
.ads-empty-notice {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
    font-size: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.ads-empty-notice i {
    font-size: 2.5rem;
    color: #CBD5E1;
}

/* Multi-column layout for wide screens */
@media (min-width: 768px) {
    .ads-slider-track.multi-col .ad-banner-card {
        flex: 0 0 calc(50% - 10px);
        min-width: calc(50% - 10px);
    }

    .ad-banner-card {
        height: 260px;
    }
}

@media (max-width: 480px) {
    .ads-section {
        padding: 30px 0 36px;
    }

    .ads-section-title {
        font-size: 1.3rem;
    }

    .ad-banner-card {
        height: 200px;
    }

    .ad-banner-title {
        font-size: 1rem;
    }

    .ad-banner-overlay {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 24px 15px 15px;
    }

    .ad-banner-whatsapp-btn {
        width: 100%;
        justify-content: center;
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}

/* Sponsored/Ad Worker Badges */
.worker-ad-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 3px 10px;
    margin-right: 8px;
    vertical-align: middle;
    border-radius: 50px;
    line-height: 1;
}

.worker-ad-badge i {
    font-size: 0.85rem;
}

.worker-ad-badge.ad-featured {
    background: #FFF9E6;
    color: #D97706;
    border: 1px solid #FDE68A;
}

.worker-ad-badge.ad-sponsored {
    background: #EEF2FF;
    color: #4F46E5;
    border: 1px solid #C7D2FE;
}

/* ====================================================
   Cleaning Services Category Hero (خدمات التنظيف)
   ==================================================== */
.hero-category-cleaning {
    position: relative;
    background-color: #F0F9FF;
    padding: 70px 0 70px;
    min-height: 520px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.cleaning-hero-bg-wrap {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.cleaning-hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
    z-index: 1;
    transition: transform 0.8s ease;
}

.cleaning-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(270deg,
        rgba(240, 249, 255, 0.97) 0%,
        rgba(240, 249, 255, 0.90) 34%,
        rgba(240, 249, 255, 0.45) 58%,
        rgba(240, 249, 255, 0) 80%
    );
}

.cleaning-hero-container {
    position: relative;
    z-index: 5;
    max-width: 1320px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: right;
    padding-right: 20px;
}

.cleaning-hero-card {
    max-width: 660px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: right;
}

.cleaning-hero-text-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: right;
    width: 100%;
}

.cleaning-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    margin-bottom: 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(14, 165, 233, 0.22);
    color: #0369A1;
    font-size: 0.94rem;
    font-weight: 800;
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.cleaning-hero-badge i {
    font-size: 1.15rem;
    color: #0EA5E9;
}

.cleaning-badge-dot {
    color: #7DD3FC;
    font-weight: 900;
    margin: 0 2px;
}

.cleaning-hero-title {
    color: #0C2340;
    font-size: clamp(2.3rem, 4.4vw, 3.4rem);
    font-weight: 900;
    line-height: 1.22;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
}

.cleaning-title-gradient {
    color: #0369A1 !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #0369A1 !important;
    display: inline-block;
}

.cleaning-hero-subtitle {
    color: #1E3A5F;
    font-size: 1.12rem;
    line-height: 1.85;
    margin: 0 0 16px;
    max-width: 600px;
    font-weight: 500;
}

.cleaning-hero-search-card {
    width: 100%;
    margin: 10px 0 22px;
}

.cleaning-search-inner {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1.5px solid rgba(14, 165, 233, 0.24);
    border-radius: 999px;
    padding: 6px 8px;
    box-shadow: 0 12px 32px rgba(14, 165, 233, 0.10);
    transition: all 0.3s ease;
}

.cleaning-search-inner:focus-within {
    border-color: #0EA5E9;
    box-shadow: 0 16px 38px rgba(14, 165, 233, 0.18);
}

.cleaning-field-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cleaning-location-group {
    padding: 0 12px 0 6px;
    flex-shrink: 0;
    max-width: 175px;
}

.cleaning-location-group i {
    color: #0EA5E9;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.cleaning-location-select {
    border: none;
    background: transparent;
    font-size: 0.94rem;
    font-weight: 700;
    color: #0C2340;
    outline: none;
    cursor: pointer;
    width: 100%;
    padding: 6px 0;
}

.cleaning-field-divider {
    width: 1px;
    height: 30px;
    background: rgba(14, 165, 233, 0.18);
    margin: 0 4px;
    flex-shrink: 0;
}

.cleaning-input-group {
    flex: 1;
    padding: 0 10px;
}

.cleaning-input-group i {
    color: #4B8BAE;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.cleaning-input-group input {
    width: 100%;
    border: none;
    background: transparent;
    font-size: 0.95rem;
    font-weight: 500;
    color: #0C2340;
    outline: none;
    padding: 8px 0;
    font-family: inherit;
}

.cleaning-input-group input::placeholder {
    color: #4B8BAE;
    opacity: 0.85;
}

.cleaning-search-btn {
    background: linear-gradient(135deg, #0EA5E9 0%, #0369A1 100%) !important;
    color: #ffffff !important;
    border: none;
    border-radius: 999px;
    padding: 12px 26px;
    font-weight: 800;
    font-size: 0.96rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 6px 18px rgba(14, 165, 233, 0.32);
    flex-shrink: 0;
}

.cleaning-search-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(14, 165, 233, 0.42);
    color: #ffffff !important;
}

.cleaning-search-btn i {
    font-size: 1.1rem;
    color: #ffffff;
}

.cleaning-hero-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 6px;
}

.cleaning-highlight-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 15px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(14, 165, 233, 0.16);
    color: #0C2340;
    font-size: 0.92rem;
    font-weight: 700;
    box-shadow: 0 6px 18px rgba(14, 165, 233, 0.05);
    transition: all 0.25s ease;
}

.cleaning-highlight-pill:hover {
    transform: translateY(-2px);
    border-color: #0EA5E9;
    box-shadow: 0 10px 24px rgba(14, 165, 233, 0.12);
}

.cleaning-highlight-pill i {
    color: #0EA5E9;
    font-size: 1.12rem;
}

.cleaning-quick-tags {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: -10px 0 20px;
    flex-wrap: wrap;
}

.cleaning-tag-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #64748B;
    margin-left: 2px;
}

.cleaning-quick-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid rgba(14, 165, 233, 0.25);
    color: #0369A1;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(14, 165, 233, 0.06);
}

.cleaning-quick-btn:hover {
    background: #0284C7;
    color: #ffffff;
    border-color: #0284C7;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.25);
}

.cleaning-quick-btn i {
    color: #0284C7;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.cleaning-quick-btn:hover i {
    color: #ffffff;
}

.cleaning-hero-mobile-text {
    display: none !important;
}

@media (max-width: 991px) {
    .hero-category-cleaning {
        padding: 55px 0 60px;
        min-height: 480px;
    }
    .cleaning-hero-card { max-width: 530px; }
    .cleaning-hero-overlay {
        background: linear-gradient(270deg,
            rgba(240, 249, 255, 0.98) 0%,
            rgba(240, 249, 255, 0.92) 50%,
            rgba(240, 249, 255, 0.40) 80%,
            rgba(240, 249, 255, 0.10) 100%
        );
    }
}

@media (max-width: 767px) {
    .hero-category-cleaning {
        position: relative;
        padding: 0 0 20px;
        min-height: auto;
        background-color: #F0F9FF;
        display: flex;
        flex-direction: column;
    }
    .cleaning-hero-bg-wrap {
        position: relative;
        width: 100%;
        height: 54vw;
        max-height: 250px;
        min-height: 180px;
        z-index: 1;
        overflow: hidden;
        border-bottom: 1px solid rgba(14, 165, 233, 0.08);
    }
    .cleaning-hero-bg-img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: left center;
        opacity: 1 !important;
        display: block;
    }
    .cleaning-hero-overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(270deg,
            rgba(240, 249, 255, 0.92) 0%,
            rgba(240, 249, 255, 0.50) 45%,
            rgba(240, 249, 255, 0) 70%
        );
        z-index: 2;
        pointer-events: none;
    }
    .cleaning-hero-mobile-text {
        position: absolute !important;
        top: 0;
        right: 0;
        width: 53%;
        height: 100%;
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        text-align: right;
        padding: 8px 6px 8px 0;
        z-index: 5;
        box-sizing: border-box;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
    }
    .cleaning-mobile-title {
        font-size: clamp(1.15rem, 4.4vw, 1.4rem);
        line-height: 1.25;
        margin: 0 0 5px;
        text-align: right;
        font-weight: 900;
        color: #0C2340;
        text-shadow: 0 1px 2px rgba(255, 255, 255, 0.85);
    }
    .cleaning-mobile-title .cleaning-title-gradient {
        color: #0369A1 !important;
        -webkit-text-fill-color: #0369A1 !important;
        background: none !important;
        text-shadow: none !important;
    }
    .cleaning-mobile-buttons {
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
        margin: 2px 0 0;
        align-items: center;
    }
    .cleaning-mobile-btn-pill {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        background: rgba(255, 255, 255, 0.95);
        border: 1px solid rgba(14, 165, 233, 0.28);
        color: #0369A1;
        font-size: clamp(0.68rem, 2.3vw, 0.78rem);
        font-weight: 800;
        padding: 3px 8px;
        border-radius: 999px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        line-height: 1.2;
        cursor: pointer;
        transition: all 0.2s ease;
    }
    .cleaning-mobile-btn-pill:hover,
    .cleaning-mobile-btn-pill:active {
        background: #0284C7;
        color: #ffffff;
        border-color: #0284C7;
    }
    .cleaning-mobile-btn-pill:hover i,
    .cleaning-mobile-btn-pill:active i {
        color: #ffffff;
    }
    .cleaning-mobile-btn-pill i {
        color: #0284C7;
        font-size: 0.85rem;
    }
    .cleaning-hero-container {
        position: relative;
        z-index: 5;
        width: 100%;
        padding: 0 14px;
    }
    .cleaning-hero-card {
        position: static;
        width: 100%;
        max-width: 100%;
        align-items: stretch;
        text-align: right;
        background: transparent !important;
        backdrop-filter: none !important;
        border-radius: 0 !important;
        padding: 0 !important;
        border: none !important;
        box-shadow: none !important;
    }
    .cleaning-hero-search-card { margin: 12px 0 6px; width: 100%; }
    .cleaning-search-inner {
        flex-direction: column;
        border-radius: 16px;
        padding: 10px 12px;
        gap: 8px;
    }
    .cleaning-field-group { width: 100%; }
    .cleaning-location-group { max-width: 100%; border-bottom: 1px solid rgba(14, 165, 233, 0.12); padding-bottom: 8px; }
    .cleaning-field-divider { display: none; }
    .cleaning-input-group { padding: 0 4px; }
    .cleaning-search-btn { width: 100%; justify-content: center; padding: 11px 16px; border-radius: 12px; }
    .cleaning-hero-highlights, .cleaning-hero-highlights.desktop-only, .cleaning-hero-text-group.desktop-only, .desktop-only { display: none !important; }
}

/* Cleaning Subcategories */
.subcategories-cleaning {
    background: #F0F9FF;
    padding: 55px 0 40px;
    position: relative;
}

.subcat-cleaning-header {
    text-align: center;
    margin-bottom: 36px;
}

.subcat-cleaning-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 18px;
    border-radius: 999px;
    background: #ffffff;
    color: #0369A1;
    font-size: 0.88rem;
    font-weight: 800;
    margin-bottom: 12px;
    border: 1px solid rgba(14, 165, 233, 0.18);
    box-shadow: 0 4px 14px rgba(14, 165, 233, 0.05);
}

.subcat-cleaning-badge i { font-size: 1.1rem; color: #0EA5E9; }

.subcat-cleaning-title {
    color: #0C2340;
    font-size: clamp(1.7rem, 3.2vw, 2.2rem);
    font-weight: 900;
    margin-bottom: 8px;
}

.subcat-cleaning-subtitle {
    color: #1E3A5F;
    font-size: 1.02rem;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.75;
}

.subcat-cleaning-grid {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 26px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.cleaning-subcat-card {
    background: #ffffff !important;
    border: 1px solid #EDEDED;
    border-radius: 20px;
    padding: 24px 20px 20px;
    min-width: 200px;
    max-width: 250px;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 18px rgba(14, 165, 233, 0.04);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.cleaning-subcat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(14, 165, 233, 0.3);
    box-shadow: 0 12px 30px rgba(14, 165, 233, 0.10);
}

.subcat-cleaning-icon-container {
    position: relative;
    width: 85px;
    height: 85px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
}

.subcat-cleaning-card-img {
    width: 75px;
    height: 75px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.cleaning-subcat-card:hover .subcat-cleaning-card-img { transform: scale(1.06); }

.subcat-cleaning-card-icon {
    font-size: 3.5rem;
    color: #0EA5E9;
    transition: transform 0.3s ease;
}

.cleaning-subcat-card:hover .subcat-cleaning-card-icon { transform: scale(1.06); }

.cleaning-subcat-name {
    color: #0C2340;
    font-size: 1.1rem;
    font-weight: 800;
    margin: 6px 0 0;
    transition: color 0.25s ease;
}

.cleaning-subcat-card:hover .cleaning-subcat-name { color: #0EA5E9; }

/* Active / Selected Cleaning Subcategory: Darker Sky/Ocean Blue with White Text */
.cleaning-subcat-card.is-selected {
    background: #0284C7 !important;
    border-color: #0369A1 !important;
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(2, 132, 199, 0.38) !important;
}

.cleaning-subcat-card.is-selected .cleaning-subcat-name {
    color: #ffffff !important;
}

.cleaning-subcat-card.is-selected .subcat-cleaning-card-icon {
    color: #ffffff !important;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.25));
}

.cleaning-subcat-card.is-selected .subcat-cleaning-card-img {
    filter: brightness(1.08) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.25));
}

@media (max-width: 767px) {
    .subcategories-cleaning { padding: 35px 0 25px; }
    .subcat-cleaning-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .cleaning-subcat-card { min-width: 0; max-width: none; padding: 18px 10px 14px; border-radius: 16px; }
}

/* ====================================================
   Car Services Category Hero (خدمات السيارات) - Red/Sport Automotive Theme
   ==================================================== */
.hero-category-car {
    position: relative;
    background-color: #FEF2F2;
    padding: 70px 0 70px;
    min-height: 520px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.car-hero-bg-wrap {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.car-hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
    z-index: 1;
    transition: transform 0.8s ease;
}

.car-hero-overlay {
    display: none !important;
}

.car-hero-container {
    position: relative;
    z-index: 5;
    max-width: 1320px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: right;
    padding-right: 20px;
}

.car-hero-card {
    max-width: 660px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: right;
}

.car-hero-text-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: right;
    width: 100%;
}

.car-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    margin-bottom: 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(220, 38, 38, 0.22);
    color: #B91C1C;
    font-size: 0.94rem;
    font-weight: 800;
    box-shadow: 0 8px 24px rgba(220, 38, 38, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.car-hero-badge i { font-size: 1.15rem; color: #DC2626; }

.car-badge-dot { color: #FCA5A5; font-weight: 900; margin: 0 2px; }

.car-hero-title {
    color: #111827;
    font-size: clamp(2.3rem, 4.4vw, 3.4rem);
    font-weight: 900;
    line-height: 1.22;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.9);
}

.car-title-gradient {
    color: #DC2626 !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #DC2626 !important;
    display: inline-block;
}

.car-hero-subtitle {
    color: #374151;
    font-size: 1.12rem;
    line-height: 1.85;
    margin: 0 0 16px;
    max-width: 600px;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.9);
}

.car-hero-search-card { width: 100%; margin: 10px 0 22px; }

.car-search-inner {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1.5px solid rgba(220, 38, 38, 0.24);
    border-radius: 999px;
    padding: 6px 8px;
    box-shadow: 0 12px 32px rgba(220, 38, 38, 0.10);
    transition: all 0.3s ease;
}

.car-search-inner:focus-within {
    border-color: #DC2626;
    box-shadow: 0 16px 38px rgba(220, 38, 38, 0.18);
}

.car-field-group { display: flex; align-items: center; gap: 8px; }
.car-location-group { padding: 0 12px 0 6px; flex-shrink: 0; max-width: 175px; }
.car-location-group i { color: #DC2626; font-size: 1.2rem; flex-shrink: 0; }

.car-location-select {
    border: none;
    background: transparent;
    font-size: 0.94rem;
    font-weight: 700;
    color: #1F2937;
    outline: none;
    cursor: pointer;
    width: 100%;
    padding: 6px 0;
}

.car-field-divider { width: 1px; height: 30px; background: rgba(220, 38, 38, 0.18); margin: 0 4px; flex-shrink: 0; }
.car-input-group { flex: 1; padding: 0 10px; }
.car-input-group i { color: #9CA3AF; font-size: 1.15rem; flex-shrink: 0; }

.car-input-group input {
    width: 100%;
    border: none;
    background: transparent;
    font-size: 0.95rem;
    font-weight: 500;
    color: #1F2937;
    outline: none;
    padding: 8px 0;
    font-family: inherit;
}

.car-input-group input::placeholder { color: #9CA3AF; opacity: 0.85; }

.car-search-btn {
    background: linear-gradient(135deg, #EF4444 0%, #B91C1C 100%) !important;
    color: #ffffff !important;
    border: none;
    border-radius: 999px;
    padding: 12px 26px;
    font-weight: 800;
    font-size: 0.96rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 6px 18px rgba(220, 38, 38, 0.32);
    flex-shrink: 0;
}

.car-search-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(220, 38, 38, 0.42); color: #ffffff !important; }
.car-search-btn i { font-size: 1.1rem; color: #ffffff; }

.car-hero-highlights { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 6px; }

.car-highlight-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 15px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(220, 38, 38, 0.16);
    color: #1F2937;
    font-size: 0.92rem;
    font-weight: 700;
    box-shadow: 0 6px 18px rgba(220, 38, 38, 0.05);
    transition: all 0.25s ease;
}

.car-highlight-pill:hover { transform: translateY(-2px); border-color: #DC2626; box-shadow: 0 10px 24px rgba(220, 38, 38, 0.12); }
.car-highlight-pill i { color: #DC2626; font-size: 1.12rem; }
.car-hero-mobile-text { display: none !important; }

@media (max-width: 991px) {
    .hero-category-car { padding: 55px 0 60px; min-height: 480px; }
    .car-hero-card { max-width: 530px; }
    .car-hero-overlay { display: none !important; }
}

@media (max-width: 767px) {
    .hero-category-car { position: relative; padding: 0 0 20px; min-height: auto; background-color: #FEF2F2; display: flex; flex-direction: column; }
    .car-hero-bg-wrap { position: relative; width: 100%; height: 54vw; max-height: 250px; min-height: 180px; z-index: 1; overflow: hidden; }
    .car-hero-bg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left center; opacity: 1 !important; display: block; }
    .car-hero-overlay { display: none !important; }
    .car-hero-mobile-text { position: absolute !important; top: 0; right: 0; width: 55%; height: 100%; display: flex !important; flex-direction: column; justify-content: center; align-items: flex-start; text-align: right; padding: 8px 10px 8px 0; z-index: 5; box-sizing: border-box; background: transparent !important; border: none !important; box-shadow: none !important; }
    .car-mobile-title { font-size: clamp(1.15rem, 4.4vw, 1.45rem); line-height: 1.25; margin: 0 0 6px; font-weight: 900; color: #111827; text-shadow: 0 1px 4px rgba(255, 255, 255, 0.95), 0 0 8px rgba(255, 255, 255, 0.9); }
    .car-mobile-title .car-title-gradient { color: #DC2626 !important; -webkit-text-fill-color: #DC2626 !important; background: none !important; text-shadow: none !important; }
    .car-mobile-buttons {
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
        margin: 2px 0 0;
        align-items: center;
    }
    .car-mobile-btn-pill {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        background: rgba(255, 255, 255, 0.95);
        border: 1px solid rgba(220, 38, 38, 0.25);
        color: #B91C1C;
        font-size: clamp(0.68rem, 2.3vw, 0.78rem);
        font-weight: 800;
        padding: 3px 8px;
        border-radius: 999px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        line-height: 1.2;
    }
    .car-mobile-btn-pill i {
        color: #DC2626;
        font-size: 0.85rem;
    }
    .car-hero-container { position: relative; z-index: 5; width: 100%; padding: 0 14px; }
    .car-hero-card { position: static; width: 100%; max-width: 100%; align-items: stretch; background: transparent !important; backdrop-filter: none !important; border-radius: 0 !important; padding: 0 !important; border: none !important; box-shadow: none !important; }
    .car-hero-search-card { margin: 12px 0 6px; width: 100%; }
    .car-search-inner { flex-direction: column; border-radius: 16px; padding: 10px 12px; gap: 8px; border-color: rgba(220, 38, 38, 0.22); }
    .car-field-group { width: 100%; }
    .car-location-group { max-width: 100%; border-bottom: 1px solid rgba(220, 38, 38, 0.12); padding-bottom: 8px; }
    .car-field-divider { display: none; }
    .car-input-group { padding: 0 4px; }
    .car-search-btn { width: 100%; justify-content: center; padding: 11px 16px; border-radius: 12px; }
}

/* Car Subcategories */
.subcategories-car {
    background: #FEF2F2;
    padding: 55px 0 40px;
    position: relative;
}

.subcat-car-header { text-align: center; margin-bottom: 36px; }

.subcat-car-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 18px;
    border-radius: 999px;
    background: #ffffff;
    color: #B91C1C;
    font-size: 0.88rem;
    font-weight: 800;
    margin-bottom: 12px;
    border: 1px solid rgba(220, 38, 38, 0.18);
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.05);
}

.subcat-car-badge i { font-size: 1.1rem; color: #DC2626; }

.subcat-car-title { color: #1F2937; font-size: clamp(1.7rem, 3.2vw, 2.2rem); font-weight: 900; margin-bottom: 8px; }
.subcat-car-subtitle { color: #4B5563; font-size: 1.02rem; max-width: 560px; margin: 0 auto; line-height: 1.75; }

.subcat-car-grid {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 26px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.car-subcat-card {
    background: #ffffff !important;
    border: 1px solid #EDEDED;
    border-radius: 20px;
    padding: 24px 20px 20px;
    min-width: 200px;
    max-width: 250px;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 18px rgba(220, 38, 38, 0.04);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.car-subcat-card:hover { transform: translateY(-5px); border-color: rgba(220, 38, 38, 0.3); box-shadow: 0 12px 30px rgba(220, 38, 38, 0.10); }

.subcat-car-icon-container { position: relative; width: 85px; height: 85px; display: flex; align-items: center; justify-content: center; margin: 0 auto 10px; }
.subcat-car-card-img { width: 75px; height: 75px; object-fit: contain; display: block; margin: 0 auto; transition: transform 0.3s ease; }
.car-subcat-card:hover .subcat-car-card-img { transform: scale(1.06); }
.subcat-car-card-icon { font-size: 3.5rem; color: #DC2626; transition: transform 0.3s ease; }
.car-subcat-card:hover .subcat-car-card-icon { transform: scale(1.06); }
.car-subcat-name { color: #1F2937; font-size: 1.1rem; font-weight: 800; margin: 6px 0 0; transition: color 0.25s ease; }
.car-subcat-card:hover .car-subcat-name { color: #DC2626; }

/* Active / Selected Car Subcategory: Rich Crimson Red with White Text */
.car-subcat-card.is-selected {
    background: #DC2626 !important;
    border-color: #B91C1C !important;
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(220, 38, 38, 0.38) !important;
}

.car-subcat-card.is-selected .car-subcat-name {
    color: #ffffff !important;
}

.car-subcat-card.is-selected .subcat-car-card-icon {
    color: #ffffff !important;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.25));
}

.car-subcat-card.is-selected .subcat-car-card-img {
    filter: brightness(1.08) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.25));
}

@media (max-width: 767px) {
    .subcategories-car { padding: 35px 0 25px; }
    .subcat-car-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .car-subcat-card { min-width: 0; max-width: none; padding: 18px 10px 14px; border-radius: 16px; }
}

/* ====================================================
   Events Services Category Hero (خدمات المناسبات)
   ==================================================== */
.hero-category-events {
    position: relative;
    background-color: #FAF5FF;
    padding: 70px 0 70px;
    min-height: 520px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.events-hero-bg-wrap {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.events-hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
    z-index: 1;
    transition: transform 0.8s ease;
}

.events-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(270deg,
        rgba(250, 245, 255, 0.98) 0%,
        rgba(250, 245, 255, 0.92) 34%,
        rgba(250, 245, 255, 0.45) 58%,
        rgba(250, 245, 255, 0) 80%
    );
}

.events-hero-container {
    position: relative;
    z-index: 5;
    max-width: 1320px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: right;
    padding-right: 20px;
}

.events-hero-card {
    max-width: 660px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: right;
}

.events-hero-text-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: right;
    width: 100%;
}

.events-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    margin-bottom: 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(139, 92, 246, 0.25);
    color: #6D28D9;
    font-size: 0.94rem;
    font-weight: 800;
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.events-hero-badge i { font-size: 1.15rem; color: #7C3AED; }
.events-badge-dot { color: #C084FC; font-weight: 900; margin: 0 2px; }

.events-hero-title {
    color: #2E1065;
    font-size: clamp(2.3rem, 4.4vw, 3.4rem);
    font-weight: 900;
    line-height: 1.22;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
}

.events-title-gradient {
    color: #7C3AED !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #7C3AED !important;
    display: inline-block;
}

.events-hero-subtitle {
    color: #581C87;
    font-size: 1.12rem;
    line-height: 1.85;
    margin: 0 0 16px;
    max-width: 600px;
    font-weight: 500;
}

.events-hero-search-card { width: 100%; margin: 10px 0 22px; }

.events-search-inner {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1.5px solid rgba(139, 92, 246, 0.25);
    border-radius: 999px;
    padding: 6px 8px;
    box-shadow: 0 12px 32px rgba(124, 58, 237, 0.08);
    transition: all 0.3s ease;
}

.events-search-inner:focus-within { border-color: #8B5CF6; box-shadow: 0 16px 38px rgba(124, 58, 237, 0.18); }
.events-field-group { display: flex; align-items: center; gap: 8px; }
.events-location-group { padding: 0 12px 0 6px; flex-shrink: 0; max-width: 175px; }
.events-location-group i { color: #7C3AED; font-size: 1.2rem; flex-shrink: 0; }

.events-location-select {
    border: none;
    background: transparent;
    font-size: 0.94rem;
    font-weight: 700;
    color: #2E1065;
    outline: none;
    cursor: pointer;
    width: 100%;
    padding: 6px 0;
}

.events-field-divider { width: 1px; height: 30px; background: rgba(139, 92, 246, 0.20); margin: 0 4px; flex-shrink: 0; }
.events-input-group { flex: 1; padding: 0 10px; }
.events-input-group i { color: #8B5CF6; font-size: 1.15rem; flex-shrink: 0; }

.events-input-group input {
    width: 100%;
    border: none;
    background: transparent;
    font-size: 0.95rem;
    font-weight: 500;
    color: #2E1065;
    outline: none;
    padding: 8px 0;
    font-family: inherit;
}

.events-input-group input::placeholder { color: #8B7BB5; opacity: 0.9; }

.events-search-btn {
    background: linear-gradient(135deg, #8B5CF6 0%, #6D28D9 100%) !important;
    color: #ffffff !important;
    border: none;
    border-radius: 999px;
    padding: 12px 26px;
    font-weight: 800;
    font-size: 0.96rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 6px 18px rgba(124, 58, 237, 0.35);
    flex-shrink: 0;
}

.events-search-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(124, 58, 237, 0.45); color: #ffffff !important; }
.events-search-btn i { font-size: 1.1rem; color: #ffffff; }
.events-hero-highlights { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 6px; }

.events-highlight-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 15px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(139, 92, 246, 0.20);
    color: #2E1065;
    font-size: 0.92rem;
    font-weight: 700;
    box-shadow: 0 6px 18px rgba(124, 58, 237, 0.05);
    transition: all 0.25s ease;
}

.events-highlight-pill:hover { transform: translateY(-2px); border-color: #7C3AED; box-shadow: 0 10px 24px rgba(124, 58, 237, 0.14); }
.events-highlight-pill i { color: #7C3AED; font-size: 1.12rem; }
.events-hero-mobile-text { display: none !important; }

@media (max-width: 991px) {
    .hero-category-events { padding: 55px 0 60px; min-height: 480px; }
    .events-hero-card { max-width: 530px; }
    .events-hero-overlay { background: linear-gradient(270deg, rgba(250, 245, 255, 0.98) 0%, rgba(250, 245, 255, 0.92) 50%, rgba(250, 245, 255, 0.40) 80%, rgba(250, 245, 255, 0.10) 100%); }
}

@media (max-width: 767px) {
    .hero-category-events { position: relative; padding: 0 0 20px; min-height: auto; background-color: #FAF5FF; display: flex; flex-direction: column; }
    .events-hero-bg-wrap { position: relative; width: 100%; height: 54vw; max-height: 250px; min-height: 180px; z-index: 1; overflow: hidden; }
    .events-hero-bg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left center; opacity: 1 !important; display: block; }
    .events-hero-overlay { position: absolute; inset: 0; background: linear-gradient(270deg, rgba(250, 245, 255, 0.94) 0%, rgba(250, 245, 255, 0.55) 45%, rgba(250, 245, 255, 0) 70%); z-index: 2; pointer-events: none; }
    .events-hero-mobile-text { position: absolute !important; top: 0; right: 0; width: 55%; height: 100%; display: flex !important; flex-direction: column; justify-content: center; align-items: flex-start; text-align: right; padding: 6px 10px 6px 0; z-index: 5; box-sizing: border-box; background: transparent !important; border: none !important; box-shadow: none !important; }
    .events-mobile-title { font-size: clamp(1.15rem, 4.4vw, 1.4rem); line-height: 1.25; margin: 0 0 6px; font-weight: 900; color: #2E1065; text-shadow: 0 1px 2px rgba(255, 255, 255, 0.85); }
    .events-mobile-title .events-title-gradient { color: #7C3AED !important; -webkit-text-fill-color: #7C3AED !important; background: none !important; text-shadow: none !important; }
    .events-mobile-buttons {
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
        margin: 2px 0 0;
        align-items: center;
    }
    .events-mobile-btn-pill {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        background: rgba(255, 255, 255, 0.95);
        border: 1px solid rgba(139, 92, 246, 0.28);
        color: #6D28D9;
        font-size: clamp(0.68rem, 2.3vw, 0.78rem);
        font-weight: 800;
        padding: 3px 8px;
        border-radius: 999px;
        box-shadow: 0 2px 6px rgba(124, 58, 237, 0.08);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        line-height: 1.2;
        cursor: pointer;
        transition: all 0.2s ease;
        user-select: none;
    }
    .events-mobile-btn-pill:hover,
    .events-mobile-btn-pill:active {
        background: #7C3AED;
        color: #ffffff;
        border-color: #6D28D9;
        transform: translateY(-1px);
    }
    .events-mobile-btn-pill:hover i,
    .events-mobile-btn-pill:active i {
        color: #ffffff;
    }
    .events-mobile-btn-pill i {
        color: #7C3AED;
        font-size: 0.85rem;
    }
    .events-hero-container { position: relative; z-index: 5; width: 100%; padding: 0 14px; }
    .events-hero-card { position: static; width: 100%; max-width: 100%; align-items: stretch; background: transparent !important; backdrop-filter: none !important; border-radius: 0 !important; padding: 0 !important; border: none !important; box-shadow: none !important; }
    .events-hero-search-card { margin: 12px 0 6px; width: 100%; }
    .events-search-inner { flex-direction: column; border-radius: 16px; padding: 10px 12px; gap: 8px; }
    .events-field-group { width: 100%; }
    .events-location-group { max-width: 100%; border-bottom: 1px solid rgba(139, 92, 246, 0.15); padding-bottom: 8px; }
    .events-field-divider { display: none; }
    .events-input-group { padding: 0 4px; }
    .events-search-btn { width: 100%; justify-content: center; padding: 11px 16px; border-radius: 12px; }
}

/* Events Subcategories */
.subcategories-events {
    background: #F6F0FE;
    padding: 55px 0 40px;
    position: relative;
}

.subcat-events-header { text-align: center; margin-bottom: 36px; }

.subcat-events-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 18px;
    border-radius: 999px;
    background: #ffffff;
    color: #6D28D9;
    font-size: 0.88rem;
    font-weight: 800;
    margin-bottom: 12px;
    border: 1px solid rgba(139, 92, 246, 0.22);
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.06);
}

.subcat-events-badge i { font-size: 1.1rem; color: #7C3AED; }
.subcat-events-title { color: #2E1065; font-size: clamp(1.7rem, 3.2vw, 2.2rem); font-weight: 900; margin-bottom: 8px; }
.subcat-events-subtitle { color: #6B21A8; font-size: 1.02rem; max-width: 560px; margin: 0 auto; line-height: 1.75; }

.subcat-events-grid { display: flex; justify-content: center; align-items: stretch; gap: 26px; flex-wrap: wrap; margin-bottom: 30px; }

.events-subcat-card {
    background: #ffffff !important;
    border: 1px solid #EDE9FE;
    border-radius: 20px;
    padding: 24px 20px 20px;
    min-width: 200px;
    max-width: 250px;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 18px rgba(124, 58, 237, 0.04);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.events-subcat-card:hover { transform: translateY(-5px); border-color: rgba(124, 58, 237, 0.35); box-shadow: 0 12px 30px rgba(124, 58, 237, 0.12); }
.subcat-events-icon-container { position: relative; width: 85px; height: 85px; display: flex; align-items: center; justify-content: center; margin: 0 auto 10px; }
.subcat-events-card-img { width: 75px; height: 75px; object-fit: contain; display: block; margin: 0 auto; transition: transform 0.3s ease; }
.events-subcat-card:hover .subcat-events-card-img { transform: scale(1.06); }
.subcat-events-card-icon { font-size: 3.5rem; color: #7C3AED; transition: transform 0.3s ease; }
.events-subcat-card:hover .subcat-events-card-icon { transform: scale(1.06); }
.events-subcat-name { color: #2E1065; font-size: 1.1rem; font-weight: 800; margin: 6px 0 0; transition: color 0.25s ease; }
.events-subcat-card:hover .events-subcat-name { color: #7C3AED; }

/* Active / Selected Events Subcategory: Rich Royal Purple with White Text */
.events-subcat-card.is-selected {
    background: linear-gradient(135deg, #7C3AED 0%, #6D28D9 100%) !important;
    border-color: #5B21B6 !important;
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(124, 58, 237, 0.38) !important;
}

.events-subcat-card.is-selected .events-subcat-name {
    color: #ffffff !important;
}

.events-subcat-card.is-selected .subcat-events-card-icon {
    color: #ffffff !important;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.25));
}

.events-subcat-card.is-selected .subcat-events-card-img {
    filter: brightness(1.08) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.25));
}

@media (max-width: 767px) {
    .subcategories-events { padding: 35px 0 25px; }
    .subcat-events-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .events-subcat-card { min-width: 0; max-width: none; padding: 18px 10px 14px; border-radius: 16px; }
}

/* ====================================================
   Home Maintenance Services Category Hero (خدمات الصيانة المنزلية) - Emerald/Mint Green Theme
   ==================================================== */
.hero-category-maintenance {
    position: relative;
    background-color: #F0FDF4;
    padding: 70px 0 70px;
    min-height: 520px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.maintenance-hero-bg-wrap {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.maintenance-hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
    z-index: 1;
    transition: transform 0.8s ease;
}

.maintenance-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(270deg,
        rgba(255, 255, 255, 0.90) 0%,
        rgba(255, 255, 255, 0.70) 35%,
        rgba(255, 255, 255, 0.25) 65%,
        rgba(255, 255, 255, 0) 85%
    );
}

.maintenance-hero-container {
    position: relative;
    z-index: 5;
    max-width: 1320px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: right;
    padding-right: 20px;
}

.maintenance-hero-card {
    max-width: 660px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: right;
}

.maintenance-hero-text-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: right;
    width: 100%;
}

.maintenance-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    margin-bottom: 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(16, 185, 129, 0.22);
    color: #047857;
    font-size: 0.94rem;
    font-weight: 800;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.maintenance-hero-badge i { font-size: 1.15rem; color: #10B981; }
.maintenance-badge-dot { color: #6EE7B7; font-weight: 900; margin: 0 2px; }

.maintenance-hero-title {
    color: #064E3B;
    font-size: clamp(2.3rem, 4.4vw, 3.4rem);
    font-weight: 900;
    line-height: 1.22;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.9);
}

.maintenance-title-gradient {
    color: #059669 !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #059669 !important;
    display: inline-block;
}

.maintenance-hero-subtitle {
    color: #065F46;
    font-size: 1.12rem;
    line-height: 1.85;
    margin: 0 0 16px;
    max-width: 600px;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.9);
}

.maintenance-hero-search-card { width: 100%; margin: 10px 0 22px; }

.maintenance-search-inner {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1.5px solid rgba(16, 185, 129, 0.24);
    border-radius: 999px;
    padding: 6px 8px;
    box-shadow: 0 12px 32px rgba(16, 185, 129, 0.10);
    transition: all 0.3s ease;
}

.maintenance-search-inner:focus-within { border-color: #10B981; box-shadow: 0 16px 38px rgba(16, 185, 129, 0.18); }
.maintenance-field-group { display: flex; align-items: center; gap: 8px; }
.maintenance-location-group { padding: 0 12px 0 6px; flex-shrink: 0; max-width: 175px; }
.maintenance-location-group i { color: #10B981; font-size: 1.2rem; flex-shrink: 0; }

.maintenance-location-select {
    border: none;
    background: transparent;
    font-size: 0.94rem;
    font-weight: 700;
    color: #064E3B;
    outline: none;
    cursor: pointer;
    width: 100%;
    padding: 6px 0;
}

.maintenance-field-divider { width: 1px; height: 30px; background: rgba(16, 185, 129, 0.18); margin: 0 4px; flex-shrink: 0; }
.maintenance-input-group { flex: 1; padding: 0 10px; }
.maintenance-input-group i { color: #6EE7B7; font-size: 1.15rem; flex-shrink: 0; }

.maintenance-input-group input {
    width: 100%;
    border: none;
    background: transparent;
    font-size: 0.95rem;
    font-weight: 500;
    color: #064E3B;
    outline: none;
    padding: 8px 0;
    font-family: inherit;
}

.maintenance-input-group input::placeholder { color: #6EE7B7; opacity: 0.85; }

.maintenance-search-btn {
    background: linear-gradient(135deg, #10B981 0%, #047857 100%) !important;
    color: #ffffff !important;
    border: none;
    border-radius: 999px;
    padding: 12px 26px;
    font-weight: 800;
    font-size: 0.96rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 6px 18px rgba(16, 185, 129, 0.32);
    flex-shrink: 0;
}

.maintenance-search-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(16, 185, 129, 0.42); color: #ffffff !important; }
.maintenance-search-btn i { font-size: 1.1rem; color: #ffffff; }
.maintenance-hero-highlights { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 6px; }

.maintenance-highlight-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 15px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(16, 185, 129, 0.16);
    color: #064E3B;
    font-size: 0.92rem;
    font-weight: 700;
    box-shadow: 0 6px 18px rgba(16, 185, 129, 0.05);
    transition: all 0.25s ease;
}

.maintenance-highlight-pill:hover { transform: translateY(-2px); border-color: #10B981; box-shadow: 0 10px 24px rgba(16, 185, 129, 0.12); }
.maintenance-highlight-pill i { color: #10B981; font-size: 1.12rem; }
.maintenance-hero-mobile-text { display: none !important; }

@media (max-width: 991px) {
    .hero-category-maintenance { padding: 55px 0 60px; min-height: 480px; }
    .maintenance-hero-card { max-width: 530px; }
    .maintenance-hero-overlay { background: linear-gradient(270deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.75) 50%, rgba(255, 255, 255, 0.25) 80%, rgba(255, 255, 255, 0) 100%); }
}

@media (max-width: 767px) {
    .hero-category-maintenance { position: relative; padding: 0 0 20px; min-height: auto; background-color: #F0FDF4; display: flex; flex-direction: column; }
    .maintenance-hero-bg-wrap { position: relative; width: 100%; height: 54vw; max-height: 250px; min-height: 180px; z-index: 1; overflow: hidden; }
    .maintenance-hero-bg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left center; opacity: 1 !important; display: block; }
    .maintenance-hero-overlay { display: none !important; }
    .maintenance-hero-mobile-text { position: absolute !important; top: 0; right: 0; width: 55%; height: 100%; display: flex !important; flex-direction: column; justify-content: center; align-items: flex-start; text-align: right; padding: 8px 10px 8px 0; z-index: 5; box-sizing: border-box; background: transparent !important; border: none !important; box-shadow: none !important; }
    .maintenance-mobile-title { font-size: clamp(1.15rem, 4.4vw, 1.45rem); line-height: 1.25; margin: 0 0 6px; font-weight: 900; color: #064E3B; text-shadow: 0 1px 4px rgba(255, 255, 255, 0.95), 0 0 8px rgba(255, 255, 255, 0.9); }
    .maintenance-mobile-title .maintenance-title-gradient { color: #059669 !important; -webkit-text-fill-color: #059669 !important; background: none !important; text-shadow: none !important; }
    .maintenance-mobile-buttons {
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
        margin: 2px 0 0;
        align-items: center;
    }
    .maintenance-mobile-btn-pill {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        background: rgba(255, 255, 255, 0.95);
        border: 1px solid rgba(16, 185, 129, 0.25);
        color: #047857;
        font-size: clamp(0.65rem, 2.2vw, 0.76rem);
        font-weight: 800;
        padding: 3px 8px;
        border-radius: 999px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        line-height: 1.2;
    }
    .maintenance-mobile-btn-pill i {
        color: #10B981;
        font-size: 0.85rem;
    }
    .maintenance-hero-container { position: relative; z-index: 5; width: 100%; padding: 0 14px; }
    .maintenance-hero-card { position: static; width: 100%; max-width: 100%; align-items: stretch; background: transparent !important; backdrop-filter: none !important; border-radius: 0 !important; padding: 0 !important; border: none !important; box-shadow: none !important; }
    .maintenance-hero-search-card { margin: 12px 0 6px; width: 100%; }
    .maintenance-search-inner { flex-direction: column; border-radius: 16px; padding: 10px 12px; gap: 8px; border-color: rgba(16, 185, 129, 0.22); }
    .maintenance-field-group { width: 100%; }
    .maintenance-location-group { max-width: 100%; border-bottom: 1px solid rgba(16, 185, 129, 0.12); padding-bottom: 8px; }
    .maintenance-field-divider { display: none; }
    .maintenance-input-group { padding: 0 4px; }
    .maintenance-search-btn { width: 100%; justify-content: center; padding: 11px 16px; border-radius: 12px; }
}

/* Maintenance Subcategories */
.subcategories-maintenance {
    background: #F0FDF4;
    padding: 55px 0 40px;
    position: relative;
}

.subcat-maintenance-header { text-align: center; margin-bottom: 36px; }

.subcat-maintenance-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 18px;
    border-radius: 999px;
    background: #ffffff;
    color: #047857;
    font-size: 0.88rem;
    font-weight: 800;
    margin-bottom: 12px;
    border: 1px solid rgba(16, 185, 129, 0.18);
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.05);
}

.subcat-maintenance-badge i { font-size: 1.1rem; color: #10B981; }
.subcat-maintenance-title { color: #064E3B; font-size: clamp(1.7rem, 3.2vw, 2.2rem); font-weight: 900; margin-bottom: 8px; }
.subcat-maintenance-subtitle { color: #065F46; font-size: 1.02rem; max-width: 560px; margin: 0 auto; line-height: 1.75; }

.subcat-maintenance-grid { display: flex; justify-content: center; align-items: stretch; gap: 26px; flex-wrap: wrap; margin-bottom: 30px; }

.maintenance-subcat-card {
    background: #ffffff !important;
    border: 1px solid #EDEDED;
    border-radius: 20px;
    padding: 24px 20px 20px;
    min-width: 200px;
    max-width: 250px;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 18px rgba(16, 185, 129, 0.04);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.maintenance-subcat-card:hover { transform: translateY(-5px); border-color: rgba(16, 185, 129, 0.3); box-shadow: 0 12px 30px rgba(16, 185, 129, 0.10); }
.subcat-maintenance-icon-container { position: relative; width: 85px; height: 85px; display: flex; align-items: center; justify-content: center; margin: 0 auto 10px; }
.subcat-maintenance-card-img { width: 75px; height: 75px; object-fit: contain; display: block; margin: 0 auto; transition: transform 0.3s ease; }
.maintenance-subcat-card:hover .subcat-maintenance-card-img { transform: scale(1.06); }
.subcat-maintenance-card-icon { font-size: 3.5rem; color: #10B981; transition: transform 0.3s ease; }
.maintenance-subcat-card:hover .subcat-maintenance-card-icon { transform: scale(1.06); }
.maintenance-subcat-name { color: #064E3B; font-size: 1.1rem; font-weight: 800; margin: 6px 0 0; transition: color 0.25s ease; }
.maintenance-subcat-card:hover .maintenance-subcat-name { color: #10B981; }

/* Active / Selected Maintenance Subcategory: Rich Emerald Green with White Text */
.maintenance-subcat-card.is-selected {
    background: #059669 !important;
    border-color: #047857 !important;
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(5, 150, 105, 0.38) !important;
}

.maintenance-subcat-card.is-selected .maintenance-subcat-name {
    color: #ffffff !important;
}

.maintenance-subcat-card.is-selected .subcat-maintenance-card-icon {
    color: #ffffff !important;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.25));
}

.maintenance-subcat-card.is-selected .subcat-maintenance-card-img {
    filter: brightness(1.08) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.25));
}

@media (max-width: 767px) {
    .subcategories-maintenance { padding: 35px 0 25px; }
    .subcat-maintenance-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .maintenance-subcat-card { min-width: 0; max-width: none; padding: 18px 10px 14px; border-radius: 16px; }
}

/* ====================================================
   Digital Services Category Hero (الخدمات الرقمية) - Vibrant Electric Blue Theme
   ==================================================== */
.hero-category-digital {
    position: relative;
    background-color: #F0F7FF;
    padding: 70px 0 70px;
    min-height: 520px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.digital-hero-bg-wrap {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.digital-hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
    z-index: 1;
    transition: transform 0.8s ease;
}

.digital-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(270deg,
        rgba(255, 255, 255, 0.92) 0%,
        rgba(255, 255, 255, 0.75) 35%,
        rgba(255, 255, 255, 0.25) 65%,
        rgba(255, 255, 255, 0) 85%
    );
}

.digital-hero-container {
    position: relative;
    z-index: 5;
    max-width: 1320px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: right;
    padding-right: 20px;
}

.digital-hero-card {
    max-width: 660px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: right;
}

.digital-hero-text-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: right;
    width: 100%;
}

.digital-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    margin-bottom: 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(37, 99, 235, 0.22);
    color: #1D4ED8;
    font-size: 0.94rem;
    font-weight: 800;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.digital-hero-badge i { font-size: 1.15rem; color: #2563EB; }
.digital-badge-dot { color: #93C5FD; font-weight: 900; margin: 0 2px; }

.digital-hero-title {
    color: #0F172A;
    font-size: clamp(2.3rem, 4.4vw, 3.4rem);
    font-weight: 900;
    line-height: 1.22;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.9);
}

.digital-title-gradient {
    color: #2563EB !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #2563EB !important;
    display: inline-block;
}

.digital-hero-subtitle {
    color: #334155;
    font-size: 1.12rem;
    line-height: 1.85;
    margin: 0 0 16px;
    max-width: 600px;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.9);
}

.digital-hero-search-card { width: 100%; margin: 10px 0 22px; }

.digital-search-inner {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1.5px solid rgba(37, 99, 235, 0.24);
    border-radius: 999px;
    padding: 6px 8px;
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.10);
    transition: all 0.3s ease;
}

.digital-search-inner:focus-within { border-color: #2563EB; box-shadow: 0 16px 38px rgba(37, 99, 235, 0.18); }
.digital-field-group { display: flex; align-items: center; gap: 8px; }
.digital-location-group { padding: 0 12px 0 6px; flex-shrink: 0; max-width: 175px; }
.digital-location-group i { color: #2563EB; font-size: 1.2rem; flex-shrink: 0; }

.digital-location-select {
    border: none;
    background: transparent;
    font-size: 0.94rem;
    font-weight: 700;
    color: #0F172A;
    outline: none;
    cursor: pointer;
    width: 100%;
    padding: 6px 0;
}

.digital-field-divider { width: 1px; height: 30px; background: rgba(37, 99, 235, 0.18); margin: 0 4px; flex-shrink: 0; }
.digital-input-group { flex: 1; padding: 0 10px; }
.digital-input-group i { color: #94A3B8; font-size: 1.15rem; flex-shrink: 0; }

.digital-input-group input {
    width: 100%;
    border: none;
    background: transparent;
    font-size: 0.95rem;
    font-weight: 500;
    color: #0F172A;
    outline: none;
    padding: 8px 0;
    font-family: inherit;
}

.digital-input-group input::placeholder { color: #94A3B8; opacity: 0.85; }

.digital-search-btn {
    background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%) !important;
    color: #ffffff !important;
    border: none;
    border-radius: 999px;
    padding: 12px 26px;
    font-weight: 800;
    font-size: 0.96rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.32);
    flex-shrink: 0;
}

.digital-search-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(37, 99, 235, 0.42); color: #ffffff !important; }
.digital-search-btn i { font-size: 1.1rem; color: #ffffff; }
.digital-hero-highlights { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 6px; }

.digital-highlight-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 15px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(37, 99, 235, 0.16);
    color: #0F172A;
    font-size: 0.92rem;
    font-weight: 700;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.05);
    transition: all 0.25s ease;
}

.digital-highlight-pill:hover { transform: translateY(-2px); border-color: #2563EB; box-shadow: 0 10px 24px rgba(37, 99, 235, 0.12); }
.digital-highlight-pill i { color: #2563EB; font-size: 1.12rem; }
.digital-hero-mobile-text { display: none !important; }

@media (max-width: 991px) {
    .hero-category-digital { padding: 55px 0 60px; min-height: 480px; }
    .digital-hero-card { max-width: 530px; }
    .digital-hero-overlay { background: linear-gradient(270deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.75) 50%, rgba(255, 255, 255, 0.25) 80%, rgba(255, 255, 255, 0) 100%); }
}

@media (max-width: 767px) {
    .hero-category-digital { position: relative; padding: 0 0 20px; min-height: auto; background-color: #F0F7FF; display: flex; flex-direction: column; }
    .digital-hero-bg-wrap { position: relative; width: 100%; height: 54vw; max-height: 250px; min-height: 180px; z-index: 1; overflow: hidden; }
    .digital-hero-bg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left center; opacity: 1 !important; display: block; }
    .digital-hero-overlay { display: none !important; }
    .digital-hero-mobile-text { position: absolute !important; top: 0; right: 0; width: 55%; height: 100%; display: flex !important; flex-direction: column; justify-content: center; align-items: flex-start; text-align: right; padding: 8px 10px 8px 0; z-index: 5; box-sizing: border-box; background: transparent !important; border: none !important; box-shadow: none !important; }
    .digital-mobile-title { font-size: clamp(1.15rem, 4.4vw, 1.45rem); line-height: 1.25; margin: 0 0 6px; font-weight: 900; color: #0F172A; text-shadow: 0 1px 4px rgba(255, 255, 255, 0.95), 0 0 8px rgba(255, 255, 255, 0.9); }
    .digital-mobile-title .digital-title-gradient { color: #2563EB !important; -webkit-text-fill-color: #2563EB !important; background: none !important; text-shadow: none !important; }
    .digital-mobile-buttons {
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
        margin: 2px 0 0;
        align-items: center;
    }
    .digital-mobile-btn-pill {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        background: rgba(255, 255, 255, 0.95);
        border: 1px solid rgba(37, 99, 235, 0.25);
        color: #1D4ED8;
        font-size: clamp(0.65rem, 2.2vw, 0.76rem);
        font-weight: 800;
        padding: 3px 8px;
        border-radius: 999px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        line-height: 1.2;
    }
    .digital-mobile-btn-pill i {
        color: #2563EB;
        font-size: 0.85rem;
    }
    .digital-hero-container { position: relative; z-index: 5; width: 100%; padding: 0 14px; }
    .digital-hero-card { position: static; width: 100%; max-width: 100%; align-items: stretch; background: transparent !important; backdrop-filter: none !important; border-radius: 0 !important; padding: 0 !important; border: none !important; box-shadow: none !important; }
    .digital-hero-search-card { margin: 12px 0 6px; width: 100%; }
    .digital-search-inner { flex-direction: column; border-radius: 16px; padding: 10px 12px; gap: 8px; border-color: rgba(37, 99, 235, 0.22); }
    .digital-field-group { width: 100%; }
    .digital-location-group { max-width: 100%; border-bottom: 1px solid rgba(37, 99, 235, 0.12); padding-bottom: 8px; }
    .digital-field-divider { display: none; }
    .digital-input-group { padding: 0 4px; }
    .digital-search-btn { width: 100%; justify-content: center; padding: 11px 16px; border-radius: 12px; }
}

/* Digital Subcategories */
.subcategories-digital {
    background: #F0F7FF;
    padding: 55px 0 40px;
    position: relative;
}

.subcat-digital-header { text-align: center; margin-bottom: 36px; }

.subcat-digital-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 18px;
    border-radius: 999px;
    background: #ffffff;
    color: #1D4ED8;
    font-size: 0.88rem;
    font-weight: 800;
    margin-bottom: 12px;
    border: 1px solid rgba(37, 99, 235, 0.18);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.05);
}

.subcat-digital-badge i { font-size: 1.1rem; color: #2563EB; }
.subcat-digital-title { color: #0F172A; font-size: clamp(1.7rem, 3.2vw, 2.2rem); font-weight: 900; margin-bottom: 8px; }
.subcat-digital-subtitle { color: #334155; font-size: 1.02rem; max-width: 560px; margin: 0 auto; line-height: 1.75; }

.subcat-digital-grid { display: flex; justify-content: center; align-items: stretch; gap: 26px; flex-wrap: wrap; margin-bottom: 30px; }

.digital-subcat-card {
    background: #ffffff !important;
    border: 1px solid #EDEDED;
    border-radius: 20px;
    padding: 24px 20px 20px;
    min-width: 200px;
    max-width: 250px;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 18px rgba(37, 99, 235, 0.04);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.digital-subcat-card:hover { transform: translateY(-5px); border-color: rgba(37, 99, 235, 0.3); box-shadow: 0 12px 30px rgba(37, 99, 235, 0.10); }
.subcat-digital-icon-container { position: relative; width: 85px; height: 85px; display: flex; align-items: center; justify-content: center; margin: 0 auto 10px; }
.subcat-digital-card-img { width: 75px; height: 75px; object-fit: contain; display: block; margin: 0 auto; transition: transform 0.3s ease; }
.digital-subcat-card:hover .subcat-digital-card-img { transform: scale(1.06); }
.subcat-digital-card-icon { font-size: 3.5rem; color: #2563EB; transition: transform 0.3s ease; }
.digital-subcat-card:hover .subcat-digital-card-icon { transform: scale(1.06); }
.digital-subcat-name { color: #0F172A; font-size: 1.1rem; font-weight: 800; margin: 6px 0 0; transition: color 0.25s ease; }
.digital-subcat-card:hover .digital-subcat-name { color: #2563EB; }

/* Active / Selected Digital Subcategory: Royal Blue with White Text */
.digital-subcat-card.is-selected {
    background: #2563EB !important;
    border-color: #1D4ED8 !important;
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.38) !important;
}

.digital-subcat-card.is-selected .digital-subcat-name {
    color: #ffffff !important;
}

.digital-subcat-card.is-selected .subcat-digital-card-icon {
    color: #ffffff !important;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.25));
}

.digital-subcat-card.is-selected .subcat-digital-card-img {
    filter: brightness(1.08) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.25));
}

@media (max-width: 767px) {
    .subcategories-digital { padding: 35px 0 25px; }
    .subcat-digital-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .digital-subcat-card { min-width: 0; max-width: none; padding: 18px 10px 14px; border-radius: 16px; }
}



/* ====================================================
   Dallni Unified Category Hero (Full-Bleed Image Background)
   ==================================================== */
.dallni-cat-hero {
    position: relative;
    background: #E8F2FD;
    min-height: 480px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.dallni-cat-hero-full-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.dallni-hero-fullbleed-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
    display: block;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.dallni-cat-hero:hover .dallni-hero-fullbleed-img {
    transform: scale(1.02);
}

.dallni-hero-half-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 7rem;
    color: rgba(255, 255, 255, 0.4);
    background: linear-gradient(135deg, #1456E1 0%, #0F2345 100%);
}

.dallni-hero-fullbleed-container {
    position: relative;
    z-index: 4;
    max-width: 1320px;
    width: 100%;
    margin: 0 auto;
    padding: 60px 24px 90px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    box-sizing: border-box;
}

.dallni-cat-hero-text {
    text-align: right;
    max-width: 620px;
}

.dallni-cat-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #FFFFFF;
    color: var(--primary-color);
    padding: 7px 16px;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 800;
    margin-bottom: 18px;
    border: 1px solid rgba(20, 86, 225, 0.15);
    box-shadow: 0 4px 14px rgba(20, 86, 225, 0.06);
}

.dallni-cat-hero-badge i {
    font-size: 1.15rem;
    color: var(--primary-color);
}

.dallni-cat-hero-badge .badge-dot {
    color: #CBD5E1;
}

.dallni-cat-hero-title {
    font-size: clamp(2.3rem, 4.2vw, 3.4rem);
    font-weight: 900;
    color: var(--heading-color);
    line-height: 1.22;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
}

.dallni-cat-hero-title .dallni-title-highlight,
.dallni-hero-mobile-title .dallni-title-highlight,
.dallni-title-highlight {
    color: var(--primary-color, #1456E1);
    display: inline;
}

.dallni-cat-hero-desc {
    font-size: 1.12rem;
    line-height: 1.85;
    color: var(--text-main);
    margin-bottom: 24px;
    font-weight: 500;
}

.dallni-cat-hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.dallni-hero-feature-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--heading-color);
    box-shadow: 0 2px 8px rgba(15, 35, 69, 0.04);
}

.dallni-hero-feature-pill i {
    color: var(--primary-color);
    font-size: 1.15rem;
}

/* Bottom Wave for Desktop */
.dallni-desktop-bottom-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 60px;
    z-index: 5;
    pointer-events: none;
    filter: drop-shadow(0 -4px 10px rgba(15, 35, 69, 0.04));
}

.dallni-desktop-bottom-wave svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* ====================================================
   Mobile Banner (Wide, Immersive with Smooth Wave Bottom)
   ==================================================== */
@media (max-width: 767px) {
    .dallni-cat-hero {
        padding: 0;
        background: #E8F2FD;
        min-height: auto;
    }

    .dallni-hero-mobile-banner {
        position: relative;
        width: 100%;
        height: 62vw;
        min-height: 230px;
        max-height: 310px;
        overflow: hidden;
        display: flex;
        align-items: flex-end;
        background: #D9EBFC;
    }

    .dallni-hero-mobile-img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: left center;
        z-index: 1;
    }

    .dallni-hero-mobile-content {
        position: absolute;
        top: 0;
        right: 0;
        width: 62%;
        height: 88%;
        z-index: 3;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        text-align: right;
        padding: 12px 16px 12px 6px;
        box-sizing: border-box;
        background: linear-gradient(270deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.65) 65%, rgba(255, 255, 255, 0) 100%);
    }

    .dallni-hero-mobile-badge {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        font-size: 0.74rem;
        font-weight: 800;
        background: #FFFFFF;
        color: var(--primary-color, #1456E1);
        border: 1px solid rgba(20, 86, 225, 0.18);
        padding: 4px 10px;
        border-radius: 999px;
        margin-bottom: 7px;
        box-shadow: 0 2px 8px rgba(20, 86, 225, 0.1);
    }

    .dallni-hero-mobile-badge i {
        font-size: 0.88rem;
        color: #22C55E;
    }

    .dallni-hero-mobile-title {
        font-size: clamp(1.28rem, 5vw, 1.6rem);
        font-weight: 900;
        color: var(--heading-color, #0F2345);
        line-height: 1.25;
        margin: 0 0 7px;
        text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
    }

    .dallni-hero-mobile-sub {
        font-size: clamp(0.85rem, 3.2vw, 0.94rem);
        line-height: 1.5;
        color: #0F2345;
        margin: 0;
        font-weight: 750;
        text-shadow: 0 1px 3px rgba(255, 255, 255, 0.95), 0 0 10px #FFFFFF;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .dallni-mobile-bottom-wave {
        position: absolute;
        bottom: -1px;
        left: 0;
        width: 100%;
        height: 46px;
        z-index: 4;
        pointer-events: none;
        filter: drop-shadow(0 -4px 10px rgba(15, 35, 69, 0.05));
    }

    .dallni-mobile-bottom-wave svg {
        width: 100%;
        height: 100%;
        display: block;
    }
}

/* ====================================================
   Unified Search Card
   ==================================================== */
.dallni-search-container {
    margin-top: -30px;
    position: relative;
    z-index: 10;
}

@media (max-width: 767px) {
    .dallni-search-container {
        margin-top: 14px;
        padding: 0 14px;
    }
}

.dallni-unified-search-card {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 12px 16px;
    box-shadow: 0 14px 38px rgba(15, 35, 69, 0.10);
    border: 1px solid rgba(20, 86, 225, 0.12);
}

.dallni-search-grid {
    display: grid;
    grid-template-columns: 1.8fr 1.2fr auto;
    gap: 12px;
    align-items: center;
}

@media (max-width: 767px) {
    .dallni-unified-search-card {
        padding: 12px;
        border-radius: 16px;
    }
    .dallni-search-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

.dallni-search-input-wrap,
.dallni-search-location-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #F8FAFC;
    border: 1.5px solid #E2E8F0;
    border-radius: 14px;
    padding: 0 14px;
    height: 52px;
    transition: all 0.3s ease;
}

.dallni-search-input-wrap:focus-within,
.dallni-search-location-wrap:focus-within {
    border-color: var(--primary-color);
    background: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(20, 86, 225, 0.10);
}

.dallni-search-input-wrap i,
.dallni-search-location-wrap i {
    color: var(--primary-color);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.dallni-search-input-wrap input,
.dallni-search-location-wrap select {
    width: 100%;
    border: none;
    background: transparent;
    outline: none;
    font-family: inherit;
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--heading-color);
}

/* Keep the shared location-filter styles from overflowing the compact search field. */
.dallni-search-location-wrap select.kc-location-filter-select {
    min-width: 0;
    height: 100%;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    background-image: none;
    box-shadow: none;
}

.dallni-search-location-wrap select.kc-location-filter-select:focus {
    border: 0;
    box-shadow: none;
}

.dallni-search-input-wrap input::placeholder {
    color: #94A3B8;
}

.dallni-btn-search {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 52px;
    padding: 0 28px;
    background: var(--primary-color);
    color: #FFFFFF;
    border: none;
    border-radius: 14px;
    font-family: inherit;
    font-size: 1.05rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(20, 86, 225, 0.25);
    white-space: nowrap;
}

.dallni-btn-search:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(20, 86, 225, 0.32);
}

.dallni-btn-search i {
    font-size: 1.25rem;
}

/* ====================================================
   Unified Modern Subcategories Section
   ==================================================== */
.dallni-subcat-section {
    padding: 50px 0 20px;
    background: #FFFFFF;
}

.dallni-subcat-header {
    text-align: center;
    margin-bottom: 34px;
}

.dallni-subcat-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--section-bg);
    color: var(--primary-color);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 800;
    margin-bottom: 10px;
    border: 1px solid rgba(20, 86, 225, 0.12);
}

.dallni-subcat-badge i {
    font-size: 1.1rem;
    color: var(--primary-color);
}

.dallni-subcat-title {
    font-size: clamp(1.6rem, 3.2vw, 2.2rem);
    font-weight: 900;
    color: var(--heading-color);
    margin-bottom: 8px;
}

.dallni-subcat-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.7;
}

.dallni-subcat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 20px;
    margin-top: 28px;
}

.dallni-subcat-card {
    background: #FFFFFF;
    border: 1.5px solid #E2E8F0;
    border-radius: 20px;
    padding: 22px 16px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    aspect-ratio: 1 / 1;
    min-height: 165px;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 18px rgba(15, 35, 69, 0.04);
    position: relative;
    user-select: none;
    box-sizing: border-box;
}

.dallni-subcat-card:hover {
    transform: translateY(-6px);
    border-color: rgba(20, 86, 225, 0.35);
    box-shadow: 0 16px 32px rgba(20, 86, 225, 0.12);
}

.dallni-subcat-icon-wrap {
    width: auto;
    height: 80px;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.dallni-subcat-icon {
    font-size: 4.2rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.dallni-subcat-img {
    width: 76px;
    height: 76px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.dallni-subcat-card:hover .dallni-subcat-icon,
.dallni-subcat-card:hover .dallni-subcat-img {
    transform: scale(1.1);
}

.dallni-subcat-name {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--heading-color);
    margin: 0;
    line-height: 1.35;
    text-align: center;
    transition: color 0.25s ease;
}

.dallni-subcat-card:hover .dallni-subcat-name {
    color: var(--primary-color);
}

/* Selected state for subcategory card */
.dallni-subcat-card.is-selected {
    background: #FFFFFF !important;
    border: 2.5px solid var(--primary-color) !important;
    box-shadow: 0 0 0 4px rgba(20, 86, 225, 0.15), 0 10px 24px rgba(20, 86, 225, 0.12) !important;
    transform: translateY(-4px);
}

/* Checkmark badge in top corner */
.dallni-subcat-card.is-selected::after {
    content: '\2713';
    font-family: Arial, sans-serif;
    position: absolute;
    top: 8px;
    left: 8px;
    width: 22px;
    height: 22px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    font-size: 13px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 22px;
    text-align: center;
}

.dallni-subcat-card.is-selected .dallni-subcat-icon-wrap {
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.dallni-subcat-card.is-selected .dallni-subcat-icon {
    color: var(--primary-color) !important;
}

.dallni-subcat-card.is-selected .dallni-subcat-name {
    color: var(--primary-color) !important;
    font-weight: 900 !important;
}

.dallni-subcat-card.is-selected .dallni-subcat-img {
    filter: none;
    border-radius: 8px;
}

@media (max-width: 767px) {
    .dallni-subcat-section {
        padding: 30px 0 15px;
    }
    .dallni-subcat-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .dallni-subcat-card {
        aspect-ratio: 1 / 1;
        min-height: 140px;
        padding: 16px 10px 14px;
        border-radius: 16px;
    }
    .dallni-subcat-icon-wrap {
        height: 68px;
        background: transparent !important;
        margin-bottom: 8px;
    }
    .dallni-subcat-icon {
        font-size: 3.6rem;
    }
    .dallni-subcat-img {
        width: 62px;
        height: 62px;
    }
    .dallni-subcat-name {
        font-size: 0.92rem;
    }
}

/* ==========================================================================
   Dallni Worker Profile Share Feature Styles
   ========================================================================== */

/* 1. Share Button in Profile Banner */
.profile-banner-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.btn-banner-share {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: #FFFFFF;
    color: var(--heading-color, #0F2345);
    border: 1.5px solid #E2E8F0;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(15, 35, 69, 0.04);
}

.btn-banner-share:hover {
    background: #F8FAFC;
    border-color: var(--primary-color, #1456E1);
    color: var(--primary-color, #1456E1);
    box-shadow: 0 6px 16px rgba(20, 86, 225, 0.12);
    transform: translateY(-2px);
}

.btn-banner-share i {
    font-size: 1.25rem;
    color: var(--primary-color, #1456E1);
}

@media (min-width: 992px) {
    .profile-banner-content {
        align-items: flex-start !important;
    }
    .profile-banner-actions {
        margin-top: 6px;
    }
}

@media (max-width: 991px) {
    .profile-banner-content {
        flex-direction: column;
        align-items: stretch !important;
        gap: 16px !important;
    }

    .profile-banner-actions {
        width: 100%;
        justify-content: stretch;
    }

    .btn-banner-share {
        width: 100%;
        justify-content: center;
        padding: 12px 16px;
    }
}

/* 2. Share Profile Button in Sticky Sidebar */
.sticky-actions-list .btn-share-profile {
    background: #FFFFFF !important;
    border: 2px solid #E2E8F0 !important;
    color: var(--heading-color, #0F2345) !important;
    box-shadow: 0 4px 14px rgba(15, 35, 69, 0.05) !important;
    transition: all 0.25s ease !important;
}

.sticky-actions-list .btn-share-profile:hover,
.sticky-actions-list .btn-share-profile:focus {
    background: #F8FAFC !important;
    border-color: var(--primary-color, #1456E1) !important;
    color: var(--primary-color, #1456E1) !important;
    box-shadow: 0 6px 18px rgba(20, 86, 225, 0.15) !important;
    transform: translateY(-2px);
}

.sticky-actions-list .btn-share-profile i {
    color: var(--primary-color, #1456E1) !important;
    transition: transform 0.25s ease !important;
}

.sticky-actions-list .btn-share-profile:hover i {
    transform: rotate(-12deg) scale(1.1);
}

/* 3. Share Button & Title Row in Worker Cards */
.worker-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    position: relative;
    z-index: 5;
}

.worker-title-row h3 {
    margin: 0 !important;
    line-height: 1.3 !important;
    width: auto !important;
}

/* Desktop Share Button (Parallel to Name in Worker Cards) */
.btn-share-card-desktop {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 50%;
    background: #F8FAFC;
    border: 1.5px solid #E2E8F0;
    color: var(--primary-color, #1456E1);
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
    position: relative;
    z-index: 6;
    flex-shrink: 0;
    margin-right: 2px;
}

.btn-share-card-desktop:hover {
    background: #EFF6FF;
    border-color: var(--primary-color, #1456E1);
    color: var(--primary-color, #1456E1);
    transform: scale(1.12);
    box-shadow: 0 4px 10px rgba(20, 86, 225, 0.18);
}

/* Mobile Share Button in Worker Cards - hidden on desktop */
.btn-share-card-mobile {
    display: none !important;
}

/* Single Worker Profile Quick Share Row - desktop reset */
.sticky-whatsapp-row {
    display: contents;
}
.btn-share-quick-mobile {
    display: none !important;
}

/* Mobile View Adjustments (<= 768px): Share button placed beside WhatsApp button */
@media (max-width: 768px) {
    /* Hide desktop share icon next to name on mobile */
    .btn-share-card-desktop {
        display: none !important;
    }

    /* Worker Cards: Flex row with WhatsApp button and Share button beside it */
    .worker-actions {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 10px !important;
        width: 100% !important;
    }

    .worker-actions .btn-whatsapp-modern {
        flex: 1 1 auto !important;
        width: auto !important;
        min-height: 44px !important;
    }

    .btn-share-card-mobile {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        border-radius: 12px !important;
        background: #F8FAFC !important;
        border: 1.5px solid #E2E8F0 !important;
        color: var(--primary-color, #1456E1) !important;
        font-size: 1.25rem !important;
        cursor: pointer !important;
        transition: all 0.2s ease !important;
        padding: 0 !important;
        position: relative !important;
        z-index: 6 !important;
        flex-shrink: 0 !important;
        box-shadow: 0 2px 8px rgba(15, 35, 69, 0.04) !important;
    }

    .btn-share-card-mobile:active {
        background: #EFF6FF !important;
        border-color: var(--primary-color, #1456E1) !important;
        transform: scale(0.95) !important;
    }

    /* Single Worker Profile: Place quick share button beside WhatsApp button */
    .sticky-whatsapp-row {
        display: flex !important;
        align-items: stretch !important;
        gap: 10px !important;
        width: 100% !important;
    }

    .sticky-whatsapp-row .btn-whatsapp-modern {
        flex: 1 1 auto !important;
        width: auto !important;
        min-height: 50px !important;
    }

    .btn-share-quick-mobile {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 50px !important;
        height: 50px !important;
        min-width: 50px !important;
        border-radius: 12px !important;
        background: #FFFFFF !important;
        border: 2px solid #E2E8F0 !important;
        color: var(--primary-color, #1456E1) !important;
        font-size: 1.35rem !important;
        cursor: pointer !important;
        padding: 0 !important;
        flex-shrink: 0 !important;
        box-shadow: 0 4px 14px rgba(15, 35, 69, 0.05) !important;
        transition: all 0.2s ease !important;
    }

    .btn-share-quick-mobile:active {
        background: #F8FAFC !important;
        border-color: var(--primary-color, #1456E1) !important;
        transform: scale(0.95) !important;
    }

    .sticky-actions-list .btn-share-profile {
        display: none !important;
    }
}

/* 4. Dallni Share Modal & Backdrop */
.dallni-share-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.25s ease, opacity 0.25s ease;
    font-family: 'Tajawal', 'Cairo', sans-serif;
}

.dallni-share-modal.active {
    visibility: visible;
    opacity: 1;
}

.dallni-share-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.dallni-share-modal-dialog {
    position: relative;
    z-index: 2;
    background: #FFFFFF;
    border-radius: 24px;
    max-width: 480px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 28px 24px;
    box-shadow: 0 25px 60px -12px rgba(15, 23, 42, 0.35);
    transform: translateY(20px) scale(0.96);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    direction: rtl;
    text-align: right;
    box-sizing: border-box;
}

.dallni-share-modal.active .dallni-share-modal-dialog {
    transform: translateY(0) scale(1);
}

/* Close Button */
.dallni-share-close-btn {
    position: absolute;
    top: 18px;
    left: 18px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #F1F5F9;
    border: none;
    color: #64748B;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.4rem;
    transition: all 0.2s ease;
}

.dallni-share-close-btn:hover {
    background: #E2E8F0;
    color: #0F172A;
    transform: rotate(90deg);
}

/* Header */
.dallni-share-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    padding-left: 36px;
}

.dallni-share-header-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(20, 86, 225, 0.08);
    color: var(--primary-color, #1456E1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
}

.dallni-share-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0F2345;
    margin: 0 0 4px 0;
}

.dallni-share-subtitle {
    font-size: 0.85rem;
    color: #64748B;
    margin: 0;
}

/* Preview Mini Card inside Modal */
.dallni-share-worker-preview {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #F8FAFC;
    border: 1.5px solid #E2E8F0;
    border-radius: 16px;
    padding: 12px 14px;
    margin-bottom: 20px;
}

.dallni-share-preview-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #FFFFFF;
    border: 1px solid #CBD5E1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--primary-color, #1456E1);
    flex-shrink: 0;
}

.dallni-share-preview-info {
    flex: 1;
    min-width: 0;
}

.dallni-share-preview-name {
    display: block;
    font-size: 0.98rem;
    font-weight: 800;
    color: #0F2345;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dallni-share-preview-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: #64748B;
    margin-top: 2px;
}

.dallni-share-preview-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 6px;
    background: rgba(34, 197, 94, 0.12);
    color: #15803D;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* Channels Grid */
.dallni-share-channels-label {
    font-size: 0.88rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 12px;
}

.dallni-share-channels-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.dallni-share-channel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 10px;
    border-radius: 14px;
    background: #F8FAFC;
    border: 1.5px solid #E2E8F0;
    text-decoration: none;
    color: #334155;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
}

.dallni-share-channel:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.channel-icon-wrap {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    transition: transform 0.2s ease;
}

.dallni-share-channel:hover .channel-icon-wrap {
    transform: scale(1.12);
}

/* Specific Channel Accents */
.channel-whatsapp .channel-icon-wrap { background: #25D366; color: #FFFFFF; }
.channel-whatsapp:hover { border-color: #25D366; background: #F0FDF4; color: #166534; }

.channel-copy .channel-icon-wrap { background: var(--primary-color, #1456E1); color: #FFFFFF; }
.channel-copy:hover { border-color: var(--primary-color, #1456E1); background: #EFF6FF; color: #1E40AF; }

.channel-telegram .channel-icon-wrap { background: #229ED9; color: #FFFFFF; }
.channel-telegram:hover { border-color: #229ED9; background: #F0F9FF; color: #0369A1; }

.channel-twitter .channel-icon-wrap { background: #0F1419; color: #FFFFFF; }
.channel-twitter:hover { border-color: #0F1419; background: #F8FAFC; color: #0F1419; }

.channel-facebook .channel-icon-wrap { background: #1877F2; color: #FFFFFF; }
.channel-facebook:hover { border-color: #1877F2; background: #EFF6FF; color: #1D4ED8; }

.channel-native .channel-icon-wrap { background: #64748B; color: #FFFFFF; }
.channel-native:hover { border-color: #64748B; background: #F1F5F9; color: #334155; }

/* Direct URL Copy Field */
.dallni-share-link-group {
    margin-bottom: 18px;
}

.dallni-share-link-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: #475569;
    margin-bottom: 8px;
}

.dallni-share-link-box {
    display: flex;
    align-items: center;
    background: #F8FAFC;
    border: 1.5px solid #CBD5E1;
    border-radius: 12px;
    padding: 4px;
    gap: 6px;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.dallni-share-link-box:focus-within {
    border-color: var(--primary-color, #1456E1);
    background: #FFFFFF;
}

.dallni-share-link-box input {
    flex: 1;
    min-width: 0;
    border: none;
    background: transparent;
    padding: 8px 12px;
    font-size: 0.85rem;
    color: #334155;
    outline: none;
    direction: ltr;
    text-align: left;
    font-family: monospace, sans-serif;
}

.dallni-share-copy-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 16px;
    border-radius: 9px;
    background: var(--primary-color, #1456E1);
    border: none;
    color: #FFFFFF;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.dallni-share-copy-action:hover {
    background: #0E44B5;
    transform: translateY(-1px);
}

.dallni-share-copy-action.copied {
    background: #16A34A !important;
}

/* QR Code Section */
.dallni-share-qr-section {
    border-top: 1px solid #E2E8F0;
    padding-top: 14px;
}

.dallni-share-qr-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    background: transparent;
    border: none;
    padding: 8px 4px;
    color: #475569;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: color 0.2s ease;
}

.dallni-share-qr-toggle:hover {
    color: var(--primary-color, #1456E1);
}

.dallni-share-qr-toggle i:first-child {
    font-size: 1.25rem;
}

.dallni-share-qr-toggle .qr-arrow {
    transition: transform 0.25s ease;
}

.dallni-share-qr-toggle.open .qr-arrow {
    transform: rotate(180deg);
}

.dallni-share-qr-panel {
    padding-top: 14px;
    text-align: center;
}

.dallni-share-qr-card {
    display: inline-block;
    padding: 16px;
    background: #FFFFFF;
    border: 1.5px solid #E2E8F0;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

.dallni-share-qr-card img {
    display: block;
    margin: 0 auto 10px;
    border-radius: 8px;
}

.dallni-share-qr-hint {
    margin: 0;
    font-size: 0.8rem;
    color: #64748B;
    max-width: 220px;
}

/* Toast Alert */
.dallni-share-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(30px);
    background: #0F172A;
    color: #FFFFFF;
    padding: 12px 24px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    z-index: 1000000;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.dallni-share-toast i {
    color: #22C55E;
    font-size: 1.35rem;
}

.dallni-share-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Mobile Bottom Sheet Adaptation */
@media (max-width: 600px) {
    .dallni-share-modal {
        padding: 0;
        align-items: flex-end;
    }

    .dallni-share-modal-dialog {
        border-radius: 24px 24px 0 0;
        max-height: 85vh;
        transform: translateY(100%);
    }

    .dallni-share-modal.active .dallni-share-modal-dialog {
        transform: translateY(0);
    }
}


