/* ============================================
   ASHGHAL PLATFORM - PREMIUM HOME PAGE
   High-Ticket Client Premium Design v3.0
   Enhanced with Visual Excellence
   ============================================ */

/* ========== Design System Variables ========== */
:root {
    /* Brand Colors - Rich & Vibrant */
    --ashghal-primary: #6ab456;
    --ashghal-primary-rgb: 106, 180, 86;
    --ashghal-primary-dark: #5a9e48;
    --ashghal-primary-darker: #4a8a3a;
    --ashghal-primary-light: #7ec66a;
    --ashghal-primary-lighter: #a8e09a;
    --ashghal-primary-subtle: rgba(106, 180, 86, 0.08);
    --ashghal-primary-glow: rgba(106, 180, 86, 0.4);
    
    /* Extended Accent Palette */
    --ashghal-secondary: #28afaf;
    --ashghal-accent: #f29800;
    --ashghal-accent-light: #ffb940;
    --ashghal-info: #38b0f5;
    --ashghal-success: #10b981;
    --ashghal-purple: #8b5cf6;
    
    /* Refined Neutral Palette */
    --ashghal-white: #ffffff;
    --ashghal-off-white: #fafbfc;
    --ashghal-gray-50: #f8fafc;
    --ashghal-gray-100: #f1f5f9;
    --ashghal-gray-200: #e2e8f0;
    --ashghal-gray-300: #cbd5e1;
    --ashghal-gray-400: #94a3b8;
    --ashghal-gray-500: #64748b;
    --ashghal-gray-600: #475569;
    --ashghal-gray-700: #334155;
    --ashghal-gray-800: #1e293b;
    --ashghal-gray-900: #0f172a;
    --ashghal-dark: #0b1727;
    
    /* Premium Typography */
    --ashghal-font-display: 'IBM Plex Sans Arabic', system-ui, sans-serif;
    --ashghal-font-body: 'IBM Plex Sans Arabic', 'Noto Kufi Arabic', system-ui, sans-serif;
    
    /* Fluid Typography */
    --ashghal-text-xs: clamp(0.7rem, 0.8vw, 0.75rem);
    --ashghal-text-sm: clamp(0.8rem, 0.9vw, 0.875rem);
    --ashghal-text-base: clamp(0.9rem, 1vw, 1rem);
    --ashghal-text-lg: clamp(1rem, 1.15vw, 1.125rem);
    --ashghal-text-xl: clamp(1.15rem, 1.35vw, 1.25rem);
    --ashghal-text-2xl: clamp(1.35rem, 1.9vw, 1.5rem);
    --ashghal-text-3xl: clamp(1.7rem, 2.4vw, 2rem);
    --ashghal-text-4xl: clamp(2.2rem, 3.2vw, 2.75rem);
    --ashghal-text-5xl: clamp(2.8rem, 4.5vw, 3.75rem);
    --ashghal-text-6xl: clamp(3.5rem, 6vw, 5rem);
    
    /* Spacing Scale */
    --ashghal-space-1: 0.25rem;
    --ashghal-space-2: 0.5rem;
    --ashghal-space-3: 0.75rem;
    --ashghal-space-4: 1rem;
    --ashghal-space-5: 1.25rem;
    --ashghal-space-6: 1.5rem;
    --ashghal-space-8: 2rem;
    --ashghal-space-10: 2.5rem;
    --ashghal-space-12: 3rem;
    --ashghal-space-16: 4rem;
    --ashghal-space-20: 5rem;
    --ashghal-space-24: 6rem;
    --ashghal-space-32: 8rem;
    
    /* Premium Shadows */
    --ashghal-shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.03);
    --ashghal-shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.03);
    --ashghal-shadow-md: 0 4px 8px -2px rgba(0, 0, 0, 0.06), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --ashghal-shadow-lg: 0 12px 24px -4px rgba(0, 0, 0, 0.08), 0 4px 8px -2px rgba(0, 0, 0, 0.04);
    --ashghal-shadow-xl: 0 24px 48px -8px rgba(0, 0, 0, 0.1), 0 12px 24px -4px rgba(0, 0, 0, 0.05);
    --ashghal-shadow-2xl: 0 32px 64px -12px rgba(0, 0, 0, 0.14);
    --ashghal-shadow-primary: 0 8px 24px -4px rgba(106, 180, 86, 0.35);
    --ashghal-shadow-primary-lg: 0 16px 40px -8px rgba(106, 180, 86, 0.4);
    --ashghal-shadow-glow: 0 0 40px rgba(106, 180, 86, 0.3);
    --ashghal-shadow-card: 0 4px 24px -4px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(0, 0, 0, 0.02);
    
    /* Border Radius */
    --ashghal-radius-sm: 0.5rem;
    --ashghal-radius-md: 0.75rem;
    --ashghal-radius-lg: 1rem;
    --ashghal-radius-xl: 1.25rem;
    --ashghal-radius-2xl: 1.5rem;
    --ashghal-radius-3xl: 2rem;
    --ashghal-radius-full: 9999px;
    
    /* Premium Transitions */
    --ashghal-transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --ashghal-transition-base: 280ms cubic-bezier(0.4, 0, 0.2, 1);
    --ashghal-transition-smooth: 400ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ashghal-transition-bounce: 600ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --ashghal-transition-spring: 500ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ========== Base Styles ========== */
.ashghal-home {
    font-family: var(--ashghal-font-body);
    color: var(--ashghal-gray-700);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.ashghal-home *,
.ashghal-home *::before,
.ashghal-home *::after {
    box-sizing: border-box;
}

.ashghal-container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 var(--ashghal-space-6);
}

/* ========== PREMIUM HERO SECTION ========== */
.ashghal-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: 
        linear-gradient(165deg, 
            #5fa34a 0%, 
            var(--ashghal-primary) 25%, 
            var(--ashghal-primary-dark) 50%, 
            #4a8538 75%,
            #3d7030 100%);
    overflow: hidden;
}

/* Animated Gradient Orbs */
.ashghal-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(ellipse at center, rgba(255,255,255,0.12) 0%, transparent 60%);
    animation: ashghalOrbFloat 20s ease-in-out infinite;
    pointer-events: none;
}

.ashghal-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 60%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.08) 0%, transparent 50%);
    animation: ashghalOrbFloat 25s ease-in-out infinite reverse;
    pointer-events: none;
}

