﻿/* =========================================================
   AJEL — STYLES. Change brand colors here in one place.
   ========================================================= */
:root {
  --background: oklch(0.985 0.003 250);
  --foreground: oklch(0.2 0.035 265);
  --card: oklch(1 0 0);
  --primary: oklch(0.22 0.04 268);        /* navy */
  --primary-foreground: oklch(0.985 0.003 250);
  --secondary: oklch(0.955 0.006 250);
  --muted-foreground: oklch(0.5 0.025 260);
  --accent: oklch(0.68 0.18 45);           /* orange */
  --accent-foreground: oklch(0.99 0 0);
  --accent-soft: oklch(0.95 0.035 55);
  --border: oklch(0.91 0.008 255);
  --destructive: oklch(0.577 0.245 27.325);
  --surface-dark: oklch(0.2 0.04 268);
  --surface-dark-foreground: oklch(0.97 0.005 250);
  --surface-dark-muted: oklch(0.72 0.02 260);
  --shadow-card: 0 20px 50px -25px oklch(0.22 0.04 268 / 0.35);
  --radius: 1.25rem;
  --font-sans: "Mulish", "Tajawal", system-ui, sans-serif;
  --font-arabic: "Tajawal", "Mulish", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--background); color: var(--foreground); font-family: var(--font-sans); -webkit-font-smoothing: antialiased; line-height: 1.5; }
