body {
  background-color: var(--bg);
}
body::selection {
  background-color: #2c3f5e;
}

.nav {
  font-size: var(--fs-h2);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-heading);
  color: var(--accent);
  background-color: var(--bg-2);
  padding: 15px 20px 15px 0px;
  width: 100%;
  position: fixed;
  z-index: 6000;
  box-shadow: var(--shadow);
}

.nav > div {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
}
.logo {
  font-family: var(--font-heading);
  font-size: var(--fs-h2);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-heading);
  color: var(--accent);
  width: 26%;
  text-decoration: none;
}
.logo:hover {
  cursor: url("../Images/cursor\ \(2\).cur"), auto;
}
.nav nav {
  display: flex;
  width: 66%;
  align-items: center;
  justify-content: flex-end;
  gap: 15px;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-body);
  color: var(--text);
}

.menu-btn {
  cursor: pointer;
  display: none;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-body);
  background-color: transparent;
  color: var(--text);
  border: none;
  transition: all 10s linear;
}

.menu-container {
  display: none;
}

.menu-container-js {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  background-color: var(--bg-2);
  position: fixed;
  width: 61%;
  height: 100%;
  z-index: 100000;
  right: 0;
  top: 70px;
  padding: 0px;
  transition: all 2s ease;
  animation-name: none;
  animation-duration: 0.5s;
  animation-timing-function: linear;
  animation-iteration-count: 1;
  animation-direction: alternate;
  animation-fill-mode: forwards;
}
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateX(500px);
  }
  100% {
    opacity: 1;
    transform: translateX(0px);
  }
}

.menu-container-js ul {
  display: flex;
  padding: 20px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  align-self: flex-start;
  width: 100%;

  gap: 5px;
}
.menu-container-js a {
  line-height: var(--lh-heading);
  font-family: var(--font-heading);
  font-size: var(--fs-h3);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-heading);
  color: var(--text);
  transition: all 1s linear;
}
.menu-container-js a:hover {
  color: var(--accent-2);
  width: 30px;
}

.menu-container-js ul li {
  list-style: none;
  text-align: center;
  padding: 10px;
  margin: 10px;
  transition: all var(--speed) var(--easing);
  border-bottom: 1px solid var(--muted);
  width: 100%;
}
.nav nav a {
  text-decoration: none;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-body);
  color: var(--text);
  position: relative;
  transition: all var(--speed) var(--easing);
}
.nav nav a:before {
  content: "";
  position: absolute;
  background-color: var(--accent-2);
  left: 0;
  bottom: -7px;
  width: 0%;
  height: 10%;
  border-radius: 20px;
  transition: all var(--speed) var(--easing);
}

.nav nav a:hover {
  color: var(--accent);
}
.nav nav a:hover::before {
  width: 100%;
}

.hero-section {
  width: 100%;
  height: 100%;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-body);
  color: var(--text);
  display: flex;
  flex-direction: row;
  margin-bottom: 50px;
  align-items: center;
  padding-top: 9%;
}
.hero-section img {
  width: 200px;
  height: 200px;
}

.left-side {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: left;
  align-items: flex-start;
  gap: 10px;
  padding: 40px;
  width: 65%;
  opacity: 0;
  animation-name: apperance;
  animation-duration: 3s;
  animation-timing-function: linear;
  animation-iteration-count: 1;
  animation-direction: alternate;
  animation-fill-mode: forwards;
}

h1 {
  font-family: var(--font-heading);
  font-size: 60px;
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-heading);
  color: var(--accent);
}

.name {
  font-family: var(--font-body);
  font-size: 60px;
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-heading);
  color: var(--text);
  margin-bottom: 20px;
}
.job {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: var(--fw-bold);
  color: var(--accent-2);
  letter-spacing: var(--ls-heading);

  margin-bottom: 20px;
  border-right: 2px solid var(--accent-2);
  overflow: hidden;
  white-space: nowrap;
  animation: typing 5s steps(30) 1 alternate forwards,
    blink 5s steps(30) 1 alternate forwards;
  width: 0%;
}

@keyframes typing {
  0% {
    width: 0%;
  }
  25% {
    width: 163px;
  }
  50% {
    width: 163px;
  }

  75% {
    width: 0%;
  }
  100% {
    width: 320px;
  }
}

@keyframes blink {
  0% {
    border-right: 2px solid var(--accent-2);
  }
  50% {
    border-right: 2px solid transparent;
  }
  75% {
    border-right: 2px solid var(--accent-2);
  }
  100% {
    border-right: 2px solid transparent;
  }
}
.description {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-body);
  color: #bbb;
  width: 400px;
}

