html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-margin-top: 70px;
}

header {
    background: #dbeeff;
    border-bottom: 0.5px solid #b5d4f4;
    position: sticky;
    top: 0;
    z-index: 100;
}

header nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    height: 60px;
}


header nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

header nav ul a {
    font-size: 14px;
    color: #185FA5;
    text-decoration: none;
    padding: 4px 0;
    border-bottom: 2px solid transparent;
}

header nav ul a:hover {
    border-bottom: 2px solid #378ADD;
    color: #0C447C;
}

.cart-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #185FA5;
    text-decoration: none;
    background: #b5d4f4;
    padding: 6px 14px;
    border-radius: 999px;
    width: fit-content;
}

.logo {
    font-size: 18px;
    font-weight: 500;
    color: #0C447C;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo span {
    color: #378ADD;
}
.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    transform: scale(0.7);
}


#hamburger-input {
    display: none;
}

.hamburger label {
  width: 50px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}
#hamburger-input {
  display: none;
}
.hamburger .line {
  height: 5px;
  margin: 5px 0;
  border-radius: 6px;
  background-color: black;
  transition: all 0.4s ease-in-out;
}
.hamburger .line1 {
  width: 40%;
}
.hamburger .line2 {
  width: 80%;
}
.hamburger .line3 {
  width: 60%;
}
#hamburger-input:checked ~ .hamburger .line1 {
    transform-origin: bottom;
    transform: rotatez(45deg) translate(8px, 0px);
}
#hamburger-input:checked ~ .hamburger .line2 {
    transform-origin: top;
    transform: rotatez(-45deg);
}
#hamburger-input:checked ~ .hamburger .line3 {
    width: 40%;
    transform-origin: bottom;
    transform: translate(20px, -10px) rotatez(45deg);
}


footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    box-shadow: inset 0 0 40px aliceblue;
    border-radius: 25px;
    min-height: 100px;
}

.footer-legal {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    margin: 1rem;
    gap: 0.4rem;
    align-self: flex-end;

}

.footer-legal p {
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 1rem;
}

.footer-links a {
    font-size: 12px;
    color: #185FA5;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}
footer div {
    padding: 1rem;
}
footer p {
    margin: 1rem;
}
footer div ul {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 1rem;
}
footer div ul li img {
    width: 24px;
    height: 24px;
}

.cart-btn {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #185FA5;
    color: white;
    font-size: 10px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    display: none;
}
@media screen and (max-width: 768px) {

    .hamburger { display: flex; }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: #dbeeff;
        padding: 1rem 1.5rem;
        gap: 1rem;
        border-top: 0.5px solid #b5d4f4;
    }
}