/* Furniture Hero Section */
.furniture-hero {
    background: linear-gradient(135deg, rgba(0, 82, 155, 0.9) 0%, rgba(0, 52, 89, 0.9) 100%), 
                url('../images/furniturehero-bg.webp') center/cover no-repeat;
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.furniture-hero .hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.furniture-hero .hero-subtitle {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 30px;
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 1.1rem;
}

.furniture-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.furniture-hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Quick Stats Section */
.quick-stats {
    background: #f8f9fa;
    padding: 60px 0;
    border-bottom: 1px solid #e9ecef;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #00529b;
    margin-bottom: 10px;
    line-height: 1;
}

.stat-label {
    font-size: 1.1rem;
    color: #555;
    font-weight: 500;
}

/* Furniture Categories Grid */
.furniture-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.furniture-category-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
}

.furniture-category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

/* Category Images Gallery - UPDATED TO MATCH ESD-CONTROL.CSS */
.category-images {
    height: 250px;
    position: relative;
    background: #f8f9fa;
    overflow: hidden;
}

.category-images-container {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.category-image {
    flex: 0 0 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease;
}

.furniture-category-card:hover .category-image img {
    transform: scale(1.05);
}

/* Image Navigation - UPDATED TO MATCH ESD-CONTROL.CSS */
.category-image-nav {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.image-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.image-dot.active {
    background: #00529b;
    transform: scale(1.2);
}

.image-dot:hover {
    background: #007bff;
}

/* Image Navigation Arrows - UPDATED TO MATCH ESD-CONTROL.CSS */
.image-nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    color: #333;
    font-size: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.image-nav-arrow:hover {
    background: white;
    color: #00529b;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.image-nav-arrow.prev {
    left: 15px;
}

.image-nav-arrow.next {
    right: 15px;
}

.image-nav-arrow:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.image-nav-arrow:disabled:hover {
    background: rgba(255, 255, 255, 0.8);
    color: #333;
}

/* Category Content */
.category-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.category-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #00529b;
    font-weight: 700;
    line-height: 1.3;
}

.category-description {
    margin-bottom: 20px;
    line-height: 1.6;
    color: #555;
    flex: 1;
}

.category-features {
    list-style: none;
    margin-bottom: 25px;
    padding: 0;
}

.category-features li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
    line-height: 1.5;
    padding: 6px 0;
    color: #333;
}

.category-features i {
    color: #28a745;
    margin-right: 10px;
    margin-top: 3px;
    flex-shrink: 0;
    font-size: 0.9rem;
}

.furniture-category-card .btn {
    align-self: flex-start;
    margin-top: auto;
}

/* Features Section */
.features-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: #00529b;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
}

.feature-card h3 {
    margin-bottom: 15px;
    color: #00529b;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* Standards Section */
.standards-section {
    padding: 80px 0;
    background: white;
}

.standards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.standard-card {
    background: #f8f9fa;
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #e9ecef;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.standard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.standard-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #00529b, #007bff);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
}

.standard-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #00529b;
    font-weight: 600;
}

.standard-card p {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}

/* Section Styling (Common for all sections) */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.section-subtitle {
    display: inline-block;
    color: #00529b;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
    font-weight: 700;
}

.divider {
    width: 60px;
    height: 3px;
    background: #00529b;
    margin: 0 auto 25px;
    border-radius: 2px;
}

.section-description {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.6;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, #00529b 0%, #007bff 100%);
    color: white;
    text-align: center;
    padding: 80px 0;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Button Styling */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    font-size: 1rem;
    cursor: pointer;
}

.btn-primary {
    background: #00529b;
    color: white;
    border-color: #00529b;
}

.btn-primary:hover {
    background: #003d73;
    border-color: #003d73;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background: white;
    color: #00529b;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #00529b;
    border-color: #00529b;
}

.btn-outline:hover {
    background: #00529b;
    color: white;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .furniture-categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .furniture-hero {
        padding: 100px 0 60px;
    }
    
    .furniture-hero h1 {
        font-size: 2.5rem;
    }
    
    .furniture-categories-grid {
        grid-template-columns: 1fr;
    }
    
    .category-images {
        height: 200px;
    }
    
    .category-content {
        padding: 25px;
    }
    
    .standards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .furniture-hero h1 {
        font-size: 2.2rem;
    }
    
    .furniture-hero p {
        font-size: 1.1rem;
    }
    
    .quick-stats {
        padding: 40px 0;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .category-images {
        height: 180px;
    }
    
    .category-content {
        padding: 20px;
    }
    
    .category-title {
        font-size: 1.3rem;
    }
    
    .image-nav-arrow {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
    
    .image-nav-arrow.prev {
        left: 10px;
    }
    
    .image-nav-arrow.next {
        right: 10px;
    }
    
    .standards-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
    }
}

@media (max-width: 576px) {
    .furniture-hero {
        padding: 80px 0 40px;
    }
    
    .furniture-hero h1 {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .category-images {
        height: 160px;
    }
    
    .category-image {
        padding: 15px;
    }
    
    .category-content {
        padding: 18px;
    }
    
    .image-nav-arrow {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
}