/* Floating Shapes Container */
.ashghal-hero-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.ashghal-shape {
    position: absolute;
    border-radius: var(--ashghal-radius-full);
    opacity: 0.08;
    animation: ashghalShapeFloat 15s ease-in-out infinite;
}

.ashghal-shape-1 {
    width: 400px;
    height: 400px;
    background: var(--ashghal-white);
    top: 10%;
    right: 5%;
    animation-delay: 0s;
}

.ashghal-shape-2 {
    width: 200px;
    height: 200px;
    background: var(--ashghal-accent);
    bottom: 20%;
    left: 10%;
    animation-delay: -5s;
}

.ashghal-shape-3 {
    width: 150px;
    height: 150px;
    background: var(--ashghal-white);
    top: 60%;
    right: 25%;
    animation-delay: -10s;
}

/* Grid Pattern Overlay */
.ashghal-hero-pattern {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M40 40h-1v-1h1v1zm0-40h-1v1h1V0zm-40 40h1v-1H0v1zm80 0h-1v-1h1v1zM40 80h-1v-1h1v1z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.ashghal-hero-inner {
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--ashghal-space-16);
    align-items: center;
    padding: var(--ashghal-space-24) 0;
}

.ashghal-hero-content {
    color: var(--ashghal-white);
}

/* Premium Badge */
.ashghal-hero-label {
    display: inline-flex;
    align-items: center;
    gap: var(--ashghal-space-3);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: var(--ashghal-space-3) var(--ashghal-space-5);
    border-radius: var(--ashghal-radius-full);
    font-size: var(--ashghal-text-sm);
    font-weight: 600;
    margin-bottom: var(--ashghal-space-8);
    animation: ashghalFadeSlideDown 0.7s ease-out;
    box-shadow: 0 4px 24px rgba(0,0,0,0.1);
}

.ashghal-hero-label i {
    color: var(--ashghal-accent-light);
    font-size: 1.1em;
}

/* Hero Title with Gradient Text */
.ashghal-hero-title {
    font-family: var(--ashghal-font-display);
    font-size: var(--ashghal-text-6xl);
    font-weight: 800;
    line-height: 1.05;
    margin: 0 0 var(--ashghal-space-6);
    animation: ashghalFadeSlideUp 0.7s ease-out 0.1s both;
    letter-spacing: -0.02em;
}

.ashghal-hero-title span {
    display: block;
    background: linear-gradient(135deg, 
        var(--ashghal-white) 0%, 
        rgba(255,255,255,0.95) 50%,
        rgba(255,255,255,0.85) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 30px rgba(0,0,0,0.15);
}

.ashghal-hero-subtitle {
    font-size: var(--ashghal-text-2xl);
    font-weight: 500;
    margin: 0 0 var(--ashghal-space-5);
    opacity: 0.97;
    animation: ashghalFadeSlideUp 0.7s ease-out 0.2s both;
    line-height: 1.5;
}

.ashghal-hero-desc {
    font-size: var(--ashghal-text-lg);
    line-height: 1.9;
    margin: 0 0 var(--ashghal-space-10);
    opacity: 0.88;
    max-width: 520px;
    animation: ashghalFadeSlideUp 0.7s ease-out 0.3s both;
}

/* Premium CTA Buttons */
.ashghal-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--ashghal-space-4);
    margin-bottom: var(--ashghal-space-12);
    animation: ashghalFadeSlideUp 0.7s ease-out 0.4s both;
}

.ashghal-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--ashghal-space-3);
    padding: var(--ashghal-space-5) var(--ashghal-space-10);
    font-family: inherit;
    font-size: var(--ashghal-text-base);
    font-weight: 700;
    text-decoration: none;
    border-radius: var(--ashghal-radius-full);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--ashghal-transition-smooth);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.ashghal-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--ashghal-transition-fast);
}

.ashghal-btn:hover::before {
    opacity: 1;
}

.ashghal-btn-white {
    background: var(--ashghal-white);
    color: var(--ashghal-primary-dark);
    box-shadow: 
        0 4px 16px rgba(0,0,0,0.1),
        0 8px 32px rgba(106, 180, 86, 0.2),
        inset 0 -2px 0 rgba(0,0,0,0.05);
}

.ashghal-btn-white:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 
        0 8px 24px rgba(0,0,0,0.12),
        0 16px 48px rgba(106, 180, 86, 0.3),
        inset 0 -2px 0 rgba(0,0,0,0.05);
}

.ashghal-btn-ghost {
    background: rgba(255, 255, 255, 0.08);
    color: var(--ashghal-white);
    border-color: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(10px);
}

.ashghal-btn-ghost:hover {
    background: var(--ashghal-white);
    color: var(--ashghal-primary-dark);
    border-color: var(--ashghal-white);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 32px rgba(255,255,255,0.25);
}

/* Trust Metrics */
.ashghal-hero-metrics {
    display: flex;
    gap: var(--ashghal-space-10);
    animation: ashghalFadeSlideUp 0.7s ease-out 0.5s both;
}

.ashghal-metric {
    text-align: center;
    position: relative;
    padding-left: var(--ashghal-space-10);
}

.ashghal-metric:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 50px;
    background: linear-gradient(180deg, transparent, rgba(255,255,255,0.3), transparent);
}

.ashghal-metric-value {
    display: block;
    font-size: var(--ashghal-text-4xl);
    font-weight: 800;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.ashghal-metric-label {
    font-size: var(--ashghal-text-sm);
    opacity: 0.85;
    font-weight: 500;
}

/* Floating Cards - Glassmorphism */
.ashghal-hero-visual {
    position: relative;
    animation: ashghalFadeSlideRight 0.9s ease-out 0.4s both;
}

.ashghal-hero-cards {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--ashghal-space-5);
}

.ashghal-hero-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: var(--ashghal-radius-2xl);
    padding: var(--ashghal-space-6);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.12),
        0 2px 8px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    gap: var(--ashghal-space-4);
    max-width: 340px;
    border: 1px solid rgba(255,255,255,0.5);
    transition: all var(--ashghal-transition-smooth);
    animation: ashghalCardFloat 6s ease-in-out infinite;
}

