/* =============================================================
   لوحة ألوان PROTEK الموحدة (Variables)
   ============================================================= */
:root {
    --background: #F7F3F3;
    --foreground: #1C1F21;
    --card: #FFFFFF;
    --primary: #34819A;
    --primary-foreground: #FFFFFF;
    --secondary: #C8E6EC;
    --accent: #CB7E65;
    --muted: #EFE9E3;
    --muted-foreground: #5C6668;
    --border: #CBDEE4;
    
    /* ألوان إضافية مشتقة للهوية */
    --primary-dark: #2a5969;
}

/* =============================================================
   1. إخفاء الهيدر والفوتر الأصلي لمتجر سلة
   ============================================================= */
header.store-header, 
.top-navbar, 
#mainnav, 
.s-design-before--header,
.store-footer, 
.s-design-before--footer, 
.s-design-after--footer {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
}

/* =============================================================
   2. الهيدر الجديد المخصص (Protek Deep Fusion Header)
   ============================================================= */
.custom-header-fixed {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background-color: var(--primary-dark) !important; /* اللون فوق السلايدر */
    min-height: 90px !important;
    padding: 10px 0 !important;
    z-index: 99999 !important;
    display: flex !important;
    align-items: center !important;
    box-shadow: none !important;
    transition: all 0.4s ease-in-out !important;
}

/* تأثير التدريجة الغامقة والعميقة (تختفي عند السكرول) */
/* تأثير التدريجة - تم رفعها وتقليل انتشارها */
.custom-header-fixed::after {
    content: '' !important;
    position: absolute !important;
    bottom: -40px !important; /* تم رفعه من -70 إلى -40 بكسل */
    left: 0 !important;
    width: 100% !important;
    height: 40px !important; /* تم تقليل الارتفاع من 70 إلى 40 بكسل */
    background: linear-gradient(to bottom, 
        rgba(42, 89, 105, 1) 0%, 
        rgba(42, 89, 105, 0.6) 40%, /* تقليل الكثافة تدريجياً */
        transparent 100%) !important;
    pointer-events: none !important;
    transition: opacity 0.4s ease !important;
}

/* --- الحالة عند التمرير (Scrolled State) --- */
.custom-header-fixed.scrolled {
    background-color: var(--card) !important; /* خلفية بيضاء بعد السكرول */
    min-height: 75px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
}

.custom-header-fixed.scrolled::after {
    opacity: 0 !important;
}

/* تعديل ألوان المحتويات عند السكرول لتناسب الخلفية البيضاء */
.custom-header-fixed.scrolled .logo-text,
.custom-header-fixed.scrolled .custom-nav-links a,
.custom-header-fixed.scrolled .s-cart-summary-wrapper {
    color: var(--primary-dark) !important;
}

/* الهيكل الداخلي للهيدر */
.custom-header-fixed .container {
    width: 100% !important;
    max-width: 1300px !important;
    margin: 0 auto !important;
    padding: 0 5% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
}

.logo-wrapper {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    text-decoration: none !important;
    flex-shrink: 0 !important;
}

.custom-header-fixed img {
    max-height: 55px !important;
    width: auto !important;
    transition: filter 0.3s ease;
}

.logo-text {
    font-family: 'Cairo', sans-serif !important;
    font-size: clamp(18px, 4vw, 24px) !important;
    font-weight: 900 !important;
    color: var(--primary-foreground) !important;
    text-transform: uppercase !important;
    transition: color 0.4s ease;
}

