:root {
  --ghs-black: #111111;
  --ghs-dark: #1e1e1e;
  --ghs-silver-1: #f7f7f7;
  --ghs-silver-2: #d6d6d6;
  --ghs-silver-3: #7c7c7c;
  --ghs-border: #dedede;
  --hero-image: url('/uploads/hero.png');
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  font-family: "Montserrat", "Segoe UI", Tahoma, Arial, sans-serif;
  color: var(--ghs-black);
  background: linear-gradient(90deg, #f5f5f5 0%, #c9c9c9 50%, #8f8f8f 100%);
}

html[lang="ar"] body {
  direction: rtl;
  font-family: "Cairo", "Tajawal", "Segoe UI", Tahoma, Arial, sans-serif;
  background: linear-gradient(270deg, #f5f5f5 0%, #c9c9c9 50%, #8f8f8f 100%);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.55rem, 3.6vw, 2.45rem); }
h3 { font-size: clamp(1.15rem, 2.4vw, 1.55rem); }
p, li, a, input, textarea, button { font-size: clamp(0.95rem, 1.55vw, 1.05rem); }

.navbar-toggler { border-color: #bdbdbd; }
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2817,17,17,0.95%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.header-shell {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(225, 225, 225, 0.95) 52%, rgba(148, 148, 148, 0.95) 100%);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--ghs-border);
}
html[lang="ar"] .header-shell {
  background: linear-gradient(270deg, rgba(255, 255, 255, 0.96) 0%, rgba(225, 225, 225, 0.95) 52%, rgba(148, 148, 148, 0.95) 100%);
}

html[lang="en"] .header-shell .brand-wrap.brand-stack .brand-text small {
  font-size: clamp(.68rem, .82vw, .78rem);
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--ghs-black);
}

.brand-wrap span {
  white-space: normal;
  overflow-wrap: anywhere;
}

.brand-wrap img { height: 44px; width: auto; }

.header-shell .brand-wrap.brand-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  margin-right: 2rem;
}

.header-shell .brand-wrap.brand-stack img {
  height: 74px;
}

.header-shell .brand-wrap.brand-stack .brand-text strong {
  display: block;
  font-size: clamp(1.05rem, 1.25vw, 1.25rem);
  line-height: 1;
  font-weight: 800;
  font-family: "Cairo", "Tajawal", "Segoe UI", Tahoma, Arial, sans-serif;
}

.header-shell .brand-wrap.brand-stack .brand-text small {
  display: block;
  font-size: clamp(.74rem, .9vw, .85rem);
  color: #7b7f86;
  letter-spacing: 0;
  font-family: "Cairo", "Tajawal", "Segoe UI", Tahoma, Arial, sans-serif;
  margin-top: 2px;
}

.header-shell .navbar .container {
  align-items: center;
}

.header-nav .nav-link {
  font-size: 1.02rem;
  font-weight: 700;
  padding-inline: 16px !important;
}

.header-shell .navbar-nav .nav-link {
  color: #737980;
  background: transparent !important;
}

.header-shell .navbar-nav .nav-link.active,
.header-shell .navbar-nav .nav-link:hover {
  color: #111;
}

.header-shell .navbar-nav .nav-link[data-nav="admin"] {
  display: none;
}

.header-divider {
  width: 1px;
  height: 32px;
  background: #e0e0e0;
  margin-left: 10px;
}

.navbar-nav .nav-link {
  color: #3f3f3f;
  font-weight: 700;
  border-radius: 8px;
  padding: 8px 10px;
}

.navbar-nav .nav-link.active {
  color: #fff;
  background: var(--ghs-black);
}

.lang-btn {
  border: 1px solid #a6a6a6;
  background: rgba(255, 255, 255, 0.22);
  color: #111;
  border-radius: 10px;
  padding: 7px 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 1;
}

.lang-btn .lang-globe {
  font-size: 1.1rem;
}

