@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;
    --highlight-color: #ffd700;
}

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

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    width: 100%;
    background-color: #003f91;
    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(--semi-color);
    height: 53px;
    width: 156px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 400;
}

.login:hover {
    background-color: white;
    color: #003f91;
    transition: all 0.4s ease-in-out;
}

.policy {
    max-width: 800px;
    margin: 50px auto;
    text-align: center;
    padding: 20px;
    width: 100vw;
    height: 80vh;
}

.policy h2 {
    font-size: 40px;
    margin-bottom: 20px;
    margin-top: -50px;
    color: var(--semi-color);
}

.policy h3 {
    font-size: 28px;
    margin-top: 20px;
    margin-bottom: 10px;
}

.policy p {
    font-size: 18px;
    margin: 10px 0;
}

.footer {
    background-color: black;
    color: #fff;
    padding: 20px;
    text-align: center;
    bottom: 0px;
    margin-top: 400px;
    position: static;
    width: 100%;
}

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

.footer-text a {
    color: #ffd700;
    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: #ffd700;
}

.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;
    }

    .policy {
        padding: 10px;
    }

    .policy h2 {
        font-size: 28px;
    }

    .policy h3 {
        font-size: 24px;
    }

    .policy p {
        font-size: 16px;
    }

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