:root {
  --background-color: #dad7cd;
  --cart-background-color: #adc7a988;
  --text-color2: #f0f8ff;
  --text-color1: black;
  --text-color3: #083a18;
  --text-color4: gray;
  --headr-bar-color: #3a5a45;
  --helper-color: #578164;
  --helper-color-1: #57816473;
  --nav-color: linear-gradient(
    to right,
    var(--helper-color),
    var(--headr-bar-color),
    var(--helper-color-1)
  );
}
.dark-mod {
  --background-color: #121212;
  --cart-background-color: #2b2e3188;
  --text-color1: #e0e7e0;
  --text-color2: #ffffff;
  --text-color3: #22ee63;
  --text-color4: rgb(221, 221, 221);
  --headr-bar-color: #0f1414;
  --helper-color: #000000;
  --helper-color-1: #242424;
  --nav-color: linear-gradient(
    to right,
    var(--helper-color),
    var(--headr-bar-color),
    var(--helper-color-1)
  );
}
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
/*header*/
body {
  font-family: "Segoe UI", Tahoma, sans-serif;
  background-color: var(--background-color);
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
}

a {
  text-decoration: none;
  color: inherit;
}
li {
  list-style: none;
}

#active {
  border-bottom: 2px solid white;
  border-width: fit-content;
}
.nav-bar {
  background-color: var(--headr-bar-color);
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 90%;
  margin-left: 5%;
  border-radius: 15px;
  margin-top: 15px;
  background-image: var(--nav-color);
  justify-content: space-between;
  gap: 8vw;
  padding: 0 2rem;
}
.logo {
  padding: 1.1rem;
  font-size: 32px;
  font-weight: bolder;
  color: var(--text-color2);
  justify-items: flex-start;
  flex: 1;
  text-align: canter;
}
.nav-list {
  color: var(--text-color2);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-right: auto;
  justify-items: center;
}
.home {
  color: var(--text-color2);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-right: auto;
  justify-items: center;
  margin-right: 16vw;
}
.list-item {
  padding: 2rem;
  font-size: large;
  font-weight: bold;
  display: inline-block;
  transition: all 0.5s ease;
}

.list-item:hover {
  transform: translateY(-4px);
  color: var(--text-color3);
}
.icons {
  display: flex;
  align-items: center;
  gap: 2vw;
  flex: 1;
  margin-right: 4vw;
}
.icons svg {
  fill: var(--text-color2) !important;
  transition: all 0.5s;
  display: flex;
  justify-content: flex-end;
  width: 24px;
  height: 24px;
}
.icons svg:hover {
  transition: 0.5s;
  transform: translateY(-4px);
  fill: var(--text-color3) !important;
}
.icons a {
  text-decoration: none;
  display: flex;
  justify-content: center;
}
#faq-link {
  color: white;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  display: flex;
  align-items: center;
  padding: 0 10px;
  transition: 0.3s;
}

#faq-link:hover {
  color: var(--text-color3);
  opacity: 0.8;
}

/*theme button*/
#theme-switch {
  height: 50px;
  width: 50px;
  padding: 0;
  border: 50%;
  border-radius: 100px;
  background-color: var(--helper-color);
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 10px;
  right: 20px;
  margin: 0;
  flex-shrink: 0;
}
#theme-switch img {
  fill: var(--background-color);
}
#theme-switch img:last-child {
  display: none;
}
.dark-mod #theme-switch img:first-child {
  display: none;
}
.dark-mod #theme-switch img:last-child {
  display: block;
}
/* PROFILE STYLES */
.intro {
  text-align: center;
  padding: 30px 20px;
  color: var(--text-color1);
}

.profile-container {
  width: 90%;
  max-width: 700px;
  margin: 0 auto 40px;
}

