/* Brand Section Styles */
.main_product {
    padding: 100px 20px;
    background-color: #fff;
    text-align: center;
}

.common-box {
    margin-bottom: 60px;
}

.common-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    color: #111;
}

.common-title span {
    color: #007bff;
    /* Example highlight color */
    display: block;
    margin-bottom: 10px;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.common-text {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    word-break: keep-all;
}

.product_list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 0;
    list-style: none;
    max-width: 1400px;
    margin: 0 auto;
}

.product_list li {
    width: calc(33.333% - 20px);
    min-width: 300px;
    background-color: #f8f9fa; /* Fallback */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 15px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    height: 350px; /* Fixed height for cards */
}

/* Dark overlay for readability */
.product_list li::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.8));
    z-index: 1;
    transition: background 0.3s ease;
}

.product_list li:hover::before {
    background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.9));
}

.product_list li:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.product_list a {
    display: block;
    padding: 40px 30px;
    text-decoration: none;
    color: #fff; /* Text color change to white */
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end; /* Align text to bottom */
    position: relative;
    z-index: 2; /* Ensure text is above overlay */
    text-align: left; /* Align text left for modern feel */
    align-items: flex-start; /* Align text left */
}

.product_list h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.product_list p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    word-break: keep-all;
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* Specific Background Images */
._hyphen_design {
    background-image: url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&q=80&w=1600');
}

._five_percent {
    background-image: url('https://images.unsplash.com/photo-1497215728101-856f4ea42174?auto=format&fit=crop&q=80&w=1600');
}

._interior_code {
    background-image: url('https://images.unsplash.com/photo-1556761175-4b46a572b786?auto=format&fit=crop&q=80&w=1600');
}

._ten_years {
    background-image: url('https://images.unsplash.com/photo-1600607686527-6fb886090705?auto=format&fit=crop&q=80&w=1600');
}

._office_fit {
    background-image: url('https://images.unsplash.com/photo-1524758631624-e2822e304c36?auto=format&fit=crop&q=80&w=1600');
}

@media (max-width: 768px) {
    .common-title {
        font-size: 2rem;
    }

    .product_list li {
        width: 100%;
        height: 300px; /* Slightly smaller on mobile */
    }
}