@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

:root {
    --semi-color: #ca2e55; /* Main color */
    --highlight-color: #ffd700; /* Highlight color */
    --footer-color: #1c1c1c; /* New footer color */
    --login-bg-color: #ca2e55; /* New login/signup button color */
}

body {
    position: relative;
    width: 100vw;
    height: 100vh;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    width: 100%;
    background-color: #003f91; /* Navbar background color */
    color: white;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 10px;
}

.company-name h1 {
    margin: 0;
    font-size: 24px;
}

.company-name h4 {
    margin: 0;
    font-size: 16px;
}

.nav-links {
    background-color: var(--semi-color);
    display: flex;
    margin-left: auto;
}

.nav-links ul {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
    padding-left: 0;
}

.nav-links ul li {
    list-style: none;
    display: inline-block;
    padding: 8px 65px;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-size: 1rem;
    position: relative;
    transition: color 0.2s ease-in-out;
}

.nav-links a::after {
    content: "";
    display: block;
    width: 0;
    height: 2px;
    background: var(--highlight-color);
    transition: width 0.3s ease-in-out;
    position: absolute;
    bottom: -4px;
    left: 0;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    transition: color 0.3s ease-in-out;
}

.search-bar {
    display: flex;
    align-items: center;
}

.search-bar input {
    padding: 10px;
    width: 300px;
    border-radius: 25px;
    border: none;
    outline: none;
}

.search-bar button {
    padding: 10px;
    margin-left: -40px;
    background-color: var(--semi-color);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: white;
}

.icons {
    display: flex;
    align-items: center;
}

.icons a {
    text-decoration: none;
    color: white;
}

.cart-icon {
    display: flex;
    align-items: center;
    margin-right: 15px;
}

.cart-icon h3 {
    margin-left: 5px;
    font-size: 18px;
    color: white;
}

.login {
    border-radius: 15px;
    background-color: var(--login-bg-color);
    height: 53px;
    width: 156px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 400;
    transition: background-color 0.4s ease-in-out, color 0.4s ease-in-out;
}

.login:hover {
    background-color: white;
    color: var(--semi-color);
}

.categories {
    padding: 20px;
}

.categories h2 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 20px;
}

.categories ul {
    list-style-type: none;
}

.categories li {
    font-weight: bold;
    margin: 10px 0;
}

.categories ul ul {
    margin-left: 20px;
}

.footer {
    background-color: var(--footer-color);
    color: #fff;
    padding: 20px;
    text-align: center;
    bottom: 0;
    position: static;
    width: 100%;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer-text a {
    color: var(--highlight-color);
    text-decoration: none;
    font-weight: bold;
}

.footer-text a:hover {
    text-decoration: underline;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.social-link {
    color: #ffffff;
    transition: color 0.3s;
}

.social-link:hover {
    color: var(--highlight-color);
}

.social-link i {
    font-size: 1.5em;
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links {
        flex-direction: column;
        margin: 0;
        width: 100%;
    }

    .nav-links ul {
        flex-direction: column;
        padding: 0;
    }

    .nav-links ul li {
        padding: 10px 0;
    }

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

.categories {
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.category-card {
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  width: 200px;
  text-align: center;
  transition: transform 0.2s;
}

.category-card:hover {
  transform: translateY(-5px);
}

.category-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.category-card p {
  font-size: 16px;
  color: #555;
}
