/*
=====================================
AQUIBON WEBSITE - IRRIGATION PRODUCTS PAGE CSS
=====================================
Project: Aquibon Water & Solar Solutions
Developer: Blaxium Hub
Author: Brian Guvava
Version: 1.0.0
=====================================
*/

/* ===== IRRIGATION PRODUCTS HERO SECTION ===== */
.irrigation-products-hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-blue) 100%);
}

.irrigation-products-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.irrigation-products-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(46, 125, 50, 0.8) 0%,
        rgba(21, 101, 192, 0.7) 50%,
        rgba(33, 33, 33, 0.6) 100%
    );
    z-index: 2;
}

.irrigation-products-hero-content {
    position: relative;
    z-index: 3;
    color: white;
    text-align: center;
}

.irrigation-products-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-title__black {
    color: var(--text-dark);
}

.hero-title__orange {
    color: var(--primary-orange);
}

.hero-title__green {
    color: var(--primary-green);
}

.irrigation-products-hero-subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.irrigation-products-hero-stats {
    margin: 3rem 0;
}

.stat-item {
    text-align: center;
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-orange);
    display: block;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.irrigation-products-hero-actions {
    margin-top: 2rem;
}

.irrigation-products-hero-actions .btn {
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.irrigation-products-hero-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* ===== IRRIGATION PRODUCTS CATALOG SECTION ===== */
.irrigation-products-catalog-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.irrigation-products-catalog-section .section-header {
    margin-bottom: 60px;
}

.irrigation-products-catalog-section .section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.irrigation-products-catalog-section .section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== PRODUCT FILTERS ===== */
.product-filters {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.search-box {
    position: relative;
}

.search-box input {
    padding: 12px 50px 12px 20px;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-box input:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.2rem rgba(46, 125, 50, 0.25);
    outline: none;
}

.search-box i {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.filter-btn {
    padding: 8px 20px;
    border: 2px solid #e9ecef;
    background: #fff;
    color: var(--text-secondary);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-green);
    border-color: var(--primary-green);
    color: #fff;
    transform: translateY(-2px);
}

/* ===== PRODUCT CATEGORIES GRID ===== */
.product-categories-grid {
    margin-top: 60px;
    margin-bottom: 60px;
    /* Use CSS Grid for better control */
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 30px;
    align-items: stretch;
}

/* Remove Bootstrap column classes for grid control */
.product-categories-grid .product-category {
    display: flex;
    margin-bottom: 0; /* Remove margin as grid handles spacing */
}

.product-categories-grid .product-category-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
    min-height: 450px;
    transform: translateY(0);
    border: 2px solid transparent;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(135deg, #fff 0%, #fcfcfc 100%);
}

/* ===== PRODUCT CATEGORY CARD STYLES ===== */
.category-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--secondary-blue), var(--primary-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
}

.category-icon i {
    font-size: 2rem;
    color: #fff;
    transition: all 0.3s ease;
}

.product-category-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.3;
}

.product-category-card p {
    color: var(--text-secondary);
    margin-bottom: 25px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.category-features {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    text-align: left;
}

.category-features li {
    display: flex;
    align-items: center;
    padding: 8px 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.category-features li i {
    color: var(--primary-green);
    margin-right: 10px;
    font-size: 0.8rem;
    width: 16px;
    text-align: center;
}

.efficiency-rating {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 15px;
    padding: 15px 20px;
    margin: 25px 0;
    text-align: center;
}

.rating-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: block;
    margin-bottom: 5px;
}

.rating-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-green);
}

.category-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--accent-orange), #ff6b35);
    color: #fff;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 3;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

/* ===== PRODUCT CATEGORY CARD HOVER EFFECTS ===== */
.product-category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(21, 101, 192, 0.1),
        transparent
    );
    transition: left 0.8s ease;
    z-index: 1;
}

.product-category-card:hover::before {
    left: 100%;
}

.product-category-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.2);
    border-color: var(--secondary-blue);
}

.product-category-card:hover .category-icon {
    transform: scale(1.1) rotateY(360deg);
    background: linear-gradient(135deg, var(--accent-orange), var(--secondary-blue));
}

.product-category-card:hover .category-features li {
    color: var(--text-dark);
    transform: translateX(5px);
}

.product-category-card:hover .btn {
    background: var(--primary-green);
    border-color: var(--primary-green);
    color: #fff;
    transform: translateY(-2px);
}

.product-category-card.featured {
    background: linear-gradient(135deg, #fff 0%, #f8fff9 100%);
    border: 2px solid var(--primary-green);
}

.product-category-card.featured .category-icon {
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-blue));
    box-shadow: 0 10px 30px rgba(46, 125, 50, 0.3);
}