.primary {
  text-decoration: none;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-body);
  background-color: var(--line);
  color: var(--muted);
  border: 1px var(--accent-2) solid;
  background-color: var(--line);
  color: var(--accent-2);
  padding: 20px;
  margin-top: 10px;
  border-radius: 10px;
  transition: all var(--speed) var(--easing);
}
.primary:hover {
  box-shadow: var(--shadow);
  background-color: var(--accent-2);
  border: 1px var(--accent) solid;
  color: var(--line);
}
.left-side ul {
  display: flex;
  flex-direction: row;
  list-style: none;
  padding: 0px;
  gap: 20px;
  justify-content: space-between;
  margin-top: 20px;
}

.left-side ul img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--accent);

  transition: all var(--speed) var(--easing);
}

.left-side ul img:hover {
  transform: translateY(-5px);
  background-color: var(--accent-2);
  box-shadow: var(--shadow);
}

.right-side {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  width: 30%;
  opacity: 0;
  animation-name: apperance-right;
  animation-duration: 3s;
  animation-timing-function: linear;
  animation-iteration-count: 1;
  animation-direction: alternate;
  animation-fill-mode: forwards;
}

.img-container {
  display: flex;
  justify-content: center;
  width: 300px;
  height: 300px;
  position: relative;
}

.img-container img {
  border-radius: 50%;
  object-fit: cover;
  width: 300px;
  height: 300px;
  border: 3px solid var(--bg);
  box-shadow: 0px 0px 0px rgba(255, 255, 255, 1);
  animation-name: sdw;
  animation-duration: 3s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}
@keyframes sdw {
  100% {
    box-shadow: 0px 0px 100px rgba(255, 255, 255, 1);
  }
}
.orbit {
  border-radius: 50%;
  width: 300px;
  height: 300px;
  border: none;
  position: absolute;
  background-color: transparent;
  display: flex;
  animation-name: spin;
  animation-duration: 15s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;

  animation-fill-mode: forwards;
}

.orbit::before {
  content: "";
  display: flex;
  box-shadow: var(--shadow);
  position: absolute;
  background-color: var(--bg-2);

  border-radius: 50%;
  width: 35%;
  height: 35%;
  left: -94px;

  top: 0;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes apperance {
  0% {
    transform: translateY(-70px);
  }
  100% {
    transform: translateY(0px);
    opacity: 1;
  }
}

@keyframes apperance-right {
  0% {
    transform: translateY(70px);
  }
  100% {
    transform: translateY(0px);
    opacity: 1;
  }
}

.over-flow {
  display: none;
}
.over-flow-js {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: var(--accent);
  opacity: 0.5;
  z-index: 5000;
}

footer {
  background-color: var(--bg-2);
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}
footer p {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: var(--fw-bold);
  color: var(--text);
  display: inline-flex;
  margin: 2px;
}

/* Footer styling */
.footer {
  background: #0b1116;
  color: #ffffff;
  padding: 28px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 14px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding: 0 8px;
}
.footer-left p {
  margin: 0;
  opacity: 0.95;
  line-height: 1.4;
  color: var(--accent-2);
}
.footer-left .made {
  margin-top: 6px;
  color:var(--accent);
}
.footer-left .heart {
  color: #ff6b81;
  margin: 0 6px;
  animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
  0% {
    transform: scale(1);
  }
  14% {
    transform: scale(1.3);
  }
  28% {
    transform: scale(1);
  }
  42% {
    transform: scale(1.3);
  }
  70% {
    transform: scale(1);
  }
}
.footer-right {
  display: flex;
  align-items: center;
}

/* social icons */
.social-links a {
  color: #ffffff;
  margin-inline-start: 10px; /* RTL-aware */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  transition: background 0.18s ease, transform 0.12s ease, color 0.18s ease;
  text-decoration: none;
}
.social-links a i {
  font-size: 16px;
}
.social-links a:hover {
  background: #0fe3d2;
  color: #071018;
  transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 720px) {
  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-right {
    margin-top: 12px;
  }
}

/* Accessibility Styles */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--accent);
  color: var(--bg);
  padding: 8px;
  text-decoration: none;
  border-radius: 4px;
  z-index: 1000;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 6px;
}

.nav nav a.lang-switch {
  background: var(--accent);
  color: var(--bg);
  padding: 5px 10px;
  border-radius: 15px;
  font-weight: bold;
  transition: all var(--speed) var(--easing);
}

.nav nav a.lang-switch:hover {
  background: var(--accent-2);
}

.made-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  font-size: var(--fs-body);
  font-weight: var(--fw-bold);
  font-family: var(--font-body);
  color: var(--accent-2);
  gap: 3px;
}
.made-container span {
  color: red;
  animation: love 1s ease-in-out infinite;
}

@keyframes love {
  0% {
    transform: scale(1);
  }
  25% {
    transform: scale(1.2);
  }
  50% {
    transform: scale(1.4);
  }
  75% {
    transform: scale(1);
  }
  100% {
    transform: scale(1);
  }
}
