
.trust-feature-card:nth-child(1) {
            transition-delay: 0.1s;
        }

        .trust-feature-card:nth-child(2) {
            transition-delay: 0.2s;
        }

        .trust-feature-card:nth-child(3) {
            transition-delay: 0.3s;
        }

        .trust-feature-card:nth-child(4) {
            transition-delay: 0.4s;
        }

        /* Hover effect for trust section icons only */
        .trust-icon-wrapper {
            transition: transform 0.3s ease;
        }

        .trust-feature-card:hover .trust-icon-wrapper {
            transform: scale(1.1);
        }

        .trust-feature-card:hover .trust-icon-wrapper .material-symbols-outlined {
            animation: trust-bounce 0.6s ease;
        }

        @keyframes trust-bounce {
            0%, 100% {
                transform: translateY(0);
            }
            50% {
                transform: translateY(-10px);
            }
        }
        .material-symbols-outlined {
            font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
        }
        
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(40px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        @keyframes fadeInRight {
            from {
                opacity: 0;
                transform: translateX(-40px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }
        
        @keyframes scaleIn {
            from {
                opacity: 0;
                transform: scale(0.9);
            }
            to {
                opacity: 1;
                transform: scale(1);
            }
        }
        
        @keyframes float {
            0%, 100% { transform: translateY(0px); }
            50% { transform: translateY(-20px); }
        }
        
        @keyframes bounce {
            0%, 20%, 50%, 80%, 100% {
                transform: translateY(0);
            }
            40% {
                transform: translateY(-10px);
            }
            60% {
                transform: translateY(-5px);
            }
        }
        
        .animate-fadeInUp {
            animation: fadeInUp 0.8s ease-out;
        }
        
        .animate-fadeInRight {
            animation: fadeInRight 0.8s ease-out;
        }
        
        .animate-scaleIn {
            animation: scaleIn 0.6s ease-out;
        }
        
        .animate-float {
            animation: float 3s ease-in-out infinite;
        }
        
        .animate-on-scroll {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.6s ease-out;
        }
        
        .animate-on-scroll.animated {
            opacity: 1;
            transform: translateY(0);
        }
        
        .hero-gradient {
            background: linear-gradient(135deg, #f5e6d3 0%, #e8d4bf 100%);
        }
        
        .glass-effect {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
        }
        
           .collections-section {
            font-family: 'Tajawal', sans-serif;
            padding: 60px 20px;
            background: transparent;
            max-width: 1400px;
            margin: 0 auto;
        }

        .section-header {
            text-align: center;
            margin-bottom: 70px;
            animation: collectionsHeaderFadeIn 0.8s ease-out;
        }

        .section-badge {
            display: inline-block;
            color: #d4a574;
            font-weight: 600;
            font-size: 14px;
            letter-spacing: 2px;
            text-transform: uppercase;
            margin-bottom: 16px;
            position: relative;
            padding: 0 30px;
        }

        .section-badge::before,
        .section-badge::after {
            content: '';
            position: absolute;
            top: 50%;
            width: 20px;
            height: 1px;
            background: #d4a574;
        }

        .section-badge::before {
            right: 0;
        }

        .section-badge::after {
            left: 0;
        }

        .section-title {
            font-size: 48px;
            font-weight: 900;
            color: #2c1810;
            margin-bottom: 16px;
            letter-spacing: -1px;
        }

        .section-description {
            font-size: 18px;
            color: #6b5d52;
            max-width: 700px;
            margin: 0 auto;
            line-height: 1.8;
        }

        .collections-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin-top: 40px;
        }

        .collection-card {
            position: relative;
            border-radius: 24px;
            overflow: hidden;
            height: 480px;
            cursor: pointer;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
            transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
            animation: collectionsCardSlideUp 0.8s ease-out backwards;
        }

        .collection-card:nth-child(1) { animation-delay: 0.1s; }
        .collection-card:nth-child(2) { animation-delay: 0.2s; }
        .collection-card:nth-child(3) { animation-delay: 0.3s; }
        .collection-card:nth-child(4) { animation-delay: 0.4s; }

        .collection-card:hover {
            transform: translateY(-12px);
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
            -webkit-transform: translateY(-12px);
            -moz-transform: translateY(-12px);
            -ms-transform: translateY(-12px);
            -o-transform: translateY(-12px);
}

        .collection-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .collection-card:hover .collection-image {
            transform: scale(1.15);
        }

        .collection-overlay {
            position: absolute;
            inset: 0;
        
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            padding: 35px;
            transition: all 0.5s ease;
        }

        .collection-card:hover .collection-overlay {
            background: linear-gradient(to top, 
                rgba(0, 0, 0, 0.9) 0%, 
                rgba(0, 0, 0, 0.7) 50%,
                rgba(0, 0, 0, 0.4) 80%,
                transparent 100%);
        }

        .collection-icon {
            position: absolute;
            top: 30px;
            right: 30px;
            width: 60px;
            height: 60px;
            background: rgba(212, 165, 116, 0.95);
            backdrop-filter: blur(10px);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 28px;
            color: white;
            opacity: 0;
            transform: scale(0.8) rotate(-10deg);
            transition: all 0.5s ease;
            box-shadow: 0 8px 25px rgba(212, 165, 116, 0.4);
        }

        .collection-card:hover .collection-icon {
            opacity: 1;
            transform: scale(1) rotate(0deg);
        }

        .collection-badge {
            position: absolute;
            top: 30px;
            left: 30px;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            color: #2c1810;
            padding: 8px 18px;
            border-radius: 50px;
            font-size: 12px;
            font-weight: 700;
            letter-spacing: 1px;
            opacity: 0;
            transform: translateY(-20px);
            transition: all 0.5s ease 0.1s;
        }

        .collection-card:hover .collection-badge {
            opacity: 1;
            transform: translateY(0);
        }

        .collection-info {
            position: relative;
            z-index: 2;
        }

        .collection-category {
            font-size: 13px;
            color: #d4a574;
            font-weight: 600;
            letter-spacing: 2px;
            margin-bottom: 10px;
            opacity: 0.9;
            text-transform: uppercase;
        }

        .collection-title {
            font-size: 38px;
            font-weight: 900;
            color: white;
            margin-bottom: 12px;
            letter-spacing: -0.5px;
            line-height: 1.2;
        }

        .collection-description {
            font-size: 15px;
            color: rgba(255, 255, 255, 0.85);
            margin-bottom: 20px;
            line-height: 1.7;
            max-height: 0;
            opacity: 0;
            overflow: hidden;
            transition: all 0.5s ease;
        }

        .collection-card:hover .collection-description {
            max-height: 100px;
            opacity: 1;
        }

        .collection-stats {
            display: flex;
            gap: 20px;
            margin-bottom: 20px;
            opacity: 0;
            transform: translateY(10px);
            transition: all 0.5s ease 0.1s;
        }

        .collection-card:hover .collection-stats {
            opacity: 1;
            transform: translateY(0);
        }

        .stat-item {
            display: flex;
            align-items: center;
            gap: 6px;
            color: rgba(255, 255, 255, 0.9);
            font-size: 13px;
            font-weight: 500;
        }

        .stat-icon {
            font-size: 18px;
            color: #d4a574;
        }
.collections-cta-container {
    grid-column: 1 / -1;
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-top: 3rem;
}

@media (max-width: 640px) {
    .collections-cta-container {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .collections-cta-container a {
        width: 100%;
    }
}
        .collection-cta {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            color: white;
            font-weight: 700;
            font-size: 15px;
            padding: 14px 28px;
            background: linear-gradient(135deg, #d4a574 0%, #b8926a 100%);
            border-radius: 50px;
            transition: all 0.3s ease;
            width: fit-content;
            box-shadow: 0 4px 15px rgba(212, 165, 116, 0.3);
        }

        .collection-card:hover .collection-cta {
            background: linear-gradient(135deg, #e0b585 0%, #c49d78 100%);
            box-shadow: 0 6px 25px rgba(212, 165, 116, 0.5);
            transform: translateX(-5px);
        }

        .cta-icon {
            font-size: 20px;
            transition: transform 0.3s ease;
        }

        .collection-card:hover .cta-icon {
            transform: translateX(-4px);
        }

        .decorative-shape {
            position: absolute;
            width: 180px;
            height: 180px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(212, 165, 116, 0.15) 0%, transparent 70%);
            pointer-events: none;
            transition: all 0.7s ease;
        }

        .shape-1 {
            top: -90px;
            left: -90px;
        }

        .shape-2 {
            bottom: -90px;
            right: -90px;
        }

        .collection-card:hover .shape-1 {
            top: -50px;
            left: -50px;
            width: 220px;
            height: 220px;
        }

        .collection-card:hover .shape-2 {
            bottom: -50px;
            right: -50px;
            width: 220px;
            height: 220px;
        }

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

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

        /* Collections specific icon animation - isolated */
        .collection-icon-rotate {
            animation: collectionsIconSpin 0.5s ease;
        }

        @keyframes collectionsIconSpin {
            0% {
                transform: scale(1) rotate(0deg);
            }
            50% {
                transform: scale(1.2) rotate(180deg);
            }
            100% {
                transform: scale(1) rotate(360deg);
            }
        }

        /* Ensure no conflicts with existing animations */
        .collections-section .material-symbols-outlined {
            font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
        }

        @media (max-width: 1024px) {
            .collections-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 768px) {
            .collections-grid {
                grid-template-columns: 1fr;
                gap: 24px;
            }

            .section-title {
                font-size: 36px;
            }

            .collection-card {
                height: 420px;
            }

            .collection-title {
                font-size: 32px;
            }

            .collection-overlay {
                padding: 30px;
            }
        }
        

@media (min-width: 640px) {
    .sm\:grid-cols-2 {
        column-gap: 20px;
    }
}
        /* Footer CTA Specific Animations */
.footer-cta-container {
    perspective: 1000px;
}

.footer-content-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-transform: translateY(30px);
    -moz-transform: translateY(30px);
    -ms-transform: translateY(30px);
    -o-transform: translateY(30px);
}

.footer-content-animate.animated {
    opacity: 1;
    transform: translateY(0);
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
}

/* زر الشراء - أنيميشن النبض الفاخر */
.btn-premium-pulse {
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.btn-premium-pulse::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%) rotate(45deg) translateY(100%);
    transition: transform 0.6s ease;
    -webkit-transform: translate(-50%, -50%) rotate(45deg) translateY(100%);
    -moz-transform: translate(-50%, -50%) rotate(45deg) translateY(100%);
    -ms-transform: translate(-50%, -50%) rotate(45deg) translateY(100%);
    -o-transform: translate(-50%, -50%) rotate(45deg) translateY(100%);
}

.btn-premium-pulse:hover::after {
    transform: translate(-50%, -50%) rotate(45deg) translateY(-100%);
    -webkit-transform: translate(-50%, -50%) rotate(45deg) translateY(-100%);
    -moz-transform: translate(-50%, -50%) rotate(45deg) translateY(-100%);
    -ms-transform: translate(-50%, -50%) rotate(45deg) translateY(-100%);
    -o-transform: translate(-50%, -50%) rotate(45deg) translateY(-100%);
}

/* تأثير لمعان خفيف يظهر كل 3 ثواني */
@keyframes shiny-gold {
    0% { left: -100%; }
    20% { left: 100%; }
    100% { left: 100%; }
}

.btn-shine {
    position: relative;
    overflow: hidden;
}

.btn-shine::before {
    content: '';
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.2), transparent);
    animation: shiny-gold 4s infinite;
}
   
/* ============================================
   Best Sellers Section - Animations
   ============================================ */

/* أنيميشن ظهور البطاقات من الأسفل */
@keyframes bestsellerSlideUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* أنيميشن تحريك خفيف مستمر للبطاقة */
@keyframes bestsellerFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

/* أنيميشن نبض خفيف للظل */
@keyframes bestsellerGlow {
    0%, 100% {
        box-shadow: 0 10px 30px rgba(212, 165, 116, 0.2);
    }
    50% {
        box-shadow: 0 15px 40px rgba(212, 165, 116, 0.35);
    }
}

/* أنيميشن لمعان الصورة */
@keyframes bestsellerShine {
    0% {
        transform: translateX(-100%) skewX(-15deg);
    }
    100% {
        transform: translateX(200%) skewX(-15deg);
    }
}

/* أنيميشن نبض Badge */
@keyframes bestsellerBadgePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(212, 165, 116, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 25px rgba(212, 165, 116, 0.5);
    }
}