.ashghal-hero-card:hover {
    transform: translateY(-4px) translateX(8px);
    box-shadow: 
        0 16px 48px rgba(0, 0, 0, 0.15),
        0 4px 16px rgba(0, 0, 0, 0.1);
}

.ashghal-hero-card:nth-child(1) {
    animation-delay: 0s;
}

.ashghal-hero-card:nth-child(2) {
    margin-right: var(--ashghal-space-16);
    animation-delay: -2s;
}

.ashghal-hero-card:nth-child(3) {
    margin-right: var(--ashghal-space-8);
    animation-delay: -4s;
}

.ashghal-hero-card-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--ashghal-radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--ashghal-text-xl);
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.ashghal-hero-card-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, transparent 60%);
}

.ashghal-hero-card-icon.green {
    background: linear-gradient(145deg, var(--ashghal-primary-light), var(--ashghal-primary));
    color: var(--ashghal-white);
    box-shadow: 0 4px 16px rgba(106, 180, 86, 0.4);
}

.ashghal-hero-card-icon.blue {
    background: linear-gradient(145deg, #5bc0f8, var(--ashghal-info));
    color: var(--ashghal-white);
    box-shadow: 0 4px 16px rgba(56, 176, 245, 0.4);
}

.ashghal-hero-card-icon.orange {
    background: linear-gradient(145deg, var(--ashghal-accent-light), var(--ashghal-accent));
    color: var(--ashghal-white);
    box-shadow: 0 4px 16px rgba(242, 152, 0, 0.4);
}

.ashghal-hero-card-content h4 {
    margin: 0 0 var(--ashghal-space-1);
    font-size: var(--ashghal-text-base);
    font-weight: 700;
    color: var(--ashghal-gray-900);
}

.ashghal-hero-card-content p {
    margin: 0;
    font-size: var(--ashghal-text-sm);
    color: var(--ashghal-gray-500);
}

/* Animated Wave Divider */
.ashghal-hero-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 4;
}

.ashghal-hero-wave svg {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 -4px 8px rgba(0,0,0,0.05));
}

/* ========== PREMIUM SERVICES SECTION ========== */
.ashghal-services {
    padding: var(--ashghal-space-32) 0;
    background: var(--ashghal-gray-50);
    position: relative;
    overflow: hidden;
}

/* Decorative Background Element */
.ashghal-services::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(106, 180, 86, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.ashghal-section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto var(--ashghal-space-20);
    position: relative;
}

.ashghal-section-label {
    display: inline-flex;
    align-items: center;
    gap: var(--ashghal-space-2);
    background: linear-gradient(135deg, var(--ashghal-primary-subtle), rgba(106, 180, 86, 0.12));
    color: var(--ashghal-primary-dark);
    padding: var(--ashghal-space-3) var(--ashghal-space-6);
    border-radius: var(--ashghal-radius-full);
    font-size: var(--ashghal-text-sm);
    font-weight: 700;
    margin-bottom: var(--ashghal-space-5);
    border: 1px solid rgba(106, 180, 86, 0.15);
    box-shadow: 0 2px 8px rgba(106, 180, 86, 0.1);
}

.ashghal-section-title {
    font-family: var(--ashghal-font-display);
    font-size: var(--ashghal-text-4xl);
    font-weight: 800;
    color: var(--ashghal-gray-900);
    margin: 0 0 var(--ashghal-space-5);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.ashghal-section-title span {
    background: linear-gradient(135deg, var(--ashghal-primary), var(--ashghal-primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ashghal-section-desc {
    font-size: var(--ashghal-text-lg);
    color: var(--ashghal-gray-600);
    margin: 0;
    line-height: 1.85;
}

/* Premium Service Cards */
.ashghal-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--ashghal-space-8);
}

.ashghal-service-card {
    background: var(--ashghal-white);
    border-radius: var(--ashghal-radius-3xl);
    padding: var(--ashghal-space-10) var(--ashghal-space-8);
    text-align: center;
    position: relative;
    border: 1px solid transparent;
    transition: all var(--ashghal-transition-smooth);
    overflow: hidden;
    box-shadow: var(--ashghal-shadow-card);
}

.ashghal-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--ashghal-primary), var(--ashghal-primary-light), var(--ashghal-accent));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--ashghal-transition-smooth);
}

.ashghal-service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(106, 180, 86, 0.03) 100%);
    opacity: 0;
    transition: opacity var(--ashghal-transition-smooth);
}

.ashghal-service-card:hover {
    transform: translateY(-12px);
    box-shadow: 
        0 24px 48px -12px rgba(0, 0, 0, 0.12),
        0 0 0 1px rgba(106, 180, 86, 0.1);
}

.ashghal-service-card:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.ashghal-service-card:hover::after {
    opacity: 1;
}

.ashghal-service-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto var(--ashghal-space-6);
    border-radius: var(--ashghal-radius-2xl);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, var(--ashghal-primary-light), var(--ashghal-primary));
    box-shadow: 
        0 8px 24px -4px rgba(106, 180, 86, 0.4),
        inset 0 -3px 0 rgba(0,0,0,0.1),
        inset 0 2px 4px rgba(255,255,255,0.3);
    transition: all var(--ashghal-transition-smooth);
    position: relative;
    z-index: 2;
}

.ashghal-service-card:hover .ashghal-service-icon {
    transform: scale(1.1) rotate(6deg);
    box-shadow: 
        0 12px 32px -4px rgba(106, 180, 86, 0.5),
        inset 0 -3px 0 rgba(0,0,0,0.1),
        inset 0 2px 4px rgba(255,255,255,0.3);
}

.ashghal-service-icon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.ashghal-service-name {
    font-size: var(--ashghal-text-xl);
    font-weight: 700;
    color: var(--ashghal-gray-900);
    margin: 0 0 var(--ashghal-space-3);
    position: relative;
    z-index: 2;
}

.ashghal-service-desc {
    font-size: var(--ashghal-text-base);
    color: var(--ashghal-gray-600);
    margin: 0 0 var(--ashghal-space-6);
    line-height: 1.75;
    position: relative;
    z-index: 2;
}

.ashghal-service-link {
    display: inline-flex;
    align-items: center;
    gap: var(--ashghal-space-2);
    color: var(--ashghal-primary);
    font-weight: 700;
    text-decoration: none;
    font-size: var(--ashghal-text-base);
    transition: all var(--ashghal-transition-fast);
    position: relative;
    z-index: 2;
}

