
    :root {
      --navy: #071b2c;
      --navy-2: #0d2b45;
      --gold: #c89b3c;
      --gold-2: #e2b866;
      --cream: #f6f4ef;
      --white: #ffffff;
      --dark: #141414;
      --muted: #6b7280;
      --border: rgba(255,255,255,.12);
      --shadow: 0 24px 70px rgba(7,27,44,.18);
      --radius: 26px;
    }

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

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: "Inter", sans-serif;
      color: var(--dark);
      background: var(--cream);
      line-height: 1.7;
      overflow-x: hidden;
    }

    body.ar {
      direction: rtl;
      font-family: "Cairo", sans-serif;
    }

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

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

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

    .section {
      padding: 100px 0;
      position: relative;
    }

    .section-title {
      max-width: 760px;
      margin-bottom: 48px;
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      color: var(--gold);
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: .13em;
      font-size: 13px;
      margin-bottom: 14px;
    }

    .section-title h2 {
      font-size: clamp(32px, 5vw, 58px);
      line-height: 1.08;
      letter-spacing: -1.6px;
      color: var(--navy);
      margin-bottom: 18px;
    }

    body.ar .section-title h2 {
      letter-spacing: 0;
    }

    .section-title p {
      font-size: 18px;
      color: var(--muted);
      max-width: 680px;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      gap: 11px;
      padding: 14px 22px;
      border-radius: 999px;
      font-weight: 800;
      border: 1px solid transparent;
      transition: .3s ease;
      cursor: pointer;
      white-space: nowrap;
    }

    .btn-primary {
      background: linear-gradient(135deg, var(--gold), var(--gold-2));
      color: var(--navy);
      box-shadow: 0 14px 35px rgba(200,155,60,.28);
    }

    .btn-primary:hover {
      transform: translateY(-3px);
      box-shadow: 0 22px 50px rgba(200,155,60,.34);
    }

    .btn-outline {
      border-color: rgba(255,255,255,.35);
      color: var(--white);
      background: rgba(255,255,255,.08);
      backdrop-filter: blur(10px);
    }

    .btn-outline:hover {
      background: var(--white);
      color: var(--navy);
      transform: translateY(-3px);
    }

    /* Topbar */
    .topbar {
      position: fixed;
      inset: 0 0 auto 0;
      z-index: 1000;
      background: rgba(7,27,44,.72);
      color: rgba(255,255,255,.82);
      border-bottom: 1px solid var(--border);
      backdrop-filter: blur(16px);
      font-size: 13px;
    }

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

    .topbar-info,
    .topbar-actions {
      display: flex;
      align-items: center;
      gap: 18px;
      flex-wrap: wrap;
    }

    .topbar i {
      color: var(--gold-2);
    }

    .lang-toggle {
      border: 0;
      background: rgba(255,255,255,.1);
      color: var(--white);
      border-radius: 999px;
      padding: 6px 12px;
      cursor: pointer;
      font-weight: 800;
    }

    /* Header */
    .header {
      position: fixed;
      top: 42px;
      left: 0;
      right: 0;
      z-index: 999;
      transition: .35s ease;
    }

    .header.scrolled {
      top: 0;
      background: rgba(7,27,44,.94);
      backdrop-filter: blur(18px);
      box-shadow: 0 12px 40px rgba(0,0,0,.14);
    }

    .nav {
      height: 82px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 30px;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 14px;
      color: var(--gold);
      font-weight: 900;
      letter-spacing: .04em;
    }

    .brand-logo {
      width: 52px;
      height: 52px;
      object-fit: contain;
      background: var(--white);
      border-radius: 14px;
      padding: 4px;
      transition: transform 0.3s ease;
    }
    
    .brand:hover .brand-logo {
      transform: scale(1.05);
    }

    .brand span small {
      display: block;
      font-size: 11px;
      font-weight: 600;
      color: rgba(255,255,255,.62);
      letter-spacing: .2em;
      margin-top: -3px;
    }

    .menu {
      display: flex;
      align-items: center;
      gap: 26px;
      color: rgba(255,255,255,.86);
      font-weight: 700;
      font-size: 14px;
    }

    .mobile-lang-switch {
      display: none;
    }

    .menu a {
      position: relative;
    }

    .menu a:after {
      content: "";
      position: absolute;
      left: 0;
      bottom: -8px;
      width: 0;
      height: 2px;
      background: var(--gold);
      transition: .25s ease;
    }

    body.ar .menu a:after {
      left: auto;
      right: 0;
    }

    .menu a:hover:after {
      width: 100%;
    }

    .hamburger {
      display: none;
      width: 46px;
      height: 46px;
      border-radius: 14px;
      border: 1px solid rgba(255,255,255,.18);
      background: rgba(255,255,255,.08);
      color: white;
      font-size: 20px;
    }

    /* Hero */
    .hero {
      min-height: 100vh;
      padding-top: 150px;
      display: flex;
      align-items: center;
      color: var(--white);
      background:
        radial-gradient(circle at 20% 30%, rgba(200,155,60,.32), transparent 28%),
        linear-gradient(115deg, rgba(7,27,44,.96), rgba(7,27,44,.72) 52%, rgba(7,27,44,.94)),
        url("../images/mider_hero_bg.jpg");
      background-size: cover;
      background-position: center;
      position: relative;
      overflow: hidden;
    }

    .hero:before {
      content: "";
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
      background-size: 70px 70px;
      mask-image: linear-gradient(to bottom, black, transparent);
      opacity: .35;
    }

    .hero-content {
      position: relative;
      z-index: 2;
      max-width: 820px;
      padding: 80px 0;
    }

    .hero h1 {
      font-size: clamp(38px, 6.5vw, 76px);
      line-height: .98;
      letter-spacing: -3.4px;
      margin-bottom: 24px;
    }

    body.ar .hero h1 {
      letter-spacing: 0;
      line-height: 1.18;
    }

    .hero h1 span {
      color: var(--gold-2);
    }

    .hero p {
      max-width: 700px;
      font-size: 20px;
      color: rgba(255,255,255,.78);
      margin-bottom: 34px;
    }

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

    .hero-stats {
      position: absolute;
      right: 6%;
      bottom: 7%;
      z-index: 3;
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 14px;
      width: min(620px, 88%);
    }

    body.ar .hero-stats {
      right: auto;
      left: 6%;
    }

    .hero-stat {
      padding: 22px;
      border-radius: 22px;
      background: rgba(255,255,255,.1);
      border: 1px solid rgba(255,255,255,.18);
      backdrop-filter: blur(16px);
    }

    .hero-stat strong {
      display: block;
      color: var(--gold-2);
      font-size: 30px;
      line-height: 1;
      margin-bottom: 8px;
    }

    .hero-stat span {
      color: rgba(255,255,255,.78);
      font-weight: 700;
      font-size: 13px;
    }

    /* About */
    .about-grid {
      display: grid;
      grid-template-columns: 1fr 1.05fr;
      gap: 58px;
      align-items: center;
    }

    .visual-card {
      position: relative;
      min-height: 560px;
      border-radius: var(--radius);
      overflow: hidden;
      box-shadow: var(--shadow);
      background:
        linear-gradient(180deg, rgba(7,27,44,.02), rgba(7,27,44,.72)),
        url("../images/mider_about.jpg");
      background-size: cover;
      background-position: center;
    }

    .visual-badge {
      position: absolute;
      left: 28px;
      bottom: 28px;
      right: 28px;
      padding: 26px;
      border-radius: 22px;
      background: rgba(255,255,255,.92);
      backdrop-filter: blur(14px);
      display: flex;
      gap: 18px;
      align-items: center;
    }

    body.ar .visual-badge {
      direction: rtl;
    }

    .visual-badge i {
      width: 58px;
      height: 58px;
      border-radius: 18px;
      display: grid;
      place-items: center;
      color: var(--navy);
      background: linear-gradient(135deg, var(--gold), var(--gold-2));
      font-size: 23px;
      flex: 0 0 auto;
    }

    .content-list {
      display: grid;
      gap: 16px;
      margin-top: 26px;
    }

    .content-list li {
      list-style: none;
      display: flex;
      gap: 14px;
      align-items: flex-start;
      color: var(--navy);
      font-weight: 700;
    }

    .content-list i {
      color: var(--gold);
      margin-top: 6px;
    }

    /* Dark section */
    .dark-section {
      background: var(--navy);
      color: var(--white);
      overflow: hidden;
    }

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

    .dark-section .section-title p {
      color: rgba(255,255,255,.68);
    }

    .companies-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }

    .company-card {
      background: rgba(255,255,255,.06);
      border: 1px solid rgba(255,255,255,.11);
      border-radius: var(--radius);
      overflow: hidden;
      transition: .35s ease;
      position: relative;
    }

    .company-card:hover {
      transform: translateY(-10px);
      background: rgba(255,255,255,.09);
    }

    .company-top {
      height: 190px;
      padding: 24px;
      display: flex;
      align-items: flex-end;
      background-size: cover;
      background-position: center;
      position: relative;
    }

    .company-top:before {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, transparent, rgba(7,27,44,.92));
    }

    .company-logo {
      position: relative;
      width: 80px;
      height: 80px;
      border-radius: 50%;
      object-fit: contain;
      background: var(--white);
      padding: 4px;
      box-shadow: 0 10px 30px rgba(0,0,0,0.15);
      z-index: 2;
    }

    .company-card:nth-child(1) .company-top {
      background-image: url("../images/mider_mining.jpg");
    }

    .company-card:nth-child(2) .company-top {
      background-image: url("../images/mider_jewelry.jpg");
    }

    .company-card:nth-child(3) .company-top {
      background-image: url("../images/mider_trade.jpg");
    }

    .company-body {
      padding: 28px;
    }

    .company-body h3 {
      font-size: 25px;
      margin-bottom: 12px;
    }

    .company-body p {
      color: rgba(255,255,255,.68);
      margin-bottom: 18px;
    }

    .tags {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }

    .tags span {
      padding: 7px 10px;
      border-radius: 999px;
      background: rgba(200,155,60,.14);
      color: var(--gold-2);
      font-size: 12px;
      font-weight: 800;
    }

    /* Services */
    .services-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 18px;
    }

    .service-card {
      background: var(--white);
      padding: 28px;
      border-radius: 24px;
      border: 1px solid rgba(7,27,44,.08);
      box-shadow: 0 14px 38px rgba(7,27,44,.06);
      transition: .3s ease;
      min-height: 190px;
    }

    .service-card:hover {
      transform: translateY(-8px);
      box-shadow: var(--shadow);
    }

    .service-card i {
      width: 58px;
      height: 58px;
      border-radius: 18px;
      background: rgba(200,155,60,.14);
      color: var(--gold);
      display: grid;
      place-items: center;
      font-size: 23px;
      margin-bottom: 20px;
    }

    .service-card h3 {
      color: var(--navy);
      font-size: 20px;
      margin-bottom: 8px;
    }

    .service-card p {
      color: var(--muted);
      font-size: 15px;
    }

    /* Why */
    .why-wrap {
      display: grid;
      grid-template-columns: .9fr 1.1fr;
      gap: 48px;
      align-items: center;
    }

    .why-panel {
      padding: 38px;
      border-radius: var(--radius);
      background: linear-gradient(145deg, var(--navy), var(--navy-2));
      color: white;
      box-shadow: var(--shadow);
    }

    .why-panel h3 {
      font-size: 34px;
      line-height: 1.16;
      margin-bottom: 18px;
    }

    .why-panel p {
      color: rgba(255,255,255,.7);
    }

    .why-list {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 18px;
    }

    .why-item {
      padding: 24px;
      border-radius: 22px;
      background: var(--white);
      box-shadow: 0 14px 38px rgba(7,27,44,.06);
      display: flex;
      gap: 16px;
    }

    .why-item i {
      color: var(--gold);
      font-size: 25px;
      margin-top: 5px;
    }

    .why-item h4 {
      color: var(--navy);
      font-size: 18px;
      margin-bottom: 4px;
    }

    .why-item p {
      color: var(--muted);
      font-size: 14px;
    }

    /* RFQ */
    .rfq {
      background:
        linear-gradient(115deg, rgba(7,27,44,.96), rgba(13,43,69,.88)),
        url("../images/mider_logistics.jpg");
      background-size: cover;
      background-position: center;
      color: white;
    }

    .rfq-grid {
      display: grid;
      grid-template-columns: .85fr 1.15fr;
      gap: 44px;
      align-items: start;
    }

    .rfq h2 {
      font-size: clamp(34px, 5vw, 58px);
      line-height: 1.08;
      margin-bottom: 18px;
    }

    .rfq p {
      color: rgba(255,255,255,.72);
      font-size: 18px;
    }

    .rfq-form {
      background: rgba(255,255,255,.96);
      color: var(--dark);
      border-radius: var(--radius);
      padding: 30px;
      box-shadow: 0 30px 80px rgba(0,0,0,.25);
    }

    .form-row {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 14px;
    }

    .field {
      margin-bottom: 14px;
    }

    .field label {
      display: block;
      font-size: 13px;
      font-weight: 800;
      color: var(--navy);
      margin-bottom: 7px;
    }

    .field input,
    .field select,
    .field textarea {
      width: 100%;
      border: 1px solid rgba(7,27,44,.14);
      border-radius: 14px;
      padding: 13px 14px;
      outline: none;
      font-family: inherit;
      background: #fff;
      transition: .2s ease;
    }

    .field input:focus,
    .field select:focus,
    .field textarea:focus {
      border-color: var(--gold);
      box-shadow: 0 0 0 4px rgba(200,155,60,.12);
    }

    .field textarea {
      min-height: 120px;
      resize: vertical;
    }

    /* Contact */
    .contact-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 16px;
    }

    .contact-card {
      background: var(--white);
      padding: 26px;
      border-radius: 22px;
      box-shadow: 0 14px 38px rgba(7,27,44,.06);
    }

    .contact-card i {
      color: var(--gold);
      font-size: 24px;
      margin-bottom: 16px;
    }

    .contact-card h3 {
      color: var(--navy);
      margin-bottom: 8px;
      font-size: 18px;
    }

    .contact-card p {
      color: var(--muted);
      font-size: 14px;
      word-break: break-word;
    }

    /* Footer */
    footer {
      background: #04111d;
      color: rgba(255,255,255,.68);
      padding: 54px 0 24px;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 1.4fr repeat(3, 1fr);
      gap: 30px;
      margin-bottom: 34px;
    }

    footer h3,
    footer h4 {
      color: white;
      margin-bottom: 14px;
    }

    footer a {
      display: block;
      margin: 8px 0;
      color: rgba(255,255,255,.68);
    }

    .copyright {
      border-top: 1px solid rgba(255,255,255,.1);
      padding-top: 22px;
      font-size: 13px;
      display: flex;
      justify-content: space-between;
      gap: 20px;
      flex-wrap: wrap;
    }

    /* Floating buttons */
    .float-actions {
      position: fixed;
      right: 22px;
      bottom: 22px;
      display: grid;
      gap: 10px;
      z-index: 1000;
    }

    body.ar .float-actions {
      right: auto;
      left: 22px;
    }

    .float-btn {
      width: 54px;
      height: 54px;
      border-radius: 18px;
      border: none;
      display: grid;
      place-items: center;
      color: var(--navy);
      background: linear-gradient(135deg, var(--gold), var(--gold-2));
      box-shadow: 0 14px 34px rgba(0,0,0,.18);
      font-size: 20px;
      cursor: pointer;
      transition: .3s ease;
    }

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

    /* Animations */
    .reveal {
      opacity: 0;
      transform: translateY(34px);
      transition: .8s ease;
    }

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

    /* Responsive */
    @media (max-width: 1024px) {
      .hero-stats,
      body.ar .hero-stats {
        position: relative;
        right: auto;
        left: auto;
        bottom: auto;
        margin: 10px auto 50px;
      }

      .about-grid,
      .why-wrap,
      .rfq-grid {
        grid-template-columns: 1fr;
      }

      .companies-grid,
      .services-grid {
        grid-template-columns: repeat(2, 1fr);
      }

      .contact-grid,
      .footer-grid {
        grid-template-columns: repeat(2, 1fr);
      }

      .menu {
        position: fixed;
        top: 124px;
        left: 20px;
        right: 20px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 22px;
        border-radius: 22px;
        background: rgba(7,27,44,.98);
        box-shadow: var(--shadow);
      }

      .header.scrolled .menu {
        top: 92px;
      }

      .menu.open {
        display: flex;
      }

      .hamburger {
        display: grid;
        place-items: center;
      }
    }

    @media (max-width: 720px) {
      .topbar {
        display: none;
      }

      .mobile-lang-switch {
        display: block;
        text-align: center;
        background: rgba(255,255,255,0.05);
        padding: 12px;
        border-radius: 12px;
        margin-bottom: 10px;
        border: 1px solid rgba(255,255,255,0.1);
      }

      .header,
      .header.scrolled {
        top: 0;
        background: rgba(7,27,44,.94);
      }

      .nav {
        height: 74px;
      }

      .hero {
        padding-top: 90px;
      }

      .hero h1 {
        font-size: 38px;
      }

      .hero-stats {
        grid-template-columns: 1fr;
      }

      .companies-grid,
      .services-grid,
      .why-list,
      .contact-grid,
      .footer-grid,
      .form-row {
        grid-template-columns: 1fr;
      }

      .visual-card {
        min-height: 420px;
      }

      .section {
        padding: 70px 0;
      }

      .menu {
        top: 86px;
      }

      .brand span small {
        display: none;
      }
    }
  

.page-header { padding: 180px 0 90px; background: linear-gradient(115deg, rgba(7,27,44,.96), rgba(7,27,44,.85)), url('../images/mider_hero_bg.jpg') center/cover; color: white; text-align: center; } .page-header h1 { font-size: clamp(36px, 5vw, 64px); margin-bottom: 15px; } .page-header p { color: rgba(255,255,255,.7); max-width: 600px; margin: auto; font-size: 18px; }

