.site-footer {
  position: relative;
  /* margin-top: var(--spacing-4xl); */
}

.footer-cards-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-lg);
  position: relative;
  z-index: 20;
  margin-bottom: -100px;
}

.footer-card {
  background: linear-gradient(90deg, #428cd4 0%, #004e9a 100%);
  padding: 40px;
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-3xl);
  min-height: 180px;
}

.large-icon {
  font-size: 160px;
  opacity: 0.1;
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--white);
  pointer-events: none;
}

[dir="rtl"] .large-icon {
  right: auto;
  left: -10px;
}

.card-info {
  position: relative;
  z-index: 2;
  flex-grow: 1;
  text-align: left;
  padding-left: 60px;
  padding-right: 20px;
  padding-top: 30px;
}

[dir="rtl"] .card-info {
  text-align: right;
  padding-right: 60px;
  padding-left: 20px;
}

.card-info h4 {
  font-size: var(--font-2xl);
  margin-bottom: var(--spacing-xs);
  font-weight: var(--font-bold);
  opacity: 0.9;
}

.card-info p {
  font-size: var(--font-3xl);
  font-weight: var(--font-black);
  margin: 0;
  white-space: nowrap;
}

.small-icon-circle {
  width: 60px;
  height: 60px;
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--white);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-2xl);
  position: absolute;
  top: 30px;
  left: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  animation: iconPulse 2s infinite ease-in-out;
}

[dir="rtl"] .small-icon-circle {
  left: auto;
  right: 30px;
}

.footer-bottom {
  background-color: var(--footer-blue);
  padding: var(--spacing-5xl) 0 var(--spacing-lg);
  margin-top: -50px;
  height: 340px;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-2xl);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.footer-logo img {
  height: var(--spacing-4xl);
}

.logo-text {
  display: flex;
  flex-direction: column;
  color: var(--white);
}

.logo-text span:first-child {
  font-size: var(--font-2xl);
  font-weight: var(--font-extrabold);
  line-height: 1;
}

.logo-text span:last-child {
  font-size: var(--font-base);
  font-weight: var(--font-semibold);
  opacity: 0.8;
}

.footer-nav ul {
  display: flex;
  gap: var(--spacing-xl);
  list-style: none;
}

.footer-nav ul li a {
  color: var(--white);
  text-decoration: none;
  font-size: var(--font-xl);
  font-weight: var(--font-bold);
  transition: opacity var(--transition-fast);
}

.footer-nav ul li a:hover {
  opacity: 0.7;
}

.footer-copyright {
  border-top: 1px solid var(--white-10);
  padding-top: var(--spacing-lg);
  text-align: center;
}

.footer-copyright p {
  color: var(--footer-gray);
  font-size: var(--font-base);
}

.back-to-top {
  position: fixed;
  bottom: var(--spacing-4xl);
  right: var(--spacing-lg);
  width: 45px;
  height: 45px;
  background-color: var(--light-blue);
  color: var(--white);
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-md);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-fast) var(--transition-ease);
  z-index: 999;
}

.back-to-top:hover {
  transform: translateY(-5px);
  background-color: var(--light-blue-dark);
}

@keyframes iconPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
  }

  70% {
    transform: scale(1.1);
    box-shadow: 0 0 0 15px rgba(255, 255, 255, 0);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}