.ashghal-service-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--ashghal-primary);
    transition: width var(--ashghal-transition-base);
}

.ashghal-service-link:hover {
    gap: var(--ashghal-space-4);
}

.ashghal-service-link:hover::after {
    width: 100%;
}

/* ========== CATEGORIES SECTION ========== */
.ashghal-categories {
    padding: var(--ashghal-space-32) 0;
    background: var(--ashghal-white);
}

.ashghal-category-block {
    margin-bottom: var(--ashghal-space-20);
}

.ashghal-category-block:last-child {
    margin-bottom: 0;
}

.ashghal-category-head {
    margin-bottom: var(--ashghal-space-10);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--ashghal-space-4);
}

.ashghal-category-name {
    font-family: var(--ashghal-font-display);
    font-size: var(--ashghal-text-3xl);
    font-weight: 800;
    color: var(--ashghal-gray-900);
    margin: 0;
    position: relative;
    display: inline-block;
    letter-spacing: -0.01em;
}

.ashghal-category-name::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--ashghal-primary), var(--ashghal-primary-light));
    border-radius: var(--ashghal-radius-full);
}

.ashghal-category-text {
    font-size: var(--ashghal-text-base);
    color: var(--ashghal-gray-500);
    margin: var(--ashghal-space-5) 0 0;
}

/* Category Grid Items */
.ashghal-category-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: var(--ashghal-space-5);
}

.ashghal-category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--ashghal-space-4);
    padding: var(--ashghal-space-6);
    background: var(--ashghal-white);
    border: 1px solid var(--ashghal-gray-100);
    border-radius: var(--ashghal-radius-2xl);
    text-decoration: none;
    color: var(--ashghal-gray-900);
    transition: all var(--ashghal-transition-smooth);
    position: relative;
    overflow: hidden;
}

.ashghal-category-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, var(--ashghal-primary-subtle), transparent);
    opacity: 0;
    transition: opacity var(--ashghal-transition-base);
}

.ashghal-category-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--ashghal-shadow-lg);
    border-color: var(--ashghal-primary);
}

.ashghal-category-item:hover::before {
    opacity: 1;
}

.ashghal-category-thumb {
    width: 64px;
    height: 64px;
    border-radius: var(--ashghal-radius-xl);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ashghal-gray-100);
    position: relative;
    z-index: 1;
    transition: all var(--ashghal-transition-base);
}

.ashghal-category-item:hover .ashghal-category-thumb {
    transform: scale(1.08);
}

.ashghal-category-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ashghal-category-label {
    font-size: var(--ashghal-text-sm);
    font-weight: 700;
    text-align: center;
    line-height: 1.4;
    position: relative;
    z-index: 1;
}

/* ========== PREMIUM BENEFITS SECTION ========== */
.ashghal-benefits {
    padding: var(--ashghal-space-32) 0;
    background: 
        linear-gradient(180deg, var(--ashghal-gray-50) 0%, var(--ashghal-white) 50%, var(--ashghal-gray-50) 100%);
    position: relative;
    overflow: hidden;
}

/* Decorative Elements */
.ashghal-benefits::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -200px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(106, 180, 86, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    transform: translateY(-50%);
}

.ashghal-benefits::after {
    content: '';
    position: absolute;
    top: 20%;
    right: -150px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(242, 152, 0, 0.04) 0%, transparent 70%);
    border-radius: 50%;
}

.ashghal-benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--ashghal-space-8);
    position: relative;
    z-index: 1;
}

.ashghal-benefit-card {
    background: var(--ashghal-white);
    border-radius: var(--ashghal-radius-3xl);
    padding: var(--ashghal-space-10);
    text-align: center;
    border: 1px solid var(--ashghal-gray-100);
    transition: all var(--ashghal-transition-smooth);
    position: relative;
    overflow: hidden;
}

.ashghal-benefit-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 180deg, transparent, rgba(106, 180, 86, 0.03), transparent 30%);
    opacity: 0;
    transition: opacity var(--ashghal-transition-smooth);
    animation: ashghalRotate 10s linear infinite paused;
}

.ashghal-benefit-card:hover::before {
    opacity: 1;
    animation-play-state: running;
}

.ashghal-benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--ashghal-shadow-xl);
    border-color: transparent;
}

.ashghal-benefit-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--ashghal-space-6);
    border-radius: var(--ashghal-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--ashghal-text-3xl);
    transition: all var(--ashghal-transition-smooth);
    position: relative;
    z-index: 1;
}

/* Ring animation on hover */
.ashghal-benefit-icon::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: inherit;
    border: 2px dashed transparent;
    transition: all var(--ashghal-transition-smooth);
}

.ashghal-benefit-card:hover .ashghal-benefit-icon {
    transform: scale(1.12);
}

.ashghal-benefit-card:hover .ashghal-benefit-icon::before {
    border-color: currentColor;
    opacity: 0.3;
    animation: ashghalSpin 8s linear infinite;
}

.ashghal-benefit-icon.style-1 {
    background: linear-gradient(145deg, rgba(106, 180, 86, 0.12), rgba(106, 180, 86, 0.18));
    color: var(--ashghal-primary);
}

.ashghal-benefit-icon.style-2 {
    background: linear-gradient(145deg, rgba(16, 185, 129, 0.12), rgba(16, 185, 129, 0.18));
    color: var(--ashghal-success);
}

.ashghal-benefit-icon.style-3 {
    background: linear-gradient(145deg, rgba(242, 152, 0, 0.12), rgba(242, 152, 0, 0.18));
    color: var(--ashghal-accent);
}

.ashghal-benefit-icon.style-4 {
    background: linear-gradient(145deg, rgba(56, 176, 245, 0.12), rgba(56, 176, 245, 0.18));
    color: var(--ashghal-info);
}

.ashghal-benefit-name {
    font-size: var(--ashghal-text-xl);
    font-weight: 700;
    color: var(--ashghal-gray-900);
    margin: 0 0 var(--ashghal-space-4);
    position: relative;
    z-index: 1;
}

