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

body {
  font-family: Arial, sans-serif;
  background-color: #f4f6f8;
  color: #102a43;
  line-height: 1.6;
}

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

header {
  background: linear-gradient(90deg, #005f73 0%, #0a9396 50%, #001f3f 100%);
  color: #fff;
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

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

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-wrap img {
  height: 38px;
  width: 38px;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
  font-size: 0.85rem;
  line-height: 1.2;
}

.logo-text strong {
  font-size: 0.95rem;
}

.nav-links {
  display: flex;
  gap: 15px;
  font-size: 0.95rem;
}

.nav-links a {
  padding: 6px 10px;
  border-radius: 4px;
  transition: background 0.2s ease;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.12);
}

.lang-switch {
  display: flex;
  gap: 8px;
  font-size: 0.9rem;
  align-items: center;
}

.lang-switch button {
  border: 1px solid #e5e7eb;
  background: rgba(15, 23, 42, 0.1);
  color: #f9fafb;
  padding: 4px 8px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.8rem;
}

.lang-switch button.active {
  background: #fbbf24;
  border-color: #fbbf24;
  color: #111827;
}

.hero {
  background: radial-gradient(circle at top left, #0a9396 0%, #001f3f 55%, #000814 100%);
  color: #fff;
  padding: 60px 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 30px;
  align-items: center;
}

.hero h1 {
  font-size: 2.1rem;
  margin-bottom: 15px;
}

.hero p {
  font-size: 1rem;
  margin-bottom: 20px;
  color: #e2e8f0;
}

.hero-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(90deg, #f97316, #fbbf24);
  color: #111827;
}

.btn-secondary {
  background: transparent;
  border: 1px solid #e5e7eb;
  color: #e5e7eb;
}

.hero-image img {
  width: 100%;
  border-radius: 16px;
  display: block;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.section {
  padding: 50px 0;
}

.section-title {
  font-size: 1.6rem;
  margin-bottom: 10px;
  text-align: left;
}

.section-subtitle {
  font-size: 0.95rem;
  color: #4b5563;
  margin-bottom: 30px;
  max-width: 680px;
}

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

.card {
  background: #ffffff;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
  border: 1px solid #e5e7eb;
}

.card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.card p {
  font-size: 0.9rem;
  color: #4b5563;
}

.card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 10px;
  max-height: 210px;
  object-fit: cover;
}

.two-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  align-items: flex-start;
}

.branches {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.branch {
  background: #ffffff;
  border-radius: 14px;
  padding: 18px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.05);
}

.branch h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.branch p {
  font-size: 0.9rem;
  color: #4b5563;
  margin-bottom: 6px;
}

.branch img {
  width: 100%;
  border-radius: 10px;
  margin-top: 8px;
  max-height: 220px;
  object-fit: cover;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  align-items: flex-start;
}

.contact-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 18px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.04);
  font-size: 0.9rem;
}

form {
  display: grid;
  gap: 12px;
}

input, textarea, select {
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  font-size: 0.9rem;
  width: 100%;
}

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

button[type="submit"] {
  background: linear-gradient(90deg, #f97316, #fbbf24);
  color: #111827;
  border: none;
  padding: 10px 16px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.9rem;
}

button[type="submit"]:hover {
  opacity: 0.95;
}

footer {
  background: #001219;
  color: #9ca3af;
  padding: 18px 0;
  margin-top: 40px;
  font-size: 0.85rem;
}

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

.lang-block {
  display: none;
}

.lang-ar {
  direction: rtl;
  text-align: right;
  font-family: "Tahoma", "Arial", sans-serif;
}

.lang-en {
  direction: ltr;
  text-align: left;
}

.lang-visible {
  display: block;
}

@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  header {
    position: static;
  }
  .nav-links {
    display: none;
  }
}
