body {
    font-family: "Poppins", sans-serif;
    margin: 0;
    padding: 0;
    background-color: #121212;
    color: #ffffff;
}

.container {
    width: 100%;
    margin: auto;
}

.header-container {
    display: flex;
    justify-content: space-between;
}

header {
    background: #1f1f1fc4;
    padding: 10px 0;
    display: flex;
    text-align: center;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: background 0.3s;
}

header img {
    margin-left: 5px;
}
.logo {
    width: 40px;
}

#mobile-nav {
    display: none;
    position: absolute;
    top: 60px;
    right: 0;
    background-color: #444;
    width: 100%;
    text-align: center;
}

#mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#mobile-nav ul li {
    padding: 15px;
    border-bottom: 1px solid #555;
}

#mobile-nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    display: block;
}

#mobile-nav ul li a:hover {
    color: #f1c40f;
}

.menu-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
}

#mobile-nav.active {
    display: block;
}

.scrolled {
    background: #1f1f1f;
}

header:hover {
    background: #1f1f1f;
}

.hero {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero h2 {
    font-size: 2.5em;
    animation: fadeIn 1.5s ease-in-out;
}

.hero p {
    font-size: 1.4em;
    margin-top: 10px;
    animation: fadeIn 2s ease-in-out;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background: #f1c40f;
    color: #121212;
    text-decoration: none;
    font-weight: bold;
    margin-top: 20px;
    transition: transform 0.3s, background 0.3s;
}

.btn:hover {
    transform: scale(1.1);
    background: #e67e22;
}

.products,
.services,
.contact {
    padding: 80px 20px;
    text-align: center;
}

.product-list {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.product-list img {
    width: 100%;
    height: 250px;
    object-fit: scale-down;
    object-position: center;
}

.product {
    background: #1f1f1f;
    padding: 20px;
    border-radius: 10px;
    width: 250px;
    text-align: center;
    transition: transform 0.3s;
}

.services ul {
    list-style-type: none;
}
.product:hover {
    transform: translateY(-10px);
}

.product img {
    width: 100%;
    border-radius: 10px;
}

.more-btn {
    background-color: #ff9800;
    border: none;
    color: white;
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
}

#modal-image {
    width: 100%;
    height: 350px;
    object-fit: scale-down;
    object-position: center;
}

.modal-slider {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 10px 0;
}

#prev-slide {
    left: 10px;
}

#next-slide {
    right: 10px;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    align-items: center;
    justify-content: center;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(204, 202, 202, 0.247);
}

.modal-content {
    background-color: #1f1f1f;
    border-radius: 10px;
    padding: 20px;
    max-width: 500px;
    width: 100%;
    height: fit-content;
    text-align: center;
    position: relative;
}

.close-btn {
    color: rgb(235, 33, 33);
    font-size: 30px;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 3px 9px;
    margin-right: 5px;
}
.close-btn:hover {
    background-color: rgb(235, 33, 33);
    color: rgb(233, 231, 231);
    border-radius: 5px;
}

footer {
    background: #1f1f1f;
    text-align: center;
    padding: 20px;
    margin-top: 20px;
}

.footer-section {
    background: #1f1f1f;
    padding: 40px 20px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-column {
    width: 22%;
    padding: 10px;
    box-sizing: border-box;
}

.footer-column h5 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #e6dede;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 8px;
}

.footer-column ul li a {
    text-decoration: none;
    color: #007bff;
    font-size: 14px;
}

.footer-column ul li a:hover {
    color: #0056b3;
}

@media screen and (max-width: 768px) {
    .hero {
        position: absolute;
        top: 20%;
        left: 50%;
        transform: translate(-50%, -50%);
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
    .hero h2 {
        font-size: 1.5em;
        animation: fadeIn 1.5s ease-in-out;
    }

    .hero p {
        font-size: 1.4em;
        margin-top: 10px;
        animation: fadeIn 2s ease-in-out;
    }
    .footer-column {
        width: 48%;
    }
}

@media screen and (max-width: 480px) {
    .hero {
        position: absolute;
        top: 10%;
        left: 50%;
        transform: translate(-50%, -50%);
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .hero h2 {
        font-size: 1em;
        animation: fadeIn 1.5s ease-in-out;
    }

    .hero p {
        font-size: 1.4em;

        animation: fadeIn 2s ease-in-out;
    }

    .btn {
        display: inline-block;
        padding: 2px 4px;
        background: #f1c40f;
        color: #121212;
        text-decoration: none;
        transition: transform 0.3s, background 0.3s;
    }
    .footer-column {
        width: 100%;
        margin-bottom: 20px;
    }
        .modal {
        scale: 0.85;
    }
    
}

@media (min-width: 768px) {
    .header img {
        display: none;
    }
    .menu-toggle {
        display: none;
    }

    #mobile-nav {
        display: flex;
        position: static;
        background: none;
        width: auto;
    }

    #mobile-nav ul {
        display: flex;
    }

    #mobile-nav ul li {
        border: none;
        padding: 10px 20px;
    }

    #mobile-nav ul li a {
        font-size: 16px;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
