@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap");

:root {
  --ht-primary: #114d84;
  --ht-primary-dark: #0e497a;
  --ht-accent: #fcc539;
  --ht-white: #ffffff;
  --ht-bg-light: #f7fafc;
  --ht-bg-blue: #eef5fa;
  --ht-text: #1f2937;
  --ht-text-muted: #6b7280;
  --ht-border: #e5e7eb;
  --ht-radius-sm: 6px;
  --ht-radius-md: 10px;
  --ht-radius-lg: 14px;
  --ht-shadow-sm: 0 4px 14px rgba(17, 77, 132, 0.08);
  --ht-shadow-md: 0 8px 24px rgba(17, 77, 132, 0.12);
  --ht-font-family: "Inter", "Cairo", Arial, sans-serif;
  --ht-font-size-base: 1rem;
  --ht-font-size-small: 0.875rem;
  --ht-font-size-button: 1rem;
  --ht-line-height: 1.75;
  --ht-space-1: 0.5rem;
  --ht-space-2: 0.75rem;
  --ht-space-3: 1rem;
  --ht-space-4: 1.5rem;
  --ht-space-5: 2rem;
  --ht-space-6: 3rem;
  --ht-section-space: 5rem;
  --bs-primary: var(--ht-primary);
  --bs-primary-rgb: 17, 77, 132;
  --bs-body-font-family: var(--ht-font-family);
  --bs-body-color: var(--ht-text);
  --bs-body-bg: var(--ht-bg-light);
  --bs-border-color: var(--ht-border);
}

* { box-sizing: border-box; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

html[dir="rtl"] { --ht-font-family: "Cairo", "Inter", Tahoma, Arial, sans-serif; }

html[dir="rtl"] body { text-align: right; }

body {
  min-width: 320px;
  margin: 0;
  background-color: var(--ht-bg-light);
  color: var(--ht-text);
  font-family: var(--ht-font-family);
  font-size: var(--ht-font-size-base);
  font-weight: 400;
  line-height: var(--ht-line-height);
  text-rendering: optimizeLegibility;
}

a {
  color: var(--ht-primary);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color 180ms ease;
  text-decoration: none;
}

a:hover { color: var(--ht-primary-dark); }

img, svg, video {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
  object-fit: cover;
}

button, input, select, textarea { font: inherit; }
button, [role="button"] { cursor: pointer; }

:focus-visible {
  outline: 3px solid rgba(252, 197, 57, 0.72);
  outline-offset: 3px;
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  color: var(--ht-primary-dark);
  font-weight: 700;
  line-height: 1.35;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2.125rem; }
h3 { font-size: 1.5rem; }
h4, h5, h6 { font-size: 1.125rem; }

p {
  margin-top: 0;
  margin-bottom: var(--ht-space-3);
}

small, .ht-text-small { font-size: var(--ht-font-size-small); }
.ht-text-muted { color: var(--ht-text-muted); }
.ht-bg-light { background-color: var(--ht-bg-light); }
.ht-bg-blue { background-color: var(--ht-bg-blue); }

.ht-section { padding-block: var(--ht-section-space); }
.ht-section--compact { padding-block: var(--ht-space-6); }
.ht-section-title { margin-bottom: var(--ht-space-2); }

.ht-section-intro {
  max-width: 42rem;
  margin-bottom: 0;
  color: var(--ht-text-muted);
}