.custom-nav-links {
    display: flex !important;
    gap: clamp(10px, 2vw, 30px) !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.custom-nav-links a {
    font-family: 'Cairo', sans-serif !important;
    font-weight: 700 !important;
    color: var(--primary-foreground) !important;
    text-decoration: none !important;
    font-size: 14px !important;
    white-space: nowrap !important;
    transition: color 0.4s ease;
}

.custom-nav-links a:hover {
    color: var(--secondary) !important;
}

.s-cart-summary-wrapper {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    color: var(--primary-foreground) !important;
    transition: color 0.4s ease;
}

/* جعل السلايدر خلف الهيدر */
body {
    padding-top: 0 !important;
}

@media (max-width: 991px) {
    .custom-nav-links { display: none !important; }
}

/* =============================================================
  تصميم قسم من نحن (About Section)
   ============================================================= */
/* تنسيق القسم الرئيسي */
.about-section {
    padding-top: 5rem;    /* py-20 */
    padding-bottom: 5rem;
    background-color: rgba(239, 233, 227, 0.3); /* bg-muted/30 بناءً على متغيرات PROTEK */
}

@media (min-width: 768px) {
    .about-section {
        padding-top: 7rem; /* md:py-28 */
        padding-bottom: 7rem;
    }
}

/* الحاوية وتأثير الظهور (Scroll Reveal) */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    transition: all 0.7s ease-out; /* transition-all duration-700 */
    
    /* الحالة الافتراضية قبل الظهور (Visible State) */
    opacity: 1; 
    transform: translateY(0);
}

/* إذا أردت تفعيل تأثير الحركة يدوياً أضف هذا الكلاس */
.section-container.hidden {
    opacity: 0;
    transform: translateY(2rem); /* translate-y-8 */
}

/* النصوص */
.text-center {
    text-align: center;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #1C1F21; /* foreground */
}

.section-subtitle {
    font-size: 1.125rem;
    line-height: 1.75;
    color: #5C6668; /* muted-foreground */
    max-width: 42rem; /* max-w-2xl */
    margin-left: auto;
    margin-right: auto;
}

/* =============================================================
   3. تصميم قسم براءة الاختراع (Patent Section)
   ============================================================= */
.patent-section {
    direction: rtl;
    font-family: 'Cairo', sans-serif;
    padding: 120px 20px 80px; 
    background: linear-gradient(135deg, var(--background) 0%, var(--card) 50%, var(--muted) 100%);
    position: relative;
    overflow: hidden;
}

.patent-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.patent-image-wrapper {
    position: relative;
    cursor: pointer;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    background: var(--card);
    transition: transform 0.4s ease;
}

.patent-image-wrapper:hover { transform: scale(1.02); }
.patent-image-wrapper img { width: 100%; display: block; }

.patent-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--secondary);
    color: var(--primary-dark);
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 20px;
}

.patent-content h2 {
    font-size: clamp(24px, 5vw, 36px);
    font-weight: 800;
    color: var(--foreground);
    line-height: 1.2;
    margin-bottom: 20px;
}

.patent-content h2 span { color: var(--primary); }

.patent-highlight {
    background: linear-gradient(to left, rgba(52, 129, 154, 0.1), rgba(52, 129, 154, 0.05));
    border-right: 4px solid var(--primary);
    padding: 20px;
    border-radius: 12px;
    margin: 30px 0;
}

.btn-zoom {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--primary);
    color: var(--primary-foreground) !important;
    padding: 12px 25px;
    border-radius: 12px;
    text-decoration: none !important;
    font-weight: 600;
    transition: 0.3s;
}

.btn-zoom:hover {
    background-color: var(--primary-dark);
}
/* =============================================================
   (Products Section) - PROTEK Official Style
   ============================================================= */

:root {
    --primary-color: #34819A;
    --primary-hover: #2a6a7f;
    --accent-color: #D97706;
    --text-dark: #1C1F21;
    --text-muted: #5C6668;
    --bg-light: #F9FAFB;
    --border-color: rgba(203, 222, 228, 0.5);
    --card-bg: #FFFFFF;
}

