/* ===== Footer v2 Tight Grid ===== */
/* #site-footer {
  --bg: #0b1020;
  --panel: #0f141b;
  --ink: #e7edf3;
  --muted: #9fb2c9;
  --ring: rgba(255, 255, 255, .08);
  --pri: #3d6aff;
  --vio: #7c3aed;
  background: var(--bg);
  color: var(--muted);
  border-top: 1px solid rgba(255, 255, 255, .06);
  margin-top: 32px
} */

#site-footer .sf-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px
}

/* wrap + grid */
#site-footer .sf-wrap {
  padding: 24px 0 20px
}

#site-footer .sf-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 24px
}

@media (max-width:1100px) {
  #site-footer .sf-grid {
    grid-template-columns: 1fr 1fr
  }
}

@media (max-width:640px) {
  #site-footer .sf-grid {
    grid-template-columns: 1fr
  }
}

/* column */
#site-footer .sf-col {
  background: linear-gradient(180deg, rgba(255, 255, 255, .02), rgba(255, 255, 255, 0));
  border: 1px solid var(--ring);
  border-radius: 14px;
  padding: 16px 14px
}

/* brand */
#site-footer .sf-brand .sf-brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  margin-bottom: 8px
}

#site-footer .sf-brand .sf-logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: radial-gradient(120% 120% at 20% 10%, var(--pri) 0%, var(--vio) 55%, var(--bg) 100%);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .35)
}

#site-footer .sf-brand .sf-en {
  display: block;
  font: 900 16px/1 'Cairo', sans-serif
}

#site-footer .sf-brand .sf-ar {
  display: block;
  font: 700 12px/1.6 'Cairo', sans-serif;
  color: var(--muted)
}

#site-footer .sf-about {
  margin: 8px 0 0;
  font: 400 14px/1.8 'Cairo', sans-serif
}

/* social */
#site-footer .sf-social {
  display: flex;
  gap: 8px;
  margin-top: 10px
}

#site-footer .sf-s {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ring);
  border-radius: 10px;
  color: var(--muted);
  background: rgba(255, 255, 255, .02);
  transition: .2s
}

#site-footer .sf-s:hover {
  transform: translateY(-2px);
  color: #dbe8ff;
  border-color: rgba(255, 255, 255, .18)
}

#site-footer .sf-s svg {
  display: block
}

/* titles */
#site-footer .sf-title {
  margin: 0 0 8px;
  font: 800 14px/1.3 'Cairo', sans-serif;
  color: var(--ink)
}

/* links */
#site-footer .sf-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px
}

#site-footer .sf-links a {
  color: var(--muted);
  text-decoration: none
}

#site-footer .sf-links a:hover {
  color: #dbe8ff
}

/* contact */
#site-footer .sf-contact {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px
}

#site-footer .sf-contact li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px
}

#site-footer .sf-contact li span {
  font: 700 12px/1.6 'Cairo', sans-serif;
  color: var(--ink)
}

#site-footer .sf-contact a {
  color: #dbe8ff;
  text-decoration: none
}

#site-footer .sf-map {
  color: #dbe8ff
}

/* newsletter */
#site-footer .sf-news {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap
}

#site-footer .sf-news input {
  flex: 1;
  min-width: 220px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--ring);
  background: var(--panel);
  color: var(--ink);
  outline: none
}

#site-footer .sf-btn {
  padding: 10px 14px;
  border-radius: 10px;
  border: 0;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(135deg, var(--pri), var(--vio))
}

#site-footer .sf-msg {
  font: 400 12px/1.8 'Cairo', sans-serif;
  min-height: 1.8em;
  margin: 4px 2px 0
}

/* bottom bar */
#site-footer .sf-bottom {
  border-top: 1px solid rgba(255, 255, 255, .06)
}

#site-footer .sf-bottom-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
  padding: 12px 16px
}

@media (max-width:900px) {
  #site-footer .sf-bottom-row {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center
  }
}

#site-footer .sf-copy {
  font: 400 13px/1.8 'Cairo', sans-serif
}

#site-footer .sf-legal {
  list-style: none;
  display: flex;
  gap: 12px;
  padding: 0;
  margin: 0
}

#site-footer .sf-legal a {
  color: var(--muted);
  text-decoration: none
}

#site-footer .sf-legal a:hover {
  color: #dbe8ff
}

#site-footer .sf-top {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--panel);
  color: var(--ink);
  border: 1px solid var(--ring);
  cursor: pointer;
  transition: .2s
}

#site-footer .sf-top:hover {
  transform: translateY(-2px)
}



/* Update these CSS rules in your style section */

/* Adjust container width and padding */
#site-footer .sf-container {
  max-width: 1400px;
  /* Increased from 1200px */
  margin: 0 auto;
  padding: 0 32px;
  /* Increased padding */
}

/* Improve grid spacing and column sizes */
#site-footer .sf-grid {
  display: grid;
  grid-template-columns: 2.5fr 1.5fr 1.5fr;
  /* Better column distribution */
  gap: 40px;
  /* Increased gap */
  padding: 40px 0;
  /* Added padding */
}

/* Enhance column styling */
#site-footer .sf-col {
  padding: 24px 20px;
  /* Increased padding */
  border-radius: 16px;
  /* Slightly larger radius */
}

/* Improve brand section */
#site-footer .sf-brand .sf-logo {
  width: 48px;
  /* Larger logo */
  height: 48px;
}

#site-footer .sf-brand .sf-en {
  font-size: 20px;
  /* Larger brand name */
}

#site-footer .sf-brand .sf-ar {
  font-size: 14px;
  /* Larger Arabic text */
}

/* Responsive improvements */
@media (max-width: 1200px) {
  #site-footer .sf-grid {
    grid-template-columns: 2fr 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 900px) {
  #site-footer .sf-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  #site-footer .sf-container {
    padding: 0 20px;
  }
}

@media (max-width: 640px) {
  #site-footer .sf-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  #site-footer .sf-col {
    padding: 20px 16px;
  }
}

/* Enhance bottom bar */
#site-footer .sf-bottom-row {
  padding: 20px 32px;
  gap: 24px;
}

/* Improve typography */
#site-footer .sf-title {
  font-size: 16px;
  margin-bottom: 16px;
}

#site-footer .sf-links,
#site-footer .sf-contact {
  font-size: 14px;
  gap: 8px;
}