.ashghal-benefit-text {
    font-size: var(--ashghal-text-base);
    color: var(--ashghal-gray-600);
    margin: 0;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

/* ========== PREMIUM STATS SECTION ========== */
.ashghal-stats {
    padding: var(--ashghal-space-24) 0;
    background: 
        linear-gradient(165deg, 
            #5fa34a 0%, 
            var(--ashghal-primary) 30%, 
            var(--ashghal-primary-dark) 70%,
            #3d7030 100%);
    position: relative;
    overflow: hidden;
}

/* Animated Background */
.ashghal-stats::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 60% at 20% 40%, rgba(255,255,255,0.12) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 60%, rgba(0,0,0,0.08) 0%, transparent 50%);
    pointer-events: none;
}

/* Floating Particles */
.ashghal-stats::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.1) 1px, transparent 1px),
        radial-gradient(circle at 80% 70%, rgba(255,255,255,0.08) 1px, transparent 1px),
        radial-gradient(circle at 50% 50%, rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 100px 100px, 150px 150px, 80px 80px;
    animation: ashghalParticles 30s linear infinite;
    pointer-events: none;
}

.ashghal-stats-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-bottom: var(--ashghal-space-16);
}

.ashghal-stats-title {
    font-family: var(--ashghal-font-display);
    font-size: var(--ashghal-text-4xl);
    font-weight: 800;
    color: var(--ashghal-white);
    margin: 0 0 var(--ashghal-space-4);
    text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.ashghal-stats-desc {
    font-size: var(--ashghal-text-lg);
    color: rgba(255, 255, 255, 0.88);
    margin: 0 auto;
    max-width: 600px;
    line-height: 1.8;
}

.ashghal-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--ashghal-space-8);
    position: relative;
    z-index: 2;
}

.ashghal-stat-card {
    text-align: center;
    padding: var(--ashghal-space-8);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    border-radius: var(--ashghal-radius-2xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--ashghal-transition-smooth);
}

.ashghal-stat-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

.ashghal-stat-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto var(--ashghal-space-5);
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--ashghal-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--ashghal-text-2xl);
    color: var(--ashghal-white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.ashghal-stat-num {
    font-family: var(--ashghal-font-display);
    font-size: var(--ashghal-text-5xl);
    font-weight: 800;
    color: var(--ashghal-white);
    display: block;
    margin-bottom: var(--ashghal-space-2);
    text-shadow: 0 2px 20px rgba(0,0,0,0.2);
    letter-spacing: -0.02em;
}

.ashghal-stat-num::before {
    content: '+';
    opacity: 0.7;
}

.ashghal-stat-text {
    font-size: var(--ashghal-text-lg);
    color: rgba(255, 255, 255, 0.92);
    font-weight: 500;
}

/* ========== PREMIUM TESTIMONIALS ========== */
.ashghal-testimonials {
    padding: var(--ashghal-space-32) 0;
    background: var(--ashghal-white);
    position: relative;
}

.ashghal-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--ashghal-space-8);
}

.ashghal-testimonial-card {
    background: linear-gradient(180deg, var(--ashghal-gray-50) 0%, var(--ashghal-white) 100%);
    border-radius: var(--ashghal-radius-3xl);
    padding: var(--ashghal-space-10);
    border: 1px solid var(--ashghal-gray-100);
    transition: all var(--ashghal-transition-smooth);
    position: relative;
    overflow: hidden;
}

.ashghal-testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(106, 180, 86, 0.08) 0%, transparent 70%);
    border-radius: 0 var(--ashghal-radius-3xl) 0 100%;
}

.ashghal-testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--ashghal-shadow-xl);
    border-color: transparent;
}

.ashghal-testimonial-stars {
    display: flex;
    gap: 6px;
    color: var(--ashghal-accent);
    margin-bottom: var(--ashghal-space-5);
    font-size: var(--ashghal-text-lg);
}

.ashghal-testimonial-text {
    font-size: var(--ashghal-text-lg);
    color: var(--ashghal-gray-700);
    line-height: 1.9;
    margin: 0 0 var(--ashghal-space-8);
    position: relative;
    padding-right: var(--ashghal-space-10);
}

.ashghal-testimonial-text::before {
    content: '"';
    position: absolute;
    right: 0;
    top: -10px;
    font-size: 5rem;
    color: var(--ashghal-primary);
    opacity: 0.12;
    font-family: Georgia, serif;
    line-height: 1;
}

.ashghal-testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--ashghal-space-4);
}

.ashghal-testimonial-avatar {
    width: 58px;
    height: 58px;
    border-radius: var(--ashghal-radius-full);
    overflow: hidden;
    border: 3px solid var(--ashghal-primary);
    box-shadow: 0 4px 12px rgba(106, 180, 86, 0.25);
}

.ashghal-testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ashghal-testimonial-name {
    font-size: var(--ashghal-text-base);
    font-weight: 700;
    color: var(--ashghal-gray-900);
    margin: 0 0 4px;
}

.ashghal-testimonial-role {
    font-size: var(--ashghal-text-sm);
    color: var(--ashghal-gray-500);
    margin: 0;
}

/* ========== PREMIUM CTA SECTION ========== */
.ashghal-cta {
    padding: var(--ashghal-space-24) 0;
    background: 
        linear-gradient(165deg, 
            var(--ashghal-primary-dark) 0%, 
            #4a8a3a 50%,
            #3d7030 100%);
    position: relative;
    overflow: hidden;
}

.ashghal-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 60% 50% at 30% 50%, rgba(255,255,255,0.1) 0%, transparent 60%);
    pointer-events: none;
}

/* Phone Mockup Glow */
.ashghal-cta::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 60%);
    transform: translateY(-50%);
    pointer-events: none;
}

.ashghal-cta-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: var(--ashghal-space-16);
    align-items: center;
}

.ashghal-cta-content {
    color: var(--ashghal-white);
}