/* --- إعدادات القسم العامة --- */
.products-section {
    padding: 80px 20px;
    direction: rtl;
    font-family: 'Cairo', sans-serif;
    background-color: transparent;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.text-center { text-align: center; }
.mb-16 { margin-bottom: 4rem; }

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* --- شبكة المنتجات (Grid) --- */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

/* --- تصميم الكارت (Card) --- */
.product-card {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(52, 129, 154, 0.12);
    border-color: var(--primary-color);
}

/* --- منطقة الصورة --- */
.product-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background-color: #f5f5f5;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.product-image-wrapper a {
    display: block;
    width: 100%;
    height: 100%;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.product-card:hover .product-img {
    transform: scale(1.1);
}

/* --- محتوى الكارت --- */
.product-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-title { margin-bottom: 10px; }

.product-title a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 1.35rem;
    font-weight: 800;
    transition: color 0.3s;
}

.product-title a:hover { color: var(--primary-color); }

.product-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
    height: 48px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* --- الأسعار --- */
.price-container {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
}

.current-price {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--accent-color);
}

.old-price {
    font-size: 1rem;
    text-decoration: line-through;
    color: #94a3b8;
    font-weight: 500;
}

/* --- الأزرار --- */
.product-actions {
    display: flex;
    gap: 12px;
    margin-top: auto;
}

/* زر التفاصيل الشفاف */
.btn-details {
    flex: 1;
    padding: 12px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.9rem;
    text-align: center;
    text-decoration: none;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
}

.btn-details:hover {
    background-color: rgba(52, 129, 154, 0.05);
}

/* =============================================================
   تخصيص أزرار سلة (Salla Buttons Customization)
   ============================================================= */

/* توحيد تصميم زر سلة والمكونات التابعة له */
salla-add-product-button.btn-add-to-cart,
.s-button-element, 
.salla-add-product-button button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 50px !important;
    padding: 0.75rem 1.5rem !important;
    background-color: var(--primary-color) !important;
    color: #ffffff !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    border: none !important;
    cursor: pointer !important;
    position: relative !important;
    overflow: hidden !important;
    z-index: 1 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 4px 15px rgba(52, 129, 154, 0.2) !important;
}

/* تأثيرات التمرير (Hover) */
salla-add-product-button.btn-add-to-cart:hover,
.s-button-element:hover, 
.salla-add-product-button button:hover {
    background-color: var(--primary-hover) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(52, 129, 154, 0.3) !important;
    filter: brightness(1.1) !important;
}

/* تأثيرات الضغط (Active) */
salla-add-product-button.btn-add-to-cart:active,
.s-button-element:active, 
.salla-add-product-button button:active {
    transform: translateY(0) scale(0.96) !important;
}

/* لمعة الفخامة المتحركة */
salla-add-product-button.btn-add-to-cart::after,
.s-button-element::after, 
.salla-add-product-button button::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: all 0.6s ease;
    z-index: -1;
}

salla-add-product-button.btn-add-to-cart:hover::after,
.s-button-element:hover::after, 
.salla-add-product-button button:hover::after {
    left: 100%;
}

/* حالة نفاذ الكمية */
.s-button-loader.disabled,
.salla-add-product-button button:disabled {
    background-color: #cbd5e1 !important;
    color: #94a3b8 !important;
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: none !important;
}

/* إزالة أي تحديد خارجي */
.btn-add-to-cart:focus, button:focus { outline: none !important; }

/* --- تحسينات الشاشات الصغيرة --- */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
        padding: 0 10px;
    }
    
    .section-title {
        font-size: 1.75rem;
    }

    .product-card:hover {
        transform: translateY(-5px); /* تقليل الحركة على الجوال */
    }
}
/* =============================================================
    (FAQs Section)
   ============================================================= */
/* تنسيق القسم */
.faq-section {
    padding: 5rem 1.25rem; /* py-20 */
    background-color: rgba(239, 233, 227, 0.3); /* bg-muted/30 */
    direction: rtl;
    font-family: 'Cairo', sans-serif;
}

@media (min-width: 768px) {
    .faq-section {
        padding: 7rem 1.25rem; /* md:py-28 */
    }
}

.faq-list {
    max-width: 48rem; /* max-w-3xl */
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem; /* space-y-4 */
}

