/* CSS Document */
   /* تعريف متغيرات الألوان الجديدة */
        :root {
            --color-wine: #722F37;       /* عنبي */
            --color-gold: #C5A059;       /* ذهبي */
            --color-gold-light: #F9F1D8; /* ذهبي فاتح جداً للأيقونات */
            --color-grey-dark: #2D3748;  /* رمادي غامق للنصوص */
            --color-grey-light: #EDF2F7; /* رمادي فاتح للخلفيات */
            --glass-bg: rgba(255, 255, 255, 0.65); /* خلفية الزجاج */
            --glass-border: rgba(255, 255, 255, 0.8);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Cairo', sans-serif;
            /* خلفية متدرجة فاتحة جداً (كريمي مع لمسة خمري خفيفة) */
            background: linear-gradient(135deg, #fdfbf7 0%, #f2e6e8 100%);
            min-height: 100vh;
            color: var(--color-grey-dark);
            display: flex;
            flex-direction: column;
        }

        /* --- تصميم الهيدر والفوتر الزجاجي الفاتح --- */
        .glass-header-footer {
            /* تدرج زجاجي فاتح يمزج بين الذهبي والخمري */
            background: linear-gradient(135deg, rgba(245, 235, 220, 0.85) 0%, rgba(232, 213, 213, 0.85) 100%);
            backdrop-filter: blur(15px);
            -webkit-backdrop-filter: blur(15px);
            border-bottom: 1px solid rgba(255, 255, 255, 0.6);
            box-shadow: 0 4px 20px rgba(114, 47, 55, 0.05);
            padding: 15px 20px;
            position: relative;
            z-index: 10;
        }

        .header-content {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 20px;
            flex-wrap: wrap;
        }

        .logo-img {
            height: 65px;
            width: auto;
            transition: transform 0.3s;
            filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
        }

        .logo-img:hover {
            transform: scale(1.05);
        }

        .header-title h1 {
            font-size: 1.9rem;
            color: var(--color-wine); /* عنوان بلون العنبي */
            font-weight: 800;
            margin: 0;
            text-shadow: 0 1px 2px rgba(255,255,255,0.8);
        }

        .header-title p {
            font-size: 1rem;
            color: var(--color-grey-dark); /* وصف بلون الرمادي */
            margin: 0;
            opacity: 0.8;
        }

        /* --- المحتوى الرئيسي --- */
        .main-container {
            flex: 1;
            width: 100%;
            max-width: 1600px;
            margin: 0 auto;
            padding: 30px 20px;
            display: flex;
            flex-direction: column;
            gap: 30px;
        }

        /* --- بانر الإنترنت --- */
        .banner-container {
            width: 100%;
            background: var(--glass-bg);
            border: 1px solid var(--glass-border);
            border-radius: 20px;
            overflow: hidden;
            position: relative;
            box-shadow: 0 10px 25px rgba(114, 47, 55, 0.08);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        
        .banner-container:hover {
            transform: translateY(-2px);
            box-shadow: 0 15px 35px rgba(114, 47, 55, 0.12);
        }

        .banner-link {
            display: block;
            width: 100%;
            position: relative;
            cursor: pointer;
        }

        .banner-img {
            width: 100%;
            height: auto;
            display: block;
            max-height: 110px;
            object-fit: cover;
            object-position: center top;
        }

        /* --- الروابط السريعة --- */
        .quick-links-bar {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 40px;
            padding: 15px;
            background: rgba(255,255,255,0.4);
            border-radius: 15px;
            border: 1px solid rgba(255,255,255,0.6);

        }

        .quick-link-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-decoration: none;
            color: var(--color-wine);
            transition: all 0.3s;
            font-weight: 600;
        }

        .quick-link-item:hover {
            color: var(--color-gold);
            transform: translateY(-3px);
        }

        .quick-icon {
            font-size: 1.8rem;
            margin-bottom: 8px;
            background: #fff;
            width: 55px;
            height: 55px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            box-shadow: 0 4px 15px rgba(0,0,0,0.05);
            color: var(--color-wine);
        }

        /* --- محرك البحث --- */
        .search-section {
            width: 100%;
            display: flex;
            justify-content: center;
            padding: 0 20px;
        }

        .search-box-wrapper {
            position: relative;
            width: 100%;
            max-width: 800px;
        }

        .search-input {
            width: 100%;
            padding: 18px 60px 18px 25px;
            font-size: 1.1rem;
            font-family: 'Cairo', sans-serif;
            background: rgba(255, 255, 255, 0.8); /* خلفية بيضاء شفافة */
            border: 2px solid rgba(197, 160, 89, 0.3); /* حدود ذهبية خفيفة */
            border-radius: 50px;
            color: var(--color-grey-dark);
            transition: all 0.3s ease;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
        }

        .search-input::placeholder {
            color: #999;
        }

        .search-input:focus {
            outline: none;
            background: #fff;
            border-color: var(--color-gold);
            box-shadow: 0 0 0 4px rgba(197, 160, 89, 0.1);
        }

        .search-icon {
            position: absolute;
            right: 25px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--color-gold);
            font-size: 1.4rem;
            pointer-events: none;
        }

        /* --- شبكة الخدمات (Glassmorphism Cards) --- */
        .services-grid {
            display: grid;
            grid-template-columns: repeat(5, 1fr); 
            gap: 25px;
            width: 100%;
        }

        .service-card {
            /* تصميم البطاقة الزجاجي */
            background: var(--glass-bg);
            border: 1px solid rgba(255, 255, 255, 0.9);
            border-radius: 20px;
            padding: 30px 20px;
            text-align: center;
            text-decoration: none;
            color: var(--color-grey-dark);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: flex-start;
            transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
            height: 100%;
            position: relative;
            overflow: hidden;
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            box-shadow: 0 8px 32px 0 rgba(114, 47, 55, 0.05);
        }

        .service-card:hover {
            transform: translateY(-10px);
            background: rgba(255, 255, 255, 0.85);
            border-color: var(--color-gold);
            box-shadow: 0 15px 40px rgba(114, 47, 55, 0.15);
        }

        /* --- الأيقونات (التصميم الأصلي للـ SVG) --- */
        .icon-box {
            width: 90px;
            height: 90px;
            /* خلفية ثابتة: تدرج ذهبي فاتح */
            background: linear-gradient(135deg, #fdfbf1, #e6d5b8);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 20px;
            border: 2px solid rgba(197, 160, 89, 0.2); /* إطار ذهبي خفيف */
            box-shadow: inset 0 2px 5px rgba(255,255,255,0.5), 0 5px 15px rgba(197, 160, 89, 0.15);
        }

        /* --- تعديل جديد: الأيقونات من نوع صورة (بدون دائرة، كبيرة) --- */
        .icon-box.no-bg {
            background: transparent;
            border: none;
            box-shadow: none;
            width: 120px; /* حجم أكبر */
            height: 120px;
        }
        
        /* الصورة داخل الصندوق الشفاف */
        .icon-box.no-bg img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            /* ظل خفيف جداً للصورة لبروزها */
            filter: drop-shadow(0 5px 10px rgba(0,0,0,0.1)); 
            transition: transform 0.3s;
        }

        .service-card:hover .icon-box.no-bg img {
            transform: scale(1.05);
        }

        /* تنسيق SVG داخل الدائرة */
        .icon-box svg {
            width: 50px;
            height: 50px;
            fill: var(--color-wine); /* الأيقونة بلون العنبي */
        }

        .service-title {
            font-size: 1.1rem;
            font-weight: 700;
            margin-bottom: 10px;
            line-height: 1.4;
            color: var(--color-grey-dark);
        }

        .service-desc {
            font-size: 0.85rem;
            color: #666; /* رمادي متوسط للوصف */
            line-height: 1.5;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .loading-spinner {
            grid-column: 1 / -1;
            text-align: center;
            padding: 50px;
            font-size: 1.2rem;
            color: var(--color-wine);
        }

        .footer-content {
            text-align: center;
            color: var(--color-grey-dark);
        }

        .footer-content p {
            margin: 5px 0;
            font-size: 0.9rem;
        }

        /* --- استجابة الشاشات --- */
        @media (max-width: 1300px) {
            .services-grid { grid-template-columns: repeat(3, 1fr); }
        }

        @media (max-width: 900px) {
            .services-grid { grid-template-columns: repeat(2, 1fr); }
            .icon-box { width: 80px; height: 80px; }
            .icon-box svg { width: 45px; height: 45px; }
            .icon-box.no-bg { width: 100px; height: 100px; } /* تصغير الصورة في الشاشات المتوسطة */
        }

        @media (max-width: 768px) {
            .header-title h1 { font-size: 1.5rem; }
            .services-grid { grid-template-columns: repeat(2, 1fr); }
            .search-input { font-size: 1rem; padding: 15px 50px 15px 20px; }
            .banner-img { max-height: 80px; }
            .icon-box { width: 70px; height: 70px; }
            .icon-box svg { width: 40px; height: 40px; }
            .icon-box.no-bg { width: 90px; height: 90px; } /* تصغير الصورة في الموبايل */
        }

        @media (max-width: 480px) {
            .services-grid { grid-template-columns: 1fr; }
            .header-content { flex-direction: column; gap: 10px; }
            .logo-img { height: 50px; }
        }

