/**
 * NetIOT Products Showcase CSS
 * All styles are scoped to #netiot-products-showcase to avoid conflicts
 */

/* Main container - all styles must be scoped to this ID */
#netiot-products-showcase {
    /* Base styling */
    padding: 0;
    color: #333;
    background-color: #ffffff;
}
#netiot-products-showcase .help-section .container {
    background-color: var(--light-gray);
    height: 120px;
    border-radius: 18px;
    color: black;
    box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.05);
    padding: 0 20px;
    padding-top: 20px;
    align-items: center;
}
/* Header section */
#netiot-products-showcase .page-header {
    padding: 40px 0 40px;
    text-align: center;
}

#netiot-products-showcase .page-title {
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #003366;
}

#netiot-products-showcase .page-subtitle {
    font-size: 27px;
    color: #6e6e73;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 400;
}

/* Help section */
#netiot-products-showcase .help-section {
    background-color: #ffffff;
    margin-bottom: 40px;
    padding: 0;
}

#netiot-products-showcase .help-section h2 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #003366;
}

#netiot-products-showcase .help-section p {
    font-size: 18px;
    color: #6e6e73;
    margin-bottom: 0;
}

#netiot-products-showcase .contact-btn {
    display: inline-block;
    background-color: #003366;
    color: white;
    font-size: 17px;
    font-weight: 400;
    padding: 12px 30px;
    border-radius: 980px;
    text-decoration: none;
    transition: all 0.3s ease;
}

#netiot-products-showcase .contact-btn:hover {
    background-color: #0071e3;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

/* Categories Navigation */
#netiot-products-showcase .product-categories-nav {
    margin-bottom: 40px;
}

#netiot-products-showcase .categories-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 15px;
}

#netiot-products-showcase .category-item {
    margin: 0;
}

#netiot-products-showcase .category-item a {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 30px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    background-color: #f5f5f7;
}

#netiot-products-showcase .category-item.active a {
    background-color: #003366;
    color: #fff;
}

#netiot-products-showcase .category-item a:hover {
    background-color: #e9e9eb;
    transform: translateY(-2px);
}

#netiot-products-showcase .category-item.active a:hover {
    background-color: #003366;
}

/* Products section */
#netiot-products-showcase .products-section {
    padding: 50px 0 80px;
    background-color: #ffffff;
}

#netiot-products-showcase .products-grid {
    margin-top: 0;
}

#netiot-products-showcase .product-column {
    margin-bottom: 40px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    align-items: center;
}

#netiot-products-showcase .product-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    cursor: pointer;
}

#netiot-products-showcase .product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

#netiot-products-showcase .product-card:focus {
    outline: 2px solid #0066cc;
}

#netiot-products-showcase .product-media {
    height: 220px;
    overflow: hidden;
    position: relative;
}

#netiot-products-showcase .product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

#netiot-products-showcase .product-card:hover .product-img {
    transform: scale(1.05);
}

/* Product Badge */
#netiot-products-showcase .product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: rgba(0, 51, 102, 0.8);
    color: white;
    border-radius: 30px;
    padding: 5px 15px;
    font-size: 12px;
    font-weight: 500;
    z-index: 1;
}

#netiot-products-showcase .product-icon {
    width: 50px;
    height: 50px;
    background-color: #f0f5ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    color: #003366;
    font-size: 20px;
    box-shadow: 0 4px 8px rgba(0, 51, 102, 0.1);
}

#netiot-products-showcase .product-details {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    border-top: 1px solid #d2d2d7;
}

#netiot-products-showcase .product-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #003366;
}

#netiot-products-showcase .product-desc {
    font-size: 14px;
    color: #6e6e73;
    margin-bottom: 20px;
    line-height: 1.4;
    flex-grow: 1;
}

#netiot-products-showcase .product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    border-top: 1px solid #d2d2d7;
    padding-top: 15px;
}

#netiot-products-showcase .install-info {
    font-size: 12px;
    color: #6e6e73;
    font-weight: 500;
}

#netiot-products-showcase .install-info i {
    color: #4CAF50;
    margin-left: 5px;
}

#netiot-products-showcase .details-link {
    color: #007AFF;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

#netiot-products-showcase .details-link:hover {
    text-decoration: none;
    opacity: 0.8;
}

#netiot-products-showcase .arrow-icon {
    margin-right: 8px;
    font-size: 16px;
    transition: transform 0.3s ease;
}

#netiot-products-showcase .details-link:hover .arrow-icon {
    transform: translateX(3px);
}

/* RTL Specific - always scoped to the main ID */
html[dir="rtl"] #netiot-products-showcase .arrow-icon {
    margin-right: 0;
    margin-left: 8px;
    transform: rotate(180deg);
}

html[dir="rtl"] #netiot-products-showcase .details-link:hover .arrow-icon {
    transform: translateX(-3px) rotate(180deg);
}

html[dir="rtl"] #netiot-products-showcase .product-details {
    text-align: right;
}

html[dir="rtl"] #netiot-products-showcase .help-section h2 {
    text-align: right;
}

html[dir="rtl"] #netiot-products-showcase .help-section p {
    text-align: right;
}

html[dir="rtl"] #netiot-products-showcase .product-footer {
    flex-direction: row-reverse;
}

html[dir="rtl"] #netiot-products-showcase .product-badge {
    right: auto;
    left: 15px;
}

html[dir="rtl"] #netiot-products-showcase .install-info i {
    margin-left: 0;
    margin-right: 5px;
}

/* Responsive styles - all scoped to the main ID */
@media (max-width: 991.98px) {
    #netiot-products-showcase .page-header {
        background-color: white;
        padding: 80px 0 40px;
    }
    
    #netiot-products-showcase .page-title {
        font-size: 36px;
    }
    
    #netiot-products-showcase .page-subtitle {
        font-size: 22px;
    }
    
    #netiot-products-showcase .help-section {
        text-align: center;
    }
    
    #netiot-products-showcase .col-md-6.text-end {
        text-align: center !important;
        margin-top: 30px;
    }
}

@media (max-width: 767.98px) {
    #netiot-products-showcase .page-title {
        font-size: 28px;
    }
    
    #netiot-products-showcase .page-subtitle {
        font-size: 18px;
    }
    
    #netiot-products-showcase .product-media {
        height: 180px;
    }
    
    html[dir="rtl"] #netiot-products-showcase .help-section h2,
    html[dir="rtl"] #netiot-products-showcase .help-section p {
        text-align: center;
    }
    
    #netiot-products-showcase .categories-list {
        flex-direction: column;
        align-items: center;
    }
    
    #netiot-products-showcase .category-item {
        width: 100%;
        margin-bottom: 10px;
        text-align: center;
    }
    
    #netiot-products-showcase .category-item a {
        width: 100%;
        display: block;
    }
} 