/* ============================================
   NATURE & HERBS THEME - ENHANCED CSS
   ============================================ */

/* Root Variables - Nature Color Palette */
:root {
    /* Primary Colors - Natural Greens */
    --color-primary: #2d5016;
    --color-primary-light: #4a7c2c;
    --color-primary-lighter: #6ba547;
    
    /* Secondary Colors - Earthy Tones */
    --color-secondary: #8b6f47;
    --color-secondary-light: #a8956d;
    --color-accent: #d4a574;
    
    /* Neutral Colors */
    --color-dark: #1a1a1a;
    --color-light: #f5f3f0;
    --color-white: #ffffff;
    --color-gray: #6b6b6b;
    --color-gray-light: #e8e8e8;
    
    /* Accent Colors */
    --color-success: #27ae60;
    --color-error: #e74c3c;
    --color-warning: #f39c12;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Typography */
    --font-display: 'Playfair Display', serif;
    --font-body: 'Lora', serif;
    --font-sans: 'Inter', sans-serif;
    
    /* Transitions */
    --transition: all 0.3s ease;
}

/* ============================================
   GLOBAL STYLES
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-dark);
    background-color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-primary);
}

h1 {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-md);
}

h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-lg);
}

h3 {
    font-size: 1.8rem;
    margin-bottom: var(--spacing-md);
}

h4 {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-sm);
}

p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-gray);
    margin-bottom: var(--spacing-md);
}

a {
    color: var(--color-primary-light);
    text-decoration: none;
    transition: var(--transition);
}

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

/* ============================================
   BUTTONS
   ============================================ */

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: var(--color-white);
    border: none;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(45, 80, 22, 0.2);
}

/* في ملف style.css */

.btn-primary:hover {
    transform: translateY(-4px); /* زيادة حركة الرفع */
    /* ظل أقوى وأكثر انتشارًا */
    box-shadow: 0 10px 30px rgba(45, 80, 22, 0.4); 
}

.btn-primary:active {
    transform: translateY(0);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.header {
    background: var(--color-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) 0;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

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

.nav-links {
    display: flex;
    list-style: none;
    gap: var(--spacing-xl);
}

.nav-links a {
    font-weight: 500;
    color: var(--color-dark);
    position: relative;
    padding-bottom: var(--spacing-xs);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.lang-switcher select {
    padding: var(--spacing-xs) var(--spacing-sm);
    border: 1px solid var(--color-gray-light);
    border-radius: 5px;
    background: var(--color-white);
    color: var(--color-dark);
    cursor: pointer;
    font-family: var(--font-sans);
    transition: var(--transition);
}

.lang-switcher select:hover {
    border-color: var(--color-primary);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--color-white); /* Ensure text is white on dark overlay */
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slider .swiper-slide {
    height: 100%;
}

.hero-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Dark overlay for readability */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--color-white);
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: var(--spacing-md);
    color: var(--color-white);
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    /* Remove gradient text for better readability on image */
    background: none; 
    -webkit-text-fill-color: initial;
    background-clip: border-box;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-xl);
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* ============================================
   SECTIONS
   ============================================ */

.section {
    padding: var(--spacing-2xl) 0;
}

.section-title {
    text-align: center;
    position: relative;
    margin-bottom: var(--spacing-2xl);
    padding-bottom: var(--spacing-lg);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
    border-radius: 2px;
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about-section {
    background: linear-gradient(180deg, #f9f8f6 0%, #f5f3f0 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-2xl);
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--color-gray);
}

.about-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

/* في ملف style.css */

/* تعديل البطاقة: إزالة الخط العلوي لجعل التصميم يعتمد على الأيقونة */
.card {
    background: var(--color-white);
    padding: var(--spacing-lg);
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    /* border-top: 3px solid var(--color-primary); <--- قم بإلغاء أو حذف هذا السطر */
    border-left: 0; /* تأكد من عدم وجود حدود غير مرغوبة */
}

/* تحسين الأيقونة بوضعها داخل دائرة ملونة */
.card-icon {
    /* التنسيق الجديد للأيقونة */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    /* استخدام لون أخضر فاتح للخلفية */
    background-color: var(--color-primary-lighter); 
    color: var(--color-white);
    font-size: 2rem; /* تكبير حجم الأيقونة */
    margin-bottom: var(--spacing-md);
    /* ظل خفيف لجعلها تبرز */
    box-shadow: 0 5px 15px rgba(45, 80, 22, 0.2); 
    /* تأكد من أن الأيقونة نفسها بيضاء */
}
/* التأكد من أن أيقونة الـ font-awesome داخل الدائرة بيضاء */
.card-icon i { 
    color: var(--color-white);
}

/* تحسين حركة الهوفر لتظهر الأيقونة بشكل أفضل */
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.card h4 {
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
}

.card p {
    color: var(--color-gray);
    font-size: 0.95rem;
}

/* ============================================
   PRODUCTS SECTION
   ============================================ */

.products-section {
    background: linear-gradient(180deg, #f5f3f0 0%, #f9f8f6 100%);
}

.product-filters {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-2xl);
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--color-white);
    border: 2px solid var(--color-gray-light);
    color: var(--color-dark);
    padding: var(--spacing-xs) var(--spacing-lg);
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.filter-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: var(--color-white);
    border-color: var(--color-primary);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}


.product-item {
    background: var(--color-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    cursor: pointer;
    border-left: 5px solid transparent; /* إضافة إطار جانبي شفاف كبداية */
}

.product-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    /* تفعيل الإطار الجانبي بلون primary عند الهوفر */
    border-left: 5px solid var(--color-primary-light); 
}

.product-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f3f0 0%, #e8e4dc 100%);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.product-info {
    padding: var(--spacing-lg);
}

