/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #fbfbfb;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero {
        min-height: 700px;
        padding: 1rem 0;
    }

    .hero-content {
        padding: 0 1rem;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 100%;
    }

    .hero-title {
        font-size: 2.5rem;
        line-height: 1.1;
    }

    .hero-description {
        font-size: 1rem;
        line-height: 1.5;
        padding: 0 0.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.8rem;
        width: 100%;
        max-width: 280px;
    }

    .btn {
        width: 100%;
    }

    .hero-stats {
        transform: none;
        margin-top: auto;
        display: flex;
        margin-top: 10%;
        margin-left: -50%;
        gap: 1.5rem; /* Reduce gap between items */
        padding: 0 1rem;
        align-items: center; /* Center align all items */
        width: 100%;
    }

    .stat-item {
        text-align: center;
        width: 100%; /* Full width for each stat item */
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }
    
    story {
        padding: 4rem 0;
    }

    .story-content {
        display: flex;
        flex-direction: column;
        gap: 3rem;
        text-align: center;
        align-items: center;
    }

    .story-text {
        max-width: 100%;
        order: 2; /* Put text after image */
    }

    .story-visual {
        order: 1; /* Put image first */
        width: 100%;
        max-width: 400px;
    }

    .story-image {
        height: 300px;
        margin: 0 auto;
    }

    .story-features {
        align-items: center;
    }

    .feature {
        flex-direction: column;
        text-align: center;
        align-items: center;
        max-width: 300px;
    }

    .feature-icon {
        margin-bottom: 0.5rem;
    }
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .facility-gallery {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .main-image {
        height: 350px;
    }
    
    .gallery-thumbnails {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .thumbnail {
        flex-direction: column;
        text-align: center;
        padding: 0.8rem;
    }
    
    .thumbnail .image-placeholder {
        width: 100%;
        height: 80px;
    }
    
    .facility-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .facility-stat {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}
