@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;700&family=Tajawal:wght@400;700&display=swap');

:root {
  --primaryColor: #FEA958;
  --middleColor: #393E46;
  --helperColor: #400B50;
  --lightHelper: #B60C52;
  --hrColor: #F8F5FF;
  --transparentColor: rgba(0, 0, 0, 0.699);
  --shadow: rgba(189, 188, 188, 0.514);
  /* --------------------------------- */
  --whatsappColor: #25D366;
  --white: #ffff;
  --blue: #1877F2;
  --green: #25D366;
  --gray: #f8f8f8;
  --container-width: 1340px;
  --header-height: 200px;
  /* 👈 غيّر الرقم حسب الارتفاع اللي تحبه */

}


body::-webkit-scrollbar {
  width: 8px
}

body::-webkit-scrollbar-track {
  background-color: transparent
}

body::-webkit-scrollbar-thumb {
  background-color: var(--lightHelper);
  background-image: linear-gradient(0deg, var(--lightHelper) 0%, var(--helperColor) 100%);
  border-radius: 5px
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Cairo', 'Tajawal', sans-serif;
}

a {
  text-decoration: none;
  transition: all 0.5s;

}

ul {
  list-style: none;
}


.footer {
  position: relative;
}

.footer svg {
  position: absolute;
  right: 0;
  left: 0;
  height: 20px;
  width: 100%;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer {
  background: var(--helperColor);
  color: var(--white);
  padding: 0 20px 20px;
}

.footer-grid {
  margin-top: 60px;
  padding: 50px 0 10px 0 !important;
  display: grid;
  align-items: start;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
  position: relative;
  z-index: 1;
  border-bottom: #FEA958 1PX dashed;
}

.footer-grid::after {
  content: "";
  background-image: url("../img/logo.png");
  background-size: 250px;
  opacity: .09;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  z-index: -10;
}

.logo-name {
  display: flex;
  align-items: center;
  gap: 10px;
  
}

.footer-logo {
  font-size: 22px;
  font-weight: 800;
  color: var(--primaryColor);
  margin-bottom: 15px;
}

.logo-name img {
  width: 25%;
}

.footer-about p {
  font-size: 18px;
  line-height: 1.7;
}

.footer-right {
  display: flex;
  margin-block: 40px;
  justify-content: start;
  align-items: center;
  gap: 12px;
}

.footer-socials a {
  margin-left: 10px;
  color: var(--lightHelper);
  background-color: var(--white);
  padding: 3px 10px;
  border-radius: 50%;
  text-decoration: none;
}

.footer-socials a:hover {
  color: var(--white);
  background-color: var(--lightHelper);
}

.footer-links h4,
.footer-social h4 {
  font-size: 22px;
  color: var(--primaryColor);
  margin-bottom: 15px;
}

.footer-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  text-decoration: none;
  color: var(--white);
  transition: color .3s ease;
}

.footer-links a:before {
  content: '\f101';
  font-weight: 700;
  font-family: "Font Awesome 6 Free";
  vertical-align: middle;
  margin-left: 10px;
  color: var(--primaryColor);
}

.footer-links a:hover {
  color: var(--primaryColor);
}

/* =================== */
.tagsCloud {
  padding: 15px 0;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.tagWord {
  font-size: 13px;
  font-weight: 500;
  display: inline-block;
  padding: 5px 8px;
  background-color: var(--primaryColor);
  color: var(--helperColor);
  border-radius: 15px;
  margin: 2px;
  line-height: 1;
  flex-grow: 1;
}

/* الحقوق */
.footer-bottom {
  border-top: #FEA958 1PX dashed;
  padding-top: 15px;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  font-size: 14px;
  color: var(--white);
}

.footer-bottom a {
  color: var(--primaryColor);
}

@media (max-width: 576px) {
  .footer-socials a {
    margin-left: 8px;
    padding: 2px 8px;
  }

}