
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f5f6fa;
  color: #222;
  line-height: 1.7;
}

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

html[dir="ltr"] body {
  direction: ltr;
  text-align: left;
}

a {
  text-decoration: none;
  color: inherit;
}

header {
  background: #0c3b5e;
  color: #fff;
  padding: 15px 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.container {
  width: min(1100px, 94%);
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.logo {
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo img {
  height: 45px;
}

.logo span {
  display: block;
  font-size: 0.8rem;
  opacity: 0.85;
}

nav ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  gap: 10px;
}

nav a {
  padding: 6px 10px;
  border-radius: 20px;
  font-size: 0.9rem;
  transition: background 0.2s, color 0.2s;
}

nav a:hover,
nav a.active {
  background: #fff;
  color: #0c3b5e;
}

.lang-switch a {
  border: 1px solid rgba(255,255,255,0.7);
  padding-inline: 14px;
}

.hero {
  padding: 40px 0 25px;
  color: #fff;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 20px;
  align-items: center;
}

.hero h1 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.hero p {
  font-size: 1rem;
  opacity: 0.95;
}

.hero-tags {
  margin-top: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  font-size: 0.8rem;
  border-radius: 999px;
  padding: 5px 10px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.4);
}

.hero-side-box {
  background: rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 15px;
  font-size: 0.9rem;
}

.page {
  padding: 30px 0 40px;
}

.section {
  margin-bottom: 25px;
  background: #fff;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.section h2 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #0c3b5e;
}

.section h3 {
  font-size: 1.05rem;
  margin: 12px 0 5px;
  color: #145a86;
}

.section p {
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.section ul {
  margin-right: 18px;
  margin-top: 5px;
  list-style: disc;
  font-size: 0.95rem;
}

.section li {
  margin-bottom: 4px;
}

.badge {
  display: inline-block;
  font-size: 0.8rem;
  padding: 3px 8px;
  border-radius: 999px;
  background: #e6f2ff;
  color: #0c3b5e;
  margin-bottom: 8px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 15px;
}

.card {
  background: #fff;
  border-radius: 14px;
  padding: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.card h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.footer {
  background: #0c3b5e;
  color: #d9e6f5;
  padding: 15px 0;
  font-size: 0.85rem;
  margin-top: 20px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
}

.footer a {
  color: #fff;
  opacity: 0.9;
}

.contact-list {
  list-style: none;
  font-size: 0.95rem;
}

.contact-list li {
  margin-bottom: 6px;
}

form {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

input, textarea {
  font-family: inherit;
  font-size: 0.95rem;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid #d0d4dc;
  outline: none;
}

textarea {
  min-height: 100px;
  resize: vertical;
}

button {
  border: none;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.95rem;
  cursor: pointer;
  background: #0c3b5e;
  color: #fff;
}

button:hover {
  opacity: 0.9;
}

.responsive-img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 15px;
}

@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }
}
