:root {
  --primary-color: #f1b91a;
  --dark-color: #111111;
  --light-bg: #f8f8f8;
  --text-color: #333333;
  --accent-color: #ffdd55;
  --border-radius: 8px;
  --transition: 0.3s ease;
  --max-width: 1200px;
}

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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: #ffffff;
  color: var(--text-color);
  line-height: 1.7;
}

body[data-lang="ar"] {
  direction: rtl;
  text-align: right;
  font-family: "Tahoma", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body[data-lang="en"] {
  direction: ltr;
  text-align: left;
}

body[data-lang="ar"] .lang-en { display: none; }
body[data-lang="en"] .lang-ar { display: none; }

.top-bar {
  background-color: var(--dark-color);
  color: #fff;
  font-size: 0.9rem;
}

.top-bar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.4rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar a {
  color: #fff;
  text-decoration: none;
}

header {
  background-color: #ffffff;
  border-bottom: 3px solid var(--primary-color);
}

.navbar {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.8rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo-area img {
  height: 52px;
}

.logo-text-main {
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--dark-color);
  text-transform: uppercase;
  font-size: 0.95rem;
}

.logo-text-sub {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: #777;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.2rem;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--dark-color);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.lang-switch {
  display: flex;
  border-radius: 999px;
  border: 1px solid #ddd;
  overflow: hidden;
}

.lang-btn {
  padding: 0.25rem 0.7rem;
  font-size: 0.8rem;
  cursor: pointer;
  border: none;
  background-color: transparent;
}

.lang-btn.active {
  background-color: var(--primary-color);
  color: #000;
  font-weight: 700;
}

.menu-toggle {
  display: none;
  font-size: 1.4rem;
  cursor: pointer;
}

.hero {
  background: linear-gradient(135deg, #111111 0%, #222222 40%, #ffffff 40%, #ffffff 100%);
  border-bottom: 4px solid var(--primary-color);
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1rem 3.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background-color: rgba(241,185,26,0.12);
  color: var(--primary-color);
  padding: 0.2rem 0.8rem;
  border-radius: 999px;
  font-size: 0.8rem;
  margin-bottom: 0.8rem;
}

.hero-title {
  font-size: 2.1rem;
  margin-bottom: 0.6rem;
  color: var(--dark-color);
}

.hero-subtitle {
  font-size: 1.05rem;
  color: #555;
  margin-bottom: 1.2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}

.btn {
  border-radius: 999px;
  padding: 0.7rem 1.4rem;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition);
}

.btn-primary {
  background-color: var(--primary-color);
  color: #000;
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(0,0,0,0.18);
}

.btn-outline {
  border: 1px solid #ccc;
  background-color: #fff;
  color: #333;
}

.hero-highlight {
  font-size: 0.9rem;
  color: #777;
  margin-top: 1rem;
}

.hero-stats {
  display: grid;
  gap: 1rem;
}

.hero-card {
  background-color: #111;
  color: #fff;
  padding: 1rem;
  border-radius: var(--border-radius);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  width: 80px;
  height: 80px;
  background-color: rgba(241,185,26,0.15);
  border-radius: 16px;
  transform: rotate(25deg);
  top: -30px;
  right: -20px;
}

section {
  padding: 3rem 1rem;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-header {
  margin-bottom: 1.5rem;
}

.section-kicker {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-color);
  margin-bottom: 0.2rem;
}

.section-title {
  font-size: 1.7rem;
  margin-bottom: 0.4rem;
  color: var(--dark-color);
}

.section-desc {
  color: #666;
  max-width: 700px;
}

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

.card {
  background-color: #fff;
  border-radius: var(--border-radius);
  padding: 1.2rem 1.3rem;
  border: 1px solid #eee;
  box-shadow: 0 10px 25px rgba(0,0,0,0.03);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 35px rgba(0,0,0,0.07);
  border-color: rgba(241,185,26,0.6);
}

.card-title {
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.card-tagline {
  font-size: 0.85rem;
  color: #777;
  margin-bottom: 0.4rem;
}

.callout {
  background: linear-gradient(135deg, #111111 0%, #222222 40%, #363636 100%);
  color: #fff;
}

.callout-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.2rem 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  justify-content: space-between;
}

footer {
  background-color: #111;
  color: #ccc;
  padding-top: 2rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1.5fr 1.5fr;
  gap: 1.5rem;
  margin-bottom: 1.8rem;
}

.footer-logo {
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: #fff;
}

.footer-list {
  list-style: none;
  font-size: 0.9rem;
}

.footer-list li + li {
  margin-top: 0.15rem;
}

.footer-list a {
  color: #ccc;
  text-decoration: none;
}

.footer-list a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 1rem;
  font-size: 0.8rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.page-header {
  background: linear-gradient(120deg, #111 0%, #111 55%, #f1b91a 55%, #f1b91a 100%);
  color: #fff;
}

.page-header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.8rem 1rem;
}

.breadcrumb {
  font-size: 0.85rem;
  opacity: 0.85;
}

.lead {
  font-size: 1.05rem;
  margin-bottom: 1rem;
  color: #555;
}

.two-columns {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
}

.contact-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
}

.form-group {
  margin-bottom: 1rem;
}

label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

input, textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border-radius: 6px;
  border: 1px solid #ddd;
  font-size: 0.95rem;
}

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

input:focus, textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(241,185,26,0.25);
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .two-columns,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    inset-inline: 0;
    top: 60px;
    background-color: #fff;
    flex-direction: column;
    padding: 0.7rem 1rem 1rem;
    border-bottom: 2px solid var(--primary-color);
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}