.lang-btn .lang-label {
  font-size: .95rem;
}

.hero {
  min-height: 58vh;
  color: #fff;
  background:
    linear-gradient(110deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.28)),
    var(--hero-image) center/cover no-repeat;
}

.hero h1 { line-height: 1.08; }
.hero p { font-size: clamp(1.05rem, 2vw, 1.35rem); opacity: 0.96; }

body[data-page="home"] .hero .ghs-btn,
body[data-page="home"] .hero .ghs-btn-outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.9);
  color: #fff;
  box-shadow: none;
}

body[data-page="home"] .hero .ghs-btn:hover,
body[data-page="home"] .hero .ghs-btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
}

body[data-page="home"] .hero-actions .ghs-btn,
body[data-page="home"] .hero-actions .ghs-btn-outline {
  width: 190px;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.ghs-btn {
  border: 0;
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 700;
  background: linear-gradient(180deg, #242424, #111111);
  color: #fff;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
  transition: transform .24s ease, box-shadow .24s ease, filter .24s ease;
}

.ghs-btn-outline {
  border: 1px solid #111;
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 700;
  color: #fff;
  background: #111;
  transition: transform .24s ease, box-shadow .24s ease, filter .24s ease;
}
.ghs-btn:hover, .ghs-btn-outline:hover, .cmd-btn:hover, .view-switch button:hover, .lang-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.22);
  filter: brightness(1.05);
}

.section-title {
  font-size: clamp(2rem, 3vw, 2.25rem);
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.15;
}

.section-title::after {
  content: '';
  display: block;
  width: 64px;
  height: 4px;
  border-radius: 999px;
  margin-top: 8px;
  background: var(--ghs-black);
}

.feature-card,
.product-card,
.faq-item,
.timeline-item,
.contact-box {
  background: #fff;
  border: 1px solid var(--ghs-border);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.feature-card,
.product-card,
.faq-item,
.timeline-item,
.contact-box,
.important-data {
  transition: transform .34s ease, box-shadow .34s ease, border-color .34s ease;
}

.feature-card:hover,
.product-card:hover,
.faq-item:hover,
.timeline-item:hover,
.contact-box:hover,
.important-data:hover {
  transform: scale(1.024);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
  border-color: #b9b9b9;
}

.feature-card { padding: 1rem; height: 100%; }

.feature-icon-card {
  text-align: center;
  padding: 1.25rem;
}

.feature-icon {
  font-size: 1.55rem;
  color: #111;
  margin-bottom: 0.75rem;
}

body[data-page="home"] .home-features .why-card {
  background: #fff;
  border: 1px solid #d9d9d9;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
  min-height: 100%;
}

body[data-page="home"] .home-features .why-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, #242424, #6f6f6f);
}

body[data-page="home"] .home-features .why-card:hover {
  border-color: #c2c2c2;
}

body[data-page="home"] .home-features .why-card .feature-icon {
  transition: transform .35s ease, color .35s ease, filter .35s ease;
}

body[data-page="home"] .home-features .why-card--cert:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 16px 32px rgba(10, 58, 100, 0.2);
}

body[data-page="home"] .home-features .why-card--cert:hover .feature-icon {
  transform: translateY(-3px) scale(1.14);
  color: #0f4c81;
  filter: drop-shadow(0 8px 12px rgba(15, 76, 129, 0.25));
}

body[data-page="home"] .home-features .why-card--support:hover {
  transform: translateY(-7px) rotate(-0.4deg);
  box-shadow: 0 16px 32px rgba(16, 90, 72, 0.2);
}

body[data-page="home"] .home-features .why-card--support:hover .feature-icon {
  transform: scale(1.14) rotate(-8deg);
  color: #0d6b58;
  filter: drop-shadow(0 8px 12px rgba(13, 107, 88, 0.25));
}