/* ===== PRODUCT DETAILS SECTION ===== */
.product-details-section {
    padding: 100px 0;
    background: #fff;
}

.products-grid {
    display: grid;
    gap: 40px;
}

.product-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.product-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--accent-orange);
    color: #fff;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.product-info {
    padding: 30px;
}

.product-info h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.product-info p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.product-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.spec {
    background: #f8f9fa;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    white-space: nowrap;
}

.spec i {
    color: var(--primary-green);
    margin-right: 5px;
}

.water-efficiency-chart {
    margin-bottom: 20px;
}

.water-efficiency-chart h6 {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.efficiency-bar {
    position: relative;
    height: 20px;
    background: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
}

.efficiency-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-green), var(--secondary-blue));
    border-radius: 10px;
    transition: width 1s ease;
}

.efficiency-text {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    font-weight: 600;
    font-size: 0.8rem;
    color: #fff;
}

.crop-suitability {
    margin-bottom: 25px;
}

.crop-suitability h6 {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.crop-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.crop-tag {
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-blue));
    color: #fff;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.product-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.product-actions .btn {
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    flex: 1;
    min-width: 120px;
}

/* ===== INSTALLATION GUIDE & SIDEBAR ===== */
.sticky-sidebar {
    position: sticky;
    top: 120px;
    height: fit-content;
}

.guide-section,
.maintenance-schedule,
.case-study {
    background: #fff;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    margin-bottom: 25px;
}

.guide-section h5,
.maintenance-schedule h5,
.case-study h5 {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.guide-section h5 i,
.maintenance-schedule h5 i,
.case-study h5 i {
    color: var(--primary-green);
}

.installation-steps .step {
    display: flex;
    margin-bottom: 20px;
    align-items: flex-start;
}

.step-number {
    width: 30px;
    height: 30px;
    background: var(--primary-green);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    margin-right: 15px;
    flex-shrink: 0;
}

.step-content h6 {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.step-content p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.4;
}

.maintenance-tasks .task {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #e9ecef;
}

.maintenance-tasks .task:last-child {
    border-bottom: none;
}

.frequency {
    font-weight: 600;
    font-size: 0.8rem;
    padding: 4px 12px;
    border-radius: 12px;
    color: #fff;
}

.task.daily .frequency {
    background: var(--accent-orange);
}

.task.weekly .frequency {
    background: var(--secondary-blue);
}

.task.monthly .frequency {
    background: var(--primary-green);
}

.task.seasonal .frequency {
    background: var(--text-secondary);
}

.task-name {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.case-study-content h6 {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.case-study-content p {
    color: var(--text-secondary);
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.case-study-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.case-study-content li {
    padding: 5px 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    position: relative;
    padding-left: 20px;
}

.case-study-content li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: 600;
}

/* ===== COMPARISON SECTION ===== */
.irrigation-comparison-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.comparison-tool {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.comparison-selector h5 {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 25px;
}

.product-selector-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.selector-item {
    position: relative;
}

.selector-item input[type="checkbox"] {
    display: none;
}

.selector-item label {
    display: block;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.selector-item label:hover {
    border-color: var(--primary-green);
    transform: translateY(-2px);
}

.selector-item input[type="checkbox"]:checked + label {
    background: var(--primary-green);
    border-color: var(--primary-green);
    color: #fff;
}

.selector-item label img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 10px;
}

.selector-item label span {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
}

.comparison-table-container {
    margin-top: 30px;
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.comparison-table th,
.comparison-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.comparison-table th {
    background: var(--primary-green);
    color: #fff;
    font-weight: 600;
}

.comparison-table tbody tr:nth-child(even) {
    background: #f8f9fa;
}

.comparison-table td:first-child {
    font-weight: 600;
    color: var(--text-dark);
    background: #fff !important;
}

/* ===== TECHNICAL RESOURCES SECTION ===== */
.technical-resources-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.technical-resources-section .section-header {
    margin-bottom: 60px;
}

.resource-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.resource-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(21, 101, 192, 0.1),
        transparent
    );
    transition: left 0.8s ease;
    z-index: 1;
}

.resource-card:hover::before {
    left: 100%;
}

.resource-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.2);
    border-color: var(--secondary-blue);
}

.resource-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, var(--secondary-blue), var(--primary-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
}

.resource-card:hover .resource-icon {
    transform: scale(1.1) rotateY(360deg);
    background: linear-gradient(135deg, var(--accent-orange), var(--secondary-blue));
}

.resource-icon::after {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(135deg, var(--accent-orange), var(--primary-green));
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.resource-card:hover .resource-icon::after {
    opacity: 1;
}

.resource-icon i {
    font-size: 2rem;
    color: #fff;
    transition: all 0.3s ease;
}

.resource-card h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

.resource-card:hover h4 {
    color: var(--secondary-blue);
}

.resource-card p {
    color: var(--text-secondary);
    margin-bottom: 25px;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.resource-card .btn {
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    position: relative;
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.resource-card .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
    z-index: -1;
}

.resource-card .btn:hover::before {
    left: 100%;
}

.resource-card .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(21, 101, 192, 0.3);
}

/* ===== IRRIGATION PRODUCTS CTA SECTION ===== */
.irrigation-products-cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-blue) 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.irrigation-products-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    background-size: 50px 50px;
    opacity: 0.3;
    animation: float 10s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.cta-content {
    position: relative;
    z-index: 2;
}

.irrigation-products-cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.irrigation-products-cta-section .lead {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.95;
    line-height: 1.6;
}

.cta-buttons {
    margin-bottom: 50px;
}

.cta-buttons .btn {
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.cta-stats .stat-item {
    text-align: center;
    margin-bottom: 20px;
}

.cta-stats .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-orange);
    display: block;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.cta-stats .stat-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
    .filter-buttons {
        justify-content: center;
        margin-top: 20px;
    }
    
    .sticky-sidebar {
        position: static;
        margin-top: 40px;
    }
    
    .product-actions {
        justify-content: center;
    }
    
    .product-selector-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

@media (max-width: 768px) {
    .irrigation-products-hero-title {
        font-size: 2.5rem;
    }
    
    .irrigation-products-hero-subtitle {
        font-size: 1rem;
    }
    
    .product-categories-grid {
        margin-top: 40px;
        row-gap: 30px;
    }
    
    .product-category-card {
        padding: 30px 20px;
    }
    
    .category-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 20px;
    }
    
    .category-icon i {
        font-size: 1.5rem;
    }
    
    .product-category-card h3 {
        font-size: 1.3rem;
    }
    
    .filter-buttons {
        justify-content: center;
        margin-top: 20px;
    }
    
    .filter-btn {
        font-size: 0.8rem;
        padding: 6px 15px;
    }
}