.ashghal-cta-label {
    display: inline-flex;
    align-items: center;
    gap: var(--ashghal-space-2);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    padding: var(--ashghal-space-3) var(--ashghal-space-5);
    border-radius: var(--ashghal-radius-full);
    font-size: var(--ashghal-text-sm);
    font-weight: 600;
    margin-bottom: var(--ashghal-space-6);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.ashghal-cta-title {
    font-family: var(--ashghal-font-display);
    font-size: var(--ashghal-text-4xl);
    font-weight: 800;
    margin: 0 0 var(--ashghal-space-5);
    line-height: 1.15;
}

.ashghal-cta-desc {
    font-size: var(--ashghal-text-lg);
    margin: 0;
    opacity: 0.9;
    line-height: 1.85;
    max-width: 520px;
}

.ashghal-cta-apps {
    display: flex;
    flex-direction: column;
    gap: var(--ashghal-space-5);
}

.ashghal-app-badge {
    transition: all var(--ashghal-transition-smooth);
    display: block;
    border-radius: var(--ashghal-radius-lg);
    overflow: hidden;
}

.ashghal-app-badge:hover {
    transform: scale(1.06) translateY(-2px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.2);
}

.ashghal-app-badge img {
    height: 56px;
    display: block;
}

/* ========== WIDGET CATEGORIES ========== */
.ashghal-widget {
    padding: var(--ashghal-space-20) 0;
}

.ashghal-widget.alt-bg {
    background: var(--ashghal-gray-50);
}

.ashghal-widget-head {
    text-align: center;
    margin-bottom: var(--ashghal-space-12);
}

.ashghal-widget-title {
    font-family: var(--ashghal-font-display);
    font-size: var(--ashghal-text-3xl);
    font-weight: 800;
    color: var(--ashghal-gray-900);
    margin: 0 0 var(--ashghal-space-3);
}

.ashghal-widget-desc {
    font-size: var(--ashghal-text-base);
    color: var(--ashghal-gray-600);
    margin: 0 0 var(--ashghal-space-5);
}

.ashghal-widget-link {
    display: inline-flex;
    align-items: center;
    gap: var(--ashghal-space-2);
    color: var(--ashghal-primary);
    font-weight: 700;
    text-decoration: none;
    transition: all var(--ashghal-transition-fast);
}

.ashghal-widget-link:hover {
    gap: var(--ashghal-space-3);
}

.ashghal-widget-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: var(--ashghal-space-5);
}

/* ========== ANIMATIONS ========== */
@keyframes ashghalFadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes ashghalFadeSlideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes ashghalFadeSlideRight {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes ashghalOrbFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(30px, -30px) scale(1.05);
    }
    50% {
        transform: translate(0, -50px) scale(1);
    }
    75% {
        transform: translate(-30px, -30px) scale(0.95);
    }
}

@keyframes ashghalShapeFloat {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(20px, -40px) rotate(5deg);
    }
    50% {
        transform: translate(-10px, -60px) rotate(-5deg);
    }
    75% {
        transform: translate(-30px, -30px) rotate(3deg);
    }
}

@keyframes ashghalCardFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes ashghalParticles {
    0% {
        background-position: 0 0, 0 0, 0 0;
    }
    100% {
        background-position: 100px 100px, 150px 150px, 80px 80px;
    }
}

@keyframes ashghalRotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes ashghalSpin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* ========== RESPONSIVE DESIGN ========== */

/* Large Tablet */
@media (max-width: 1200px) {
    .ashghal-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ashghal-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablet */
@media (max-width: 1024px) {
    .ashghal-hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--ashghal-space-12);
    }
    
    .ashghal-hero-desc {
        margin-left: auto;
        margin-right: auto;
    }
    
    .ashghal-hero-actions {
        justify-content: center;
    }
    
    .ashghal-hero-metrics {
        justify-content: center;
    }
    
    .ashghal-hero-visual {
        display: none;
    }
    
    .ashghal-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ashghal-testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .ashghal-cta-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .ashghal-cta-apps {
        flex-direction: row;
        justify-content: center;
    }
    
    .ashghal-cta-desc {
        margin-left: auto;
        margin-right: auto;
    }
}

/* Mobile */
@media (max-width: 640px) {
    .ashghal-container {
        padding: 0 var(--ashghal-space-5);
    }
    
    .ashghal-hero {
        min-height: auto;
        padding: var(--ashghal-space-20) 0 var(--ashghal-space-16);
    }
    
    .ashghal-hero-inner {
        padding: var(--ashghal-space-8) 0;
    }
    
    .ashghal-hero-actions {
        flex-direction: column;
    }
    
    .ashghal-hero-metrics {
        flex-direction: column;
        gap: var(--ashghal-space-5);
    }
    
    .ashghal-metric {
        padding-left: 0;
    }
    
    .ashghal-metric:not(:last-child)::after {
        display: none;
    }
    
    .ashghal-services-grid,
    .ashghal-benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .ashghal-category-list {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ashghal-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--ashghal-space-4);
    }
    
    .ashghal-stat-card {
        padding: var(--ashghal-space-5);
    }
    
    .ashghal-cta-apps {
        flex-direction: column;
        align-items: center;
    }
    
    .ashghal-services,
    .ashghal-categories,
    .ashghal-benefits,
    .ashghal-testimonials,
    .ashghal-cta {
        padding: var(--ashghal-space-20) 0;
    }
    
    .ashghal-stats {
        padding: var(--ashghal-space-16) 0;
    }
    
    .ashghal-section-header {
        margin-bottom: var(--ashghal-space-12);
    }
    
    .ashghal-widget {
        padding: var(--ashghal-space-16) 0;
    }
    
    .ashghal-widget-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus States */
.ashghal-btn:focus-visible,
.ashghal-service-link:focus-visible,
.ashghal-category-item:focus-visible,
.ashghal-widget-link:focus-visible {
    outline: 3px solid var(--ashghal-primary);
    outline-offset: 4px;
}

/* Print Styles */
@media print {
    .ashghal-hero,
    .ashghal-stats,
    .ashghal-cta {
        background: var(--ashghal-white) !important;
        color: var(--ashghal-gray-900) !important;
    }
    
    .ashghal-hero-shapes,
    .ashghal-hero-pattern {
        display: none;
    }
}

/* ============================================
   PREMIUM HEADER NAVIGATION
   ============================================ */

.ashghal-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all var(--ashghal-transition-smooth);
}

.ashghal-header-inner {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all var(--ashghal-transition-smooth);
}

.ashghal-header.scrolled .ashghal-header-inner {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

.ashghal-header.transparent .ashghal-header-inner {
    background: transparent;
    border-bottom-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.ashghal-header.transparent.scrolled .ashghal-header-inner {
    background: rgba(255, 255, 255, 0.98);
    border-bottom-color: rgba(0, 0, 0, 0.05);
}

.ashghal-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--ashghal-space-4) 0;
    max-width: 1320px;
    margin: 0 auto;
    padding-left: var(--ashghal-space-6);
    padding-right: var(--ashghal-space-6);
}

