/* Products Section */
.category-nav {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 10px;
}

.category-nav button {
    padding: 10px 20px;
    background-color: #eee;
    font-weight: 500;
}

.category-nav button:hover, .category-nav button.active {
    background-color: var(--primary-color);
    color: white;
}

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

.product-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid rgba(26, 117, 188, 0.1);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(to bottom, rgba(26, 117, 188, 0.05), transparent);
    transition: height 0.5s ease;
    z-index: -1;
}

.product-card:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.product-card:hover::before {
    height: 100%;
}

.product-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.product-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(to top, rgba(0,0,0,0.3), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.product-card:hover .product-image::after {
    opacity: 1;
}

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

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

.product-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    position: relative;
    z-index: 2;
}

.product-info h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 10px;
}

.product-info h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.product-card:hover .product-info h3::after {
    width: 100%;
}

.product-description {
    color: #666;
    margin-bottom: 15px;
    flex-grow: 1;
}

.product-action {
    display: flex;
    justify-content: center;
    margin-top: auto;
}

.inquiry-button {
    background: linear-gradient(to left, #25D366, #128C7E);
    color: white;
    padding: 12px 25px;
    border-radius: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    font-weight: bold;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    width: 100%;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    border: 2px solid transparent;
}

.inquiry-button i {
    margin-left: 10px;
    margin-right: 0;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.inquiry-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(37, 211, 102, 0.4);
    border-color: white;
}

.inquiry-button:hover i {
    transform: scale(1.2);
}

.inquiry-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: width 0.4s ease;
    z-index: -1;
}

.inquiry-button:hover::before {
    width: 100%;
}

@media (min-width: 992px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1200px) {
    .product-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .inquiry-button {
        padding: 10px 20px;
    }
}