/* أنيميشن ارتفاع زر التسوق */
@keyframes bestsellerButtonFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

/* تطبيق الأنيميشن على البطاقات */
#Bestsellers .group {
    animation: bestsellerSlideUp 0.8s ease-out backwards,
               bestsellerFloat 4s ease-in-out infinite;
}

/* تأخير الأنيميشن لكل بطاقة */
#Bestsellers .group:nth-child(1) {
    animation-delay: 0s, 0s;
}

#Bestsellers .group:nth-child(2) {
    animation-delay: 0.2s, 0.5s;
}

#Bestsellers .group:nth-child(3) {
    animation-delay: 0.4s, 1s;
}

#Bestsellers .group:nth-child(4) {
    animation-delay: 0.6s, 1.5s;
}

/* تطبيق أنيميشن النبض على الظل */
#Bestsellers .group > div {
    animation: bestsellerGlow 3s ease-in-out infinite;
}

/* تأخير مختلف لنبض كل بطاقة */
#Bestsellers .group:nth-child(1) > div {
    animation-delay: 0s;
}

#Bestsellers .group:nth-child(2) > div {
    animation-delay: 0.5s;
}

#Bestsellers .group:nth-child(3) > div {
    animation-delay: 1s;
}

#Bestsellers .group:nth-child(4) > div {
    animation-delay: 1.5s;
}

