﻿:root {
      --navy: #08233f;
      --navy-2: #0c315a;
      --blue: #124a7a;
      --gold: #d89125;
      --gold-2: #f0b44d;
      --steel: #5f7184;
      --ink: #102031;
      --muted: #64748b;
      --line: rgba(15, 35, 55, 0.12);
      --surface: #f6f8fb;
      --white: #ffffff;
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: "Tajawal", "Cairo", system-ui, sans-serif;
      color: var(--ink);
      background: var(--surface);
      overflow-x: hidden;
    }

    body[dir="ltr"] {
      font-family: "Cairo", "Tajawal", system-ui, sans-serif;
    }

    ::selection {
      color: var(--white);
      background: var(--gold);
    }

    .container-page {
      width: min(1180px, calc(100% - 32px));
      margin-inline: auto;
    }

    .brand-logo {
      width: 88px;
      height: 58px;
      display: block;
      flex: 0 0 auto;
      object-fit: contain;
      padding: 4px;
      background: var(--white);
      border: 1px solid rgba(8, 35, 63, 0.12);
      border-radius: 8px;
      box-shadow: 0 10px 26px rgba(8, 35, 63, 0.12);
    }

    .footer-logo {
      width: 104px;
      height: 70px;
      border-color: rgba(255, 255, 255, 0.18);
    }

    .topbar {
      backdrop-filter: blur(18px);
      background: rgba(255, 255, 255, 0.92);
      border-bottom: 1px solid rgba(15, 35, 55, 0.08);
      transition: box-shadow 240ms ease, background 240ms ease, transform 240ms ease;
    }

    .topbar.is-scrolled {
      background: rgba(255, 255, 255, 0.97);
      box-shadow: 0 14px 36px rgba(8, 35, 63, 0.12);
    }

    .nav-link {
      position: relative;
      color: #1d3348;
      font-weight: 700;
      font-size: 15px;
      transition: color 180ms ease;
      white-space: nowrap;
    }

    .nav-link::after {
      content: "";
      position: absolute;
      inset-inline-start: 0;
      bottom: -8px;
      width: 0;
      height: 2px;
      background: var(--gold);
      transition: width 180ms ease;
    }

    .nav-link:hover,
    .nav-link:focus {
      color: var(--navy);
    }

    .nav-link:hover::after,
    .nav-link:focus::after {
      width: 100%;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 9px;
      min-height: 46px;
      padding: 12px 20px;
      border-radius: 8px;
      font-weight: 800;
      line-height: 1.1;
      transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
      white-space: nowrap;
    }

    .btn:hover {
      transform: translateY(-2px);
    }

    .btn-primary {
      color: var(--white);
      background: linear-gradient(135deg, var(--gold), var(--gold-2));
      box-shadow: 0 16px 34px rgba(216, 145, 37, 0.28);
    }

    .btn-primary:hover {
      box-shadow: 0 18px 42px rgba(216, 145, 37, 0.38);
    }

    .btn-dark {
      color: var(--white);
      background: linear-gradient(135deg, var(--navy), var(--navy-2));
      box-shadow: 0 16px 34px rgba(8, 35, 63, 0.2);
    }

    .btn-ghost {
      color: var(--white);
      border: 1px solid rgba(255, 255, 255, 0.42);
      background: rgba(255, 255, 255, 0.08);
    }

    .btn-ghost:hover {
      background: rgba(255, 255, 255, 0.15);
      border-color: rgba(255, 255, 255, 0.7);
    }

    .btn-outline {
      color: var(--navy);
      border: 1px solid rgba(8, 35, 63, 0.18);
      background: var(--white);
    }

    .btn-outline:hover {
      border-color: rgba(216, 145, 37, 0.65);
      box-shadow: 0 14px 30px rgba(8, 35, 63, 0.1);
    }

    .section {
      padding-block: 92px;
    }

    .section-soft {
      background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(246, 248, 251, 0.98)),
        radial-gradient(circle at 18% 20%, rgba(216, 145, 37, 0.08), transparent 30%);
    }

    .section-dark {
      color: var(--white);
      background:
        linear-gradient(135deg, rgba(8, 35, 63, 0.98), rgba(12, 49, 90, 0.98)),
        linear-gradient(90deg, rgba(216, 145, 37, 0.1), transparent);
      position: relative;
      overflow: hidden;
    }

    .section-dark::before {
      content: "";
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
      background-size: 42px 42px;
      mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.82), transparent);
      pointer-events: none;
    }

    .section-head {
      display: grid;
      gap: 13px;
      max-width: 760px;
      margin-bottom: 34px;
    }

    .section-head.center {
      margin-inline: auto;
      text-align: center;
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      width: fit-content;
      color: var(--gold);
      font-weight: 900;
      font-size: 14px;
    }

    .eyebrow::before {
      content: "";
      width: 30px;
      height: 2px;
      background: currentColor;
    }

    .section-head.center .eyebrow {
      margin-inline: auto;
    }

    .section-head.center .eyebrow::after {
      content: "";
      width: 30px;
      height: 2px;
      background: currentColor;
    }

    .section-title {
      color: var(--navy);
      font-size: clamp(28px, 4vw, 42px);
      font-weight: 900;
      line-height: 1.22;
    }

    .section-dark .section-title,
    .section-dark .section-text {
      color: var(--white);
    }

    .section-text {
      color: var(--muted);
      font-size: 18px;
      line-height: 1.9;
    }

    .hero {
      position: relative;
      min-height: 78vh;
      display: grid;
      align-items: center;
      color: var(--white);
      overflow: hidden;
      padding-block: 136px 70px;
      background:
        linear-gradient(135deg, #061a30 0%, #08233f 38%, #113e67 72%, #061827 100%);
    }

    .hero-canvas {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      opacity: 0.9;
    }

    .hero::before {
      content: "";
      position: absolute;
      inset: 0;
      background:
        linear-gradient(90deg, rgba(3, 14, 26, 0.9) 0%, rgba(8, 35, 63, 0.72) 46%, rgba(8, 35, 63, 0.2) 100%),
        linear-gradient(0deg, rgba(3, 14, 26, 0.92) 0%, transparent 44%);
      z-index: 1;
      pointer-events: none;
    }

    body[dir="ltr"] .hero::before {
      background:
        linear-gradient(270deg, rgba(3, 14, 26, 0.9) 0%, rgba(8, 35, 63, 0.72) 46%, rgba(8, 35, 63, 0.2) 100%),
        linear-gradient(0deg, rgba(3, 14, 26, 0.92) 0%, transparent 44%);
    }

    .hero-content {
      position: relative;
      z-index: 2;
      max-width: 810px;
    }

    .hero-kicker {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      color: #ffcf76;
      font-weight: 900;
      margin-bottom: 18px;
    }

    .hero-kicker::before {
      content: "";
      width: 36px;
      height: 2px;
      background: currentColor;
    }

    .hero h1 {
      font-size: clamp(34px, 6vw, 72px);
      line-height: 1.16;
      font-weight: 900;
      margin: 0;
      letter-spacing: 0;
      text-wrap: balance;
    }

    .hero p {
      width: min(690px, 100%);
      margin-top: 22px;
      color: rgba(255, 255, 255, 0.83);
      font-size: clamp(17px, 2.1vw, 22px);
      line-height: 1.9;
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 14px;
      margin-top: 30px;
    }

    .hero-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-top: 34px;
    }

    .hero-meta span {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      min-height: 38px;
      padding: 9px 13px;
      border-radius: 8px;
      color: rgba(255, 255, 255, 0.84);
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(255, 255, 255, 0.13);
      backdrop-filter: blur(10px);
      font-weight: 700;
      font-size: 14px;
    }

    .about-grid {
      display: grid;
      grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
      gap: 34px;
      align-items: center;
    }

    .about-panel {
      position: relative;
      min-height: 390px;
      padding: 28px;
      border-radius: 8px;
      overflow: hidden;
      background:
        linear-gradient(145deg, rgba(8, 35, 63, 0.94), rgba(18, 74, 122, 0.82)),
        radial-gradient(circle at 20% 18%, rgba(216, 145, 37, 0.34), transparent 32%);
      box-shadow: 0 24px 60px rgba(8, 35, 63, 0.16);
      isolation: isolate;
    }

    .about-panel::before {
      content: "";
      position: absolute;
      inset: 18px;
      border: 1px solid rgba(255, 255, 255, 0.16);
      border-radius: 8px;
      z-index: -1;
    }

    .industrial-lines {
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(30deg, transparent 0 47%, rgba(255, 255, 255, 0.13) 48% 49%, transparent 50% 100%),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
      background-size: 88px 88px, 30px 30px;
      opacity: 0.62;
      pointer-events: none;
    }

    .about-metric {
      position: absolute;
      inset-inline-start: 28px;
      bottom: 28px;
      width: min(280px, calc(100% - 56px));
      padding: 20px;
      color: var(--white);
      background: rgba(255, 255, 255, 0.1);
      border: 1px solid rgba(255, 255, 255, 0.16);
      border-radius: 8px;
      backdrop-filter: blur(12px);
    }

    .about-metric strong {
      display: block;
      font-size: 38px;
      font-weight: 900;
      color: #ffcf76;
      line-height: 1;
      margin-bottom: 8px;
    }

    .value-grid,
    .service-grid {
      display: grid;
      gap: 16px;
    }

    .value-grid {
      grid-template-columns: repeat(5, minmax(0, 1fr));
      margin-top: 28px;
    }

    .value-card,
    .service-card,
    .project-card,
    .contact-card {
      border: 1px solid rgba(15, 35, 55, 0.1);
      border-radius: 8px;
      background: var(--white);
      box-shadow: 0 16px 38px rgba(8, 35, 63, 0.07);
      transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
    }

    .value-card:hover,
    .service-card:hover,
    .project-card:hover,
    .contact-card:hover {
      transform: translateY(-5px);
      border-color: rgba(216, 145, 37, 0.36);
      box-shadow: 0 22px 48px rgba(8, 35, 63, 0.11);
    }

    .value-card {
      display: grid;
      place-items: center;
      gap: 10px;
      min-height: 120px;
      padding: 18px 14px;
      text-align: center;
      font-weight: 900;
      color: var(--navy);
    }

    .value-card i {
      width: 40px;
      height: 40px;
      display: grid;
      place-items: center;
      color: var(--gold);
      background: rgba(216, 145, 37, 0.11);
      border-radius: 8px;
    }

    .service-grid {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .service-card {
      padding: 26px;
      min-height: 238px;
      display: flex;
      flex-direction: column;
      gap: 14px;
    }

    .service-icon {
      width: 54px;
      height: 54px;
      display: grid;
      place-items: center;
      color: var(--gold);
      background: linear-gradient(135deg, rgba(216, 145, 37, 0.13), rgba(8, 35, 63, 0.07));
      border-radius: 8px;
      font-size: 23px;
    }

    .service-card h3,
    .project-card h3,
    .contact-card h3 {
      color: var(--navy);
      font-size: 20px;
      font-weight: 900;
      line-height: 1.35;
    }

    .service-card p,
    .project-card p,
    .contact-card p {
      color: var(--muted);
      line-height: 1.85;
      font-size: 16px;
    }

    .project-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 18px;
    }

    .project-card {
      overflow: hidden;
    }

    .project-visual {
      position: relative;
      min-height: 166px;
      background:
        linear-gradient(135deg, rgba(8, 35, 63, 0.92), rgba(18, 74, 122, 0.7)),
        var(--project-pattern);
      overflow: hidden;
    }

    .project-visual::before {
      content: "";
      position: absolute;
      inset: 0;
      background:
        linear-gradient(30deg, transparent 0 45%, rgba(255, 255, 255, 0.16) 46% 47%, transparent 48% 100%),
        radial-gradient(circle at 22% 28%, rgba(216, 145, 37, 0.38), transparent 21%);
      background-size: 92px 92px, auto;
    }

    .project-visual i {
      position: absolute;
      inset-inline-end: 24px;
      bottom: 22px;
      color: rgba(255, 255, 255, 0.9);
      font-size: 38px;
    }

    .project-body {
      padding: 22px;
      display: grid;
      gap: 10px;
    }

    .project-badge {
      display: inline-flex;
      align-items: center;
      width: fit-content;
      gap: 7px;
      min-height: 30px;
      padding: 7px 10px;
      border-radius: 8px;
      color: #7a4b0c;
      background: rgba(216, 145, 37, 0.12);
      font-size: 13px;
      font-weight: 900;
    }

    .cement-feature {
      position: relative;
      grid-column: span 3;
      display: grid;
      grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
      min-height: 360px;
      border-radius: 8px;
      overflow: hidden;
      color: var(--white);
      background:
        linear-gradient(135deg, rgba(8, 35, 63, 0.98), rgba(20, 69, 103, 0.94)),
        linear-gradient(90deg, rgba(216, 145, 37, 0.12), transparent);
      box-shadow: 0 24px 60px rgba(8, 35, 63, 0.2);
    }

    .cement-art {
      position: relative;
      min-height: 320px;
      background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)),
        radial-gradient(circle at 34% 22%, rgba(216, 145, 37, 0.32), transparent 24%);
      overflow: hidden;
    }

    .cement-art::before {
      content: "";
      position: absolute;
      width: 68%;
      height: 48%;
      inset-inline-start: 12%;
      bottom: 0;
      background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px 22px),
        linear-gradient(180deg, #b9c2ca, #788895);
      border-radius: 8px 8px 0 0;
      clip-path: polygon(0 100%, 0 38%, 18% 38%, 18% 18%, 34% 18%, 34% 43%, 53% 43%, 53% 28%, 72% 28%, 72% 48%, 100% 48%, 100% 100%);
      opacity: 0.95;
    }

    .cement-art::after {
      content: "";
      position: absolute;
      width: 22px;
      height: 210px;
      inset-inline-end: 22%;
      bottom: 0;
      background: linear-gradient(180deg, #e2e8f0, #7a8996);
      border-radius: 8px 8px 0 0;
      box-shadow: -55px 44px 0 -3px #9aa8b4, -105px 78px 0 -5px #8293a0;
      opacity: 0.92;
    }

    .cement-content {
      position: relative;
      z-index: 1;
      padding: 42px;
      align-self: center;
    }

    .cement-content h3 {
      font-size: clamp(27px, 3.4vw, 42px);
      font-weight: 900;
      line-height: 1.25;
      margin-bottom: 14px;
    }

    .cement-content p {
      color: rgba(255, 255, 255, 0.8);
      font-size: 18px;
      line-height: 1.9;
      margin-bottom: 24px;
    }

    .contact-layout {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      gap: 22px;
      align-items: stretch;
    }

    .contact-card {
      padding: 28px;
    }

    .contact-list {
      display: grid;
      gap: 18px;
      margin-top: 22px;
    }

    .contact-row {
      display: grid;
      grid-template-columns: 48px 1fr;
      gap: 14px;
      align-items: start;
    }

    body[dir="ltr"] .contact-row {
      grid-template-columns: 48px 1fr;
    }

    .contact-row i {
      width: 48px;
      height: 48px;
      display: grid;
      place-items: center;
      color: var(--gold);
      background: rgba(216, 145, 37, 0.12);
      border-radius: 8px;
      font-size: 20px;
    }

    .contact-row strong {
      display: block;
      color: var(--navy);
      font-size: 16px;
      font-weight: 900;
      margin-bottom: 4px;
    }

    .contact-row a,
    .contact-row span {
      color: var(--muted);
      line-height: 1.7;
      font-weight: 700;
    }

    .contact-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-top: 28px;
    }

    .footer {
      color: rgba(255, 255, 255, 0.78);
      background: #061a30;
      padding-block: 56px 24px;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: minmax(0, 1.2fr) minmax(160px, 0.65fr) minmax(240px, 0.8fr);
      gap: 34px;
    }

    .footer h3,
    .footer h4 {
      color: var(--white);
      font-weight: 900;
    }

    .footer h3 {
      font-size: 20px;
      line-height: 1.5;
    }

    .footer h4 {
      font-size: 17px;
      margin-bottom: 14px;
    }

    .footer a {
      color: rgba(255, 255, 255, 0.76);
      transition: color 180ms ease;
    }

    .footer a:hover {
      color: #ffcf76;
    }

    .footer-links,
    .footer-contact {
      display: grid;
      gap: 10px;
    }

    .copyright {
      margin-top: 38px;
      padding-top: 22px;
      border-top: 1px solid rgba(255, 255, 255, 0.1);
      text-align: center;
      color: rgba(255, 255, 255, 0.64);
      line-height: 1.7;
    }

    .lang-toggle,
    .menu-toggle,
    .back-to-top {
      width: 44px;
      height: 44px;
      display: grid;
      place-items: center;
      border-radius: 8px;
      border: 1px solid rgba(8, 35, 63, 0.12);
      background: var(--white);
      color: var(--navy);
      font-weight: 900;
      transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
    }

    .lang-toggle:hover,
    .menu-toggle:hover,
    .back-to-top:hover {
      transform: translateY(-2px);
      box-shadow: 0 12px 26px rgba(8, 35, 63, 0.13);
    }

    .mobile-menu {
      display: none;
      padding: 14px 16px 18px;
      border-top: 1px solid rgba(15, 35, 55, 0.08);
      background: rgba(255, 255, 255, 0.98);
    }

    .mobile-menu.is-open {
      display: block;
    }

    .mobile-menu a {
      display: flex;
      align-items: center;
      min-height: 44px;
      padding: 8px 4px;
      color: var(--navy);
      font-weight: 800;
      border-bottom: 1px solid rgba(15, 35, 55, 0.07);
    }

    .mobile-menu a:last-child {
      border-bottom: 0;
    }

    .back-to-top {
      position: fixed;
      inset-inline-end: 22px;
      bottom: 22px;
      z-index: 60;
      color: var(--white);
      background: linear-gradient(135deg, var(--gold), var(--gold-2));
      border-color: rgba(255, 255, 255, 0.24);
      box-shadow: 0 16px 34px rgba(8, 35, 63, 0.24);
      opacity: 0;
      visibility: hidden;
      transform: translateY(10px);
    }

    .back-to-top.is-visible {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }

    .reveal {
      opacity: 0;
      transform: translateY(22px);
      transition: opacity 650ms ease, transform 650ms ease;
    }

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

    @media (prefers-reduced-motion: reduce) {
      html {
        scroll-behavior: auto;
      }

      *,
      *::before,
      *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
      }
    }

    @media (max-width: 1100px) {
      .desktop-nav {
        display: none;
      }

      .menu-toggle {
        display: grid;
      }

      .value-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
      }

      .service-grid,
      .project-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .cement-feature,
      .contact-layout,
      .about-grid {
        grid-template-columns: 1fr;
      }

      .cement-feature {
        grid-column: span 2;
      }
    }

    @media (min-width: 1101px) {
      .menu-toggle {
        display: none;
      }
    }

    @media (max-width: 760px) {
      .container-page {
        width: min(100% - 24px, 1180px);
      }

      .section {
        padding-block: 64px;
      }

      .hero {
        min-height: auto;
        padding-block: 118px 54px;
      }

      .hero h1 {
        font-size: clamp(31px, 11vw, 44px);
      }

      .hero-actions .btn,
      .contact-actions .btn {
        width: 100%;
      }

      .hero-meta {
        gap: 9px;
      }

      .hero-meta span {
        width: 100%;
      }

      .value-grid,
      .service-grid,
      .project-grid,
      .footer-grid {
        grid-template-columns: 1fr;
      }

      .cement-feature {
        grid-column: span 1;
      }

      .cement-content {
        padding: 28px 22px 32px;
      }

      .cement-art {
        min-height: 250px;
      }

      .topbar .brand-title {
        max-width: 190px;
      }

      .topbar .brand-title strong {
        font-size: 14px;
      }

      .topbar .brand-title span {
        font-size: 11px;
      }

      .brand-logo {
        width: 72px;
        height: 48px;
      }

      .project-visual {
        min-height: 148px;
      }
    }

