:root {
  --navy-950: #071324;
  --navy-900: #0b1c33;
  --navy-800: #102a4c;
  --blue-700: #1d4ed8;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --blue-100: #dbeafe;
  --blue-50: #eff6ff;
  --whatsapp-green: #15803d;
  --whatsapp-hover: #166534;
  --whatsapp-bg: #f0fdf4;
  --whatsapp-border: #bbf7d0;
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --bg-alt: #f1f5f9;
  --text-main: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --border-light: #e2e8f0;
  --border-subtle: #cbd5e1;
  --border-dark: #1e3a5f;
  --font-heading: 'Cairo', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Tajawal', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.06);
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --transition-fast: 0.18s ease-in-out;
}

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

html {
  direction: rtl;
  text-align: right;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-page);
  color: var(--text-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.35;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast);
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.top-bar {
  background-color: var(--navy-950);
  color: #e2e8f0;
  font-size: 0.88rem;
  border-bottom: 1px solid var(--border-dark);
  padding: 8px 0;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.top-bar-contact {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.top-bar-contact a {
  color: #ffffff;
  font-weight: 700;
}

.top-bar-contact a:hover {
  color: var(--blue-500);
}

.top-bar-contact .separator {
  color: var(--text-muted);
  opacity: 0.5;
}

.top-whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--whatsapp-green);
  color: #ffffff;
  padding: 4px 12px;
  border-radius: var(--radius-xs);
  font-size: 0.82rem;
  font-weight: 600;
}

.top-whatsapp-link:hover {
  background-color: var(--whatsapp-hover);
  color: #ffffff;
}

.header {
  position: sticky;
  top: 0;
  z-index: 900;
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 20px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo-img {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border-light);
  background-color: #ffffff;
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.34rem;
  font-weight: 800;
  color: var(--navy-900);
  letter-spacing: -0.3px;
  line-height: 1.15;
}

.brand-subtitle {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-item {
  font-family: var(--font-heading);
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text-body);
  padding: 6px 0;
  position: relative;
}

.nav-item:hover {
  color: var(--blue-700);
}

.nav-item.active {
  color: var(--blue-700);
}

.nav-item.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  right: 0;
  left: 0;
  height: 2px;
  background-color: var(--blue-700);
  border-radius: 2px;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.call-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background-color: var(--blue-700);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: background-color var(--transition-fast);
}

.call-btn:hover {
  background-color: var(--navy-800);
  color: #ffffff;
}

.btn-icon {
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}

.menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  gap: 5px;
  padding: 0;
}

.menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--navy-900);
  border-radius: 2px;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.menu-btn.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.menu-btn.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.5);
  z-index: 850;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.94rem;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: all var(--transition-fast);
}

.btn-blue {
  background-color: var(--blue-700);
  color: #ffffff;
  border-color: var(--blue-700);
}

.btn-blue:hover {
  background-color: var(--navy-800);
  border-color: var(--navy-800);
  color: #ffffff;
}

.btn-outline {
  background-color: #ffffff;
  color: var(--navy-900);
  border-color: var(--border-subtle);
}

.btn-outline:hover {
  background-color: var(--bg-alt);
  border-color: var(--text-muted);
}

.btn-whatsapp {
  background-color: var(--whatsapp-green);
  color: #ffffff;
  border-color: var(--whatsapp-green);
}

.btn-whatsapp:hover {
  background-color: var(--whatsapp-hover);
  border-color: var(--whatsapp-hover);
  color: #ffffff;
}

.btn-sm {
  padding: 7px 16px;
  font-size: 0.85rem;
}

.btn-block {
  width: 100%;
}

.hero {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-light);
  padding: 48px 0 44px;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
}

.hero-box {
  max-width: 640px;
}

.hero-logo-box {
  display: inline-flex;
  align-items: center;
  margin-bottom: 16px;
}

