/* Products Section Styles */
.products-section {
    position: relative;
    padding: 100px 0;
    background: #f8f9fa;
    overflow: hidden;
}

.products-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 223, 84, 0.02) 0%, rgba(255, 223, 84, 0.05) 100%);
    z-index: 0;
}

.products-section .container {
    position: relative;
    z-index: 1;
}

/* Section Header */
.section-header {
    margin-bottom: 60px;
}

.section-label {
    display: inline-block;
    padding: 8px 20px;
    background: #ffdf54;
    color: #000003;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 30px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(255, 223, 84, 0.3);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    color: #000003;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #ffdf54;
    border-radius: 2px;
}

.section-description {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #666666;
    max-width: 700px;
    margin: 0 auto;
}

/* Products Grid */
.products-grid {
    margin-top: 50px;
}

.product-card {
    height: 100%;
}

.product-card-inner {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card-inner:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 223, 84, 0.15);
}

/* Product Image */
.product-image-wrapper {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: #f8f9fa;
}

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

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

/* Product Overlay */
.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 223, 84, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card-inner:hover .product-overlay {
    opacity: 1;
}

.product-view-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: #000003;
    color: #ffdf54;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    transform: translateY(20px);
}

.product-card-inner:hover .product-view-btn {
    transform: translateY(0);
}

.product-view-btn:hover {
    background: #000003;
    color: #ffffff;
    transform: translateY(-2px);
}

.product-view-btn i {
    font-size: 1.2rem;
}

/* Product Content */
.product-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 1.375rem;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.4;
}

.product-title a {
    color: #000003;
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-title a:hover {
    color: #ffdf54;
}

.product-description {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #666666;
    margin-bottom: 20px;
    flex-grow: 1;
}

.product-footer {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
}

.product-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffdf54;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.product-link:hover {
    color: #000003;
    gap: 12px;
}

.product-link i {
    font-size: 0.875rem;
    transition: transform 0.3s ease;
}

[dir="rtl"] .product-link:hover i {
    transform: translateX(5px);
}

[dir="ltr"] .product-link:hover i {
    transform: translateX(-5px);
}

/* Responsive Design */
@media (max-width: 1199px) {
    .product-image-wrapper {
        height: 220px;
    }
}

@media (max-width: 991px) {
    .products-section {
        padding: 80px 0;
    }
    
    .section-header {
        margin-bottom: 50px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .product-image-wrapper {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .products-section {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-description {
        font-size: 1rem;
    }
    
    .product-image-wrapper {
        height: 180px;
    }
    
    .product-content {
        padding: 20px;
    }
    
    .product-title {
        font-size: 1.25rem;
    }
    
    .product-description {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .products-section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-label {
        font-size: 0.75rem;
        padding: 6px 15px;
    }
    
    .product-image-wrapper {
        height: 200px;
    }
    
    .product-view-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* RTL Specific Adjustments */
[dir="rtl"] .section-title::after {
    left: auto;
    right: 50%;
    transform: translateX(50%);
}

[dir="ltr"] .section-title::after {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
}

/* Animation Support */
.wow {
    visibility: hidden;
}