body[data-page="home"] .home-features .why-card--quality:hover {
  transform: translateY(-7px) scale(1.015);
  box-shadow: 0 16px 32px rgba(88, 67, 16, 0.2);
}

body[data-page="home"] .home-features .why-card--quality:hover .feature-icon {
  transform: scale(1.12) rotate(12deg);
  color: #8a6312;
  filter: drop-shadow(0 8px 12px rgba(138, 99, 18, 0.25));
}

body[data-page="home"] .home-features .feature-icon {
  font-size: 1.85rem;
  margin-bottom: .95rem;
}

body[data-page="home"] .home-features .why-card h3 {
  font-size: clamp(1.6rem, 1.7vw, 1.9rem);
  margin-bottom: .7rem;
}

body[data-page="home"] .home-features .why-card p {
  color: #334764;
  line-height: 1.55;
  max-width: 420px;
  margin-inline: auto;
}

body[data-page="home"] .home-about .contact-box {
  background: transparent;
  box-shadow: none;
  border: 0;
  padding-inline: 0 !important;
}

body[data-page="home"] .home-about .contact-box:hover {
  transform: none;
  box-shadow: none;
}

body[data-page="home"] .home-about .contact-box p {
  color: #203550;
  line-height: 1.65;
}

body[data-page="home"] .home-about .contact-box .ghs-btn {
  background: transparent;
  color: #111;
  box-shadow: none;
  border: 0;
  padding-inline: 0;
}

body[data-page="home"] .home-about .contact-box .ghs-btn::after {
  content: "  ›";
  font-weight: 700;
}

.view-switch button {
  border: 1px solid #d2d2d2;
  background: #f6f6f6;
  color: #232323;
  border-radius: 8px;
  padding: 8px 12px;
  font-weight: 700;
}

.view-switch button.active {
  color: #111;
  border-color: #b8b8b8;
  background: #ffffff;
}

.products-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.products-grid { align-items: stretch; }
.products-grid.view-carousel {
  grid-template-columns: 1fr;
}
.products-grid.view-showcase { grid-template-columns: 1fr; }

.product-card.showcase { display: grid; grid-template-columns: minmax(260px, 40%) 1fr; }
.product-card {
  height: 100%;
  overflow: hidden;
  border-radius: 10px;
}

.product-media { position: relative; }
.product-media img {
  width: 100%;
  height: 248px;
  object-fit: contain;
  object-position: center;
  background: #f3f3f3;
  display: block;
  border-radius: 10px 10px 0 0;
  transition: transform .45s ease, filter .35s ease;
}
.product-card.showcase .product-media img { height: 100%; min-height: 300px; border-radius: 14px 0 0 14px; }
.product-card:hover .product-media img {
  transform: scale(1.06);
  filter: contrast(1.04) saturate(1.02);
}

.product-media.clickable { cursor: zoom-in; }

.img-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
}
.img-nav.left { left: 8px; }
.img-nav.right { right: 8px; }