.hero-brand-logo {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  background-color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.hero-image-wrap {
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.hero-img {
  width: 100%;
  height: 310px;
  object-fit: cover;
}

.img-caption {
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 8px 12px;
  background-color: var(--bg-page);
  border-top: 1px solid var(--border-light);
  display: block;
}

.hero-heading {
  font-size: 2.15rem;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 14px;
  line-height: 1.3;
}

.hero-text {
  font-size: 1.05rem;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 24px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-info-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background-color: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  gap: 16px;
}

.info-block {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.info-block:not(:last-child) {
  border-left: 1px solid var(--border-light);
  padding-left: 16px;
}

.info-block strong {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: var(--navy-900);
}

.info-block span {
  font-size: 0.82rem;
  color: var(--text-body);
  line-height: 1.45;
}

.section-block {
  padding: 64px 0;
}

.bg-subtle {
  background-color: #ffffff;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.block-header {
  margin-bottom: 32px;
}

.block-header h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 6px;
}

.block-header p {
  font-size: 1rem;
  color: var(--text-muted);
}

.about-columns {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 36px;
  align-items: start;
}

.about-text-column h3 {
  font-size: 1.3rem;
  margin-bottom: 14px;
  color: var(--navy-900);
}

.about-text-column p {
  margin-bottom: 16px;
  font-size: 0.98rem;
  color: var(--text-body);
  line-height: 1.8;
}

.principles-list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.principle-entry {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  border-right: 3px solid var(--blue-700);
}

.principle-entry strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--navy-900);
  margin-bottom: 4px;
}

.principle-entry span {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.6;
}

.data-sheet {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.data-sheet h4 {
  font-size: 1.15rem;
  color: var(--navy-900);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-light);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.data-table th,
.data-table td {
  padding: 10px 8px;
  font-size: 0.88rem;
  text-align: right;
  border-bottom: 1px solid var(--border-light);
  vertical-align: top;
}

.data-table th {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--navy-900);
  width: 32%;
  white-space: nowrap;
}

.data-table td {
  color: var(--text-body);
}

.sheet-cta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background-color: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-radius: var(--radius-xs);
  padding: 12px 14px;
  font-size: 0.88rem;
}

.sheet-cta span {
  color: var(--text-muted);
}

.sheet-cta .text-link {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--blue-700);
}

.sheet-cta .text-link:hover {
  text-decoration: underline;
}

.product-visuals-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-bottom: 26px;
}

.product-visual-card {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.product-visual-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.product-visual-body {
  padding: 14px 16px;
  background-color: #ffffff;
}

.product-visual-body strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.98rem;
  color: var(--navy-900);
  margin-bottom: 4px;
}

.product-visual-body span {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}

.catalog-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  text-align: right;
}

.catalog-table thead {
  background-color: var(--bg-alt);
  border-bottom: 2px solid var(--border-light);
}

.catalog-table th {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy-900);
  padding: 14px 18px;
  white-space: nowrap;
}

.catalog-table tbody tr {
  border-bottom: 1px solid var(--border-light);
  transition: background-color var(--transition-fast);
}

.catalog-table tbody tr:last-child {
  border-bottom: none;
}

.catalog-table tbody tr:hover {
  background-color: var(--bg-page);
}

.catalog-table td {
  padding: 14px 18px;
  font-size: 0.92rem;
  color: var(--text-body);
  vertical-align: middle;
}

.catalog-table td.product-name {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--navy-900);
  white-space: nowrap;
}

.catalog-footer-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  flex-wrap: wrap;
}

.catalog-footer-note p {
  font-size: 0.88rem;
  color: var(--text-body);
  max-width: 750px;
}



.location-details-card {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 32px;
  align-items: start;
}

.location-info-main h3 {
  font-size: 1.22rem;
  color: var(--navy-900);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-light);
}

.address-lines {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
}

.address-lines p {
  font-size: 0.92rem;
  color: var(--text-body);
}

.address-lines strong {
  color: var(--navy-900);
  margin-left: 4px;
}

.location-info-side .working-hours-box {
  background-color: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 18px;
  margin-bottom: 0;
}

.working-hours-box h4 {
  font-size: 0.98rem;
  color: var(--navy-900);
  margin-bottom: 10px;
}

.hours-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  border-bottom: 1px dashed var(--border-light);
  padding-bottom: 6px;
}

.hours-list li span {
  color: var(--text-body);
}

.hours-list li strong {
  color: var(--blue-700);
}

.hours-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.location-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.location-map-wrap {
  margin-top: 24px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  background-color: #ffffff;
  height: 320px;
}

