:root {
  --brand: #0d6efd;
  --brand-purple: #6f42c1;
  --brand-warning: #d39e00;
  --brand-success: #198754;
  --brand-danger: #dc3545;

  --bg: #f6f8fb;
  --text-main: #111827;
  --text-muted: #6b7280;
  --border-soft: rgba(16, 24, 40, 0.08);
  --border-softer: rgba(16, 24, 40, 0.06);

  --card-radius: 18px;
  --shadow-lg: 0 18px 45px rgba(16, 24, 40, 0.12);
  --shadow-md: 0 10px 22px rgba(16, 24, 40, 0.06);
  --shadow-hover: 0 18px 35px rgba(16, 24, 40, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Cairo", sans-serif;
  background:
    radial-gradient(1200px 650px at 15% 10%, #eef4ff, transparent),
    radial-gradient(900px 500px at 90% 20%, #f3f0ff, transparent),
    var(--bg);
  min-height: 100vh;
  color: var(--text-main);
}

img {
  max-width: 100%;
  display: block;
}

.home-page {
  min-height: 100vh;
}

.page-wrap {
  padding: 26px 0 24px;
}

.hero-card {
  border: 0;
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
}

.hero-head {
  padding: 22px 22px 10px;
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.14), rgba(111, 66, 193, 0.1));
  border-bottom: 1px solid var(--border-softer);
  text-align: center;
}

.logo-wrap {
  width: 96px;
  height: 96px;
  margin: 0 auto 10px;
  border-radius: 22px;
  background: rgba(48, 115, 249, 0.9);
  border: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
}

.logo-fallback {
  font-weight: 800;
  color: #fff;
  letter-spacing: 1px;
}

.org-name {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
}

.platform-title {
  margin: 10px 0 0;
  font-size: clamp(1.1rem, 2.5vw, 1.55rem);
  font-weight: 900;
  line-height: 1.7;
  color: var(--text-main);
}

.platform-sub {
  margin: 6px 0 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.hero-body {
  padding: 18px 18px 6px;
}

.action-card {
  height: 100%;
  display: block;
  padding: 16px;
  color: inherit;
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  box-shadow: var(--shadow-md);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.action-card:hover,
.action-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(13, 110, 253, 0.22);
}

.action-card:focus-visible {
  outline: 3px solid rgba(13, 110, 253, 0.18);
  outline-offset: 2px;
}

.icon-badge {
  width: 56px;
  height: 56px;
  margin-bottom: 10px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-primary {
  background: rgba(13, 110, 253, 0.1);
  border: 1px solid rgba(13, 110, 253, 0.16);
  color: var(--brand);
}

.theme-purple {
  background: rgba(111, 66, 193, 0.1);
  border: 1px solid rgba(111, 66, 193, 0.18);
  color: var(--brand-purple);
}

.theme-warning {
  background: rgba(255, 193, 7, 0.12);
  border: 1px solid rgba(255, 193, 7, 0.24);
  color: var(--brand-warning);
}

.theme-success {
  background: rgba(25, 135, 84, 0.1);
  border: 1px solid rgba(25, 135, 84, 0.18);
  color: var(--brand-success);
}

.theme-danger {
  background: rgba(220, 53, 69, 0.1);
  border: 1px solid rgba(220, 53, 69, 0.18);
  color: var(--brand-danger);
}

.svg-ic {
  width: 26px;
  height: 26px;
}

.svg-ic path {
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.action-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 900;
}

.action-desc {
  margin: 6px 0 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.action-btn {
  margin-top: 12px;
  border-radius: 12px;
  padding: 0.55rem 0.9rem;
  font-weight: 800;
  pointer-events: none;
}

.hero-foot {
  padding: 14px 18px 18px;
  border-top: 1px solid var(--border-softer);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.contact a {
  text-decoration: none;
  font-weight: 700;
}

.muted {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.copyright {
  margin-top: 16px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

@media (max-width: 767.98px) {
  .hero-head {
    padding: 20px 16px 10px;
  }

  .hero-body {
    padding: 16px 16px 6px;
  }

  .hero-foot {
    padding: 14px 16px 18px;
    flex-direction: column;
    align-items: flex-start;
  }

  .action-title {
    font-size: 1rem;
  }

  .action-desc {
    font-size: 0.9rem;
  }
}