@font-face {
  font-family: "estedad";
  src: url("../font/estedad.woff2");
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "estedad";
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 100%;
  background: #dbdbdb;
}

a {
  all: unset;
  cursor: pointer;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  backdrop-filter: blur(15px);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0px 0px 9px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  direction: rtl;
}

.header-container {
  width: 100%;
  max-width: 1200px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  z-index: 1001;
}

.nav-links {
  display: flex;
  align-items: center;
  transition: max-height 0.5s ease, opacity 0.5s ease;
  gap: 10px;
}

.nav-links a {
  padding: 5px 14px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 18px;
  transition: background 0.2s ease;
}

.nav-links a:hover {
  background: #ebebeb;
}

.menu-toggle {
  display: none;
  font-size: 26px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

@media (max-width: 768px) {
  .header-container {
    padding: 0 20px;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    background: rgb(255, 255, 255);
    position: absolute;
    top: 70px;
    left: 0;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
    border-top: 1px solid #ddd;
  }

  .nav-links.active {
    max-height: 600px;
    opacity: 1;
    transition: max-height 0.5s ease, opacity 0.5s ease;
  }

  .nav-links a {
    margin: 10px 0;
    text-align: center;
  }

  .menu-toggle {
    display: block;
  }

  main {
    width: 90% !important;
  }
}

main {
  width: 80%;
  margin-top: 120px;
}

main h2 {
  margin-bottom: 30px;
}

.job {
  background: #fff;
  border: 1px solid #ddd;
  padding: 15px;
  width: 100%;
  margin-bottom: 15px;
  border-radius: 20px;
}

.seeker {
  background: #fff;
  border: 1px solid #ddd;
  padding: 15px;
  width: 100%;
  margin-bottom: 15px;
  border-radius: 20px;
}

.site-footer {
  background: #fff;
  width: 80%;
  margin: 40px auto 0;
  border-radius: 20px 20px 0 0;
  padding: 30px 20px 20px;
  box-sizing: border-box;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-right {
  flex: 1;
  min-width: 250px;
}

.footer-logo {
  width: 70px;
  height: 70px;
  border-radius: 10px;
  margin-bottom: 10px;
}

h2.footer-desc {
  font-size: 22px;
  color: #1c1c1c;
}

p.footer-desc {
  font-size: 14px;
  color: #353535;
}

.footer-left {
  flex: 0.4;
  min-width: 200px;
}

.footer-left h3 {
  font-size: 16px;
  margin-bottom: 10px;
  color: var(--secondary);
}

.footer-left ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-left ul li {
  margin-bottom: 8px;
}

.footer-left ul li a {
  text-decoration: none;
  color: #353535;
  font-size: 14px;
  transition: color 0.3s;
}

.footer-left ul li a:hover {
  color: var(--secondary);
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 13px;
  color: var(--secondary);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding-top: 20px;
}

.floating-btn {
  position: fixed;
  bottom: 30px;
  left: 30px;
  background: #47513c;
  border-radius: 50%;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s;
}

.floating-btn img {
  width: 30px;
  height: 30px;
  filter: invert(1);
}

.floating-btn:hover {
  transform: scale(1.1);
}

@media (max-width: 768px) {
  footer {
    width: 90% !important;
  }

  .footer-container {
    justify-content: center;
    text-align: center;
  }

  .floating-btn {
    left: 20px !important;
    bottom: 20px !important;
  }
}