/* أنيميشن لمعان على الصور */
#Bestsellers .group img {
    position: relative;
    overflow: hidden;
}

#Bestsellers .group img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    animation: bestsellerShine 3s infinite;
    animation-delay: 2s;
}

/* أنيميشن Badge */
#Bestsellers .absolute.top-4 {
    animation: bestsellerBadgePulse 2s ease-in-out infinite;
}

/* Badge الأحمر يكون أسرع شوية */
#Bestsellers .bg-red-600 {
    animation: bestsellerBadgePulse 1.5s ease-in-out infinite;
}

/* أنيميشن زر التسوق */
#Bestsellers a[href*="product"] {
    animation: bestsellerButtonFloat 2s ease-in-out infinite;
}

/* تأخير مختلف لكل زر */
#Bestsellers .group:nth-child(1) a {
    animation-delay: 0s;
}

#Bestsellers .group:nth-child(2) a {
    animation-delay: 0.3s;
}

#Bestsellers .group:nth-child(3) a {
    animation-delay: 0.6s;
}

#Bestsellers .group:nth-child(4) a {
    animation-delay: 0.9s;
}

/* تأثير نبض خفيف للأيقونة */
@keyframes bestsellerIconPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

#Bestsellers .material-symbols-outlined {
    animation: bestsellerIconPulse 1.5s ease-in-out infinite;
}