@media (max-width: 576px) {
    .product-categories-grid {
        row-gap: 20px;
    }
    
    .irrigation-products-hero-actions .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
        margin-bottom: 10px;
        display: block;
        width: 100%;
    }
    
    .irrigation-products-hero-actions .btn + .btn {
        margin-left: 0;
    }
}

/* ===== LEGACY CSS GRID UTILITIES (NO LONGER NEEDED) ===== */
/* These rules are now handled by CSS Grid layout above */

/* ===== ENHANCED HOVER STATES ===== */
.product-category-card:hover .category-features li i {
    animation: iconBounce 0.6s ease-in-out;
}

@keyframes iconBounce {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }
    25% {
        transform: scale(1.3) rotate(5deg);
    }
    50% {
        transform: scale(1.2) rotate(-5deg);
    }
    75% {
        transform: scale(1.3) rotate(3deg);
    }
}

.product-category-card:hover .btn {
    letter-spacing: 1px;
}

/* ===== PERFORMANCE OPTIMIZATIONS ===== */
.product-category-card {
    will-change: transform, box-shadow;
}

.category-icon {
    will-change: transform, background;
}

/* ===== ACCESSIBILITY IMPROVEMENTS ===== */
.filter-btn:focus,
.product-actions .btn:focus,
.selector-item label:focus {
    outline: 2px solid var(--primary-green);
    outline-offset: 2px;
}

.search-box input:focus {
    outline: none;
}

/* Screen reader only text */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===== LOADING STATES ===== */
.loading-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* ===== ENHANCED ANIMATIONS FOR 3x2 GRID ===== */
/* Enhanced staggered animation delays for 3x2 grid */
.product-category:nth-child(1) .product-category-card { 
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.1s; 
    opacity: 0;
}
.product-category:nth-child(2) .product-category-card { 
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.2s; 
    opacity: 0;
}
.product-category:nth-child(3) .product-category-card { 
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.3s; 
    opacity: 0;
}
.product-category:nth-child(4) .product-category-card { 
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.4s; 
    opacity: 0;
}
.product-category:nth-child(5) .product-category-card { 
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.5s; 
    opacity: 0;
}
.product-category:nth-child(6) .product-category-card { 
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.6s; 
    opacity: 0;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(60px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ===== ADDITIONAL GRID ENHANCEMENTS ===== */
.product-categories-grid .product-category {
    transition: all 0.3s ease;
}

/* Pulse effect on hover for better interactivity */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.product-category-card:hover .category-icon {
    animation: pulse 1s infinite;
}

/* Loading state animation */
.product-categories-grid.loading .product-category-card {
    opacity: 0.5;
    transform: scale(0.95);
    transition: all 0.3s ease;
}
