@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@200..1000&display=swap");

:root {
  --primary-color: #2c3e50;
  --secondary-color: #3498db;
  --text-color: #333;
}
body {
  margin: 0;
  padding: 0;
  font-family: "Cairo", sans-serif;
  font-weight: 400; /* الوزن الافتراضي */
  font-style: normal;
  line-height: 1.6;
  color: var(--text-color);
  background-color: #f8f9fa;
}
a {
  text-decoration: none;
}
.container {
  margin: auto;
  padding: 20px 40px;
}
header {
  display: flex;
  align-items: center;
  justify-items: center;
}
h2 {
  font-size: 28px;
  margin: auto;
}
h3 {
  font-size: 22px;
  padding: 0;
  margin: 0 0 8px;
}
li {
  margin-bottom: 5px;
}
.text-white {
  color: #fff;
}
ol {
  display: flex;
  flex-direction: column;
  padding-top: 0;
  padding-bottom: 0;
  margin-top: 0;
  margin-bottom: 0;
}
/* التنسيق للغة العربية */
[dir="rtl"] {
  font-family: "Cairo", sans-serif;
}
.px {
  padding: 20px 40px;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #4b4f54;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.logo img {
  height: 40px;
}
.policy-nav {
  margin-top: 80px;
  text-align: center;
  padding: 1rem;
}

.content {
  margin: 140px auto 40px;
  max-width: 800px;
  padding: 0 20px;
}

section {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 40px;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

footer {
  background-color: #4b4f54;
  color: white;
  text-align: center;
  padding: 1rem;
}
.footer-icons {
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin: auto;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
footer ul {
  list-style: none;
  display: flex;
  flex-direction: row;
  gap: 25px;
  margin: 10px auto;
  align-items: center;
  justify-content: center;
}
footer ul a {
  text-decoration: none;
}
footer ul a:hover {
  color: #80d1e3;
  transition: all 0.3s ease-in-out;
}
footer .conatct {
  display: flex;
  justify-content: center;
  gap: 10px;
}
.payments {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 20px 0;
}
.payments img {
  width: 60px;
  height: 25px;
  border-radius: 5px;
  background: #7b7b7b;
  padding: 5px;
}
.custom-select-lang {
  padding: 0px 3px;
  border: 1px solid #c1c1c1;
  border-radius: 5px;
  font-size: 14px;
  background-color: #4b4f54;
  cursor: pointer;
  font-family: "Cairo";
  color: #c1c1c1;
}
.custom-select-lang:focus {
  color: #ffff;
  outline: none;
  border: 1px solid #80d1e3;
  transition: all 0.3s linear;
  box-shadow: 0 0 5px rgba(52, 152, 219, 0.5);
}
.custom-select {
  padding: 0px 3px;
  border: 1px solid #c1c1c1;
  border-radius: 5px;
  font-size: 16px;
  background-color: white;
  cursor: pointer;
  font-family: "Cairo";
}
.custom-select:focus {
  outline: none;
  border-color: #80d1e3;
  transition: all 0.3s linear;
  box-shadow: 0 0 5px rgba(52, 152, 219, 0.5);
}
footer  {
  font-size: 14px;
}

footer .contact a  {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  width: fit-content;
  margin: auto;
}
/* ------ Screens -------- */

@media (max-width: 800px) {
  h3 {
    font-size: 18px;
  }
  ol,
  ul {
    padding: 15px;
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 0;
    margin-bottom: 0;
  }
  h2 {
    font-size: 20px;
    margin: auto;
  }
  .px {
    padding: 5px;
  }
  footer ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
  }
  .payments {
    gap: 10px;
    padding: 20px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    justify-items: center;
  }
}
