body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
    padding-top: 5rem;
}

.section-title {
    text-align: center;
    margin: 40px 0 20px;
    font-size: 2.5em;
    color: #555;
}

header{
    top: 0px;
    position: fixed;
    z-index: 1000;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);

   
}
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: #2c3e50;
    color: #fff;
    
    
}

.Logo {
    font-size: 1.8em;
    font-weight: bold;
    text-decoration: none;
    color: #f1ebeb;
}

.navToggle{
    display: none;
    cursor: pointer;
}

.navToggle span{
display: block;
width: 25px;
height: 3px;
background-color: #fff;
margin-bottom: 5px;
}

.navLinks {
    display: flex;
    list-style: none;

}

.navLinks li {
    margin-right: 20px;
margin-bottom: 15px;}

.navLinks a {
    text-decoration: none;
    color:#f1ebeb;
    font-weight: 500;
    transition: color 0.3s;
}

.navLinks a:hover {
    color: #007bff;
}

.nav-icons a {
    text-decoration: none;
    color: #555;
    font-size: 1.5em;
    margin-left: 1rem;
    transition: color 0.3s;
}

.nav-icons a:hover {
    color: #007bff;
}

/* Hero Section */
.hero-section {

    color: #fff;
    text-align: center;
    padding: 100px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80px;
    margin-top: 25px;
}

.hero-content {
    background-color:  #738aa1;
    padding: 30px;
    border-radius: 10px;
}

.hero-content h1 {
    font-size: 3.5em;
    margin-bottom: 0.5em;
}

.hero-content p {
    font-size: 1.2em;
    margin-bottom: 1.5em;
}

.cta-button {
    background-color: #fff;
    color: #007bff;
    padding: 15px 30px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

.cta-button:hover {
    background-color: #eee;
}

/* Products Section */
.products-section {
    padding: 2rem 5%;
    margin-top:px;
}

.product-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.product-card {
    flex: 1 1 300px; /* flex-grow, flex-shrink, flex-basis */
    max-width: 300px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-card img {
    width: 100%;
    height: auto;
    display: block;
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    margin: 0 0 10px;
    font-size: 1.5em;
}

.price {
    font-size: 1.2em;
    font-weight: bold;
    color: #007bff;
    margin-bottom: 15px;
}

.add-to-cart-btn {
    background-color: #333;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.add-to-cart-btn:hover {
    background-color: #555;
}

.products-section .product-grid .product-card img {
    height: 250px;
}
/* Footer */
.main-footer {
    background-color: #2c3e50;
    color: #fff;
    padding: 2rem 5%;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    padding-bottom: 20px;
}

.footer-links, .footer-contact, .social-media {
    flex: 1 1 200px; /* Flex-basis ensures minimum width */
}

.footer-content h4 {
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-size: 1.2em;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    line-height: 1.8;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #3498db;
}

.footer-contact p {
    margin: 5px 0;
}

.social-icons a {
    color: #fff;
    font-size: 1.5em;
    margin-right: 15px;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #3498db;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #4a667b;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    .navToggle{display: block;

    }
    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .navLinks {
        display: none;
        flex-direction: column;
        background-color: #2c3e50;
        position: absolute;
        top: 70px;
        right: 0;
        width: 200px;
        margin-right: 8px;
        margin-top: 0px;
        padding: 1rem;
    border-radius: 0 0 0 10px;
      
       
    }

    .navLinks.show {
        display: flex;
    }

    .nav-links li {
        margin: 0 0.5rem 0.5rem 0;
    }

    .hero-content h1 {
        font-size: 2.5em;
    }

    .product-grid {
        justify-content: center;
    }

    .product-card {
        flex-basis: 45%;
    }

    .footer-content {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2em;
    }

    .product-card {
        flex-basis: 100%;
        max-width: none;
    }

    .navbar {
        padding: 1rem;
    }

    .nav-icons {
        margin-top: 1rem;
    }
}