html[dir="rtl"] body { font-family: var(--font-arabic); }
h1, h2, h3 { letter-spacing: -0.02em; line-height: 1.15; }
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3 { letter-spacing: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
svg.icon { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

.container { margin-inline: auto; width: 100%; max-width: 80rem; padding-inline: 1.25rem; }
@media (min-width: 768px) { .container { padding-inline: 2rem; } }
.section { padding-block: 5rem; }
.bg-secondary { background: var(--secondary); }
.dark { background: var(--surface-dark); color: var(--surface-dark-foreground); }
.muted { color: var(--muted-foreground); }
.center { text-align: center; }

@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.rise { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid color-mix(in oklab, var(--border) 60%, transparent); background: color-mix(in oklab, var(--background) 85%, transparent); backdrop-filter: blur(16px); }
.header-row { display: flex; height: 5rem; align-items: center; justify-content: space-between; gap: 1rem; }
.logo { display: flex; align-items: center; gap: .625rem; }
.logo-badge { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: .75rem; background: var(--accent); color: var(--accent-foreground); font-weight: 800; font-size: 1.125rem; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text b { font-size: 1.25rem; font-weight: 800; color: var(--primary); }
.logo-text small { font-size: .75rem; font-weight: 700; color: var(--muted-foreground); font-family: "Tajawal"; }
.footer .logo-text b { color: var(--surface-dark-foreground); }
.footer .logo-text small { color: var(--surface-dark-muted); }
.nav { display: none; gap: .25rem; }
.nav a { border-radius: 999px; padding: .5rem 1rem; font-size: .875rem; font-weight: 600; color: var(--muted-foreground); transition: color .2s; }
.nav a:hover { color: var(--primary); }
.nav a.active { background: var(--secondary); color: var(--primary); }
@media (min-width: 1024px) { .nav { display: flex; } .menu-btn { display: none !important; } }
.header-actions { display: flex; align-items: center; gap: .5rem; }
.lang-btn { display: inline-flex; align-items: center; gap: .375rem; border-radius: 999px; padding: .5rem .75rem; font-size: .875rem; font-weight: 700; color: var(--primary); }
.lang-btn:hover, .menu-btn:hover { background: var(--secondary); }
.menu-btn { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 999px; color: var(--primary); }
.desktop-dl { display: none; }
@media (min-width: 640px) { .desktop-dl { display: block; } .mobile-dl { display: none; } }
.mobile-nav { display: none; border-top: 1px solid var(--border); background: var(--background); }
.mobile-nav.open { display: block; }
.mobile-nav nav { display: flex; flex-direction: column; gap: .25rem; padding-block: 1rem; }
.mobile-nav nav > a { border-radius: .75rem; padding: .75rem 1rem; font-weight: 600; }
.mobile-nav nav > a.active { background: var(--secondary); }
@media (min-width: 1024px) { .mobile-nav { display: none !important; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; border-radius: 999px; font-weight: 700; font-size: .875rem; height: 2.75rem; padding: 0 1.25rem; transition: all .2s; white-space: nowrap; }
.btn-cta { background: var(--accent); color: var(--accent-foreground); box-shadow: var(--shadow-card); }
.btn-cta:hover { filter: brightness(1.07); }
.btn-ghost-light { height: 54px; padding: 0 1.5rem; border: 1px solid color-mix(in oklab, var(--surface-dark-foreground) 30%, transparent); color: var(--surface-dark-foreground); }
.btn-ghost-light:hover { background: color-mix(in oklab, var(--surface-dark-foreground) 10%, transparent); }
.btn-primary { background: var(--primary); color: var(--primary-foreground); height: 3rem; width: 100%; }
.btn-primary:hover { opacity: .92; }
.btn-whatsapp { background: var(--accent); color: var(--accent-foreground); }

.dropdown { position: relative; }
.dropdown-menu { display: none; position: absolute; inset-inline-end: 0; top: calc(100% + .5rem); width: 14rem; background: var(--card); border: 1px solid var(--border); border-radius: .75rem; padding: .25rem; box-shadow: var(--shadow-card); z-index: 60; }
.mobile-nav .dropdown-menu { inset-inline-end: auto; inset-inline-start: 0; }
.dropdown.open .dropdown-menu { display: block; }
.dropdown-menu a, .dropdown-menu span { display: block; padding: .5rem .75rem; border-radius: .5rem; font-size: .875rem; }
.dropdown-menu a:hover { background: var(--secondary); }
.dropdown-menu span { opacity: .5; }

/* ---------- Store buttons ---------- */
.stores { display: flex; flex-wrap: wrap; gap: .75rem; }
.stores-wrap.center .stores { justify-content: center; }
.store { display: inline-flex; align-items: center; gap: .75rem; border-radius: .75rem; padding: .625rem 1rem; transition: transform .2s; }
.store:hover { transform: translateY(-2px); }
.store.light { background: var(--card); color: var(--foreground); box-shadow: var(--shadow-card); }
.store.darktone { background: var(--primary); color: var(--primary-foreground); }
.store svg { width: 1.5rem; height: 1.5rem; }
.store .txt { display: flex; flex-direction: column; text-align: start; line-height: 1.2; }
.store .txt small { font-size: 10px; text-transform: uppercase; letter-spacing: .05em; opacity: .7; }
.store .txt b { font-size: 1rem; }
.soon { margin-top: .5rem; font-size: .75rem; opacity: .6; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; color: var(--surface-dark-foreground); }
.hero > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
html[dir="rtl"] .hero > img { transform: scaleX(-1); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, oklch(0.2 0.04 268 / .92) 0%, oklch(0.2 0.04 268 / .7) 45%, oklch(0.2 0.04 268 / .05) 100%); }
html[dir="rtl"] .hero::before { background: linear-gradient(270deg, oklch(0.2 0.04 268 / .92) 0%, oklch(0.2 0.04 268 / .7) 45%, oklch(0.2 0.04 268 / .05) 100%); }
.hero-inner { padding-block: 6rem; }
@media (min-width: 768px) { .hero-inner { padding-block: 9rem; } }
.pill { display: inline-block; margin-bottom: 1rem; border-radius: 999px; background: color-mix(in oklab, var(--surface-dark-foreground) 10%, transparent); padding: .375rem 1rem; font-size: .875rem; font-weight: 600; backdrop-filter: blur(8px); }
.hero h1 { max-width: 42rem; font-size: 2.25rem; font-weight: 800; }
.hero p.lead { margin-top: 1.5rem; max-width: 36rem; font-size: 1.125rem; opacity: .8; }
.hero-actions { margin-top: 2.5rem; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 1rem; }
@media (min-width: 768px) { .hero h1, .page-hero h1 { font-size: 3.75rem; } }

.page-hero .container { padding-block: 5rem; }
@media (min-width: 768px) { .page-hero .container { padding-block: 7rem; } }
.page-hero h1 { max-width: 48rem; font-size: 2.25rem; font-weight: 800; }
.page-hero p.lead { margin-top: 1.25rem; max-width: 42rem; font-size: 1.125rem; color: var(--surface-dark-muted); }
.eyebrow { margin-bottom: .75rem; font-size: .875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); }

/* ---------- Headings / grids ---------- */
.heading { margin: 0 auto 3rem; max-width: 42rem; text-align: center; }
.heading h2, h2.title { font-size: 1.875rem; font-weight: 800; color: var(--primary); }
.heading p { margin-top: 1rem; font-size: 1.125rem; color: var(--muted-foreground); }
@media (min-width: 768px) { .heading h2 { font-size: 2.25rem; } }
.grid4 { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .grid4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid4 { grid-template-columns: repeat(4, 1fr); } }
.mt-cta { margin-top: 2.5rem; display: flex; justify-content: center; text-align: center; }

/* ---------- Service cards ---------- */
.svc { display: flex; flex-direction: column; border-radius: 1.5rem; padding: 1.25rem; border: 1px solid var(--border); background: var(--card); transition: all .25s; }
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.svc.featured { background: var(--primary); color: var(--primary-foreground); border-color: transparent; }
.svc-top { display: flex; justify-content: space-between; align-items: flex-start; gap: .75rem; margin-bottom: .75rem; }
.svc h3 { font-size: 1.125rem; font-weight: 700; color: var(--primary); }
.svc.featured h3 { color: inherit; }
.svc .arrow { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; flex-shrink: 0; border-radius: 999px; border: 1px solid var(--border); color: var(--accent); transition: all .2s; }
.svc:hover .arrow, .svc.featured .arrow { background: var(--accent); color: var(--accent-foreground); border-color: transparent; }
html[dir="rtl"] .svc .arrow svg { transform: scaleX(-1); }
.svc p { margin-bottom: 1.25rem; font-size: .875rem; line-height: 1.6; color: var(--muted-foreground); }
.svc.featured p { color: inherit; opacity: .75; }
.svc img { margin-top: auto; aspect-ratio: 4/5; width: 100%; border-radius: 1rem; object-fit: cover; }
.svc .book { margin-top: 1rem; font-size: .875rem; font-weight: 700; color: var(--primary); }
.svc.featured .book { color: var(--accent); }

/* ---------- Why cards ---------- */
.why { border-radius: 1.5rem; background: var(--card); padding: 1.75rem; box-shadow: var(--shadow-card); }
.why .ic { display: grid; place-items: center; width: 3rem; height: 3rem; margin-bottom: 1.25rem; border-radius: 1rem; background: var(--accent-soft); color: var(--accent); }
.why h3 { font-size: 1.125rem; font-weight: 700; color: var(--primary); }
.why p { margin-top: .5rem; font-size: .875rem; line-height: 1.6; color: var(--muted-foreground); }

/* ---------- App promo ---------- */
.promo { position: relative; overflow: hidden; border-radius: 2rem; }
.promo-grid { display: grid; align-items: center; gap: 2rem; padding: 2rem; }
@media (min-width: 768px) { .promo-grid { grid-template-columns: 1fr 1fr; padding: 3.5rem; } }
.promo h2 { font-size: 2.25rem; font-weight: 800; }
@media (min-width: 768px) { .promo h2 { font-size: 3rem; } }
.promo p.txt { margin-top: 1rem; max-width: 28rem; font-size: 1.125rem; color: var(--surface-dark-muted); }
.promo .sub { margin-bottom: .75rem; color: var(--surface-dark-muted); }
.promo img { margin-inline: auto; max-height: 460px; width: auto; filter: drop-shadow(0 25px 25px rgb(0 0 0 / .3)); }

/* ---------- About ---------- */
.two-col { display: grid; align-items: center; gap: 3rem; }
@media (min-width: 768px) { .two-col { grid-template-columns: 1fr 1fr; } }
.about-img { aspect-ratio: 4/5; width: 100%; border-radius: 2rem; object-fit: cover; box-shadow: var(--shadow-card); }
.about-bg { margin-top: 1rem; font-size: 1.125rem; line-height: 1.7; color: var(--muted-foreground); }
.mv { margin-top: 2.5rem; display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .mv { grid-template-columns: 1fr 1fr; } }
.mv-card { border-radius: 1.5rem; border: 1px solid var(--border); background: var(--card); padding: 1.5rem; }
.mv-card svg { width: 1.75rem; height: 1.75rem; margin-bottom: .75rem; color: var(--accent); }
.mv-card h3 { font-weight: 700; color: var(--primary); font-size: 1rem; }
.mv-card p { margin-top: .5rem; font-size: .875rem; color: var(--muted-foreground); }
.narrow { max-width: 48rem; }
.commit { display: flex; flex-direction: column; gap: 1rem; }
.commit li { display: flex; align-items: center; gap: 1rem; border-radius: 1rem; background: var(--card); padding: 1.25rem; box-shadow: var(--shadow-card); font-weight: 600; }
.commit svg { width: 1.5rem; height: 1.5rem; color: var(--accent); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 2fr 3fr; } }
.info { display: flex; flex-direction: column; gap: 1rem; }
.info-card { display: flex; gap: 1rem; align-items: flex-start; border-radius: 1.5rem; border: 1px solid var(--border); background: var(--card); padding: 1.25rem; }
.info-card .ic { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 1rem; background: var(--accent-soft); color: var(--accent); flex-shrink: 0; }
.info-card small { font-size: .875rem; color: var(--muted-foreground); }
.info-card b { display: block; color: var(--primary); }
.map { overflow: hidden; border-radius: 1.5rem; border: 1px solid var(--border); background: var(--secondary); min-height: 14rem; display: grid; place-items: center; padding: 1.5rem; text-align: center; font-size: .875rem; color: var(--muted-foreground); }
.map iframe { width: 100%; height: 16rem; border: 0; }
.form-card { border-radius: 2rem; background: var(--card); padding: 1.5rem; box-shadow: var(--shadow-card); }
@media (min-width: 768px) { .form-card { padding: 2.5rem; } }
.alert { display: flex; gap: .75rem; border-radius: 1rem; background: var(--accent-soft); padding: 1rem; font-size: .875rem; margin-bottom: 1.5rem; }
.alert svg { color: var(--accent); }
.form-grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .full { grid-column: 1 / -1; } }
label { display: block; font-size: .875rem; font-weight: 600; margin-bottom: .5rem; }
input, textarea { width: 100%; font: inherit; border: 1px solid var(--border); border-radius: .75rem; padding: .75rem 1rem; background: var(--background); color: var(--foreground); }
input:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
textarea { min-height: 9rem; resize: vertical; }
.err { margin-top: .375rem; font-size: .75rem; color: var(--destructive); min-height: 0; }
.status { margin-top: 1rem; font-size: .875rem; color: var(--muted-foreground); }

