:root {
    --primary: #0E386F;
    --accent: #0E386F;
    --light: #f8f9fa;
    --dark: #212529;
    --text: #333333;
    --gray: #6c757d;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text);
    margin: 0;
    padding: 0;
}

.industry-slider-section {
    padding: 60px 20px;
    background-color: var(--light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    font-size: 1rem;
    color: var(--gray);
    margin-bottom: 40px;
}

/* Main Slider Controls */
.main-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.main-nav {
    background: var(--primary);
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-nav:hover {
    background: #0c2e5a;
}

.main-dots {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.main-dot {
    padding: 8px 18px;
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-dot:hover {
    background: rgba(14, 56, 111, 0.1);
}

.main-dot.active {
    background: var(--primary);
    color: white;
}

/* Main Slides */
.main-slide {
    display: none;
    animation: fadeIn 0.6s ease;
}

.main-slide.active {
    display: block;
}

.industry-header {
    text-align: center;
    margin-bottom: 30px;
}

.industry-header h3 {
    font-size: 1.5rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Product Grid - Updated for 4 cards */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    padding: 0;
}

.product-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.product-card img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    margin-bottom: 15px;
    border-radius: 6px;
    background: #f5f5f5;
    padding: 10px;
}

.product-card h5 {
    font-size: 1rem;
    color: var(--dark);
    margin-bottom: 8px;
    font-weight: 600;
}

.product-card p {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 15px;
    flex-grow: 1;
}

.product-cta {
    display: inline-block;
    padding: 8px 20px;
    background: var(--primary);
    color: white;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.product-cta:hover {
    background: #0c2e5a;
    transform: translateY(-2px);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .product-card {
        padding: 18px;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .industry-header h3 {
        font-size: 1.3rem;
    }
    
    .main-dot {
        padding: 6px 15px;
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .product-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .product-card img {
        height: 160px;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .main-controls {
        gap: 10px;
    }
    
    .main-dots {
        order: 1;
        width: 100%;
        margin: 15px 0;
    }
    
    .main-nav.prev {
        order: 0;
    }
    
    .main-nav.next {
        order: 2;
    }
}