/* تصميم السؤال الواحد */
.faq-item {
    background-color: var(--card);
    border-radius: 0.75rem; /* rounded-xl */
    border: 1px solid rgba(203, 222, 228, 0.5); /* border-border/50 */
    overflow: hidden;
    transition: all 0.3s ease;
}

/* زر السؤال */
.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem;
    background: none;
    border: none;
    text-align: right;
    font-weight: 700;
    color: var(--foreground);
    cursor: pointer;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question i {
    font-size: 0.9rem;
    color: var(--muted-foreground);
    transition: transform 0.3s ease;
}

/* منطقة الإجابة */
.faq-answer {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}

.faq-answer p {
    padding: 0 1.25rem 1.25rem;
    color: var(--muted-foreground);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* حالة الفتح (Active State) */
.faq-item.active .faq-answer {
    max-height: 200px; /* يعادل max-h-40 */
    opacity: 1;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-item.active {
    border-color: var(--primary);
}

/* هذا الجزء ضروري جداً ليتم الإظهار عند الضغط */
.faq-item.active .faq-answer {
    max-height: 500px !important; /* قيمة كبيرة كافية للنص */
    opacity: 1 !important;
    padding-bottom: 20px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* =============================================================
    (Why Choose us Section)
   ============================================================= */
/* القسم الرئيسي */
.why-choose-section {
    padding: 5rem 1.25rem; /* py-20 */
    direction: rtl;
    font-family: 'Cairo', sans-serif;
    background-color: var(--background);
}

@media (min-width: 768px) {
    .why-choose-section {
        padding: 7rem 1.25rem; /* md:py-28 */
    }
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.mb-16 { margin-bottom: 4rem; }
.text-center { text-align: center; }

/* العناوين */
.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--foreground);
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--muted-foreground);
    font-size: 1.1rem;
}

/* شبكة الكروت */
.features-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr; /* جوال */
}

@media (min-width: 640px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); } /* تابلت */
}

@media (min-width: 1024px) {
    .features-grid { grid-template-columns: repeat(3, 1fr); } /* كمبيوتر */
}

/* تصميم الكارت */
.feature-card {
    background-color: var(--card);
    border-radius: 1.25rem; /* rounded-2xl */
    padding: 1.5rem;
    border: 1px solid rgba(203, 222, 228, 0.5); /* border-border/50 */
    transition: all 0.5s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border-color: var(--primary);
}

/* الأيقونة داخل الكارت */
.icon-wrapper {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    background-color: rgba(52, 129, 154, 0.1); /* primary/10 */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.icon-wrapper i {
    font-size: 1.5rem;
    color: var(--primary);
}

/* نصوص الكارت */
.feature-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.feature-desc {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    line-height: 1.6;
}

/* =============================================================
   4. تصميم قسم التواصل (Contact Section)
   ============================================================= */
/* تنسيق القسم */
.contact-section {
    padding: 5rem 1.25rem;
    background-color: rgba(239, 233, 227, 0.3); /* bg-muted/30 */
    direction: rtl;
    font-family: 'Cairo', sans-serif;
}

.contact-grid-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
    align-items: center;
}

/* الكروت والمعلومات */
.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.info-icon {
    width: 3rem;
    height: 3rem;
    background-color: rgba(52, 129, 154, 0.1); /* primary/10 */
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon i {
    color: var(--primary);
    font-size: 1.25rem;
}

.info-details h4 {
    color: var(--foreground);
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.info-details p {
    color: var(--muted-foreground);
    font-size: 0.95rem;
}

/* الأزرار */
.contact-buttons-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.btn-primary-contact, .btn-accent-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.75rem 2rem;
    border-radius: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
    border: none;
    cursor: pointer;
    width: 250px;
}

.btn-primary-contact {
    background-color: var(--primary);
    color: var(--primary-foreground) !important;
}

.btn-accent-contact {
    background-color: var(--accent);
  width: 200px;
    color: var(--primary-foreground) !important;
}

.btn-primary-contact:hover, .btn-accent-contact:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Modal Styling */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(28, 31, 33, 0.5); /* foreground/50 */
    backdrop-filter: blur(4px);
    display: none; /* مخفي */
    align-items: center;
    justify-content: center;
    z-index: 100000;
    padding: 1rem;
}

