/* almudeerit.com — the company page of Al Mudeer Information Technology (owner request 2026-10-27).
   Same look as the @almudeerit Instagram posts: charcoal, white, and the green / white / red of the mark's strip. */

@font-face { font-family: "Tajawal"; font-weight: 400; font-display: swap; src: url("Tajawal-Regular.ttf") format("truetype"); }
@font-face { font-family: "Tajawal"; font-weight: 700; font-display: swap; src: url("Tajawal-Bold.ttf") format("truetype"); }

:root {
  --navy: #111418;
  --ink: #1a1e23;
  --card: #1d2228;
  --line: #2b3138;
  --paper: #f4f5f7;
  --white: #ffffff;
  --muted: #5f6670;
  --soft: #aab1ba;
  --red: #d7202e;
  --green: #0e8a43;
  --wrap: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: "Tajawal", "Segoe UI", Tahoma, sans-serif; font-size: 17px; line-height: 1.75; background: var(--paper); color: var(--ink); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.ltr { direction: ltr; unicode-bidi: isolate; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--navy) 94%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); }
.brand img { width: 46px; height: auto; }
.brand b { display: block; font-size: 17px; line-height: 1.2; }
.brand small { display: block; font-size: 12.5px; color: var(--soft); line-height: 1.3; }
.nav { display: flex; gap: 24px; margin-inline-start: auto; }
.nav a { color: var(--soft); text-decoration: none; font-size: 15.5px; font-weight: 700; }
.nav a:hover { color: var(--white); }
.top-actions { display: flex; align-items: center; gap: 14px; }
.lang { color: var(--white); text-decoration: none; font-size: 15px; font-weight: 700; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 999px; font-weight: 700; font-size: 15.5px; text-decoration: none; border: 1.5px solid transparent; transition: background .15s, border-color .15s, color .15s; }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14.5px; }
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: #e6e8ec; }
.btn-ghost { border-color: #4a525c; color: var(--white); }
.btn-ghost:hover { border-color: var(--white); }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: #262c33; }

/* Hero */
.hero { background: var(--navy); color: var(--white); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset-inline-start: -120px; bottom: -160px; width: 520px; height: 300px; background: url("logo-white.svg") no-repeat center / contain; opacity: .035; pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; padding: 76px 0 84px; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px; border-radius: 999px; background: #22272d; color: #e7e9ec; font-size: 14.5px; font-weight: 700; }
.pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.hero h1 { font-size: clamp(38px, 5.2vw, 62px); line-height: 1.18; margin: 22px 0 18px; letter-spacing: -.5px; }
.hero p.lead { color: #c5cbd2; font-size: 19px; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-photo { position: relative; border-radius: 26px; overflow: hidden; aspect-ratio: 4 / 4.4; box-shadow: 0 40px 80px rgba(0, 0, 0, .45); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(17, 20, 24, .55)); }
/* Green, white, red from the left, as on the posts, in both languages. */
.strip { height: 5px; background: linear-gradient(90deg, var(--green) 0 33.34%, #e9eaec 33.34% 66.67%, var(--red) 66.67% 100%); }

/* Sections */
.section { padding: 88px 0; }
.eyebrow { color: var(--red); font-weight: 700; font-size: 15px; letter-spacing: .2px; }
.section h2 { font-size: clamp(30px, 3.6vw, 42px); line-height: 1.25; margin: 8px 0 12px; }
.section .intro { color: var(--muted); font-size: 18px; max-width: 40em; }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 40px; }
.card { background: var(--white); border: 1px solid #e3e6ea; border-radius: 22px; padding: 28px; }
.card h3 { font-size: 20px; margin: 18px 0 8px; }
.card p { color: var(--muted); font-size: 16px; }
.icon { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; background: var(--navy); color: var(--white); }
.icon svg { width: 25px; height: 25px; }
.card-wide { grid-column: span 1; background: var(--navy); border-color: var(--navy); color: var(--white); display: flex; flex-direction: column; justify-content: space-between; gap: 22px; }
.card-wide p { color: #c5cbd2; }
.card-wide .icon { background: #262c33; }

/* Our work */
.work { background: var(--ink); color: var(--white); }
.work .intro { color: #c5cbd2; }
.work-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: center; margin-top: 44px; }
.work-photo { border-radius: 26px; overflow: hidden; aspect-ratio: 4 / 4.2; }
.work-photo img { width: 100%; height: 100%; object-fit: cover; }
.product { background: var(--card); border: 1px solid var(--line); border-radius: 26px; padding: 34px; }
.product-head { display: flex; align-items: center; gap: 14px; }
.product-head svg { width: 54px; height: 54px; flex: none; }
.product-head b { font-size: 28px; line-height: 1.1; }
.product-head small { display: block; color: var(--soft); font-size: 14.5px; }
.product > p { color: #d3d8de; margin-top: 18px; font-size: 17.5px; }
.ticks { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-inline-start: 28px; color: #d3d8de; }
/* A tick (✓) in both languages: ticks are not mirrored. */
.ticks li::before { content: ""; position: absolute; inset-inline-start: 0; top: .5em; width: 14px; height: 8px; border-left: 2.5px solid #3cc074; border-bottom: 2.5px solid #3cc074; transform: rotate(-45deg); }

/* How we work */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 40px; counter-reset: step; }
.step { background: var(--white); border: 1px solid #e3e6ea; border-radius: 22px; padding: 26px; position: relative; }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: var(--white); font-weight: 700; }
.step h3 { font-size: 19px; margin: 16px 0 6px; }
.step p { color: var(--muted); font-size: 15.5px; }

/* Contact */
.contact { background: var(--navy); color: var(--white); }
.contact .intro { color: #c5cbd2; }
.contact-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.contact-item { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 22px; text-decoration: none; color: var(--white); display: block; }
a.contact-item:hover { border-color: #4a525c; }
.contact-item span { display: block; color: var(--soft); font-size: 14px; }
.contact-item b { display: block; font-size: 18px; margin-top: 4px; overflow-wrap: anywhere; }
.contact-item i { display: block; font-style: normal; color: #c5cbd2; font-size: 15.5px; }

/* Footer */
.footer { background: #0b0d10; color: #8d959f; font-size: 14.5px; }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 26px 0; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: var(--white); font-weight: 700; }
.footer-brand img { width: 34px; }
.footer a { color: #c5cbd2; text-decoration: none; }
.footer a:hover { color: var(--white); }

:focus-visible { outline: 3px solid #3cc074; outline-offset: 3px; border-radius: 6px; }

@media (max-width: 980px) {
  .nav { display: none; }
  .top-actions { margin-inline-start: auto; }
  .hero-grid, .work-grid { grid-template-columns: 1fr; }
  .hero-grid { padding: 52px 0 60px; gap: 40px; }
  .hero-photo { aspect-ratio: 16 / 11; }
  .work-photo { display: none; }
  .cards, .steps, .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .brand small, .top-actions .btn { display: none; }
  .section { padding: 64px 0; }
  .cards, .steps, .contact-grid { grid-template-columns: 1fr; }
  .product { padding: 26px; }
  .hero-actions .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