/* ---------- Footer ---------- */
.footer-grid { display: grid; gap: 3rem; padding-block: 4rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.footer h3 { margin-bottom: 1rem; font-size: 1rem; font-weight: 700; }
.footer p, .footer li { font-size: .875rem; color: var(--surface-dark-muted); }
.footer p { margin-top: 1rem; line-height: 1.7; }
.footer ul { display: flex; flex-direction: column; gap: .625rem; }
.footer li a:hover { color: var(--accent); }
.footer li.c { display: flex; gap: .5rem; }
.footer li.c svg { width: 1rem; height: 1rem; color: var(--accent); }
.social { display: flex; gap: .75rem; margin-top: 1rem; }
.social a { text-decoration: underline; font-size: .875rem; }
.copy { border-top: 1px solid color-mix(in oklab, var(--surface-dark-foreground) 10%, transparent); padding-block: 1.5rem; font-size: .875rem; color: var(--surface-dark-muted); }



/* AJEL: 2 real app screenshots rotating inside a phone frame. */
.ajel-phone {
  position: relative;
  box-sizing: border-box;
  width: min(245px, 100%);
  padding: 8px;
  margin: 0 auto;
  background: linear-gradient(125deg, #505765, #10151e 20%, #090d15 80%, #596474);
  border: 3px solid #727a84;
  border-radius: 39px;
  box-shadow: 8px 17px 32px rgba(0,0,0,.32);
}
.ajel-phone-screen {
  position: relative;
  aspect-ratio: 738 / 1600;
  overflow: hidden;
  background: #fff;
  border-radius: 29px;
}
/* Override any generic promo image rules */
.promo-grid .ajel-phone-screen .ajel-shot {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
}
.promo-grid .ajel-phone-screen .shot-one {
  animation: ajel-first-shot 10s linear infinite;
}
.promo-grid .ajel-phone-screen .shot-two {
  animation: ajel-second-shot 10s linear infinite;
}
@keyframes ajel-first-shot {
  0%,45% { opacity:1; }
  50%,95% { opacity:0; }
  100% { opacity:1; }
}
@keyframes ajel-second-shot {
  0%,45% { opacity:0; }
  50%,95% { opacity:1; }
  100% { opacity:0; }
}
@media (max-width: 768px) {
  .ajel-phone { width: min(210px, 100%); }
}
@media (prefers-reduced-motion: reduce) {
  .promo-grid .ajel-phone-screen .ajel-shot { animation: none; }
  .promo-grid .ajel-phone-screen .shot-two { display:none; }
}





/* AJEL top contact information bar */
.top-contact-bar {
    background: #10182d;
    color: #ffffff;
    padding: 9px 0;
    font-size: 13px;
}

.top-contact-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.top-contact-inner a,
.top-contact-inner span {
    color: #ffffff;
    text-decoration: none;
}

.top-contact-inner a:hover {
    color: #fb751c;
}

/* Smaller screens */
@media (max-width: 768px) {
    .top-contact-inner {
        justify-content: center;
        gap: 8px 16px;
        text-align: center;
    }

    .top-contact-bar {
        font-size: 11px;
    }
}


