
.shafa-page {
  --shafa-blue: #073b75;
  --shafa-cyan: #1689b5;
  --shafa-text: #243247;
  --shafa-muted: #6d7b8d;
  --shafa-light: #f4f8fc;

  direction: ltr;
  width: 100%;
  color: var(--shafa-text);
  background: #fff;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.7;
  overflow: hidden;
}

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

.shafa-page a {
  text-decoration: none;
}

.shafa-header {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 6%;
  background: #fff;
  border-bottom: 1px solid #e8eef5;
}

.shafa-logo {
  color: var(--shafa-blue);
  font-size: 25px;
  font-weight: 800;
  white-space: nowrap;
}

.shafa-logo span {
  color: var(--shafa-cyan);
}

.shafa-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.shafa-nav a {
  color: var(--shafa-text);
  font-size: 14px;
  font-weight: 600;
}

.shafa-nav a:hover {
  color: var(--shafa-cyan);
}

.shafa-languages {
  display: flex;
  gap: 6px;
}

.shafa-languages button {
  padding: 7px 12px;
  border: 1px solid #dce5ef;
  border-radius: 6px;
  background: #fff;
  color: var(--shafa-blue);
  font-weight: 700;
  cursor: pointer;
}

.shafa-languages button.active {
  color: #fff;
  background: var(--shafa-blue);
  border-color: var(--shafa-blue);
}

.shafa-hero {
  min-height: 370px;
  display: flex;
  align-items: center;
  padding: 70px 8%;
  background: linear-gradient(115deg, #edf6fc, #f8fbfe 60%, #e7f4fa);
}

.shafa-hero-content {
  max-width: 760px;
}

.shafa-eyebrow {
  display: inline-block;
  color: var(--shafa-cyan);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.shafa-hero h1 {
  max-width: 720px;
  margin: 14px 0;
  color: var(--shafa-blue);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.25;
  font-weight: 800;
}

.shafa-hero p {
  max-width: 620px;
  margin: 0 0 26px;
  color: var(--shafa-muted);
  font-size: 16px;
}

.shafa-main-button {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 6px;
  background: var(--shafa-blue);
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
}

.shafa-main-button:hover {
  background: var(--shafa-cyan);
}

.shafa-login {
  padding: 65px 6%;
  background: #fff;
}

.shafa-section-heading {
  margin-bottom: 32px;
  text-align: center;
}

.shafa-section-heading h2,
.shafa-contact h2,
.shafa-about h2 {
  margin: 0 0 8px;
  color: var(--shafa-blue);
  font-size: 30px;
  line-height: 1.35;
}

.shafa-section-heading p {
  margin: 0;
  color: var(--shafa-muted);
}

.shafa-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  max-width: 1150px;
  margin: 0 auto;
}

.shafa-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px;
  border: 1px solid #e5edf5;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 26px rgba(19, 56, 91, .06);
}

.shafa-card-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 15px;
  border-radius: 8px;
  background: #eaf6fb;
  color: var(--shafa-cyan);
  font-size: 14px;
  font-weight: 800;
}

.shafa-card h3 {
  margin: 0 0 8px;
  color: var(--shafa-blue);
  font-size: 19px;
}

.shafa-card p {
  margin: 0 0 18px;
  color: var(--shafa-muted);
  font-size: 14px;
}

.shafa-button-wrap {
  width: 100%;
  margin-top: auto;
  padding-top: 10px;
  text-align: left;
}

.shafa-entry-button {
  width: 160px;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 40px;
  padding: 10px;
  margin-top: 10px;
  background-color: #ab007f;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  cursor: pointer;
}

.shafa-entry-button:hover {
  background-color: #850063;
  color: #fff;
}

.shafa-entry-button:focus-visible,
.shafa-languages button:focus-visible {
  outline: 2px solid var(--shafa-cyan);
  outline-offset: 3px;
}

.shafa-arrow {
  font-size: 18px;
  line-height: 1;
}

.shafa-about {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: center;
  gap: 40px;
  padding: 70px 8%;
  background: var(--shafa-light);
}

.shafa-about-text {
  max-width: 650px;
}

.shafa-about h2 {
  margin-top: 10px;
}

.shafa-about-text p {
  color: var(--shafa-muted);
}

.shafa-about-panel {
  display: grid;
  min-height: 200px;
  place-items: center;
  padding: 30px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--shafa-blue), #116e9b);
  color: #fff;
}

.shafa-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.shafa-stat strong {
  font-size: 32px;
  letter-spacing: 3px;
}

.shafa-stat span {
  font-size: 14px;
}

.shafa-contact {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 40px;
  padding: 60px 8%;
}

.shafa-contact-info p {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 14px;
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px solid #edf1f5;
  overflow-wrap: anywhere;
}

.shafa-contact-info strong {
  color: var(--shafa-blue);
}

.shafa-contact-info span,
.shafa-contact-info a {
  color: var(--shafa-muted);
}

.shafa-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 6%;
  background: var(--shafa-blue);
  color: #fff;
  font-size: 12px;
}

@media (max-width: 760px) {
  .shafa-header {
    flex-wrap: wrap;
    gap: 14px;
    padding: 16px 5%;
  }

  .shafa-nav {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
  }

  .shafa-hero {
    min-height: 320px;
    padding: 50px 6%;
  }

  .shafa-card-grid {
    grid-template-columns: 1fr;
  }

  .shafa-about,
  .shafa-contact {
    grid-template-columns: 1fr;
    padding: 48px 6%;
  }

  .shafa-contact-info p {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .shafa-footer {
    flex-direction: column;
    text-align: center;
  }
}
