/* Products Page Specific Styles */
.video-card {
    position: relative;
    overflow: visible;
    transition: all 0.3s ease;
}

.video-icon-container {
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
}

.card-video {
    position: absolute;
    top: -220px;
    left: 50%;
    transform: translateX(-50%) scale(0.8);
    width: 320px;
    height: 240px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 100;
    border: 4px solid #08A045;
}

.video-card:hover .card-video {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) scale(1.1);
    top: -240px;
}

/* Center the video icon containers */
.video-icon-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.video-card:hover .video-icon-container {
    transform: translateY(-10px);
}

/* Center the video cards content */
.video-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 25px;
    transition: all 0.4s ease;
}

.video-card h4 {
    margin: 15px 0;
    text-align: center;
    width: 100%;
}

.video-card p {
    text-align: center;
    width: 100%;
    margin-bottom: 15px;
}

.video-card:hover .flaticon-light-bulb,
.video-card:hover .flaticon-secure-data,
.video-card:hover .flaticon-high-quality {
    color: #08A045;
    transform: scale(1.1);
}

.video-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(8, 160, 69, 0.25);
    border: 2px solid #08A045;
}

/* Additional hover effects for product cards */
.services__one-item {
    transition: all 0.4s ease;
    transform: translateY(0);
}

.services__one-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(8, 160, 69, 0.2) !important;
}

.services__one-item:hover h4 {
    color: #08A045;
    transition: color 0.3s ease;
}

.services__one-item:hover p {
    transform: translateY(-2px);
    transition: transform 0.3s ease;
}

.services__one-item:hover .more_btn {
    transform: translateX(5px);
    transition: transform 0.3s ease;
}

/* Product category cards hover effects */
.services__page .services__one-item:hover {
    background: linear-gradient(135deg, #f8fff9 0%, #e8f5e9 100%);
    border-left: 4px solid #08A045;
}

.services__page .services__one-item:hover i {
    color: #0B6E4F;
    transform: scale(1.1);
    transition: all 0.3s ease;
}

/* More button hover effects */
.more_btn {
    transition: all 0.3s ease;
}

.more_btn:hover {
    color: #0B6E4F;
    transform: translateX(5px);
}

/* Technical specifications hover effects */
.choose__us-left img:hover {
    transform: scale(1.02);
    transition: transform 0.3s ease;
}

.choose__us-right-skill-item-progress-bar {
    transition: width 1.5s ease-in-out;
}

.choose__us-right-skill-item:hover .choose__us-right-skill-item-progress-bar {
    background: linear-gradient(90deg, #08A045 0%, #6BBF59 100%);
}

/* Enhanced Product Catalog Styles */
.product-catalog {
    padding: 80px 0;
}

.category-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.category-header h2 {
    color: #08A045;
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.category-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #08A045, #6BBF59);
    border-radius: 2px;
}

.category-header p {
    color: #555;
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.product-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 8px 30px rgba(8, 160, 69, 0.12);
    transition: all 0.4s ease;
    border: 1px solid #e8f5e8;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #08A045 0%, #6BBF59 50%, #0B6E4F 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(8, 160, 69, 0.2);
    border-color: #08A045;
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    transition: all 0.4s ease;
    filter: grayscale(20%);
    margin-bottom: 20px;
}

.product-card:hover .product-image {
    transform: scale(1.05);
    filter: grayscale(0%);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.product-title {
    color: #222222;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.product-card:hover .product-title {
    color: #08A045;
}

.product-tagline {
    color: #08A045;
    font-style: italic;
    font-weight: 500;
    margin-bottom: 15px;
    font-size: 16px;
}

.product-description {
    color: #555855;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.product-features {
    background: rgba(8, 160, 69, 0.05);
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
}

.product-features h5 {
    color: #0B6E4F;
    font-size: 14px;
    margin-bottom: 10px;
    font-weight: 600;
}

.product-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-features li {
    color: #555;
    font-size: 13px;
    margin-bottom: 5px;
    padding-left: 15px;
    position: relative;
}

.product-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #08A045;
    font-weight: bold;
}

.category-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, #08A045, transparent);
    margin: 60px 0;
    border: none;
}

/* Filter and Search Controls */
.catalog-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.category-filter {
    background: white;
    border: 2px solid #e8f5e8;
    border-radius: 25px;
    padding: 12px 25px;
    font-size: 16px;
    color: #555;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-filter:hover,
.category-filter.active {
    background: #08A045;
    color: white;
    border-color: #08A045;
}

/* Responsive Design */
@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .product-card {
        padding: 20px;
    }
    
    .category-header h2 {
        font-size: 28px;
    }
    
    .catalog-controls {
        flex-direction: column;
        align-items: center;
    }
    
    .category-filter {
        width: 200px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .product-image {
        height: 180px;
    }
    
    .product-title {
        font-size: 18px;
    }
}
