.mfg-wrapper {
    position: relative;
    width: 100%;
    padding: 40px 20px;
    margin: 0 auto;
}

.mfg-carousel-container {
    position: relative;
    width: 100%;
    max-width: 1400px;
    height: 480px;
    margin: 0 auto;
    perspective: 1000px;
    overflow: visible;
}

.mfg-carousel {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mfg-carousel-item {
    position: absolute;
    width: 320px;
    height: 420px;
    flex-shrink: 0;
    transform-style: preserve-3d;
    transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.mfg-item-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

.mfg-carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    display: block;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

/* Center Overlay Icon */
.mfg-overlay-icon {
    position: absolute;
    width: 70px;
    height: 70px;
    background-color: #17a2a2;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(23, 162, 162, 0.4);
}

.mfg-overlay-icon::after {
    content: '↗';
    font-size: 32px;
    color: white;
    font-weight: bold;
    line-height: 1;
}

.mfg-carousel-item:hover .mfg-overlay-icon {
    transform: translate(-50%, -50%) scale(1.15);
    background-color: #0f8888;
    box-shadow: 0 8px 30px rgba(23, 162, 162, 0.5);
}

/* Navigation Controls */
.mfg-nav-controls {
    position: absolute;
    bottom: 50%;
    left: 0;
    right: 0;
    transform: translateY(50%);
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 15;
    pointer-events: none;
    width: 100%;
}

.mfg-nav-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background-color: #2d3e4f;
    color: #ffffff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: bold;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    flex-shrink: 0;
    pointer-events: auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.mfg-nav-prev {
    background-color: #2d3e4f;
}

.mfg-nav-next {
    background-color: #ffc107;
    color: #333;
}

.mfg-nav-btn:hover {
    transform: scale(1.2);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.mfg-nav-btn:active {
    transform: scale(0.95);
}

.mfg-arrow {
    line-height: 1;
    display: block;
}

/* Footer with Creator Info */
.mfg-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-top: 60px;
    padding: 25px;
    background: linear-gradient(135deg, #f5f5f5 0%, #fafafa 100%);
    border-radius: 12px;
    border: 1px solid #e0e0e0;
}

.mfg-creator-info {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
}

.mfg-created-by {
    color: #666;
    font-weight: 500;
}

.mfg-facebook-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #1877f2;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.mfg-facebook-link:hover {
    color: #0a66c2;
    transform: translateY(-2px);
}

.mfg-facebook-link i {
    font-size: 16px;
}

.mfg-view-details {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, #0a66c2 0%, #0052a3 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(10, 102, 194, 0.3);
}

.mfg-view-details:hover {
    background: linear-gradient(135deg, #054a94 0%, #003d7a 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(10, 102, 194, 0.4);
}

/* Responsive */
@media (max-width: 1200px) {
    .mfg-carousel-container {
        height: 400px;
    }

    .mfg-carousel-item {
        width: 280px;
        height: 360px;
    }
}

@media (max-width: 768px) {
    .mfg-carousel-container {
        height: 320px;
    }

    .mfg-carousel-item {
        width: 220px;
        height: 280px;
    }

    .mfg-nav-btn {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }

    .mfg-overlay-icon {
        width: 55px;
        height: 55px;
    }

    .mfg-overlay-icon::after {
        font-size: 24px;
    }

    .mfg-nav-controls {
        padding: 0 15px;
    }

    .mfg-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        margin-top: 50px;
    }
}

@media (max-width: 480px) {
    .mfg-carousel-container {
        height: 260px;
    }

    .mfg-carousel-item {
        width: 170px;
        height: 220px;
    }

    .mfg-carousel-item img {
        border-radius: 12px;
    }

    .mfg-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .mfg-overlay-icon {
        width: 48px;
        height: 48px;
    }

    .mfg-overlay-icon::after {
        font-size: 20px;
    }

    .mfg-nav-controls {
        padding: 0 10px;
    }

    .mfg-footer {
        flex-direction: column;
        padding: 15px;
        margin-top: 40px;
    }

    .mfg-view-details {
        width: 100%;
        text-align: center;
    }
}
