





.about-hero {
    position: relative;
    width: 100%;
    padding: 0;
    overflow: hidden;
    height: 600px;
}

.about-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); 
    z-index: 1;
    transition: opacity 0.3s ease;
}

.about-hero-content-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    text-align: center;
    transition: opacity 0.3s ease;
}

.about-hero-title {
    font-size: 4rem;
    font-weight: 800;
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
    margin: 0;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}


#about-cards-container {
    min-height: 0;
}


#about-cards-container:empty {
    display: none;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.factory-showcase {
    padding: 100px 0;
    background-color: #fff;
    border-bottom: 1px solid #eee;
}

.factory-showcase:nth-child(even) {
    background-color: #f8f9fa;
}

.about-card-container {
    display: flex;
    gap: 80px;
    align-items: flex-start;
}

.about-card-container.reversed {
    flex-direction: row-reverse;
}

.about-card-media {
    flex: 1;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    height: 400px; 
    min-width: 0; 
}

.about-card-media img,
.about-card-media video {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
    transition: transform 0.5s ease;
}

.about-card-media:hover img {
    transform: scale(1.05);
}

.about-card-content {
    flex: 1;
    padding: 20px 0;
}

.about-card-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: #1a1a1a;
    position: relative;
    padding-bottom: 15px;
}

.about-card-content h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 4px;
    background-color: var(--primary-blue);
    border-radius: 2px;
}

.about-card-content p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 0;
}


@media (max-width: 992px) {
    .about-hero-title {
        font-size: 3rem;
    }

    .about-card-container,
    .about-card-container.reversed {
        flex-direction: column;
        gap: 40px;
    }

    .about-card-media {
        width: 100%;
        height: 300px; 
    }

    .about-card-content h2 {
        font-size: 2rem;
    }
}