.card {
  background-color: var(--cart-background-color);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.card-title {
  color: var(--text-color1);
  font-size: 24px;
  margin-bottom: 20px;
  text-align: left;
}

.content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.info {
  flex: 1;
  min-width: 250px;
}

.info p {
  color: var(--text-color1);
  font-size: 16px;
  margin: 12px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.info i {
  width: 20px;
  color: var(--text-color1);
}

.profile {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.photo {
  width: 140px;
  height: 140px;
  background: var(--headr-bar-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.photo i {
  color: white;
  font-size: 60px;
}

.username {
  margin-top: 10px;
  font-size: 18px;
  font-weight: bold;
  color: var(--text-color1);
}

.button-container {
  margin-top: 25px;
  display: flex;
  justify-content: center;
}

.continue-btn {
  padding: 10px 20px;
  border-radius: 20px;
  background-color: var(--headr-bar-color);
  color: white;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: none;
}

.continue-btn:hover {
  transform: none;
  opacity: 0.9;
}

#show-hide {
  margin-left: 10px;
  padding: 3px 10px;
  border-radius: 4px;
  border: none;
  background: var(--helper-color);
  color: white;
  cursor: pointer;
}
#up {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 45px;
  height: 45px;
  border: none;
  border-radius: 50%;
  background: var(--headr-bar-color);
  color: white;
  display: none;
}

#up.show {
  display: block;
}

/* ===================================================
   FOOTER — synced from cart-style.css
   =================================================== */
footer {
  width: 100%;
  background-image: var(--nav-color);
  color: white;
  padding: 100px 0 30px;
  border-radius: 125px 125px 0 0;
  font-size: 13px;
  line-height: 20px;
}
.footer-row {
  width: 85%;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
}
.col {
  flex: 1;
  padding: 10px;
}
.footer-logo {
  font-size: 30px;
  margin-bottom: 20px;
}
.col h3 {
  width: fit-content;
  margin-bottom: 40px;
  position: relative;
}
.col p {
  margin-bottom: 10px;
  color: var(--text-color2);
}
.underline {
  width: 100%;
  height: 5px;
  background: var(--text-color4);
  border-radius: 3px;
  position: absolute;
  margin-top: 8px;
  overflow: hidden;
}
.underline span {
  width: 15px;
  height: 100%;
  background: var(--text-color2);
  border-radius: 3px;
  position: absolute;
  top: 0;
  left: 10px;
  animation: moving 2s linear infinite;
}
@keyframes moving {
  0% {
    left: -20px;
  }
  100% {
    left: 100%;
  }
}
.newsletter-form {
  background: transparent;
  padding-bottom: 5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid white;
  margin-bottom: 50px;
  max-width: 250px;
}
.mail-icon {
  color: white;
  margin-right: 10px;
  font-size: 18px;
}
#footer-email {
  background: transparent;
  border: none;
  color: white;
  outline: none;
  flex: 1;
}
#footer-email::placeholder {
  color: rgba(255, 254, 254, 0.7);
}
.newsletter-form input {
  width: 100%;
  background: transparent;
  color: var(--text-color2);
  border: 0;
  outline: none;
  margin-left: 10px;
}
.newsletter-form button {
  background: transparent;
  border: 0;
  outline: none;
  color: var(--text-color2);
  cursor: pointer;
  font-size: 18px;
}

/* Social icons */
.social-icons div {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 10px;
  transition: 0.3s;
  background-color: transparent;
}
.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}
.social-icons svg {
  width: 22px;
  height: 22px;
  fill: rgb(0, 0, 0);
  transition: 0.3s ease;
}
.social-icons a:hover svg {
  transform: translateY(-3px);
}
.social-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #000;
  text-align: center;
  line-height: 40px;
  font-size: 20px;
  cursor: pointer;
}
.footer-line {
  width: 90%;
  border: 0;
  border-bottom: 1px solid var(--text-color3);
  margin: 20px auto;
}
.copyright {
  text-align: center;
}
.profile-container,
.profile-container *,
.card,
.card * {
  transform: none !important;
  transition: none !important;
}
