*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Segoe UI", Tahoma, "Noto Sans Arabic", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: #1a2332;
  background: #f7f5f0;
  direction: rtl;
}

a {
  color: #1565c0;
  text-decoration: none;
  font-weight: 700;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

.page {
  max-width: 720px;
  margin: 0 auto;
  padding: 20px 16px 40px;
}

.card {
  background: #fff;
  border-radius: 20px;
  padding: 24px 20px 28px;
  box-shadow: 0 12px 32px rgba(21, 39, 66, 0.08);
  border: 1px solid rgba(21, 101, 192, 0.1);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid #1565c0;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #1565c0, #0d47a1);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 18px;
  flex-shrink: 0;
}

.brand-name {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: #1565c0;
}

h1 {
  margin: 0 0 18px;
  font-size: clamp(22px, 5vw, 28px);
  font-weight: 900;
  color: #0d47a1;
  line-height: 1.35;
}

h2 {
  margin: 24px 0 10px;
  font-size: 18px;
  font-weight: 800;
  color: #1565c0;
}

p {
  margin: 0 0 14px;
}

ul {
  margin: 0 0 16px;
  padding: 0 22px 0 0;
}

li {
  margin-bottom: 8px;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.contact-list li {
  margin-bottom: 14px;
  padding: 14px 16px;
  background: #f3f8fd;
  border-radius: 14px;
  border: 1px solid rgba(21, 101, 192, 0.12);
}

.contact-label {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: #1565c0;
  margin-bottom: 6px;
}

.contact-list a,
.contact-list .contact-value {
  font-size: 17px;
  word-break: break-word;
}

.btn-link {
  display: inline-block;
  margin-top: 8px;
  padding: 12px 18px;
  border-radius: 14px;
  background: #1565c0;
  color: #fff !important;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(21, 101, 192, 0.25);
}

.btn-link:hover,
.btn-link:focus-visible {
  background: #0d47a1;
  text-decoration: none;
}

.footer-note {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid #e8edf3;
  font-size: 14px;
  color: #5a6472;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 20px;
  font-size: 15px;
}

@media (min-width: 600px) {
  .page {
    padding: 32px 24px 48px;
  }

  .card {
    padding: 32px 28px 36px;
  }
}