/* Logo */
.ashghal-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: var(--ashghal-space-3);
    transition: all var(--ashghal-transition-fast);
}

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

.ashghal-logo img {
    height: 44px;
    width: auto;
    transition: all var(--ashghal-transition-fast);
}

.ashghal-header.scrolled .ashghal-logo img {
    height: 38px;
}

/* Navigation Menu */
.ashghal-nav-menu {
    display: flex;
    align-items: center;
    gap: var(--ashghal-space-1);
    list-style: none;
    margin: 0;
    padding: 0;
}

.ashghal-nav-item {
    position: relative;
}

.ashghal-nav-link {
    display: flex;
    align-items: center;
    gap: var(--ashghal-space-2);
    padding: var(--ashghal-space-3) var(--ashghal-space-5);
    font-size: var(--ashghal-text-base);
    font-weight: 600;
    color: var(--ashghal-gray-700);
    text-decoration: none;
    border-radius: var(--ashghal-radius-lg);
    transition: all var(--ashghal-transition-fast);
    position: relative;
}

.ashghal-nav-link::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--ashghal-primary), var(--ashghal-primary-light));
    border-radius: var(--ashghal-radius-full);
    transition: width var(--ashghal-transition-fast);
}

.ashghal-nav-link:hover {
    color: var(--ashghal-primary);
    background: var(--ashghal-primary-subtle);
}

.ashghal-nav-link:hover::after,
.ashghal-nav-link.active::after {
    width: 20px;
}

.ashghal-nav-link.active {
    color: var(--ashghal-primary);
}

/* Transparent header nav links */
.ashghal-header.transparent .ashghal-nav-link {
    color: var(--ashghal-white);
}

.ashghal-header.transparent .ashghal-nav-link:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--ashghal-white);
}

.ashghal-header.transparent.scrolled .ashghal-nav-link {
    color: var(--ashghal-gray-700);
}

.ashghal-header.transparent.scrolled .ashghal-nav-link:hover {
    background: var(--ashghal-primary-subtle);
    color: var(--ashghal-primary);
}

/* Dropdown Menu */
.ashghal-nav-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 240px;
    background: var(--ashghal-white);
    border-radius: var(--ashghal-radius-xl);
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.12),
        0 0 0 1px rgba(0, 0, 0, 0.04);
    padding: var(--ashghal-space-3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--ashghal-transition-base);
    z-index: 100;
}

.ashghal-nav-item:hover .ashghal-nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.ashghal-dropdown-item {
    display: flex;
    align-items: center;
    gap: var(--ashghal-space-3);
    padding: var(--ashghal-space-3) var(--ashghal-space-4);
    font-size: var(--ashghal-text-sm);
    font-weight: 500;
    color: var(--ashghal-gray-700);
    text-decoration: none;
    border-radius: var(--ashghal-radius-md);
    transition: all var(--ashghal-transition-fast);
}

.ashghal-dropdown-item:hover {
    background: var(--ashghal-primary-subtle);
    color: var(--ashghal-primary);
    padding-right: var(--ashghal-space-5);
}

.ashghal-dropdown-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ashghal-gray-100);
    border-radius: var(--ashghal-radius-md);
    color: var(--ashghal-primary);
    font-size: var(--ashghal-text-base);
    transition: all var(--ashghal-transition-fast);
}

.ashghal-dropdown-item:hover .ashghal-dropdown-icon {
    background: var(--ashghal-primary);
    color: var(--ashghal-white);
}

/* Auth Buttons */
.ashghal-nav-auth {
    display: flex;
    align-items: center;
    gap: var(--ashghal-space-3);
}

.ashghal-btn-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--ashghal-space-2);
    padding: var(--ashghal-space-3) var(--ashghal-space-6);
    font-size: var(--ashghal-text-sm);
    font-weight: 700;
    text-decoration: none;
    border-radius: var(--ashghal-radius-full);
    transition: all var(--ashghal-transition-base);
    border: 2px solid transparent;
    cursor: pointer;
    white-space: nowrap;
}

.ashghal-btn-nav-outline {
    background: transparent;
    color: var(--ashghal-primary);
    border-color: var(--ashghal-primary);
}

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

.ashghal-btn-nav-solid {
    background: linear-gradient(135deg, var(--ashghal-primary), var(--ashghal-primary-dark));
    color: var(--ashghal-white);
    box-shadow: var(--ashghal-shadow-sm);
}

.ashghal-btn-nav-solid:hover {
    transform: translateY(-2px);
    box-shadow: var(--ashghal-shadow-primary);
}

/* Transparent header buttons */
.ashghal-header.transparent .ashghal-btn-nav-outline {
    color: var(--ashghal-white);
    border-color: rgba(255, 255, 255, 0.5);
}

.ashghal-header.transparent .ashghal-btn-nav-outline:hover {
    background: var(--ashghal-white);
    color: var(--ashghal-primary);
    border-color: var(--ashghal-white);
}

.ashghal-header.transparent.scrolled .ashghal-btn-nav-outline {
    color: var(--ashghal-primary);
    border-color: var(--ashghal-primary);
}

.ashghal-header.transparent.scrolled .ashghal-btn-nav-outline:hover {
    background: var(--ashghal-primary);
    color: var(--ashghal-white);
}

/* User Dropdown */
.ashghal-user-menu {
    position: relative;
}

.ashghal-user-btn {
    display: flex;
    align-items: center;
    gap: var(--ashghal-space-3);
    padding: var(--ashghal-space-2) var(--ashghal-space-4);
    background: var(--ashghal-gray-100);
    border-radius: var(--ashghal-radius-full);
    border: none;
    cursor: pointer;
    transition: all var(--ashghal-transition-fast);
}

.ashghal-user-btn:hover {
    background: var(--ashghal-gray-200);
}

.ashghal-user-avatar {
    width: 36px;
    height: 36px;
    border-radius: var(--ashghal-radius-full);
    background: linear-gradient(135deg, var(--ashghal-primary), var(--ashghal-primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ashghal-white);
    font-weight: 700;
    font-size: var(--ashghal-text-sm);
}

.ashghal-user-name {
    font-size: var(--ashghal-text-sm);
    font-weight: 600;
    color: var(--ashghal-gray-800);
}

.ashghal-user-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 200px;
    background: var(--ashghal-white);
    border-radius: var(--ashghal-radius-xl);
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.12),
        0 0 0 1px rgba(0, 0, 0, 0.04);
    padding: var(--ashghal-space-3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--ashghal-transition-base);
}

