* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f5f5;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
}

.nav-items {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    color: #4f46e5;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: #4338ca;
}

.login-btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    background-color: #4f46e5;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.login-btn:hover {
    background-color: #4338ca;
}

.search-bar {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    border-radius: 20px;
    width: 300px;
    font-size: 0.9rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

.cart-icon {
    position: relative;
    cursor: pointer;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #ff4444;
    color: white;
    border-radius: 50%;
    padding: 0.2rem 0.5rem;
    font-size: 0.8rem;
}

.hero-section {
    text-align: center;
    padding: 3rem 1rem;
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: white;
}

.hero-section h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 1rem;
    margin: 1rem 0;
}

.filter-btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 20px;
    background-color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active {
    background-color: #4f46e5;
    color: white;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    cursor: pointer;
}

.product-info {
    padding: 1rem;
}

.product-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    cursor: pointer;
}

.product-price {
    color: #4f46e5;
    font-weight: bold;
    margin-bottom: 1rem;
}

.add-to-cart-btn {
    width: 100%;
    padding: 0.5rem;
    border: none;
    border-radius: 5px;
    background-color: #4f46e5;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.add-to-cart-btn:hover {
    background-color: #4338ca;
}

.cart-modal {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 400px;
    background: white;
    box-shadow: -2px 0 5px rgba(0,0,0,0.1);
    z-index: 1000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.close-cart {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.8rem;
    cursor: pointer;
    color: #333;
    transition: color 0.3s ease;
    background: none;
    border: none;
    padding: 0.5rem;
    line-height: 1;
    z-index: 1001;
}

.close-cart:hover {
    color: #4f46e5;
}

.cart-modal.active {
    display: block;
    transform: translateX(0);
}

.cart-content {
    padding: 2rem;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #ddd;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

.social-link {
    color: #4f46e5;
    font-size: 1.5rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-link:hover {
    color: #4338ca;
    transform: translateY(-3px);
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-controls button {
    padding: 0.2rem 0.5rem;
    border: 1px solid #ddd;
    background: white;
    cursor: pointer;
}

.cart-total {
    margin-top: 2rem;
    font-size: 1.2rem;
    font-weight: bold;
}

.checkout-btn {
    width: 100%;
    padding: 1rem;
    margin-top: 1rem;
    border: none;
    border-radius: 5px;
    background-color: #4f46e5;
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
}

.product-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    max-width: 600px;
    width: 90%;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
}

.product-details {
    display: flex;
    gap: 2rem;
}

.modal-image {
    width: 200px;
    height: 200px;
    object-fit: cover;
}

.modal-info {
    flex: 1;
}

.footer {
    background-color: #333;
    color: white;
    padding: 3rem 2rem 1rem;
    margin-top: 3rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
}

.social-links a {
    color: white;
    text-decoration: none;
    margin-right: 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid #555;
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 1rem;
    }

    .nav-items {
        margin-top: 1rem;
        flex-direction: column;
    }

    .search-bar {
        width: 100%;
    }

    .product-details {
        flex-direction: column;
    }

    .modal-image {
        width: 100%;
        height: auto;
    }

    .cart-modal {
        width: 100%;
    }

    /* About page styles */
    .about-content {
        max-width: 1200px;
        margin: 2rem auto;
        padding: 0 1rem;
    }

    .mission-section,
    .values-section,
    .team-section {
        margin-bottom: 3rem;
    }

    .mission-section h2,
    .values-section h2,
    .team-section h2 {
        text-align: center;
        margin-bottom: 2rem;
        color: #333;
        font-size: 2rem;
    }

    .values-grid,
    .team-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
        padding: 1rem;
    }

    .value-card {
        text-align: center;
        padding: 2rem;
        background: white;
        border-radius: 10px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        transition: transform 0.3s ease;
    }

    .value-card:hover {
        transform: translateY(-5px);
    }

    .value-card i {
        font-size: 2.5rem;
        color: #4f46e5;
        margin-bottom: 1rem;
    }

    .value-card h3 {
        margin-bottom: 1rem;
        color: #333;
    }

    .team-member {
        text-align: center;
        padding: 1.5rem;
        background: white;
        border-radius: 10px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        transition: transform 0.3s ease;
    }

    .team-member:hover {
        transform: translateY(-5px);
    }

    .team-member img {
        width: 150px;
        height: 150px;
        border-radius: 50%;
        margin-bottom: 1rem;
        object-fit: cover;
    }

    .team-member h3 {
        margin-bottom: 0.5rem;
        color: #333;
    }

    .team-member p {
        color: #666;
    }

    .values-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
}