/* أنيميشن تموج للـ Gradient */
@keyframes bestsellerGradientWave {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

#Bestsellers .bg-gradient-to-t {

    animation: bestsellerGradientWave 6s ease infinite;
}

/* تأثير دوران خفيف للبطاقة عند التحميل */
@keyframes bestsellerEntrance {
    0% {
        opacity: 0;
        transform: perspective(1000px) rotateY(-15deg) translateY(30px);
    }
    100% {
        opacity: 1;
        transform: perspective(1000px) rotateY(0deg) translateY(0);
    }
}

/* تطبيق تأثير الدخول الثلاثي الأبعاد */
#Bestsellers .group {
    animation: bestsellerEntrance 1s ease-out backwards,
               bestsellerFloat 4s ease-in-out infinite 1s;
    transform-style: preserve-3d;
}

/* Responsive - تقليل الحركة على الموبايل */
@media (max-width: 768px) {
    #Bestsellers .group {
        animation: bestsellerSlideUp 0.8s ease-out backwards;
    }
    
    #Bestsellers .group > div,
    #Bestsellers .absolute.top-4,
    #Bestsellers a[href*="product"],
    #Bestsellers .material-symbols-outlined {
        animation: none;
    }
}

/* تحسين الأداء */
#Bestsellers .group,
#Bestsellers .group > div,
#Bestsellers .group img {
    will-change: transform, opacity;
}

/* إيقاف الأنيميشن عند التفاعل مع البطاقة */
#Bestsellers .group:hover {
    animation-play-state: paused;
}

#Bestsellers .group:hover > div {
    animation-play-state: paused;
}
/* ===============================
   Collection Title Outside Card
   (Isolated - No Conflicts)
   =============================== */

.collections-section .collection-card {
    padding-bottom: 80px; /* مساحة لعنوان المنتج */
}

.collections-section .collection-card > .collection-title {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    text-align: center;

      font-size: clamp(24px, 2.2vw, 32px);
    font-weight: 800;
    color: #2c1810;
    line-height: 1.4;

    z-index: 3;
    pointer-events: none;
}

/* إخفاء العنوان من داخل الـ overlay فقط */
.collections-section .collection-overlay .collection-title {
    display: none !important;
}

/* إخفاء العنوان عند hover على الكارت */
.collections-section .collection-card:hover > .collection-title {
    opacity: 0;
}
/* .collections-section .collection-card > .collection-title {
    color: #8b5e2e;


} */