.product-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-title { font-size: 1.2rem; font-weight: 800; margin-bottom: .5rem; }
.product-desc {
  color: #555;
  min-height: 84px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-actions {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}
.product-actions { margin-top: auto; }

.cmd-btn {
  border: 1px solid #111;
  border-radius: 4px;
  padding: 6px 8px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  background: linear-gradient(180deg, #242424, #111111);
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.cmd-btn:disabled,
.cmd-btn[aria-disabled="true"] {
  background: linear-gradient(180deg, #a8a8a8, #8c8c8c);
  border-color: #8c8c8c;
  color: #efefef;
  cursor: not-allowed;
  opacity: .85;
  box-shadow: none;
  transform: none;
  filter: none;
}

body[data-page="home"] .faq-item {
  border-radius: 8px;
  border-color: #d4d4d4;
  cursor: pointer;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease, background-color .28s ease, color .28s ease;
}

body[data-page="home"] .faq-item h4,
body[data-page="home"] .faq-item p {
  transition: color .28s ease;
}

body[data-page="home"] .faq-item:hover,
body[data-page="home"] .faq-item:focus-visible,
body[data-page="home"] .faq-item.is-selected {
  transform: scale(1.06);
  border-color: #5a8fc5;
  background: #edf4ff;
  box-shadow: 0 16px 28px rgba(34, 91, 153, 0.2);
  outline: none;
}

body[data-page="home"] .faq-item:hover h4,
body[data-page="home"] .faq-item:focus-visible h4,
body[data-page="home"] .faq-item.is-selected h4 {
  color: #174d86;
}

body[data-page="home"] .faq-item:hover p,
body[data-page="home"] .faq-item:focus-visible p,
body[data-page="home"] .faq-item.is-selected p {
  color: #1f3f63;
}

.site-footer {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(225, 225, 225, 0.96) 52%, rgba(148, 148, 148, 0.96) 100%);
  border-top: 1px solid var(--ghs-border);
  margin-top: 24px;
}
html[lang="ar"] .site-footer {
  background: linear-gradient(270deg, rgba(255, 255, 255, 0.98) 0%, rgba(225, 225, 225, 0.96) 52%, rgba(148, 148, 148, 0.96) 100%);
}
.site-footer a { color: #2f2f2f; text-decoration: none; }
.site-footer a:hover { color: #000; }
.site-footer .quick-links-list a,
.site-footer .contact-info-list a,
.site-footer .contact-info-list span {
  transition: color .25s ease, transform .25s ease;
}
.site-footer .quick-links-list a:hover,
.site-footer .contact-info-list a:hover,
.site-footer .contact-info-list span:hover {
  color: #111;
  transform: translateX(4px);
}
html[lang="ar"] .site-footer .quick-links-list a:hover,
html[lang="ar"] .site-footer .contact-info-list a:hover,
html[lang="ar"] .site-footer .contact-info-list span:hover {
  transform: translateX(-4px);
}
.site-footer li { margin-bottom: 6px; }
.site-footer .list-unstyled {
  padding: 0;
  margin: 0;
}
.site-footer .footer-about {
  margin-top: 10px;
  color: #4a4a4a;
  line-height: 1.6;
  max-width: 520px;
}
.site-footer .quick-links-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.site-footer .quick-links-list li {
  margin-bottom: 0;
}
.site-footer .contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.site-footer .contact-info-list li {
  align-items: flex-start;
}

.contact-info-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.35;
}

.contact-info-list span,
.contact-info-list a {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.contact-icon {
  width: 18px;
  text-align: center;
  flex: 0 0 18px;
}

.contact-icon--location { color: #c0392b; }
.contact-icon--phone { color: #1f6fb2; }
.contact-icon--email { color: #7d3c98; }
.contact-icon--web { color: #0d6b58; }

.powered-by {
  font-weight: 700;
}

.brand-syraix {
  color: #39ff14;
  text-shadow: 0 0 6px rgba(57, 255, 20, 0.55);
}

.contact-phone {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
}

.about-visual {
  position: relative;
}

.about-visual img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
}

.secondary-media-slot {
  min-height: 320px;
}

.established-badge {
  position: absolute;
  bottom: -18px;
  right: 14px;
  background: #111;
  color: #fff;
  padding: 14px 16px;
  border-radius: 10px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.24);
  display: flex;
  flex-direction: column;
  min-width: 90px;
  text-align: center;
}

.established-badge strong {
  font-size: 1.3rem;
  line-height: 1;
}

.established-badge span {
  margin-top: 4px;
  font-size: .8rem;
  opacity: .92;
}

.footer-bottom {
  border-top: 1px solid var(--ghs-border);
  margin-top: 14px;
  padding-top: 14px;
}

.modal-backdrop-custom {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 2000;
}

.modal-backdrop-custom.active { display: flex; }
.modal-box {
  width: min(920px, 96vw);
  max-height: 90vh;
  overflow: auto;
  border-radius: 12px;
  background: #fff;
}
.modal-content { display: block; background: transparent; }
.modal-content video,
.modal-content iframe {
  max-width: 100%;
  max-height: 75vh;
}

.image-viewer-shell {
  background: #0f0f0f;
  border-radius: 10px;
  overflow: hidden;
}

.image-viewer-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px;
  background: #1a1a1a;
}

.image-viewer-toolbar button {
  border: 1px solid #3a3a3a;
  background: #111;
  color: #fff;
  border-radius: 8px;
  padding: 7px 10px;
  font-weight: 700;
}

.image-viewer-stage {
  width: 100%;
  min-height: 62vh;
  max-height: 72vh;
  display: grid;
  place-items: center;
  background: #0f0f0f;
  overflow: auto;
}

.image-viewer-stage img {
  max-width: 100%;
  max-height: 70vh;
  transform-origin: center center;
  transition: transform .2s ease;
  cursor: grab;
  user-select: none;
  -webkit-user-drag: none;
}

.image-viewer-stage img.dragging {
  cursor: grabbing;
}

.map-placeholder {
  border: 2px dashed #7a7a7a;
  border-radius: 12px;
  background: linear-gradient(145deg, #f9f9f9, #e1e1e1);
  min-height: 240px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1rem;
  color: #333;
}

.reveal { opacity: 1; transform: none; }
.reveal.visible { opacity: 1; transform: translateY(0); }

body[data-page="contact"] .contact-page {
  padding-top: 3rem !important;
  padding-bottom: 4rem !important;
}

body[data-page="contact"] .contact-form-panel {
  min-height: 760px;
  background: #efefef;
  border: 1px solid #dbdbdb;
  border-radius: 14px;
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.12);
  padding: 26px;
}

body[data-page="contact"] .contact-form-panel .form-control {
  background: #f2f2f2;
  border: 1px solid #cfcfcf;
  border-radius: 8px;
  min-height: 42px;
  font-size: 0.95rem;
}

body[data-page="contact"] .contact-form-panel textarea.form-control {
  min-height: 170px;
}

body[data-page="contact"] .contact-form-panel .ghs-btn {
  width: 100%;
  border-radius: 8px;
  margin-top: 10px !important;
  padding: 11px 14px;
}

body[data-page="contact"] .contact-details {
  padding-top: 2px;
}

body[data-page="contact"] .contact-details h3 {
  font-size: 2rem;
  font-size: clamp(1.6rem, 2.3vw, 2rem);
  font-weight: 800;
  margin: 0 0 10px;
}

body[data-page="contact"] .contact-details h3:not(:first-child) {
  margin-top: 26px;
}

body[data-page="contact"] .contact-details p,
body[data-page="contact"] .contact-details a {
  color: #445063;
  text-decoration: none;
  margin-bottom: 10px;
}

body[data-page="contact"] .contact-highlight {
  font-weight: 800;
  font-size: 1.1rem;
  color: #111;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform .3s ease, box-shadow .3s ease, color .3s ease;
  padding: 2px 4px;
  border-radius: 6px;
}

body[data-page="contact"] .contact-highlight:hover,
body[data-page="contact"] .contact-highlight:focus {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.2);
  color: #000;
}

body[data-page="contact"] .contact-details .phone-list p {
  margin-bottom: 8px;
}

body[data-page="contact"] .contact-social {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 8px 0 18px;
}

body[data-page="contact"] .contact-social a {
  color: #f2f2f2;
  font-size: 1.5rem;
  line-height: 1;
  transition: transform .2s ease, opacity .2s ease;
}

body[data-page="contact"] .contact-social .contact-social__icon {
  font-size: 2.1rem;
}

body[data-page="contact"] .contact-social .contact-social__icon--facebook {
  color: #1877f2;
}

body[data-page="contact"] .contact-social .contact-social__icon--instagram {
  color: #e1306c;
}

body[data-page="contact"] .contact-social a:hover {
  transform: translateY(-2px);
  opacity: 0.8;
}

body[data-page="contact"] .contact-about-dark {
  background: #111;
  color: #fff;
  border-radius: 14px;
  padding: 24px 20px;
  max-width: 430px;
  transition: transform .3s ease, box-shadow .3s ease;
}

body[data-page="contact"] .contact-about-dark p {
  color: #fff;
  line-height: 1.55;
}

body[data-page="contact"] .contact-about-dark:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35);
}

body[data-page="contact"] .contact-map-block .section-title {
  margin-bottom: 18px !important;
}

body[data-page="contact"] .contact-map-shell {
  height: 430px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.12);
  border: 1px solid #d7d7d7;
  background: #e9e9e9;
}

body[data-page="about"] .about-page {
  padding-top: 3rem !important;
  padding-bottom: 5rem !important;
}

body[data-page="about"] .about-page .section-title {
  margin-bottom: 2.3rem;
}

.about-timeline {
  position: relative;
  max-width: 940px;
  margin: 0 auto;
  padding: 6px 0 4px;
}

.about-line {
  position: absolute;
  left: 50%;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: #9b9b9b;
  transform: translateX(-50%);
}

.about-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  margin-bottom: 30px;
  min-height: 176px;
}

.about-row:last-child {
  margin-bottom: 0;
}

.about-card {
  width: min(92%, 440px);
  background: #f2f2f2;
  border: 1px solid #dfdfdf;
  border-radius: 12px;
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.12);
  padding: 22px 24px;
}

