/* Import Poppins font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;800&display=swap');

/* Reset and body styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8f8f8;
}

/* Announcement Bar */
.announcement-bar {
    background-color: #e0e0e0;
    color: #FE5000;
    text-align: center;
    padding: 10px;
    font-size: 1em;
}

/* Navbar items styling */
.nav-links li a {
    color: #000;
    text-decoration: none;
    padding: 10px;
    font-size: 1em;
    transition: color 0.3s ease;
}

.nav-links li a:hover {
    color: #FE5000;
}

.nav-links li a.active {
    color: #FE5000;
}

/* Navbar styling */

.navbar {
    position: sticky;
    top: 0;
    background-color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Logo styling */
.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    max-height: 50px;
}

/* Navbar links */
.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

/* Nav buttons */
.nav-buttons .register-btn {
    background-color: #ff7032;
    color: #333;
    padding: 8px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9em;
    text-transform: uppercase;
    transition: background-color 0.3s;
}

.nav-buttons .cart-btn {
    font-size: 1.2em;
    background: none;
    border: none;
    cursor: pointer;
}

/* Register button hover */
.register-btn:hover {
    background-color: #ff7032;
}

/* Cart button hover */
.cart-btn:hover {
    color: #FE5000;
}

/* Hero Section */
.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px;
    background: #f7f2e8;
    color: #333;
}

/* Hero Image Styling */
.hero-image img {
    max-width: 90%; /* Reduce the overall width */
    max-height: 90%; /* Limit the height */
    width: auto; /* Maintain aspect ratio */
    height: auto; /* Maintain aspect ratio */
}

.hero-text {
    max-width: 50%;
}

.hero-text h1 {
    font-size: 3em;
    font-weight: 800;
    margin-bottom: 20px;
}

.hero-text h1 .highlight {
    color: #FE5000;
}

.hero-text p {
    font-size: 1.2em;
    margin-bottom: 20px;
    color: #666;
    line-height: 1.6;
}

.hero-btn {
    background-color: #FE5000;
    color: #fff;
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
}

/* Product Section */
.products {
    padding: 50px 20px;
    text-align: center;
}

.products h2 {
    font-size: 2.5em;
    font-weight: 800;
    margin-bottom: 20px;
}

.product-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.tab {
    padding: 10px 20px;
    background-color: transparent;
    border: none;
    font-size: 1em;
    cursor: pointer;
    font-weight: bold;
    color: #666;
}

.product-card:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.tab.active {
    color: #ffaa00;
    border-bottom: 2px solid #ffaa00;
}

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

.product-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    max-width: 200px;
    text-align: center;
}

.product-card img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 15px;
}

.product-card h3 {
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 10px;
}

.product-card p {
    font-size: 1em;
    color: #666;
    margin-bottom: 10px;
}