.location-map-wrap iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 28px;
  align-items: start;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-box {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.contact-box h3 {
  font-size: 1.1rem;
  color: var(--navy-900);
  margin-bottom: 12px;
}

.contact-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.92rem;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-light);
}

.contact-row:last-of-type {
  border-bottom: none;
}

.phone-number {
  direction: ltr !important;
  unicode-bidi: isolate !important;
  display: inline-block;
  white-space: nowrap;
}

.phone-link,
.email-link {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
  white-space: nowrap;
  font-weight: 700;
  color: var(--blue-700);
  font-family: var(--font-heading);
}

.phone-link:hover,
.email-link:hover {
  color: var(--navy-900);
  text-decoration: underline;
}

.contact-hint {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 8px;
}

.whatsapp-box {
  background-color: var(--whatsapp-bg);
  border-color: var(--whatsapp-border);
}

.whatsapp-box h3 {
  color: var(--whatsapp-hover);
}

.whatsapp-box p {
  font-size: 0.9rem;
  color: var(--text-body);
  margin-bottom: 14px;
}

.inquiry-form-card {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}

.inquiry-form-card h3 {
  font-size: 1.2rem;
  color: var(--navy-900);
  margin-bottom: 6px;
}

.form-intro {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.direct-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field label {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy-900);
}

.input-text {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-main);
  background-color: #ffffff;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.input-text:focus {
  outline: none;
  border-color: var(--blue-700);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.15);
}

textarea.input-text {
  resize: vertical;
  min-height: 85px;
}

.phone-input {
  direction: ltr !important;
  text-align: right !important;
  unicode-bidi: plaintext !important;
}

.footer {
  background-color: var(--navy-950);
  color: #94a3b8;
  font-size: 0.9rem;
  padding-top: 48px;
  border-top: 1px solid var(--border-dark);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1.2fr;
  gap: 36px;
  padding-bottom: 40px;
}

.footer-title {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: #ffffff;
  margin-bottom: 14px;
}

.footer-text {
  font-size: 0.88rem;
  line-height: 1.7;
  color: #94a3b8;
  margin-bottom: 8px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-nav a {
  color: #94a3b8;
  font-size: 0.88rem;
}

.footer-nav a:hover {
  color: #ffffff;
}

.footer-link {
  color: #cbd5e1;
  text-decoration: none;
  font-weight: 600;
}

.footer-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-copyright {
  border-top: 1px solid var(--border-dark);
  padding: 18px 0;
  text-align: center;
  font-size: 0.82rem;
  color: #64748b;
}

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

  .hero-img {
    height: 240px;
  }

  .hero-heading {
    font-size: 1.9rem;
  }

  .about-columns,
  .location-details-card,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  .top-bar-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .nav {
    display: none;
    position: fixed;
    top: 74px;
    right: 0;
    left: 0;
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-light);
    flex-direction: column;
    padding: 16px 20px;
    gap: 14px;
    z-index: 900;
    box-shadow: var(--shadow-md);
  }

  .nav.active {
    display: flex;
  }

  .nav-backdrop.active {
    display: block;
  }

  .menu-btn {
    display: flex;
  }

  .hero-heading {
    font-size: 1.6rem;
  }

  .hero-text {
    font-size: 0.98rem;
  }

  .hero-info-bar {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .info-block:not(:last-child) {
    border-left: none;
    border-bottom: 1px solid var(--border-light);
    padding-left: 0;
    padding-bottom: 12px;
  }

  .product-visuals-grid {
    grid-template-columns: 1fr;
  }



  .catalog-footer-note {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 26px;
  }
}

@media (max-width: 480px) {
  .brand-logo-img {
    width: 38px;
    height: 38px;
  }

  .brand-title {
    font-size: 1.15rem;
  }

  .brand-subtitle {
    font-size: 0.72rem;
  }

  .hero-heading {
    font-size: 1.4rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .location-actions {
    flex-direction: column;
    width: 100%;
  }

  .location-actions .btn {
    width: 100%;
  }

  .call-btn {
    padding: 7px 12px;
    font-size: 0.82rem;
  }

  .location-map-wrap {
    height: 260px;
  }
}