.about-card h3 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 2.6vw, 2.35rem);
  font-weight: 800;
  color: #111;
}

.about-card p {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.45;
  color: #2f3d54;
}

/* About timeline: simple large zoom + circle color change on hover */
.about-row .about-card {
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
  transform-origin: center center;
}

.about-row .about-dot,
.about-row .about-dot::after {
  transition: transform .35s ease, box-shadow .35s ease, background-color .35s ease;
}

.about-row .about-card:hover {
  transform: scale(1.09);
  border-color: #b8c7db;
  box-shadow: 0 20px 34px rgba(20, 44, 77, 0.22);
  z-index: 2;
}

.about-row:hover .about-dot {
  transform: translate(-50%, -50%) scale(1.15);
}

.about-row:hover .about-dot::after {
  background: #1f6fb2;
}

.about-row.right .about-card {
  grid-column: 2;
  justify-self: start;
}

.about-row.left .about-card {
  grid-column: 1;
  justify-self: end;
  text-align: right;
}

.about-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 30px;
  height: 30px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: #fff;
  border: 5px solid #fff;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.9);
}

.about-dot::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 999px;
  background: #111;
}

html[lang="ar"] .about-row.left .about-card {
  text-align: left;
}

html[lang="ar"] .about-row.right .about-card {
  text-align: right;
}