.ashghal-user-menu:hover .ashghal-user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.ashghal-user-dropdown-item {
    display: flex;
    align-items: center;
    gap: var(--ashghal-space-3);
    padding: var(--ashghal-space-3) var(--ashghal-space-4);
    font-size: var(--ashghal-text-sm);
    font-weight: 500;
    color: var(--ashghal-gray-700);
    text-decoration: none;
    border-radius: var(--ashghal-radius-md);
    transition: all var(--ashghal-transition-fast);
}

.ashghal-user-dropdown-item:hover {
    background: var(--ashghal-gray-100);
    color: var(--ashghal-gray-900);
}

.ashghal-user-dropdown-item.danger {
    color: #ef4444;
}

.ashghal-user-dropdown-item.danger:hover {
    background: rgba(239, 68, 68, 0.1);
}

.ashghal-user-dropdown-divider {
    height: 1px;
    background: var(--ashghal-gray-200);
    margin: var(--ashghal-space-2) 0;
}

/* Mobile Close Button - Desktop Hidden */
.ashghal-mobile-close {
    display: none;
}

/* Navigation Center - Desktop Layout */
.ashghal-nav-center {
    display: flex;
    align-items: center;
    gap: var(--ashghal-space-8);
}

/* Mobile Menu Toggle */
.ashghal-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    background: var(--ashghal-gray-100);
    border: none;
    border-radius: var(--ashghal-radius-lg);
    cursor: pointer;
    position: relative;
    transition: all var(--ashghal-transition-fast);
}

.ashghal-menu-toggle:hover {
    background: var(--ashghal-gray-200);
}

.ashghal-header.transparent .ashghal-menu-toggle {
    background: rgba(255, 255, 255, 0.15);
}

.ashghal-header.transparent .ashghal-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.25);
}

.ashghal-menu-toggle span {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--ashghal-gray-700);
    border-radius: var(--ashghal-radius-full);
    transition: all var(--ashghal-transition-fast);
}

.ashghal-header.transparent .ashghal-menu-toggle span {
    background: var(--ashghal-white);
}

.ashghal-header.transparent.scrolled .ashghal-menu-toggle span {
    background: var(--ashghal-gray-700);
}

.ashghal-menu-toggle span:nth-child(1) {
    top: 14px;
}

.ashghal-menu-toggle span:nth-child(2) {
    top: 21px;
}

.ashghal-menu-toggle span:nth-child(3) {
    top: 28px;
}

.ashghal-menu-toggle.active span:nth-child(1) {
    top: 21px;
    transform: translateX(-50%) rotate(45deg);
}

.ashghal-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.ashghal-menu-toggle.active span:nth-child(3) {
    top: 21px;
    transform: translateX(-50%) rotate(-45deg);
}

/* Mobile Navigation */
@media (max-width: 1024px) {
    .ashghal-menu-toggle {
        display: block;
    }
    
    .ashghal-mobile-close {
        display: flex;
    }
    
    .ashghal-nav-center {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 360px;
        height: 100vh;
        background: var(--ashghal-white);
        flex-direction: column;
        align-items: stretch;
        padding: var(--ashghal-space-24) var(--ashghal-space-6) var(--ashghal-space-6);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
        transition: right var(--ashghal-transition-smooth);
        overflow-y: auto;
        z-index: 1001;
    }
    
    .ashghal-nav-center.open {
        right: 0;
    }
    
    .ashghal-nav-menu {
        flex-direction: column;
        align-items: stretch;
        gap: var(--ashghal-space-1);
    }
    
    .ashghal-nav-link {
        padding: var(--ashghal-space-4) var(--ashghal-space-4);
        font-size: var(--ashghal-text-lg);
        border-radius: var(--ashghal-radius-lg);
        color: var(--ashghal-gray-800) !important;
    }
    
    .ashghal-nav-link::after {
        display: none;
    }
    
    .ashghal-nav-link:hover,
    .ashghal-nav-link.active {
        background: var(--ashghal-primary-subtle);
        color: var(--ashghal-primary) !important;
    }
    
    .ashghal-nav-dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--ashghal-gray-50);
        border-radius: var(--ashghal-radius-lg);
        margin-top: var(--ashghal-space-2);
        padding: var(--ashghal-space-2);
        max-height: 0;
        overflow: hidden;
        transition: all var(--ashghal-transition-base);
    }
    
    .ashghal-nav-item.open .ashghal-nav-dropdown {
        max-height: 500px;
        padding: var(--ashghal-space-3);
    }
    
    .ashghal-nav-auth {
        flex-direction: column;
        margin-top: var(--ashghal-space-6);
        padding-top: var(--ashghal-space-6);
        border-top: 1px solid var(--ashghal-gray-200);
    }
    
    .ashghal-btn-nav {
        width: 100%;
        justify-content: center;
        padding: var(--ashghal-space-4) var(--ashghal-space-6);
    }
    
    /* Mobile menu overlay */
    .ashghal-nav-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: all var(--ashghal-transition-base);
        z-index: 1000;
    }
    
    .ashghal-nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    /* Mobile close button */
    .ashghal-mobile-close {
        position: absolute;
        top: var(--ashghal-space-5);
        left: var(--ashghal-space-5);
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--ashghal-gray-100);
        border: none;
        border-radius: var(--ashghal-radius-full);
        cursor: pointer;
        font-size: var(--ashghal-text-xl);
        color: var(--ashghal-gray-600);
        transition: all var(--ashghal-transition-fast);
    }
    
    .ashghal-mobile-close:hover {
        background: var(--ashghal-gray-200);
        color: var(--ashghal-gray-900);
    }
}

/* Header spacing for fixed header */
.ashghal-header-spacer {
    height: 76px;
}

@media (max-width: 1024px) {
    .ashghal-header-spacer {
        height: 68px;
    }
}

/* Hide spacer when header is transparent */
.ashghal-header.transparent + .ashghal-header-spacer {
    display: none;
}