.product-info h4 {
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
}

.product-info p {
    color: var(--color-gray);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.loading-spinner {
    grid-column: 1 / -1;
    text-align: center;
    padding: var(--spacing-2xl);
}

.loading-spinner i {
    font-size: 2rem;
    color: var(--color-primary);
    animation: spin 1s linear infinite;
    margin-bottom: var(--spacing-md);
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* ============================================
   CERTIFICATIONS SECTION
   ============================================ */

.certifications {
    background: linear-gradient(180deg, #f9f8f6 0%, #f5f3f0 100%);
    padding: var(--spacing-2xl) 0;
}

.swiper-container {
    position: relative;
    padding: var(--spacing-lg) 0;
}

.swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cert-image {
    width: 100%;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.cert-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-button-prev,
.swiper-button-next {
    background: var(--color-primary);
    color: var(--color-white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 1.2rem;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background: var(--color-primary-light);
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact-section {
    background: linear-gradient(180deg, #f5f3f0 0%, #f9f8f6 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
}

.contact-info h3 {
    color: var(--color-primary);
    margin-bottom: var(--spacing-lg);
}

.info-item {
    display: flex;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.info-item i {
    font-size: 1.5rem;
    color: var(--color-primary-light);
    min-width: 30px;
}

.info-item h4 {
    color: var(--color-primary);
    margin-bottom: var(--spacing-xs);
}

.info-item p {
    color: var(--color-gray);
    margin-bottom: 0;
}

.contact-form h3 {
    color: var(--color-primary);
    margin-bottom: var(--spacing-lg);
}

.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 500;
    color: var(--color-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: var(--spacing-sm);
    border: 1px solid var(--color-gray-light);
    border-radius: 5px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(45, 80, 22, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.error-message {
    display: block;
    color: var(--color-error);
    font-size: 0.85rem;
    margin-top: var(--spacing-xs);
}

.success-message {
    background: #d4edda;
    color: #155724;
    padding: var(--spacing-md);
    border-radius: 5px;
    margin-top: var(--spacing-md);
    border-left: 4px solid var(--color-success);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--color-primary);
    color: var(--color-white);
    padding: var(--spacing-2xl) 0 var(--spacing-lg);
}

.footer-links {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--color-white);
}

.footer-links a:hover {
    color: var(--color-accent);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--color-white);
    transition: var(--transition);
}

.social-icons a:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

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

@media (max-width: 768px) {
    .container {
        padding: 0 var(--spacing-md);
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .nav-links {
        gap: var(--spacing-md);
        font-size: 0.9rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .feature-cards {
        grid-template-columns: 1fr;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-links {
        gap: var(--spacing-md);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }

    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 0.9rem;
    }

    .nav-links {
        gap: var(--spacing-sm);
        font-size: 0.8rem;
    }

    .product-filters {
        gap: var(--spacing-sm);
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .leaf {
        font-size: 8rem;
    }
}

/* ============================================
   RTL SUPPORT (Arabic)
   ============================================ */

[dir="rtl"] .navbar {
    flex-direction: row-reverse;
}

[dir="rtl"] .logo {
    flex-direction: row-reverse;
}

[dir="rtl"] .about-content {
    direction: rtl;
}

[dir="rtl"] .contact-grid {
    direction: rtl;
}

[dir="rtl"] .info-item {
    flex-direction: row-reverse;
}

[dir="rtl"] .product-filters {
    direction: rtl;
}



/* زر الواتساب العائم */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    right: 25px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
}

/* نبض للإشارة للانتباه */
.whatsapp-float::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: #25d366;
    border-radius: 50%;
    z-index: -1;
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* تعديل للموبايل */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 25px;
    }
}

/* ============================================
   RESPONSIVENESS & MEDIA QUERIES
   ============================================ */

/* Tablet and smaller screens */
@media (max-width: 1024px) {
    .container {
        padding: 0 var(--spacing-md);
    }

    .nav-links {
        gap: var(--spacing-md);
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1; /* Move image above text on smaller screens */
    }

    .feature-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile screens */
@media (max-width: 768px) {
    .navbar {
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--spacing-md);
    }

    .nav-links {
        width: 100%;
        justify-content: center;
        margin-top: var(--spacing-sm);
        gap: var(--spacing-sm);
    }

    .logo {
        margin-bottom: var(--spacing-sm);
    }

    .lang-switcher {
        margin-bottom: var(--spacing-sm);
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .section {
        padding: var(--spacing-xl) 0;
    }

    .section-title {
        margin-bottom: var(--spacing-xl);
    }

    .feature-cards {
        grid-template-columns: 1fr;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .footer .container {
        flex-direction: column;
        text-align: center;
    }

    .social-links {
        margin-top: var(--spacing-sm);
    }
}

/* Small mobile screens */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
    }
}

/* ============================================
   WHATSAPP FLOATING ICON
   ============================================ */

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Adjust position for RTL languages (Arabic) */
[dir="rtl"] .whatsapp-float {
    right: auto;
    left: 40px;
}

/* Adjust for smaller screens */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 25px;
    }

    [dir="rtl"] .whatsapp-float {
        left: 20px;
    }
}
/* ============================================
   REVIEWS SECTION - FINAL FIX
   ============================================ */

   .reviews-section {
    background-color: #f8f9fa;
    padding: 80px 0;
    position: relative;
    overflow: hidden; /* يمنع ظهور شريط تمرير للصفحة بالكامل */
}

/* تنسيق الحاوية الرئيسية للسلايدر */
.reviews-slider {
    width: 100%;
    padding: 20px 10px 50px 10px !important; /* مسافة للظلال وللنقاط في الأسفل */
    overflow: hidden; /* هذا هو الحل: يخفي الكروت التي خارج الشاشة */
    position: relative;
}

.reviews-slider .swiper-wrapper {
    align-items: stretch; /* لتوحيد طول الكروت */
}

.reviews-slider .swiper-slide {
    height: auto;
    display: flex;
    justify-content: center;
}

/* تصميم الكارت */
.review-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); /* ظل ناعم */
    border-bottom: 4px solid var(--color-primary);
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

/* أيقونة الاقتباس */
.quote-icon {
    font-size: 2rem;
    color: #d4a574; /* لون ذهبي */
    opacity: 0.4;
    margin-bottom: 15px;
}

/* النص */
.review-text {
    font-size: 1rem;
    font-style: italic;
    color: #4a5568;
    line-height: 1.8;
    margin-bottom: 25px;
    flex-grow: 1; /* يدفع معلومات العميل للأسفل */
}

/* معلومات العميل والتقييم */
.client-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.client-details h5 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0 0 2px 0;
}

.client-details span {
    font-size: 0.8rem;
    color: #888;
}

/* النجوم */
.rating {
    color: #f59e0b; /* لون برتقالي للنجوم */
    font-size: 0.9rem;
    white-space: nowrap;
}

/* نقاط التنقل (Pagination) */
.reviews-slider .swiper-pagination {
    bottom: 0 !important; /* تثبيت النقاط في الأسفل */
}

.reviews-slider .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #cbd5e0;
    opacity: 1;
    margin: 0 5px !important;
    transition: all 0.3s;
}

.reviews-slider .swiper-pagination-bullet-active {
    background: var(--color-primary);
    transform: scale(1.2);
    width: 25px; /* جعل النقطة النشطة مستطيلة */
    border-radius: 5px;
}

/* إصلاح اتجاه اللغة العربية */
[dir="rtl"] .review-card {
    text-align: right;
}

[dir="rtl"] .rating {
    direction: ltr; /* إجبار النجوم لتظهر بشكل صحيح */
    display: inline-block;
}
/* ============================================
   HERO SLIDER
   ============================================ */

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slider .swiper-slide {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slider .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Dark overlay for text readability */
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3; /* Ensure content is above slider */
}

.hero-content h1 {
    color: var(--color-white);
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    -webkit-text-fill-color: var(--color-white); /* Override gradient text */
    background: none;
}

.hero-content p {
    color: var(--color-light);
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.hero-slider .swiper-pagination-bullet {
    background: var(--color-white);
    opacity: 0.5;
}

.hero-slider .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--color-primary-lighter);
}
