/* Footer styling adapted for the official Munich consulate identity. */

/* ═══ MODERN FOOTER (Dubai-inspired) ══════════════════════ */
.sf {
  background: #0b1a2e;
  color: rgba(255,255,255,.76);
  margin-top: 0;
  font-family: 'Poppins', -apple-system, sans-serif;
  position: relative;
}
html[dir="rtl"] .sf { font-family: 'Vazirmatn', Tahoma, sans-serif; }

/* Gold accent top bar */
.sf::before {
  content: '';
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--gold,#1e3a6e) 0%, #2d5a9e 40%, #4a7ab5 60%, #2d5a9e 80%, var(--gold,#1e3a6e) 100%);
}

/* ── CTA banner above columns ── */
.sf-cta {
  background: linear-gradient(135deg, #0d2240 0%, #163a64 100%);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.sf-cta-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 36px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.sf-cta-text {
  font-size: 1.3rem; font-weight: 600; color: #fff;
  line-height: 1.5;
}
html[dir="rtl"] .sf-cta-text { font-size: 1.35rem; }
.sf-cta-text span {
  color: #7eb3e8;
}
.sf-cta-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 30px; border-radius: 8px;
  background: linear-gradient(135deg, #1e3a6e, #2d5a9e);
  color: #fff; font-weight: 700; font-size: .95rem;
  text-decoration: none; transition: all .3s;
  box-shadow: 0 4px 16px rgba(30,58,110,.3);
  white-space: nowrap;
}
.sf-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(30,58,110,.45);
}
.sf-cta-btn svg { flex-shrink: 0; }

/* ── 3-column grid ── */
.sf-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 52px 36px 44px;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 48px;
}

/* ── Col 1: Brand ── */
.sf-brand {
  display: flex; flex-direction: column;
}
.sf-logo-row {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 20px;
}
.sf-logo-ring {
  width: 56px; height: 56px; flex-shrink: 0;
  border-radius: 50%;
  border: 2px solid rgba(30,58,110,.4);
  padding: 3px;
  background: rgba(255,255,255,.04);
}
.sf-logo-ring img {
  width: 100%; height: 100%;
  border-radius: 50%; object-fit: cover;
  display: block;
}
.sf-official-logo {
  display: block;
  width: min(100%, 360px);
  height: auto;
  object-fit: contain;
}
.sf-logo-text-name {
  font-size: 1.1rem; font-weight: 700;
  color: #fff; line-height: 1.35;
}
.sf-logo-text-city {
  font-size: .75rem; font-weight: 600;
  color: rgba(126,179,232,.75);
  letter-spacing: 2.5px; text-transform: uppercase;
  margin-top: 3px;
}
.sf-about-p {
  font-size: .92rem; line-height: 1.9;
  color: rgba(255,255,255,.45);
  margin-bottom: 24px;
}
.sf-soc-row { display: flex; gap: 10px; }
.sf-soc {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.5); text-decoration: none;
  transition: all .3s;
}
.sf-soc:hover {
  background: rgba(30,58,110,.15);
  border-color: rgba(30,58,110,.35);
  color: #7eb3e8; transform: translateY(-3px);
  box-shadow: 0 4px 16px rgba(30,58,110,.2);
}

/* ── Col heading ── */
.sf-h {
  font-size: .78rem; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: #7eb3e8;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(126,179,232,.18);
  display: inline-block;
  position: relative;
}
.sf-h::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 40px; height: 2px;
  background: linear-gradient(90deg, #7eb3e8, transparent);
}
html[dir="rtl"] .sf-h { letter-spacing: .5px; font-size: .9rem; }
html[dir="rtl"] .sf-h::after { left: auto; right: 0; background: linear-gradient(-90deg, #7eb3e8, transparent); }

/* ── Link lists (modern card style — matches contact cards) ── */
.sf-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 8px;
}
.sf-list li { margin: 0; }
.sf-list a {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px;
  background: rgba(255,255,255,.03);
  border-radius: 10px;
  border-left: 3px solid rgba(126,179,232,.4);
  font-size: .93rem;
  color: rgba(255,255,255,.78);
  text-decoration: none;
  font-weight: 500;
  transition: all .25s cubic-bezier(.16,1,.3,1);
}
html[dir="rtl"] .sf-list a { border-left: none; border-right: 3px solid rgba(126,179,232,.4); }
.sf-list a::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(126,179,232,.55);
  flex-shrink: 0; transition: all .25s;
}
.sf-list a:hover {
  background: rgba(255,255,255,.06);
  border-left-color: #7eb3e8;
  transform: translateX(3px);
  color: #fff;
}
html[dir="rtl"] .sf-list a:hover {
  transform: translateX(-3px);
  border-right-color: #7eb3e8;
}
.sf-list a:hover::before { background: #7eb3e8; transform: scale(1.4); }

/* ── Contact rows (modern card style) ── */
.sf-ci {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  margin-bottom: 8px;
  background: rgba(255,255,255,.03);
  border-radius: 10px;
  border-left: 3px solid rgba(126,179,232,.4);
  transition: background .25s, border-color .25s, transform .25s;
}
html[dir="rtl"] .sf-ci { border-left: none; border-right: 3px solid rgba(126,179,232,.4); }
.sf-ci:last-child { margin-bottom: 0; }
.sf-ci:hover {
  background: rgba(255,255,255,.06);
  border-left-color: #7eb3e8;
  transform: translateX(2px);
}
html[dir="rtl"] .sf-ci:hover { transform: translateX(-2px); border-right-color: #7eb3e8; }

.sf-ci-icon {
  flex-shrink: 0;
  width: 36px; height: 36px;
  background: linear-gradient(135deg, rgba(126,179,232,.18), rgba(126,179,232,.08));
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  color: #7eb3e8;
}
.sf-ci-icon svg { width: 18px; height: 18px; }
.sf-ci-body { flex: 1; min-width: 0; }
.sf-ci-label {
  font-size: .68rem; font-weight: 700;
  letter-spacing: 1.6px; text-transform: uppercase;
  color: rgba(126,179,232,.85);
  margin-bottom: 4px;
}
html[dir="rtl"] .sf-ci-label { letter-spacing: .4px; font-size: .76rem; }
.sf-ci-val {
  font-size: .92rem; line-height: 1.5;
  color: rgba(255,255,255,.85); font-weight: 500;
  word-break: break-word;
}
.sf-ci-val a { color: rgba(255,255,255,.85); text-decoration: none; transition: color .2s; font-weight: 600; }
.sf-ci-val a:hover { color: #7eb3e8; }

/* ── Bottom strip ── */
.sf-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
}
.sf-bottom-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 20px 36px;
  text-align: center;
}
.sf-copy {
  font-size: .88rem;
  color: rgba(255,255,255,.35);
  letter-spacing: .3px;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .sf-inner { grid-template-columns: 1fr 1fr; gap: 36px; padding: 44px 28px 38px; }
  .sf-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .sf-inner { grid-template-columns: 1fr; gap: 28px; padding: 36px 20px 30px; }
  .sf-cta-inner { padding: 28px 20px; flex-direction: column; text-align: center; }
  .sf-cta-text { font-size: 1.1rem; }
  .sf-bottom-inner { padding: 14px 20px; flex-direction: column; text-align: center; }
}
