/*--------------------------------------------------------------
# Digital Wheel — Brand Layer (Rebrand 2026)
# Loaded after digital-wheel.css + responsive.css
# Primary  : Cy (Adobe Fonts)         -> headings, nav, buttons, titles
# Secondary: Source Sans 3 (Myriad-style) -> body copy, forms, small text
# Colors   : Blue #184787 | Green #77aa7c | Navy #0b1a33
--------------------------------------------------------------*/

/* ---------- Base typography ---------- */
body {
  font-family: var(--DW-font);
  font-size: 18px;
  line-height: 1.75;
  color: var(--DW-gray);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

p {
  font-family: var(--DW-font);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--DW-font-two);
  letter-spacing: -0.01em;
}

/* Section titles on light backgrounds */
.section-title__title {
  font-family: var(--DW-font-two);
  color: var(--DW-black);
  font-weight: 700;
  line-height: 1.15;
}

/* Hero + page headers: keep template colors/sizes (white on images), only swap the face */
.main-slider h2,
.main-slider-two h2,
.page-header__inner h2 , .page-header__inner h1 {
  font-family: var(--DW-font-two);
  font-weight: 700;
}

h3, h4 {
  font-weight: 600;
  line-height: 1.3;
}

h5, h6 {
  font-weight: 600;
  line-height: 1.4;
}

/* Section taglines (small label above titles) */
.section-title__tagline {
  font-family: var(--DW-font-two);
  color: var(--DW-green);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- Navigation ---------- */
.main-menu .main-menu__list > li > a,
.stricky-header .main-menu__list > li > a,
.mobile-nav__content .main-menu__list > li > a {
  font-family: var(--DW-font-two);
  font-weight: 500;
}

.main-menu .main-menu__list > li.current > a,
.main-menu .main-menu__list > li:hover > a,
.stricky-header .main-menu__list > li.current > a,
.stricky-header .main-menu__list > li:hover > a {
  color: var(--DW-green);
}

/* ---------- Buttons ---------- */
.thm-btn {
  font-family: var(--DW-font-two);
  font-weight: 600;
  letter-spacing: 0.01em;
  background-color: var(--DW-base);
  border-radius: var(--DW-bdr-radius);
}

.thm-btn:after {
  background-color: var(--DW-green);
}

/* ---------- Links & accents ---------- */
a:hover {
  color: var(--DW-base);
}

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

/* ---------- Forms ---------- */
input,
select,
textarea,
button {
  font-family: var(--DW-font);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--DW-base) !important;
  outline: none;
  box-shadow: 0 0 0 3px rgba(var(--DW-base-rgb), 0.12);
}

/* ---------- Counters / numbers keep the display face ---------- */
.odometer,
.counter-one__count,
.counter-one__count h3 {
  font-family: var(--DW-font-two);
}

/* ---------- Arabic text: fall back to Cairo cleanly ---------- */
[lang="ar"],
[dir="rtl"] {
  font-family: "Cairo", var(--DW-font);
}

[lang="ar"] h1, [lang="ar"] h2, [lang="ar"] h3,
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 {
  font-family: "Cairo", var(--DW-font-two);
  letter-spacing: 0;
}

/* Allow position: sticky inside the page (overflow:hidden on the wrapper breaks it) */
.page-wrapper { overflow: visible; overflow-x: clip; }