.product-card button {
    background-color: #FE5000;
    color: #fff;
    padding: 8px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* Offer Section */
.offer {
    background-color: #FEF3E9;
    padding: 50px 20px;
    text-align: center;
    color: #333;
}

.offer h2 {
    font-size: 2.5em;
    font-weight: 800;
    margin-bottom: 20px;
}

.offer p {
    font-size: 1.2em;
    color: #666;
    margin-bottom: 20px;
}

.offer-btn {
    background-color: #FE5000;
    color: #fff;
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
}

/* Testimonial Section */
.testimonials {
    background-color: #f8f8f8;
    padding: 50px 20px;
    text-align: center;
}

.testimonials h2 {
    font-size: 2.5em;
    font-weight: 800;
    margin-bottom: 30px;
}

.testimonial-cards {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.testimonial-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    max-width: 300px;
    text-align: left;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.testimonial-card p {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 15px;
}

.testimonial-card h3 {
    font-size: 1em;
    color: #333;
    font-weight: bold;
    text-align: right;
}

/* Testimonial Card Hover Effect */
.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Footer Styling */
.footer {
    background-color: #2d2d2d;
    color: #f8f8f8;
    padding: 40px 20px;
    font-size: 0.9em;
}

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

.footer-section {
    flex: 1 1 200px;
    margin: 10px 0;
}

.footer-section h3 {
    font-size: 1.2em;
    color: #FE5000;
    margin-bottom: 15px;
}

.footer-section p,
.footer-section ul {
    line-height: 1.8;
}

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

.footer-section ul li a {
    text-decoration: none;
    color: #f8f8f8;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #FE5000;
}

/* Social Icons */
.social-icons {
    margin-top: 10px;
}

.social-icons a {
    display: inline-block;
    margin-right: 10px;
    color: #f8f8f8; /* Default color for icons */
    font-size: 1.5em; /* Increase icon size */
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #FE5000; /* Color on hover */
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    margin-top: 20px;
    padding-top: 10px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column; /* Stack navbar items */
        align-items: flex-start; /* Align to start */
    }

    .hero {
        flex-direction: column; /* Stack hero elements */
        text-align: center; /* Center text */
        padding: 30px; /* Reduce padding */
    }

    .hero-text {
        max-width: 100%; /* Allow full width */
    }

    .hero-text h1 {
        font-size: 2.5em; /* Reduce font size */
    }

    .hero-text p {
        font-size: 1em; /* Reduce font size */
    }

    .products {
        padding: 30px 20px; /* Reduce padding */
    }

    .products h2 {
        font-size: 2em; /* Reduce font size */
    }

    .product-tabs {
        flex-direction: column; /* Stack tabs */
        gap: 10px; /* Reduce gap */
    }

    .product-cards {
        flex-direction: column; /* Stack product cards */
        align-items: center; /* Center align */
    }

    .product-card {
        max-width: 90%; /* Allow more width on mobile */
        margin: 10px 0; /* Add margin between cards */
    }

    .offer,
    .testimonials {
        padding: 30px 20px; /* Reduce padding */
    }

    .offer h2,
    .testimonials h2 {
        font-size: 2em; /* Reduce font size */
    }

    .testimonial-cards {
        flex-direction: column; /* Stack testimonial cards */
        align-items: center; /* Center align */
    }

    .testimonial-card {
        max-width: 90%; /* Allow more width on mobile */
        margin: 10px 0; /* Add margin */
    }

    .footer-container {
        flex-direction: column; /* Stack footer sections */
        align-items: center; /* Center align */
    }

    .footer-section {
        flex: 1 1 100%; /* Allow full width */
        margin: 10px 0; /* Add margin */
        text-align: center; /* Center text */
    }
}
/* Navbar mobile styles */
.menu-toggle {
    display: none; /* Hidden by default */
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle .bar {
    height: 3px;
    width: 25px;
    background-color: #333; /* Change color as needed */
    margin: 4px 0;
    transition: all 0.3s ease;
}

/* Responsive Navbar */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column; /* Stack navbar items */
        justify-content: space-between;
        align-items: flex-end; /* Align to the end (right) */
    }
     .nav-links {
        flex-direction: column; /* Stack menu items vertically */
        align-items: flex-end; /* Align items to the right */
        margin-right: 20px; /* Add some space to the right */
        display: none; /* Hide the menu by default */
        position: absolute; /* Position the menu absolutely */
        right: 0; /* Align it to the right */
        top: 60px; /* Position below the navbar */
        background-color: white; /* Background color for the menu */
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Add shadow for dropdown */
        z-index: 999; /* Keep it above other elements */
    }


    .nav-links.active {
        display: flex; /* Show when active */
    }

    .nav-links li {
        text-align: center; /* Center align text */
        padding: 10px 0; /* Add padding */
        border-bottom: 1px solid #ddd; /* Add border for separation */
    }
    .nav-buttons {
        align-self: flex-end; /* Align buttons to the right */
        align-items: center; /* Center align buttons */
        gap: 10px; /* Space between buttons */
    }
    .menu-toggle {
        display: flex; /* Show the hamburger menu on mobile */
    }
    .hero {
        flex-direction: column; /* Stack hero elements */
        text-align: center; /* Center text */
        padding: 30px; /* Reduce padding */
    }

}