.modal-content {
    background: var(--card);
    width: 100%;
    max-width: 450px;
    padding: 2rem;
    border-radius: 1.25rem;
    border: 1px solid var(--border);
    animation: fadeUp 0.4s ease-out;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.close-modal {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--muted-foreground);
    cursor: pointer;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.modal-form input, .modal-form textarea {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    background: var(--muted);
    border: 1px solid rgba(203, 222, 228, 0.5);
    color: var(--foreground);
    outline: none;
}

.modal-form input:focus {
    border-color: var(--primary);
}

.w-full { width: 100%; }

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
    .contact-grid-main {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .info-card {
        flex-direction: column;
        align-items: center;
    }
}

/* =============================================================
   5. تصميم قسم آراء العملاء (Testimonials Section)
   ============================================================= */
.testimonials-section {
    padding: 80px 20px;
    background-color: #f9fbfb;
    text-align: center;
    direction: rtl;
    font-family: 'Cairo', sans-serif;
}

.testimonials-header h2 {
    font-size: 2rem;
    color: #1C1F21;
    margin-bottom: 10px;
}

.testimonials-container {
    max-width: 800px;
    margin: 40px auto;
    position: relative;
    min-height: 250px;
}

.testimonial-card {
    display: none; /* مخفي افتراضياً ويظهر بواسطة الكلاس active */
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(52, 129, 154, 0.08);
    border: 1px solid rgba(203, 222, 228, 0.5);
}

.testimonial-card.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

.stars-container {
    color: var(--accent);
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 1.2rem;
    color: #5C6668;
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    font-weight: 800;
    color: #34819A;
  font-size: 20px
}

.testimonial-nav {
    margin-top: 20px;
}

.nav-dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: #cbd5e1;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: 0.3s;
}

