/* Base */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Book Antiqua", "Palatino Linotype", Palatino, Georgia, serif;
  background: #f4f6f8;
  color: #1f2933;
  line-height: 1.7;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

.section {
  padding: 72px 0;
}

.section-light {
  background: #ffffff;
}

/* Header */
.topbar {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 84px;
}

.logo-area {
  display: flex;
  align-items: center;
  min-width: 220px;
}

.logo {
  height: 54px;
  width: auto;
  object-fit: contain;
}

.logo-fallback {
  display: none;
  align-items: center;
  gap: 12px;
}

.logo-mark {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: linear-gradient(135deg, #0f3b66, #2b6ea6);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 18px;
}

.logo-text-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.logo-text-main {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1.4px;
  color: #0f3b66;
}

.logo-text-sub {
  font-size: 12px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: #6b7280;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}

.nav a {
  text-decoration: none;
  color: #0f3b66;
  font-weight: 600;
  font-size: 15px;
  transition: color 0.25s ease;
}

.nav a:hover {
  color: #2b6ea6;
}

.language-switch {
  display: flex;
  gap: 8px;
}

.language-switch button {
  border: 1px solid #d1d5db;
  background: #ffffff;
  color: #0f3b66;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
}

.language-switch button:hover {
  background: #f3f4f6;
}

/* Hero */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(8, 25, 43, 0.78) 0%,
    rgba(8, 25, 43, 0.48) 45%,
    rgba(8, 25, 43, 0.25) 100%
  );
}

.hero-text {
  position: relative;
  z-index: 2;
  color: #ffffff;
  padding-top: 30px;
  padding-bottom: 30px;
}

.hero-company-name{
margin:0 0 12px;
font-size:clamp(42px, 6vw, 72px);
font-weight:700;
letter-spacing:1px;
color:#ffffff;
line-height:1.05;
text-shadow:0 4px 16px rgba(0,0,0,0.35);
}

.hero-subtitle{
margin:0 0 10px;
font-size:clamp(13px, 1.2vw, 18px);
font-weight:500;
font-style:italic;
color:#dbe8f5;
line-height:1.35;
letter-spacing:0.2px;
}

.hero-text h2 {
  max-width: 760px;
  margin: 0 0 18px;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.12;
  color: #dbe8f5;
}

.hero-text p{
max-width:640px;
margin:0;
font-size:14px;
font-style:italic;
color:#e5edf5;
line-height:1.5;
}

/* Stats */
.stats {
  background: linear-gradient(135deg, #0f3b66, #123f6d);
  color: #ffffff;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  padding: 28px 0;
}

.stat-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 24px 20px;
  text-align: center;
}

.stat-box h3 {
  margin: 0 0 8px;
  font-size: 34px;
  color: #ffffff;
}

.stat-box p {
  margin: 0;
  color: #d9e7f2;
}

/* Titles */
.section-title {
  margin: 0 0 34px;
  font-size: clamp(28px, 4vw, 38px);
  color: #0f3b66;
  position: relative;
  padding-left: 18px;
}

.section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 6px;
  height: calc(100% - 8px);
  border-radius: 999px;
  background: linear-gradient(180deg, #2b6ea6, #0f3b66);
}

/* About */
.about-container {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 42px;
  align-items: start;
}

.about-text p {
  margin: 0 0 18px;
  font-size: 16px;
  text-align: justify;
}

.about-text .highlight {
  font-size: 19px;
  font-weight: 700;
  color: #0f3b66;
}

.about-text .future {
  margin-top: 24px;
  padding: 18px 18px 18px 20px;
  border-left: 4px solid #25d366;
  background: #f8fbf9;
  border-radius: 0 12px 12px 0;
  font-style: italic;
}

.about-image-box img {
  width: 100%;
  border-radius: 22px;
  box-shadow: 0 18px 40px rgba(15, 59, 102, 0.18);
  object-fit: cover;
}

/* Products */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(15, 59, 102, 0.08);
  border: 1px solid #eef2f6;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(15, 59, 102, 0.14);
}

.product-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.product-card h3 {
  margin: 0;
  padding: 18px 18px 22px;
  color: #0f3b66;
  font-size: 20px;
}

/* Capabilities */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.cap-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: 0 12px 30px rgba(15, 59, 102, 0.08);
  border: 1px solid #eef2f6;
}

.cap-card h3 {
  margin: 0 0 12px;
  color: #0f3b66;
  font-size: 22px;
}

.cap-card p {
  margin: 0;
  color: #4b5563;
}

/* Industries */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.industry-item {
  background: #ffffff;
  border: 1px solid #e8edf2;
  border-radius: 18px;
  padding: 24px 20px;
  text-align: center;
  color: #0f3b66;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(15, 59, 102, 0.06);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 30px;
  align-items: start;
}

.contact-info {
  background: #ffffff;
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: 0 12px 30px rgba(15, 59, 102, 0.08);
  border: 1px solid #eef2f6;
}

.contact-info p {
  margin: 0 0 14px;
}

.contact-map iframe {
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(15, 59, 102, 0.1);
}

/* WhatsApp */
.whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1200;
  background: #25d366;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  padding: 14px 18px;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.32);
}

/* Arabic */
body.rtl {
  direction: rtl;
}

body.rtl .section-title {
  padding-left: 0;
  padding-right: 18px;
}

body.rtl .section-title::before {
  left: auto;
  right: 0;
}

body.rtl .about-text .future {
  border-left: none;
  border-right: 4px solid #25d366;
  border-radius: 12px 0 0 12px;
  padding-left: 18px;
  padding-right: 20px;
}

body.rtl .nav {
  direction: rtl;
}

/* Responsive */
@media (max-width: 1024px) {
  .topbar-inner {
    flex-wrap: wrap;
    justify-content: center;
    padding: 16px 0;
  }

  .logo-area {
    min-width: auto;
  }

  .about-container,
  .contact-grid,
  .product-grid,
  .cap-grid,
  .industries-grid,
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-grid,
  .about-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .section {
    padding: 56px 0;
  }

  .hero {
    min-height: 430px;
  }

  .hero-text h2 {
    font-size: 34px;
  }

  .hero-text p {
    font-size: 16px;
  }

  .product-grid,
  .cap-grid,
  .industries-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    gap: 12px;
  }

  .nav a {
    font-size: 14px;
  }

  .whatsapp {
    right: 14px;
    bottom: 14px;
  }
}