@media (max-width: 992px) {
  .header-shell .brand-wrap.brand-stack {
    margin-right: 0;
    gap: 4px;
  }
  .header-shell .brand-wrap.brand-stack img {
    height: 58px;
  }
  .header-shell .brand-wrap.brand-stack .brand-text strong {
    font-size: 1.05rem;
  }
  .header-shell .brand-wrap.brand-stack .brand-text small {
    font-size: .62rem;
    letter-spacing: 0;
  }
  .lang-btn {
    margin-top: 10px;
    justify-content: center;
  }
  .product-card.showcase { grid-template-columns: 1fr; }
  .product-card.showcase .product-media img { border-radius: 14px 14px 0 0; min-height: 220px; }
  .products-grid.view-carousel { grid-auto-columns: 82%; }
  body[data-page="home"] .home-features .why-card {
    padding-top: .4rem;
    padding-bottom: .2rem;
  }
  body[data-page="home"] .home-features .why-card h3 {
    font-size: 1.15rem;
  }
  body[data-page="home"] .home-features .why-card p {
    font-size: .95rem;
  }
  body[data-page="home"] .hero-actions {
    gap: .5rem !important;
  }
  body[data-page="home"] .hero-actions .ghs-btn,
  body[data-page="home"] .hero-actions .ghs-btn-outline {
    min-width: 118px;
    padding: 8px 10px;
    font-size: .86rem;
  }
  .product-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cmd-btn {
    font-size: 10px;
    padding: 5px 6px;
    height: 28px;
  }
  .secondary-media-slot {
    min-height: 260px;
  }

  .hero {
    min-height: 54vh;
    background-position: center 28%;
    background-size: cover;
  }

  .site-footer .row > [class*="col-"] {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .site-footer .row {
    flex-direction: column;
    gap: 8px;
  }
  .site-footer .row > [class*="col-"] {
    order: initial;
    width: 100%;
  }
  .site-footer .row > [class*="col-"] + [class*="col-"] {
    margin-top: 0;
    padding-top: 0;
  }
  .site-footer h5 {
    margin-bottom: 6px;
  }
  .site-footer .contact-info-list {
    margin-top: -2px;
  }
  .site-footer .row > [class*="col-"]:nth-child(2) { order: 1; }
  .site-footer .row > [class*="col-"]:nth-child(3) { order: 2; }
  .site-footer .row > [class*="col-"]:nth-child(1) { order: 3; }

  .site-footer p,
  .site-footer li,
  .site-footer a {
    font-size: 0.92rem;
    line-height: 1.6;
  }

  .contact-info-list li {
    align-items: flex-start;
    gap: 10px;
    word-break: break-word;
    flex-wrap: wrap;
  }
  .contact-info-list span,
  .contact-info-list a {
    flex: 1 1 100%;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .contact-icon {
    margin-top: 2px;
  }

  .site-footer .footer-bottom {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 8px !important;
  }

  .site-footer .footer-bottom .d-flex {
    gap: 10px !important;
    flex-wrap: wrap;
  }
  .site-footer .footer-bottom {
    text-align: left;
  }
  .modal-box {
    width: min(520px, 94vw);
    max-height: 85vh;
  }
  .image-viewer-stage {
    min-height: 50vh;
    max-height: 60vh;
  }
  .image-viewer-stage img {
    max-height: 58vh;
  }
  .image-viewer-toolbar {
    justify-content: center;
  }
  .modal-content video,
  .modal-content iframe {
    max-height: 60vh;
  }
  body[data-page="contact"] .contact-form-panel { min-height: auto; }
  body[data-page="contact"] .contact-about-dark { max-width: 100%; }
  body[data-page="contact"] .contact-map-shell { height: 340px; }

  .about-line { left: 22px; transform: none; }
  .about-row {
    grid-template-columns: 1fr;
    min-height: auto;
    margin-bottom: 18px;
    padding-left: 52px;
  }
  .about-row.left .about-card,
  .about-row.right .about-card {
    grid-column: 1;
    justify-self: stretch;
    width: 100%;
    text-align: left;
  }
  html[lang="ar"] .about-row {
    padding-left: 0;
    padding-right: 52px;
  }
  html[lang="ar"] .about-line { left: auto; right: 22px; }
  html[lang="ar"] .about-dot {
    left: auto;
    right: 22px;
    transform: translate(50%, -50%);
  }
  .about-dot {
    left: 22px;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
  }

  .about-row:hover .about-dot {
    transform: translate(-50%, -50%) scale(1.08);
  }

  html[lang="ar"] .about-row:hover .about-dot {
    transform: translate(50%, -50%) scale(1.08);
  }

  .about-row:hover .about-dot::after {
    background: #1f6fb2;
  }

  .about-card { padding: 18px 18px; }
  .about-card h3 { font-size: 2rem; }
}