.nav-dot.active {
    background-color: #34819A;
    width: 25px;
    border-radius: 10px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
/* =============================================================
   6. تصميم فوتر الصفحة (Protek Footer)
   ============================================================= */
.protek-footer {
    direction: rtl;
    font-family: 'Cairo', sans-serif;
    background-color: #ffffff; /* يمكنك استبدالها بـ var(--card) إذا كانت معرفة */
    border-top: 1px solid #f3f4f6;
    padding: 60px 20px 30px;
    color: #6b7280;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 30px;
}

.footer-brand h3 {
    font-size: 28px;
    font-weight: 900;
    color: #2a5969; /* لون بروتك الأساسي */
    margin: 0 0 10px 0;
}

.footer-brand p {
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* إعدادات القلب كأيقونة لضمان الظهور */
.footer-brand .fa-heart {
    color: #e74c3c;
    animation: pulse 1.5s infinite;
}

.footer-title {
    font-weight: 700;
    color: #111827;
    margin-bottom: 20px;
    font-size: 16px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    text-decoration: none;
    color: #6b7280;
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #2a5969;
    padding-right: 5px; /* تأثير بسيط عند التمرير */
}

/* أيقونات التواصل الاجتماعي */
.social-flex {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.social-icon {
    width: 38px;
    height: 38px;
    background-color: #f3f4f6;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111827;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: #2a5969;
    color: #ffffff !important;
    transform: scale(1.1) rotate(5deg);
}

/* طرق الدفع */
.payment-methods {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.payment-methods img {
    height: 22px;
    width: auto;
    filter: grayscale(0.2);
    transition: filter 0.3s;
}

.payment-methods img:hover {
    filter: grayscale(0);
}

/* أزرار التطبيقات */
.app-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.app-btn {
    background-color: #111827;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    color: #ffffff !important;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.3s;
}

.app-btn:hover {
    background-color: #2a5969;
}

/* التوثيق والبيانات القانونية */
.footer-bottom {
    border-top: 1px solid #f3f4f6;
    margin-top: 40px;
    padding-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.legal-info {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.legal-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f9fafb;
    padding: 10px 20px;
    border-radius: 12px;
    border: 1px solid #f3f4f6;
}

.legal-card img {
    height: 40px;
    width: auto;
}

.legal-text {
    font-size: 12px;
    color: #6b7280;
    line-height: 1.4;
}

.legal-text strong {
    display: block;
    color: #111827;
    font-size: 14px;
}

.copyright {
    font-size: 13px;
    color: #9ca3af;
}

.fa-x-twitter {
    font-weight: bold;
    font-family: sans-serif !important; /* احتياطاً إذا لم تقرأ المكتبة الأيقونة */
}

/* حركة نبض القلب */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* الجوال */
@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 580px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-brand, .social-flex, .payment-methods, .legal-info {
        justify-content: center;
        align-items: center;
    }
}
/* =============================================================
   7. الاستجابة مع الشاشات (Mobile Responsive)
   ============================================================= */
@media (max-width: 768px) {
    .patent-container, .contact-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: span 2; }
    .patent-badge { justify-content: center; }
    .info-item { flex-direction: column; align-items: center; }
}
/*====================================================
slider اراء العملاء
======================================================
*/
.testimonial-item {
    display: none; /* إخفاء الكل افتراضياً */
    animation: fadeIn 0.8s ease; /* إضافة حركة ناعمة عند التغيير */
}

.testimonial-item.active {
    display: block; /* إظهار العنصر النشط فقط */
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.nav-dot { cursor: pointer; }

/*====================================================
floating button
======================================================
/* زر الواتساب */
.whatsapp-float {
    position: fixed !important;
    bottom: 25px !important;
    right: 25px !important; /* مثبت على اليمين */
    z-index: 99999 !important;
    width: 60px !important;
    height: 60px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2) !important;
    animation: floatAnim 3s ease-in-out infinite !important;
}

.whatsapp-float img {
    width: 100% !important;
    height: 100% !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    position: relative !important;
    z-index: 2 !important;
}

/* حلقة النبض الخلفية */
.pulse-ring {
    position: absolute !important;
    width: 100% !important;
    height: 100% !important;
    background-color: #25D366 !important;
    border-radius: 50% !important;
    z-index: 1 !important;
    animation: pulseAnim 1.5s cubic-bezier(0.24, 0, 0.38, 1) infinite !important;
}

/* زر العودة للأعلى */
.scroll-to-top {
    position: fixed !important;
    bottom: 100px !important; /* يظهر فوق زر الواتساب بمسافة مناسبة */
    right: 30px !important;
    z-index: 99998 !important;
    width: 50px !important;
    height: 50px !important;
    background-color: #2a5969 !important; /* لون متجرك الأساسي */
    border: none !important;
    border-radius: 50% !important;
    display: none; /* يتم إظهاره بالجافا سكريبت عند السكرول */
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1) !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.scroll-to-top:hover {
    transform: translateY(-5px) !important;
    background-color: #1c414d !important;
}

/* الأنيميشن */
@keyframes floatAnim {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes pulseAnim {
    0% { transform: scale(0.8); opacity: 0.8; }
    100% { transform: scale(1.6); opacity: 0; }
}
.scroll-to-top {
    position: fixed;
    bottom: 95px; /* رفعناه للأعلى قليلاً ليظهر فوق الواتساب */
    right: 28px; 
    z-index: 9998;
    width: 48px;
    height: 48px;
    background-color: #2a5969; 
    border: none;
    border-radius: 50%;
    display: none; /* يظهر بالجافا سكريبت */
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-to-top:hover {
    transform: translateY(-4px);
    background-color: #1a3c47;
}

/* الحركات */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse-ring {
    0% { transform: scale(0.33); opacity: 0.5; }
    80%, 100% { opacity: 0; transform: scale(1.5); }
}